* emacs-lisp-intro.texi (defcustom, defun, simplified-beginning-of-buffer, defvar...
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
cc641ee1
XF
12013-04-21 Xue Fuqiao <xfq.free@gmail.com>
2
5d4e5c31
XF
3 * comint.el: (comint-dynamic-complete-functions, comint-mode-map):
4 `comint-dynamic-complete' is obsolete since 24.1, replaced by
5 `completion-at-point'. (Bug#13774)
6
cc641ee1
XF
7 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
8 default key binding for `describe-distribution' has been moved to
9 `C-h C-o'. (Bug#13970)
10
1b42ee43
GM
112013-04-21 Glenn Morris <rgm@gnu.org>
12
13 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
14 Add doc strings.
15 (vc-print-log): Clarify interactive prompt.
16
a6d63d97
GM
172013-04-20 Glenn Morris <rgm@gnu.org>
18
19 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
20 No longer include timestamp etc information.
21
d7f5c16f
RW
222013-04-20 Roland Winkler <winkler@gnu.org>
23
24 * faces.el (read-face-name): Bug fix, return just one face if arg
25 multiple is nil. (Bug#14209)
26
bcd7a0a4
SM
272013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
28
29 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
30 (remove-function): Autoload.
31
32 * comint.el (comint-redirect-original-filter-function): Remove.
33 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
34 * vc/vc-cvs.el (vc-cvs-annotate-process-filter,vc-cvs-annotate-command):
35 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
36 * progmodes/prolog.el (prolog-consult-compile):
37 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
38 Use add/remove-function instead.
39 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
40 (gud-tooltip-process-output, gud-tooltip-tips):
41 Use add/remove-function instead.
42 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
43 (scheme-interaction-mode, exit-scheme-interaction-mode):
44 Use add/remove-function instead.
45
46 * vc/vc-dispatcher.el: Use lexical-binding.
47 (vc--process-sentinel): Rename from vc-process-sentinel.
48 Change last arg to be the code to run. Don't use vc-previous-sentinel
49 and vc-sentinel-commands any more.
50 (vc-exec-after): Allow code to be a function. Use add/remove-function.
51 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
52
4d3268ba
MY
532013-04-19 Masatake YAMATO <yamato@redhat.com>
54
bcd7a0a4
SM
55 * progmodes/sh-script.el (sh-imenu-generic-expression):
56 Handle function names with a single character. (Bug#11182)
4d3268ba 57
863beb27
DK
582013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
59
60 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
61 for subroutines defined in an eval (bug#14182).
62
7d688336
TV
632013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
64
65 * bookmark.el (bookmark-completing-read): Improve handling of empty
66 string (bug#14176).
67
31dcede0
SM
682013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
69
70 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
71
adc31213
FEG
722013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
73
74 New faster Imenu implementation (bug#14058).
75 * progmodes/python.el:
76 (python-imenu-prev-index-position):
77 (python-imenu-format-item-label-function)
78 (python-imenu-format-parent-item-label-function)
79 (python-imenu-format-parent-item-jump-label-function):
80 New vars.
81 (python-imenu-format-item-label)
82 (python-imenu-format-parent-item-label)
83 (python-imenu-format-parent-item-jump-label)
84 (python-imenu--put-parent, python-imenu--build-tree)
85 (python-imenu-create-index, python-imenu-create-flat-index)
86 (python-util-popn): New functions.
87 (python-mode): Set imenu-create-index-function to
88 python-imenu-create-index.
89
cdca8255
SM
902013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
91
92 * winner.el (winner-active-region): Use region-active-p, activate-mark
93 and deactivate-mark (bug#14225).
94
95 * simple.el (deactivate-mark): Don't inline it.
96
beb42340
MA
972013-04-18 Michael Albinus <michael.albinus@gmx.de>
98
99 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
100
fc7f4d7e
TH
1012013-04-18 Tassilo Horn <tsdh@gnu.org>
102
103 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
104 file extensions from the archive-mode entry in order to prefer
105 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
106
29f47822
LL
1072013-04-18 Leo Liu <sdl.web@gmail.com>
108
109 * bindings.el (help-event-list): Add ?\?.
110
d36ed1c8
SM
1112013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
112
113 * subr.el (with-wrapper-hook): Declare obsolete.
114 * simple.el (filter-buffer-substring-function): New hook.
115 (filter-buffer-substring): Use it.
116 (filter-buffer-substring-functions): Mark obsolete.
117 * minibuffer.el (completion-in-region-function): New hook.
118 (completion-in-region): Use it.
119 (completion-in-region-functions): Mark obsolete.
120 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
121 * abbrev.el (abbrev-expand-function): New hook.
122 (expand-abbrev): Use it.
123 (abbrev-expand-functions): Mark obsolete.
124 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
125 and :filter-return.
126
04754d36
FEG
1272013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
128
129 * progmodes/python.el (python-nav--syntactically): Fix cornercases
130 and do not care about match data.
131
dd8791e9
SM
1322013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
133
134 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
135 completion tables when completing error conditions and
136 `declare' arguments.
137 (lisp-complete-symbol, field-complete): Mark as obsolete.
138 (check-parens): Unmatched parens are user errors.
139 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
140
ffe54a13
AM
1412013-04-17 Michal Nazarewicz <mina86@mina86.com>
142
dd8791e9
SM
143 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
144 command changed buffer (ie. `flyspell-pre-buffer' is not current
145 buffer), which prevents making decisions based on invalid value of
146 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
147 cause an error when `flyspell-pre-point' was nil after switching
148 buffers.
149 (flyspell-post-command-hook): No longer needs to change buffers when
150 checking pre-word. While at it remove unnecessary progn.
ffe54a13 151
ec7e39f2
AM
1522013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
153
154 * textmodes/ispell.el (ispell-add-per-file-word-list):
155 Fix `flyspell-correct-word-before-point' error when accepting
156 words and `coment-padding' is an integer by using
157 `comment-normalize-vars' (Bug #14214).
158
083850a6
FEG
1592013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
160
161 New defun movement commands.
162 * progmodes/python.el (python-nav--syntactically)
163 (python-nav--forward-defun, python-nav-backward-defun)
164 (python-nav-forward-defun): New functions.
165
619ed6e1
FEG
1662013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
167
168 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
169 (python-syntax-context): Use named compiler-macro for backwards
170 compatibility with Emacs 24.x.
171
7a1beb6c
LL
1722013-04-17 Leo Liu <sdl.web@gmail.com>
173
174 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
175 octave-hide-process-buffer.
176
2d3fa3e5
SM
1772013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
178
179 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
180 (bug#14216).
181
7ce5be54
JPG
1822013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
183
184 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
185 Fix adjustment of offset when receiving incomplete responses from GDB
186 (bug#14129).
187
351edece
SM
1882013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
189
190 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
191 python-mode-abbrev-table.
192 (python-skeleton-define): Adjust accordingly.
193 (python-mode-abbrev-table): New table that inherits from it so that
194 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
195
196 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
197 (abbrev-symbol): Use it.
198 (abbrev--before-point): Use it since we already handle inheritance.
199
613f9481
LL
2002013-04-16 Leo Liu <sdl.web@gmail.com>
201
202 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
203 binding to info-lookup-symbol.
204
51646b62
JB
2052013-04-16 Juanma Barranquero <lekktu@gmail.com>
206
207 * minibuffer.el (completion--twq-all):
208 * term/ns-win.el (ns-initialize-window-system):
209 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
210
efb3f01d
SM
2112013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
212
36c0a301
SM
213 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
214 global bindings.
215
efb3f01d
SM
216 * doc-view.el (doc-view-start-process): Handle url-handler directories.
217
fb549d64
DG
2182013-04-15 Dmitry Gutov <dgutov@yandex.ru>
219
220 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
221 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
222 to nil.
223 (ruby-end-of-defun): Remove the unused arg, change the docstring
224 to reflect that this function is only used as the value of
225 `end-of-defun-function'.
226 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
227 to reflect an earlier change that beginning/end-of-defun functions
228 jump between methods in a class definition, as well as top-level
229 functions.
230
21e8fe2f
SM
2312013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
232
233 * minibuffer.el (minibuffer-complete): Don't just scroll
234 a *Completions* that's been iconified.
235 (minibuffer-force-complete): Make sure repetitions do cycle when going
236 through completion-in-region -> minibuffer-complete.
237
20e527d0
AM
2382013-04-15 Alan Mackenzie <acm@muc.de>
239
240 Correct the placement of c-cpp-delimiters when there're #s not at
241 col 0.
242
243 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
244 place a submatch around the #.
21e8fe2f
SM
245 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
246 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
20e527d0
AM
247 on the #, not BOL.
248
dabefae5
SM
2492013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
250
251 * emacs-lisp/nadvice.el: Properly test names when adding advice.
252 (advice--member-p): New arg `name'.
253 (advice--add-function, advice-member-p): Use it (bug#14202).
254
85c9ab64
AM
2552013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
256
257 Reformulate java imenu-generic-expression.
258 The old expression contained ill formed regexps.
259
260 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
261 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
262 (cc-imenu-java-method-arg-regexp): New defconsts.
263 (cc-imenu-java-build-type-args-regex): New defun.
dabefae5 264 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
85c9ab64
AM
265 handling of spaces in the regexp.
266
0f821d99
AM
2672013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
268
269 * textmodes/ispell.el (ispell-command-loop): Remove
270 flyspell highlight of a word when ispell accepts it (bug #14178).
271
eb922adf
MA
2722013-04-15 Michael Albinus <michael.albinus@gmx.de>
273
274 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
275 uses code from the previous `ange-ftp-run-real-handler'.
276 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
277 only in case that function exist. This is needed for proper
278 unloading of Tramp.
279
4d9a0979
TH
2802013-04-15 Tassilo Horn <tsdh@gnu.org>
281
282 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
283
284 * textmodes/reftex.el (reftex-compile-variables): Use it.
285
a829b0dc
SM
2862013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
287
91e8293c
SM
288 * files.el (normal-mode): Only use default major-mode if no other mode
289 was specified.
290
830aed4d
SM
291 * emacs-lisp/trace.el (trace-values): New function.
292
a829b0dc
SM
293 * files.el: Allow : in local variables (bug#14089).
294 (hack-local-variable-regexp): New var.
295 (hack-local-variables-prop-line, hack-local-variables): Use it.
296
7ae9f0fb
RW
2972013-04-13 Roland Winkler <winkler@gnu.org>
298
299 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
300 data before it gets modified by bibtex-beginning-of-entry.
301
6646e848
RW
3022013-04-13 Roland Winkler <winkler@gnu.org>
303
304 * textmodes/bibtex.el (bibtex-url): Doc fix.
305
3062013-04-13 Roland Winkler <winkler@gnu.org>
23a0e159
RW
307
308 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
309 does not visit a BibTeX file, exclude it from the list of buffers
310 returned by bibtex-initialize.
311
0aa3616e
SB
3122013-04-13 Stephen Berman <stephen.berman@gmx.net>
313
314 * window.el (split-window): Remove interactive form, since as a
315 command this function is a special case of split-window-below.
316 Correct doc string.
317
011cddd6
RW
3182013-04-12 Roland Winkler <winkler@gnu.org>
319
320 * faces.el (read-face-name): Do not override value of arg default.
321 Allow single faces and strings as default values. Remove those
322 elements from return value that are not faces.
323 (describe-face): Simplify.
324 (face-at-point): New optional args thing and multiple so that this
325 function can provide the same functionality previously provided by
326 read-face-name.
327 (make-face-bold, make-face-unbold, make-face-italic)
328 (make-face-unitalic, make-face-bold-italic, invert-face)
329 (modify-face, read-face-and-attribute): Use face-at-point.
330
331 * cus-edit.el (customize-face, customize-face-other-window)
332 * cus-theme.el (custom-theme-add-face)
333 * face-remap.el (buffer-face-set)
334 * facemenu.el (facemenu-set-face): Use face-at-point.
335
f24e0036
MA
3362013-04-12 Michael Albinus <michael.albinus@gmx.de>
337
338 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
339
da3cda2d
TH
3402013-04-10 Tassilo Horn <tsdh@gnu.org>
341
342 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
343 off leading { and trailing } from field values.
344
15e54145
SM
3452013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
346
78ce603d
SM
347 * emacs-lisp/timer.el (timer--check): New function.
348 (timer--time, timer-set-function, timer-event-handler): Use it.
349 (timer-set-idle-time): Simplify.
350 (timer--activate): CSE.
351 (timer-event-handler): Give more info in error message.
352 (internal-timer-start-idle): New function, moved from C.
353
15e54145
SM
354 * mpc.el (mpc-proc): Add `restart' argument.
355 (mpc-proc-cmd): Use it.
356 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
357 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
358 less often.
359
7144c627
MY
3602013-04-10 Masatake YAMATO <yamato@redhat.com>
361
362 * progmodes/sh-script.el: Implement `sh-mode' own
363 `add-log-current-defun-function' (bug#14112).
364 (sh-current-defun-name): New function.
365 (sh-mode): Use the function.
366
b39792eb
BG
3672013-04-09 Bastien Guerry <bzg@gnu.org>
368
369 * simple.el (choose-completion-string): Fix docstring (bug#14163).
370
8acdeb71
SM
3712013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
372
6fcdab68
SM
373 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
374
8acdeb71
SM
375 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
376 timer (bug#14156).
377
e3e7b504
NF
3782013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
379
380 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
381 declaration.
382
201bb296
LL
3832013-04-07 Leo Liu <sdl.web@gmail.com>
384
385 * pcmpl-x.el: New file.
386
ebb19708
DA
3872013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
388
389 Do not set x-display-name until X connection is established.
390 This is needed to prevent from weird situation described at
391 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
392 * frame.el (make-frame): Set x-display-name after call to
393 window system initialization function, not before.
394 * term/x-win.el (x-initialize-window-system): Add optional
395 display argument and use it.
396 * term/w32-win.el (w32-initialize-window-system):
397 * term/ns-win.el (ns-initialize-window-system):
398 * term/pc-win.el (msdos-initialize-window-system):
399 Add compatible optional display argument.
400
33bb237a
EZ
4012013-04-06 Eli Zaretskii <eliz@gnu.org>
402
403 * files.el (normal-backup-enable-predicate): On MS-Windows and
404 MS-DOS compare truenames of temporary-file-directory and of the
405 file, so that 8+3 aliases (usually found in $TEMP on Windows)
406 don't fail comparison by compare-strings. Also, compare file
407 names case-insensitively on MS-Windows and MS-DOS.
408
134abf1f
SM
4092013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
410
411 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
412 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
413
d695cb94
DG
4142013-04-05 Dmitry Gutov <dgutov@yandex.ru>
415
e3e7b504
NF
416 * whitespace.el (whitespace-color-on, whitespace-color-off):
417 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
d695cb94 418
f4ad7ea1 4192013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
7e268e90
AM
420
421 * ispell.el (ispell-set-spellchecker-params):
422 Really set `ispell-args' for all equivs.
423
632556e4
SM
4242013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
425
426 * ido.el (ido-completions): Use extra elements of ido-decorations
427 (bug#14143).
428 (ido-decorations): Update docstring.
429
2a417372
MA
4302013-04-05 Michael Albinus <michael.albinus@gmx.de>
431
432 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
433 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
434 nil during initialization, in order not to miss changes since the
435 file was opened. (Bug#14140)
436
fc164b0c
LL
4372013-04-05 Leo Liu <sdl.web@gmail.com>
438
439 * kmacro.el (kmacro-call-macro): Fix bug#14135.
440
0ccecc08
JB
4412013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
442
443 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
444
51af1aa2
GM
4452013-04-04 Glenn Morris <rgm@gnu.org>
446
447 * electric.el (electric-pair-inhibit-predicate): Add :version.
448
b208ebc6
SM
4492013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
450
451 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
452 when a package is required several times (bug#14082).
453
f3d3eaf0
RW
4542013-04-04 Roland Winkler <winkler@gnu.org>
455
456 * faces.el (read-face-name): Behave as promised by the docstring.
457 Assume that arg default is a list of faces.
458 (describe-face): Call read-face-name with list of default faces.
459
2575da50
TV
4602013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
461
462 * bookmark.el: Fix deletion of bookmarks (bug#13972).
463 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
464 (bookmark-bmenu-execute-deletions): Only skip first line if it's
465 the header.
466 (bookmark-exit-hook-internal): Save even if list is empty.
467
397703b4
YH
4682013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
469
470 * emacs-lisp/package.el (package-pinned-packages): New var.
471 (package--add-to-archive-contents): Obey it (bug#14118).
472
691e26ae
AM
4732013-04-03 Alan Mackenzie <acm@muc.de>
474
475 Handle `parse-partial-sexp' landing inside a comment opener
476 (Bug#13244). Also adapt to the new values of element 7 of a parse
477 state.
478
479 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
480 parameter `not-in-delimiter'. Handle being inside comment opener.
481 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
482 character in case we're typing a '*' after a '/'.
483 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
484 instead by passing the parameter to c-state-pp-to-literal.
485
486 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
487 for elt. 7 of a parse state.
488
4b725a70
PE
4892013-04-01 Paul Eggert <eggert@cs.ucla.edu>
490
491 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
492 * international/latin1-disp.el, international/mule-util.el:
493 * language/cyril-util.el, language/european.el, language/ind-util.el:
494 * language/lao-util.el, language/thai.el, language/tibet-util.el:
495 * language/tibetan.el, language/viet-util.el:
496 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
497
15c579f0
SM
4982013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
499
500 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
501 (electric-pair-post-self-insert-function): Use it.
502 (electric-pair-default-inhibit): New function, extracted from
503 electric-pair-post-self-insert-function.
504
a77e2924
RW
5052013-03-31 Roland Winkler <winkler@gnu.org>
506
507 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
508
2bd8a4a8
SM
5092013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
510
511 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
512
8d3655be 5132013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
c9886b39
FEG
514
515 Un-indent after "pass" and "return" statements (Bug#13888)
516 * progmodes/python.el (python-indent-block-enders): New var.
517 (python-indent-calculate-indentation): Use it.
518
8d3655be 5192013-03-30 Michael Albinus <michael.albinus@gmx.de>
4430bd53
MA
520
521 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
522 defun. Defining it as defalias could introduce too eager
523 byte-compiler optimization. (Bug#14030)
524
8d3655be 5252013-03-30 Chong Yidong <cyd@gnu.org>
89468837
CY
526
527 * iswitchb.el (iswitchb-read-buffer): Fix typo.
528
0b1619da
LL
5292013-03-30 Leo Liu <sdl.web@gmail.com>
530
531 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
532 (kmacro-execute-from-register): Pass the keyboard macro to
533 kmacro-call-macro or repeating won't work correctly.
534
0b938190
TZ
5352013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
536
537 * progmodes/subword.el: Back to using `forward-symbol'.
538
539 * subr.el (forward-whitespace, forward-symbol)
540 (forward-same-syntax): Move from thingatpt.el.
541
35710234
LL
5422013-03-29 Leo Liu <sdl.web@gmail.com>
543
544 * kmacro.el (kmacro-to-register): New command.
545 (kmacro-execute-from-register): New function.
546 (kmacro-keymap): Bind to 'x'. (Bug#14071)
547
efc0bb73
SM
5482013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
549
550 * mpc.el: Use defvar-local and setq-local.
551 (mpc--proc-connect): Connection failures are not bugs.
552 (mpc-mode-map): `follow-link' only applies to the buffer's content.
553 (mpc-volume-map): Bind to the up-events.
554
75a2f981
TZ
5552013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
556
557 * progmodes/subword.el (superword-mode): Use `forward-sexp'
558 instead of `forward-symbol'.
559
17c781d1
SM
5602013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
561
562 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
563 (edebug--recursive-edit): Use it.
564 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
565 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
566
f67bfbcf
LL
5672013-03-28 Leo Liu <sdl.web@gmail.com>
568
569 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
570
b59f639d
EZ
5712013-03-27 Eli Zaretskii <eliz@gnu.org>
572
573 * facemenu.el (list-colors-callback): New defvar.
574 (list-colors-redisplay): New function.
575 (list-colors-display): Install list-colors-redisplay as the
576 revert-buffer-function. (Bug#14063)
577
f557c1b1
SM
5782013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
579
b1da2957
SM
580 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
581 and suffixes don't overlap (bug#14061).
582
f557c1b1
SM
583 * case-table.el: Use lexical-binding.
584 (case-table-get-table): New function.
585 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
586
002668e1
TZ
5872013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
588
589 * progmodes/subword.el: Add `superword-mode' to do word motion
590 over symbol_words (parallels and leverages `subword-mode' which
591 does word motion inside MixedCaseWords).
592
73572c72
AG
5932013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
594
78b8f320 595 * eshell/em-unix.el: Move su and sudo to...
f4ad7ea1 596 * eshell/em-tramp.el: ...Eshell tramp module.
73572c72 597
69b2c07e
SM
5982013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
599
600 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
601 Change return value to be a sexp. Delay `get-buffer' to after
602 restoring the desktop (bug#13951).
603
08bb5ee2
LL
6042013-03-26 Leo Liu <sdl.web@gmail.com>
605
606 * register.el: Move semantic tag handling back to
607 cedet/semantic/senator.el. (Bug#14052)
608
8d4c974e
SM
6092013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
610
611 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
612 into the prompt either (bug#13963).
613
b234d92c
SM
6142013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
615
616 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
617 part of "(error-foo)".
618
ddfa3cb4
JL
6192013-03-24 Juri Linkov <juri@jurta.org>
620
621 * replace.el (list-matching-lines-prefix-face): New defcustom.
622 (occur-1): Pass `list-matching-lines-prefix-face' to the function
623 `occur-engine' if `face-differs-from-default-p' returns t.
624 (occur-engine): Add `,' inside backquote construct to evaluate
625 `prefix-face'. Propertize the prefix with the `prefix-face' face.
626 Pass `prefix-face' to the functions `occur-context-lines' and
627 `occur-engine-add-prefix'.
628 (occur-engine-add-prefix, occur-context-lines): Add optional arg
629 `prefix-face' and propertize the prefix with `prefix-face'.
630 (Bug#14017)
631
7b0e2f85
LL
6322013-03-24 Leo Liu <sdl.web@gmail.com>
633
634 * nxml/rng-valid.el (rng-validate-while-idle)
635 (rng-validate-quick-while-idle): Guard against deleted buffer.
636 (Bug#13999)
637
638 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
639 is the last entry in kill-buffer-hook.
640
641 * files.el (kill-buffer-hook): Doc fix.
642
b3082f49
DG
6432013-03-23 Dmitry Gutov <dgutov@yandex.ru>
644
b234d92c
SM
645 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
646 Make it safe-local.
bde73d27 647
b3082f49
DG
648 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
649
a320a2db
LL
6502013-03-23 Leo Liu <sdl.web@gmail.com>
651
7e74b0fb
LL
652 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
653 Remove.
654
655 * nxml/rng-valid.el (rng-validate-mode)
656 (rng-after-change-function, rng-do-some-validation):
657 * nxml/rng-maint.el (rng-validate-buffer):
658 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
659 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
660 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
661 (nxml-extend-after-change-region): Use with-silent-modifications.
662
a320a2db
LL
663 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
664 timer-idle-list.
665
666 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
667 (rng-next-error-1, rng-previous-error-1): Do not let-bind
668 timer-idle-list. (Bug#13999)
669
e38e6780
JL
6702013-03-23 Juri Linkov <juri@jurta.org>
671
672 * info.el (info-index-match): New face.
673 (Info-index, Info-apropos-matches): Add a nested subgroup to the
674 main pattern and add text properties with the new face to matches
675 in index entries relative to the beginning of the index entry.
676 (Bug#14015)
677
e8cc7880
DE
6782013-03-21 Eric Ludlam <zappo@gnu.org>
679
680 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
681 Inhibit read only while inserting objects.
682
9bb0d822
TZ
6832013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
684
685 * progmodes/cfengine.el: Update docs to mention
686 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
687 symbol motion. Remove "_" from the word syntax.
688
aa703640
TZ
6892013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
690
691 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
692 syntax for both `cfengine2-mode' and `cfengine3-mode'.
693
afff09d0
JL
6942013-03-20 Juri Linkov <juri@jurta.org>
695
696 * info.el (Info-next-reference-or-link)
697 (Info-prev-reference-or-link): New functions.
698 (Info-next-reference, Info-prev-reference): Use them.
699 (Info-try-follow-nearest-node): Handle footnote navigation.
700 (Info-fontify-node): Fontify footnotes. (Bug#13989)
701
9a1ff164
SM
7022013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
703
704 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
705 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
706
2667d15d
PE
7072013-03-20 Paul Eggert <eggert@cs.ucla.edu>
708
709 Suppress unnecessary non-ASCII chatter during build process.
710 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
711 (batch-skkdic-convert): Suppress most of the chatter.
712 It's not needed so much now that machines are faster,
713 and its non-ASCII component was confusing; see Dmitry Gutov in
714 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
715
438b0579
LL
7162013-03-20 Leo Liu <sdl.web@gmail.com>
717
718 * ido.el (ido-chop): Fix bug#10994.
719
c128ab07
DG
7202013-03-19 Dmitry Gutov <dgutov@yandex.ru>
721
722 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
723 Remove vars.
9a1ff164
SM
724 (whitespace-color-on, whitespace-color-off):
725 Use `font-lock-fontify-buffer' (Bug#13817).
c128ab07 726
0e6008c5
SM
7272013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
728
729 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
730 remapping in mode-line.
731 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
732
627b52b0
DG
7332013-03-19 Dmitry Gutov <dgutov@yandex.ru>
734
735 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
736 value for `whitespace-line' face (Bug#13875).
7ec31b02
DG
737 (whitespace-font-lock-keywords): Change description.
738 (whitespace-color-on): Don't save `font-lock-keywords' value, save
739 the constructed keywords instead.
740 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
627b52b0 741
50c3a20b
LL
7422013-03-19 Leo Liu <sdl.web@gmail.com>
743
744 * progmodes/compile.el (compilation-display-error): New command.
745 (compilation-mode-map, compilation-minor-mode-map): Bind it to
746 C-o. (Bug#13992)
747
2aa2157b
PE
7482013-03-18 Paul Eggert <eggert@cs.ucla.edu>
749
750 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
751
e477dbfa
JD
7522013-03-18 Jan Djärv <jan.h.d@swipnet.se>
753
754 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
755
64ab82d1
MA
7562013-03-18 Michael Albinus <michael.albinus@gmx.de>
757
758 * net/tramp-compat.el (tramp-compat-user-error): New defun.
759
760 * net/tramp-adb.el (tramp-adb-handle-shell-command):
761 * net/tramp-gvfs.el (top):
762 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
763 (tramp-handle-shell-command): Use it.
764 (tramp-dissect-file-name): Raise an error when hostname is a
765 method name, and neither method nor user is specified.
766
767 * net/trampver.el: Update release number.
768
33cef733
LL
7692013-03-18 Leo Liu <sdl.web@gmail.com>
770
771 Make sure eldoc can be turned off properly.
772 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
773 eldoc-mode.
774 (eldoc-display-message-p): Revert last change.
775 (eldoc-display-message-no-interference-p)
776 (eldoc-print-current-symbol-info): Tweak.
777
2167b7b2
TH
7782013-03-18 Tassilo Horn <tsdh@gnu.org>
779
780 * doc-view.el (doc-view-new-window-function): Check the new window
781 overlay's display property instead the char property of the
782 buffer's first char. Use `with-selected-window' instead of
783 `save-window-excursion' with `select-window'.
784 (doc-view-document->bitmap): Check the current doc-view overlay's
9a1ff164 785 display property instead the char property of the buffer's first char.
2167b7b2 786
982efbcd
PE
7872013-03-18 Paul Eggert <eggert@cs.ucla.edu>
788
789 Automate the build of ja-dic.el (Bug#13984).
790 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
791 from the input, rather than assume that it's been done for us by the
792 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
793 the current date into a ja-dic.el comment, as that complicates
794 regression testing.
795
2fcc7665
SM
7962013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
797
798 * whitespace.el: Fix double evaluation.
799 (whitespace-space, whitespace-hspace, whitespace-tab)
800 (whitespace-newline, whitespace-trailing, whitespace-line)
801 (whitespace-space-before-tab, whitespace-indentation)
802 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
803 obsolete defvars.
804 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
805 (whitespace-color-on): Use a single font-lock-add-keywords call.
806 Fix double-evaluation of face variables.
807
67c0a6e6
MA
8082013-03-17 Michael Albinus <michael.albinus@gmx.de>
809
2fcc7665
SM
810 * net/tramp-adb.el (tramp-adb-parse-device-names):
811 Use `start-process' instead of `call-process'. Otherwise, the
8194a705 812 function might be blocked under MS Windows. (Bug#13299)
67c0a6e6 813
69489f1d
LL
8142013-03-17 Leo Liu <sdl.web@gmail.com>
815
816 Extend eldoc to display info in the mode-line. (Bug#13978)
817 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
818 (eldoc-mode-line-string): New variable.
819 (eldoc-minibuffer-message): New function.
820 (eldoc-message-function): New variable.
821 (eldoc-message): Use it.
822 (eldoc-display-message-p)
2fcc7665
SM
823 (eldoc-display-message-no-interference-p):
824 Support eldoc-post-insert-mode.
69489f1d
LL
825
826 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
827 (eval-expression): Run it.
828
9c44569e
RW
8292013-03-17 Roland Winkler <winkler@gnu.org>
830
831 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
832 strings in the list of return values.
833
327f1f6f
JB
8342013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
835
836 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
837 radix before checking for HMS forms.
838
67ed8fcd
LL
8392013-03-16 Leo Liu <sdl.web@gmail.com>
840
841 * progmodes/scheme.el: Add indentation and font-locking for λ.
842 (Bug#13975)
843
78be8b64 8442013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
efe8bf5d
SM
845
846 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
847 token before point (bug#13942).
848
78be8b64 8492013-03-16 Leo Liu <sdl.web@gmail.com>
00094c26 850
95b43468 851 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
00094c26 852
98e775e6
EZ
8532013-03-16 Eli Zaretskii <eliz@gnu.org>
854
855 * startup.el (command-line-normalize-file-name): Fix handling of
856 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
857 <xfq.free@gmail.com> in
858 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
859
2edd6029
MA
8602013-03-15 Michael Albinus <michael.albinus@gmx.de>
861
862 Sync with Tramp 2.2.7.
863
864 * net/trampver.el: Update release number.
865
d35f5864
TH
8662013-03-14 Tassilo Horn <tsdh@gnu.org>
867
f35ffe5e
TH
868 * doc-view.el Fix bug#13887.
869 (doc-view-insert-image): Don't modify overlay associated to
870 non-live windows, and implement horizontal centering of image in
871 case it's smaller than the window.
872 (doc-view-new-window-function): Force redisplay of new windows on
873 doc-view buffers.
d35f5864 874
1c4a85ed
KF
8752013-03-13 Karl Fogel <kfogel@red-bean.com>
876
877 * saveplace.el (save-place-alist-to-file): Don't sort
878 `save-place-alist', just pretty-print it (bug#13882).
879
85b66a21
MA
8802013-03-13 Michael Albinus <michael.albinus@gmx.de>
881
882 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Check,
883 whether `default-file-name-coding-system' is bound. It isn't in
884 XEmacs.
885
175600da
SM
8862013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
887
e7f7cb1a
SM
888 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
889 backquotes for `obsolete' (bug#13929).
890
175600da
SM
891 * international/mule.el (find-auto-coding): Include file name in
892 obsolescence warning (bug#13922).
893
ca68a22e
TZ
8942013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
895
896 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
897 for CFEngine 3-specific indentation.
898 (cfengine3-indent-line): Use it. Fix up category regex.
899 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
900
940e5099
SM
9012013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
902
903 * type-break.el (type-break-file-name):
904 * textmodes/remember.el (remember-data-file):
905 * strokes.el (strokes-file):
906 * shadowfile.el (shadow-initialize):
907 * saveplace.el (save-place-file):
908 * ps-bdf.el (bdf-cache-file):
909 * progmodes/idlwave.el (idlwave-config-directory):
910 * net/quickurl.el (quickurl-url-file):
911 * international/kkc.el (kkc-init-file-name):
912 * ido.el (ido-save-directory-list-file):
913 * emulation/viper.el (viper-custom-file-name):
914 * emulation/vip.el (vip-startup-file):
915 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
916 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
917
cc725808
PE
9182013-03-12 Paul Eggert <eggert@cs.ucla.edu>
919
920 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
921 * language/thai-word.el: Switch to UTF-8.
922
e56221d5
SM
9232013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
924
925 * recentf.el (recentf-save-file): Use locate-user-emacs-file (bug#13870).
926
c6bdd110
TV
9272013-03-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
928
929 * net/net-utils.el (net-utils-remove-ctrl-m-filter):
930 Use with-current-buffer and don't move point.
931 (net-utils-run-simple): Remove useless code.
932 (net-utils-remove-ctl-m): Remove unused custom.
933
bd3921f0
PS
9342013-03-11 Per Starbäck <starback@stp.lingfil.uu.se>
935
936 * international/characters.el (glyphless-set-char-table-range): New fun.
937 (update-glyphless-char-display): Use it (bug#13744).
938
ccc4f9f1
TZ
9392013-03-11 Teodor Zlatanov <tzz@lifelogs.com>
940
941 * progmodes/cfengine.el: Update for CFEngine 3.4.2 and higher:
942 namespaces in the syntax, indent closer for hanging brace
943 correctly, allow single-quote delimited 'strings', and make
944 `cfengine3-mode' the default.
945
6ff2c8f1
JPG
9462013-03-11 Jean-Philippe Gravel <jpgravel@gmail.com>
947
948 * progmodes/gdb-mi.el: Speed up initialization (bug#10580).
949 Use lexical-binding. Fix up docstring according to conventions.
950 (gdbmi-debug-mode): New var.
951 (gdbmi-start-with, gdbmi-same-start, gdbmi-is-number, gdbmi-bnf-init)
952 (gdbmi-bnf-output, gdbmi-bnf-skip-unrecognized, gdbmi-bnf-gdb-prompt)
953 (gdbmi-bnf-result-record, gdbmi-bnf-out-of-band-record)
954 (gdbmi-bnf-async-record, gdbmi-bnf-stream-record)
955 (gdbmi-bnf-console-stream-output, gdbmi-bnf-target-stream-output)
956 (gdbmi-bnf-log-stream-output, gdbmi-bnf-result-and-async-record-impl)
957 (gdbmi-bnf-incomplete-record-result): New functions.
958 (gdb-car<): Remove function.
959 (gdbmi-record-list): Remove variable.
960 (gdbmi-bnf-state, gdbmi-bnf-offset): New vars.
961 (gdbmi-bnf-result-state-configs): New const.
962 (gud-gdbmi-marker-filter): Rewrite.
963 (gdb-ignored-notification, gdb-thread-created, gdb-thread-exited)
964 (gdb-thread-selected, gdb-running, gdb-starting, gdb-stopped):
965 Add `token' argument.
966 (gdb-done, gdb-error): New functions.
967 (gdb-done-or-error): Add `is-complete' argument. Change arg order.
968
9b593980
SM
9692013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
970
2523c845
SM
971 * term/xterm.el (xterm--report-background-handler): Don't burp
972 upon timeout.
973 (xterm--version-handler): Extract from terminal-init-xterm.
974 (xterm--query): Don't mishandle timeout. Remove debugging messages.
975 Allow multiple handlers.
976 (terminal-init-xterm): Handle OSX's Terminal.app's incorrect answer.
977
9b593980
SM
978 * term/xterm.el: Don't discard input (bug#6758). Use lexical-binding.
979 (xterm--report-background-handler, xterm--query): New functions.
980 (terminal-init-xterm): Use them.
981
e18e61cf
MM
9822013-03-11 Michael R. Mauger <michael@mauger.com>
983
984 * progmodes/sql.el Version 3.2
985 Please note that my address changed to <michael@mauger.com>;
986 the <mmaug@yahoo.com> address remains active.
987 (sql-connection-alist): Updates documentation to fix bug#13715.
988 (sql-connect): Handle missing `sql-connection-alist' correctly.
989 (sql-mode-oracle-font-lock-keywords): Add missing keywords.
990 (sql-magic-go, sql-magic-semicolon): Mark with `delete-selection'
991 property.
992 (sql-default-value): New function.
993 (sql-get-login-ext, sql-get-login): Fixes bug where buffer-local
994 values were not used.
995 (sql-rename-buffer): Make sure alternate buffer name has no text
996 properties.
997 (sql-input-sender, sql-execute-feature): Fetch variable with
998 `buffer-local-value' rather than `with-current-buffer'.
999 (sql-*): Use #' function syntax consistently.
1000 (sql-*): Use message/error/user-error consistently.
1001
25c09217
SM
10022013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
1003
1004 * xt-mouse.el (xterm-mouse-event-read): Remove.
1005 (xterm-mouse--read-event-sequence-1000)
1006 (xterm-mouse--read-event-sequence-1006): Use read-event instead.
1007
d0ebc826
SM
10082013-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
1009
d3e9f3a8
SM
1010 * term/xterm.el (xterm-function-map): Support format used with
1011 formatOtherKeys=1 (bug#13839).
1012
17f32327
SM
1013 * emacs-lisp/byte-run.el (dont-compile): Declare obsolete.
1014 (with-no-warnings): Use `declare'.
1015
33f5bc1c
SM
1016 * whitespace.el (whitespace-enable-predicate): New variable.
1017 (whitespace-enable-predicate): Use it.
1018
d0ebc826
SM
1019 * comint.el (comint-send-input, comint-snapshot-last-prompt)
1020 (comint-output-filter, comint-update-fence):
1021 Use with-silent-modifications.
1022
45ba025e
J
10232013-03-10 Jambunathan K <kjambunathan@gmail.com>
1024
1025 * replace.el (occur-read-regexp-defaults-function): New var.
1026 (occur-read-regexp-defaults): New defun.
1027 (occur-read-primary-args): Propagate above change (bug#13892).
1028
74dd4abc
SM
10292013-03-09 Stefan Monnier <monnier@iro.umontreal.ca>
1030
1031 * mouse.el (mouse-drag-track): Remove left-over debugging code.
1032
3675b169
MA
10332013-03-09 Michael Albinus <michael.albinus@gmx.de>
1034
1035 Major rewrite due to changed D-Bus interface of GVFS 1.14.
1036
1037 * net/tramp-gvfs.el (top): Extend check for gvfs availability.
1038 (tramp-gvfs-methods-mounttracker, tramp-gvfs-listmounts)
1039 (tramp-gvfs-mountlocation, tramp-gvfs-mountlocation-signature):
1040 New defconst.
74dd4abc
SM
1041 (tramp-gvfs-file-name-handler-alist) [directory-files]
1042 [directory-files-and-attributes, file-exists-p, file-modes]:
1043 Use Tramp default handler.
3675b169
MA
1044 [file-acl, file-selinux-context, process-file, set-file-acl]:
1045 [set-file-modes, set-file-selinux-context, shell-command]:
d0ebc826 1046 [start-file-process]: Remove handler.
3675b169
MA
1047 [verify-visited-file-modtime]: New handler.
1048 (tramp-gvfs-dbus-string-to-byte-array)
1049 (tramp-gvfs-dbus-byte-array-to-string): New defuns. Replace all
1050 calls of `dbus-string-to-byte-array' and
1051 `tramp-gvfs-dbus-byte-array-to-string'.
1052 (tramp-gvfs-handle-copy-file)
1053 (tramp-gvfs-handle-delete-directory)
1054 (tramp-gvfs-handle-delete-file, tramp-gvfs-handle-file-attributes)
1055 (tramp-gvfs-handle-file-directory-p)
1056 (tramp-gvfs-handle-file-executable-p)
1057 (tramp-gvfs-handle-file-name-all-completions)
1058 (tramp-gvfs-handle-file-readable-p)
1059 (tramp-gvfs-handle-file-writable-p)
1060 (tramp-gvfs-handle-insert-directory)
1061 (tramp-gvfs-handle-insert-file-contents)
1062 (tramp-gvfs-handle-make-directory, tramp-gvfs-handle-rename-file)
1063 (tramp-gvfs-handle-set-visited-file-modtime)
1064 (tramp-gvfs-handle-write-region): Rewrite.
1065 (tramp-gvfs-handle-file-acl)
1066 (tramp-gvfs-handle-file-selinux-context)
1067 (tramp-gvfs-handle-process-file, tramp-gvfs-handle-set-file-acl)
1068 (tramp-gvfs-handle-set-file-modes)
1069 (tramp-gvfs-handle-set-file-selinux-context)
1070 (tramp-gvfs-handle-shell-command)
1071 (tramp-gvfs-handle-start-file-process)
1072 (tramp-gvfs-handle-verify-visited-file-modtime): Remove defuns.
1073 (tramp-gvfs-url-file-name): Do not use `file-truename', we work
1074 over the symlinks. Fix user handling.
1075 (top, tramp-gvfs-handler-mounted-unmounted): Handle different names
1076 of the D-Bus signals.
1077 (tramp-gvfs-connection-mounted-p): Handle different names of the
1078 D-Bus methods.
1079 (tramp-gvfs-mount-spec-entry): New defun.
1080 (tramp-gvfs-mount-spec): Use it.
1081 (tramp-gvfs-maybe-open-connection): Check, that in case of "smb"
1082 there is a share name. Handle different names of the D-Bus
85b66a21
MA
1083 signals and methods. Set connection properties needed for
1084 `tramp-check-cached-permissions'.
3675b169
MA
1085 (tramp-gvfs-send-command): Apply `tramp-gvfs-maybe-open-connection'.
1086 Return t or nil.
1087
1088 * net/tramp.el (tramp-backtrace): Move up.
85b66a21 1089 (tramp-error): Dump a backtrace into the debug buffer when
3675b169
MA
1090 `tramp-verbose > 9.
1091 (tramp-file-mode-type-map, tramp-file-mode-from-int)
1092 (tramp-file-mode-permissions, tramp-get-local-uid)
1093 (tramp-get-local-gid, tramp-check-cached-permissions): Move from
1094 tramp-sh.el.
1095
1096 * net/tramp-sh.el (tramp-file-mode-type-map)
1097 (tramp-check-cached-permissions, tramp-file-mode-from-int)
1098 (tramp-file-mode-permissions, tramp-get-local-uid)
1099 (tramp-get-local-gid): Move to tramp.el.
1100
27a98a62
SM
11012013-03-09 Stefan Monnier <monnier@iro.umontreal.ca>
1102
1103 Separate mouse-1-click-follows-link from mouse-drag-region.
1104 * mouse.el (mouse--down-1-maybe-follows-link): New function.
1105 (key-translation-map): Use it to implement mouse-1-click-follows-link.
1106 (mouse-drag-line, mouse-drag-track):
1107 Remove mouse-1-click-follows-link code.
1108 (mouse--remap-link-click-p): Remove.
1109
eb1a6e15
J
11102013-03-08 Jambunathan K <kjambunathan@gmail.com>
1111
1112 * hi-lock.el (hi-lock-read-regexp-defaults-function): New var.
1113 (hi-lock-read-regexp-defaults): New defun.
1114 (hi-lock-line-face-buffer, hi-lock-face-buffer)
27a98a62
SM
1115 (hi-lock-face-phrase-buffer): Propagate above change.
1116 Update docstring (bug#13892).
eb1a6e15
J
1117
1118 * subr.el (find-tag-default-as-regexp): New defun.
1119 * replace.el (read-regexp): Propagate above change.
1120
6d7ebb72
JB
11212013-03-08 Jay Belanger <jay.p.belanger@gmail.com>
1122
1123 * calc/calc-units.el (calc-convert-units): Fix the way that default
1124 new units are stored.
1125
c34ae9da 11262013-03-07 Matthias Meulien <orontee@gmail.com>
c095b770
KF
1127
1128 * bookmark.el: Define a face to highlight bookmark names in
1129 bookmark menu buffers, where the default is a bold face similarly
c34ae9da 1130 to buffer names in buffer menu buffers.
c095b770
KF
1131 (bookmark-menu-bookmark): New face to highlight bookmark names.
1132 (bookmark-insert-location): Remove duplicated text property to
1133 conform to buffer list (see `list-buffers').
1134 (bookmark-bmenu-list, bookmark-bmenu-hide-filenames): Apply face
1135 `bookmark-menu-bookmark' to bookmark names.
1136
c34ae9da
GM
11372013-03-07 Matthias Meulien <orontee@gmail.com>
1138 Karl Fogel <kfogel@red-bean.com>
7a78e19f
KF
1139
1140 * bookmark.el: Display the bookmark list header similarly to the
1141 buffer list header (see `list-buffers'), where the default is now
c34ae9da 1142 an immovable/immutable header line.
7a78e19f
KF
1143 (bookmark-bmenu-use-header-line): New variable.
1144 (bookmark-bmenu-inline-header-height): New name for
1145 `bookmark-bmenu-header-height', to avoid confusion with the code
1146 for the new immovable header. All references changed.
1147 (bookmark-bmenu-set-header): New function.
1148 (bookmark-bmenu-list, bookmark-bmenu-toggle-filenames):
1149 Conditionalize header construction accordingly.
1150 (bookmark-bmenu-ensure-position): Conditionalize the skipping of
1151 the inline header height.
1152 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
1153 Conditionalize the skipping of the inline header height.
1154
94e48c7d
DG
11552013-03-07 Dmitry Gutov <dgutov@yandex.ru>
1156
27a98a62
SM
1157 * progmodes/js.el (js--multi-line-declaration-indentation):
1158 Merge from js2-mode (https://github.com/mooz/js2-mode/issues/89).
94e48c7d 1159
ab89e9f9
DG
11602013-03-06 Dmitry Gutov <dgutov@yandex.ru>
1161
27a98a62
SM
1162 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1163 Only propertize regexp when not inside a string (Bug#13885).
ab89e9f9 1164
33d1e2f5
AM
11652013-03-06 Alan Mackenzie <acm@muc.de>
1166
1167 Correct the position of point in some line-up functions.
1168 * progmodes/cc-align.el (c-lineup-whitesmith-in-block)
1169 (c-lineup-assignments, c-lineup-gcc-asm-reg ): take position of
1170 point at column 0 rather than at a random place in the line.
1171
11f4d68f
MA
11722013-03-05 Michael Albinus <michael.albinus@gmx.de>
1173
27a98a62
SM
1174 * net/tramp-compat.el (tramp-compat-delete-directory):
1175 Implement TRASH argument.
11f4d68f 1176
c7a409b6
DG
11772013-03-05 Dmitry Gutov <dgutov@yandex.ru>
1178
1179 Keep pre-existing highlighting in completion candidates (Bug#13250).
1180 * minibuffer.el (completions-first-difference): State that the
1181 face is "added" in the docstring.
1182 (completions-common-part): Same. And don't inherit from default.
1183 (completion-hilit-commonality): Prepend 'completions-common-part
1184 and 'completion-first-difference faces to the 'face property,
1185 instead of replacing the value(s).
1186 (completion--insert-strings): Same with 'completions-annotations face.
1187 (completion-hilit-commonality): Use 'face instead of
1188 'font-lock-face, because it gets priority if the completion
1189 strings already have 'face set.
1190
e0bc0f33
AM
11912013-03-04 Alan Mackenzie <acm@muc.de>
1192
1193 Replace `last-command-event' by `last-command-char' in XEmacs.
1194 * progmodes/cc-defs.el (c-last-command-char): New macro.
1195 * progmodes/cc-align.el (c-semi&comma-inside-parenlist)
1196 (c-semi&comma-no-newlines-before-nonblanks)
1197 (c-semi&comma-no-newlines-for-oneline-inliners): Use the new macro
1198 in place of `last-command-event'.
1199 * progmodes/cc-cmds.el (c-electric-pound, c-electric-brace)
1200 (c-electric-slash, c-electric-semi&comma, c-electric-lt-gt)
1201 (c-electric-paren, c-electric-continued-statement): Use the new
1202 macro in place of `last-command-event'.
1203
cb05411f
GM
12042013-03-04 Glenn Morris <rgm@gnu.org>
1205
1206 * files.el (inhibit-local-variables-regexps):
1207 Add .diff and .patch. (Bug#13862)
1208
9a0f9ec3
MA
12092013-03-03 Michael Albinus <michael.albinus@gmx.de>
1210
1211 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Cache,
1212 whether the "su" command is available on the device.
1213
7d11fc27
MA
12142013-03-01 Michael Albinus <michael.albinus@gmx.de>
1215
1216 * net/tramp-adb.el (tramp-adb-prompt): Extend regexp.
1217 (tramp-adb-handle-process-file): Remove superfluous setting.
1218 (tramp-adb-command-exit-status): Handle case that COMMAND is nil.
1219 (tramp-adb-barf-unless-okay): Use `tramp-adb-command-exit-status'.
1220 (tramp-adb-maybe-open-connection): Apply "su" if user is defined.
1221
b5a5723d
SM
12222013-03-01 Stefan Monnier <monnier@iro.umontreal.ca>
1223
1224 * textmodes/ispell.el: Fix nitpicks and byte-compiler warnings.
1225 (ispell-print-if-debug): Build `format' in. Avoid end-of-buffer.
1226 (ispell-parse-hunspell-affix-file): Avoid beginning-of-buffer.
1227 Use dict-key rather than dict-name for the error message.
1228
7944eaa3
TV
12292013-03-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1230
1231 * net/net-utils.el (net-utils-run-simple): Don't display-buffer
1232 when reverting (bug#13831).
1233
325b66a6
AM
12342013-03-01 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1235
7944eaa3 1236 * textmodes/ispell.el (ispell-find-hunspell-dictionaries):
325b66a6
AM
1237 Always expand affix-file before storing to protect against changed
1238 `default-directory'.
1239 (ispell-print-if-debug): Make sure message is printed at the end
1240 of the debug buffer.
1241
36a8b68b
MA
12422013-03-01 Michael Albinus <michael.albinus@gmx.de>
1243
1244 * net/tramp.el (tramp-obsolete-methods): New defconst.
1245 (tramp-warned-obsolete-methods): New defvar.
1246 (tramp-find-method): Check for obsolete methods. Map them to a
1247 replacement method if appropriate.
1248
1249 * net/tramp-sh.el (tramp-methods) [scp1, scp2, ssh1, ssh2, plink1]:
1250 Remove methods.
1251 (top): Remove completion functions for "scp1", "scp2", "ssh1",
1252 "ssh2" and "plink1".
1253
4a83d19e
DS
12542013-02-28 Dale Sedivec <dale@codefu.org>
1255
1256 * textmodes/sgml-mode.el (sgml-syntax-propertize-function):
1257 Return valid syntax-table property value when converting
1258 quotes within text from string syntax to punctuation syntax (bug#13844).
1259
9d232fc4
JL
12602013-02-28 Juri Linkov <juri@jurta.org>
1261
1262 * dired-aux.el (dired-diff): If file at point is a backup file,
1263 use its original as the default value, and reverse the order
1264 of arguments to the `diff' call. Doc fix. (Bug#13772)
1265
779451da
MA
12662013-02-28 Michael Albinus <michael.albinus@gmx.de>
1267
1268 * net/tramp-adb.el (tramp-adb-sdk-dir): Remove. Replaced by ...
1269 (tramp-adb-program): New defcustom. Remove function. Adapt calls.
1270
ef3761e3
AM
12712013-02-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1272
1273 Initial support for hunspell dictionaries auto-detection (Bug#13639)
1274
1275 * textmodes/ispell.el (ispell-find-hunspell-dictionaries):
1276 Ask hunspell about available and default dictionaries.
1277 (ispell-parse-hunspell-affix-file): Extract relevant info from
1278 hunspell affix file.
1279 (ispell-hunspell-fill-dictionary-entry): Fill non-initialized
1280 `ispell-dictionary-alist' entry for given dictionary after info
1281 provided by `ispell-parse-hunspell-affix-file'.
1282 (ispell-hunspell-dict-paths-alist): New defvar to contain an alist
1283 of parsed hunspell dicts and associated affix files.
1284 (ispell-hunspell-dictionary-alist): New defvar to contain an alist
1285 of parsed hunspell dicts and associated parameters.
1286 (ispell-set-spellchecker-params):
1287 Call `ispell-find-hunspell-dictionaries' if hunspell and not
1288 previously done.
1289 (ispell-start-process):
1290 Call `ispell-hunspell-fill-dictionary-entry' for current
1291 dictionary if it is not initialized.
1292
930de676
SM
12932013-02-28 Stefan Monnier <monnier@iro.umontreal.ca>
1294
1295 * imenu.el: Comment nitpicks.
1296
3602cceb
SS
12972013-02-28 Sam Steingold <sds@gnu.org>
1298
1299 * vc/diff-mode.el (diff-hunk-file-names): Handle filenames with spaces.
1300 See <http://stackoverflow.com/questions/14720205>.
1301
bd0dd755
TV
13022013-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1303
1304 * net/net-utils.el (net-utils--revert-function): New fun (bug#13831).
1305 (net-utils-mode): Use it.
1306 (net-utils--revert-cmd): New var.
1307 (net-utils-run-simple): Set it, and remove bogus interactive spec.
1308 (traceroute): Use net-utils-run-simple.
1309
929aeac6 13102013-02-28 Glenn Morris <rgm@gnu.org>
f0e19dc1
GM
1311
1312 * textmodes/paragraphs.el (mark-paragraph): Doc fix.
1313
e7a1c32d
SM
13142013-02-28 Stefan Monnier <monnier@iro.umontreal.ca>
1315
1316 * doc-view.el: Preserve h&v scroll across C-c C-c C-c C-c.
1317 (doc-view-fallback-mode): Remove overlays here.
1318 (doc-view-toggle-display): Instead of here. Don't throw away
1319 image-mode-winprops-alist.
1320 (doc-view-goto-page): Don't mess with hscroll.
1321
f2c88400
TV
13222013-02-27 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1323
1324 * font-lock.el (lisp-font-lock-keywords-2): Fix highlighting of
1325 &optional (bug#13819).
1326
fa550654
MA
13272013-02-27 Michael Albinus <michael.albinus@gmx.de>
1328
1329 * net/tramp-adb.el (tramp-adb-parse-device-names)
1330 (tramp-adb-maybe-open-connection): Add timeouts. (Bug#13299)
1331
58bd4aa2
MA
13322013-02-26 Michael Albinus <michael.albinus@gmx.de>
1333
f2c88400
TV
1334 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
1335 Add "2>/dev/null" to the ls command, in case "en_US.utf8" is not
58bd4aa2
MA
1336 defined. POSIX environments fall back to the "C" locale then and
1337 emit a warning, which shall be suppressed.
1338
9f70f91e
SM
13392013-02-26 Stefan Monnier <monnier@iro.umontreal.ca>
1340
1341 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): Tweak logic.
1342 (easy-mmode-set-keymap-parents): Use make-composed-keymap.
1343
4c514b0f
SM
13442013-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
1345
1346 * emacs-lisp/bytecomp.el (byte-compile-file): Use let.
1347
cd27a76d
JL
13482013-02-25 Juri Linkov <juri@jurta.org>
1349
1350 * replace.el (read-regexp): Let-bind `default' to the first
1351 element of `defaults' if it's a list, otherwise it should be
1352 a string or nil. Let-bind `suggestions' to `defaults' if it's
1353 a list, otherwise make a list with the string value. Doc fix.
1354 (Bug#13805)
1355
343a2aef
EZ
13562013-02-25 Eli Zaretskii <eliz@gnu.org>
1357
1358 * emacs-lisp/bytecomp.el (byte-recompile-directory): Reject files
1359 that match "\`\.#", to avoid compiling lock files, even if they
1360 are readable (as they are on MS-Windows).
1361
944c37ef
SM
13622013-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
1363
1364 * files.el (basic-save-buffer): Remove redundant directory-creation.
1365
7a91562f
JB
13662013-02-24 Jay Belanger <jay.p.belanger@gmail.com>
1367
1368 * calc/calc-ext.el (math-to-radians-2, math-from-radians-2):
1369 Add option to force `pi' to remain symbolic.
1370 * calc/calcalg2.el (calcFunc-sin, calcFunc-cos, calcFunc-tan)
1371 (calcFunc-cot, calcFunc-csc, calcFunc-sec, calcFunc-arcsin)
1372 (calcFunc-arccos, calcFunc-arctan): Use symbolic `pi' in the
1373 derivatives, when necessary.
1374
2ae3d736
PK
13752013-02-23 Peter Kleiweg <p.c.j.kleiweg@rug.nl>
1376
1377 * progmodes/ps-mode.el (ps-mode-version): Bump to 1.1i.
1378 (ps-mode-octal-region): Use string-make-unibyte.
1379
fd743628
GM
13802013-02-23 Glenn Morris <rgm@gnu.org>
1381
e8ba2352
GM
1382 * emulation/viper-cmd.el (viper-submit-report):
1383 * progmodes/ps-mode.el (ps-mode-maintainer-address):
1384 * progmodes/vera-mode.el (vera-mode-help-address):
1385 * textmodes/artist.el (artist-maintainer-address):
1386 * textmodes/reftex.el (reftex-report-bug):
1387 * vc/ediff-util.el (ediff-submit-report):
1388 Add bug-gnu-emacs to bug report address.
1389
3296c443
GM
1390 * progmodes/simula.el (simula-mode-menu, simula-mode-map):
1391 Remove bug report entries.
1392 (simula-mode-help-address, simula-submit-bug-report): Make obsolete.
1393
fd743628
GM
1394 * emacs-lisp/bytecomp.el (byte-compile-level): New.
1395 (byte-compile-file, byte-compile-from-buffer):
1396 Use separate input/output buffers for each level of recursive
1397 byte-compile-file calls. (Bug#13787)
1398
c57a0aff
MA
13992013-02-23 Michael Albinus <michael.albinus@gmx.de>
1400
1401 * net/tramp.el (tramp-methods): Fix docstring.
1402 (tramp-ssh-controlmaster-options): Rename it from
1403 `tramp-ssh-controlmaster-template'. Return a string.
1404 (tramp-default-method): Adapt check for
1405 `tramp-ssh-controlmaster-options'.
1406
4c514b0f
SM
1407 * net/tramp-sh.el (tramp-methods):
1408 Replace `tramp-ssh-controlmaster-template' by "%c".
c57a0aff
MA
1409 (tramp-do-copy-or-rename-file-out-of-band)
1410 (tramp-maybe-open-connection): Use it in format spec. Ensure,
1411 that it is applied for the first hop only.
1412
bba90ab2 14132013-02-22 Juri Linkov <juri@jurta.org>
54d9de11
JL
1414
1415 * isearch.el (isearch-lazy-highlight-new-loop):
1416 Set `isearch-lazy-highlight-start' and `isearch-lazy-highlight-end'
1417 to `isearch-other-end' if it is not nil. (Bug#13402)
1418
1419 * replace.el (replace-highlight): Let-bind `isearch-other-end'
1420 to `match-beg'.
1421
1422 * textmodes/ispell.el (ispell-highlight-spelling-error-overlay):
1423 Let-bind `isearch-other-end' to `start', `isearch-forward' to t
1424 and `isearch-error' to nil.
1425
78be8b64
SM
14262013-03-16 Fabián Ezequiel Gallina <fgallina@cuca>
1427
1428 * progmodes/python.el (python-info-current-defun):
1429 Enhance match-data cluttering prevention.
1430
29bb19dc
MA
14312013-02-22 Michael Albinus <michael.albinus@gmx.de>
1432
1433 * net/tramp.el (tramp-tramp-file-p): Fix docstring.
1434
4c514b0f
SM
1435 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
1436 Handle multibyte file names.
29bb19dc 1437
153dd4d0
GM
14382013-02-22 Glenn Morris <rgm@gnu.org>
1439
5c11fc55
GM
1440 * textmodes/sgml-mode.el (sgml-xml-mode): Move before use.
1441 (sgml-transformation-function): Give it a :set function.
1442 (sgml-tag): Doc fix.
1443
f4146d98
GM
1444 * cmuscheme.el (scheme-buffer):
1445 * progmodes/inf-lisp.el (inferior-lisp-buffer):
1446 * progmodes/tcl.el (inferior-tcl-buffer):
1447 * textmodes/tex-mode.el (tex-command): Doc fixes.
1448
5db881d0
GM
1449 * image-mode.el (image-mode): Add mouse bindings for mode-line-process.
1450
153dd4d0
GM
1451 * htmlfontify.el (hfy-default-header): Encode title string. (Bug#7457)
1452
e224eb41
BG
14532013-02-21 Bastien Guerry <bzg@gnu.org>
1454
1455 * cmuscheme.el (scheme-buffer): Fix docstring. (Bug#13778)
1456
cfbf790d 14572013-02-21 Fabián Ezequiel Gallina <fgallina@cuca>
c132ab79 1458
4c514b0f
SM
1459 * progmodes/python.el (python-info-current-defun):
1460 Enhance match-data cluttering prevention.
c132ab79 1461
cfbf790d 14622013-02-21 Glenn Morris <rgm@gnu.org>
e233e100
GM
1463
1464 * net/tramp.el (tramp-get-debug-buffer): Ensure outline.el is not
1465 loaded while outline-regexp is let bound. (Bug#9584)
1466
cfbf790d 14672013-02-21 Fabián Ezequiel Gallina <fgallina@cuca>
33c0cb25
FEG
1468
1469 * progmodes/python.el (python-info-current-defun): Fix failed
1470 defun name retrieval because of unwanted match-data cluttering.
1471
886bae77
MA
14722013-02-21 Michael Albinus <michael.albinus@gmx.de>
1473
d20e6e90
MA
1474 * net/tramp.el (tramp-ssh-controlmaster-template): Make it a
1475 defconst. Apply independent check for ControlPersist.
1476
886bae77
MA
1477 * net/tramp-sh.el (tramp-sh-handle-set-file-times): Set $UTC only
1478 temporarily, via "env".
1479
bed1791a
GM
14802013-02-21 Glenn Morris <rgm@gnu.org>
1481
5313bbc7
GM
1482 * info.el (Info-enable-edit): Remove.
1483 (Info-edit): Disable it rather than using Info-enable.
1484 (Info-edit-mode-hook, Info-edit-map, Info-edit-mode, Info-edit)
1485 (Info-cease-edit): Make editing of Info files obsolete.
1486
bed1791a
GM
1487 * informat.el (Info-tagify):
1488 Handle buffers not visiting files. (Bug#13763)
1489
c1bf363a
JB
14902013-02-21 Juanma Barranquero <lekktu@gmail.com>
1491
1492 * calc/calc-graph.el (calc-graph-show-dumb): Fix typo.
1493
b367ec7b
GM
14942013-02-21 Glenn Morris <rgm@gnu.org>
1495
1496 * files.el (basic-save-buffer): Move check for existing parent
1497 directory after hooks. (Bug#13773)
1498
b6c2bfff
SM
14992013-02-20 Stefan Monnier <monnier@iro.umontreal.ca>
1500
1501 * simple.el (command-execute): Move from C. Add obsolete check.
1502 (extended-command-history): Move from C.
1503
3bf1099f
UM
15042013-02-20 Ulrich Müller <ulm@gentoo.org>
1505
1506 * jka-cmpr-hook.el (jka-compr-compression-info-list)
1507 (jka-compr-mode-alist-additions): Handle .txz suffix for
1508 XZ-compressed tar archives (bug#13770).
1509
d8d2d18a
BG
15102013-02-20 Bastien Guerry <bzg@gnu.org>
1511
3bf1099f
UM
1512 * outline.el (outline-regexp, outline-heading-end-regexp):
1513 Make variables, not options (bug#13731).
d8d2d18a 1514
1dfcc79e
GM
15152013-02-20 Glenn Morris <rgm@gnu.org>
1516
dc504515
GM
1517 * image.el (image-current-frame): Change from variable to function.
1518 (image-show-frame): Rename from image-nth-frame. Update callers.
1519 * image-mode.el (image-multi-frame): New variable.
1520 (image-mode-map, image-mode, image-goto-frame):
1521 Use image-multi-frame rather than image-current-frame.
1522 (image-mode, image-goto-frame): Use image-current-frame as
1523 function rather than as variable.
1524
1dfcc79e
GM
1525 * emacs-lisp/cl-lib.el (cl-floatp-safe): Make it an alias for floatp.
1526 * emacs-lisp/cl-macs.el (cl--make-type-test)
1527 (cl--compiler-macro-assoc): Use floatp rather than cl-floatp-safe.
1528
81ed22e4
MA
15292013-02-19 Michael Albinus <michael.albinus@gmx.de>
1530
1531 * net/tramp-cache.el (tramp-get-hash-table): New defun.
1532 (tramp-get-file-property, tramp-set-file-property)
1533 (tramp-get-connection-property, tramp-set-connection-property): Use it.
1534 (tramp-flush-file-property, tramp-flush-directory-property):
1535 Rename argument to KEY.
1536 (tramp-flush-connection-property): Simplify a little bit.
1537 (tramp-connection-property-p): New defun.
1538 (top): Reapply saved values only if there isn't a corresponding
1539 entry in `tramp-connection-properties'.
1540
2af3b9c1
FEG
15412013-02-19 Fabián Ezequiel Gallina <fgallina@cuca>
1542
872faefb
GM
1543 * progmodes/python.el (python-indent-context):
1544 Fix python-info-line-ends-backslash-p call.
2af3b9c1 1545 (python-info-line-ends-backslash-p)
872faefb
GM
1546 (python-info-beginning-of-backslash): Respect line-number argument.
1547 (python-info-current-line-comment-p):
1548 Fix behavior when not at beginning-of-line.
2af3b9c1
FEG
1549 (python-util-position): Remove function.
1550 (python-util-goto-line): New function.
1551
872faefb 15522013-02-19 Michael Albinus <michael.albinus@gmx.de>
c9bcc580
MA
1553
1554 * eshell/em-unix.el (eshell/su): Require tramp.
1555 (eshell/sudo): Require tramp. Remove now unnecessary check.
1556
1557 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Let-bind
1558 `tramp-current-connection' in order to avoid an error when several
1559 commands are invoked in a short time in eshell and friends.
1560
8ca4f1e0
SM
15612013-02-19 Stefan Monnier <monnier@iro.umontreal.ca>
1562
1563 Cleanup some of EIEIO's namespace.
1564 * emacs-lisp/eieio.el (eieio--define-field-accessors): New macro.
1565 Use it to define all the class-* and object-* field accessors (renamed
1566 to eieio--class-* and eieio--object-*). Update all uses.
1567 (eieio--class-num-slots, eieio--object-num-slots): Rename from
1568 class-num-slots and object-num-slots.
1569 (eieio--check-type): New macro.
1570 (eieio-defclass, eieio-oref, eieio-oref-default, same-class-p)
1571 (object-of-class-p, child-of-class-p, object-slots, class-slot-initarg)
1572 (eieio-oset, eieio-oset-default, object-assoc, object-assoc-list)
1573 (object-assoc-list-safe): Use it.
1574 (eieio-defclass): Tighten regexp.
1575 (eieio--defmethod): Use `memq'. Signal an error for unknown method kind.
1576 Remove unreachable code.
1577 (object-class-fast): Declare obsolete.
1578 (eieio-class-name, eieio-object-name, eieio-object-set-name-string)
1579 (eieio-object-class, eieio-object-class-name, eieio-class-parents)
1580 (eieio-class-children, eieio-class-precedence-list, eieio-class-parent):
1581 Rename from class-name, object-name, object-set-name-string,
1582 object-class, object-class-name, class-parents, class-children,
1583 class-precedence-list, class-parent; with obsolete alias.
1584 (class-of, class-direct-superclasses, class-direct-subclasses):
1585 Declare obsolete.
1586 (eieio-defmethod): Use `memq'; remove unreachable code.
1587 * emacs-lisp/eieio-base.el (eieio-persistent-read):
1588 * emacs-lisp/eieio-opt.el (eieio-class-button, eieio-describe-generic)
1589 (eieio-browse-tree, eieio-browse): Use eieio--check-type.
1590
73572c72
AG
15912013-02-18 Aidan Gauland <aidalgol@no8wireless.co.nz>
1592
78b8f320
AG
1593 * eshell/em-cmpl.el: Correct "context-related help" keybinding in
1594 commentary.
73572c72 1595
587feed4
MH
15962013-02-18 Michael Heerdegen <michael_heerdegen@web.de>
1597
1598 * emacs-lisp/eldoc.el (eldoc-highlight-function-argument):
1599 Use font-lock-keyword-face for macros and special forms (bug#8345).
1600
a51e9ff7 16012013-02-17 Didier Verna <didier@didierverna.net>
e5b246e9
DV
1602
1603 * net/network-stream.el (network-stream-open-starttls):
1604 Check that response to the starttls-command is non-nil. (Bug#13706)
1605
913274cb
SM
16062013-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
1607
1608 * font-lock.el (lisp-font-lock-keywords-1, lisp-font-lock-keywords-2):
1609 Don't assume all identifier chars have syntax word.
1610 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
1611 Remove bar-not-symbol. Adjust callers.
1612 (lisp-mode-variables): Don't set a font-lock-syntax-table.
1613
53db1d8b
LL
16142013-02-17 Leo Liu <sdl.web@gmail.com>
1615
1616 * net/rcirc.el (rcirc-keepalive): Fix invalid timer error.
1617
e630f18a
GM
16182013-02-17 Glenn Morris <rgm@gnu.org>
1619
1bb1e038
GM
1620 * menu-bar.el (menu-bar-tools-menu): Fix case of EDE entry.
1621
f05e2ff2
GM
1622 * image-mode.el (image-mode-map): Add image-dired menu entry.
1623
e630f18a
GM
1624 * image-dired.el (tumme): Make this alias obsolete.
1625
783b7b75
GM
16262013-02-16 Glenn Morris <rgm@gnu.org>
1627
ed8d7fca
GM
1628 * image.el (image-animated-types): Remove.
1629 (image-multi-frame-p): Rename from image-animated-p, and generalize.
1630 (image-animated-p): Make obsolete alias.
1631 (image-animate, image-nth-frame, image-animate-timeout):
1632 Use image-multi-frame-p.
1633 (image-animate-timeout): If no delay, use image-default-frame-delay.
1634 * image-mode.el (image-mode, image-toggle-animation):
1635 Use image-multi-frame-p. (Bug#763, bug#10739)
1636 (image-mode): Adjust startup message for a multi-frame image.
1637
783b7b75
GM
1638 * image-mode.el (image-mode-map): Give it a menu.
1639
61addbc2
MA
16402013-02-16 Michael Albinus <michael.albinus@gmx.de>
1641
1642 * net/tramp-cache.el (tramp-connection-properties): New customer
1643 option.
1644 (tramp-get-connection-property): Use it.
1645
1646 * net/tramp-compat.el (top): Require 'trampver.
1647
913274cb
SM
1648 * net/tramp-sh.el (tramp-remote-process-environment):
1649 Set tramp-autoload cookie.
61addbc2 1650
a9bc03e2
KR
16512013-02-16 Kevin Ryde <user42@zip.com.au>
1652
1653 * info-look.el (info-lookup-select-mode): If major-mode has no
1654 info-lookup-alist entry then search up derived-mode-parent (bug#8660).
1655
2b0afdd9
J
16562013-02-16 Jambunathan K <kjambunathan@gmail.com>
1657
1658 * replace.el (read-regexp): Tighten the regexp that matches tag.
1659 When tag is retrieved with `find-tag-default', use regexp that
1660 matches tag at point. Also update docstring (Bug#13687).
1661
a7a84eea
EZ
16622013-02-16 Eli Zaretskii <eliz@gnu.org>
1663
1664 * autorevert.el (auto-revert-notify-add-watch): With 'w32notify',
1665 add watch for the file, not its parent directory, since w32notify
1666 sets up the watch for the directory internally. (Bug#13725)
1667
c0211c4e
GM
16682013-02-16 Glenn Morris <rgm@gnu.org>
1669
99e619b6
GM
1670 * image.el (image-default-frame-delay): New variable.
1671 (image-animated-p): Use image-default-frame-delay.
1672 (image-minimum-frame-delay): New constant.
1673 (image-animate-timeout): Use image-minimum-frame-delay.
1674
c0211c4e
GM
1675 * image.el (image-nth-frame): New, split from image-animate-timeout.
1676 (image-animate-timeout): Use image-nth-frame.
1677 * image-mode.el (image-goto-frame, image-next-frame)
1678 (image-previous-frame): New commands.
1679 (image-mode-map): Add new frame commands.
1680
6b6d804b
JB
16812013-02-16 Jonas Bernoulli <jonas@bernoul.li>
1682
1683 * emacs-lisp/tabulated-list.el (tabulated-list-print-col):
1684 If col-desc already has help-echo, use it. (Bug#13563)
1685
ef5ae980
GM
16862013-02-16 Glenn Morris <rgm@gnu.org>
1687
bb9dfee1
GM
1688 * image.el (image-current-frame): New variable.
1689 (image-animate-timeout): Set image-current-frame.
1690 * image-mode.el (image-mode): For animated images,
1691 display a frame counter via mode-line-process.
1692
ef5ae980
GM
1693 * font-lock.el (lisp-font-lock-keywords-1): Add defvar-local.
1694
6c8f113e
SM
16952013-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
1696
1697 * simple.el (eval-expression): Let `exp' set the mark (bug#13724).
1698
f852f6d8
AM
16992013-02-15 Alan Mackenzie <acm@muc.de>
1700
1701 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): When a
1702 global minor mode has been enabled, call the minor mode function
1703 for a new buffer once only, after the major mode hook, whilst
1704 allowing that hook explicitly to disable the minor mode.
6c8f113e
SM
1705 (MODE-disable-in-buffer): New (generated) function.
1706 (disable-MODE): New (generated) buffer local variable.
f852f6d8 1707
d7e76a89
J
17082013-02-15 Jambunathan K <kjambunathan@gmail.com>
1709
1710 * iswitchb.el (iswitchb-read-buffer): Bind `C-.' and `C-,' to
1711 `iswitchb-next-match' and `iswitchb-prev-match' resply.
d7e76a89
J
1712 * ido.el (ido-init-completion-maps): Bind `C-.' and `C-,' to
1713 `ido-next-match' and `ido-prev-match' resply.
d7e76a89
J
1714 * icomplete.el (icomplete-minibuffer-map): Unbind `C-s' and `C-r'.
1715 Bind `C-.' and `C-,' to `icomplete-forward-completions' and
1716 `icomplete-backward-completions' (Bug#13708).
1717
ef5ae980 17182013-02-15 Glenn Morris <rgm@gnu.org>
9e16c3b4
GM
1719
1720 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
1721
648e5523 17222013-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
213ac168
SM
1723
1724 * net/goto-addr.el (goto-address-fontify): Add start and end args.
1725 (goto-address-fontify-region): Use them instead of narrowing, so
1726 syntax-ppss has access to the whole buffer.
1727
648e5523 17282013-02-15 Fabián Ezequiel Gallina <fgallina@cuca>
ea5f4192
FEG
1729
1730 * progmodes/python.el: Explain how to restore "cc-mode"-like
1731 forward-sexp movement in header documentation (Bug#13642).
1732 (python-nav--forward-sexp): Behave like emacs-lisp-mode in
1733 comments and strings (GH bug 114).
1734
648e5523 17352013-02-15 Fabián Ezequiel Gallina <fgallina@cuca>
5cd3d1e5
FEG
1736
1737 * progmodes/python.el (python-info-current-defun): Fix current
1738 defun detection (Bug#13618).
1739
648e5523 17402013-02-15 Chong Yidong <cyd@gnu.org>
a1d23eb5
CY
1741
1742 * xml.el (xml-parse-string): Fix typo in handling of bad character
1743 references.
1744
dec2a322
GM
17452013-02-15 Glenn Morris <rgm@gnu.org>
1746
1747 * play/fortune.el (fortune-compile): Simplify and fix previous change.
1748
5267e6d3
MA
17492013-02-14 Michael Albinus <michael.albinus@gmx.de>
1750
6c8f113e
SM
1751 * net/tramp.el (tramp-debug-message):
1752 Add `tramp-condition-case-unless-debug'.
5267e6d3
MA
1753 (tramp-debug-on-error): New defvar.
1754 (tramp-condition-case-unless-debug): New defun.
1755 (tramp-file-name-handler): Use it.
1756
f6b6e113
JL
17572013-02-14 Juri Linkov <juri@jurta.org>
1758
1759 * info.el (Info-isearch-filter): Treat non-nil values of
1760 `search-invisible' including its default value `open'
1761 like the value `t' to match hidden text. (Bug#13402)
1762
6a378d89
GM
17632013-02-14 Glenn Morris <rgm@gnu.org>
1764
1765 * help-fns.el (find-lisp-object-file-name): Give special treatment
1766 to all ~/.foo.elc files, not just ~/.emacs. (Bug#9007)
1767
3ca2c015
DB
17682013-02-14 David Biesack <sasdjb@d72933.na.sas.com> (tiny change)
1769
1770 * net/quickurl.el (quickurl-save-urls):
1771 Ensure quickurl-urls is not truncated on printing. (Bug#9276)
1772
53ca88c4
DG
17732013-02-14 Dmitry Gutov <dgutov@yandex.ru>
1774
1775 * progmodes/ruby-mode.el (ruby-parse-partial): Don't increase
1776 depth for unfinished percent literal. Not using it in the caller.
1777 (ruby-move-to-block): Jump over multiline literals of all types,
1778 ignoring code-looking contents inside them.
71a048c1
DG
1779 (ruby-add-log-current-method): Improve performance at the expense
1780 of accuracy. `ruby-block-contains-point' is relatively slow, so
1781 only use it for method and singleton class blocks.
53ca88c4 1782
d7291032
MA
17832013-02-13 Michael Albinus <michael.albinus@gmx.de>
1784
1785 Use ControlMaster where applicable. (Bug#13677)
1786
1787 * net/tramp.el (tramp-ssh-controlmaster-template): New defvar,
1788 replacing `tramp-detect-ssh-controlmaster'.
1789 (tramp-default-method): Use it.
1790
1791 * net/tramp-sh.el (tramp-methods) [scp, scp1, scp2, scpx, sftp]:
1792 [rsync, ssh, ssh1, ssh2, sshx]: Add ControlPath and ControlMaster
1793 arguments.
1794 [scpc, rsyncc]: Remove methods.
1795 (top): Remove completion functions for "scpc", "rsyncc", "ssh1_old"
1796 and "ssh2_old".
f4ad7ea1 1797 (tramp-do-copy-or-rename-file-out-of-band): Change trace level.
d7291032
MA
1798 (tramp-maybe-open-connection): Reuse tmpfile for ControlPath.
1799
1ead7dbd
SM
18002013-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
1801
1802 * emacs-lisp/package.el (package--initialized): Move before first use.
1803
5cbfe5b9
J
18042013-02-13 Jambunathan K <kjambunathan@gmail.com>
1805
f4ad7ea1 1806 * icomplete.el (icomplete-hide-common-prefix): New user option.
5cbfe5b9
J
1807 (icomplete-first-match): New face.
1808 (icomplete-completions): Correct handling of "complete but not
1809 unique" (Bug#12638).
1810
67f3e54a
YQ
18112013-02-13 YE Qianchuan <stool.ye@gmail.com> (tiny change)
1812
1813 * descr-text.el (describe-char): Display the script (bug#13698).
1814
4d0463b9
SM
18152013-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
1816
1817 * tmm.el: Use lexical-binding and current-active-maps.
1818 (tmm-menubar): Use map-keymap and pcase.
1819 (tmm--completion-table): New function.
1820 (tmm-prompt): Use it to fix the menu order.
1821 (tmm-get-keybind): Use current-active-maps.
1822
a2a538b1
CS
18232013-02-12 Christopher Schmidt <christopher@ch.ristopher.com>
1824
1825 Add dired-hide-details-mode. (Bug#6799)
1826
1827 * locate.el (locate-mode): Set parent mode property to dired-mode.
1828
1829 * find-dired.el (find-dired): Call dired-insert-set-properties on
1830 initial information line. Set process mark on end of buffer.
1831 (find-dired-sentinel):
1832 Call dired-insert-set-properties on summary.
1833
1834 * dired.el (dired-hide-details-hide-symlink-targets)
1835 (dired-hide-details-hide-information-lines): New options.
1836 (dired-insert-directory):
1837 Set properties after final treatment of output.
1838 (dired-insert-set-properties):
1839 Set dired-hide-details-* properties.
1840 (dired-mode-map): Bind dired-hide-details-mode.
1841 (dired-mode): Set buffer-invisibility-spec to a list.
1842 (dired-next-line): Skip hidden lines.
1843 (dired-previous-line): Use dired-next-line.
1844 (dired-hide-details-mode): New minor mode.
1845 (dired-hide-details-update-invisibility-spec): New function.
1846
4e16ddf4
GM
18472013-02-13 Glenn Morris <rgm@gnu.org>
1848
1849 * play/yow.el: Move to obsolete/. (Bug#9384)
1850
ef79c6ed
JL
18512013-02-13 Juri Linkov <juri@jurta.org>
1852
1853 * vc/ediff-util.el (ediff-recenter): Use `select-frame-set-input-focus'
1854 to select `ediff-control-frame' and set input focus correctly on Xfce.
1855 (Bug#12218)
1856
9cec74cf
JL
18572013-02-13 Juri Linkov <juri@jurta.org>
1858
1859 * image-mode.el (image-mode-map):
1860 * doc-view.el (doc-view-mode-map):
1861 * vc/ediff-util.el (ediff-setup-keymap):
1862 Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
1863
7132e457
DG
18642013-02-13 Dmitry Gutov <dgutov@yandex.ru>
1865
1866 * progmodes/ruby-mode.el (ruby-move-to-block): Improve
1867 performance. Instead of recalculating indentation fully for each
1868 line, sum up indentation depth based only on visited lines.
1869 (ruby-parse-partial): Increase the depth after "do" even when END
1870 is right after it.
1871 (ruby-parse-partial): When END is in the middle of a percent
1872 literal, increase the depth if the delimiter chars belong to the
1873 paren syntax class.
1874
3c4a4b23
KK
18752013-02-13 Kirill A. Korinskiy <catap@catap.ru>
1876
1877 * play/fortune.el (fortune-compile): Also make the compiled file
1878 if it does not exist at all, not just if it is old. (Bug#5338)
1879
eeb468da
GM
18802013-02-13 Glenn Morris <rgm@gnu.org>
1881
1882 * emacs-lisp/package.el (package-menu-execute): Doc fix.
1883
18842013-02-13 Yves Baumes <ybaumes@gmail.com> (tiny change)
a7da0114
YB
1885
1886 * lisp/emacs-lisp/package.el (package-menu-execute):
1887 Add optional noquery argument. (Bug#13625)
1888
01fcc3a5 18892013-02-13 Michael Albinus <michael.albinus@gmx.de>
e08e7d91
MA
1890
1891 * net/ange-ftp.el (ange-ftp-make-directory): Don't raise an error,
1892 if DIR exists and PARENTS is non-nil.
1893
d6596b94
JB
18942013-02-13 Juanma Barranquero <lekktu@gmail.com>
1895
1896 * progmodes/js.el (js--multi-line-declaration-indentation):
1897 Silence byte-compiler warning.
1898
f1f05871
MA
18992013-02-12 Michael Albinus <michael.albinus@gmx.de>
1900
1901 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Rewrite.
1902
1903 * net/tramp-compat.el (top): Declare `remote-file-name-inhibit-cache'
1904 only if it doesn't exist.
1905
6c8f113e
SM
1906 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1907 Set process marker.
f1f05871 1908
62c0e847
TH
19092013-02-12 Tassilo Horn <tsdh@gnu.org>
1910
1911 * doc-view.el (doc-view-odf->pdf-converter-soffice): Use separate
1912 UserInstallation when calling soffice to work around LibreOffice
1913 bug 37531.
1914
958614cf
GM
19152013-02-12 Glenn Morris <rgm@gnu.org>
1916
0b244335
GM
1917 * files.el (basic-save-buffer):
1918 Offer to create a non-existing directory. (Bug#3016)
1919
958614cf
GM
1920 * calc/calc-graph.el (calc-graph-show-dumb):
1921 * calendar/calendar.el (calendar-mode-map):
1922 * cus-edit.el (custom-mode-map):
1923 * ehelp.el (electric-help-map):
1924 * emulation/vip.el (vip-mode-map):
1925 * epa.el (epa-key-list-mode-map):
1926 * info.el (Info-mode-map):
1927 * mail/rmail.el (rmail-mode-map):
1928 * mail/rmailsum.el (rmail-summary-mode-map):
1929 * man.el (Man-mode-map):
1930 * net/newst-plainview.el (newsticker-mode-map):
1931 * progmodes/cpp.el (cpp-edit-mode-map):
1932 * progmodes/grep.el (grep-mode-map):
1933 * progmodes/idlw-help.el (idlwave-help-mode-map):
1934 * simple.el (special-mode-map):
1935 * startup.el (splash-screen-keymap):
1936 * view.el (view-mode-map):
1937 Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
1938
4fa60c54
EP
19392013-02-11 Elias Pipping <pipping@lavabit.com>
1940
1941 * doc-view.el (doc-view-current-cache-dir): Beware % escapes
7e561c10 1942 (bug#13679).
4fa60c54 1943
99d0d6dc
SM
19442013-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
1945
1946 * cus-start.el (all): Remove inhibit-local-menu-bar-menus.
1947
31db8c31
GM
19482013-02-11 Glenn Morris <rgm@gnu.org>
1949
5109429f
GM
1950 * vc/diff.el (diff-use-labels): New variable.
1951 (diff-no-select): Use --label rather than -L, and first
1952 check that it is supported. (Bug#11067)
1953
97a1cd9d
GM
1954 * files.el (enable-dir-local-variables): New variable.
1955 (hack-dir-local-variables): Respect enable-dir-local-variables.
1956 * tutorial.el (help-with-tutorial):
1957 Ignore directory-local variables. (Bug#11127)
1958
31db8c31
GM
1959 * vc/vc-svn.el (vc-svn-command): Move --non-interactive from here...
1960 (vc-svn-global-switches): ... to here. (Bug#13513)
1961
2f108463
CS
19622013-02-10 Christopher Schmidt <christopher@ch.ristopher.com>
1963
99d0d6dc
SM
1964 * minibuf-eldef.el (minibuffer-default--in-prompt-regexps):
1965 Handle "foo (bar, default: xxx): " prompts.
2f108463 1966
490a9458 19672013-02-10 Chong Yidong <cyd@gnu.org>
e78e7e48 1968
0ccdf61e
CY
1969 * files.el (basic-save-buffer-1): Do not set
1970 buffer-file-coding-system-explicit (Bug#4533).
1971
e78e7e48
CY
1972 * mail/emacsbug.el (report-emacs-bug): Change binding of
1973 report-emacs-bug-insert-to-mailer to C-c M-i (Bug#13510).
1974
5d9c6f17
JB
19752013-02-09 Jay Belanger <jay.p.belanger@gmail.com>
1976
1977 * calc/calc.el (calc-allow-units-as-numbers): New variable.
1978 * calc/calc-units.el (calc-convert-units): Use new variable.
1979
8549f9e8
EZ
19802013-02-09 Eli Zaretskii <eliz@gnu.org>
1981
2d050423
EZ
1982 * subr.el (buffer-file-type, default-buffer-file-type): Remove.
1983
8549f9e8
EZ
1984 * net/ange-ftp.el (ange-ftp-insert-file-contents): Don't reference
1985 buffer-file-type.
1986
1987 * mail/feedmail.el (feedmail-force-binary-write): Doc fix.
1988 (feedmail-run-the-queue, feedmail-dump-message-to-queue)
1989 (feedmail-send-it-immediately): Don't bind buffer-file-type, bind
1990 coding-system-for-write instead.
1991
1992 * jka-compr.el (jka-compr-write-region): Don't bind
1993 buffer-file-type.
1994
1995 * emacs-lisp/bytecomp.el (byte-compile-file): Don't bind
1996 buffer-file-type.
1997
1998 * files.el (file-name-buffer-file-type-alist): Remove defvar.
1999 (insert-file-contents-literally): Remove reference to
2000 file-name-buffer-file-type-alist.
2001
2002 * dos-w32.el (file-name-buffer-file-type-alist): Deprecate and
2003 make-obsolete.
2004 (find-buffer-file-type-match, find-buffer-file-type): Remove.
2005 (find-buffer-file-type-coding-system): Remove references to
2006 find-buffer-file-type-match, find-buffer-file-type, and
2007 buffer-file-type.
2008 Don't put find-buffer-file-type-coding-system into
2009 file-coding-system-alist.
2010 (find-file-binary, find-file-text): Bind coding-system-for-read
2011 instead of file-name-buffer-file-type-alist.
2012
9cbab8d6 20132013-02-09 Jambunathan K <kjambunathan@gmail.com>
f63f9398
TH
2014
2015 * doc-view.el: Use (and prefer) soffice as default ODF->PDF
9cbab8d6
GM
2016 converter (Bug#13622).
2017 (doc-view-unoconv-program): Make obsolete alias.
f63f9398
TH
2018 (doc-view-odf->pdf-converter-program): New variable.
2019 (doc-view-odf->pdf-converter-function): New variable.
2020 (doc-view-mode-p): Use it.
9cbab8d6
GM
2021 (doc-view-odf->pdf-converter-unoconv):
2022 Rename from `doc-view-odf->pdf-converter-unoconv'.
f63f9398 2023 (doc-view-odf->pdf-converter-soffice): New function.
9cbab8d6
GM
2024 (doc-view-convert-current-doc):
2025 Use `doc-view-odf->pdf-converter-function'.
f63f9398 2026
044a9eac
CY
20272013-02-09 Chong Yidong <cyd@gnu.org>
2028
123ecb68
CY
2029 * minibuffer.el (minibuffer-inactive-mode-map): Bind mouse-1 to
2030 view-echo-area-messages (Bug#13340).
2031
2032 * help.el (view-echo-area-messages): Use display-buffer.
2033
044a9eac
CY
2034 * dired-x.el (dired-do-run-mail): Prompt for confirmation
2035 (Bug#13561).
2036
1a601680
SM
20372013-02-08 Stefan Monnier <monnier@iro.umontreal.ca>
2038
7f526211
SM
2039 * emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
2040 Eval body right away, now that we do eager macroexpansion (bug#13605).
2041
c9586acc
SM
2042 * simple.el (end-of-buffer): Don't touch unrelated windows (bug#13466).
2043 (fundamental-mode): Use run-mode-hooks.
2044
1a601680
SM
2045 * eshell/esh-proc.el (eshell/kill): Fix last change.
2046 * eshell/em-ls.el (eshell-ls-dir): Fix use of CL in last change.
2047
276a61a6
AG
20482013-02-08 Aidan Gauland <aidalgol@no8wireless.co.nz>
2049
2050 * eshell/esh-proc.el (eshell/kill): Rewrite.
2051
2052 * eshell/em-ls.el (show-almost-all): Declare.
2053 (eshell-do-ls): Add support for -A argument.
2054
6130b96a
J
20552013-02-08 Jambunathan K <kjambunathan@gmail.com>
2056
2057 * icomplete.el (icomplete-forward-completions)
2058 (icomplete-backward-completions): Handle corner case (bug#13602).
2059
fed00072
MA
20602013-02-07 Michael Albinus <michael.albinus@gmx.de>
2061
2062 * vc/vc-hooks.el (vc-find-file-hook): `buffer-file-truename' can
2063 be nil. Handle this. (Bug#13636)
2064
469c5a60
RS
20652013-02-07 Richard Stallman <rms@gnu.org>
2066
2067 * mail/rmail.el (rmail-variables): Specify `no-conversion' for
2068 `save-buffer-coding-system'.
2069
8c4b24b2 20702013-02-07 Alan Mackenzie <acm@muc.de>
d23b0804 2071
8c4b24b2 2072 Fix bug in state cache mechanism. Remove 'BOD "strategy". Refactor.
d23b0804
AM
2073 * progmodes/cc-engine.el (c-get-fallback-scan-pos): Remove.
2074 (c-parse-state-get-strategy): Don't return 'BOD any more.
8c4b24b2
GM
2075 (c-append-lower-brace-pair-to-state-cache):
2076 Extra parameter HERE instead of narrowing.
2077 Widen to top of buffer before searching backwards for a brace pair.
2078 (c-state-push-any-brace-pair): Add HERE parameter to function call.
2079 (c-append-to-state-cache): Extra parameter HERE in place of narrowing.
2080 Narrow to parameter HERE, in place of being called narrowed.
d23b0804
AM
2081 (c-remove-stale-state-cache): Extra parameter HERE in place of
2082 narrowing. Check there's an open brace in the cache before
2083 searching for its match.
2084 (c-invalidate-state-cache-1): Add HERE parameter to function call.
2085 (c-parse-state-1): Don't narrow here for 'forward strategy,
8c4b24b2
GM
2086 instead passing extra parameter HERE to several functions.
2087 Remove 'BOD strategy.
d23b0804 2088
f4ad7ea1 20892013-02-06 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
55b056ba
NR
2090
2091 * emacs-lisp/package.el (describe-package-1): Tell what archive is
2092 used to install the package.
2093
e86762ec
GM
20942013-02-06 Glenn Morris <rgm@gnu.org>
2095
5fd03926
GM
2096 * vc/vc-hooks.el (vc-find-file-hook): Don't ask about following links
2097 if we can't get user input. (Bug#6567)
2098
e86762ec
GM
2099 * startup.el (command-line): If simple.el is missing,
2100 test and warn about for some possible causes.
2101
6871e574
JD
21022013-02-05 Jan Djärv <jan.h.d@swipnet.se>
2103
2104 * cus-start.el (all): Add ns-use-native-fullscreen.
2105
3505fa02
GM
21062013-02-05 Glenn Morris <rgm@gnu.org>
2107
ed746aa7
GM
2108 * profiler.el (profiler-report-mode-map): Add a restart menu entry.
2109
3505fa02
GM
2110 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
2111 Fix directory creation in fallback case.
2112
50fdf399
TV
21132013-02-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2114
2115 * vc/vc.el (vc-next-action): Fix inf-loop (bug#13610).
2116 (vc-update-change-log): Use dolist.
2117
6e5c1569
CY
21182013-02-04 Chong Yidong <cyd@gnu.org>
2119
2120 * thingatpt.el: Rewrite the URL detection routines, absorbing some
2121 code from ffap.el.
2122 (thing-at-point-beginning-of-url-regexp): New var.
2123 (thing-at-point-uri-schemes): Update list of URI schemes.
2124 (thing-at-point-url-regexp): Variable deleted.
2125 (thing-at-point-markedup-url-regexp): Disallow newlines.
2126 (thing-at-point-newsgroup-regexp)
2127 (thing-at-point-newsgroup-heads)
2128 (thing-at-point-default-mail-uri-scheme): New variables.
2129 (thing-at-point-bounds-of-url-at-point): Rewrite. Use ffap's
50fdf399
TV
2130 method to find the possible bounds of the URI at point.
2131 New optional argument to find ill-formed URIs.
6e5c1569
CY
2132 (thing-at-point-url-at-point): Rewrite. New arguments for finding
2133 ill-formed URIs. Use thing-at-point-bounds-of-url-at-point, and
2134 the scheme-adding heuristics from ffap-url-at-point.
50fdf399
TV
2135 (thing-at-point--bounds-of-well-formed-url): New function.
2136 Do parens matching to decide whether to include parens in the URI
6e5c1569
CY
2137 (Bug#9153).
2138
2139 * ffap.el: Require thingatpt.
2140 (ffap-url-at-point): Delegate URI detection to thing-at-point.
2141 All URI-valid characters are now recognized (Bug#5673).
2142 (ffap-string-at-point): Use use-region-p.
2143 (ffap-url-regexp): Extra character is handled by thing-at-point.
2144 (ffap-string-at-point-mode-alist): Allow parentheses.
2145 (ffap-newsgroup-regexp, ffap-newsgroup-heads, ffap-newsgroup-p):
2146 Convert to aliases; code moved to thingatpt.el.
2147 (ffap-gnus-hook): Use setq-local.
2148
84a06b50
GM
21492013-02-04 Glenn Morris <rgm@gnu.org>
2150
2151 * emacs-lisp/ert.el (ert--explain-format-atom):
2152 Don't try to print non-characters as characters. (Bug#13543)
2153
5870b2b1
MA
21542013-02-03 Michael Albinus <michael.albinus@gmx.de>
2155
2156 * net/tramp.el (tramp-debug-message): Extend function exclude list.
2157 (tramp-backtrace): New defun.
2158 (tramp-handle-insert-file-contents): Use `visit' when inserting
2159 the local copy.
2160
50fdf399
TV
2161 * net/tramp-sh.el (tramp-sh-handle-set-visited-file-modtime):
2162 Use `remote-file-name-inhibit-cache'.
5870b2b1 2163
659a9010
SM
21642013-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
2165
4813c453
SM
2166 * progmodes/cperl-mode.el (cperl-mode): Avoid byte-compile warning
2167 (bug#13614).
2168
659a9010
SM
2169 * subr.el (internal--called-interactively-p--get-frame): Avoid filling
2170 current-load-list (bug#13366).
2171
35114711
CS
21722013-02-02 Christopher Schmidt <christopher@ch.ristopher.com>
2173
2174 * progmodes/compile.el (compilation-error-regexp-alist-alist):
2175 Identify g++ template instantiation trace. (Bug#12287)
85a83ea0
CS
2176 (compilation-mode-hook, compilation-start-hook)
2177 (compilation-window-height): Simplify docstrings. (Bug#13379)
35114711 2178
94fbc901 21792013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
13841bfc
SM
2180
2181 * mouse.el (mouse-drag-track): Always deactivate the mark before
2182 running the final event's command since that command is in charge of
2183 activating the mark if needed (bug#13523).
2184
94fbc901 21852013-02-02 Juri Linkov <juri@jurta.org>
dc2bc295
JL
2186
2187 * replace.el (perform-replace): Move let-bindings of isearch-*
2188 variables deeper to the loop that searches for the next match.
2189 Add bindings for `isearch-nonincremental' and `isearch-adjusted'.
2190 Use `isearch-search-fun-default' instead of `isearch-search-fun'.
2191 (Bug#13579)
2192
2193 * isearch.el (isearch-search-fun-default): Check for null
2194 first element of isearch-cmds as a precaution when it's used
2195 with inactive isearch.
2196
94fbc901 21972013-02-02 Andrew W. Nosenko <andrew.w.nosenko@gmail.com> (tiny change)
f864e0ea
AN
2198
2199 * net/tramp.el (tramp-check-for-regexp): Avoid "Args out of range"
2200 error when buffer in question is narrowed so position 1 is out of
2201 visible part.
2202
94fbc901 22032013-02-02 Glenn Morris <rgm@gnu.org>
fb77fe0f
GM
2204
2205 * textmodes/remember.el (remember-clipboard): Doc fix.
2206
94fbc901 22072013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
c517ec69
SM
2208
2209 * progmodes/make-mode.el (makefile-fill-paragraph): Reset syntax-table
2210 properties (bug#13179).
2211
98da8c0f
JL
22122013-02-02 Juri Linkov <juri@jurta.org>
2213
2214 * progmodes/grep.el (grep-regexp-alist): Use variable grep-match-face
2215 instead of hard-coded default face `match'. (Bug#9438)
2216
7b6d5ecf
CS
22172012-02-01 Christopher Schmidt <christopher@ch.ristopher.com>
2218
af314ba0
CS
2219 * vc/vc-arch.el (vc-arch-registered):
2220 * vc/vc-bzr.el (vc-bzr-registered):
2221 * vc/vc-cvs.el (vc-cvs-registered):
2222 * vc/vc-git.el (vc-git-registered):
2223 * vc/vc-hg.el (vc-hg-registered):
2224 * vc/vc-mtn.el (vc-mtn-registered):
2225 * vc/vc-svn.el (vc-svn-registered): Suppress load messages.
2226 (Bug#13139)
2227
7b6d5ecf
CS
2228 * info.el (Info-next-reference, Info-prev-reference): Add numeric
2229 prefix argument. (Bug#11656)
2230
686d9fb6
SM
22312013-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
2232
2233 * help-fns.el (help-split-fundoc): Don't insert byte-compiled body.
2234
48c828b9
GM
22352013-02-01 Glenn Morris <rgm@gnu.org>
2236
1f4f0f46
GM
2237 * vc/vc-hooks.el (vc-menu-map): Disable vc-rollback menu item
2238 if the backend is known not to support it.
2239
48c828b9
GM
2240 * imenu.el (imenu-default-create-index-function):
2241 Tweak infinite loop test to check for forward motion as well as none.
2242
cd87ae10
AH
22432013-02-01 Alex Harsanyi <AlexHarsanyi@gmail.com>
2244
2245 * net/soap-client.el (soap-invoke): Encode the string for
686d9fb6
SM
2246 `url-request-data' as UTF-8.
2247 Fixes <http://code.google.com/p/emacs-soap-client/issues/detail?id=16>.
cd87ae10 2248
86e100a6
GM
22492013-02-01 Glenn Morris <rgm@gnu.org>
2250
2251 * calc/calc-help.el (calc-view-news): Use view-emacs-news.
2252
0eb61895
GM
2253 * calc/README, calc/README.prev: Rename/merge to etc/CALC-NEWS.
2254
61642d9a
MA
22552013-01-31 Michael Albinus <michael.albinus@gmx.de>
2256
2257 * net/tramp.el (tramp-tramp-file-p): Comment check for
2258 `string-as-unibyte'. The function does not exist on XEmacs, and
2259 likely we need another approach.
2260
2261 * net/tramp-sh.el (tramp-compute-multi-hops): Check, whether
2262 `tramp-gw-*' variables are bound.
2263
9dbda100
GM
22642013-01-31 Glenn Morris <rgm@gnu.org>
2265
2266 * files.el (basic-save-buffer-2): Choose coding system for
2267 writing the file before backing it up, to reduce delay between
2268 backing up and writing the new version. (Bug#13522)
2269
ad4de702
MN
22702013-01-31 Michal Nazarewicz <mina86@mina86.com>
2271
2272 * simple.el (cycle-spacing): New command.
2273 (just-one-space): Use it.
2274
9ca243c6
SM
22752013-01-31 Stefan Monnier <monnier@iro.umontreal.ca>
2276
c4f268a1
SM
2277 * progmodes/opascal.el: Rename from delphi.el. Use lexical-binding.
2278 (opascal-newline-always-indents): Remove custom.
2279 (opascal-tab, opascal-newline): Remove commands.
2280 (opascal-new-comment-line): Insert "\n" instead of calling newline.
2281 (opascal-mode-map): Keep default bindings for RET and TAB and DEL.
2282 (opascal-save-match-data): Remove, use save-match-data instead.
2283 (opascal-save-state): Use with-silent-modifications.
2284
9ca243c6
SM
2285 * progmodes/pascal.el (pascal-mode-syntax-table): Accept //..\n comments
2286 (bug#13585).
2287
64ced394
JL
22882013-01-30 Juri Linkov <juri@jurta.org>
2289
2290 * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
2291 Use fullboth as an alias for fullscreen. Suggested by Jan Djärv in
2292 <http://lists.gnu.org/archive/html/emacs-devel/2013-01/msg00203.html>.
2293
c56d2269
SM
22942013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
2295
2296 * progmodes/make-mode.el (makefile-backslash-region): Don't compute
2297 column if we're just deleting the backslashes.
2298 (makefile-fill-paragraph): Use eolp.
2299
382936d1
MA
23002013-01-30 Michael Albinus <michael.albinus@gmx.de>
2301
2302 * autorevert.el (auto-revert-use-notify): Fix docstring.
2303
dd331297
LL
23042013-01-30 Leo Liu <sdl.web@gmail.com>
2305
686d9fb6 2306 * imenu.el (imenu--truncate-items): Fix subalist checking (bug#13576).
dd331297 2307
c491dd70
GM
23082013-01-30 Glenn Morris <rgm@gnu.org>
2309
2310 * mouse.el (mouse-drag-line): Avoid pushing same event onto
2311 unread-command-events twice in some cases. This tries to implement
2312 the 2012-07-26 changes in a different way. (Bug#13560)
2313
6ff930c3
FEG
23142013-01-30 Fabián Ezequiel Gallina <fgallina@cuca>
2315
2316 * progmodes/python.el
2317 (python-pdbtrack-comint-output-filter-function): Enhancements on
2318 stacktrace detection. (thanks @gnovak)
2319
1d4e7225
SM
23202013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
2321
2322 * jit-lock.el (jit-lock-stealth-chunk-start): Don't widen (bug#13542).
2323 (jit-lock-mode, jit-lock-functions, jit-lock-context-unfontify-pos):
2324 Use defvar-local.
2325 (jit-lock-register): Use setq-local.
2326
7c3fb76f
JB
23272013-01-30 Jay Belanger <jay.p.belanger@gmail.com>
2328
2329 * calc-units.el (math-default-units-table): Remove initial value.
2330 (calc-convert-units): Treat expressions where all the units cancel as
2331 if they didn't have units.
2332
8bc8712e
MA
23332013-01-30 Michael Albinus <michael.albinus@gmx.de>
2334
2335 * net/tramp.el (tramp-process-connection-type): Fix docstring.
2336 (tramp-completion-reread-directory-timeout): Fix type.
2337 (tramp-connection-min-time-diff): New defcustom.
2338
2339 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
2340
1886a16d
GM
23412013-01-30 Glenn Morris <rgm@gnu.org>
2342
2343 * imenu.el (imenu-default-create-index-function):
2344 Put back a version of the infinite loop test removed 2013-01-23.
2345
3f82a88a 23462013-01-30 Fabián Ezequiel Gallina <fgallina@cuca>
e4497086 2347
1d4e7225
SM
2348 * progmodes/python.el (python-shell-parse-command):
2349 Find python-shell-interpreter with modified environment.
e4497086 2350
3f82a88a 23512013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
beb6d07d
SM
2352
2353 * emacs-lisp/cl.el (cl-set-getf): Add compatibility alias.
2354
953e5b8c
AM
23552013-01-29 Alan Mackenzie <acm@muc.de>
2356
2357 Amend to fontify /regexp/s in actions correctly.
2358 * cc-awk.el (c-awk-harmless-char-re, c-awk-harmless-string*-re):
1d4e7225 2359 (c-awk-harmless-string*-here-re): Braces, parens and semicolons
953e5b8c
AM
2360 are no longer included.
2361 (c-awk-harmless-line-char-re, c-awk-harmless-line-string*-re):
2362 What used to be these variables without "-line" in the name.
686d9fb6 2363 (c-awk-neutral-re): { is no longer neutral. Escaped newlines now are.
953e5b8c
AM
2364 (c-awk-non-arith-op-bra-re): Now also matches {.
2365 (c-awk-pre-exp-alphanum-kwd-re): New regexp to match "print",
2366 "return", and "case".
2367 (c-awk-kwd-regexp-sign-re): New, to match "print", etc., followed
2368 by /.
2369 (c-awk-syntax-tablify-/): Check special cases "print /re/", etc.
686d9fb6 2370 (c-awk-set-syntax-table-properties): Extend FSM to handle {,},(,),;.
953e5b8c 2371
1b69262a
MA
23722013-01-29 Michael Albinus <michael.albinus@gmx.de>
2373
1d4e7225
SM
2374 * autorevert.el (auto-revert-use-notify):
2375 Use `custom-initialize-default' for initialization. (Bug#13583)
2f52b560 2376
1b69262a
MA
2377 * net/ange-ftp.el (ange-ftp-skip-msgs): Add another message.
2378
1d4e7225
SM
2379 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
2380 Catch `suppress'. Otherwise, `tramp-run-real-handler' might be called
1b69262a 2381 in `tramp-file-name-handler'.
ea55064c
MA
2382 (tramp-gw-tunnel-method, tramp-gw-socks-method): Declare for
2383 compatibility.
2384 (tramp-compute-multi-hops): Check, whether
2385 `tramp-gw-tunnel-method' and `tramp-gw-socks-method' are non-nil.
1b69262a 2386
b2dc4f52
SM
23872013-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
2388
2389 * hi-lock.el (hi-lock-unface-buffer): Don't assume `face' is a symbol
2390 (bug#13297).
2391
499572e4
DG
23922013-01-27 Dmitry Gutov <dgutov@yandex.ru>
2393
2394 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove some
2395 checks made superfluous by the \_< operator.
a324b8c7
DG
2396 * progmodes/ruby-mode.el (ruby-move-to-block): Work with (maybe
2397 temporarily) broken indentation.
b2dc4f52
SM
2398 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2399 Highlight nested constants, too. \_< broke that.
499572e4
DG
2400
24012013-01-27 Nobuyoshi Nakada <nobu@ruby-lang.org>
2402
2403 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Use "\\_<"
2404 instead of "\\b".
2405
629cb6ec
MA
24062013-01-27 Michael Albinus <michael.albinus@gmx.de>
2407
2408 * autorevert.el (auto-revert-handler): Notifications which result
2409 from a saved file shall not be taken into account. (Bug#13557)
2410
cc17363f
AS
24112013-01-26 Andreas Schwab <schwab@linux-m68k.org>
2412
2413 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Add optional
2414 parameter BAR-NOT-SYMBOL to control syntax of | for font-lock.
2415 (lisp-mode): Pass t for it. (Bug#13556)
2416
b7aea0ff
AM
24172013-01-25 Alan Mackenzie <acm@muc.de>
2418
2419 AWK Mode: Fix indentation bug at top level. Bug #12274.
2420
2421 * progmodes/cc-engine.el (c-guess-basic-syntax): Move CASE 5P to
2422 just before CASE 5D.
2423
1314a64c
DA
24242013-01-25 Dmitry Antipov <dmantipov@yandex.ru>
2425
2426 * net/socks.el (socks-nslookup-host): Use string-to-number.
2427
ef3544f6
MA
24282013-01-25 Michael Albinus <michael.albinus@gmx.de>
2429
2430 * autorevert.el (auto-revert-remote-files)
2431 (auto-revert-notify-exclude-dir-regexp): New defcustoms.
2432 (auto-revert-notify-enabled, auto-revert-use-notify)
2433 (auto-revert-notify-watch-descriptor-hash-list)
2434 (auto-revert-notify-modified-p, auto-revert-notify-event-p)
2435 (auto-revert-notify-event-descriptor)
2436 (auto-revert-notify-event-action)
2437 (auto-revert-notify-event-file-name): Doc fix.
2438 (global-auto-revert-mode): Reorder checks.
2439 (auto-revert-notify-rm-watch): Respect changed values of
2440 `auto-revert-notify-watch-descriptor-hash-list'.
2441 (auto-revert-notify-add-watch): Check for
2442 `auto-revert-notify-exclude-dir-regexp'. Adapt filters for
2443 `inotify-add-watch'. Watch `default-directory' instead of
2444 `buffer-file-name'. `auto-revert-notify-watch-descriptor-hash-list'
2445 has a changed meaning now. (Bug#13540)
2446 (auto-revert-notify-handler): Change implementation wrt events
2447 returning from a directory.
2448 (auto-revert-handler): Reorder implementation for checks of remote
2449 files.
2450 (auto-revert-buffers): Fix parentheses error.
2451
830e46e6 24522013-01-25 Fabián Ezequiel Gallina <fgallina@cuca>
345f866e
FEG
2453
2454 * progmodes/python.el: Enhancements to header documentation about
2455 skeletons. (Bug#5716)
2456
ddc62155
FEG
2457 * imenu.el (imenu-default-create-index-function): Remove useless
2458 infinite loop check. (Bug#13438)
2459
830e46e6 24602013-01-25 Alan Mackenzie <acm@muc.de>
267eacb5
AM
2461
2462 Fix a bug in the state cache mechanism. Refactor this a bit.
2463
2464 * progmodes/cc-engine.el (c-parse-state-get-strategy): Remove the
2465 `cache-pos' element from the return value.
2466 (c-append-lower-brace-pair-to-state-cache): "Narrow" to end of
2467 buffer to enable proper searching from beyond HERE. Amend the
2468 test for detecting the sought brace pair. Amend the value written
2469 to the "brace desert cache" when the brace isn't found.
2470 (c-remove-stale-state-cache): Rename `good-pos' to `start-point',
2471 and several other variables analogously.
2472 (c-remove-stale-state-cache-backwards): Change `cache-pos' from a
2473 parameter to a locally calculated variable.
2474 (c-parse-state-1): Change the calling conventions to the two
2475 defuns involving `cache-pos'.
2476
830e46e6 24772013-01-25 Chong Yidong <cyd@gnu.org>
4d4ddaa7
CY
2478
2479 * xml.el (xml-entity-or-char-ref-re): Fix regexp.
2480
f4ad7ea1 24812013-01-24 Aaron Ecay <aaronecay@gmail.com> (tiny change)
3d4147ba
BG
2482
2483 * paren.el (show-paren-function): Make sure to set 'priority and
2484 'face only if the overlay does exist.
2485
e1ffa412
MA
24862013-01-24 Michael Albinus <michael.albinus@gmx.de>
2487
2488 * net/tramp.el (tramp-tramp-file-p): Check, whether NAME is unibyte.
2489
2490 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Do not suppress
2491 basic attributes.
2492 (tramp-sh-handle-set-file-acl): Improve error checking.
2493
5ad86e34
DA
24942013-01-24 Dmitry Antipov <dmantipov@yandex.ru>
2495
2496 * doc-view.el (doc-view-display): Force mode line update until all
2497 document is converted. Suggested by Stefan Monnier (Bug#13164).
2498
d6f9c03f
BG
24992013-01-23 Bastien Guerry <bzg@gnu.org>
2500
2501 * paren.el (show-paren-function): Make sure an overlay exists
2502 before trying to delete it. Also use `pos' as a position only
2503 when it is an integer.
2504
3544e11a
DA
25052013-01-23 Dmitry Antipov <dmantipov@yandex.ru>
2506
2507 * play/gametree.el (gametree-break-line-here): Use point-marker.
2508
19b50424
MA
25092013-01-22 Michael Albinus <michael.albinus@gmx.de>
2510
b2dc4f52
SM
2511 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
2512 Mark descriptive parts with `display' property.
19b50424 2513
7fd5a843
AM
25142013-01-21 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2515
2516 * textmodes/ispell.el (ispell-hunspell-dictionary-equivs-alist):
2517 New variable to map standard dict names to hunspell ones.
2518 (ispell-set-spellchecker-params): Make sure specific dict names
2519 are used for standard dicts with hunspell.
2520
e6aff855
TH
25212013-01-21 Tassilo Horn <tsdh@gnu.org>
2522
2523 * textmodes/reftex-cite.el (reftex-format-citation): Add format
2524 chars for note (%N) and url (%U).
2525 * textmodes/reftex-vars.el (reftex-cite-format): Document them.
2526
c84b0881
JL
25272013-01-21 Juri Linkov <juri@jurta.org>
2528
2529 * frame.el: Bind `f10' in `esc-map' to `toggle-frame-maximized'
2530 in addition to existing separate binding `meta f10' in `global-map'.
2531 (Bug#13484)
2532
a36e2d26
MA
25332013-01-21 Michael Albinus <michael.albinus@gmx.de>
2534
2535 Improve XEmacs compatibility.
2536
2537 * net/tramp.el (tramp-replace-environment-variables): Make it a defun.
2538
2539 * net/tramp-adb.el (top): Require `time-date'.
2540 (tramp-adb-ls-output-time-less-p): Use `tramp-time-less-p'.
b2dc4f52
SM
2541 (tramp-adb-handle-copy-file, tramp-adb-handle-rename-file):
2542 Use `tramp-file-name-handler'.
2543 (tramp-adb-maybe-open-connection):
2544 Use `tramp-compat-set-process-query-on-exit-flag'.
a36e2d26 2545
b2dc4f52
SM
2546 * net/tramp-sh.el (tramp-sh-handle-file-acl):
2547 Use `tramp-compat-funcall'.
a36e2d26
MA
2548
2549 * net/tramp-smb.el (tramp-smb-handle-file-acl): Use `looking-at' and
2550 `tramp-compat-funcall'.
2551
88c7dfa3
JH
25522013-01-21 Jürgen Hötzel <juergen@archlinux.org>
2553
2554 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Complete
2555 reimplementation using "adb shell command ..." instead of running
2556 remote shell interactively.
2557
15df6fa4
GM
25582013-01-20 Glenn Morris <rgm@gnu.org>
2559
a576cc76
GM
2560 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
2561 Add native profiler menu entries.
2562
15df6fa4
GM
2563 * profiler.el (profiler-running-p): New function.
2564 (profiler-cpu-profile): Use profiler-running-p.
2565 (profiler-report-mode-map): Add some more menu entries.
2566
c4d1e0c3
GM
25672013-01-19 Glenn Morris <rgm@gnu.org>
2568
2569 * mail/unrmail.el (unrmail): Do not mangle the mbox From line;
2570 fixes 2012-12-07 change. (Bug#13499)
2571
795e7a5b 25722013-01-19 Leo Liu <sdl.web@gmail.com>
2fc71e3c
LL
2573
2574 * dired.el (dired-get-marked-files): Prune erroneous values due to
2575 last change. (Bug#13152)
2576
795e7a5b 25772013-01-19 Glenn Morris <rgm@gnu.org>
19503d5a
GM
2578
2579 * progmodes/etags.el (tags-table-check-computed-list):
2580 Preserve point in tags buffer. (Bug#13412)
2581
f8a42ad6
GM
2582 * emacs-lisp/lisp-mode.el (lisp-indent-function): Doc fix.
2583
20de6ab6
CW
25842013-01-19 Christian Wittern <cwittern@gmail.com> (tiny change)
2585 Chong Yidong <cyd@gnu.org>
2586
b2dc4f52
SM
2587 * image-mode.el (image-next-file, image-previous-file):
2588 New commands (Bug#8453).
20de6ab6
CW
2589 (image-mode-map): Bind them to n and p.
2590 (image-mode--images-in-directory): New helper function.
2591
2a43515a
CY
25922013-01-19 Chong Yidong <cyd@gnu.org>
2593
2594 * image-mode.el (image-mode-fit-frame): Add a frame argument.
2595 Suggested by Drew Adams (Bug#7730). Handle window decorations;
2596 save and restore the old window configuration.
2597
b1170947
LL
25982013-01-18 Leo Liu <sdl.web@gmail.com>
2599
2600 * progmodes/js.el: Tweak autoload cookie for alias.
2601
0eb87688
MA
26022013-01-17 Michael Albinus <michael.albinus@gmx.de>
2603
2604 * autorevert.el (auto-revert-notify-watch-descriptor): Make it
2605 buffer local, again. This was lost with the fix on 2013-01-12.
2606
99d36ea8
JH
26072013-01-17 Jürgen Hötzel <juergen@archlinux.org>
2608
2609 * eshell/esh-util.el (eshell-path-env): Make it buffer local, in
2610 order to support several eshell buffers in parallel.
2611
68a08a32
MA
26122013-01-17 Michael Albinus <michael.albinus@gmx.de>
2613
2614 * autorevert.el (auto-revert-use-notify): In the :set function, do
2615 not modify `kill-buffer-hook'.
b2dc4f52
SM
2616 (auto-revert-notify-rm-watch):
2617 Remove `auto-revert-notify-rm-watch' from `kill-buffer-hook'.
68a08a32
MA
2618 (auto-revert-notify-add-watch): Do not call
2619 `auto-revert-notify-rm-watch', but add it to a buffer local
2620 `kill-buffer-hook'.
2621
e59eee43
SM
26222013-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
2623
2624 * emacs-lisp/trace.el (trace--read-args): Use a closure and an honest
2625 call to `eval' rather than a backquoted lambda.
2626
6e8cd0ae
SM
26272013-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
2628
cb9c0a53
SM
2629 * emacs-lisp/nadvice.el (advice--tweak): Make it possible for `tweak'
2630 to return an explicit nil.
2631 (advice--remove-function): Change accordingly.
2632
2633 * emacs-lisp/advice.el (ad-preactivate-advice): Adjust the cleanup to
2634 the use of nadvice.el.
2635
6e8cd0ae
SM
2636 * progmodes/which-func.el (which-function): Silence imenu errors
2637 (bug#13433).
2638
4586ce8a
MM
26392013-01-15 Michael R. Mauger <mmaug@yahoo.com>
2640
f4ad7ea1 2641 * progmodes/sql.el (sql-imenu-generic-expression):
4586ce8a
MM
2642 (sql-mode-font-lock-object-name): Match schema qualified names.
2643 (sql-connect): Use string keys.
2644 (sql-product-interactive): Wait for interpreter prompt.
2645 (sql-comint-oracle): Set process coding based on NLS_LANG.
2646
9d55215c
MM
26472013-01-15 Michael R. Mauger <mmaug@yahoo.com>
2648
2649 * progmodes/sql.el (sql-output-to-send): Remove, unused.
6e8cd0ae
SM
2650 (sql-interactive-remove-continuation-prompt):
2651 (sql-send-magic-terminator, sql-interactive-mode): Remove references.
9d55215c 2652
57dd9e68
LL
26532013-01-14 Leo Liu <sdl.web@gmail.com>
2654
2655 * calendar/calendar.el (calendar-redraw): Sync window-point and point.
2656 (Bug#13420)
2657
51e73492
GM
26582013-01-14 Glenn Morris <rgm@gnu.org>
2659
2660 * progmodes/compile.el (compilation-error-regexp-alist-alist):
2661 Fix interpretation of gnu line.col1-col2 format. (Bug#13335)
2662
c0511b57 26632013-01-13 Fabián Ezequiel Gallina <fgallina@cuca>
50620051 2664
6e8cd0ae
SM
2665 * progmodes/python.el (python-nav-end-of-statement):
2666 Fix cornercase when handling multiline strings.
50620051 2667
4c0a6d4a
RS
26682013-01-13 Richard Stallman <rms@gnu.org>
2669
9f7e86ef
RS
2670 * mail/sendmail.el (mail-position-on-field): Add doc string.
2671
6e8cd0ae
SM
2672 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
2673 Get current message boundaries and pass them to
4c0a6d4a
RS
2674 message-forward-make-body-mime. Minor style changes.
2675
ad33a799
EZ
26762013-01-13 Eli Zaretskii <eliz@gnu.org>
2677
2678 * cus-start.el (all): Avoid warnings about
6e8cd0ae 2679 scroll-bar-adjust-thumb-portion on platforms where it is not defined.
ad33a799 2680
616763d5
JD
26812013-01-11 Jan Djärv <jan.h.d@swipnet.se>
2682
2683 * cus-start.el (all): Add scroll-bar-adjust-thumb-portion.
2684
e5b5a34d
SM
26852013-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
2686
2687 * jit-lock.el (jit-lock-debug-mode): New minor mode.
2688 (jit-lock--debug-fontifying): New var.
2689 (jit-lock--debug-fontify): New function.
2690 * subr.el (condition-case-unless-debug): Don't prevent catching the
2691 error, just let the debbugger run.
2692 * emacs-lisp/timer.el (timer-event-handler): Don't prevent debugging
2693 timer code and don't drop errors silently.
2694
2daddd9e
MA
26952013-01-12 Michael Albinus <michael.albinus@gmx.de>
2696
2697 * autorevert.el (auto-revert-notify-watch-descriptor): Give it
2698 `permanent-local' property.
71c661e4 2699 (auto-revert-notify-handler): Use `file-equal-p'.
2daddd9e 2700
86fbb162
EZ
27012013-01-12 Eli Zaretskii <eliz@gnu.org>
2702
2703 * autorevert.el (auto-revert-notify-handler): Fix filtering of
2704 file notification by ACTION. For filtering by file name, compare
2705 only the non-directory part of the file name.
2706
a0784609
SM
27072013-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
2708
96c421bb
SM
2709 * autorevert.el: Use cl-lib instead of cl.
2710
a0784609
SM
2711 * vc/vc-bzr.el (vc-bzr--sanitize-header): New function (bug#13307).
2712 (vc-bzr-checkin): Use it.
2713 * vc/log-edit.el (log-edit-extract-headers): Don't presume FUNCTION
2714 will preserve match-data.
2715
f90ff906 27162013-01-11 Felix H. Dahlke <fhd@ubercode.de>
9fc9a531 2717
f90ff906
FD
2718 * progmodes/js.el: Fix multiline declarations's indentation (bug#8576).
2719 (js--declaration-keyword-re): New var.
2720 (js--multi-line-declaration-indentation): New function.
2721 (js--proper-indentation): Use it.
9fc9a531 2722
f90ff906 27232013-01-11 Aaron S. Hawley <Aaron.Hawley@vtinfo.com>
9fc9a531 2724
f90ff906
FD
2725 * calc/calc.el (calc-highlight-selections-with-faces)
2726 (calc-dispatch):
2727 * comint.el (comint-history-isearch-message):
2728 * emacs-lisp/edebug.el (edebug-read, edebug-eval-defun):
9fc9a531
AH
2729 * ffap.el (ffap-string-at-point-region, ffap-next)
2730 (ffap-string-at-point, ffap-string-around)
2731 (ffap-copy-string-as-kill, ffap-highlight-overlay)
f90ff906 2732 (ffap-literally):
9fc9a531 2733 * font-lock.el (font-lock-keywords-alist)
f90ff906
FD
2734 (font-lock-removed-keywords-alist):
2735 * help-mode.el (help-xref-symbol-regexp):
2736 * info.el (Info-find-emacs-command-nodes):
2737 * international/mule.el (add-to-coding-system-list):
2738 * isearch.el (isearch-message-function, isearch-fail-pos):
2739 * misearch.el (multi-isearch-next-buffer-function):
2740 * newcomment.el (comment-box):
9fc9a531 2741 * printing.el (pr-txt-printer-alist, pr-ps-printer-alist)
f90ff906 2742 (pr-setting-database):
9fc9a531
AH
2743 * progmodes/cc-fonts.el (c-font-lock-keywords-3)
2744 (c++-font-lock-keywords-3, objc-font-lock-keywords-3)
2745 (java-font-lock-keywords-3, idl-font-lock-keywords-3)
f90ff906
FD
2746 (pike-font-lock-keywords-3):
2747 * progmodes/compile.el (compile):
9fc9a531 2748 * progmodes/etags.el (tags-table-files)
f90ff906 2749 (tags-table-files-function, tags-included-tables-function):
9fc9a531 2750 * progmodes/gdb-mi.el (gdb, gdb-setup-windows)
f90ff906 2751 (gdb-restore-windows):
9fc9a531 2752 * ps-print.el (ps-even-or-odd-pages, ps-spool-buffer-with-faces)
f90ff906
FD
2753 (ps-n-up-filling-database):
2754 * server.el (server-buffer, server-log):
9fc9a531
AH
2755 * simple.el (newline, delete-backward-char, delete-forward-char)
2756 (minibuffer-history-isearch-message, kill-line, track-eol)
f90ff906 2757 (temporary-goal-column):
9fc9a531 2758 * textmodes/flyspell.el (flyspell-mark-duplications-flag)
f90ff906
FD
2759 (flyspell-default-deplacement-commands):
2760 * textmodes/ispell.el (ispell-accept-output):
2761 * textmodes/sgml-mode.el (html-tag-help):
9fc9a531 2762 * vc/compare-w.el (compare-ignore-whitespace)
f90ff906
FD
2763 (compare-ignore-case, compare-windows-dehighlight):
2764 * vc/diff.el (diff):
9fc9a531
AH
2765 * whitespace.el (whitespace-point)
2766 (whitespace-font-lock-refontify, whitespace-bob-marker)
f90ff906 2767 (whitespace-eob-marker): Fix ambiguous doc string cross-reference(s).
9fc9a531 2768
65adfa20
MA
27692013-01-11 Michael Albinus <michael.albinus@gmx.de>
2770
2771 * autorevert.el (top): Require 'cl in order to pacify byte compiler.
2772 (auto-revert-notify-rm-watch): Ignore errors.
2773 (auto-revert-notify-add-watch): Ignore errors. Use '(modify) for
f90ff906
FD
2774 inotify, and '(size last-write-time) for w32notify.
2775 Set buffer-local `auto-revert-use-notify' to nil when adding a file
65adfa20
MA
2776 watch fails - this is a fallback to the file modification check.
2777 (auto-revert-notify-event-p, auto-revert-notify-event-descriptor)
2778 (auto-revert-notify-event-action)
2779 (auto-revert-notify-event-file-name): New defuns.
2780 (auto-revert-notify-handler): Use them. Implement first
2781 plausibility checks.
2782 (auto-revert-handler): Handle also `auto-revert-tail-mode'.
2783
43b2e2e7
JD
27842013-01-11 Julien Danjou <julien@danjou.info>
2785
2786 * color.el (color-rgb-to-hsv): Fix conversion computing in case min and
2787 max are almost equal. Also return the correct value for V which is
2788 already between 0 and 1.
2789
30818a23
DA
27902013-01-11 Dmitry Antipov <dmantipov@yandex.ru>
2791
2792 * emacs-lisp/ert.el (ert-run-test): Use point-max-marker.
2793
10e714d5
EZ
27942013-01-11 Eli Zaretskii <eliz@gnu.org>
2795
2796 * autorevert.el (auto-revert-notify-rm-watch)
2797 (auto-revert-notify-add-watch): Fix typos in w32notify function
2798 names.
2799
a778dd57
MA
28002013-01-10 Michael Albinus <michael.albinus@gmx.de>
2801
2802 * autorevert.el (auto-revert-notify-enabled): Move up.
2803 (auto-revert-use-notify): New defcustom.
2804 (auto-revert-mode, global-auto-revert-mode)
2805 (auto-revert-notify-add-watch, auto-revert-handler)
2806 (auto-revert-buffers): Use `auto-revert-use-notify' instead of
2807 `auto-revert-notify-enabled'.
2808
72781fef
EP
28092013-01-10 Elias Pipping <pipping@exherbo.org>
2810
2811 * files.el (auto-mode-alist): Use doc-view for djvu files (bug#13164).
2812 * doc-view.el (doc-view-document->bitmap):
2813 Use doc-view-single-page-converter-function instead of
2814 single-page-converter arg; adjust callers.
2815
e6ed8f08
FL
28162013-01-10 Feng Li <fengli@gmail.com> (tiny change)
2817
2818 * progmodes/which-func.el (which-function): Understand Semantic's use
2819 of overlays in imenu--index-alist.
2820
327a6cca
WJ
28212013-01-10 Wolfgang Jenkner <wjenkner@inode.at>
2822
2823 * man.el: Handle different "man -k" behaviors (bug#13160). Use utf-8.
2824 (Man-man-k-use-anchor): New var.
2825 (Man-parse-man-k): New function.
2826 (Man-completion-table): Use it.
2827 (man): Flush the completion cache between uses.
2828
ed911257
MA
28292013-01-10 Michael Albinus <michael.albinus@gmx.de>
2830
2831 * autorevert.el: Add file watch support.
2832 (auto-revert-notify-enabled): New defconst.
2833 (auto-revert-notify-watch-descriptor-hash-list)
2834 (auto-revert-notify-watch-descriptor)
2835 (auto-revert-notify-modified-p): New defvars.
2836 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
2837 (auto-revert-notify-handler): New defuns.
2838 (auto-revert-mode, global-auto-revert-mode): Remove file watches
2839 when mode is disabled.
2840 (auto-revert-handler): Check for `auto-revert-notify-modified-p'.
2841 (auto-revert-buffers): Add file watches for active buffers.
2842
58cc0a01
DA
28432013-01-10 Dmitry Antipov <dmantipov@yandex.ru>
2844
2845 * cus-start.el (toplevel): Only allow float values for
2846 scroll-up-aggressively and scroll-down-aggressively.
2847 Allow any number for line-spacing.
2848
bbc7ff25
SM
28492013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
2850
2851 * doc-view.el (doc-view-pdfdraw-program): Allow "pdfdraw" name.
2852 (doc-view-pdf->png-converter-function): Use mupdf if available.
2853 (doc-view-djvu->png-converter-function)
2854 (doc-view-ps->png-converter-function): Remove.
2855 (doc-view--image-file-pattern): Replace doc-view--image-file-extension.
2856 (doc-view-goto-page, doc-view-convert-current-doc, doc-view-display)
2857 (doc-view-already-converted-p): Adjust accordingly.
2858 (doc-view-mode-p): Simplify.
2859 (doc-view-enlarge): Use setq-local.
2860 (doc-view-pdf->png-converter-ghostscript)
2861 (doc-view-djvu->png-converter-ddjvu)
2862 (doc-view-pdf->png-converter-mupdf): Rework to call
2863 doc-view-start-process directly.
2864 (doc-view-pdf/ps->png): Simplify accordingly.
2865 (doc-view-pdf->png-1, doc-view-djvu->png-1): Remove.
2866 (doc-view-document->bitmap): Rename from doc-view-document->png.
2867 (doc-view-convert-current-doc): Merge pdf and djvu cases.
2868 (doc-view-set-slice-from-bounding-box): Fix completion table.
2869 (doc-view-mode): Use add-hook for after-revert-hook.
2870
3c855b96
GM
28712013-01-10 Glenn Morris <rgm@gnu.org>
2872
2873 * emacs-lisp/authors.el (authors-ignored-files)
2874 (authors-valid-file-names, authors-renamed-files-alist):
2875 Add some more entries.
2876
3f9549e8 28772013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
08ce64e6
SM
2878
2879 * image-mode.el (image-mode-winprops): Don't throw away the fallback
2880 `t' pseudo-window entry.
2881
3f9549e8 28822013-01-10 Alan Mackenzie <acm@muc.de>
8cff5feb
AM
2883
2884 Fix bugs in the c-parse-state mechanism. Reuse some markers
2885 instead of continually generating new ones.
2886
2887 * progmodes/cc-engine.el (c-state-old-cpp-beg-marker)
2888 (c-state-old-cpp-end-marker): New variables.
2889 (c-append-lower-brace-pair-to-state-cache): Start a backward
2890 search for "}" definitively outside CPP constructs.
2891 (c-remove-stale-state-cache): Inform the caller of a need to
2892 search back for a brace pair in certain circumstances.
2893 (c-state-maybe-marker): New macro.
2894 (c-parse-state): Reuse markers when appropriate.
2895
3f9549e8 28962013-01-10 Glenn Morris <rgm@gnu.org>
89c0dda8
GM
2897
2898 * simple.el (execute-extended-command): Doc fix.
2899 Bind prefix-arg around read-extended-command, for prompt. (Bug#13395)
2900
3f9549e8 29012013-01-10 Chong Yidong <cyd@gnu.org>
5b64ccd7
CY
2902
2903 * faces.el (read-face-name): Doc fix.
2904
b14abca9
RW
29052013-01-10 Roland Winkler <winkler@gnu.org>
2906
2907 * emacs-lisp/crm.el: Allow any regexp for separators.
2908 (crm-default-separator): All spaces around the default comma separator.
2909 (crm--completion-command): New macro.
2910 (crm-completion-help, crm-complete, crm-complete-word): Use it.
2911 (crm-complete-and-exit): Handle non-single-char separators.
2912
2b541f9a
EP
29132013-01-09 Elias Pipping <pipping@lavabit.com>
2914
2915 * doc-view.el: Add support for DjVu (bug#13164).
2916 (doc-view-djvu->png-converter-function): New config var.
2917 (doc-view-single-page-converter-function, doc-view--image-type)
2918 (doc-view--image-file-extension): New vars.
2919 (doc-view-mode): Initialize them.
2920 (doc-view-goto-page): Use them.
2921 (doc-view-mode-p): Add support for ddjvu.
2922 (doc-view-djvu->png-converter-ddjvu, doc-view-djvu->png-1)
2923 (doc-view-set-up-single-converter): New funs.
2924 (doc-view-pdf/ps->png): Extend for djvu.
2925 (doc-view-document->png): Rename from doc-view-pdf->png.
2926 (doc-view-convert-current-doc): Handle djvu.
2927 (doc-view-insert-image, doc-view-display)
2928 (doc-view-already-converted-p): Don't hardcode png.
2929 (doc-view-set-doc-type): Recognize djvu docs.
2930
85f17e35
EP
29312013-01-09 Elias Pipping <pipping@lavabit.com>
2932
2933 * doc-view.el: Add support for mupdf converter (bug#13164).
2934 (doc-view-pdfdraw-program, doc-view-pdf->png-converter-function)
2935 (doc-view-ps->png-converter-function): New config vars.
2936 (doc-view-pdf->png-converter-ghostscript)
2937 (doc-view-ps->png-converter-ghostscript)
2938 (doc-view-pdf->png-converter-mupdf): New functions.
2939 (doc-view-pdf/ps->png, doc-view-pdf->png-1): Use them.
2940
ccd04887
MA
29412013-01-09 Jürgen Hötzel <juergen@archlinux.org>
2942
2943 * net/tramp.el (tramp-eshell-directory-change): Check remote-path
2944 first in session cache: When `tramp-own-remote-path' is in
2945 `tramp-remote-path', the remote path is only set in the session
2946 cache.
2947
c5ad92de
GM
29482013-01-09 Glenn Morris <rgm@gnu.org>
2949
fb9f7146
GM
2950 * emacs-lisp/trace.el (trace-function-foreground)
2951 (trace-function-background): Doc fix.
c5ad92de 2952
39a0786e
JL
29532013-01-09 Juri Linkov <juri@jurta.org>
2954
2955 * international/mule-cmds.el (read-char-by-name): Move let-binding
2956 of completion-ignore-case around completing-read to fix regression
2957 exhibited by the test case `C-x 8 RET *acc TAB' and caused by
2958 `string-match-p' using the nil value of `case-fold-search' and
2959 `completion-ignore-case' in `completion-pcm--all-completions'.
2960 (Bug#12615).
2961
fb9f7146 29622013-01-09 Glenn Morris <rgm@gnu.org>
06364e64
GM
2963
2964 * progmodes/compile.el (compilation-parse-errors):
2965 Fix typo. (Bug#13369)
2966
fb9f7146 29672013-01-09 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
236a8f0c
VS
2968
2969 * comint.el (comint-send-input): Check size of buffer before
2970 waiting for process output, in case already accepted. (Bug#13290)
2971
677d5c92
PE
29722013-01-09 Paul Eggert <eggert@cs.ucla.edu>
2973
2974 Spelling fixes.
2975 * net/tramp-adb.el (tramp-adb-get-toolbox):
2976 Fix misspelling of 'unknown'.
2977
073ca75b
JL
29782013-01-08 Juri Linkov <juri@jurta.org>
2979
2980 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
2981 * progmodes/flymake.el (flymake-errline, flymake-warnline):
2982 Use underline style wave on terminals that support it. (Bug#13000)
2983
a4648137
SM
29842013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
2985
4bdc3526
SM
2986 * emacs-lisp/pcase.el (pcase--split-equal): Also take advantage if
2987 the predicate returns nil.
2988
a4648137
SM
2989 * simple.el: Use lexical-binding.
2990 (primitive-undo): Use pcase.
2991 (minibuffer-history-isearch-push-state): Use a closure.
2992
3bace969
AH
29932013-01-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
2994
2995 * simple.el (primitive-undo): Move from undo.c.
2996
a731fc1b
SM
29972013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
2998
1c851e98
SM
2999 * vc/pcvs.el (cvs-cleanup-collection): Extend meaning of `rm-handled'.
3000 (cvs-mode-remove-handled): Use it (bug#13380).
3001
a731fc1b
SM
3002 * emacs-lisp/nadvice.el (advice--tweak): New function.
3003 (advice--remove-function, advice--subst-main): Use it.
3004
3005 * emacs-lisp/advice.el: Update commentary.
3006
2a22c83b
MA
30072013-01-08 Michael Albinus <michael.albinus@gmx.de>
3008
a731fc1b
SM
3009 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
3010 Remove spurious entry.
2a22c83b 3011
83c1803a
GM
30122013-01-08 Glenn Morris <rgm@gnu.org>
3013
3014 * net/tramp.el (tramp-default-host-alist): Add :version.
3015
8a2e287c
JL
30162013-01-08 Juri Linkov <juri@jurta.org>
3017
3018 * info.el (Info-read-node-name-2): Don't duplicate suffixes for
3019 single completion. (Bug#12456)
3020 (info--manual-names): Expand node completions into an explicit list
3021 before appending it to another list. Filter out internal buffers
3022 with the leading space in the buffer name. (Bug#10771)
3023
c6a22ce2
JL
30242013-01-08 Juri Linkov <juri@jurta.org>
3025
3026 * info.el (Info-read-node-name-1): Allow empty node name in (FILENAME)
3027 that defaults to the Top node.
3028 (Info-goto-node, Info-read-node-name): Doc fix to mention that
3029 the short format (FILENAME) goes to the Top node.
3030 (Info-build-node-completions): Rename arg `file' to `filename'.
3031 (Bug#13365)
3032
acfe10b7
BG
30332013-01-07 Bastien Guerry <bzg@gnu.org>
3034
a731fc1b
SM
3035 * menu-bar.el (menu-bar-search-documentation-menu):
3036 Use `apropos-user-option' and fix the help message.
acfe10b7
BG
3037
30382013-01-07 Bastien Guerry <bzg@gnu.org>
3039
3040 * apropos.el (apropos-do-all): Update docstring.
3041 (apropos-user-option-button): New face.
3042 (apropos-user-option): Rename from `apropos-variable' and update
3043 docstring.
3044 (apropos-variable): Rewrite, now show all variables by default.
3045 (apropos-print): Mention "User option" instead of "Variable" when
3046 printing doc for user options. (Bug#13276)
3047
62bcf670
JH
30482013-01-07 Jürgen Hötzel <juergen@archlinux.org>
3049
3050 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
3051 Handle filename correctly, when parsing "source -> target" symlink
3052 output.
3053 (tramp-adb-handle-set-file-times): New defun.
3054
4986fa21
SM
30552013-01-07 Stefan Monnier <monnier@iro.umontreal.ca>
3056
3057 * emacs-lisp/advice.el (ad-activate-advised-definition): Refresh the
3058 advice list when the interactive-spec of ad-Advice-* changes.
3059
3bee311e
KY
30602013-01-07 Katsumi Yamaoka <yamaoka@jpl.org>
3061
3062 * wid-edit.el (widget-default-get): Work for inlined elements.
3063 (Bug#12670)
3064
b49eebcc
MA
30652013-01-07 Michael Albinus <michael.albinus@gmx.de>
3066
3067 * net/tramp.el (tramp-default-host-alist): New defcustom.
3068 (tramp-find-host): Use it.
4986fa21 3069 (tramp-eshell-directory-change): Move from tramp-sh.el. Add to
b49eebcc
MA
3070 `eshell-directory-change-hook'.
3071
3072 * net/tramp-adb.el (top): Add adb specific entry in
3073 `tramp-default-host-alist'.
3074 (tramp-adb-file-name-host): Remove function.
3075 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
3076 Use `tramp-file-name-host' instead of `tramp-adb-file-name-host'.
3077
3bee311e 3078 * net/tramp-sh.el: Move eshell integration code to tramp.el.
b49eebcc 3079
84f6744a
JH
30802013-01-06 Jürgen Hötzel <juergen@archlinux.org>
3081
3082 * net/tramp-adb.el (tramp-methods): Add `tramp-tmpdir' entry.
3083
b6cfbcd0
MA
30842013-01-06 Michael Albinus <michael.albinus@gmx.de>
3085
3086 * net/tramp-adb.el (tramp-adb-ls-toolbox-regexp): The file size can
b49eebcc 3087 consist of more than one digit.
4986fa21
SM
3088 (tramp-adb-file-name-handler-alist):
3089 Use `tramp-handle-file-exists-p' consistently.
b6cfbcd0
MA
3090 (tramp-adb-file-name-handler): Don't tweak `tramp-default-host'.
3091 (tramp-adb-handle-file-exists-p): Remove function.
3092 (tramp-adb-file-name-host): New defun.
3093 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
3094 Use it.
3095 (tramp-adb-maybe-open-connection): Set "remote-path" property.
3096
58ba7b1b
CY
30972013-01-06 Chong Yidong <cyd@gnu.org>
3098
3099 * vc/vc.el (vc-next-action): Detect buffer modifications
3100 conflicting with locking VCS operation (Bug#11490).
3101
3102 * vc/vc-hooks.el (vc-after-save): DTRT for locking VCSes.
3103
f4566fe9
MA
31042013-01-05 Michael Albinus <michael.albinus@gmx.de>
3105
3106 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
3107 (tramp-adb-handle-directory-files-and-attributes): Fix typos.
3108
838cf298
MA
31092013-01-05 Jürgen Hötzel <juergen@archlinux.org>
3110
3111 * net/tramp-adb.el (tramp-adb-handle-file-attributes): More robust
3112 parsing of ls output using regular expression (handle filenames
3113 with spaces). Use virtual device number.
3114 (tramp-do-parse-file-attributes-with-ls): New defun (Code
3115 cleanup).
3116
1bd71e9f
DU
31172013-01-04 Daiki Ueno <ueno@gnu.org>
3118
3119 * epg.el: Silence byte-compiler warnings.
3120 (epg--start): Use delete-char instead of delete-backward-char.
3121 (epg-wait-for-completion): Pass FRAME arg to redraw-frame.
3122
00cd4c1c
DU
31232013-01-04 Daiki Ueno <ueno@gnu.org>
3124
3125 * epg.el (epg--start): Don't call "tty" program on W32 platforms.
3126 Suggested by Eli Zaretskii <eliz@gnu.org>.
3127
f99ced35
MA
31282013-01-04 Michael Albinus <michael.albinus@gmx.de>
3129
3130 * net/tramp-sh.el (tramp-set-file-uid-gid): UID and GID must be
3131 non-negative integers. Otherwise, the default values are used.
3132 (tramp-convert-file-attributes): Convert uid and gid to integers.
3133
0f668a4d 31342013-01-04 Glenn Morris <rgm@gnu.org>
ad235a8b 3135
d2be4dcc
GM
3136 * term.el (term-handle-colors-array): Ensure face attributes
3137 are fully specified, not nil. (Bug#13337)
3138
5b00b749
GM
3139 * term.el (term-default-fg-color, term-default-bg-color):
3140 Fix custom type.
3141
220740a3
GM
3142 * progmodes/etags.el (tags-compression-info-list): Doc fix.
3143 (tag-find-file-of-tag-noselect): Check auto-compression-mode
3144 rather than 'jka-compr being loaded. (Bug#13338)
3145
bdd9367d
WD
31462013-01-04 Wesley Dawson <whd@lavabit.com> (tiny change)
3147
3148 * icomplete.el (icomplete-completions):
3149 Honor icomplete-prospects-height once more following
3150 2012-11-29 changes. (Bug#13224)
3151
96dd18b1
SM
31522013-01-04 Stefan Monnier <monnier@iro.umontreal.ca>
3153
c0bd248c
SM
3154 * subr.el (internal--called-interactively-p--get-frame): Find aliases
3155 of called-interactively-p as well (bug#13237).
3156
4a74c818
SM
3157 * view.el (view--enable, view--disable): Rename from view-mode-enable
3158 and view-mode-disable and assume it's called from view-mode.
3159 (view-mode-enable, view-mode-disable): Redefine as obsolete
3160 compatibility layer above view-mode.
3161 (view-mode-enter): Call `view-mode'.
3162
3163 * files.el (after-find-file): Call `view-mode'.
3164
96dd18b1
SM
3165 * doc-view.el (doc-view-scale-internally): New var.
3166 (doc-view-enlarge, doc-view-insert-image): Obey it.
3167
c2cf1829
DU
31682013-01-03 Daiki Ueno <ueno@gnu.org>
3169
3170 * epg.el (epg--start): Ignore errors when /dev/fd/0 does not
3171 exist. (Bug#13344)
3172
ad235a8b
GM
31732013-01-03 Glenn Morris <rgm@gnu.org>
3174
a8aa6c2d
GM
3175 * mail/rmail.el (rmail-set-header-1): Ignore case.
3176 Handle multi-line headers. (Bug#13330)
3177
a6d6c20b
GM
3178 * progmodes/make-mode.el (makefile-fill-paragraph): Add doc.
3179 Handle paragraph starting at beginning of buffer.
3180
ed5bdeb9
GM
3181 * subr.el (eval-after-load): Don't purecopy the form, so that it
3182 can be nconc'd later on; reverts 2009-11-11 change. (Bug#13331)
3183
ad235a8b
GM
3184 * emacs-lisp/byte-run.el (defun): Place cl declarations
3185 after any interactive spec. (Bug#13265)
3186
9539d465 31872013-01-02 Andreas Schwab <schwab@linux-m68k.org>
5cebef2d
AS
3188
3189 * emacs-lisp/byte-run.el (defmacro): Use same argument parsing as
3190 defun. Don't check for DECL if DOCSTRING isn't a string.
3191 (defun): Likewise.
3192
9539d465 31932013-01-02 Glenn Morris <rgm@gnu.org>
4cddca30 3194
5ee1772e
GM
3195 * eshell/em-cmpl.el (eshell-pcomplete):
3196 More thoroughly imitate pcomplete. (Bug#13293)
3197
4cddca30
GM
3198 * files.el (parse-colon-path): Doc fix. (Bug#12351)
3199 Return nil for empty path elements. (Bug#13296)
3200
9539d465 32012013-01-02 Fabián Ezequiel Gallina <fgallina@cuca>
6861432e
FEG
3202
3203 * progmodes/python.el (python-nav-end-of-statement): Rewrite in
3204 order to improve efficiency (Based on Daniel Colascione's
3205 <dancol@dancol.org> patch). (Bug#13182)
3206
9539d465 32072013-01-02 Glenn Morris <rgm@gnu.org>
b83a2ddd
GM
3208
3209 * vc/log-edit.el (log-edit-header-contents-regexp): Add doc string.
3210
9539d465 32112013-01-02 Andreas Schwab <schwab@linux-m68k.org>
bdcad781
AS
3212
3213 * emacs-lisp/byte-run.el (defmacro): Don't lose final nil if
3214 neither DOCSTRING nor DECL was given. (Bug#13316)
3215
aca3d51d
MA
32162013-01-02 Michael Albinus <michael.albinus@gmx.de>
3217
3218 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Add argument to
3219 `error' call.
3220 (tramp-do-copy-or-rename-file): Ignore errors when calling
3221 `set-file-extended-attributes'.
3222
4986fa21
SM
3223 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
3224 Add handler for `file-acl'.
aca3d51d
MA
3225 (tramp-smb-handle-file-acl): New defun.
3226
87e65f96
JB
32272013-01-02 Jay Belanger <jay.p.belanger@gmail.com>
3228
3229 * calc/README: Mention ISO 8601 week-numbering dates.
3230
0aac98ac
MR
32312013-01-01 Martin Rudalics <rudalics@gmx.at>
3232
3233 * view.el (view-mode-enable): New argument run-view-mode-hook.
3234 Run view-mode-hook only when it's non-nil (Bug#13315).
3235 (view-mode-enter): Call view-mode-enable with run-view-mode-hook
3236 argument t.
3237
1a82330c
JH
32382012-12-31 Jürgen Hötzel <juergen@archlinux.org>
3239
3240 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Handle errors
3241 (No device connected, invalid device name). (Bug #13299)
3242
27fcfe31
MR
32432012-12-31 Martin Rudalics <rudalics@gmx.at>
3244
3245 * window.el (window-resizable--p): Rename to window-resizable-p.
3246 (window-resize-no-error): New function.
3247
3248 * mail/rmail.el (rmail-maybe-display-summary): Restore behavior
3249 broken in fix from 2012-12-28.
3250
96c052a5
SM
32512012-12-31 Stefan Monnier <monnier@iro.umontreal.ca>
3252
3253 * subr.el (special-form-p): Don't signal errors on undef aliases.
3254
fd1f1603
JB
32552012-12-31 Jay Belanger <jay.p.belanger@gmail.com>
3256
3257 * calc/calc-forms.el (math-parse-date): Try using
96c052a5
SM
3258 `math-parse-iso-date' when it looks like it might be needed.
3259 Allow times of 24:00.
f4ad7ea1 3260 (math-parse-date-validate, math-parse-iso-date-validate): Allow times
fd1f1603
JB
3261 of 24:00.
3262
8db39aeb
GM
32632012-12-30 Glenn Morris <rgm@gnu.org>
3264
3265 * net/mairix.el (rmail, rmail-summary-displayed, rmail-summary):
3266 Remove unnecessary/buggy autoloads (missing interactive). (Bug#13294)
3267 (rmail-summary-displayed, rmail-summary): Declare.
3268 (mairix-rmail-display): Just require rmail.
3269
d5e5e7b4 32702012-12-30 Chong Yidong <cyd@gnu.org>
3c94d7a6
CY
3271
3272 * emacs-lisp/package.el (package-untar-buffer): Improve integrity
3273 check for the tarball contents.
3274
d5e5e7b4 32752012-12-30 Matt Fidler <matt.fidler@alcon.com> (tiny change)
af39894a
MF
3276
3277 * emacs-lisp/package.el (package-untar-buffer): Handle problematic
3278 tarfile content listings (Bug#13136).
3279
d5e5e7b4 32802012-12-30 Mark Lillibridge <mark.lillibridge@hp.com>
bb709253 3281
96c052a5
SM
3282 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
3283 Insert the undecoded text of the message being forwarded. (Bug#9521)
bb709253 3284
4f752957
MA
32852012-12-30 Michael Albinus <michael.albinus@gmx.de>
3286
3ee24a3b
MA
3287 * net/tramp-sh.el (tramp-set-file-uid-gid): Convert UID and GID to
3288 integers, if they are real numbers. (Bug#13282)
3289
4f752957
MA
3290 * net/tramp-sh.el (tramp-sh-handle-set-file-selinux-context):
3291 Return `t' on success.
3292
96c052a5
SM
3293 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
3294 Add handler for `set-file-selinux-context'.
4f752957 3295
eff2eb58
MA
32962012-12-29 Michael Albinus <michael.albinus@gmx.de>
3297
3298 * net/tramp-sh.el (tramp-sh-handle-file-acl): Suppress basic attributes.
3299 (tramp-sh-handle-set-file-acl): Return `t' on success.
3300
ccad023b
EZ
33012012-12-29 Eli Zaretskii <eliz@gnu.org>
3302
96c052a5
SM
3303 * files.el (backup-buffer-copy, basic-save-buffer-2):
3304 If set-file-extended-attributes fails, fall back on set-file-modes
ccad023b 3305 instead of signaling an error. (Bug#13298)
7e56b103 3306 (basic-save-buffer): Likewise.
ccad023b 3307
ccb1c17e
FEG
33082012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
3309
3310 * progmodes/python.el: Support other commands triggering
3311 python-indent-line so indentation cycling continues to work.
3312 (python-indent-trigger-commands): New defcustom.
3313 (python-indent-line): Use it.
3314
16768034
FEG
33152012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
3316
3317 * progmodes/python.el (python-shell-send-region): Add blank lines
3318 for non sent code so backtraces remain correct.
3319
66164d2f
FEG
33202012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
3321
3322 * progmodes/python.el: Remove cl dependency.
3323 (python-syntax-count-quotes): Replace incf call.
3324 (python-fill-string): Replace setf call.
3325
761231d1
DC
33262012-12-29 Damien Cassou <damien.cassou@gmail.com>
3327
43ebd12b 3328 * info.el (info-other-window): New arg, for consistency with info.
761231d1 3329
7c3e220a
MR
33302012-12-28 Martin Rudalics <rudalics@gmx.at>
3331
96c052a5
SM
3332 * mail/rmail.el (rmail-maybe-display-summary):
3333 Rewrite (Bug#13066).
7c3e220a 3334
361828b5
AS
33352012-12-28 Andreas Schwab <schwab@linux-m68k.org>
3336
3337 * epg.el (epg--start): Modify process-environment locally.
3338
23bd348c
DU
33392012-12-28 Daiki Ueno <ueno@gnu.org>
3340
3341 * epg.el: Support pinentry-curses.
3342 Suggested by Werner Koch in
3343 <http://lists.gnu.org/archive/html/emacs-devel/2007-02/msg00755.html>.
3344 (epg-agent-file, epg-agent-mtime): New variable.
3345 (epg--start): Record the modified time of gpg-agent socket file,
3346 to restore Emacs frame after pinentry-curses termination.
3347 (epg-wait-for-completion): Restore Emacs frame here.
3348
313f39aa
JL
33492012-12-27 Juri Linkov <juri@jurta.org>
3350
3351 * info.el (Info-file-completions): New variable.
3352 (Info-read-node-name-1): Complete node names in the Info file
3353 when a file name is given. Call `Info-build-node-completions'
3354 with a file name.
3355 (Info-build-node-completions): Add new arg `file'. When it is
3356 non-nil, visit it in a temporary buffer and cache its completions in
3357 `Info-current-file-completions'. Move most of the function body to
3358 `Info-build-node-completions-1'.
3359 (Info-build-node-completions-1): New function with the body from
3360 `Info-build-node-completions'. (Bug#12456)
3361
a45b7647
JL
33622012-12-27 Juri Linkov <juri@jurta.org>
3363
3364 * frame.el (frame-maximization-style): Remove user option.
3365 (cycle-frame-maximized): Remove function.
3366 (toggle-frame-maximized): Rewrite and bind to M-<f10>.
3367 (toggle-frame-fullscreen): New command bound to <f11> instead of
3368 `toggle-frame-maximized'.
3369 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00703.html
3370
10ffd0be
MA
33712012-12-27 Michael Albinus <michael.albinus@gmx.de>
3372
3373 * net/tramp.el (tramp-handle-file-accessible-directory-p): New defun.
3374
3375 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
3376 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
3377 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
3378 for `file-accessible-directory-p'. (Bug#13275)
3379
fd146719
SS
33802012-12-27 Sam Steingold <sds@gnu.org>
3381
3382 * progmodes/cperl-mode.el (cperl-calculate-indent): Do not stagger
3383 continuations, see <http://stackoverflow.com/questions/3582436>.
3384
82e2a1f0 33852012-12-27 Dmitry Gutov <dgutov@yandex.ru>
db590ef6
DG
3386
3387 * progmodes/ruby-mode.el (ruby-indent-beg-re): Only allow "class",
96c052a5
SM
3388 "module" and "def" to have indentation before them.
3389 Regression from 2012-09-07T04:15:56Z!dgutov@yandex.ru (see the new test).
db590ef6 3390
ea0857a1
DG
3391 * progmodes/ruby-mode.el: Bump the version to 1.2 (Bug#13200).
3392
82e2a1f0 33932012-12-27 Alan Mackenzie <acm@muc.de>
3f6b93cd
AM
3394
3395 Speed up fontification where there's large brace blocks.
3396 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Add a limit
3397 to a call of c-beginning-of-decl-1.
3398
c34339f3
VS
33992012-12-27 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
3400
3401 * comint.el (comint-adjust-window-point): New function.
96c052a5
SM
3402 (comint-postoutput-scroll-to-bottom):
3403 Call comint-adjust-window-point (Bug#13248).
c34339f3 3404
78269b95
DG
34052012-12-26 Dmitry Gutov <dgutov@yandex.ru>
3406
3407 * progmodes/ruby-mode.el (auto-mode-alist): `purecopy' the
3408 Rakefile regexp.
3409 (auto-mode-alist): Associate .gemspec files with ruby-mode
3410 (https://bugs.ruby-lang.org/issues/5453).
3411
bd8c13f9
JH
34122012-12-26 Jürgen Hötzel <juergen@archlinux.org>
3413
96c052a5
SM
3414 * net/tramp-adb.el (tramp-adb-get-ls-command): New defun.
3415 Suppress coloring, if possible (required for BusyBox based systems like
677d5c92 3416 CyanogenMod).
bd8c13f9
JH
3417 (tramp-adb-handle-file-attributes)
3418 (tramp-adb-handle-insert-directory)
3419 (tramp-adb-handle-file-name-all-completions): Use it.
3420 (tramp-adb-get-toolbox): New defun. Check for remote shell
3421 implementation (BusyBox or Toolbox).
3422
f4ad7ea1 34232012-12-24 Constantin Kulikov <zxnotdead@gmail.com> (tiny change)
dc646358
CK
3424
3425 * startup.el (initial-buffer-choice): Allow function as value
3426 (Bug#13251).
3427 (command-line-1): Handle case where initial-buffer-choice
3428 specifies a function.
3429 * server.el (server-execute): Handle case where
3430 initial-buffer-choice specifies a function.
3431
e7d52a4d
LI
34322012-12-24 Lars Ingebrigtsen <larsi@gnus.org>
3433
3434 * mail/smtpmail.el (smtpmail-try-auth-method): Refactored out into
3435 its own function.
3436 (smtpmail-try-auth-methods): Forget the user name/password if the
3437 login is unsuccessful (bug#12424).
3438
cdb07539
MA
34392012-12-22 Michael Albinus <michael.albinus@gmx.de>
3440
1ef5f225
MA
3441 * notifications.el (notifications-notify): Protect body with
3442 `with-demoted-errors'.
3443
96c052a5
SM
3444 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3445 Check properties of remote device. Restart connection, if there is a
cdb07539
MA
3446 change.
3447
594f37aa
CY
34482012-12-21 Chong Yidong <cyd@gnu.org>
3449
3450 * sort.el (sort-subr): Doc fix (Bug#13056).
3451
a4b0cca1 34522012-12-21 Bastien Guerry <bzg@gnu.org>
acc650b8 3453
acc650b8
BG
3454 * progmodes/etags.el (tags-search): Fix typo. Bug #13232.
3455
0e9c7693
MA
34562012-12-21 Michael Albinus <michael.albinus@gmx.de>
3457
3458 * simple.el (process-file): Overwrite stderr file, if exists.
3459
c6609164
DU
34602012-12-21 Daiki Ueno <ueno@gnu.org>
3461
3462 * epg.el (epg--start): Print GPG_AGENT_INFO in the debug buffer.
3eb05092 3463 (epg-error): Set `error-message' property.
c6609164 3464
aa26f345
CY
34652012-12-21 Chong Yidong <cyd@gnu.org>
3466
34b4b7eb
CY
3467 * international/mule-cmds.el (read-char-by-name): Signal an error
3468 if the user does not supply a valid character (Bug#13177).
3469
aa26f345
CY
3470 * simple.el (transpose-subr-1): Preserve marker positions by
3471 changing the insertion sequence (Bug#13122).
3472
05c22d87
KD
34732012-12-21 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
3474
3475 * simple.el (kill-region): Deactivate mark even for empty regions
3476 (Bug#13169).
3477
f5733f87
CY
34782012-12-21 Chong Yidong <cyd@gnu.org>
3479
3480 * help-fns.el (describe-variable): Make sure we get the right
3481 buffer name (Bug#13105). Suggested by Kelly Dean.
3482
fab6916d
MM
34832012-12-20 Michael R. Mauger <mmaug@yahoo.com>
3484
3485 * comint.el (comint-redirect-previous-input-string): New variable.
3486 (comint-redirect-setup, comint-redirect-cleanup)
3487 (comint-redirect-preoutput-filter): Use it. Fixes redirection bug.
3488 (comint-redirect-preoutput-filter): Fix verbose message.
3489
91b982a0
MA
34902012-12-20 Michael Albinus <michael.albinus@gmx.de>
3491
3492 * progmodes/grep.el (rgrep): Escape command line. Sometimes, it
3493 is too long for Tramp. See discussion in
3494 <http://thread.gmane.org/gmane.emacs.tramp/8233/focus=8244>.
3495
3496 * progmodes/compile.el (compilation-start): Remove line escape
3497 template.
3498
87523aed
DA
34992012-12-20 Dmitry Antipov <dmantipov@yandex.ru>
3500
3501 * vc/ediff-ptch.el (ediff-map-patch-buffer): Use `point-min-marker'.
3502 Adjust comment.
3503
ee3c0aec
JB
35042012-12-19 Jonas Bernoulli <jonas@bernoul.li>
3505
3506 * emacs-lisp/lisp-mnt.el (lm-section-end): Always end before the
3507 following non-comment text (bug#13207).
3508 (lm-header-multiline): Continuation lines need to be indented more than
3509 the first line.
3510 (lm-homepage): New function.
3511 (lm-with-file): Don't be confused if narrowing is in effect.
f4d79bd0 3512
4a74c818
SM
35132012-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
3514
f4d79bd0
SM
3515 * vc/diff-mode.el (diff-post-command-hook): Don't ignore changes at the
3516 very beginning of a hunk (e.g. killing the first line).
3517
3c532af6
MA
35182012-12-19 Michael Albinus <michael.albinus@gmx.de>
3519
3520 * net/tramp-sh.el (tramp-sh-handle-file-acl): Delete empty lines
3521 and text properties from returned ACL string.
3522 (tramp-sh-handle-set-file-acl): Do not use additional parentheses
3523 for "setfacl" command.
3524
e0d01ef3
MA
35252012-12-18 Michael Albinus <michael.albinus@gmx.de>
3526
3527 * net/tramp.el (tramp-error-with-buffer): Give a hint to use
3528 `tramp-cleanup-this-connection', when the process has died.
3529 (Bug#13151)
3530
2387610d
SM
35312012-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
3532
3533 * icomplete.el (icomplete-completions): Also use … to truncate prefix.
3534
19156242
KR
35352012-12-17 Kevin Ryde <user42@zip.com.au>
3536
3537 * files.el (auto-save-file-name-p): Use \` and \' (bug#13186).
3538
53b6a8b1
MA
35392012-12-17 Michael Albinus <michael.albinus@gmx.de>
3540
3541 Add support for preserving ACL entries of files.
3542
3543 * net/tramp.el (tramp-file-name-for-operation): Add `file-acl' and
3544 `set-file-acl' handlers.
3545
19156242
KR
3546 * net/tramp-adb.el (tramp-adb-handle-copy-file):
3547 Handle PRESERVE-EXTENDED-ATTRIBUTES.
53b6a8b1 3548
19156242
KR
3549 * net/tramp-compat.el (tramp-compat-copy-file):
3550 Handle PRESERVE-EXTENDED-ATTRIBUTES.
53b6a8b1 3551
19156242
KR
3552 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
3553 Add `file-acl' and `set-file-acl' handlers.
3554 (tramp-gvfs-handle-copy-file):
3555 Handle PRESERVE-EXTENDED-ATTRIBUTES.
3556 (tramp-gvfs-handle-file-acl, tramp-gvfs-handle-set-file-acl):
3557 New defuns.
53b6a8b1 3558
19156242
KR
3559 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
3560 Add `file-acl' and `set-file-acl' handlers.
53b6a8b1
MA
3561 (tramp-remote-acl-p, tramp-sh-handle-file-acl)
3562 (tramp-sh-handle-set-file-acl): New defuns.
19156242
KR
3563 (tramp-sh-handle-copy-file, tramp-do-copy-or-rename-file):
3564 Handle PRESERVE-EXTENDED-ATTRIBUTES.
53b6a8b1 3565
19156242
KR
3566 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
3567 Add `file-acl' and `set-file-acl' handlers.
53b6a8b1
MA
3568 (tramp-smb-handle-copy-file): Handle PRESERVE-EXTENDED-ATTRIBUTES.
3569
f4ad7ea1 35702012-12-17 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
6ae57a67
KD
3571
3572 * help-macro.el (make-help-screen): Instead of switch-to-buffer
19156242 3573 use pop-to-buffer with NORECORD argument t. As buffer name, use
6ae57a67
KD
3574 *Metahelp* with a leading space (Bug#13190).
3575
7c3d167f
RF
35762012-12-16 Romain Francoise <romain@orebokech.com>
3577
3578 * files.el (file-extended-attributes)
3579 (set-file-extended-attributes): New functions.
3580 (backup-buffer): Use them to handle both SELinux context and ACL
3581 entries.
3582 (backup-buffer-copy): Work with an alist of extended attributes,
3583 rather than an SELinux context.
3584 (basic-save-buffer-2): Ditto.
3585
19b748ad
TM
35862012-12-16 Timo Myyrä <timo.myyra@gmail.com>
3587
3588 * battery.el (battery-bsd-apm): New function.
3589
70042c64
JB
35902012-12-16 Jay Belanger <jay.p.belanger@gmail.com>
3591
3592 * calc/calc.el (calc-standard-date-formats): Adjust one of the
3593 standard date formats.
3594
279f9b06
JL
35952012-12-15 Juri Linkov <juri@jurta.org>
3596
3597 * isearch.el (isearch-mode-map): Bind `C-x 8 RET' to
3598 `isearch-insert-char-by-name'.
3599 (with-isearch-suspended): New defmacro with body mostly from
3600 `isearch-edit-string' except the part that sets
3601 `isearch-new-string' and `isearch-new-message'.
3602 (isearch-edit-string): Use new macro `with-isearch-suspended' with
3603 body that sets `isearch-new-string' and `isearch-new-message'.
3604 (isearch-insert-char-by-name): New command.
3605 * international/mule-cmds.el (read-char-by-name): Let-bind
3606 `enable-recursive-minibuffers' to t.
3607 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00234.html
3608
8370def5
JL
36092012-12-15 Juri Linkov <juri@jurta.org>
3610
3611 * isearch.el (isearch-delete-char, isearch-del-char): Doc fix.
3612 (Bug#13175)
3613
178fb95d
CS
36142012-12-15 Christopher Schmidt <christopher@ch.ristopher.com>
3615
3616 * dired-x.el (dired-guess-shell-command): Put colon at the end of
3617 the prompt. (Bug#13045)
3618
a5f74442
GM
36192012-12-14 Glenn Morris <rgm@gnu.org>
3620
3621 * emacs-lisp/macroexp.el (macroexp--warn-and-return):
3622 Try to include filename in non-bytecomp warning. (Bug#13132)
3623
97976f9f
PE
36242012-12-14 Paul Eggert <eggert@cs.ucla.edu>
3625
3626 Fix permissions bugs with setgid directories etc. (Bug#13125)
3627 * files.el (backup-buffer): Don't rely on 9th output of
3628 file-attributes, as it's now a placeholder. Instead, use the new
3629 optional arg of file-ownership-preserved-p.
3630 (file-ownership-preserved-p): New optional arg GROUP.
3631 Fix mishandling of setuid directories that would cause this
3632 function to return t when it should have returned nil.
3633 Document what happens if the file does not exist, and when
3634 it's not known whether the ownership will be preserved.
3635 * net/tramp-sh.el (tramp-sh-handle-file-ownership-preserved-p):
3636 Likewise.
3637 (tramp-get-local-gid): Use group-gid for integer, as that's
3638 faster and more reliable.
3639
016b2a42
JD
36402012-12-14 Julien Danjou <julien@danjou.info>
3641
19156242
KR
3642 * progmodes/sql.el (sql-mode-postgres-font-lock-keywords):
3643 Update keywords list, data type and PL/pgSQL.
016b2a42 3644
665e5e07
DA
36452012-12-14 Dave Abrahams <dave@boostpro.com>
3646
3647 * vc/ediff-util.el (ediff-buffer-type): New function.
3648 (ediff-clone-buffer-for-current-diff-comparison): Compute the buf-type
3649 rather than taking it as as argument.
3650 (ediff-inferior-compare-regions): Adjust calls accordingly (bug#11319).
3651
d72e9e92
RC
36522012-12-14 Ryan Crum <ryan.crum@eleostech.com>
3653
3654 * json.el: Add pretty-print option (bug#12634).
3655 (json-encoding-separator, json-encoding-default-indentation)
3656 (json--encoding-current-indentation, json-encoding-pretty-print)
3657 (json-encoding-lisp-style-closings): New vars.
3658 (json--with-indentation): New macro.
3659 (json-encode-hash-table, json-encode-alist, json-encode-plist)
3660 (json-encode-array): Use it to obey json-encoding-pretty-print.
3661 (json-pretty-print-buffer, json-pretty-print): New commands.
3662
dbb530d9
DG
36632012-12-14 Dmitry Gutov <dgutov@yandex.ru>
3664
3665 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
3666 Extract `ruby-syntax-propertize-expansions'.
3667 (ruby-syntax-propertize-expansions): Only change syntax on
3668 certain string delimiters, to punctuation. This way the common
3669 functions like forward-word and thing-at-point still work.
3670 (ruby-match-expression-expansion): Improve readability.
bb808526
DG
3671 (ruby-block-contains-point): New function.
3672 (ruby-add-log-current-method): Handle several edge cases.
dbb530d9 3673
ce0440ff
JB
36742012-12-13 Juanma Barranquero <lekktu@gmail.com>
3675
3676 * emacs-lisp/edebug.el (edebug-unload-function): Make sure that
3677 unload-feature finishes even when aborting an ongoing edebug session.
3678 Also, do not worry about edebug-mode, unload-feature takes care of it.
3679
f10331bf
AS
36802012-12-13 Andreas Schwab <schwab@suse.de>
3681
3682 * net/tls.el (tls-program): Update customize type.
3683
5f3a3bb1
JB
36842012-12-13 Juanma Barranquero <lekktu@gmail.com>
3685
3686 * emacs-lisp/edebug.el (edebug--require-cl-read): New function.
3687 (edebug-setup-hook, cl-read-load-hooks): Use it.
3688 (edebug-unload-function): New function. (Bug#13163)
3689
6ce21463
MA
36902012-12-13 Michael Albinus <michael.albinus@gmx.de>
3691
3692 * net/tramp-adb.el (tramp-adb-file-name-p): Make it a defsubst.
3693 Otherwise, there could be errors in autoloading. (Bug#13151)
3694
d754b364
JH
36952012-12-13 Jürgen Hötzel <juergen@archlinux.org>
3696
3697 * net/tramp-adb.el (tramp-adb-wait-for-output): Remove spurious " ^H"
3698 sequences.
3699
727f9739 37002012-12-13 Alan Mackenzie <acm@muc.de>
14b8c3d9
AM
3701
3702 Make CC Mode not hang when _some_ lines end in CRLF. Bug #11841.
3703 * progmodes/cc-engine.el (c-backward-comments): Add code to work
3704 around `forward-comment' not recognizing ^M as whitespace.
3705
727f9739 37062012-12-13 Fabián Ezequiel Gallina <fgallina@cuca>
2c43a9ad
FEG
3707
3708 * progmodes/python.el (python-skeleton-class)
3709 (python-skeleton-def): Do not add space after defun name.
3710
eb8006c6
SM
37112012-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
3712
3713 * emacs-lisp/cl.el (letf): Make it an alias of cl-letf.
3714 (cl--symbol-function): Remove (now that funbound is like nil).
3715
4c74b1e4
GM
37162012-12-12 Glenn Morris <rgm@gnu.org>
3717
3718 * button.el (button--area-button-p): Fix typo.
3719
37f38bca
SS
37202012-12-12 Sam Steingold <sds@gnu.org>
3721
3722 * frame.el (frame-maximization-style): New user option.
3723 (toggle-frame-maximized): Toggle frame maximization according to
3724 `frame-maximization-style', bound to <f11>.
3725 (cycle-frame-maximized): Cycle between all maximization styles and
3726 non-maximized frame, bound to shift-<f11>.
3727
fd49a218
DC
37282012-12-12 David Cadé <codename68@gmail.com>
3729
3730 * mpc.el (mpc-format): Use truncate-string-to-width (bug#13143).
3731
69e1c203
JB
37322012-12-12 Jonas Bernoulli <jonas@bernoul.li>
3733
3734 * lisp/emacs-lisp/eieio.el: Prettier object pretty-printing (bug#13115).
3735 (eieio-override-prin1): Don't quote kewords and booleans.
3736 (object-write) <eieio-default-superclass>: Don't put closing parens
3737 on new line, avoid needless empty lines, align values that are objects
3738 with the slot keyword (instead of beginning on the same line).
3739 (eieio-list-prin1): Align value with slot keyword; increase
3740 eieio-print-depth before printing members of the list.
3741
4b0df848
SM
37422012-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
3743
030f4af5
SM
3744 * mail/emacsbug.el (report-emacs-bug): Move the intangible text to
3745 a display text-property.
3746 (report-emacs-bug-hook): Don't bother deleting it any more.
3747
6ac1f8ca
SM
3748 * hilit-chg.el (highlight-save-buffer-state): Delete.
3749 Use with-silent-modifications instead.
3750 (hilit-chg-set-face-on-change): Only fixup the text that's modified.
3751
4b0df848
SM
3752 * button.el: Handle buttons in display text-properties.
3753 (button--area-button-p, button--area-button-string):
3754 Use (STRING . STRING-POS) representation instead of just STRING.
3755
d46d2d3a
EZ
37562012-12-11 Eli Zaretskii <eliz@gnu.org>
3757
3758 * makefile.w32-in (compile4-SH): Fix a typo that caused term
3759 subdirectory be skipped.
3760
a0099d31
GM
37612012-12-11 Glenn Morris <rgm@gnu.org>
3762
36327e4f
GM
3763 * net/rcirc.el (rcirc-urls, rcirc-condition-filter): Doc fixes.
3764
a0099d31
GM
3765 * progmodes/f90.el (f90-line-continued, f90-indent-region):
3766 Treat preprocessor lines embedded in continuations like comments.
3767 (f90-indent-line): Special-case preprocessor lines. (Bug#13138)
3768
ff3f6c26
JB
37692012-12-11 Jay Belanger <jay.p.belanger@gmail.com>
3770
f4ad7ea1 3771 * calc/calc.el (calc-standard-date-formats): Add more date
ff3f6c26
JB
3772 formats.
3773 * calc/calc-forms.el (math-parse-iso-date): New function.
3774 (math-parse-date): Use `math-parse-iso-date' when appropriate.
3775 (math-parse-iso-date-validate): Add extra error checking.
3776 (calc-date-notation): Add ability to access new date formats.
3777
ed6f2cd4
SM
37782012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
3779
3780 * hi-lock.el (hi-lock--regexps-at-point): Fix boundary case for
3781 font-lock as well as when there's no text-property.
3782
c868b919
J
37832012-12-10 Jambunathan K <kjambunathan@gmail.com>
3784
3785 * hi-lock.el: Refine the choice of default face.
3786 (hi-lock-keyword->face): New function. Use it wherever we used
3787 cadadadr instead.
3788 (hi-lock--regexps-at-point): Ignore faces that can't come from hi-lock.
3789 (hi-lock--last-face): Remove var.
3790 (hi-lock--unused-faces): New var to replace it.
3791 (hi-lock-read-face-name): Use/maintain it.
3792 (hi-lock-unface-buffer): Maintain it. Fix error for the C-u case.
3793 (hi-lock-set-pattern): Ignore new rule if it has the same regexp even
3794 if it has another face.
3795
2b8c9064
EZ
37962012-12-10 Eli Zaretskii <eliz@gnu.org>
3797
3798 * subr.el (w32notify-handle-event): New function.
3799 (inotify-handle-event): Doc fix.
3800
81606b10
RS
38012012-12-10 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3802
3803 * subr.el (inotify-event-p, inotify-handle-event): New functions.
3804
f4ad7ea1 38052012-12-10 Dani Moncayo <dmoncayo@gmail.com>
6ce49f24
DM
3806
3807 * simple.el (just-one-space): Doc fix.
3808
265c2fbf 38092012-12-10 Eli Zaretskii <eliz@gnu.org>
8d43bd30 3810
c868b919 3811 * textmodes/texinfo.el (texinfo-enable-quote-envs): Add "smallexample".
8d43bd30 3812
265c2fbf 38132012-12-10 Le Wang <l26wang@gmail.com>
3a21537c
LW
3814
3815 * hilit-chg.el (hilit-chg-set-face-on-change): Don't burp in
3816 narrowed buffer (bug#12361).
3817
265c2fbf 38182012-12-10 Juanma Barranquero <lekktu@gmail.com>
bf741d33
JB
3819
3820 * vc/vc-hooks.el (vc-state): Doc fix.
3821
265c2fbf 38222012-12-10 Glenn Morris <rgm@gnu.org>
07026166
GM
3823
3824 * mail/rmail.el (rmail-maybe-display-summary):
3825 Preserve buffer, in case select-window changes it. (Bug#13066)
3826
265c2fbf 38272012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
82e1f390
SM
3828
3829 * emacs-lisp/cl.el, emacs-lisp/cl-lib.el: Move cl-unload-function and
3830 cl-load-hook where they belong.
3831
bad162fd
SM
38322012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
3833
3834 * emacs-lisp/cl-lib.el (cl-declaim): Paren typo.
3835
ca065258
EZ
38362012-12-09 Eli Zaretskii <eliz@gnu.org>
3837
3838 Parallelize byte compilation on MS-Windows.
3839 * makefile.w32-in (WINS_BASIC1, WINS_BASIC2, WINS_BASIC3)
bad162fd 3840 (WINS_BASIC4): New variables, subdivide subdirectories into 4 parts.
ca065258
EZ
3841 (WINS_BASIC): Define as concatenation of the above.
3842 (compile): Subdivide into 4 separate and independent jobs that can
3843 be run in parallel.
3844 (compile0-CMD, compile0-SH): New targets for compiling
3845 COMPILE_FIRST files, which are prerequisites for the rest of the
3846 byte-compilation.
bad162fd
SM
3847 (compile1-CMD, compile2-CMD, compile3-CMD, compile4-CMD):
3848 New targets for parallel compilation with cmd.exe.
ca065258
EZ
3849 (compile1-SH, compile2-SH, compile3-SH, compile4-SH): Ditto for
3850 compiling under a Unixy shell.
3851
5dea55d2
CY
38522012-12-09 Chong Yidong <cyd@gnu.org>
3853
3854 * simple.el (set-mark-default-inactive): Delete this
3855 accidentally-introduced option.
3856 (set-mark-command, exchange-point-and-mark): Remove calls.
3857
c6c08d3f
GM
38582012-12-09 Glenn Morris <rgm@gnu.org>
3859
3860 * emacs-lisp/lisp-mode.el (eval-defun-1): Doc fix.
3861 Respect a defcustom's :set function, if appropriate. (Bug#109)
3862 (eval-defun): Doc fix.
3863
858aab4c
JL
38642012-12-08 Juri Linkov <juri@jurta.org>
3865
3866 * info.el (Info-copy-current-node-name, Info-breadcrumbs)
3867 (Info-fontify-node, Info-bookmark-make-record): Remove the
3868 file extension from Info-current-file (Bug#13016).
3869
2e4ad7e5
SM
38702012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
3871
3872 * hi-lock.el (hi-lock-unface-buffer): If there's no matching regexp at
3873 point, still provide some default.
3874 (hi-lock--regexps-at-point): Don't enforce a "hi-lock-" prefix on face
3875 names, since we don't use it right now. Actually return the list.
3876 (hi-lock-file-patterns, hi-lock-interactive-patterns): Use defvar-local.
3877
75498db0
CY
38782012-12-07 Chong Yidong <cyd@gnu.org>
3879
ffe7ba8f
CY
3880 * novice.el (disabled-command-function): Remove a spurious help
3881 xref (Bug#13043). Suggested by Kelly Dean.
3882
454eb095
CY
3883 * subr.el (text-clone-maintain): Fix clone overlay deletion when a
3884 syntax is specified (Bug#13025).
3885
75498db0
CY
3886 * info.el (Info-set-mode-line): Remove the file extension from
3887 Info-current-file if there is one (Bug#13016).
3888
13a40633
GM
38892012-12-07 Glenn Morris <rgm@gnu.org>
3890
54c8b5ba
GM
3891 * mail/rmail.el (rmail-mime-decoded): New permanent local.
3892 (rmail-show-message-1): Set rmail-mime-decoded when appropriate.
3893 * mail/rmailedit.el (rmail-cease-edit): Respect rmail-mbox-format
3894 and rmail-mime-decoded. (Bug#9841)
3895
13a40633
GM
3896 * mail/unrmail.el (unrmail-mbox-format): New option. (Bug#6574)
3897 (batch-unrmail, unrmail): Doc fixes.
3898 (unrmail): Respect unrmail-mbox-format.
3899 * mail/rmail.el (rmail-mbox-format): New option.
3900 (rmail-show-message-1): Respect rmail-mbox-format.
3901
4611a3cc
SM
39022012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
3903
3904 * emacs-lisp/cl-macs.el (cl-tagbody): New macro.
3905
1812c724
SM
39062012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
3907
338bfefa
SM
3908 Further cleanup of the "cl-" namespace. Fit CL in 80 columns.
3909 * emacs-lisp/cl-macs.el (cl--pop2, cl--optimize-safety)
3910 (cl--optimize-speed, cl--not-toplevel, cl--parse-loop-clause)
3911 (cl--expand-do-loop, cl--proclaim-history, cl--declare-stack)
3912 (cl--do-proclaim, cl--proclaims-deferred): Rename from the "cl-" prefix.
3913 (cl-progv): Don't rely on dynamic scoping to find the body.
3914 * emacs-lisp/cl-lib.el (cl--optimize-speed, cl--optimize-safety)
3915 (cl--proclaims-deferred): Rename from the "cl-" prefix.
3916 (cl-declaim): Use backquotes.
3917 * emacs-lisp/cl-extra.el (cl-make-random-state, cl-random-state-p):
3918 Use "cl--" prefix for the object's tag.
3919
1812c724
SM
3920 * ses.el: Use advice-add/remove.
3921 (ses--advice-copy-region-as-kill, ses--advice-yank): New functions.
3922 (copy-region-as-kill, yank): Use advice-add.
3923 (ses-unload-function): Use advice-remove.
3924
24fc9480
JB
39252012-12-06 Jonas Bernoulli <jonas@bernoul.li>
3926
3927 * button.el: Make them work in header-lines (bug#12817).
3928 (button-map): Add bindings for header-line and mode-line use.
3929 (button-get, button-put, button-label): `button' may now be a string.
3930 (button-activate): Don't make it a defsubst.
3931 (button--area-button-p, button--area-button-string): New functions.
3932 (make-text-button): Fix the return value when `beg' was a string.
3933 (push-button): Handle the mode-line case.
3934
853c1ffc
SM
39352012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
3936
93852cb0
SM
3937 * progmodes/sql.el: Use cl-lib and lexical-binding; various cleanup.
3938 (sql-signum): Remove. Use `cl-signum' instead.
3939 (sql-read-passwd): Remove; use read-passwd instread.
3940 (sql-get-login-ext): Use read-string.
3941 (sql-get-login): Use dolist and pcase.
3942 (sql--completion-table): Rename from sql-try-completion.
3943 Use complete-with-action.
3944 (sql-mode): Don't change abbrev-all-caps globally.
3945 (sql-connect): Don't rely on dynamic scoping for `new-name'.
3946 (sql-postgres-completion-object): Initialize vars in their `let'.
3947 (sql-comint-sybase, sql-comint-sqlite, sql-comint-mysql)
3948 (sql-comint-solid, sql-comint-ms, sql-comint-postgres)
3949 (sql-comint-interbase): Use a single append, without setq.
3950 (sql-comint-linter): Same, and unwind-protect the LINTER_MBX var.
3951
853c1ffc
SM
3952 * hi-lock.el: Rework the default face and the serialize regexp code.
3953 (hi-lock--auto-select-face-defaults): Remove.
3954 (hi-lock-string-serialize-serial): Remove.
3955 (hi-lock--hashcons-hash): Rename from hi-lock-string-serialize-hash;
3956 make weak.
3957 (hi-lock--hashcons): Rename from hi-lock-string-serialize, return an
3958 equal string.
3959 (hi-lock-set-pattern): Adjust accordingly.
3960 (hi-lock--regexps-at-point): Simplify accordingly.
3961 (hi-lock--auto-select-face-defaults): Remove.
3962 (hi-lock--last-face): New var to replace it.
3963 (hi-lock-read-face-name): Rewrite (bug#11095).
3964 (hi-lock-unface-buffer): Arrange for the face to be the next default.
3965
5504e2c7
MA
39662012-12-06 Michael Albinus <michael.albinus@gmx.de>
3967
853c1ffc
SM
3968 * net/tramp.el (tramp-replace-environment-variables):
3969 Hide compiler warning.
5504e2c7
MA
3970 (tramp-file-name-for-operation): Remove `executable-find',
3971 `start-process', `call-process' and `call-process-region'.
3972
853c1ffc 3973 * net/tramp-compat.el (top): Don't require 'tramp-util and 'tramp-vc.
5504e2c7
MA
3974
3975 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Ensure backward
3976 compatibility.
3977
3978 * net/tramp-sh.el (top): Remove `tramp-sh-handle-call-process-region'.
3979
e1d51545
CY
39802012-12-06 Chong Yidong <cyd@gnu.org>
3981
3982 * ffap.el (ffap-replace-file-component): Fix typo.
3983
d8ad4d3f 39842012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
ef54d315
SM
3985
3986 * progmodes/octave-mod.el (octave-mark-block): Move out of tokens and
3987 fix open-paren-like token test (bug#12785).
3988
d8ad4d3f 39892012-12-06 Glenn Morris <rgm@gnu.org>
52d129cd
GM
3990
3991 * mail/rmailsum.el (rmail-new-summary): Tweak for
3992 rmail-maybe-display-summary changing buffer. (Bug#13066)
3993
d8ad4d3f 39942012-12-06 Juri Linkov <juri@jurta.org>
68bf4e09
JL
3995
3996 * info.el (Info-fontify-node): Don't hide the last newline.
3997 (Bug#12272)
3998
9ad948e2
KY
39992012-12-06 Katsumi Yamaoka <yamaoka@jpl.org>
4000
4001 * mail/mailabbrev.el (mail-abbrev-expand-wrapper): Work in minibuffer
4002 so as to enable message-read-from-minibuffer to expand mail aliases.
4003
4b5c89ee
SM
40042012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
4005
4006 * minibuf-eldef.el (minibuf-eldef-update-minibuffer): Don't mess with
4007 the `intangible' property.
4008 Suggested by Christopher Schmidt <christopher@ch.ristopher.com>
4009
5602a53a
DD
40102012-12-05 Deniz Dogan <deniz@dogan.se>
4011
4012 * net/rcirc.el (rcirc-urls): Update documentation.
4013 (rcirc-condition-filter): New function.
4014 (rcirc-browse-url, rcirc-markup-urls): Use only URLs before point
4015 and exclude consecutive duplicate URLs (Bug#6082).
4016
51b890ac
MA
40172012-12-05 Michael Albinus <michael.albinus@gmx.de>
4018
d5f97f62
MA
4019 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
4020 Check return code of copy command.
4021
853c1ffc
SM
4022 * net/tramp-adb.el (tramp-adb-sdk-dir, tramp-adb-prompt):
4023 Use group `tramp'. Add version.
51b890ac 4024
04b14f2b
CY
40252012-12-05 Chong Yidong <cyd@gnu.org>
4026
a3680194
CY
4027 * ffap.el (ffap-url-regexp): Don't require matching at front of
4028 string (Bug#4952).
4029 (ffap-url-p): If only a substring matches, return that.
4030 (ffap-url-at-point): Use the return value of ffap-url-p.
4031 (ffap-read-file-or-url, ffap-read-file-or-url-internal)
4032 (find-file-at-point, dired-at-point, dired-at-point-prompter)
4033 (ffap-guess-file-name-at-point): Likewise.
4034 (ffap-replace-file-component): Fix typo.
4035
04b14f2b
CY
4036 * info.el (info-display-manual): Add existing Info buffers, whose
4037 files may not be in Info-directory-list, to the completion.
4038 (info--manual-names): New helper function.
4039
49596095
GM
40402012-12-05 Glenn Morris <rgm@gnu.org>
4041
4042 * vc/vc-hg.el (vc-hg-resolve-when-done, vc-hg-find-file-hook):
4043 New functions, for detecting and resolving conflicts. (Bug#10709)
4044
b85aec93
J
40452012-12-04 Jambunathan K <kjambunathan@gmail.com>
4046
4047 * hi-lock.el (hi-lock-auto-select-face): New user variable.
4048 (hi-lock-auto-select-face-defaults): New buffer local variable.
4049 (hi-lock-read-face-name): Honor `hi-lock-auto-select-face'.
4050 (hi-lock-unface-buffer): Prompt user with useful defaults.
4051 With prefix arg, unhighlight all hi-lock patterns in buffer.
4052
8515507f
SM
40532012-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
4054
4055 * obsolete/terminal.el, obsolete/longlines.el: Add obsolecence info.
4056
72cebfb7
MA
40572012-12-04 Michael Albinus <michael.albinus@gmx.de>
4058
4059 * Makefile.in (TRAMP_SRC):
4060 * makefile.w32-in (TRAMP_SRC): Add tramp-adb.el.
4061
0ec3f7ea
JH
40622012-12-04 Juergen Hoetzel <juergen@archlinux.org>
4063
4064 * net/tramp-adb.el: New package.
4065
770de7cf
CY
40662012-12-04 Chong Yidong <cyd@gnu.org>
4067
ce3e7725
CY
4068 * terminal.el: Move to obsolete/.
4069
770de7cf
CY
4070 * longlines.el: Move to obsolete/.
4071
4072 * vc/ediff-diff.el (ediff-extract-diffs, ediff-extract-diffs3):
4073 Remove code referring to longlines mode.
4074
c38a186c
JL
40752012-12-03 Juri Linkov <juri@jurta.org>
4076
4077 * sort.el (delete-duplicate-lines): New command. (Bug#13032)
4078
329bfd64
AM
40792012-12-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4080
4081 * textmodes/ispell.el (ispell-init-process)
475eea6f
AM
4082 (ispell-start-process, ispell-internal-change-dictionary):
4083 Make sure personal dictionary name is expanded after initial
4084 `default-directory' value. Use expanded strings for
4085 keep/restart checks and for value (Bug#13019).
329bfd64 4086
77a74935
JB
40872012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
4088
4089 * calc/calc-forms.el (math-date-to-iso-dt): Fix weekday number.
4090
c5bc2d1d 40912012-12-03 Leo Liu <sdl.web@gmail.com>
ff3d86d0
LL
4092
4093 * files.el (dir-locals-read-from-file): Check file non-empty
4094 before reading. (Bug#13038)
4095
c5bc2d1d 40962012-12-03 Glenn Morris <rgm@gnu.org>
6247eff5
GM
4097
4098 * jka-cmpr-hook.el (jka-compr-get-compression-info):
4099 Remove any version extension before checking filename. (Bug#13006)
4100 (jka-compr-compression-info-list): Belated :version bump.
4101
c5bc2d1d 41022012-12-03 Chong Yidong <cyd@gnu.org>
a5bf43ba 4103
8ecba97d
CY
4104 * simple.el (transient-mark-mode): Doc fix (Bug#11523).
4105
a5bf43ba
CY
4106 * buff-menu.el (Buffer-menu-delete-backwards, Buffer-menu-mode)
4107 (buffer-menu): Doc fix (Bug#12294).
4108
c5bc2d1d 41092012-12-03 Roland Winkler <winkler@gnu.org>
34755291
RW
4110
4111 * calendar/diary-lib.el (diary-header-line-format): Use keybinding
4112 of diary-show-all-entries in the diary buffer (Bug#12994).
4113
c5bc2d1d 41142012-12-03 Michael Albinus <michael.albinus@gmx.de>
c2f5b60a
MA
4115
4116 * net/tramp-sh.el (tramp-perl-encode): Use "read STDIN" instead of
4117 "<STDIN>". This is binary safe.
4118
682ceaf8
JB
41192012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
4120
4121 * calc/calc-forms.el (math-absolute-from-iso-dt)
4122 (math-date-to-iso-dt, math-parse-iso-date-validate)
4123 (math-iso-dt-to-date): New functions.
4124 (math-fd-iso-dt, math-fd-isoyear, math-fd-isoweek)
4125 (math-fd-isoweekday): New variables.
4126 (calc-date-notation, math-parse-standard-date, math-format-date)
4127 (math-format-date-part): Add support for more formatting codes.
4128
db47d5e9
DG
41292012-12-02 Dmitry Gutov <dgutov@yandex.ru>
4130
4131 * vc/vc.el (vc-delete-file, vc-rename-file): Default to the
4132 current buffer's file name when called interactively (Bug#12488).
4133
3faf4944
JL
41342012-12-02 Juri Linkov <juri@jurta.org>
4135
4136 * info.el (info-display-manual): Don't clobber an existing Info
010db6da 4137 buffer (Bug#10770). Add completion (Bug#10771).
3faf4944 4138
cb5d51dc
YN
41392012-12-01 Yuya Nishihara <yuya@tcha.org> (tiny change)
4140
4141 * vc/vc-hooks.el (vc-find-file-hook): Expand buffer-file-truename
4142 before using it for comparison (Bug#5297).
4143
f38cd76e
JA
41442012-12-01 Jari Aalto <jari.aalto@cante.net>
4145
4146 * textmodes/css-mode.el (css-current-defun-name): New function.
4147 (css-mode): Use it.
4148
4149 * textmodes/sgml-mode.el (html-current-defun-name): New function.
4150 (html-mode): Use it.
4151
ba03d0d9
CY
41522012-12-01 Chong Yidong <cyd@gnu.org>
4153
4154 Modularize add-log-current-defun (Bug#2224).
4155 Suggested by Jari Aalto.
4156
4157 * vc/add-log.el (add-log-current-defun-function): Doc fix.
4158 (add-log-current-defun): Move mode-specific code to other files.
4159 (add-log-lisp-like-modes, add-log-c-like-modes)
4160 (add-log-tex-like-modes): Variables deleted.
4161
4162 * emacs-lisp/lisp-mode.el (lisp-current-defun-name): New.
4163 (lisp-mode-variables): Use it.
4164
4165 * progmodes/cc-mode.el (c-common-init):
4166 * progmodes/cperl-mode.el (cperl-mode): Set a value for
4167 add-log-current-defun-function.
4168
4169 * progmodes/m4-mode.el (m4-current-defun-name): New function.
4170 (m4-mode): Use it.
4171
4172 * progmodes/perl-mode.el (perl-current-defun-name): New.
4173 (perl-mode): Use it.
4174
853c1ffc
SM
4175 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
4176 Use lisp-current-defun-name.
ba03d0d9
CY
4177
4178 * textmodes/tex-mode.el (tex-current-defun-name): New.
4179 (tex-common-initialization): Use it.
4180
4181 * textmodes/texinfo.el (texinfo-current-defun-name): New.
4182 (texinfo-mode): Use it.
4183
92eadba5
CY
41842012-12-01 Chong Yidong <cyd@gnu.org>
4185
4186 * emacs-lisp/lisp-mode.el (lisp-mode-variables, lisp-mode):
4187 * progmodes/autoconf.el (autoconf-mode):
4188 * progmodes/js.el (js-mode):
4189 * progmodes/make-mode.el (makefile-mode, makefile-makepp-mode)
4190 (makefile-bsdmake-mode, makefile-imake-mode, makefile-browse):
4191 * progmodes/perl-mode.el (perl-mode):
4192 * progmodes/sh-script.el (sh-mode, sh-set-shell):
4193 * textmodes/css-mode.el (css-mode):
4194 * textmodes/sgml-mode.el (html-mode, sgml-mode)
4195 (sgml-tags-invisible, sgml-guess-indent):
4196 * textmodes/tex-mode.el (tex-common-initialization)
4197 (latex-complete-bibtex-keys, tex-shell, tex-main-file)
4198 (doctex-mode, plain-tex-mode, latex-mode):
4199 * textmodes/texinfo.el (texinfo-mode): Use setq-local.
4200
3ddbf803
KK
42012012-12-01 Kirk Kelsey <kirk.kelsey@0x4b.net>
4202
4203 * vc/vc-hg.el (vc-hg-next-revision):
4204 Ensure use of default "tip" output format. (Bug#6968)
4205
f0b6ae63
KS
42062012-12-01 Kim F. Storm <storm@cua.dk>
4207
4208 * startup.el (fancy-startup-tail): Add a clickable link
4209 (Bug#2176).
4210
c01bf73e
CY
42112012-12-01 Chong Yidong <cyd@gnu.org>
4212
4213 * startup.el (fancy-startup-tail): Improve the message about
4214 auto-save files (Bug#2176).
4215
f0b6ae63
KS
4216 * files.el (recover-session): Improve the descriptive message, and
4217 use substitute-command-keys.
4218
a9400458
GM
42192012-12-01 Glenn Morris <rgm@gnu.org>
4220
4221 * ido.el (ido-file-internal):
4222 Handle other-window, other-frame for dired. (Bug#13036)
4223
fb3bf6ce
GM
42242012-11-30 Glenn Morris <rgm@gnu.org>
4225
4226 * icomplete.el (icomplete-separator): Fix :version.
4227
a813fe3f
CY
42282012-11-30 Chong Yidong <cyd@gnu.org>
4229
4230 * shell.el (shell): For C-u M-x shell, use an inactive shell
4231 buffer as the default (Bug#1975).
276479fd
CY
4232 (shell-apply-ansi-color, shell-reapply-ansi-color): New functions.
4233 (shell-mode): Use them to reapply ansi colorization if Shell mode
4234 is re-enabled.
a813fe3f 4235
a8b733a5
CY
42362012-11-30 Yuriy Vostrikov <delamonpansie@gmail.com> (tiny change)
4237
4238 * vc/vc-git.el (vc-git-command): Disable the pager (Bug#6137).
4239
6fccd6e8
SB
42402012-11-30 Samuel Bronson <naesten@gmail.com>
4241
4242 * progmodes/grep.el (grep-compute-defaults): Do not pass the -e
4243 flag to xargs, for compatibility with BSD xargs (Bug#11703).
4244
53c9a337
TT
42452012-11-30 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
4246
4247 * textmodes/fill.el (fill-region-as-paragraph): Handle overshoot
4248 by move-to-column (Bug#3234).
4249
ccf520bb
CY
42502012-11-30 Chong Yidong <cyd@gnu.org>
4251
4252 * longlines.el (longlines-wrap-line, longlines-encode-region):
4253 Preserve text properties (Bug#1425).
4254
171b0949
OT
42552012-11-30 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
4256
4257 * vc/vc.el (vc-register): Allow registering a file which is
4258 already registered with a different backend (Bug#10589).
4259
cc37e70f
J
42602012-11-29 Jambunathan K <kjambunathan@gmail.com>
4261 Stefan Monnier <monnier@iro.umontreal.ca>
4262
4263 * icomplete.el: Change separator; add ido-style commands.
4264 (icomplete-show-key-bindings): Remove custom var.
4265 (icomplete-get-keys): Remove function.
4266 (icomplete-forward-completions, icomplete-backward-completions):
4267 New commands.
4268 (icomplete-minibuffer-map): New var.
4269 (icomplete-minibuffer-setup): Use it.
4270 (icomplete-exhibit): Don't delay if the list of completions is known.
4271 (icomplete-separator): New custom.
4272 (icomplete-completions): Use it.
4273 * minibuffer.el (completion-all-sorted-completions): Delete duplicates.
4274 (minibuffer-force-complete-and-exit): New command.
4275 (minibuffer--complete-and-exit): New function extracted from
4276 minibuffer-complete-and-exit.
4277 (minibuffer-complete-and-exit): Use it.
83e12fe0
SM
4278
4279 * progmodes/etags.el (visit-tags-table-buffer): Give a more precise
4280 error message when the file doesn't exist (bug#12974).
4281
31646597
KD
42822012-11-29 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
4283
4284 * simple.el (activate-mark): Run activate-mark-hook (bug#13027).
4285
e9df8f87
GM
42862012-11-29 Glenn Morris <rgm@gnu.org>
4287
824eefe4
GM
4288 * files.el (hack-dir-local-variables): Warn if try to set
4289 coding via dir-locals, since it doesn't work. (Bug#7169)
4290
4ad900d9
GM
4291 Add desktop support for restoring vc-dir buffers. (Bug#10606)
4292 * vc/vc-dir.el (vc-dir-mode): Autoload it (for desktop restore).
4293 Set buffer-local value of desktop-save-buffer.
4294 (vc-dir-desktop-buffer-misc-data, vc-dir-restore-desktop-buffer):
4295 New functions.
4296 (desktop-buffer-mode-handlers): Add vc-dir-mode entry.
4297 * desktop.el (desktop-save-buffer-p): Treat vc-dir like dired.
4298
e9df8f87
GM
4299 * files.el (inhibit-local-variables-ignore-case): New. (Bug#10610)
4300 (inhibit-local-variables-p): Use inhibit-local-variables-ignore-case.
4301 Doc fix.
4302 (inhibit-local-variables-regexps, inhibit-local-variables-suffixes):
4303 Doc fixes.
4304
e7c8fcc4
JB
43052012-11-28 Jay Belanger <jay.p.belanger@gmail.com>
4306
4307 * calc/calc-forms.el (calc-date-notation): Fix regexp
4308 used to find time codes. Fix symbol for seconds.
4309
48d6d9c0
GM
43102012-11-27 Glenn Morris <rgm@gnu.org>
4311
4312 * emacs-lisp/derived.el (derived-mode-make-docstring):
4313 Don't mention "abbrev" or "syntax" if nil. (Bug#11277)
4314
369f945d
SM
43152012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
4316
4317 * textmodes/table.el (table-insert): Don't use `symbol-name' on
4318 lexically scoped variables (bug#13005).
4319
5c9cf0a3 43202012-11-27 Glenn Morris <rgm@gnu.org>
98f99594 4321
999e745e
GM
4322 * vc/vc-hooks.el (vc-mistrust-permissions):
4323 Default to t, to avoid data-loss. (Bug#11490)
98f99594 4324
5c9cf0a3 43252012-11-27 Fabián Ezequiel Gallina <fgallina@cuca>
207cb73c 4326
999e745e
GM
4327 * progmodes/python.el (python-indent-guess-indent-offset):
4328 If indentation is guessed make python-indent-offset buffer-local.
4329
207cb73c 4330 Fix Imenu regression.
999e745e
GM
4331 * progmodes/python.el (python-nav-beginning-of-defun):
4332 Fix forward movement when statement(s) separates point from defun.
207cb73c
FEG
4333 (python-imenu-prev-index-position): New function.
4334
5c9cf0a3 43352012-11-27 Eli Zaretskii <eliz@gnu.org>
33a488e4
EZ
4336
4337 * subr.el (buffer-file-type): Declare with defvar-local. Doc fix.
4338
4339 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
865f7d8f 4340 Don't set buffer-file-type. Return nil. (Bug#12989)
33a488e4 4341
5c9cf0a3 43422012-11-27 Glenn Morris <rgm@gnu.org>
50207191
GM
4343
4344 * hippie-exp.el (hippie-expand-try-functions-list):
4345 Re-autoload it. (Bug#12982)
4346
5c9cf0a3 43472012-11-27 Eli Zaretskii <eliz@gnu.org>
2147c6ab 4348
369f945d
SM
4349 * descr-text.el (describe-char-padded-string):
4350 Call internal-char-font only on GUI frames. (Bug#11964)
2147c6ab 4351
5c9cf0a3 43522012-11-27 Andreas Schwab <schwab@linux-m68k.org>
58b1ae1e
AS
4353
4354 * buff-menu.el (Buffer-menu-buffer+size-width): Fix customize type
4355 and obsoletion message.
4356
5c9cf0a3 43572012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
35a10516
SM
4358
4359 * emacs-lisp/cl-macs.el (cl--transform-lambda): Add back `declare' in
4360 the constructs to keep outside of the `cl-block' (bug#12977).
4361
5c9cf0a3 43622012-11-27 Chong Yidong <cyd@gnu.org>
0c5ef133
CY
4363
4364 * mouse.el (mouse-drag-line): Even if the line is not draggable,
4365 keep reading until we get the up-event anyway, in order to process
4366 the up-event for mouse-1-click-follows-link (Bug#12971).
4367
848a2dd1
SM
43682012-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
4369
4370 * emacs-lisp/advice.el (ad-should-compile): Don't compile advice if the
4371 base function is not yet defined (bug#12965).
4372 (ad-activate-advised-definition): Use ad-compile-function.
4373 (ad-activate): Use cond.
4374
9ad79506
LL
43752012-11-25 Leo Liu <sdl.web@gmail.com>
4376
4377 * textmodes/sgml-mode.el (sgml-tag): Fix indentation for closing tag.
4378 (Bug#12979)
4379
e2cb57f5
VB
43802012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
4381
4382 * textmodes/reftex-parse.el (reftex-parse-from-file): Use variable
4383 reftex-section-info-function in order to be compatible with
4384 Texinfo integration.
4385
4386 * textmodes/reftex.el (reftex-section-pre-regexp)
848a2dd1
SM
4387 (reftex-section-post-regexp, reftex-section-info-function):
4388 New variable.
4389 (reftex-compile-variables): Use variables reftex-section-pre-regexp,
4390 reftex-section-post-regexp, and reftex-section-info-function in order
4391 to be compatible with Texinfo integration.
4392
4393 * textmodes/reftex-toc.el (reftex-toc-promote-action):
4394 use reftex-section-pre-regexp variable in order to be compatible with
e2cb57f5
VB
4395 Texinfo integration.
4396
1c4f115d
CY
43972012-11-25 Chong Yidong <cyd@gnu.org>
4398
4399 * faces.el: Make face-spec-set more analogous to setq.
4400 (face-spec-set): Change the third arg to specify whether this
4401 function is being called via defface, customize, or a third party.
4402 Set the appropriate symbol properties. Clear the override spec if
4403 setting via Custom. Initialize face if necessary. (Bug#4988)
4404 (face-spec-recalc): Allow theme faces to completely replace the
4405 defface spec, in the same way as custom faces (Bug#8454).
4406
4407 * cus-face.el (custom-declare-face): Move face initialization to
4408 face-spec-set.
4409 (custom-theme-set-faces): Don't initialize the face name here, as
4410 that is now done in face-spec-set.
4411
4412 * cus-edit.el (custom-face-set, custom-face-mark-to-save)
4413 (custom-face-reset-saved, custom-face-mark-to-reset-standard):
4414 Simplify by using the new arg to face-spec-set.
4415
4416 * emacs-lisp/lisp-mode.el (eval-defun-1): When evaluating defface,
4417 reset face-override-spec too, and use custom-declare-face.
4418
c2350548
JD
44192012-11-24 Jan Djärv <jan.h.d@swipnet.se>
4420
4421 * term/ns-win.el (ns-initialize-window-system): Move creation of
4422 fontsets here (Bug#11964).
4423
ecfc364c
VB
44242012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
4425
4426 * ses.el (ses-rename-cell): Correct bug on mode-line update after
4427 cell renaming.
4428
0917cc54
CY
44292012-11-24 Chong Yidong <cyd@gnu.org>
4430
433212bf
CY
4431 * woman.el (woman-default-faces, woman-monochrome-faces): Mark as
4432 obsolete.
4433
0917cc54
CY
4434 * custom.el (custom-theme-set-variables): Use a topological sort
4435 for ordering by custom dependencies (Bug#12952).
4436 (custom--sort-vars, custom--sort-vars-1): New functions.
4437
d125ca15 44382012-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
002c019c
SM
4439
4440 * emacs-lisp/bytecomp.el (byte-compile-file): Setup default value for
4441 lexical-binding (bug#12938).
4442
d125ca15 44432012-11-24 Wolfgang Jenkner <wjenkner@inode.at>
977f9325
WJ
4444
4445 * image-mode.el (image-transform-check-size): Use assertions only
4446 for images of type imagemagick.
4447
4448 Otherwise no error, image-transform-fit-to-{width,height} is
4449 silently ignored, as before. Doc fix.
4450
d125ca15 44512012-11-24 Chong Yidong <cyd@gnu.org>
bccffa83
CY
4452
4453 * faces.el (color-defined-p): Doc fix (Bug#12853).
4454
d125ca15 44552012-11-24 Juri Linkov <juri@jurta.org>
61a2a122
JL
4456
4457 * dired.el (dired-mark): Add optional arg `interactive'.
4458 Check for `use-region-p' if `interactive' is non-nil.
4459 (dired-unmark, dired-flag-file-deletion): Add optional arg
4460 `interactive'. Call `dired-mark' with the arg `interactive'.
4461 (Bug#10624)
4462
cc4c01bd
JL
4463 * wdired.el: Revert 2012-10-17 change partly and replace it with
4464 Patch by Christopher Schmidt <christopher@ch.ristopher.com>.
4465 (wdired-finish-edit): Add marks for new file names to
4466 `wdired-old-marks'. Restore marks using `dired-mark-remembered'
4467 after `revert-buffer'.
4468 (wdired-do-renames): Remove calls to `dired-remove-file',
4469 `dired-add-file', `dired-add-entry'. (Bug#11795)
4470
d125ca15 44712012-11-24 Alan Mackenzie <acm@muc.de>
b03aabda 4472
dc310ed0
AM
4473 * progmodes/cc-defs.el (c-version): Bump to 5.32.4.
4474
b03aabda
AM
4475 Fix bugs in the state cache. Enhance a debugging mechanism.
4476 * progmodes/cc-engine.el (c-parse-state-get-strategy): Don't use
4477 "brace at column zero" strategy for C++.
4478 (c-append-lower-brace-pair-to-state-cache): Repair algorithm.
4479 (c-parse-state-point): New variable.
4480 (c-record-parse-state-state): Record old parse state with
4481 `copy-tree'. Record previous value of point.
4482 (c-debug-parse-state-double-cons): New debugging function.
4483 (c-debug-parse-state): Call the above new function.
4484 (c-toggle-parse-state-debug): Output a confirmatory message.
4485
002c019c
SM
4486 * progmodes/cc-mode.el (c-before-change, c-after-change):
4487 Call c-invalidate-state-cache from `c-before-change' instead of
b03aabda
AM
4488 `c-after-change'.
4489
930a6273
CY
44902012-11-23 Chong Yidong <cyd@gnu.org>
4491
4492 * find-cmd.el (find-constituents): Add executable, ipath,
4493 readable, samefile, writable, daystart, regextype (Bug#12856).
4494
15c9d04e
SM
44952012-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
4496
4497 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: Use cl-lib and lexical-binding.
4498
2ecb2679
PE
44992012-11-22 Paul Eggert <eggert@cs.ucla.edu>
4500
4501 * calc/calc.el (calc-gregorian-switch): Move to after calc-refresh
4502 definition. This fixes a bootstrap failure.
a14a5a40
PE
4503 (calc-gregorian-switch): In menu, put dates before regions.
4504 This is easier to follow, lines up better in the menu, and lets us
4505 coalesce regions that switch at the same time. Give country
15c9d04e
SM
4506 names, not "Vatican", as that's better for non-expert users.
4507 Use names that are stable between the date of switch and now, e.g.,
a14a5a40
PE
4508 Bohemia and Moravia (which existed then and now) and not
4509 Czechoslovakia (which didn't exist then and doesn't exist now).
4510 What is now the U.S. mostly did not switch at the same time as
4511 Britain, so omit the U.S. Correct spelling of "Britain".
4512 Catholic Switzerland was too much of a mess, so omit it.
2ecb2679 4513
723da6aa
JB
45142012-11-22 Jay Belanger <jay.p.belanger@gmail.com>
4515
4516 * calc/calc.el (calc-gregorian-switch): Refresh the Calc buffer
4517 after the variable is changed.
4518
21fa2482
DC
45192012-11-21 Daniel Colascione <dancol@dancol.org>
4520
4521 * progmodes/sql.el (sql-mode-font-lock-object-name): Support IF NOT EXISTS
b6096e85
DC
4522 in SQL declarations for font-lock.
4523 (sql-imenu-generic-expression): Teach imenu about IF NOT EXISTS.
21fa2482 4524
3ca2f1bf
GM
45252012-11-21 Glenn Morris <rgm@gnu.org>
4526
1bf335cf
GM
4527 * faces.el (face-underline-p, face-inverse-video-p, face-bold-p)
4528 (face-italic-p): Add optional argument "inherit".
4529
3ca2f1bf
GM
4530 * faces.el (set-face-inverse-video, set-face-bold, set-face-italic):
4531 Remove -p suffix from names, for consistency with other set-face-*.
4532 (set-face-inverse-video): Fix interactive spec.
4533 * play/gamegrid.el (gamegrid-make-mono-tty-face):
4534 * textmodes/table.el (table--update-cell-face):
4535 Use set-face-inverse-video rather than now obsolete alias.
4536
6ef2e5ef 45372012-11-21 Eli Zaretskii <eliz@gnu.org>
7cf95797
EZ
4538
4539 * simple.el (line-move): Don't call line-move-partial if
4540 scroll-conservatively is in effect. (Bug#12927)
4541
6ef2e5ef 45422012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
63f25172 4543
93b05041
SM
4544 * eshell/em-cmpl.el (eshell-pcomplete): Refine fix for bug#12838:
4545 Fallback on completion-at-point rather than
4546 pcomplete-expand-and-complete, and only if pcomplete actually failed.
4547 (eshell-cmpl-initialize): Setup completion-at-point.
4548
4549 * pcomplete.el (pcomplete--entries): Obey pcomplete-ignore-case.
4550
bc715d67
SM
4551 * emacs-lisp/ert.el (ert--expand-should-1): Adapt to cl-lib.
4552
6ef2e5ef 45532012-11-21 Michael Albinus <michael.albinus@gmx.de>
d7f2a65c
MA
4554
4555 * net/tramp-sh.el (tramp-do-copy-or-rename-file): If both files
4556 are remote, check out-of-band property for both.
4557
6ef2e5ef 45582012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
d1c0cddf
SM
4559
4560 * window.el (switch-to-buffer): Re-add the warning that was lost in the
4561 code rewrite.
4562
6ef2e5ef 45632012-11-21 Paul Eggert <eggert@cs.ucla.edu>
0c93aa38 4564
535efd4a
PE
4565 More minor time fixes.
4566 * calendar/time-date.el: Commentary fix.
4567 * net/tramp-sh.el (tramp-do-file-attributes-with-ls): Undo last change;
4568 too much other code depends on (0 0) time stamps.
4569 * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
4570 Add a couple of FIXME comments.
4571
0c93aa38
PE
4572 Minor cleanup for times as lists of four integers.
4573 * files.el (dir-locals-directory-cache):
4574 * ps-bdf.el (bdf-file-mod-time, bdf-read-font-info):
4575 Doc fixes.
4576 * net/tramp-sh.el (tramp-do-file-attributes-with-ls):
4577 * ps-bdf.el (bdf-file-newer-than-time):
4578 Process four-integers time stamps, not two. Doc fixes.
4579
23ba2705
SM
45802012-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
4581
2e31777b
SM
4582 * uniquify.el (uniquify-managed): Use defvar-local.
4583 (rename-buffer, create-file-buffer): Advise with advice-add.
4584 (uniquify-unload-function): Unadvise accordingly.
4585
8b62d742
SM
4586 * emacs-lisp/trace.el: Rewrite, use nadvice and lexical-binding.
4587 (trace-buffer): Don't purecopy.
4588 (trace-entry-message, trace-exit-message): Add `context' arg.
4589 (trace--timer): New var.
4590 (trace-make-advice): Adjust for use in nadvice.
4591 Add `context' argument. Delay `display-buffer' via a timer.
4592 (trace-function-internal): Use advice-add.
4593 (trace--read-args): New function.
4594 (trace-function-foreground, trace-function-background): Use it.
4595 (trace-function): Rename to trace-function-foreground and redefine as
4596 an alias to that new name.
4597 (untrace-function, untrace-all): Adjust to the use of nadvice.
4598
5d0ccd95
SM
4599 * emacs-lisp/bytecomp.el (byte-compile): Fix handling of closures.
4600
3837d988
SM
4601 * emacs-lisp/byte-run.el (defun-declarations-alist): Fix last change.
4602
23ba2705
SM
4603 * subr.el (called-interactively-p-functions): New var.
4604 (internal--called-interactively-p--get-frame): New macro.
4605 (called-interactively-p, interactive-p): Rewrite in Lisp.
4606 * emacs-lisp/nadvice.el (advice--called-interactively-skip): New fun.
4607 (called-interactively-p-functions): Use it.
4608 * emacs-lisp/edebug.el (edebug--called-interactively-skip): New fun.
4609 (called-interactively-p-functions): Use it.
4610 * allout.el (allout-called-interactively-p): Don't assume
4611 called-interactively-p is a subr.
4612
b0636be7
GM
46132012-11-20 Glenn Morris <rgm@gnu.org>
4614
4615 * profiler.el (profiler-report-mode-map): Add a menu.
4616 No need to bind `q' because we derive from special-mode.
4617 (profiler-report-find-entry): Handle calls from the menu-bar.
4618
855b17af
SM
46192012-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
4620
14146222
SM
4621 * emacs-lisp/byte-run.el (defun-declarations-alist):
4622 Allow a compiler-macro to be a lambda expression.
4623
4624 * progmodes/python.el: Use cl-lib. Move var declarations outside of
4625 eval-when-compile.
4626 (python-syntax-context): Add compiler-macro.
4627 (python-font-lock-keywords): Simplify with De Morgan.
4628
1000d895
SM
4629 * vc/diff-mode.el (diff-hunk): Don't make useless timers.
4630
ac5392dc
SM
4631 * files.el (load-file): Require match in minibuffer selection, as was
4632 the case in Emacs-20 before we changed the spec to allow .elc files
4633 (bug#12935).
4634
19dc7206
SM
4635 * json.el: Don't require cl since we don't use it.
4636 * color.el: Don't require cl.
4637 (color-complement): `caddr' -> `nth 2'.
4638
855b17af
SM
4639 * calendar/time-date.el (time-to-seconds): De-obsolete.
4640
e8909bdc
JB
46412012-11-19 Jay Belanger <jay.p.belanger@gmail.com>
4642
f4ad7ea1 4643 * calc/calc-forms.el (math-leap-year-p): Fix formula for negative
e8909bdc
JB
4644 year numbers.
4645 (math-date-to-julian-dt): Adjust the initial approximation for the
4646 year to deal with the new definition of the DATE.
4647
6e9f7997
DC
46482012-11-19 Daniel Colascione <dancol@dancol.org>
4649
855b17af
SM
4650 * term/w32-win.el (cygwin-convert-path-from-windows):
4651 Accomodate rename of cygwin_convert_path* to cygwin_convert_file_name*.
6e9f7997 4652
6a3dd257
CY
46532012-11-18 Chong Yidong <cyd@gnu.org>
4654
4655 * filecache.el (file-cache--read-list): New function.
4656 (file-cache-add-directory-list, file-cache-add-file-list)
4657 (file-cache-delete-file-list, file-cache-delete-directory-list):
4658 Use it to read a list of files or directories (Bug#12846).
4659 (file-cache-add-file, file-cache-add-directory)
4660 (file-cache-delete-file-list, file-cache-delete-file-regexp)
4661 (file-cache-delete-directory): Print an message.
4662
eef97f35
JB
46632012-11-18 Jay Belanger <jay.p.belanger@gmail.com>
4664
4665 * calc/calc-forms.el (math-date-to-dt): Use integer date when
4666 calling `math-date-to-julian-dt' and 'math-date-to-gregorian-dt'.
4667
913c8291
GM
46682012-11-18 Glenn Morris <rgm@gnu.org>
4669
4670 * image.el (insert-image, insert-sliced-image): Doc fix.
4671
2ac9538d 46722012-11-18 Chong Yidong <cyd@gnu.org>
ec6f8ce6
CY
4673
4674 * emacs-lisp/syntax.el (syntax-propertize-function): Doc fix
4675 (Bug#12810).
4676
2ac9538d 46772012-11-18 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
c2d07557
CY
4678
4679 * vc/vc-svn.el (vc-svn-merge-news): Properly parse the merge
4680 response when the target file is in a subdirectory (Bug#12757).
4681
2ac9538d 46822012-11-18 Chong Yidong <cyd@gnu.org>
33f8917c
CY
4683
4684 * filecache.el (file-cache-add-file-list): Doc fix (Bug#12694).
4685
2ac9538d 46862012-11-18 Glenn Morris <rgm@gnu.org>
65463c40 4687
9a5e2ee3
GM
4688 * emacs-lisp/cl-lib.el (face-underline-p):
4689 Use set-face-underline rather than the alias set-face-underline-p.
4690
65463c40 4691 * window.el (with-temp-buffer-window): Doc fix.
95f0501e
GM
4692 * subr.el (with-output-to-temp-buffer):
4693 Add doc xref to with-temp-buffer-window.
65463c40 4694
c9ed8e3d
JB
46952012-11-18 Juanma Barranquero <lekktu@gmail.com>
4696
4697 * woman.el (woman-non-underline-faces): Use `set-face-underline'.
4698 * calc/calc.el (math-format-date-cache): Declare.
4699
310e60d9
PE
47002012-11-17 Paul Eggert <eggert@cs.ucla.edu>
4701
6f6b82d6
PE
4702 Calc by default uses the Gregorian calendar for all dates (Bug#12633).
4703 It also uses January 1, 1 AD as its day number 1.
310e60d9 4704 * calc/calc-forms.el (math-julian-date-beginning)
6f6b82d6 4705 (math-julian-date-beginning-int): Implement this.
310e60d9 4706
d7fe6352
JB
47072012-11-17 Juanma Barranquero <lekktu@gmail.com>
4708
4709 * descr-text.el (quail-find-key):
4710 * dired.el (desktop-file-name):
4711 * dirtrack.el (shell-prefixed-directory-name, shell-process-cd):
4712 * generic-x.el (comint-mode, comint-exec):
4713 * image-dired.el (widget-forward):
4714 * info.el (speedbar-add-expansion-list, speedbar-center-buffer-smartly)
4715 (speedbar-change-expand-button-char)
4716 (speedbar-change-initial-expansion-list, speedbar-delete-subblock)
4717 (speedbar-make-specialized-keymap, speedbar-make-tag-line):
4718 * printing.el (easy-menu-add-item, easy-menu-remove-item)
4719 (widget-field-action, widget-value-set):
4720 * speedbar.el (imenu--make-index-alist):
4721 * term.el (ring-empty-p, ring-ref, ring-insert-at-beginning)
4722 (ring-length, ring-insert):
4723 * vcursor.el (compare-windows-skip-whitespace):
4724 * woman.el (dired-get-filename):
4725 Declare functions.
4726
4727 * term/w32-win.el (cygwin-convert-path-from-windows): Fix declaration.
4728
c9f618db
JB
47292012-11-17 Jay Belanger <jay.p.belanger@gmail.com>
4730
4731 * calc/calc.el (calc-gregorian-switch): New variable.
4732
4733 * calc/calc-forms.el (math-day-in-year, math-dt-before-p)
4734 (math-absolute-from-gregorian-dt, math-absolute-from-julian-dt)
4735 (math-date-to-julian-dt, math-date-to-gregorian-dt): New functions.
4736 (math-leap-year-p): Add option to distinguish between Julian
4737 and Gregorian calendars.
4738 (math-day-number): Use `math-day-in-year' to do the computations.
4739 (math-absolute-from-dt): Rename from `math-absolute-from-date'.
4740 Use `math-absolute-from-gregorian' and `math-absolute-from-julian'
4741 to do the computations.
4742 (math-date-to-dt): Use `math-date-to-julian-dt' and
4743 `math-date-to-gregorian-dt' to do the computations.
4744 (calcFunc-weekday, math-format-date-part): Use the new version of
4745 the DATE to determine the weekday.
4746 (calcFunc-newmonth, calcFunc-newyear): Use `calc-gregorian-switch'
4747 when necessary.
4748
3804f7bc
EZ
47492012-11-17 Eli Zaretskii <eliz@gnu.org>
4750
4751 * term/w32-win.el (w32-handle-dropped-file): Use 'file://' only on
4752 Cygwin; otherwise use 'file:'. (Bug#12914)
4753 (cygwin-convert-path-from-windows): Declare, to avoid
4754 byte-compiler warnings.
4755
de959d4d
AP
47562012-11-17 Andreas Politz <politza@fh-trier.de>
4757
4758 * ibuffer.el (ibuffer-mark-forward, ibuffer-unmark-forward)
4759 (ibuffer-unmark-backward, ibuffer-mark-interactive): Support plain
4760 prefix and negative numeric prefix args (Bug#12795).
4761
e45deaef
SB
47622012-11-17 Stephen Berman <stephen.berman@gmx.net>
4763
4764 * play/gamegrid.el (gamegrid-add-score-with-update-game-score-1):
4765 Don't signal an error with a score that is too low to add to the
4766 list of top scores. (Bug#12779)
4767
ec15e0ff
CY
47682012-11-17 Chong Yidong <cyd@gnu.org>
4769
8e7696a1
CY
4770 * help-mode.el (help-xref-interned): End on point-min (Bug#12737).
4771
ec15e0ff
CY
4772 * filecache.el (file-cache-add-file): Handle relative file name in
4773 the argument (Bug#12694).
4774
60c4ee66
JH
47752012-11-16 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
4776
4777 * eshell/em-unix.el (eshell/mkdir): Handle "--parents" (bug#12897).
4778
cdc5d88c
SM
47792012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
4780
dd0c5bbb
SM
4781 * emacs-lisp/advice.el (ad-make-advised-definition): Improve last fix.
4782
cdc5d88c
SM
4783 * emacs-lisp/cl-lib.el: Set more meaningful version number.
4784
0ff7851c
MR
47852012-11-16 Martin Rudalics <rudalics@gmx.at>
4786
4787 * window.el (enlarge-window, shrink-window): Don't mention return
4788 value in doc-string (Bug#12896).
4789 (window--display-buffer): Don't resize frames - it won't work
4790 with all window managers and defeat pop-up-frame-alist.
4791 (display-buffer-alist): In doc-string explain that CONDITION can
4792 be a function and which arguments are passed to it (Bug#12854).
4793 (display-buffer-assq-regexp): New argument ACTION. Handle lambda
4794 expressions (Bug#12854).
4795 (display-buffer): Pass ACTION argument to
4796 display-buffer-assq-regexp.
4797
dedd1884
GM
47982012-11-16 Glenn Morris <rgm@gnu.org>
4799
7c82753d
GM
4800 * window.el (fit-frame-to-buffer-bottom-margin)
4801 (fit-frame-to-buffer, fit-window-to-buffer): Doc fixes.
4802
dedd1884
GM
4803 * faces.el (face-underline-p): Use face-attribute-specified-or.
4804
96e05507 48052012-11-16 Juanma Barranquero <lekktu@gmail.com>
662b0ee6
JB
4806
4807 * emacs-lisp/cl-macs.el (cl-loop, cl-do, cl-do*): Doc fixes.
4808
96e05507 48092012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
eb31fa40
SM
4810
4811 * emacs-lisp/cl-macs.el (cl-flet, cl-flet*): Fix docstring (bug#12895).
4812
96e05507 48132012-11-16 Glenn Morris <rgm@gnu.org>
e2e13f18 4814
17c083ac
GM
4815 * eshell/em-cmpl.el (eshell-pcomplete): New command. (Bug#12838)
4816 (eshell-cmpl-initialize): Bind eshell-pcomplete to TAB, C-i.
4817
bde3c6c0
GM
4818 * faces.el (face-underline-p): Doc fix. Handle :underline being
4819 things other than `t' (a string, a list).
4820 (face-inverse-video-p): Doc fix.
4821 (set-face-underline): Rename it back from set-face-underline-p.
4822 Doc fix. Allow interactive input of values other than t.
4823 (read-face-attribute): Apply formatting to :underline,
4824 since like :box and :stipple it can take list values.
4825
e2e13f18
GM
4826 * term.el (ansi-term): Don't let C-x escape-char binding
4827 clobber the more standard C-c binding. (Bug#12842)
4828
e0ea8060
GM
4829 * subr.el (set-temporary-overlay-map): Doc fix.
4830
96e05507 48312012-11-16 Martin Rudalics <rudalics@gmx.at>
92346275
MR
4832
4833 * window.el (record-window-buffer)
4834 (display-buffer-record-window): When copying the markers to
4835 window-point preserve window-point-insertion-type. (Bug#12588)
4836
96e05507 48372012-11-16 Glenn Morris <rgm@gnu.org>
7b1bf173
GM
4838
4839 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
4840 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error):
4841 Use new names for hooks rather than obsolete aliases.
4842
faeafc01
DC
48432012-11-15 Daniel Colascione <dancol@dancol.org>
4844
4845 * term/w32-win.el (w32-handle-dropped-file): Use a "file://"
9533048d
DC
4846 prefix instead of "file:" so that when FILE-NAME begins with "//",
4847 as it does when the target file is on a network share, url-handler
4848 isn't confused.
4849
1232d6c2
SM
48502012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
4851
4852 * emacs-lisp/advice.el (ad-definition-type): Make sure we don't use
4853 a preactivated advice from an old advice.el; they're not compatible!
4854
47f01a8a
KY
48552012-11-15 Katsumi Yamaoka <yamaoka@jpl.org>
4856
4857 * emacs-lisp/nadvice.el (advice--make-interactive-form):
4858 Fix string-spec case.
4859
4860 * emacs-lisp/advice.el (ad-make-advised-definition): Fix undefined case.
4861
a61428c4
SM
48622012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
4863
4864 * emacs-lisp/nadvice.el: Add buffer-local support to add-function.
4865 (advice--buffer-local-function-sample): New var.
4866 (advice--set-buffer-local, advice--buffer-local): New functions.
4867 (add-function, remove-function): Use them.
4868
875ce3a7
DA
48692012-11-15 Drew Adams <drew.adams@oracle.com>
4870
4871 * imenu.el (imenu--split-submenus): Use imenu--subalist-p (bug#12717).
4872
589fc479
SM
48732012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
4874
4875 * emacs-lisp/cl-macs.el (cl--transform-lambda): Defend against
4876 potential binding of print-gensym to t, and prettify (back)quotes in
4877 case they appear in args's default values (bug#12884).
4878
1668ea90
SM
48792012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
4880
4881 * emacs-lisp/nadvice.el: Add around advice for interactive specs.
4882 (advice-eval-interactive-spec): New function.
4883 (advice--make-interactive-form): Support around advice (bug#12844).
4884
8619323f
DG
48852012-11-14 Dmitry Gutov <dgutov@yandex.ru>
4886
4887 * progmodes/ruby-mode.el (ruby-expr-beg): Make heredoc detection
4888 more strict. Add docstring.
c62792e7
DG
4889 (ruby-expression-expansion-re): Extract from
4890 `ruby-match-expression-expansion'.
4891 (ruby-syntax-propertize-function): After everything else, search
4892 for expansions in string literals, mark their insides as
4893 whitespace syntax and save match data for font-lock.
4894 (ruby-font-lock-keywords): Use the 2nd group from expression
4895 expansion matches.
4896 (ruby-match-expression-expansion): Use the match data saved to the
4897 text property in ruby-syntax-propertize-function.
8619323f 4898
9c3912d3
SM
48992012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
4900
4901 * emacs-lisp/gv.el (setf): Fix debug spec for multiple assignments
4902 (bug#12879).
4903
5e9419e8
DG
49042012-11-13 Dmitry Gutov <dgutov@yandex.ru>
4905
4906 * progmodes/ruby-mode.el (ruby-move-to-block): Looks for a block
4907 start/end keyword a bit harder. Works with different values of N.
4908 Add more comments.
4909 (ruby-end-of-block): Update accordingly.
4910
3c442f8b
SM
49112012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
4912
fa470af0
SM
4913 * woman.el (woman-file-name): Don't mess with unread-command-events
4914 (bug#12861).
4915
3c442f8b
SM
4916 * emacs-lisp/advice.el: Layer on top of nadvice.el.
4917 Remove out of date self-require hack.
4918 (ad-do-advised-functions): Use simple `dolist'.
4919 (ad-advice-name, ad-advice-protected, ad-advice-enabled)
4920 (ad-advice-definition): Redefine as functions.
4921 (ad-advice-classes): Move before first use.
4922 (ad-make-origname, ad-set-orig-definition, ad-clear-orig-definition)
fa470af0 4923 (ad-make-mapped-call, ad-make-advised-docstring,ad-make-plain-docstring)
3c442f8b 4924 (ad--defalias-fset): Remove functions.
fa470af0 4925 (ad-make-advicefunname, ad-clear-advicefunname-definition): New funs.
3c442f8b
SM
4926 (ad-get-orig-definition): Rewrite.
4927 (ad-make-advised-definition-docstring): Change base docstring.
4928 (ad-real-orig-definition): Rewrite.
4929 (ad-map-arglists): Change name of called function.
4930 (ad--make-advised-docstring): Redirect `function' from ad-Advice-...
4931 (ad-make-advised-definition): Simplify.
4932 (ad-assemble-advised-definition): Tweak for new calling context.
fa470af0 4933 (ad-activate-advised-definition): Setup ad-Advice-* i.s.o ad-Orig-*.
3c442f8b
SM
4934 (ad--defalias-fset): Rename from ad-handle-definition. Make it set the
4935 function and call ad-activate if needed.
4936 (ad-activate, ad-deactivate): Don't call ad-handle-definition any more.
4937 (ad-recover): Clear ad-Advice-* instead of ad-Orig-*.
4938 (ad-compile-function): Compile ad-Advice-*.
4939 (ad-activate-on-top-level, ad-with-auto-activation-disabled): Remove.
4940 (ad-start-advice, ad-stop-advice): Remove.
4941
5745cae6
DG
49422012-11-13 Dmitry Gutov <dgutov@yandex.ru>
4943
4944 * progmodes/ruby-mode.el (ruby-add-log-current-method): Print the
4945 period before class method names, not after. Remove handling of
4946 one impossible case. Add comments.
4947
413d4689
SM
49482012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
4949
7db1bda8
SM
4950 * emacs-lisp/advice.el: Remove support for freezing.
4951 (ad-make-freeze-docstring, ad-make-freeze-definition): Remove functions.
4952 (ad-make-single-advice-docstring, ad-defadvice-flags, defadvice):
4953 Remove support for `freeze'.
4954
413d4689
SM
4955 * emacs-lisp/cl.el (dolist, dotimes, declare): Use advice-add to
4956 override the default.
4957 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Rewrite without using
4958 cl--dotimes/dolist.
4959 * subr.el (dolist, dotimes, declare): Redefine them normally, even when
4960 `cl' is loaded.
4961
4962 * emacs-lisp/nadvice.el (advice--normalize): New function, extracted
4963 from add-advice.
4964 (advice--strip-macro): New function.
4965 (advice--defalias-fset): Use them to handle macros.
4966 (advice-add): Use them.
4967 (advice-member-p): Correctly handle macros.
4968
f178c32d
DG
49692012-11-13 Dmitry Gutov <dgutov@yandex.ru>
4970
7db1bda8
SM
4971 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
4972 Never font-lock the beginning of singleton class as heredoc.
f178c32d 4973
f78ee6af 49742012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
f8705f6e
SM
4975
4976 * emacs-lisp/gv.el (gv-define-simple-setter): One more fix (bug#12871).
4977
f78ee6af 49782012-11-13 Wolfgang Jenkner <wjenkner@inode.at>
9db94175
WJ
4979
4980 * ansi-color.el (ansi-color-apply-sequence): Implement SGR codes
f78ee6af
GM
4981 39 and 49 (bug#12792). Also, treat unimplemented parameters as 0,
4982 thereby restoring the behavior of revisions prior to 2012-08-15T03:33:55Z!monnier@iro.umontreal.ca.
9db94175 4983
f78ee6af 49842012-11-13 Fabián Ezequiel Gallina <fgallina@cuca>
2e6625b5
FEG
4985
4986 Fix end-of-defun misbehavior.
4987 * progmodes/python.el (python-nav-beginning-of-defun): Rename from
4988 python-beginning-of-defun-function. Handle nested defuns
4989 correctly.
4990 (python-nav-end-of-defun): Rename from
4991 python-end-of-defun-function. Ensure forward movement.
f8705f6e 4992 (python-info-current-defun): Reimplement to work as intended
2e6625b5
FEG
4993 with new fixed python-nav-{end,beginning}-of-defun. Stop scanning
4994 parent defuns as soon as possible.
4995
f78ee6af 49962012-11-13 Glenn Morris <rgm@gnu.org>
24c38527
GM
4997
4998 * progmodes/flymake.el (flymake-error-bitmap)
4999 (flymake-warning-bitmap, flymake-fringe-indicator-position): Doc fixes.
5000 (flymake-error-bitmap, flymake-warning-bitmap): Fix :types.
5001
f78ee6af 50022012-11-13 Dmitry Gutov <dgutov@yandex.ru>
d1e1e53d
DG
5003
5004 * progmodes/ruby-mode.el (ruby-move-to-block): When moving
5005 backward, always stop at indentation. Reverts the change from
5006 2012-08-12T22:06:56Z!monnier@iro.umontreal.ca (Bug#12851).
5007
f78ee6af 50082012-11-13 Glenn Morris <rgm@gnu.org>
68146aa5 5009
a1d3e07e
GM
5010 * ibuffer.el (ibuffer-mode-map, ibuffer-mode):
5011 Add ibuffer-filter-by-derived-mode.
5012
84acf328
GM
5013 * ibuffer.el (ibuffer-mode-map): Don't have two menu items with
5014 the same name shadowing each other.
5015
38785e75
GM
5016 * window.el (with-temp-buffer-window): Doc tweak.
5017
57fc0fee
GM
5018 * emacs-lisp/debug.el (debugger-bury-or-kill): Doc tweak.
5019
6ba6a3e5
GM
5020 * help.el (temp-buffer-max-height):
5021 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-bottom-margin):
68146aa5
GM
5022 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix :version.
5023
231d8498
SM
50242012-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
5025
5026 * emacs-lisp/nadvice.el: New package.
5027 * subr.el (special-form-p): New function.
5028 * emacs-lisp/elp.el: Use lexical-binding and advice-add.
5029 (elp-all-instrumented-list): Remove var.
5030 (elp-not-profilable): Remove elp-wrapper.
5031 (elp-profilable-p): Use autoloadp and special-form-p.
5032 (elp--advice-name): New const.
5033 (elp-instrument-function): Use advice-add.
5034 (elp--instrumented-p): New predicate.
5035 (elp-restore-function): Use advice-remove.
5036 (elp-restore-all, elp-reset-all): Use mapatoms.
5037 (elp-set-master): Use elp--instrumented-p.
5038 (elp--make-wrapper): Rename from elp-wrapper, return a function
5039 suitable for advice-add. Use cl-inf.
5040 (elp-results): Use mapatoms+elp--instrumented-p.
5041 * emacs-lisp/debug.el: Use lexical-binding and advice-add.
5042 (debug-function-list): Remove var.
5043 (debug): Rename arg, and then let-bind it explicitly inside.
5044 (debugger-setup-buffer): Rename arg.
5045 (debugger-setup-buffer): Adjust counts to new debug-on-entry setup.
5046 (debugger-frame-number): Adjust to new debug-on-entry setup.
5047 (debug--implement-debug-on-entry): Rename from
5048 implement-debug-on-entry, add argument.
5049 (debugger-special-form-p): Remove, use special-form-p instead.
5050 (debug-on-entry): Use advice-add.
5051 (debug--function-list): New function.
5052 (cancel-debug-on-entry): Use it, along with advice-remove.
5053 (debug-arglist, debug-convert-byte-code, debug-on-entry-1): Remove.
5054 (debugger-list-functions): Use debug--function-list instead of
5055 debug-function-list.
5056 * emacs-lisp/advice.el (ad-save-real-definition): Remove, unused.
5057 (ad-special-form-p): Remove, use special-form-p instead.
5058 (ad-set-advice-info): Use add-function and remove-function.
5059 (ad--defalias-fset): Adjust accordingly.
5060
19e09879
GM
50612012-11-10 Glenn Morris <rgm@gnu.org>
5062
714cebd1
GM
5063 * mail/emacsbug.el (report-emacs-bug-tracker-url)
5064 (report-emacs-bug-bug-alist, report-emacs-bug-choice-widget)
5065 (report-emacs-bug-create-existing-bugs-buffer)
5066 (report-emacs-bug-parse-query-results)
5067 (report-emacs-bug-query-existing-bugs): Remove. (Bug#7449)
5068
bf67dafa
GM
5069 * term.el (term-default-fg-color, term-default-bg-color):
5070 Make obsolete, rather than just saying "deprecated" in the doc.
5071
19e09879
GM
5072 * term.el (term): Rename from `term-face'.
5073 (term-current-face, ansi-term-color-vector)
5074 (term-default-fg-color, term-default-bg-color, term-ansi-reset):
5075 Update all users.
5076
6baf66d5 50772012-11-10 Jan Djärv <jan.h.d@swipnet.se>
531bdce6
JD
5078
5079 * server.el (server-create-window-system-frame): Handle Nextstep
5080 specially (Bug#12780).
5081
6baf66d5 50822012-11-10 Glenn Morris <rgm@gnu.org>
fedb154e
GM
5083
5084 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
5085 Unautoload, and make obsolete. (Bug#7449)
5086
6baf66d5 50872012-11-10 Chong Yidong <cyd@gnu.org>
9d9e48d9
CY
5088
5089 * vc/diff-mode.el (diff-delete-trailing-whitespace): Rewrite, and
5090 rename from diff-remove-trailing-whitespace (Bug#12831).
5091
6baf66d5 50922012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
32170f7f
SM
5093
5094 * emacs-lisp/advice.el: Require `cl-lib' at run-time to fix
5095 miscompilation of trace.el.
5096
6baf66d5 50972012-11-10 Glenn Morris <rgm@gnu.org>
26f59676
GM
5098
5099 * vc/diff-mode.el (diff-remove-trailing-whitespace): Doc fix.
5100
6baf66d5 51012012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
41626722
SM
5102
5103 * emacs-lisp/gv.el (gv-define-simple-setter): Fix last change
5104 (bug#12812).
5105
6baf66d5 51062012-11-10 Chong Yidong <cyd@gnu.org>
7d806bfe
CY
5107
5108 * minibuf-eldef.el (minibuffer-eldef-shorten-default): Convert to
5109 a defcustom with an appropriate :set function.
5110 (minibuffer-default--in-prompt-regexps): New function.
5111
6baf66d5 51122012-11-10 Glenn Morris <rgm@gnu.org>
2ee1d59f 5113
031b2ea7
GM
5114 * emacs-lisp/cl.el (define-setf-expander, defsetf)
5115 (define-modify-macro): Doc fixes.
5116
2ee1d59f
GM
5117 * emacs-lisp/gv.el (gv-letplace): Fix doc typo.
5118 (gv-define-simple-setter): Update doc of `fix-return'.
5119
6baf66d5 51202012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
d57c286e 5121
b715ed44
SM
5122 * emacs-lisp/gv.el (gv-define-simple-setter): Don't evaluate `val'
5123 twice when `fix-return' is set (bug#12813).
5124
d57c286e
SM
5125 * emacs-lisp/cl.el (defsetf): Pass the third arg to
5126 gv-define-simple-setter (bug#12812).
5127
c9cac599
SM
5128 * woman.el (woman-decode-region): Disable adaptive-fill when rendering
5129 (bug#12756).
5130
6baf66d5 51312012-11-10 Glenn Morris <rgm@gnu.org>
6b3770fb
GM
5132
5133 * emacs-lisp/gv.el (gv-define-setter): Fix doc typo.
5134
5593ed90
GM
5135 * emacs-lisp/cl-extra.el (cl-prettyexpand):
5136 * emacs-lisp/cl-lib.el (cl-proclaim, cl-declaim):
5137 * emacs-lisp/cl-macs.el (cl-destructuring-bind, cl-locally)
5138 (cl-the, cl-compiler-macroexpand): Add basic doc strings.
5139
5140 * emacs-lisp/cl-extra.el (cl-maplist, cl-mapcan): Doc fix.
5141
05a859c1
LL
51422012-11-10 Leo Liu <sdl.web@gmail.com>
5143
5144 * ido.el (ido-set-matches-1): Improve flex matching performance by
5145 removing backtracking in the regexp (suggested by Stefan). (Bug#12796)
5146
32e5c58c
SM
51472012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
5148
5149 * emacs-lisp/advice.el (ad-set-advice-info): Set defalias-fset-function.
5150 (ad--defalias-fset): New function.
5151 (ad-safe-fset): Remove.
5152 (ad-make-freeze-definition): Use cl-letf*.
5153
f5925cd9
SM
51542012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
5155
da03ef8a
SM
5156 * subr.el (dolist): Don't bind VAR in RESULT.
5157
6858633a
SM
5158 * emacs-lisp/advice.el: Miscellaneous cleanup. Use lexical-binding.
5159 (fset, documentation): Don't save real def since we don't advise.
5160 (ad-do-advised-functions): Remove problematic `result-form'.
5161 (ad-safe-fset): `ad-real-fset' => `fset'.
5162 (ad-read-advised-function): Don't assume that ad-do-advised-functions
5163 uses CL's dolist internally.
5164 (ad-arglist): Remove unused arg `name'.
5165 (ad-docstring, ad-make-advised-docstring):
5166 `ad-real-documentation' => `documentation'.
5167 (warning-suppress-types): Declare.
5168 (ad-set-arguments): Simple CSE.
5169 (ad-recover-normality): Sanity check.
5170
f5925cd9
SM
5171 * emacs-lisp/bytecomp.el (byte-compile-out-toplevel): Don't turn
5172 (funcall '(lambda ..) ..) into ((lambda ..) ..).
5173
93a66b3a
VB
51742012-11-09 Vincent Belaïche <vincentb1@users.sourceforge.net>
5175
5176 * ses.el: symbol to coordinate mapping is made by symbol property
f5925cd9
SM
5177 `ses-cell'. This means that the same mapping is done for all SES
5178 sheets. That is good enough for cells with standard A1 names, but
5179 not for named cell. So a hash map is added for the latter.
5180 (defconst ses-localvars): Add local variable ses--named-cell-hashmap
93a66b3a
VB
5181 (ses-sym-rowcol): Use hashmap for named cell.
5182 (ses-is-cell-sym-p): New defun.
5183 (ses-decode-cell-symbol): New defun.
f5925cd9
SM
5184 (ses-create-cell-variable): Add cell to hashmap when name is not
5185 A1-like.
93a66b3a
VB
5186 (ses-rename-cell): Check that cell new name is not already in
5187 spreadsheet with the use of ses-is-cell-sym-p
5188 (ses-rename-cell): Use hash map for named cells, but accept also
5189 renaming back to A1-like.
5190
67dd8ad1
SM
51912012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
5192
57618ecf
SM
5193 * emacs-lisp/advice.el: Use new dynamic docstrings.
5194 (ad-make-advised-definition-docstring, ad-advised-definition-p):
5195 Use dynamic-docstring-function instead of ad-advice-info.
5196 (ad--make-advised-docstring): New function extracted from
5197 ad-make-advised-docstring.
5198 (ad-make-advised-docstring): Use it.
5199 * progmodes/sql.el (sql--make-help-docstring): New function, extracted
5200 from sql-help.
5201 (sql-help): Use it with dynamic-docstring-function.
5202
67dd8ad1
SM
5203 * env.el (env--substitute-vars-regexp): Don't use rx (for bootstrap).
5204
be883b34
SM
52052012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
5206
d41706aa
SM
5207 * files.el (hack-one-local-variable--obsolete): New function.
5208 (hack-one-local-variable): Use it for obsolete settings.
5209
85e55412
SM
5210 * subr.el (locate-user-emacs-file): If both old and new name exist, use
5211 the new name.
5212
be883b34
SM
5213 * progmodes/js.el (js--filling-paragraph): New var.
5214 (c-forward-sws, c-backward-sws, c-beginning-of-macro): Advise.
5215 (js-c-fill-paragraph): Prefer advice to cl-letf so the rebinding is
5216 less sneaky.
5217
cabc040a
JD
52182012-11-08 Julien Danjou <julien@danjou.info>
5219
5220 * progmodes/ruby-mode.el (auto-mode-alist): Add Rakefile in
5221 `auto-mode-alist' (Bug#12835).
5222
d14bb752
SM
52232012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
5224
79b3e376
SM
5225 * progmodes/perl-mode.el (perl-prettify-symbols): New defcustom.
5226 (perl--prettify-symbols-alist): New const.
5227 (perl--font-lock-compose-symbol, perl--font-lock-symbols-keywords):
5228 New functions.
5229 (perl-font-lock-keywords-2): Use them.
5230 (perl-electric-noindent-p): New function.
5231 (perl-mode): Use it to set up electric-indent-mode.
5232 (perl-electric-terminator, perl-indent-command): Mark obsolete.
5233 (perl-mode-map): Remove bindings for them.
5234 (perl-imenu-generic-expression, perl-outline-level):
5235 Match functions&packages in column>0.
5236
3b11e6ac
SM
5237 * env.el (env--substitute-vars-regexp): New const.
5238 (substitute-env-vars): Use it. Add `only-defined' arg.
5239 * net/tramp.el (tramp-replace-environment-variables): Use it.
5240
784c1a7b
SM
5241 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
5242 Byte-compile *before* eval in eval-and-compile.
5243 (byte-compile-log-warning): Remove redundant inhibit-read-only.
5244 (byte-compile-file-form-autoload): Don't hide actual definition.
5245 (byte-compile-maybe-guarded): Accept `functionp' as well.
5246
d14bb752
SM
5247 * emacs-lisp/gv.el (gv-ref, gv-deref): New function and macro.
5248
499a0f7a
MA
52492012-11-07 Michael Albinus <michael.albinus@gmx.de>
5250
5251 * notifications.el (notifications-get-server-information-method):
5252 New defconst.
5253 (notifications-get-capabilities): Fix docstring.
5254 (notifications-get-server-information): New defun.
5255
f0704a9a
AM
52562012-11-06 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5257
5258 * textmodes/ispell.el (ispell-region): Standard re-indent for better
5259 readability.
5260
b159a1fd
AM
5261 * textmodes/ispell.el: Experimental support for support debugging.
5262 (ispell-create-debug-buffer): Create a `ispell-debug-buffer' debug
5263 buffer for ispell.
5264 (ispell-print-if-debug): New function to print stuff to
5265 `ispell-debug-buffer' if debugging is enabled.
5266 (ispell-region, ispell-process-line): Use `ispell-print-if-debug' to
5267 show some debugging info.
5268 (ispell-buffer-with-debug): New function that creates a debugging
5269 buffer and calls `ispell-buffer' with debugging enabled.
5270
056cb3a1
AM
5271 * textmodes/ispell.el (ispell-region): Do not prefix sent string by
5272 comment in autoconf mode. (Bug#12768)
5273
8e6a67b7
DA
52742012-11-06 Dmitry Antipov <dmantipov@yandex.ru>
5275
5276 * emacs-lisp/byte-opt.el (toplevel): Add compare-window-configurations,
5277 frame-first-window, frame-root-window, frame-selected-window,
5278 minibuffer-selected-window, minibuffer-window,
5279 window-absolute-pixel-edges, window-at, window-body-height,
5280 window-body-width, window-display-table, window-combination-limit,
5281 window-frame, window-fringes, window-inside-absolute-pixel-edges,
5282 window-inside-edges, window-inside-pixel-edges, window-left-child,
5283 window-left-column, window-margins, window-next-buffers,
5284 window-next-sibling, window-new-normal, window-new-total,
5285 window-normal-size, window-parameter, window-parameters, window-parent,
5286 window-pixel-edges, window-point, window-prev-buffers,
5287 window-prev-sibling, window-redisplay-end-trigger, window-scroll-bars,
5288 window-start, window-text-height, window-top-child, window-top-line,
5289 window-total-height, window-total-width and window-use-time to the list
5290 of functions without side-effects.
5291 (toplevel): Add window-valid-p to the list of error-free functions
5292 without side-effects.
5293
53fc914f
AM
52942012-11-05 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5295
f5925cd9
SM
5296 * textmodes/ispell.el (ispell-program-name):
5297 Update spellchecker parameters when customized.
53fc914f 5298
9749e2b0
GM
52992012-11-04 Glenn Morris <rgm@gnu.org>
5300
5301 * vc/vc-svn.el (vc-svn-state-heuristic): Avoid calling svn. (Bug#7850)
5302
2cbafa56
CY
53032012-11-04 Chong Yidong <cyd@gnu.org>
5304
5305 * bookmark.el (bookmark-bmenu-switch-other-window): Avoid binding
5306 same-window-* variables.
5307
85178ca1
JL
53082012-11-04 Juri Linkov <juri@jurta.org>
5309
5310 * isearch.el (isearch-help-for-help, isearch-describe-bindings)
5311 (isearch-describe-key, isearch-describe-mode): Use a display
5312 action instead of binding same-window-* variables (Bug#10040).
5313
5c677d44
GM
53142012-11-03 Glenn Morris <rgm@gnu.org>
5315
49138400
GM
5316 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
5317 Rename handler properties back from cl-- to cl-. (Bug#12788)
5318
5c677d44
GM
5319 * emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string.
5320
1d4341f9
EZ
53212012-11-03 Eli Zaretskii <eliz@gnu.org>
5322
5323 * term/pc-win.el: Don't load term/internal from here.
5324
5325 * loadup.el: Load term/internal from here.
5326
12fd5ee1
FEG
53272012-11-03 Fabián Ezequiel Gallina <fgallina@cuca>
5328
5329 * progmodes/python.el (inferior-python-mode): Fix hang in
5330 jit-lock (Bug#12645).
5331
43bcfda6
MR
53322012-11-03 Martin Rudalics <rudalics@gmx.at>
5333
5334 * window.el (switch-to-visible-buffer)
5335 (switch-to-buffer-preserve-window-point): Fix doc-strings.
5336
376a8e83
GM
53372012-11-03 Glenn Morris <rgm@gnu.org>
5338
5339 * emacs-lisp/cl-lib.el (cl--random-time):
5340 Rename from cl-random-time. (Bug#12773)
5341 (cl--gensym-counter, cl--random-state): Update callers.
5342 * emacs-lisp/cl-extra.el (cl-make-random-state): Update callers.
5343
0f7b074f
CY
53442012-11-03 Chong Yidong <cyd@gnu.org>
5345
5346 * cus-start.el: Make cursor-type customizable (Bug#11633).
5347
3a6851d9
GM
53482012-11-02 Glenn Morris <rgm@gnu.org>
5349
00a3b041
GM
5350 * filecache.el: No need to load find-lisp when compiling.
5351 (find-lisp-find-files): Autoload it.
5352 (file-cache-add-directory-recursively): Don't require find-lisp.
5353
11fef14a
GM
5354 * image.el (image-type-from-file-name): Trivial simplification.
5355
3a6851d9
GM
5356 * emacs-lisp/bytecomp.el (byte-compile-eval):
5357 Decouple "noruntime" and "cl-functions" warnings.
5358
b4b096e4
SB
53592012-11-01 Stephen Berman <stephen.berman@gmx.net>
5360
5361 * play/gomoku.el (gomoku-display-statistics): Update mode line
5362 only if in Gomoku buffer; don't capitalize "won" (Bug#12771).
5363
218e997a
MR
53642012-10-31 Martin Rudalics <rudalics@gmx.at>
5365
5366 * window.el (quit-restore-window): If the window has been
5367 created on an existing frame and ended up as the sole window on
5368 that frame, do not delete it (Bug#12764).
5369
b08b6da7
SM
53702012-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
5371
3618df45
SM
5372 * progmodes/sh-script.el (sh--inside-noncommand-expression):
5373 Rename from sh--inside-arithmetic-expression, handle more cases
5374 (bug#11263).
5375
b08b6da7
SM
5376 * progmodes/sh-script.el (sh--inside-arithmetic-expression): New func.
5377 (sh-font-lock-open-heredoc): Use it (bug#12770).
5378
4ddedf94
GM
53792012-10-30 Glenn Morris <rgm@gnu.org>
5380
f43a5263
GM
5381 * emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie. Doc fix.
5382
4ddedf94
GM
5383 * emacs-lisp/cl.el (letf): Doc fix. (Bug#12760)
5384
748b0d84
CY
53852012-10-29 Chong Yidong <cyd@gnu.org>
5386
b5dd9a77
CY
5387 * isearch.el (isearch-other-meta-char): Ensure that a reprocessed
5388 function key is stored in a keyboard macro (Bug#4894).
5389
748b0d84
CY
5390 * thingatpt.el (number-at-point): Apply a thing-at-point property.
5391
e07fcbdc
SM
53922012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
5393
d7f9cc85
SM
5394 * vc/diff-mode.el (diff-context->unified): Don't get confused by "hunk
5395 header comments".
5396 (diff-unified->context, diff-context->unified)
5397 (diff-reverse-direction, diff-fixup-modifs): Use `use-region-p'.
5398
c606253c
SM
5399 * emacs-lisp/cl.el (letf): Add missing indent rules (bug#12759).
5400
e07fcbdc
SM
5401 * files.el (find-alternate-file): Only ask one question (bug#12487).
5402
894b9dd9
CY
54032012-10-29 Chong Yidong <cyd@gnu.org>
5404
1dc2755a
CY
5405 * vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
5406 Suggested by Dan Nicolaescu (Bug#6326).
5407
329c48d8
CY
5408 * info.el (Info-complete-menu-item): Avoid duplicates (Bug#12705).
5409
2230fa5b 5410 * startup.el (fancy-about-screen): Don't message (Bug#12680).
5c2f2631 5411
e84cad57
CY
5412 * thingatpt.el (thing-at-point): Doc fix (Bug#12691).
5413
1913c5f5
CY
5414 * imenu.el (imenu): Inhibit push-mark message (Bug#12726).
5415
894b9dd9
CY
5416 * face-remap.el (face-remap-add-relative): Handle the case where a
5417 face-remapping-alist entry is a cons cell (Bug#12762).
5418
329c48d8
CY
54192012-10-29 Kevin Ryde <user42@zip.com.au>
5420
5421 * woman.el (woman-parse-numeric-value): Handle picas correctly
5422 (Bug#12639).
5423
a0ccbcbd
GM
54242012-10-29 Glenn Morris <rgm@gnu.org>
5425
5426 * emacs-lisp/cl.el (defsetf): Doc fix.
5427
b3871e59
SM
54282012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
5429
5430 * progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation
5431 syntax to the matching opener, if any (bug#12547).
5432 (sh-smie-sh-forward-token, sh-smie-sh-backward-token): Recognize this
5433 matching open as a "case-(".
5434 (sh-smie-rc-grammar): Add a corresponding rule for it.
5435
cd44022c
DH
54362012-10-28 Daniel Hackney <dan@haxney.org>
5437
5438 * emacs-lisp/package.el (package-generate-autoloads): Kill buffer
5439 "PKGNAME-autoloads.el" in case we created it.
5440
70edffb1
SM
54412012-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
5442
86957a0c
SM
5443 * minibuffer.el (completion--sifn-requote): Rewrite to handle things
5444 like Tramp's "/foo:~bar//baz" -> "/scpc:foo:/baz" mapping (bug#11714).
b9383404 5445 (completion--twq-all): Disable too-strict assertions.
86957a0c 5446
70edffb1
SM
5447 * tmm.el (tmm-prompt): Use map-keymap (bug#12744).
5448
d069271c
EZ
54492012-10-27 Eli Zaretskii <eliz@gnu.org>
5450
5451 * profiler.el (profiler-report-make-entry-part): Fix help-echo
5452 text to match the real keybindings.
5453
e2f022a3
JL
54542012-10-27 Juri Linkov <juri@jurta.org>
5455
5456 * wdired.el (wdired-keep-marker-rename): New defcustom.
5457 (wdired-do-renames): Use it instead of `dired-keep-marker-rename'.
5458 (Bug#11795)
5459
5460 * dired.el (dired-keep-marker-rename): Add reference to
5461 `wdired-keep-marker-rename' in the docstring.
5462 Add default character value ?R to display initially in
5463 Customization UI instead of ?@.
5464
df171c23
MR
54652012-10-27 Martin Rudalics <rudalics@gmx.at>
5466
5467 * window.el (display-buffer): In doc-string describe
5468 window-height and window-width alist entries.
5469
5470 * time.el (display-time-world): Restore fit-window-to-buffer
5471 behavior.
5472
05b621a6
CY
54732012-10-27 Chong Yidong <cyd@gnu.org>
5474
5475 * subr.el (insert-buffer-substring-as-yank): Doc fix.
5476
55f197b2
J
54772012-10-26 Jambunathan K <kjambunathan@gmail.com>
5478
5479 * minibuffer.el (completion-category-overrides): New completion
5480 category `bookmark' (bug#11131).
5481
372212df
SM
54822012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
5483
150f809c
SM
5484 * emacs-lisp/advice.el (ad-assemble-advised-definition):
5485 Silence bogus compiler warnings for ad-do-it.
5486
372212df
SM
5487 * bookmark.el (bookmark-completing-read): Set the completion category
5488 to `bookmark' (bug#11131).
5489
c5772569
B
54902012-10-26 Bastien <bzg@altern.org>
5491 Stefan Monnier <monnier@iro.umontreal.ca>
5492
5493 * face-remap.el: Use lexical-binding.
5494 (text-scale-adjust): Improve docstring. Use itself for the temporary
5495 overlay-map bindings, so as to repeat the "Use..." message each time.
5496
a2be0357
SM
54972012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
5498
63314e57
SM
5499 * emacs-lisp/macroexp.el (macroexp--expand-all):
5500 Obey byte-compile-warning-enabled-p (bug#12486).
5501
a2be0357
SM
5502 * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
5503 (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).
5504
8c7727c3
MR
55052012-10-26 Martin Rudalics <rudalics@gmx.at>
5506
5507 * mouse.el (mouse-drag-line): Move last form into preceding when
5508 clause (Bug#12731).
5509
5510 * help.el (resize-temp-buffer-window): Fix doc-string.
5511
3f2a848d
DE
55122012-10-25 David Engster <deng@randomsample.de>
5513
5514 * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
a2be0357 5515 Remove. This feature is already integrated in imenu.
3f2a848d
DE
5516
5517 * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
5518 always loaded. Require `speedbar' unconditionally.
5519
a7723be6
SM
55202012-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
5521
aaabfc8b
SM
5522 * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
5523
414a8595
SM
5524 * minibuffer.el (minibuffer-force-complete): Fix thinko.
5525
fb5b9475
SM
5526 * net/ldap.el (ldap-search-internal): The official ldif format starts
5527 with a "version: 1" header (bug#12724).
5528
a7723be6
SM
5529 * emacs-lisp/package.el (package-installed-p): Warn if not ready
5530 (bug#12721).
5531
a05cb6e3
GM
55322012-10-25 Glenn Morris <rgm@gnu.org>
5533
5534 * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
5535
3c92de70
SM
55362012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
5537
5538 * minibuffer.el (minibuffer-force-complete): Use one more marker
5539 for the temporary-overlay-map command (bug#12619).
5540
a4b6d7c6
CY
55412012-10-24 Chong Yidong <cyd@gnu.org>
5542
5543 * time.el (display-time-world-mode): Derive from special-mode.
5544 (display-time-world): Use display-buffer (Bug#12708).
5545 (display-time-world-mode-map): Variable deleted.
9321d8d7
CY
5546 (display-time-world-display): Wrap the final delete-char inside
5547 inhibit-read-only.
a4b6d7c6 5548
75e8f9d2
CY
55492012-10-24 Chong Yidong <cyd@gnu.org>
5550
cd996018
CY
5551 * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
5552 Doc fix.
5553
75e8f9d2
CY
5554 * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
5555
d92df117
SM
55562012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
5557
5558 * minibuffer.el (completion--all-sorted-completions-location): New var.
5559 (completion--cache-all-sorted-completions)
5560 (completion--flush-all-sorted-completions): Use it.
5561 (completion-in-region, completion-in-region--postch)
5562 (completion-at-point, completion-help-at-point): Use markers in
5563 completion-in-region--data (bug#12619).
5564
9c3e39f3
SM
55652012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
5566
c79825bd
SM
5567 * progmodes/compile.el (compilation-start): Try to handle common
5568 quoting of `cd' argument (bug#12640).
5569
9c3e39f3
SM
5570 * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
5571 (bug#12671).
5572
a6709bc7
GM
55732012-10-23 Glenn Morris <rgm@gnu.org>
5574
5575 * progmodes/gud.el (gud-menu-map):
5576 Check gdb-active-process is bound. (Bug#12358)
5577
d1069532
SM
55782012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
5579
d20d69c0
SM
5580 * repeat.el (repeat): Set real-this-command (bug#12232).
5581
d1069532
SM
5582 * htmlfontify.el (hfy-post-html-hook):
5583 * filesets.el (filesets-cache-fill-content-hook):
5584 * arc-mode.el (archive-extract-hook):
5585 * progmodes/cc-mode.el (c-prepare-bug-report-hook):
5586 * net/rcirc.el (rcirc-sentinel-functions)
5587 (rcirc-receive-message-functions, rcirc-activity-functions)
5588 (rcirc-print-functions):
5589 * net/dbus.el (dbus-event-error-functions):
5590 * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
5591 * emacs-lisp/checkdoc.el (checkdoc-style-functions)
5592 (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
5593 * term/sun.el (sun-raw-prefix-hooks):
5594 * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
5595
f7eac6d8
MA
55962012-10-23 Michael Albinus <michael.albinus@gmx.de>
5597
d1069532
SM
5598 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
5599 Set `tramp-chunksize' to 1. This improves the performance.
f7eac6d8
MA
5600 (tramp-smb-wait-for-output): Add timeout to
5601 `tramp-accept-process-output' calls.
5602
608d9d7c
CY
56032012-10-23 Chong Yidong <cyd@gnu.org>
5604
49238e7f
CY
5605 * faces.el (font-list-limit): Define as an obsolete variable.
5606
5607 * startup.el (command-line):
5608 * cus-start.el: Don't refer to font-list-limit.
5609
608d9d7c
CY
5610 * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
5611
4ff5b1b2
SM
56122012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
5613
5614 * subr.el (internal-temp-output-buffer-show): Rename from
5615 temp-output-buffer-show, since previously compiled files expect this name.
5616
ea1d4aac
GM
56172012-10-23 Glenn Morris <rgm@gnu.org>
5618
5619 * image.el (image-type-from-file-name): If multiple types match,
5620 return the first one that is supported. (Bug#9045)
5621
eda82a31
GM
56222012-10-22 Glenn Morris <rgm@gnu.org>
5623
5624 * image.el (imagemagick-enabled-types): Doc fix.
5625
4f020bec
TA
56262012-10-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
5627
5628 * progmodes/which-func.el (which-func-current): The hash-table may have
5629 an explicit nil (bug#12338).
5630
c77d37e2
SM
56312012-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
5632
5633 * electric.el (electric-pair-delete-selection-self-insert-function):
5634 Rename to electric-pair-will-use-region, return a boolean.
5635 (electric-pair-mode): Adjust accordingly. Don't require delsel.
5636
5637 * delsel.el (delete-selection-helper): Use a function instead of a hook.
5638 (delete-selection-pre-hook): Use use-region-p.
5639 (delete-selection-self-insert-function): Remove.
5640 (self-insert-command): Obey self-insert-uses-region-functions.
5641 (self-insert-iso): Revert to previous setting, since we don't actually
5642 know what that command does.
5643 (delete-selection-self-insert-hooks): Remove.
5644
b1d39ccc
SL
56452012-10-22 Simon Law <sfllaw@sfllaw.ca> (tiny change)
5646
5647 * delsel.el (delete-selection-helper): New function, extracted from
5648 delete-selection-pre-hook.
5649 (delete-selection-pre-hook): Use it.
5650 (delete-selection-self-insert-function): New function.
5651 (delete-selection-self-insert-hooks): New hook.
5652 (self-insert-command, self-insert-iso): Use it.
5653 * electric.el (electric-pair-syntax): New function, extracted from
5654 electric-pair-post-self-insert-function.
5655 (electric-pair-post-self-insert-function): Use it.
5656 (electric-pair-delete-selection-self-insert-function): New function.
5657 (electric-pair-mode): Require delsel and setup
5658 delete-selection-self-insert-hooks (bug#11520).
5659
045ef729
CY
56602012-10-20 Chong Yidong <cyd@gnu.org>
5661
4c5d08a8
CY
5662 * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
5663 no changes to show (Bug#12586).
5664
045ef729
CY
5665 * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
5666 list explicitly (Bug#12571).
5667
3503c798 56682012-10-20 Arne Jørgensen <arne@arnested.dk>
79e1997a 5669
b1d39ccc
SL
5670 * progmodes/flymake.el (flymake-create-temp-inplace):
5671 Use file-truename.
79e1997a 5672
2068905b
EZ
56732012-10-20 Eli Zaretskii <eliz@gnu.org>
5674
5675 * loadup.el: Update comment about uncompiled Lisp files. (Bug#12395)
5676
4c9e9550
JB
56772012-10-20 Jay Belanger <jay.p.belanger@gmail.com>
5678
5679 * calc/calc-units.el (math-extract-units): Properly extract powers
5680 of units.
5681
1a6e7e38
DC
56822012-10-20 Daniel Colascione <dancol@dancol.org>
5683
5684 * frame.el (make-frame): Set x-display-name as we used to in order
5685 to unbreak creating an X11 frame from an Emacs daemon started
5686 without a display.
5687
8e808318
SM
56882012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
5689
5690 * minibuffer.el (minibuffer-force-complete): Make the next completion use
f5925cd9 5691 the same completion-field (bug#12221).
8e808318 5692
fb0104da
MR
56932012-10-19 Martin Rudalics <rudalics@gmx.at>
5694
5695 * emacs-lisp/debug.el (debug): Record height of debugger window
5696 also when debugger will be back (Bug#8789).
5697
8c27235e
CY
56982012-10-18 Chong Yidong <cyd@gnu.org>
5699
5700 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
5701 Convert to defcustom.
5702 (gdb-get-source-file): Don't bind pop-up-windows.
5703
5704 * progmodes/gud.el (gud-display-line): Don't specially re-use
5705 other frames for the gdb-mi case (Bug#12648).
5706
90eacf99
SM
57072012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
5708
aaf0c300
SM
5709 * emacs-lisp/advice.el: Clean up commentary a bit.
5710 (ad-do-advised-functions, ad-with-originals): Use `declare'.
5711 (byte-code-function-p): Never redefine.
5712
90eacf99
SM
5713 * emacs-lisp/gv.el (cond): Same fix as before for `if'.
5714
281c9d2b
GM
57152012-10-18 Glenn Morris <rgm@gnu.org>
5716
40714e3d
GM
5717 * dired.el (dired-sort-toggle): Some ls implementations only allow
5718 a single option string. (Bug#12666)
5719
281c9d2b
GM
5720 * minibuffer.el (completion-cycle-threshold): Doc fix.
5721
b278604e
KH
57222012-10-17 Kenichi Handa <handa@gnu.org>
5723
90eacf99
SM
5724 * international/mule.el (set-keyboard-coding-system):
5725 Recover input meta mode when the new coding system doesn not use 8-bit.
b278604e
KH
5726 Supply TERMINAL arg to set-input-meta-mode.
5727
f4ad7ea1 57282012-10-17 Michael Heerdegen <michael_heerdegen@web.de>
7ebc5f5a
MH
5729
5730 * wdired.el (wdired-old-marks): New variable.
5731 (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
5732 (wdired-do-renames): Move point with renamed file and don't lose
5733 mark status (Bug#11795).
5734
e5a94ec4
JL
57352012-10-16 Juri Linkov <juri@jurta.org>
5736
5737 * replace.el (query-replace-help): Mention multi-buffer replacement
5738 keys in the Help message. (Bug#12655)
5739
d18a0d24
CY
57402012-10-15 Chong Yidong <cyd@gnu.org>
5741
5742 * emacs-lisp/byte-run.el (defsubst): Doc fix.
5743
8111f5e6
EZ
57442012-10-14 Eli Zaretskii <eliz@gnu.org>
5745
7b9abf24
EZ
5746 * window.el (display-buffer): Doc fix.
5747
8111f5e6
EZ
5748 * progmodes/compile.el (compilation-error-regexp-alist-alist):
5749 Adjust the msft regexp to the output of Studio 2010, and move msft
5750 before edg-1. See the discussion on emacs-devel,
5751 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
5752 for the details.
5753
5046ef67
SM
57542012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
5755
9760c73c
SM
5756 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
5757 (oset): Move uses of object-class-fast macro after its definition.
5758
5046ef67
SM
5759 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
5760
0d11ff1c
CY
57612012-10-13 Chong Yidong <cyd@gnu.org>
5762
5763 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
5764 enabled, re-enable it (Bug#11963).
5765
88ded8ac
MR
57662012-10-13 Martin Rudalics <rudalics@gmx.at>
5767
5768 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
5769 non-nil, restore window configuration (Bug#12623).
5770
bd0ffffd
SM
57712012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
5772
06485aa8
SM
5773 * help-fns.el (describe-variable, describe-function-1):
5774 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
5775
bd0ffffd
SM
5776 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
5777
3a989246
GM
57782012-10-12 Glenn Morris <rgm@gnu.org>
5779
5780 * mail/rmailsum.el (rmail-header-summary):
5781 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
5782
55cd00c8
FEG
57832012-10-12 Fabián Ezequiel Gallina <fgallina@cuca>
5784
bd0ffffd
SM
5785 * progmodes/python.el (python-mode-map):
5786 Replace subtitute-key-definition with proper command remapping.
55cd00c8
FEG
5787 (python-nav--up-list): Fix behavior for blocks on the same level.
5788
ac9fc2c7
SM
57892012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
5790
d8cc4c00 5791 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
d8cc4c00 5792
5253a5fd
SM
5793 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
5794 changes to the format of load-history.
5795
ac9fc2c7
SM
5796 * international/mule-cmds.el (read-char-by-name): Move let-binding of
5797 completion-ignore-case in case that var is buffer-local (bug#12615).
5798
cde44a77
KH
57992012-10-11 Kenichi Handa <handa@gnu.org>
5800
5801 * international/eucjp-ms.el: Re-generated.
5802
4ef4a10d
KH
58032012-10-10 Kenichi Handa <handa@gnu.org>
5804
5805 * select.el (xselect--encode-string): If a coding is specified for
5806 selection, and that is compatible with COMPOUND_TEXT, use it.
5807
9d7f027b
MR
58082012-10-10 Martin Rudalics <rudalics@gmx.at>
5809
5810 * window.el (switch-to-buffer-preserve-window-point): New option.
ac9fc2c7
SM
5811 (switch-to-buffer):
5812 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
9d7f027b 5813
238f3a58
SM
58142012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
5815
5816 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
5817 Don't document nil as a useful value (bug#12583).
5818
1d51f99c
MA
58192012-10-09 Michael Albinus <michael.albinus@gmx.de>
5820
238f3a58
SM
5821 * net/tramp.el (tramp-debug-message):
5822 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
1d51f99c
MA
5823 (with-tramp-progress-reporter): Rename from
5824 `tramp-with-progress-reporter'.
238f3a58
SM
5825 (with-tramp-file-property, with-tramp-connection-property):
5826 Move from tramp-cache.el, rename from `with-file-property' and
1d51f99c
MA
5827 `with-connection-property', respectively.
5828
5829 * net/tramp-cache.el: Remove `with-file-property' and
5830 `with-connection-property'.
5831
5832 * net/tramp.el:
5833 * net/tramp-gvfs.el:
5834 * net/tramp-sh.el:
5835 * net/tramp-smb.el: Adapt callees.
5836
5837 * net/trampver.el: Update release number.
5838
26b77251
GM
58392012-10-09 Glenn Morris <rgm@gnu.org>
5840
9a5f296f
GM
5841 * w32-fns.el (set-message-beep):
5842 * term/w32-win.el (set-message-beep): Update declarations.
5843
94c66ce5
SM
58442012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
5845
10766e9e
SM
5846 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
5847 (mode-line-widen, mode-line-input-method-map)
5848 (mode-line-coding-system-map, mode-line-remote)
5849 (mode-line-unbury-buffer, mode-line-bury-buffer)
5850 (mode-line-next-buffer, mode-line-previous-buffer):
5851 Replace save-selected-window+select-window => with-selected-window.
5852
f754db08
SM
5853 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
5854 * progmodes/cc-vars.el (bq-process): Remove, unused.
5855
94c66ce5
SM
5856 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
5857
a4ff7fe1
FEG
58582012-10-09 Fabián Ezequiel Gallina <fgallina@cuca>
5859
5860 Implemented `backward-up-list'-like navigation.
5861 * progmodes/python.el (python-nav-up-list)
5862 (python-nav-backward-up-list): New functions.
5863 (python-mode-map): Define substitute key for backward-up-list to
5864 python-nav-backward-up-list.
5865
24517d82
FEG
58662012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
5867
5868 * progmodes/python.el (python-fill-paragraph): Rename from
5869 python-fill-paragraph-function. Fixed fill-paragraph for
5870 decorators (Bug#12605).
5871
51867ae2
FEG
58722012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
5873
5874 * progmodes/python.el (python-shell-output-filter): Handle extra
5875 carriage return in OSX (Bug#12409).
5876
a5b773c4
FEG
58772012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
5878
5879 Fix shell handling of unbalanced quotes and parens in output.
94c66ce5 5880 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
a5b773c4
FEG
5881 (python-syntax-propertize-function): Use it.
5882 (python-shell-output-syntax-table): New var.
5883 (inferior-python-mode): Prevent unbalanced parens/quotes from
5884 previous output mess with current input context.
5885
13373538
JB
58862012-10-08 Juanma Barranquero <lekktu@gmail.com>
5887
5888 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
5889 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
5890
775a132d
MA
58912012-10-08 Michael Albinus <michael.albinus@gmx.de>
5892
5893 * ffap.el (ffap-replace-file-component): Support Tramp file name
5894 syntax, not only ange-ftp's one.
5895
3ab44929
GM
58962012-10-08 Glenn Morris <rgm@gnu.org>
5897
57f1dee4
GM
5898 * cus-start.el (message-log-max): Set :version.
5899
3ab44929
GM
5900 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
5901
6a088630
MR
59022012-10-08 Martin Rudalics <rudalics@gmx.at>
5903
5904 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
5905 the minibuffer window (Bug#10851).
5906
8dbce54c
FEG
59072012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
5908
5909 Enhancements on forward-sexp movement.
5910 * progmodes/python.el (python-nav-beginning-of-statement)
5911 (python-nav-end-of-statement): Return point-marker.
5912 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
5913 (python-info-current-symbol)
5914 (python-info-statement-starts-block-p): Rename from
5915 python-info-beginning-of-block-p.
5916 (python-info-statement-ends-block-p): Rename from
5917 python-info-end-of-block-p.
5918 (python-info-beginning-of-statement-p)
5919 (python-info-end-of-statement-p)
5920 (python-info-beginning-of-block-p, python-info-end-of-block-p):
5921 New functions.
5922
5acd2b3e
SM
59232012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
5924
5925 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
5926 frame-selected-windows.
5927
e08348a0
DC
59282012-10-08 Daniel Colascione <dancol@dancol.org>
5929
5930 * battery.el (battery-status-function): Check for
5931 w32-battery-status itself, not system-time windows-nt.
5932
5933 * frame.el: Require cl-lib.
5934 (display-format-alist): New variable mapping frame types to
5935 functions that initialize them.
5936 (window-system-for-display): New function: interprets
5937 display-format-alist.
5938 (make-frame-on-display): Remove existing display-selection logic
5939 and just forward to make-frame, which will now DTRT.
5940 (make-frame): Restructure to use window-system-for-display to
5941 figure out how to create a frame on a given display.
5942 (display-mouse-p): Look for frame-type w32, not a particular
5943 system-type.
5944
5945 * loadup.el: Load w32 lisp code when we have the w32 feature.
5946
5947 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
5948 system-type windows-nt.
5949
5950 * server.el (server-create-window-system-frame): Look for window
5951 type.
5952 (server-proces-filter): Only force a window system when windows-nt
5953 _and_ w32. Explain why.
5954
5955 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
5956 of window systems we configure for the mode.
5957
5958 * startup.el (command-line): Mark window system is initialized
5959 after we've done it.
5960
5961 * common-win.el (x-select-text): Look for w32, not windows-nt.
5962
5963 * ns-win.el: Require cl-lib. Add ourselves to
5964 display-format-alist.
5965 (ns-initialize-window-system): Assert we're not initialized twice.
5966
5967 * w32-win.el: Enable lexical binding; require cl-lib; add
5968 ourselves to display-format-alist.
5969 (w32-handle-dropped-file): Convert incoming dropped files from
5970 Windows paths to Cygwin ones before passing them on to the rest of
5971 Emacs.
5972 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
5973 (w32-initialize-window-system): Assert we're not initialized twice.
5974
5975 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
5976 (x-initialize-window-system): Assert we're not initialized twice.
5977
5978 * w32-common-fns.el: New File.
5979 (w32-version, w32-using-nt, w32-get-clipboard-data)
5980 (w32-set-clipboard-data, x-set-selection, x-get-selection)
5981 (w32-charset-info-alist, x-last-selected, text)
5982 (x-get-selection-value, x-selection-value): Move here.
5983
5984 * w32-fns.el: Require w32-common-fns.
5985 (w32-version, w32-using-nt, w32-get-clipboard-data)
5986 (w32-set-clipboard-data, x-set-selection, x-get-selection)
5987 (w32-charset-info-alist, x-last-selected, text)
5988 (x-get-selection-value, x-selection-value): Move to
5989 w32-common-fns.
5990
5991 * w32-vars.el:
5992 (w32-allow-system-shell, w32-system-shells): Define only in
5993 non-cygwin case.
5994
795b1482
SM
59952012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
5996
5997 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
5998 (read-passwd): Remove a few more potential sources of leaks.
5999
f27c99dc
FEG
60002012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
6001
6002 * progmodes/python.el (inferior-python-mode)
795b1482 6003 (python-shell-make-comint): Fix initialization of local
f27c99dc
FEG
6004 variables copied from parent buffer.
6005
fcacb558
JD
60062012-10-07 Jan Djärv <jan.h.d@swipnet.se>
6007
6008 * term/ns-win.el (ns-read-file-name): Update declaration to match
6009 nsfns.m.
b9edfa5c 6010 (ns-respond-to-change-font): Change fontsize separately so we are sure
fcacb558
JD
6011 it is set when font is acted upon.
6012
be0d5bae
FEG
60132012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
6014
6015 Enhancements to indentation.
6016 * progmodes/python.el (python-indent-context): Give priority to
6017 inside-string context. Make comments indentation markers.
6018 (python-indent-region): Do not mess with strings, unless it's the
6019 enclosing set of quotes.
6020
13af0d10
SM
60212012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
6022
662a9d0e
SM
6023 * window.el (internal--before-save-selected-window)
6024 (internal--after-save-selected-window): New functions extracted from
6025 save-selected-window. Make sure we return the `alist' we construct.
6026 (save-selected-window): Use them.
6027
6028 * textmodes/tex-mode.el (tex-recenter-output-buffer):
6029 Use with-selected-window.
6030
13af0d10
SM
6031 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
6032 forms that define macros (bug#12593).
6033
6aa75fb6
KH
60342012-10-07 Kenichi Handa <handa@gnu.org>
6035
13af0d10
SM
6036 * international/mule-conf.el (compound-text-with-extensions):
6037 Add :mime-charset property as x-ctext.
6aa75fb6 6038
78d876b9
SM
60392012-10-07 Stefan Merten <smerten@oekonux.de>
6040
6041 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
6042 (rst-indent-literal-normal, rst-indent-literal-minimized)
6043 (rst-indent-comment): Correct :version tag.
557337e9 6044 (rst-official-cvs-rev): Correct version string.
78d876b9 6045
99a1e701
GM
60462012-10-07 Glenn Morris <rgm@gnu.org>
6047
6048 * mail/rmailmm.el (rmail-mime-process-multipart):
6049 Do not confuse a multipart message with an epilogue
6050 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
6051
08f18c3d
FEG
60522012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
6053
6054 Fix shell output retrieval and comint-prompt-regexp init.
6055 * progmodes/python.el (inferior-python-mode):
6056 (python-shell-make-comint): Fix initialization of
6057 comint-prompt-regexp from copied file local variables.
6058 (python-shell-fetched-lines): Remove var.
6059 (python-shell-output-filter-in-progress): Rename from
6060 python-shell-fetch-lines-in-progress.
6061 (python-shell-output-filter-buffer): Rename from
6062 python-shell-fetch-lines-string.
6063 (python-shell-fetch-lines-filter): Delete function.
6064 (python-shell-output-filter): New function.
6065 (python-shell-send-string-no-output): Use them.
6066
82ed3ab4
GM
60672012-10-07 Glenn Morris <rgm@gnu.org>
6068
1595ecfa
GM
6069 * hi-lock.el (hi-lock-process-phrase):
6070 Try to make it less fragile. (Bug#7161)
6071
82ed3ab4
GM
6072 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
6073
f1f4dba0
GM
60742012-10-06 Glenn Morris <rgm@gnu.org>
6075
addc11ed 6076 * ehelp.el (electric-help-mode): Use help-mode rather than
32939005
GM
6077 non-existent mode `help'.
6078 (electric-help-map): Use button-buffer-map. (Bug#10917)
addc11ed 6079
460042b8
GM
6080 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
6081 (reftex-create-bibtex-footer): Fix custom types.
6082
67667c70
GM
6083 * progmodes/sh-script.el (sh-indent-after-continuation):
6084 Add explicit :group.
6085
18dec750
GM
6086 * textmodes/rst.el (rst-preferred-decorations)
6087 (rst-shift-basic-offset): Clarify obsolescence versions.
6088
d1a1c7e6
GM
6089 * profiler.el (profiler): Add missing group :version tag.
6090 * avoid.el (mouse-avoidance-banish-position):
6091 * proced.el (proced-renice-command):
6092 * calc/calc.el (calc-ensure-consistent-units):
6093 * calendar/icalendar.el (icalendar-import-format-uid):
6094 * net/tramp.el (tramp-save-ad-hoc-proxies):
6095 * progmodes/bug-reference.el (bug-reference-bug-regexp):
6096 * progmodes/flymake.el (flymake-error-bitmap)
6097 (flymake-warning-bitmap, flymake-fringe-indicator-position):
6098 * progmodes/sh-script.el (sh-indent-after-continuation):
6099 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
6100 (verilog-before-save-font-hook, verilog-after-save-font-hook):
6101 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
6102 (vhdl-array-index-record-field-in-sensitivity-list)
6103 (vhdl-indent-comment-like-next-code-line):
6104 * textmodes/reftex-vars.el (reftex-ref-style-alist)
6105 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
6106 (reftex-cite-key-separator, reftex-create-bibtex-header)
6107 (reftex-create-bibtex-footer):
6108 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
6109 (rst-indent-literal-normal, rst-indent-literal-minimized)
6110 (rst-indent-comment): Add missing custom :version tags.
6111
ef35abb4
GM
6112 * calendar/timeclock.el (timeclock-modeline-display):
6113 Add missing obsolete alias for renamed user option.
6114
d1aae614
GM
6115 * strokes.el (strokes-modeline-string):
6116 * emulation/crisp.el (crisp-mode-modeline-string):
6117 * eshell/esh-mode.el (eshell-status-in-modeline):
6118 Aliases to defcustoms must come before the defcustom.
6119
f1f4dba0
GM
6120 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
6121 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
6122 (cal-tex-cursor-week-monday): Doc fixes.
6123 (cal-tex-cursor-week2-summary): Doc fix.
6124 Rename from cal-tex-cursor-week-at-a-glance.
6125
6126 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
6127 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
6128
6129 * calendar/calendar.el (calendar-mode-map):
6130 Add cal-tex-cursor-week2-summary.
6131
d39109c3
SM
61322012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
6133
685f87b0
SM
6134 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
6135
d39109c3
SM
6136 * subr.el (read-passwd-map): New var.
6137 (read-passwd): Use `read-string' again.
6138 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
6139
5694896d
J
61402012-10-06 Jambunathan K <kjambunathan@gmail.com>
6141
6142 * register.el (append-to-register, prepend-to-register):
6143 Deactivate mark, as does `copy-to-register' (bug#12389).
6144
9414dd8d
CY
61452012-10-06 Chong Yidong <cyd@gnu.org>
6146
6147 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
6148
2b89bca4
KH
61492012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
6150
6151 * international/characters.el: Fix simple mistake ((car chars) ->
6152 elt), delete duplicated code.
6153
d5acb99a
GM
61542012-10-06 Glenn Morris <rgm@gnu.org>
6155
6156 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
6157
123ec157
JS
61582012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
6159
6160 * color.el (color-hsl-to-rgb): Fix incorrect results for
6161 small and large hue values. (Bug#12559)
6162
7fa36ccb
FEG
61632012-10-05 Fabián Ezequiel Gallina <fgallina@cuca>
6164
6165 Enhancements to docstring formatting when filling paragraphs.
6166 * progmodes/python.el (python-fill-docstring-style): Rename from
6167 python-fill-string-style. Added new style.
6168 (python-fill-string): Use new style. Better checks for
6169 docstrings.
6170
d8788e1e
GM
61712012-10-05 Glenn Morris <rgm@gnu.org>
6172
204f3953
GM
6173 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
6174
d8788e1e
GM
6175 * color.el (color-name-to-rgb, color-rgb-to-hex)
6176 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
6177 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
6178 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
6179 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
6180
8d956cef
GM
6181 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
6182
e8757f09 61832012-10-05 Juanma Barranquero <lekktu@gmail.com>
ea9a3563
JB
6184
6185 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
6186 to get the correct size across symlinks.
6187
e8757f09
GM
6188 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
6189
0e2ae83d
JL
61902012-10-04 Juri Linkov <juri@jurta.org>
6191
6192 * replace.el (query-replace-interactive): Declare obsolete.
6193 (query-replace-read-from): Add the last incremental search string
6194 to the list of default values accessible via M-n.
6195 (map-query-replace-regexp): Use `read-regexp'.
6196 (query-replace, query-replace-regexp, query-replace-regexp-eval)
6197 (map-query-replace-regexp, replace-string, replace-regexp):
6198 Fix docstrings to replace mentions of `query-replace-interactive'
6199 with alternatives. (Bug#12526)
6200
93cacb6d
JL
62012012-10-04 Juri Linkov <juri@jurta.org>
6202
6203 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
6204 (dired-pop-to-buffer): Declare obsolete.
6205 (dired-mark-pop-up): Doc fix.
6206
fc345011
FEG
62072012-10-04 Fabián Ezequiel Gallina <fgallina@cuca>
6208
6209 Allow user to set docstring style for fill-paragraph.
6210 * progmodes/python.el
6211 (python-fill-comment-function, python-fill-string-function)
6212 (python-fill-decorator-function, python-fill-paren-function):
6213 Remove :safe for defcustoms.
6214 (python-fill-string-style): New defcustom
5694896d 6215 (python-fill-paragraph-function): Enhance context detection.
fc345011
FEG
6216 (python-fill-string): Honor python-fill-string-style settings.
6217
6bab5d8b
MR
62182012-10-04 Martin Rudalics <rudalics@gmx.at>
6219
6220 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
6221 after setting its buffer (Bug#10805).
6222
a1a9f411
FEG
62232012-10-03 Fabián Ezequiel Gallina <fgallina@cuca>
6224
6225 Fix cornercase for string syntax.
6226 * progmodes/python.el (python-syntax-propertize-function):
6227 Simplify and enhance the regexp for unescaped quotes. Now it also
6228 matches quotes in weird situations like the single quote in
6229 "something\"'".
6230 (python-syntax-stringify): Simplify num-quotes detecting code.
6231
05e153a6
GM
62322012-10-03 Glenn Morris <rgm@gnu.org>
6233
6234 * help-macro.el (three-step-help):
6235 Revert 2012-09-29 change. (Bug#12567)
6236
2e566ecb
MR
62372012-10-03 Martin Rudalics <rudalics@gmx.at>
6238
96ef9ccd
MR
6239 * menu-bar.el (kill-this-buffer): Don't do anything when
6240 `menu-frame' is not alive or visible (Bug#8184).
6241
2e566ecb
MR
6242 * emacs-lisp/debug.el (debug): When quitting the debugger window
6243 restore current buffer (Bug#12502).
6244
a96e1cb7
CY
62452012-10-02 Chong Yidong <cyd@gnu.org>
6246
5694896d
J
6247 * progmodes/hideif.el (hif-lookup, hif-defined):
6248 Handle semantic-c-takeover-hideif.
a96e1cb7 6249
b3ecad33
PE
62502012-10-02 Paul Eggert <eggert@cs.ucla.edu>
6251
6252 Change sampling interval units from ms to ns.
6253 * profiler.el (profiler-sampling-interval): Change units
6254 from ms to ns, multiplying the default by 1000000 so that
6255 it remains 1 ms.
6256 (profiler-report-cpu-line-format): Give enough room for
6257 the maximum counters on 64-bit hosts.
6258 (profiler-report-render-calltree-1): Call them "CPU samples",
6259 not "Time (ms)", since they are not milliseconds now (and
6260 never really were).
6261
8cb51b66 62622012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
c623f81a 6263
5694896d
J
6264 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
6265 Fix querying BBDB for entries without a last name (Bug#11580).
c623f81a 6266
fd795bf4
CY
62672012-10-02 Chong Yidong <cyd@gnu.org>
6268
6269 * emacs-lisp/eieio.el: Restore Version header.
6270
fe0a74f9
SM
62712012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
6272
6be9197e
SM
6273 * vc/diff-mode.el (diff--auto-refine-data): New var.
6274 (diff-hunk): Use it to delay refinement.
6275 (diff-mode): Remove overlays when we turn off font-lock.
6276
18486139
SM
6277 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
6278 (table-initialize-table-fixed-width-mode)
6279 (table-set-table-fixed-width-mode): Remove functions.
6280 (table-command-list): Move initialization into declaration.
6281 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
6282 (table-with-cache-buffer): Use `declare'.
6283 (table-span-cell): Simplify via CSE.
6284 (table-fixed-width-mode): Use define-minor-mode.
6285 (table-call-interactively, table-funcall, table-apply): Remove.
6286 (table-function): New function, to replace them.
6287
d83ef976
SM
6288 * bookmark.el (bookmark-search-pattern): Remove var.
6289 (bookmark-read-search-input): Remove function.
6290 (bookmark-bmenu-search): Reimplement using a minibuffer.
6291
cd386662
SM
6292 * faces.el (modeline): Remove obsolete face name.
6293
fe0a74f9
SM
6294 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
6295 and give a non-nil default value.
6296 (add-change-log-entry): Simplify accordingly.
6297
9f7b98f8
DG
62982012-10-01 Dmitry Gutov <dgutov@yandex.ru>
6299
6300 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
6301 (vc-git-log-edit-toggle-amend): New function.
6302 (vc-git-log-edit-toggle-signoff): New function.
6303 (vc-git-log-edit-mode): New major mode.
6304 (vc-git-log-edit-mode-map): Keymap for it.
6305 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
6306
6307 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
6308 header names.
6309 (log-edit-toggle-header): New function.
6310 (log-edit-extract-headers): Accept function values in HEADERS alist.
6311
62a81506
CY
63122012-10-01 David Engster <deng@randomsample.de>
6313
6314 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
6315 from symbol property and change message to be more consistent with
6316 Emacs proper.
6317 (eieio-describe-generic): Add filename for each implementation.
6318 Fix indices for generic and normal methods.
6319 (eieio-method-def, eieio-class-def): New buttons.
6320 (eieio-help-find-method-definition)
6321 (eieio-help-find-class-definition): New functions.
6322 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
6323 class, constructor and method definitions.
6324
6325 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
6326 information in symbol property.
6327 (scoped-class): Remove.
6328 (eieio-slot-name-index, call-next-method): Check if it is bound.
6329
63302012-10-01 Leo P. White <lpw25@cam.ac.uk>
6331
6332 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
6333 (eieio-custom-mode): New major mode.
6334 (eieio-customize-object): Use it.
6335
63362012-10-01 Eric Ludlam <zappo@gnu.org>
6337
6338 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
6339 specifying the expected class, and whether subclassing is allowed.
6340 (eieio-persistent-convert-list-to-object):
1f9f395d
JB
6341 (eieio-persistent-validate/fix-slot-value)
6342 (eieio-persistent-slot-type-is-class-p): New functions.
6343 (eieio-named::slot-missing): Doc fix.
62a81506
CY
6344
6345 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
6346 Stop using unused publd variable.
6347
6348 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
6349 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
6350 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
6351 (eieio-speedbar-handle-click): Do not specify a class for the
6352 method. Fixes method invocation order problems with EDE.
6353
375e49d4
SM
63542012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
6355
6356 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
6357 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
6358
16ce6ccd
KF
63592012-10-01 Karl Fogel <kfogel@red-bean.com>
6360
6361 * bookmark.el (bookmark-version-control): Give tags in the
6362 :type choices (Bug#12309), and improve doc string.
e4c4abdd
KF
6363 (bookmark-write-file): Bind `print-circle' to `t' to allow
6364 circular custom bookmark types. (Bug#12503)
16ce6ccd 6365
19e54a4d
PE
63662012-10-01 Paul Eggert <eggert@cs.ucla.edu>
6367
86ec63ba
PE
6368 Revert the FOLLOW-SYMLINKS change for file-attributes.
6369 * files.el (remote-file-name-inhibit-cache, after-find-file):
6370 * time.el (display-time-file-nonempty-p): Undo last change.
6371
19e54a4d
PE
6372 * profiler.el (profiler-sampling-interval): Change default back to 1.
6373 See Stefan Monnier in
6374 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
6375
0478776b
FEG
63762012-10-01 Fabián Ezequiel Gallina <fgallina@cuca>
6377
6378 Shell output catching a la gud-gdb.
6379 * progmodes/python.el (python-shell-fetch-lines-in-progress)
375e49d4
SM
6380 (python-shell-fetch-lines-string, python-shell-fetched-lines):
6381 New Vars.
0478776b
FEG
6382 (python-shell-fetch-lines-filter): New function.
6383 (python-shell-send-string-no-output): Use them.
6384
c22bac2c
TM
63852012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
6386
6387 * profiler.el (profiler-sampling-interval): Rename from
6388 profiler-sample-interval.
6389 (profiler-sampling-interval): Default to 10.
6390 (profiler-find-profile): New command (was profiler-find-log).
6391 (profiler-find-profile-other-window): New command.
6392 (profiler-find-profile-other-frame): New command.
6393 (profiler-profile): Introduce API-level data structure.
6394
e7a2937b
PE
63952012-09-30 Paul Eggert <eggert@cs.ucla.edu>
6396
6397 file-attributes has a new optional arg FOLLOW-SYMLINKS.
6398 * files.el (remote-file-name-inhibit-cache):
6399 * time.el (display-time-file-nonempty-p): Use it.
6400 * files.el (after-find-file): Don't chase links before calling
6401 file-exists-p, as file-exists-p already does the right thing.
6402
4f595e15
RA
64032012-09-30 Ralf Angeli <angeli@caeruleus.net>
6404
6405 Merge from standalone RefTeX repository.
6406
6407 The following ChangeLog entries are shortened versions of the
6408 original ones with file paths adapted. A not so strongly edited
6409 version of the original ChangeLog can be found in the commit log.
6410
6411 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
375e49d4
SM
6412 (reftex-arg-cite): Use `reftex-cite-key-separator'.
6413 Correctly handle new value type returned by `reftex-citation'.
4f595e15
RA
6414
6415 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
375e49d4
SM
6416 that entries with whitespace at various places are found.
6417 Doc fix. Include entries that are cross-referenced from cited entries.
4f595e15
RA
6418 Include @String definitions in the resulting bib file. Add header
6419 and footer defined in `reftex-create-bibtex-header' and
6420 `reftex-create-bibtex-footer'.
6421 (reftex-do-citation): Make it possible again to insert
6422 non-existent entries. Save match data when asking for optional
6423 arguments. Return all keys, not just the first one.
6424 (reftex-all-used-citation-keys): Fix regexp to correctly extract
6425 all citations in the same line.
6426 (reftex-parse-bibtex-entry): Accept additional optional argument
6427 `raw' and keep quotes or braces if it is non-nil. Match fields
6428 containing hyphens besides word constituents.
6429 (reftex-get-string-refs): New function.
6430 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
6431 and ask if it should be reread in case it did.
6432 (reftex-pop-to-bibtex-entry)
6433 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
6434 entries with spaces or tabs in front of arguments.
6435 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
375e49d4
SM
6436 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
6437 Match entries containing numbers and symbol constituents.
6438 (reftex-do-citation, reftex-figure-out-cite-format):
6439 Use `reftex-cite-key-separator'.
4f595e15
RA
6440
6441 * textmodes/reftex-dcr.el: Move provide statement to end of file.
6442 (reftex-mouse-view-crossref): Explain why point is set.
6443
6444 * textmodes/reftex-global.el: Whitespace changes.
6445
6446 * textmodes/reftex-index.el: Move provide statement to end of
6447 file.
6448 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
6449 (reftex-index-visit-phrases-buffer): Set marker when visiting
6450 buffer. This allows for returning from the phrases file to the
6451 file one was just editing instead of the file where the last
6452 phrases was added from.
6453 (reftex-index-phrases-syntax-table): New variable. Give ?\"
6454 punctuation syntax as it usually is not used as string quote in
6455 TeX-related modes and may occur unmatched. The change also
6456 prevents fontification of quoted content.
6457 (reftex-index-phrases-mode): Use it.
6458
375e49d4
SM
6459 * textmodes/reftex-parse.el (reftex-parse-from-file):
6460 Move backward one char if a `\' was matched after a section macro.
4f595e15
RA
6461 (reftex-parse-from-file): Use beginning of match instead of end as
6462 bound.
6463
6464 * textmodes/reftex-ref.el: Adapt creation of
6465 `reftex-<package>-<macro>' functions to new structure of
6466 `reftex-ref-style-alist'.
375e49d4
SM
6467 (reftex-reference): Use `reftex-ref-style-list' function.
6468 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
4f595e15
RA
6469 reference macro if `reftex-ref-macro-prompt' is non-nil.
6470 (reftex-reference): Pass refstyle to `reftex-format-special'.
6471 Determine reference macro by looking at
375e49d4
SM
6472 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
6473 Use only one special format function.
4f595e15
RA
6474 (reftex-varioref-vref, reftex-fancyref-fref)
6475 (reftex-fancyref-Fref): Remove definitions. The functions are now
6476 generated from `reftex-ref-style-alist'.
6477 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
6478 Remove.
6479 (reftex-format-special): New function.
6480
6481 * textmodes/reftex-sel.el
6482 (reftex-select-cycle-ref-style-internal): Adapt to new structure
6483 of `reftex-ref-style-alist'. Remove code for testing macro type.
6484 (reftex-select-toggle-varioref)
6485 (reftex-select-toggle-fancyref): Remove.
6486 (reftex-select-cycle-ref-style-internal)
6487 (reftex-select-cycle-ref-style-forward)
6488 (reftex-select-cycle-ref-style-backward): New functions.
6489 (reftex-select-label-map): Use `v' and `V' for general cycling
6490 through reference styles. Add `p' for switching between number
6491 and page reference types.
6492
375e49d4
SM
6493 * textmodes/reftex-toc.el (reftex-re-enlarge):
6494 Call `enlarge-window' only if there is something to do because in Emacs
4f595e15
RA
6495 the horizontal version throws an error even if the parameter is 0.
6496
6497 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
6498 (reftex-plug-into-AUCTeX): Doc fix.
6499 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
6500 string. Adapt to new name.
6501 (reftex-ref-style-alist): Change structure so that it is not
6502 possible to use multiple different package names within a style.
375e49d4
SM
6503 Remove the symbols for symbols for macro type distinction.
6504 Add characters for macro selection.
4f595e15
RA
6505 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
6506 (reftex-create-bibtex-footer): New variables.
6507 (reftex-format-ref-function): Mention third argument of special
6508 format function.
375e49d4
SM
6509 (reftex-ref-style-alist, reftex-ref-style-default-list):
6510 New variables.
4f595e15
RA
6511 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
6512 to new implementation. Mark as obsolete. Add compatibility code
6513 for honoring the variable values in case they are set.
375e49d4
SM
6514 (reftex-cite-format-builtin, reftex-bibliography-commands):
6515 Add support for ConTeXt.
6516 (reftex-format-ref-function, reftex-format-cite-function):
6517 Fix custom type.
4f595e15
RA
6518 (reftex-cite-key-separator): New variable.
6519
6520 * textmodes/reftex.el (reftex-syntax-table-for-bib)
6521 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
6522 `reftex-syntax-table' because parens have to retain their paren
6523 syntax in order for parsing of BibTeX entries like @book(...) to
6524 work.
6525 (reftex-in-comment): Do not error out if `comment-start-skip' is
6526 not set. Deal correctly with escaped comment characters.
375e49d4
SM
6527 (reftex-tie-multifile-symbols): Add doc string.
6528 Initialize `reftex-ref-style-list'.
4f595e15
RA
6529 (reftex-untie-multifile-symbols): Add doc string.
6530 (reftex-add-index-macros): Doc fix.
6531 (reftex-ref-style-activate, reftex-ref-style-toggle)
6532 (reftex-ref-style-list): New functions.
6533 (reftex-mode-menu): Use them. Adapt to new structure of
6534 `reftex-ref-style-alist'.
6535 (reftex-select-with-char): Kill the RefTeX Select buffer when
6536 done.
6537 (reftex-remove-if): New function.
6538 (reftex-erase-all-selection-and-index-buffers)
6539 (reftex-mode-menu): Reference styles are now computed from
6540 `reftex-ref-style-alist'. Fix typo.
6541 (reftex-report-bug): New function.
6542 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
6543 algorithms with O(n log n). Introduce optional argument SORT (not
6544 yet used).
6545
440ba395
FEG
65462012-09-30 Fabián Ezequiel Gallina <fgallina@cuca>
6547
6548 Enhancements for triple-quote string syntax.
375e49d4
SM
6549 * progmodes/python.el (python-syntax-propertize-function):
6550 Match both quote cases in one regexp.
440ba395
FEG
6551 (python-syntax-stringify): Handle matches properly.
6552
4c478e6b
JL
65532012-09-30 Juri Linkov <juri@jurta.org>
6554
6555 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
93cacb6d 6556 to nil around the call to `insert' to prevent
4c478e6b
JL
6557 directory time modification by lock_file. (Bug#2295)
6558 * tar-mode.el (tar-summarize-buffer): Idem.
6559
d80d54b2
JL
65602012-09-30 Juri Linkov <juri@jurta.org>
6561
6562 * facemenu.el (list-colors-sort): Add option "Luminance".
6563 (list-colors-sort-key): Implement it.
6564
6565 * vc/diff-mode.el (diff-refine-removed):
6566 * vc/ediff-init.el (ediff-fine-diff-A):
6567 * vc/smerge-mode.el (smerge-refined-removed):
6568 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
6569
d7e642cc
JD
65702012-09-30 Jan Djärv <jan.h.d@swipnet.se>
6571
6572 * term/ns-win.el (x-file-dialog): New function.
6573
ee41332b
JB
65742012-09-30 Juanma Barranquero <lekktu@gmail.com>
6575
6576 * ido.el (ido-max-directory-size): Default to nil; the current
6577 default is small for POSIX systems, and impractical on Windows 7
6578 now that lstat returns directory sizes for NTFS.
6579
5938d519
MR
65802012-09-30 Martin Rudalics <rudalics@gmx.at>
6581
6582 In buffer display functions handle window-height/window-width
6583 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
375e49d4
SM
6584 * window.el (window--display-buffer): New argument ALIST.
6585 Obey window-height and window-width alist entries.
6586 (window--try-to-split-window): New argument ALIST.
6587 Bind window-combination-limit to t when the window's size shall be
5938d519
MR
6588 changed and window-combination-limit equals `window-size'.
6589 (display-buffer-in-atom-window)
6590 (display-buffer-in-major-side-window)
6591 (display-buffer-in-side-window, display-buffer-same-window)
6592 (display-buffer-reuse-window, display-buffer-pop-up-frame)
6593 (display-buffer-pop-up-window, display-buffer-below-selected)
6594 (display-buffer-at-bottom, display-buffer-in-previous-window)
6595 (display-buffer-use-some-window): Adjust all callers of
6596 window--display-buffer and window--try-to-split-window.
6597 (fit-frame-to-buffer): New option.
6598 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
6599 is non-nil.
6600 (display-buffer-in-major-side-window): Evaluate window-height /
6601 window-width alist entries.
6602
6603 * help.el (temp-buffer-resize-frames)
6604 (temp-buffer-resize-regexps): Remove options.
6605 (temp-buffer-resize-mode): Adjust doc-string.
6606 (resize-temp-buffer-window): Don't consult
6607 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
6608 temp-buffer-resize-frames.
6609
375e49d4
SM
6610 * dired.el (dired-mark-pop-up):
6611 Call display-buffer-below-selected with a fit-window-to-buffer alist
5938d519
MR
6612 entry.
6613
c4c0c2df
CY
66142012-09-30 Chong Yidong <cyd@gnu.org>
6615
48de8b12
CY
6616 * server.el (server-host): Document the security implications.
6617 (server-auth-key): Doc fix.
6618
6619 * startup.el (initial-buffer-choice): Doc fix.
6620
6621 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
6622
a97dc380
CY
6623 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
6624 restriction change.
6625
d39d3c8e
CY
6626 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
6627
c4c0c2df
CY
6628 * help-fns.el (help-fns--obsolete): Fix last change.
6629
98a5e33b
SM
66302012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
6631
34cf6f39
SM
6632 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
6633 (minor-mode-map-alist): Remove redundant code.
6634
e01c13fe
SM
6635 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
6636 visited in a buffer.
6637 (cvs-insert-visited-file): New function.
6638 (find-file-hook): Use it.
6639
6640 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
6641
02661b3a
SM
6642 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
6643 chose face.
6644 (log-edit-empty-buffer-p): Don't require a space after a header.
6645
43711d4b
SM
6646 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
6647
38a30d64
SM
6648 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
6649
4ffb41a9
SM
6650 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
6651 a proper minor-mode.
6652
98a5e33b
SM
6653 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
6654
de82e29b
GM
66552012-09-29 Glenn Morris <rgm@gnu.org>
6656
5cc2e639
GM
6657 * winner.el (winner-mode): Remove variable (let define-minor-mode
6658 handle it).
6659 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
6660 Doc fixes.
6661 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
6662 (winner-mode): Use define-minor-mode.
6663
7bd302eb
GM
6664 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
6665 the full definition in loaddefs, rather than duplicating it.
6666
2923922f 6667 * help-macro.el (three-step-help): No need to autoload defcustom.
ced08382 6668
0e3e4156
GM
6669 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
6670 (inferior-lisp-program, inferior-lisp-load-command)
6671 (inferior-lisp-prompt, inferior-lisp-mode-hook):
2923922f 6672 No need to autoload defcustoms.
0e3e4156 6673
de82e29b
GM
6674 * hippie-exp.el (hippie-expand-try-functions-list)
6675 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
6676 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
6677 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
2923922f 6678 (hippie-expand-only-buffers): No need to autoload defcustoms.
de82e29b
GM
6679 * progmodes/vhdl-mode.el (vhdl-line-expand):
6680 Explicitly load hippie-exp, so it does not get autoloaded
6681 while hippie-expand-try-functions-list is let-bound.
6682
e60b51ab
GM
66832012-09-28 Glenn Morris <rgm@gnu.org>
6684
277f0cfa
GM
6685 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
6686
e60b51ab
GM
6687 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
6688 Only "cl.el" counts as cl these days.
6689
53baf48a
JL
66902012-09-28 Juri Linkov <juri@jurta.org>
6691
6692 Display archive errors in the echo area instead of inserting
6693 to the file buffer.
6694
6695 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
6696 to STDERR-TEST that can be a regexp matching a successful output.
6697 Create a temporary file and redirect stderr to it. Search for
6698 STDERR-TEST in the stderr output and display it in the echo area
6699 if no match is found.
6700 (archive-extract-by-file): New function like
6701 `archive-extract-by-stdout' but extracting archives to files
6702 and looking for successful matches in stdout. Function body is
6703 mostly copied from `archive-rar-extract'.
6704 (archive-rar-extract): Use `archive-extract-by-file'.
6705 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
6706
9c1228c3
LL
67072012-09-28 Leo Liu <sdl.web@gmail.com>
6708
375e49d4
SM
6709 * pcomplete.el (pcomplete-show-completions):
6710 Use minibuffer-message to make pcomplete usable in minibuffer.
147c0425 6711
9c1228c3
LL
6712 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
6713
7f457c06
SM
67142012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
6715
3df749b0
SM
6716 * type-break.el: Use lexical-binding.
6717 (type-break-mode): Use define-minor-mode.
6718
7f457c06
SM
6719 * emacs-lisp/pcase.el (pcase--mark-used): New.
6720 (pcase--u1): Use it (bug#12512).
6721
6722 * custom.el (load-theme): Set buffer-file-name so the load is recorded
6723 in load-history with the right file name.
6724
c00ebc98
TH
67252012-09-28 Tassilo Horn <tsdh@gnu.org>
6726
6727 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
6728 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
6729 (doc-view-get-bounding-box): Make bounding box slicing work for
6730 ODF and DVI documents.
6731
96fb7170
GM
67322012-09-28 Glenn Morris <rgm@gnu.org>
6733
6734 * type-break.el (type-break-mode, type-break-interval)
6735 (type-break-good-rest-interval, type-break-keystroke-threshold):
6736 No need to autoload.
6737 (type-break-good-rest-interval, type-break-keystroke-threshold):
6738 Add :set-after.
6739
5bc93c67
CY
67402012-09-28 Chong Yidong <cyd@gnu.org>
6741
6742 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
6743 Add :version tag.
6744
9cad61d6
SM
67452012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
6746
e28e67b3 6747 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
9cad61d6 6748
daee954c
GM
67492012-09-27 Glenn Morris <rgm@gnu.org>
6750
a88324d4
GM
6751 * faces.el (x-display-name): Declare (for without-x builds).
6752
8e5064e5
GM
6753 * linum.el (linum-format): Don't autoload it. Improve :type.
6754
cc1783c2
GM
6755 * progmodes/tcl.el: Don't require outline when compiling.
6756 (outline-regexp, outline-level): Declare.
1dddcf4c
GM
6757 * textmodes/sgml-mode.el: Don't require outline when compiling.
6758 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
6759
48c339f2
GM
6760 * term.el (term-ansi-reset):
6761 Try setting term-ansi-face-already-done to nil. (Bug#11785)
6762
daee954c
GM
6763 * vc/vc.el (vc-next-action): Only gripe about committing read-only
6764 files for RCS and SCCS. (Bug#9781)
6765
b7f42161
CY
67662012-09-27 Chong Yidong <cyd@gnu.org>
6767
6768 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
6769 change; value should be t.
6770
a2e770db
SM
67712012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
6772
83600dc8
SM
6773 * image-mode.el: Use lexical-binding.
6774 (image-mode-winprops): Use t to stand for the window of
6775 a buffer that's not displayed.
6776 * doc-view.el (doc-view-new-window-function): Handle the new
6777 t in winprops.
6778 (doc-view-enlarge): Make it a real nop if the size is not changed.
6779 (doc-view-display): Handle the case where the buffer is not (yet?)
6780 displayed in any window.
6781 (doc-view-saved-settings): New var.
6782 (doc-view-mode): Use it.
6783 (doc-view-fallback-mode): Set it.
6784
a2e770db
SM
6785 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
6786 Set lexical-binding.
6787 (minibuffer-eldef-shorten-default): New var.
6788 (minibuffer-default-in-prompt-regexps): Use it for new default.
6789 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
6790
e3b60857
JB
67912012-09-26 Juanma Barranquero <lekktu@gmail.com>
6792
6793 * international/uni-bidi.el:
6794 * international/uni-category.el:
6795 * international/uni-name.el:
6796 * international/uni-numeric.el: Regenerate.
6797
3a880af4
SM
67982012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
6799 Stefan Monnier <monnier@iro.umontreal.ca>
6800
6801 * profiler.el: New file.
6802
07b1a5fb
SM
68032012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
6804
6805 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
6806 (testcover-reinstrument): Simplify with CSE.
6807
42019c2e
JB
68082012-09-26 Juanma Barranquero <lekktu@gmail.com>
6809
6810 * window.el (temp-buffer-window-setup): Fix typo in docstring.
6811
179f044b
WS
68122012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
6813
6814 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
6815 (verilog-auto-input, verilog-auto-insert-lisp)
6816 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
6817 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
6818 (verilog-auto-unused, verilog-auto-wire)
6819 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
6820 newline. Reported by Andrew Jones.
6821 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
6822 Reported by Brad Dobbie.
07b1a5fb
SM
6823 (verilog-batch-delete-trailing-whitespace):
6824 Create verilog-batch-delete-trailing-whitespace.
6825 Reported by Brad Dobbie.
179f044b
WS
6826 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
6827 parameters from another module. Reported by Dan Katz.
6828 (verilog-auto, verilog-auto-assign-modport)
6829 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
6830 AUTOINOUTMODPORT for UVM interface module shell generation.
6831 Reported by Brad Dobbie.
6832 (verilog-auto-inst-interfaced-ports): Make default nil, as more
6833 standard behavior.
6834 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
6835 Reported by Matt Martin.
6836
9c52dd5a
MR
68372012-09-25 Martin Rudalics <rudalics@gmx.at>
6838
6839 * window.el (window--resize-child-windows): When resizing child
6840 windows proportionally, process them in reverse order to
6841 preserve the "when splitting a window the new one gets the odd
6842 line" behavior.
6843 (window--resize-root-window-vertically): When resizing the
6844 minibuffer window try to affect only windows at the bottom of the
6845 frame. (Bug#12419)
6846
863666eb
CY
68472012-09-25 Chong Yidong <cyd@gnu.org>
6848
6849 * subr.el (declare): Doc fix.
6850
6851 * help-fns.el (help-fns--obsolete): Handle macros properly.
6852
59f7af81
CY
68532012-09-25 Chong Yidong <cyd@gnu.org>
6854
6855 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
6856 this function obsolete.
6857
6858 * calendar/cal-x.el (calendar-two-frame-setup)
6859 (calendar-only-one-frame-setup, calendar-one-frame-setup):
6860 * calendar/calendar.el (american-calendar, european-calendar)
6861 (calendar-for-loop):
6862 * comint.el (comint-dynamic-simple-complete)
6863 (comint-dynamic-complete-as-filename, comint-unquote-filename):
6864 * desktop.el (desktop-load-default):
6865 * dired-x.el (dired-omit-here-always)
6866 (dired-hack-local-variables, dired-default-directory):
6867 * emacs-lisp/derived.el (derived-mode-class):
6868 * emacs-lisp/timer.el (timer-set-time-with-usecs):
6869 * emacs-lock.el (toggle-emacs-lock):
6870 * epa.el (epa-display-verify-result):
6871 * epg.el (epg-sign-keys, epg-start-sign-keys)
6872 (epg-passphrase-callback-function):
6873 * eshell/esh-util.el (eshell-for):
6874 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
6875 (eshell-add-to-window-buffer-names):
6876 * files.el (locate-file-completion):
6877 * imenu.el (imenu-example--create-c-index)
6878 (imenu-example--create-lisp-index)
6879 (imenu-example--lisp-extract-index-name)
6880 (imenu-example--name-and-position):
6881 * international/mule-cmds.el (princ-list):
6882 * international/mule-diag.el (decode-codepage-char):
6883 * international/mule-util.el (detect-coding-with-priority):
6884 * iswitchb.el (iswitchb-read-buffer):
6885 * mail/mailalias.el (mail-complete):
6886 * mail/sendmail.el (mail-sent-via):
6887 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
6888 (mouse-major-mode-menu):
6889 * password-cache.el (password-read-and-add):
6890 * pcomplete.el (pcomplete-parse-comint-arguments):
6891 * progmodes/sh-script.el (sh-maybe-here-document):
6892 * replace.el (query-replace-regexp-eval):
6893 * savehist.el (savehist-load):
6894 * simple.el (choose-completion-delete-max-match):
6895 * term.el (term-dynamic-simple-complete):
6896 * vc/ediff-init.el (ediff-check-version):
6897 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
6898 * vc/vc.el (vc-diff-switches-list):
6899 * view.el (view-return-to-alist-update): Likewise.
6900
6901 * subr.el (eval-next-after-load, makehash, insert-string)
6902 (assoc-ignore-representation, assoc-ignore-case): Use declare to
6903 mark obsolete.
6904 (mode-line-inverse-video): Variable deleted.
6905
6906 * international/mule-util.el (string-to-sequence): Remove.
6907
6908 * calendar/calendar.el (calendar-version):
6909 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
6910 (icalendar-convert-diary-to-ical):
6911 * cus-edit.el (custom-mode):
6912 * ansi-color.el (ansi-color-unfontify-region):
6913 * international/latin1-disp.el (latin1-char-displayable-p):
6914 * progmodes/cwarn.el (turn-on-cwarn-mode):
07b1a5fb
SM
6915 * progmodes/which-func.el (which-func-update-1):
6916 Use define-obsolete-function-alias.
59f7af81
CY
6917
6918 * net/newst-backend.el (newsticker-cache-filename):
07b1a5fb
SM
6919 * net/newst-treeview.el (newsticker-groups-filename):
6920 Fix incorrect obsolescence declaration.
59f7af81
CY
6921
6922 * allout.el (allout-passphrase-hint-string): Likewise.
6923 (allout-init): Use a declare form to mark obsolete.
6924
6925 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
6926 this applies to functions.
6927
6928 * iswitchb.el (iswitchb-read-buffer): Move code of
6929 iswitchb-define-mode-map here, and delete that obsolete function.
6930
6931 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
6932 font-lock-reference-face.
6933
cca96c97
GM
69342012-09-25 Glenn Morris <rgm@gnu.org>
6935
b06eeda8
GM
6936 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
6937 Doc fixes.
6938
cca96c97
GM
6939 * eshell/em-term.el (eshell-term-name):
6940 Default to term-term-name. (Bug#12485)
6941
dc4f818b
FEG
69422012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
6943
cca96c97
GM
6944 * progmodes/python.el (python-shell-send-buffer): Better handling
6945 of "if __name__ == '__main__':" conditionals when sending the buffer.
dc4f818b 6946
289c24bd
GM
69472012-09-24 Glenn Morris <rgm@gnu.org>
6948
6949 * eshell/esh-cmd.el (eshell-find-alias-function):
6950 Tighten up file-name regexp. (Bug#12499)
6951
8fb8b88f
FEG
69522012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
6953
6954 Enhancements for triple-quote string syntax.
6955 * progmodes/python.el (python-quote-syntax): Remove.
6956 (python-syntax-propertize-function): New value.
07b1a5fb
SM
6957 (python-syntax-count-quotes, python-syntax-stringify):
6958 New functions.
8fb8b88f 6959
6c27f0f8
CY
69602012-09-24 Chong Yidong <cyd@gnu.org>
6961
a5f2b6ec
CY
6962 * mail/supercite.el (sc-version): Remove obsolete function.
6963 (sc-describe): Don't mark as obsolete, since it is bound.
6964 (sc-submit-bug-report): Remove.
6965
6966 * vc/log-edit.el (cvs-changelog-full-paragraphs)
6967 (cvs-commit-buffer-require-final-newline): Remove.
0c765e5f
CY
6968 (log-edit-require-final-newline)
6969 (log-edit-changelog-full-paragraphs): Default to t.
a5f2b6ec
CY
6970
6971 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
6972 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
6973 * vc/vc.el (vc-checkout-carefully): Likewise.
6974
6975 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
6976 (emerge-version): Remove.
6977
6978 * progmodes/compile.el (compile-internal): Remove.
6979 (compilation-parse-errors-function): Fix typo.
6980
6981 * international/mule.el (set-char-table-default): Remove.
6982 (set-coding-priority, make-coding-system, generic-char-p)
6983 (charset-list, charset-bytes, charset-id): Use declare to mark
6984 functions as obsolete.
6985
6986 * vc/pcvs-defs.el (cvs-buffer-name-alist)
6987 (cvs-invert-ignore-marks): Remove references to obsolete vars.
6988 * vc/vc-hooks.el (vc-default-registered): Don't use
6989 vc-master-templates.
6990
07b1a5fb
SM
6991 * font-lock.el (font-lock-reference-face):
6992 Use define-obsolete-variable-alias.
6c27f0f8
CY
6993
6994 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
6995 * calendar/calendar.el (calendar-font-lock-keywords):
6996 * calendar/diary-lib.el (diary-font-lock-keywords)
6997 (diary-fancy-font-lock-keywords):
6998 * textmodes/reftex-sel.el (reftex-insert-docstruct):
6999 * textmodes/reftex-index.el (reftex-insert-index):
7000 * textmodes/reftex-cite.el (reftex-format-bib-entry):
7001 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
7002 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
7003 * progmodes/prolog.el (prolog-font-lock-keywords):
7004 * progmodes/idlwave.el (idlwave-idl-keywords):
7005 * progmodes/ada-mode.el (ada-font-lock-keywords):
7006 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
7007
bcc0adbf
GM
70082012-09-24 Glenn Morris <rgm@gnu.org>
7009
7010 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
7011
095bb823
FEG
70122012-09-23 Fabián Ezequiel Gallina <fgallina@cuca>
7013
7014 * progmodes/python.el (python-indent-line): More consistent cursor
7015 movement behavior.
7016
70efc5c9
SM
70172012-09-23 Stefan Merten <smerten@oekonux.de>
7018
7019 * textmodes/rst.el: Fix compiler warning.
7020
2f438239
RW
70212012-09-23 Roland Winkler <winkler@gnu.org>
7022
07b1a5fb
SM
7023 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
7024 Transcribe also LaTeX hyphenation.
2f438239
RW
7025 (bibtex-reformat): Bug fix. Do not quote twice the elements of
7026 bibtex-reformat-previous-options.
7027
936ad041
RW
70282012-09-23 Roland Winkler <winkler@gnu.org>
7029
7030 * proced.el (proced-renice-command): New variable.
7031 (proced-marked-processes): New function.
7032 (proced-with-processes-buffer): New macro.
7033 (proced-send-signal): Use them.
7034 (proced-renice): New command bound to r.
7035
6fab0274
RW
70362012-09-23 Roland Winkler <winkler@gnu.org>
7037
7038 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
7039 ibuffer-saved-filter-groups has one element, shortcut the call of
7040 completing-read. (Bug#12331)
7041
9a930676
CY
70422012-09-23 Chong Yidong <cyd@gnu.org>
7043
7044 * bindings.el (mode-line-toggle-read-only):
7045 * bs.el (bs-toggle-readonly):
7046 * buff-menu.el (Buffer-menu-toggle-read-only):
7047 * dired.el (dired-toggle-read-only):
7048 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
7049
d07ff9db
CY
70502012-09-23 Chong Yidong <cyd@gnu.org>
7051
7052 * image.el (image-type-available-p): Adapt to init-image-library
7053 argument changes.
7054
51c4474e
JL
70552012-09-22 Juri Linkov <juri@jurta.org>
7056
7057 * dired.el (dired-mode-map): Add [remap read-only-mode] for
7058 `dired-toggle-read-only'. (Bug#12462)
7059
43bf5e8e
MR
70602012-09-22 Martin Rudalics <rudalics@gmx.at>
7061
7062 * subr.el (temp-output-buffer-show): New function.
7063 (with-output-to-temp-buffer): Call temp-output-buffer-show
7064 instead of internal-temp-output-buffer-show.
7065
c88b867f
CY
70662012-09-22 Chong Yidong <cyd@gnu.org>
7067
3df47cd5
CY
7068 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
7069 (Bug#12462).
7070
c88b867f
CY
7071 * repeat.el (repeat): Doc fix (Bug#12348).
7072
7073 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
7074 (Bug#10909).
7075
7076 * simple.el (shell-command-on-region): Doc fix.
3171e303 7077 (read-only-mode): Doc fix.
c88b867f 7078
df9685f3
EZ
70792012-09-22 Eli Zaretskii <eliz@gnu.org>
7080
7081 * emacs-lisp/timer.el (run-with-idle-timer)
7082 (timer-activate-when-idle): Warn against reinvoking an idle timer
7083 from within its own timer action. (Bug#12447)
7084
8e17c9ba
MR
70852012-09-22 Martin Rudalics <rudalics@gmx.at>
7086
7087 * cus-start.el (window-combination-limit): Add new optional
7088 values.
7089 * window.el (temp-buffer-window-show)
7090 (window--try-to-split-window): Handle new values of
7091 window-combination-limit (Bug#1806).
7092 (split-window): Test window-combination-limit for t instead of
7093 non-nil.
7094 (display-buffer-at-bottom): New buffer display action function.
7095 * help.el (temp-buffer-resize-regexps): New option.
7096 (temp-buffer-resize-mode): Rewrite doc-string.
7097 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
bd909927 7098 Don't resize reused window. Suggested by Glenn Morris.
8e17c9ba 7099
48a24920
SM
71002012-09-22 Stefan Merten <smerten@oekonux.de>
7101
70efc5c9 7102 * textmodes/rst.el: Revamp section title faces.
48a24920
SM
7103 (rst-official-version)
7104 (rst-package-emacs-version-alist): Sync with official version
7105 V1.4.0.
7106 (rst-faces-defaults, rst-set-level-default)
7107 (rst-level-face-max, rst-level-face-base-color)
7108 (rst-level-face-base-light, rst-level-face-format-light)
7109 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
7110 (rst-adornment-faces-alist): Match new setup.
7111 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
7112 (rst-level-5, rst-level-6): New faces.
7113
82f8cd94
CY
71142012-09-22 Chong Yidong <cyd@gnu.org>
7115
7116 * simple.el (undo): Handle indirect buffers (Bug#8207).
7117
acfa068f 71182012-09-21 Leo Liu <sdl.web@gmail.com>
a8c14da8
LL
7119
7120 IDO: Disable match re-ordering for buffer switching.
2bc9406c 7121 * ido.el (ido-buffer-disable-smart-matches): New variable.
a8c14da8
LL
7122 (ido-set-matches-1): Use it. (Bug#2042)
7123
acfa068f 71242012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
a316d229
JM
7125
7126 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
7127 Fix 2011-05-17 change. (Bug#12418)
7128
acfa068f 71292012-09-21 Leo Liu <sdl.web@gmail.com>
d02e58f8
LL
7130
7131 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
7132
acfa068f 71332012-09-21 Glenn Morris <rgm@gnu.org>
511fd0b2
GM
7134
7135 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
7136 Be more robust about locating simple.el.
7137
acfa068f 71382012-09-21 Glenn Morris <rgm@gnu.org>
fa05bfe0
GM
7139
7140 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
7141
acfa068f
CY
71422012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
7143
7144 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
7145
41a97e6f
JL
71462012-09-20 Juri Linkov <juri@jurta.org>
7147
eb2deaff
JL
7148 * replace.el (query-replace-read-from): Use `read-regexp' instead
7149 of `read-from-minibuffer' when `regexp-flag' is non-nil.
7150 (occur-read-primary-args): Use `read-regexp' instead of
7151 `read-string'.
7152 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
7153 `read-from-minibuffer'.
7154 * isearch.el (isearch-occur): Use `read-regexp' instead of
7155 `read-string'.
7156 * dired.el (dired-read-regexp): Use `read-regexp' instead of
7157 `read-from-minibuffer'.
7158 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
7159 of `read-string'. (Bug#7567)
7160
5825610b
JL
7161 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
7162 and allow accepting a list of strings prepended to a list of
7163 standard default values. Doc fix. (Bug#12321)
7164
eebbf404
JL
7165 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
7166
41a97e6f
JL
7167 * replace.el (read-regexp): Don't add ": " when PROMPT already
7168 ends with a colon and space. (Bug#12321)
7169
c9e452d3
TH
71702012-09-20 Tassilo Horn <tsdh@gnu.org>
7171
7172 * doc-view.el (doc-view-display): Better fix for the cl-assertion
7173 error.
7174
ee97deee
SM
71752012-09-20 Stefan Merten <smerten@oekonux.de>
7176
70efc5c9 7177 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
ee97deee
SM
7178 Fixes feature request bug#11711.
7179 (rst-mode): Create `imenu-create-index-function'.
7180 (rst-get-stripped-line): Delete after refactoring.
7181 (rst-section-tree, rst-section-tree-rec)
7182 (rst-section-tree-point): Refactor and document properly.
7183 (rst-imenu-find-adornments-for-position)
07b1a5fb
SM
7184 (rst-imenu-convert-cell, rst-imenu-create-index):
7185 New function.
ee97deee 7186
f490dab9
SM
71872012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
7188
95b9712e
SM
7189 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
7190 (macroexp--expand-all): Use it.
7191 (macroexp--funcall-and-return): Remove by folding it into its sole
7192 caller (macroexp--warn-and-return).
7193 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
7194 Use macroexp--obsolete-warning.
7195
f490dab9
SM
7196 * calc/calc.el: Fix last change by removing the whole chunk, since it
7197 was only needed back when Calc was not bundled.
7198
96e8d411
MR
71992012-09-20 Martin Rudalics <rudalics@gmx.at>
7200
7201 * emacs-lisp/debug.el (debug): Restore assignment to
7202 debugger-old-buffer removed on 2012-09-08.
7203
0876a82d
JL
72042012-09-20 Juri Linkov <juri@jurta.org>
7205
7206 * dired-aux.el (dired-diff): Remove (require 'diff) since
7207 `diff-latest-backup-file' is now autoloaded.
7208
9f7c28f0
CY
72092012-09-20 Chong Yidong <cyd@gnu.org>
7210
7211 * vc/diff.el (diff-latest-backup-file): Autoload.
7212
7a04bee9
SM
72132012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
7214
e6f0a80d
SM
7215 * calc/calc.el: Remove redundant autoload shape check.
7216 (sel-mode): Don't defvar.
7217 (calc-get-stack-element): Add `sel-mode' arg instead.
7218 (calc-top, calc-top-list): Pass it this additional argument.
7219 * calc/calc-store.el (calc-store-map):
7220 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
7221 (calc-map-equation, calc-outer-product, calc-inner-product):
7222 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
7223
7a04bee9
SM
7224 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
7225
12734222
JL
72262012-09-19 Juri Linkov <juri@jurta.org>
7227
7228 * dired-aux.el (dired-diff): Add (require 'diff) because
7229 `diff-latest-backup-file' is not autoloaded.
7230 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
7231 of `dired-get-filename' to t to not report error when there is
7232 no default file on the current line.
7233
46624b4f
SM
72342012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
7235
ce97595b
SM
7236 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
7237 macroexp--eval-if-compile.
7238 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
7239 (macroexp--expand-all): Use them (bug#12371).
7240
46624b4f
SM
7241 * doc-view.el (doc-view-guess-paper-size)
7242 (doc-view-scale-bounding-box): Fix unbound `caddr'.
7243
db8a5a18
TH
72442012-09-19 Tassilo Horn <tsdh@gnu.org>
7245
7246 New feature: set optimal slice from BoundingBox information.
7247 * doc-view.el (doc-view-mode-map): Add keybinding.
7248 (doc-view-menu): Add menu entry.
7249 (doc-view-set-slice): Adapt docstring.
7250 (doc-view-get-bounding-box, doc-view-guess-paper-size)
7251 (doc-view-scale-bounding-box)
7252 (doc-view-set-slice-from-bounding-box): New functions.
7253 (doc-view-paper-sizes): New defvar.
7254
69f6644c
GM
72552012-09-19 Glenn Morris <rgm@gnu.org>
7256
35f5b19d
GM
7257 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
7258 (byte-compile-log-warning): Autoload. (Bug#12371)
7259
69f6644c
GM
7260 * calendar/calendar.el (calendar-american-month-header)
7261 (calendar-european-month-header, calendar-iso-month-header)
7262 (calendar-month-header): New options.
7263 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
7264 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
7265
e543ae91
JD
72662012-09-19 Jan Djärv <jan.h.d@swipnet.se>
7267
7268 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
7269
2fd5e67d
JL
72702012-09-18 Juri Linkov <juri@jurta.org>
7271
7272 * dired-aux.el (dired-diff): Restore original functionality of
7273 getting the default value, but keep new feature of using the
7274 latest existing backup file (`diff-latest-backup-file').
7275
42917e79
JL
72762012-09-18 Juri Linkov <juri@jurta.org>
7277
7278 * dired.el (dired-mark): If the region is active in Transient Mark
7279 mode, mark all files in the active region. Doc fix.
7280 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
7281 Doc fix. (Bug#10624)
7282
20f70ede
JL
72832012-09-18 Juri Linkov <juri@jurta.org>
7284
7285 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
7286 attributes for M-n are pulled from the file at point.
7287 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
7288 Suggested by Drew Adams. (Bug#10624)
7289
32fb8162
DG
72902012-09-18 Dmitry Gutov <dgutov@yandex.ru>
7291
7292 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
7293 whitespace after "end".
7294 (ruby-do-end-to-brace): Collapse block to one line if it fits
7295 within fill-column.
7296
37ab5092
MR
72972012-09-18 Martin Rudalics <rudalics@gmx.at>
7298
7299 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
7300 value.
7301 (debug): Don't remove debugger window when debugger is expected
7302 to be back.
7303
ed1f0bd3
CY
73042012-09-18 Chong Yidong <cyd@gnu.org>
7305
7306 * custom.el (defface): Doc fix.
7307
7308 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
7309
a11035b8
MB
73102012-09-18 Martin Blais <blais@furius.ca> (tiny change)
7311
7312 * progmodes/compile.el (compilation-start): Use compilation-always-kill
7313 to initialize query-on-exit; then test that instead (bug#12288).
7314
64f6a736
SM
73152012-09-17 Stefan Merten <smerten@oekonux.de>
7316
70efc5c9 7317 * textmodes/rst.el: Add support for `testcover'.
64f6a736
SM
7318 (rst-defcustom-testcover, rst-testcover-add-compose)
7319 (rst-testcover-add-1value): New functions.
7320 (rst-portable-mark-active-p): Replace by `use-region-p'.
7321 (rst-update-section, rst-classify-adornment)
7322 (rst-find-title-line): Mark `1value' forms.
7323 (rst-classify-adornment): Remove superfluous form.
7324 (rst-update-section, rst-get-adornments-around)
7325 (rst-adornment-complete-p, rst-get-next-adornment)
7326 (rst-adjust, rst-promote-region)
7327 (rst-display-adornments-hierarchy, rst-straighten-adornments)
7328 (rst-find-pfx-in-region, rst-section-tree-rec)
7329 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
7330 (rst-toc-node, rst-toc, rst-forward-section)
7331 (rst-iterate-leftmost-paragraphs)
7332 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
7333 (rst-bullet-list-region)
7334 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
7335 (rst-compile-find-conf, rst-compile)
7336 (rst-repeat-last-character): Fix style.
7337
580bd868
CY
73382012-09-17 Chong Yidong <cyd@gnu.org>
7339
7340 * comint.el (comint--complete-file-name-data): Don't add a space
7341 if the status is `sole'; that adds a gratuitous space in the
7342 completion-cycling case (Bug#12092).
7343
7344 * pcomplete.el (pcomplete-completions-at-point): Likewise.
7345
69de3ec6
RS
73462012-09-17 Richard Stallman <rms@gnu.org>
7347
0dee970c
RS
7348 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
7349 only in the mime-shown mode, not in raw mode.
7350 (rmail-mime): Toggle off mime by displaying the message without
6b250df6 7351 mime processing. (Bug#12305)
0dee970c 7352
6b250df6
GM
7353 * mail/rmail.el (rmail-retry-failure):
7354 Turn off mime processing first. (Bug#12037)
acb1c47b 7355
69de3ec6
RS
7356 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
7357
d079ee5f
CY
73582012-09-17 Chong Yidong <cyd@gnu.org>
7359
7360 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
7361 (shell-dynamic-complete-functions): Convert to defcustom.
7362 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
7363
865fe16f
CY
7364 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
7365 * comint.el (comint-prompt-read-only):
7366 * custom.el (defcustom):
7367 * hi-lock.el (hi-lock-mode):
7368 * ibuffer.el (ibuffer-formats):
7369 * ielm.el (ielm-prompt-read-only):
7370 * novice.el (disable-command):
7371 * saveplace.el (toggle-save-place):
7372 * speedbar.el (speedbar-supported-extension-expressions):
7373 * startup.el (auto-save-list-file-prefix, init-file-user)
7374 (after-init-hook, inhibit-startup-echo-area-message):
7375 * strokes.el (strokes-help):
7376 * time-stamp.el (time-stamp):
7377 * calendar/calendar.el (calendar, diary-file):
7378 * calendar/diary-lib.el (diary-mail-entries, diary)
7379 (diary-list-entries-hook):
7380 * calendar/holidays.el (holidays, calendar-holidays):
7381 * calendar/lunar.el (lunar-phases):
7382 * calendar/solar.el (sunrise-sunset):
7383 * emulation/edt.el (edt-load-keys):
7384 * emulation/viper.el (viper-mode):
7385 * eshell/em-alias.el (eshell-command-aliases-list):
7386 * eshell/esh-util.el (eshell-convert-numeric-arguments):
7387 * international/ogonek.el (ogonek-information):
7388 * net/tramp-cmds.el (tramp-bug):
7389 * net/quickurl.el (quickurl-reread-hook-postfix):
7390 * play/decipher.el (decipher-font-lock-keywords):
7391 * progmodes/cc-styles.el (c-set-style):
7392 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
7393 * progmodes/inf-lisp.el (inferior-lisp-prompt):
7394 * progmodes/octave-mod.el (octave-mode):
7395 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
7396 * progmodes/verilog-mode.el (verilog-read-defines):
7397 * textmodes/two-column.el (2C-mode): Likewise.
7398
48093eb9
KY
73992012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
7400
7401 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
7402 that holds many addresses.
7403
c584eaf9
CY
74042012-09-16 Chong Yidong <cyd@gnu.org>
7405
40d70ecb
CY
7406 * align.el (align-areas): Call the indication function with
7407 positions instead of markers for arguments (Bug#12343).
7408
1667e065
CY
7409 * files.el (parse-colon-path): Use split-string (Bug#12351).
7410
fdc2806d 7411 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
71ce58e7 7412 (display-buffer-function): Mark as obsolete.
fdc2806d 7413
f1be615c 7414 * progmodes/compile.el (compilation-parse-errors): Accept list
ce97595b
SM
7415 values similar to font-lock-keywords (Bug#12136).
7416 Suggested by Oleksandr Manzyuk.
c584eaf9
CY
7417 (compilation-error-regexp-alist): Doc fix.
7418
f40a9709
GM
74192012-09-15 Glenn Morris <rgm@gnu.org>
7420
72aa16e1
GM
7421 * version.el (emacs-bzr-version-bzr): New function.
7422 (emacs-bzr-get-version): Add optional EXTERNAL argument.
7423
82375160
GM
7424 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
7425 checkouts, check the parent dirstate matches the branch.
7426 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
7427 empty string.
7428
f40a9709
GM
7429 * version.el (emacs-bzr-version): Doc fix.
7430 (emacs-bzr-version-dirstate): New function.
7431 (emacs-bzr-get-version): For lightweight checkouts, if the parent
7432 is local try and check that it matches the branch. If not, just
7433 use dirstate information. (Bug#12441)
7434
cb26b7f5
JL
74352012-09-14 Juri Linkov <juri@jurta.org>
7436
7437 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
7438 (Bug#12399)
7439
2de39f08
SM
74402012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
7441
0fb3cb7c
SM
7442 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
7443
2de39f08
SM
7444 * emacs-lisp/edebug.el: Miscellaneous cleanup.
7445 Remove obsolete byte-compiler hack that tried to silence some warnings.
7446 (edebug-submit-bug-report): Remove.
7447 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
7448 Remove aliases, use the un-prefixed name instead.
7449 (edebug-pop-to-buffer): Consider other frames.
7450 (edebug-original-read):: Make it more obvious that it's always defined.
7451 (edebug--make-form-data-entry, edebug--form-data-name)
7452 (edebug--form-data-begin, edebug--form-data-end): Rename from the
7453 single-dashed name, and implement with cl-defstruct.
7454 (edebug-set-form-data-entry): Use the standard accessors.
7455 (edebug-make-top-form-data-entry): Use push.
7456 (edebug-no-match): Drop useless `funcall'.
7457 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
7458 to functions.
7459 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
7460 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
7461 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
7462 (easy-menu-define, with-custom-print): Remove redundant specs.
7463 (edebug-outside-overriding-local-map)
7464 (edebug-outside-overriding-terminal-local-map): Remove, unused.
7465 (edebug--display): Bind unread-command-events directly to nil rather
7466 than binding it to unread-command-events and later setting it to nil.
7467 (edebug--display): Kill edebug-eval-buffer here...
7468 (edebug--recursive-edit): ...rather than here.
7469 Bind standard-output and standard-input.
7470 (edebug-eval): Check cl-macroexpand-all is fboundp.
7471 (edebug-temp-display-freq-count): Fix last change.
7472
7473 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
7474 * subr.el (noreturn, 1value): Add `debug' spec.
7475 * emacs-lisp/advice.el: Require cl-lib.
7476 (ad-copy-tree): Remove, use copy-tree instead.
7477 (ad-dolist): Remove use dolist or cl-dolist instead.
7478 (ad-do-return): Remove, use cl-return instead.
7479 (defadvice): Add `debug' spec.
7480
5b68b333
JL
74812012-09-13 Juri Linkov <juri@jurta.org>
7482
7483 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
7484 (Bug#12399)
7485
b9800ec4
GM
74862012-09-13 Glenn Morris <rgm@gnu.org>
7487
6a2e6868
GM
7488 * calc/calc.el (math-compose-expr):
7489 * calc/calc-ext.el (math-compose-expr):
7490 * progmodes/cc-defs.el (cl-macroexpand-all):
7491 * progmodes/cc-langs.el (delete-duplicates, mapcan)
7492 (cl-macroexpand-all): Update declarations.
7493
b9800ec4
GM
7494 * vc/vc.el: No need to require ediff.
7495 (ediff-load-version-control): Declare.
7496 (ediff-vc-internal): Fix declaration.
7497 (vc-version-ediff): Require ediff.
7498
c18e885b
PE
74992012-09-13 Paul Eggert <eggert@cs.ucla.edu>
7500
7501 Use a more backwards-compatible timer format (Bug#12430).
7502 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
7503 being right after USECS, as that better supports old code that
7504 inadvisedly looked directly at the timer vector.
7505
d607d303
KH
75062012-09-13 Kenichi Handa <handa@gnu.org>
7507
7508 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
7509 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
7510 `coding-priority' property of these language environment.
7511
72eac303
PE
75122012-09-13 Paul Eggert <eggert@cs.ucla.edu>
7513
7514 Fix glitches caused by addition of psec to timers (Bug#12430).
7515 * image.el (image-animate-timer):
7516 * time.el (display-time-world-timer):
7517 Use timer--function and timer--args rather than raw access to
7518 timer vector.
7519
2168fe4f
GM
75202012-09-13 Glenn Morris <rgm@gnu.org>
7521
7522 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
7523 If not compiling a file, try using load-file-name.
7524
bd8d6108
SM
75252012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
7526
c0c54fbd
SM
7527 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
7528 Fix last change.
7529 (edebug-update-eval-list): Use `push'.
7530
bd8d6108
SM
7531 * emacs-lisp/edebug.el: Use lexical-binding.
7532 Remove the "edebug-" prefix from non-dynamically-scoped variables.
7533 Mark unused args with underscore.
7534 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
7535 (edebug-form-data): Use defvar-local.
7536 (edebug-make-before-and-after-form, edebug-make-after-form):
7537 Use backquote.
7538 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
7539 Not dynamically scoped any more.
7540 (edebug--enter-trace): Add arguments `function' and `args'.
7541 Rename from edebug-enter-trace.
7542 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
7543 (edebug--update-coverage): Add `after-index' and `value' args.
7544 Rename from edebug-update-coverage.
7545 (edebug-slow-after): Call it accordingly.
7546 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
7547 edebug-recursive-edit.
7548 (edebug--display): Call it accordingly. Add args `value',
7549 `offset-index', and `arg-mode'. Rename from edebug-display.
7550 (edebug-debugger, edebug): Call it accordingly.
7551 (edebug-eval-display-list): Use dolist.
7552
a9f9d9de
JL
75532012-09-12 Juri Linkov <juri@jurta.org>
7554
7555 * info.el (Info-search): Don't check for isearch-mode and
7556 isearch-regexp before let-binding search-spaces-regexp to
7557 Info-search-whitespace-regexp.
7558 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
7559 search-whitespace-regexp if isearch-lax-whitespace or
7560 isearch-regexp-lax-whitespace is non-nil.
7561 (Info-mode): Don't set local variable search-whitespace-regexp.
7562 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
7563
bfeae2cf
SM
75642012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
7565
7566 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
7567 (debugger-env-macro): Remove support for unread-command-char.
7568
7569 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
7570 the temporary map re-appearing on emulation-mode-map-alists.
7571
7572 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
7573 since 22.1.
7574
7575 * ehelp.el (with-electric-help): Accept functions in
7576 electric-help-form-to-execute.
7577 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
7578 And replace unread-command-char -> unread-command-events.
7579
fbbcaf1b
MA
75802012-09-12 Michael Albinus <michael.albinus@gmx.de>
7581
7582 Sync with Tramp 2.2.6.
7583
7584 * net/tramp.el (tramp-accept-process-output): Don't use
7585 JUST-THIS-ONE in the XEmacs case.
7586
7587 * net/trampver.el: Update release number.
7588
4dece104
MR
75892012-09-12 Martin Rudalics <rudalics@gmx.at>
7590
bfeae2cf
SM
7591 * emacs-lisp/debug.el (debugger-previous-window-height):
7592 New variable.
4dece104
MR
7593 (debug): When debugger-jumping-flag is non-nil try to restore
7594 height of debugger window. (Bug#8789)
7595
45b82ad0
SM
75962012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
7597
60c49c0f
SM
7598 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
7599 overriding-local-map and pre/post-command-hook here.
7600 (edebug-recursive-edit): Do it here instead (bug#12345).
7601 (edebug-outside-unread-command-char): Remove all uses of
7602 unread-command-char.
7603
45b82ad0
SM
7604 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
7605 inhibit-debugger is bound instead.
7606
baa26ea0
BG
76072012-09-11 Bastien Guerry <bzg@gnu.org>
7608
7609 * subr.el (set-temporary-overlay-map): Add a docstring.
fc0c31f8 7610 (Bug#12346)
baa26ea0 7611
04e8abfa
BG
76122012-09-11 Bastien Guerry <bzg@gnu.org>
7613
96d03571 7614 * minibuffer.el (completion-table-subvert): Fix docstring.
fc0c31f8 7615 (Bug#12347)
96d03571
BG
7616
76172012-09-11 Bastien Guerry <bzg@gnu.org>
7618
fc0c31f8 7619 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
04e8abfa 7620
04e082b0
MM
76212012-09-10 Michael R. Mauger <mmaug@yahoo.com>
7622
7623 * progmodes/sql.el: Version 3.1
7624 (sql-db2-escape-newlines): New variable.
7625 (sql-escape-newlines-filter): Use it.
7626
399a361b
JB
76272012-09-10 Juanma Barranquero <lekktu@gmail.com>
7628
7629 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
7630
0780c517
DN
76312012-09-10 Dan Nicolaescu <dann@gnu.org>
7632
45b82ad0
SM
7633 * vc/diff-mode.el (diff-mode-menu):
7634 Bind diff-remove-trailing-whitespace.
0780c517 7635
9b851e25
SM
76362012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
7637
7638 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
fc0c31f8
JB
7639 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
7640 (emacs-lisp-byte-code-mode): New functions.
9b851e25
SM
7641 (eval-sexp-add-defvars): Don't skip defvars in column >0.
7642 (eval-defun-2): Remove bogus interactive spec.
7643 (lisp-indent-line): Remove redundant whole-exp code, now done in
7644 indent-according-to-mode.
7645 (save-match-data): Remove redundant indent data.
7646
7647 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
7648 Use `declare'.
7649
3231d532
JL
76502012-09-09 Juri Linkov <juri@jurta.org>
7651
7652 * replace.el (replace-regexp-lax-whitespace): New defcustom.
7653 (replace-lax-whitespace, query-replace-regexp)
7654 (query-replace-regexp-eval, replace-regexp): Doc fix.
7655 (perform-replace, replace-highlight): Let-bind
7656 isearch-lax-whitespace to replace-lax-whitespace and
7657 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
7658
7659 * isearch.el (isearch-query-replace): Let-bind
7660 replace-lax-whitespace to isearch-lax-whitespace and
7661 replace-regexp-lax-whitespace to
7662 isearch-regexp-lax-whitespace. (Bug#10885)
7663
70fe8236
SM
76642012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
7665
7666 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
7667
8ed43f15
AM
76682012-09-09 Alan Mackenzie <acm@muc.de>
7669
70fe8236
SM
7670 * progmodes/cc-engine.el (c-state-cache-init):
7671 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
7672 (c-record-parse-state-state):
7673 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
8ed43f15 7674
bfabf70a
AS
76752012-09-09 Andreas Schwab <schwab@linux-m68k.org>
7676
7677 * register.el (register-separator): Rename from
7678 separator-register. All uses changed. Doc fix.
7679 (register): Fix version.
7680
011474aa
CY
76812012-09-09 Chong Yidong <cyd@gnu.org>
7682
7683 * replace.el (query-replace-map): Bind four new symbols for
7684 requesting window scrolling.
7685
7686 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
7687 query-replace-map (Bug#8948).
7688
7689 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
7690
7691 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
7692 since they are now in query-replace-map.
7693
7694 * window.el (scroll-other-window-down): Make the arg optional.
7695
a8b7cd8d
CY
76962012-09-09 Chong Yidong <cyd@gnu.org>
7697
7698 * files.el (hack-local-variables-confirm): Use quit-window to kill
7699 the *Local Variables* buffer.
7700
c3268831
DG
77012012-09-08 Dmitry Gutov <dgutov@yandex.ru>
7702
7703 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
7704 not just expect to be at its beginning. Adjust callees.
7705 Succeed when do-end block has no space before the pipe character.
7706 (ruby-brace-to-do-end): When the original block is one-liner,
7707 convert to multiline. Reindent the result.
7708
0979429b
J
77092012-09-08 Jambunathan K <kjambunathan@gmail.com>
7710
7711 * register.el (register): New group.
27359e99 7712 (separator-register): New user option.
0979429b
J
7713 (increment-register): Route it to `append-to-register', if
7714 register contains text. Implication is that `C-x r +' can now be
7715 used for appending to a text register (bug#12217).
7716 (append-to-register, prepend-to-register): Add separator based on
5b9c45a6 7717 `separator-register'.
0979429b 7718
ace2989a
AM
77192012-09-08 Alan Mackenzie <acm@muc.de>
7720
7721 AWK Mode: make auto-newline work when there's "==" in the pattern.
7722 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
7723 correctly.
0979429b
J
7724 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
7725 Test more rigorously for "=" token.
ace2989a 7726
616c6c36
DG
77272012-09-08 Dmitry Gutov <dgutov@yandex.ru>
7728
0979429b
J
7729 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
7730 Only fail when reached LIMIT.
616c6c36 7731
35d98877
CY
77322012-09-08 Chong Yidong <cyd@gnu.org>
7733
7734 * dired.el (dired-mode-map): Don't bind M-=.
7735
7736 * dired-aux.el (dired-diff): Use backup file as default.
7737
1715f2db
DA
77382012-09-08 Drew Adams <drew.adams@oracle.com>
7739
7740 * subr.el (add-to-history): Fix delete usage (Bug#12314).
7741
6dcef6ec
CY
77422012-09-08 Chong Yidong <cyd@gnu.org>
7743
7744 * subr.el (syntax-after, syntax-class): Doc fix.
7745
fa2bcf43
MR
77462012-09-08 Martin Rudalics <rudalics@gmx.at>
7747
7748 * window.el (display-buffer-in-previous-window): New buffer
7749 display action function.
7750
7751 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
7752 (debugger-previous-window): New variable.
7753 (debug): Rewrite using display-buffer-in-previous-window,
7754 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
7755
daac280a
SM
77562012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
7757
7758 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
7759
9dd40b00
MM
77602012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
7761
daac280a
SM
7762 * progmodes/python.el (python-shell-send-string):
7763 When default-directory is remote, create temp file on remote
9dd40b00
MM
7764 filesystem.
7765 (python-shell-send-file): When file is remote, pass local view of
7766 file paths to remote Python interpreter. (Bug#12340)
7767
145823ec
CY
77682012-09-07 Chong Yidong <cyd@gnu.org>
7769
cee2e90d
CY
7770 * window.el (switch-to-buffer): Doc fix (Bug#12181).
7771
0d7eb2ea
CY
7772 * files.el (after-find-file): Don't fail on a read-only buffer if
7773 require-final-newline is `visit' or `visit-save' (Bug#11156).
7774
145823ec
CY
7775 * subr.el (read-char-choice): Allow quitting via ESC ESC.
7776
daac280a
SM
7777 * userlock.el (ask-user-about-supersession-threat):
7778 Use read-char-choice (Bug#12093).
145823ec 7779
74c582e6
CY
77802012-09-07 Chong Yidong <cyd@gnu.org>
7781
e5c2edf7
CY
7782 * subr.el (buffer-narrowed-p): New function.
7783
7784 * ses.el (ses-widen):
7785 * simple.el (count-words--buffer-message):
1f9f395d 7786 * net/browse-url.el (browse-url-of-buffer): Use it.
e5c2edf7
CY
7787
7788 * simple.el (count-words-region): Don't signal an error if there
7789 is a non-nil prefix arg and the mark is not set.
c640e87d 7790
74c582e6
CY
7791 * help.el (describe-key-briefly): Allow the message to be seen
7792 when invoked from the minibuffer (Bug#7014).
7793
d81ceaaf
DG
77942012-09-07 Dmitry Gutov <dgutov@yandex.ru>
7795
7796 * progmodes/ruby-mode.el (ruby-end-of-defun)
7797 (ruby-beginning-of-defun): Simplify, allow indentation before
7798 block beginning and end keywords.
8f06acce
DG
7799 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
7800 (ruby-end-of-defun): Expect that the point is at the beginning of
7801 the defun.
d81ceaaf 7802
d458ef98
SM
78032012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
7804
7805 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
7806 (bug#12367).
7807 (cl--make-usage-args): Strip _ from argument names.
7808
20367d28
RS
78092012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7810
7811 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
7812 obsolete alias speedbar-key-map.
7813 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
7814 (vhdl-index-menu-init): Don't use obsolete variable
7815 font-lock-maximum-size.
7816
3424a4f6
CY
78172012-09-06 Chong Yidong <cyd@gnu.org>
7818
7819 * frame.el (window-system-version): Mark as obsolete.
7820
fcbfbdea
CY
7821 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
7822 of obsolete variable speedbar-key-map.
7823
826b3235
JL
78242012-09-06 Juri Linkov <juri@jurta.org>
7825
7826 * replace.el (replace-lax-whitespace): New defcustom.
7827 (query-replace, query-replace-regexp, query-replace-regexp-eval)
7828 (replace-string, replace-regexp): Mention it in docstrings.
7829 (perform-replace, replace-highlight): Let-bind
7830 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
7831 to the values of replace-lax-whitespace and regexp-flag.
7832 Don't let-bind search-whitespace-regexp. (Bug#10885)
7833
7834 * isearch.el (isearch-query-replace): Let-bind
7835 replace-lax-whitespace instead of let-binding
7836 replace-search-function and replace-re-search-function.
7837 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
7838 and isearch-regexp-lax-whitespace to lazy-highlight variables.
7839 (isearch-toggle-symbol): Set isearch-regexp to nil
7840 in isearch-word mode (like in isearch-toggle-word).
7841
1ec5e41d
JL
78422012-09-06 Juri Linkov <juri@jurta.org>
7843
7844 * replace.el (replace-search-function)
7845 (replace-re-search-function): Set default values to nil.
7846 (perform-replace): Let-bind isearch-related variables based on
7847 replace-related values, call `isearch-search-fun' and let-bind
7848 the result to `search-function'. Remove code that sets
7849 `search-function' and `search-string' separately for
7850 `delimited-flag'.
7851 (replace-highlight): Add new argument `delimited-flag' and
7852 rename other arguments to the names used in `perform-replace'.
7853 Let-bind `isearch-word' to the argument `delimited-flag'.
7854 (Bug#10885, bug#10887)
7855
0ba2d4b6
DG
78562012-09-07 Dmitry Gutov <dgutov@yandex.ru>
7857
7858 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
7859 ruby-beginning-of-indent, simplify, allow all keywords to have
7860 indentation before them.
7861 (ruby-beginning-of-indent): Adjust for above. Search until the
7862 found point is not inside a string or comment.
7863 (ruby-font-lock-keywords): Allow symbols to start with "@"
7864 character, give them higher priority than variables.
7865 (ruby-syntax-propertize-function)
7866 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
7867 matchers. Expression expansions are not comments when inside a
7868 string, and there comment syntax status is irrelevant.
7869 (ruby-match-expression-expansion): New function. Check that
7870 expression expansion is inside a string, and it's not escaped.
7871 (ruby-font-lock-keywords): Use it.
7872
ef654460
MR
78732012-09-05 Martin Rudalics <rudalics@gmx.at>
7874
7875 * help.el (temp-buffer-max-height): New default value.
7876 (temp-buffer-resize-frames): New option.
7877 (resize-temp-buffer-window): Optionally resize frame.
7878
7879 * window.el (fit-frame-to-buffer-bottom-margin): New option.
7880 (fit-frame-to-buffer): New function.
7881
7e570fbf 78822012-09-05 Glenn Morris <rgm@gnu.org>
72308848
GM
7883
7884 * emulation/cua-rect.el (cua--init-rectangles):
7885 * textmodes/picture.el (picture-mode-map):
7886 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
7887 like forward-char and backward-char. (Bug#12317)
7888
7e570fbf 78892012-09-05 Leo Liu <sdl.web@gmail.com>
3aca1291
LL
7890
7891 * progmodes/flymake.el (flymake-warning-re): New variable.
7892 (flymake-parse-line): Use it.
7893
7e570fbf 78942012-09-05 Glenn Morris <rgm@gnu.org>
b6683353
GM
7895
7896 * calendar/holidays.el (holiday-christian-holidays):
7897 Rename an entry. (Bug#12289)
7898
7e570fbf 78992012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
64f8c4bd
SM
7900
7901 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
7902 (bug#12222).
7903
972debf2
SM
79042012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
7905
7906 * loadup.el: Load macroexp. Remove hack.
7907 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
7908 (macroexp--expand-all): Use it to get better warnings.
7909 (macroexp--backtrace, macroexp--trim-backtrace-frame)
7910 (internal-macroexpand-for-load): New functions.
7911 (macroexp--pending-eager-loads): New var.
7912 (emacs-startup-hook): New hack to replace one in loadup.el.
7913 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
7914 (cl--compiler-macro-cXXr): Move to top, before they can be used.
7915 (cl-psetf): Simplify.
7916 (cl-defstruct): Add indent rule.
7917
8ce192e3
LI
79182012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
7919
7920 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
7921 over `user-mail-address' for the SMTP MAIL FROM envelope.
7922 (smtpmail-via-smtp): Ditto.
7923
6578b4d8
DG
79242012-09-04 Dmitry Gutov <dgutov@yandex.ru>
7925
7926 * progmodes/ruby-mode.el: Clean up keybindings.
7927 (ruby-mode-map): Don't bind ruby-electric-brace,
7928 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
7929 backward-kill-word, reindent-then-newline-and-indent.
7930 (ruby-mark-defun): Remove.
7931 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
7932 (ruby-mode): Set local beginning-of-defun-function and
7933 end-of-defun-function values.
7934
c5e28e39
MR
79352012-09-03 Martin Rudalics <rudalics@gmx.at>
7936
7937 * window.el (temp-buffer-window-setup-hook)
7938 (temp-buffer-window-show-hook): New hooks.
7939 (temp-buffer-window-setup, temp-buffer-window-show)
7940 (with-temp-buffer-window): New functions.
972debf2
SM
7941 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
7942 (special-display-popup-frame): Make sure the window used shows BUFFER.
c5e28e39
MR
7943
7944 * help.el (temp-buffer-resize-mode): Fix doc-string.
7945 (resize-temp-buffer-window): New optional argument WINDOW.
7946
7947 * files.el (recover-file, save-buffers-kill-emacs):
7948 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
7949
73406194
MA
79502012-09-02 Michael Albinus <michael.albinus@gmx.de>
7951
7952 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
7953 remote definition of `default-directory', ensure we can connect.
7954
63dd1c6f
JL
79552012-09-02 Juri Linkov <juri@jurta.org>
7956
7957 Toggle whitespace matching mode with M-s SPC.
7958 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
7959
7960 * isearch.el (search-whitespace-regexp): Doc fix.
7961 Remove cons cell customization.
7962 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
7963 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
7964 New variables.
7965 (isearch-forward, isearch-forward-regexp): Doc fix.
7966 (isearch-toggle-lax-whitespace): New command.
7967 (search-forward-lax-whitespace, search-backward-lax-whitespace)
7968 (re-search-forward-lax-whitespace)
7969 (re-search-backward-lax-whitespace): New functions.
7970 (isearch-whitespace-regexp): Remove function.
7971 (isearch-query-replace): Let-bind replace-search-function and
7972 replace-re-search-function.
7973 (isearch-occur): Let-bind search-spaces-regexp according to the
7974 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
7975 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
7976 condition for C-q SPC.
7977 (isearch-search-fun-default): Use new functions mentioned above.
7978 (isearch-search-forward, isearch-search-backward): Remove functions.
7979 (isearch-search): Don't let-bind search-spaces-regexp.
7980 (isearch-lazy-highlight-space-regexp): Remove variable.
7981 (isearch-lazy-highlight-lax-whitespace)
7982 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
7983 (isearch-lazy-highlight-new-loop): Use them.
7984 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
7985
af7dda05
CY
79862012-09-02 Chong Yidong <cyd@gnu.org>
7987
7988 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
7989
d67d3afd
GM
79902012-09-02 Glenn Morris <rgm@gnu.org>
7991
7992 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
7993
69678719
GM
79942012-09-01 Glenn Morris <rgm@gnu.org>
7995
7996 * term.el: Tidy up menu definitions.
7997 (term-mode-map): Use easymenu for In/Out, Complete menus.
7998 (term-pager-break-map): Initialize in the defvar.
7999 (term-terminal-menu, term-signals-menu): Define with easymenu.
8000 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
8001 (term-pager-menu): New, extracted from term-process-pager.
8002 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
8003 (term-update-mode-line): Propertize line/char and page items.
8004 (term-process-pager): Move keymap initialization elsewhere.
8005
78dd6ab1
MR
80062012-09-01 Martin Rudalics <rudalics@gmx.at>
8007
8008 * window.el (switch-to-prev-buffer): Handle additional values of
8009 BURY-OR-KILL argument. Don't switch in minibuffer window.
8010 (switch-to-next-buffer): Don't switch in minibuffer window.
8011 (quit-restore-window): New function based on quit-window.
8012 Handle additional values of former KILL argument.
8013 (quit-window): Call quit-restore-window with appropriate
8014 interpretation of KILL argument.
8015 (display-buffer-below-selected): New buffer display action
8016 function.
8017
3d10e134
SM
80182012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
8019
8020 * minibuffer.el (completion-at-point-functions): Complete docstring
8021 (bug#12254).
8022
0e23ef9d
PE
80232012-09-01 Paul Eggert <eggert@cs.ucla.edu>
8024
8025 Better seed support for (random).
8026 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
8027 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
8028 * play/mpuz.el, play/tetris.el, play/zone.el:
8029 * calc/calc-comb.el (math-init-random-base):
8030 * play/blackbox.el (bb-init-board):
8031 * play/life.el (life):
8032 * server.el (server-use-tcp):
8033 * type-break.el (type-break):
8034 Remove unnecessary call to (random t).
8035 * net/sasl.el (sasl-unique-id-function):
8036 Change (random t) to (random), now that the latter is more random.
8037 * play/life.el (life-initialized): Remove no-longer-needed var.
8038
862382df
MR
80392012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
8040
8041 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
8042 Consider frame's buffer predicate when choosing the buffer.
8043 (Bug#12081)
8044
262a66e1
RS
80452012-08-30 Richard Stallman <rms@gnu.org>
8046
8047 * simple.el (special-mode-map): Delete binding for `z'.
8048
f17e1d00
AS
80492012-08-30 Andreas Schwab <schwab@linux-m68k.org>
8050
8051 * progmodes/compile.el (compilation-always-kill): Doc fix.
8052
24777832
CY
80532012-08-30 Chong Yidong <cyd@gnu.org>
8054
8055 * window.el (display-buffer-reuse-frames): Make the obsolescence
8056 message more informative.
8057
69ba1f04
GM
80582012-08-30 Glenn Morris <rgm@gnu.org>
8059
8060 * paren.el (show-paren-delay):
8061 Add a :set function. Doc fix. (Bug#12297)
8062
f0019ede
MB
80632012-08-29 Martin Blais <blais@furius.ca> (tiny change)
8064
8065 * progmodes/compile.el (compilation-always-kill): New var.
8066 (compilation-start): Use it.
8067
35e62fc9
SM
80682012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
8069
af070a1c
SM
8070 * simple.el (read-only-mode): Move from files.el for bootstrapping.
8071 * files.el (read-only-mode): Move to simple.el.
8072
35e62fc9
SM
8073 * files.el (read-only-mode): New minor mode.
8074 (toggle-read-only): Use it and mark obsolete.
8075 (find-file--read-only):
8076 * vc/vc.el (vc-next-action, vc-checkout):
8077 * vc/vc-cvs.el (vc-cvs-checkout):
8078 * obsolete/vc-mcvs.el (vc-mcvs-update):
8079 * ffap.el (ffap--toggle-read-only): Update callers.
8080
c2c43c23
MA
80812012-08-29 Michael Albinus <michael.albinus@gmx.de>
8082
8083 * eshell/esh-ext.el (eshell-external-command): Do not examine
972debf2
SM
8084 remote shell scripts.
8085 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
c2c43c23
MA
8086
8087 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
8088 "/usr/local/sbin".
8089
9fba804b
SM
80902012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
8091
8092 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
8093
eada0861 80942012-08-28 Leo Liu <sdl.web@gmail.com>
22ab32ef 8095
806f0cc7
LL
8096 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
8097 completion-at-point. (Bug#12220)
8098
3bb213b9
LL
8099 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
8100
22ab32ef
LL
8101 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
8102
eada0861 81032012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
db148c21 8104
19c17fc1
CY
8105 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
8106 be buffer-local; add delete-trailing-whitespace (bug#12259).
db148c21 8107
eada0861 81082012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
ffe6eaf1
JM
8109
8110 * progmodes/hideif.el (hif-compress-define-list):
8111 Fix typo. (Bug#11951)
8112
eada0861 81132012-08-28 Dan Nicolaescu <dann@gnu.org>
d30aca1b
DN
8114
8115 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
8116 buffer local setting.
8117
27d6c5a8
LL
8118 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
8119 rcirc-encode-coding-system.
8120
eada0861 81212012-08-28 Leo Liu <sdl.web@gmail.com>
4432d2e2
LL
8122
8123 * net/rcirc.el (rcirc-split-message): New function.
8124 (rcirc-send-message): Use it. (Bug#12051)
8125
d44688e4
JL
81262012-08-28 Juri Linkov <juri@jurta.org>
8127
8128 * info.el (Info-fontify-node): Hide empty lines at the end of
8129 the node. (Bug#12272)
8130
34f10d41
MR
81312012-08-27 Drew Adams <drew.adams@oracle.com>
8132
8133 * dired.el (dired-pop-to-buffer): Make window start at beginning
8134 of buffer (Bug#12281).
8135
77f1f99c
CY
81362012-08-26 Chong Yidong <cyd@gnu.org>
8137
8138 * window.el (special-display-regexps, special-display-frame-alist)
8139 (special-display-buffer-names, special-display-function)
8140 (display-buffer-reuse-frames): Mark as obsolete.
8141
8142 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
8143
8144 * help.el (help-print-return-message): Don't treat
8145 display-buffer-reuse-frames specially.
8146
d97af5a0
CY
81472012-08-26 Chong Yidong <cyd@gnu.org>
8148
9fba804b
SM
8149 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
8150 New variable, replacing gdb-frame-parameters.
d97af5a0
CY
8151 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
8152 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
8153 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
8154 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
8155 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
8156 the functions directly with gdb-display-buffer-other-frame-action.
8157 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
8158 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
8159 (gdb-display-stack-buffer, gdb-display-locals-buffer)
8160 (gdb-display-registers-buffer): Define directly.
8161 (def-gdb-display-buffer): Macro deleted.
8162 (gdb-display-buffer): Remove second and third args, callers don't
8163 use them. Defer to the default display-buffer behavior, apart
8164 from making windows dedicated.
8165 (gdb-setup-windows): Don't call display-buffer unnecessarily.
8166
8167 * progmodes/gud.el (gud-display-line): Just use display-buffer.
8168
8169 * window.el (display-buffer-pop-up-frame): Handle a
8170 pop-up-frame-parameters alist entry.
8171 (display-buffer): Document it.
8172
dd7ffad6
CY
81732012-08-26 Chong Yidong <cyd@gnu.org>
8174
8175 * isearch.el (search-whitespace-regexp): Make string and nil
8176 values apply to both ordinary and regexp search. Allow a cons
8177 cell value to distinguish between the two.
8178 (isearch-whitespace-regexp, isearch-search-forward)
8179 (isearch-search-backward): New functions.
8180 (isearch-occur, isearch-search-fun-default, isearch-search)
8181 (isearch-lazy-highlight-new-loop): Use them.
8182 (isearch-forward, isearch-forward-regexp): Doc fix.
8183
4c47bd1e
CY
81842012-08-26 Chong Yidong <cyd@gnu.org>
8185
8186 * faces.el (help-argument-name): Always inherit from italic
8187 (Bug#12213).
8188
9aba119d
MR
81892012-08-25 Martin Rudalics <rudalics@gmx.at>
8190
8191 * window.el (window--even-window-heights): Even heights when
8192 WINDOW and the selected window form a vertical combination.
8193 (display-buffer-use-some-window): Provide that window used gets
8194 sized back by quit-window. (Bug#11880) and (Bug#12091)
8195
ca5256ad
PE
81962012-08-24 Paul Eggert <eggert@cs.ucla.edu>
8197
8198 Fix file time stamp problem with bzr and CVS (Bug#12001).
8199 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
8200 in the file's time stamp, since the version control system loses
8201 that information.
8202
d1c0d176
JL
82032012-08-22 Juri Linkov <juri@jurta.org>
8204
8205 * info.el (Info-fontify-node): Hide the suffix of the
8206 Info file name in the header line. (Bug#12187)
8207
141562ff
GM
82082012-08-22 Glenn Morris <rgm@gnu.org>
8209
8210 * calendar/cal-tex.el (cal-tex-weekly-common):
8211 Restore leading blank page.
8212
3a21537c 82132012-08-22 Le Wang <l26wang@gmail.com>
add9ca2d
BG
8214
8215 * misc.el (forward-to-word, backward-to-word): Activate or extend
61a48e19
GM
8216 the region under `shift-select-mode'. (Bug#12231)
8217
82182012-08-22 Bastien Guerry <bzg@gnu.org>
0fcd3d9f
BG
8219
8220 * progmodes/executable.el (executable-prefix): Set to "#!" instead
8221 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
8222 gives details on why the space is never needed.
8223
ea95074e
MR
82242012-08-22 Martin Rudalics <rudalics@gmx.at>
8225
9fba804b
SM
8226 * window.el (walk-window-tree, window-with-parameter):
8227 New optional argument MINIBUF to control whether these functions
ea95074e
MR
8228 should run on the minibuffer window.
8229 (window-at-side-list): Don't operate on minibuffer window.
8230 (window-in-direction): Simplify and rewrite doc-string.
9fba804b
SM
8231 (window--size-ignore): Rename to window--size-ignore-p.
8232 Update callers.
caceae25
MR
8233 (display-buffer-in-atom-window, window--major-non-side-window)
8234 (window--major-side-window, display-buffer-in-major-side-window)
9fba804b
SM
8235 (delete-side-window, display-buffer-in-side-window):
8236 New functions.
caceae25
MR
8237 (window--side-check, window-deletable-p, delete-window)
8238 (delete-other-windows, split-window): Handle side windows and
8239 atomic windows appropriately.
8240 (window--display-buffer): Call display-buffer-record-window also
8241 when the window buffer did not change.
ea95074e 8242
80a51fa0
CS
82432012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
8244
8245 * help-fns.el (help-fns--key-bindings):
8246 Abbreviate non-symbol remap targets. (Bug#12174)
8247
fbb6300b
MR
82482012-08-22 Martin Rudalics <rudalics@gmx.at>
8249
8250 * dired.el (dired-mark-remembered): Don't clobber point.
8251 (Bug#11795)
8252
2b2c0794
GM
82532012-08-22 Glenn Morris <rgm@gnu.org>
8254
8255 * progmodes/bug-reference.el (bug-reference): New custom group.
8256 (bug-reference-bug-regexp): Make it a defcustom.
8257
37219830
DU
82582012-08-22 Daiki Ueno <ueno@unixuser.org>
8259
8260 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
8261 (js-paren-indent-offset, js-square-indent-offset)
8262 (js-curly-indent-offset): Add :safe (Bug#12257).
8263
94e0e559
EC
82642012-08-22 Edward O'Connor <hober0@gmail.com>
8265
8266 * json.el (json-key-format): Add error properties.
8267 (json-encode-key): New function.
8268 (json-encode-hash-table, json-encode-alist, json-encode-plist):
8269 Use json-encode-key.
8270
da485f5e
GM
82712012-08-22 Glenn Morris <rgm@gnu.org>
8272
8273 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
8274 (cal-tex-leftday, cal-tex-rightday): Remove functions.
8275 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
8276 Update for above change.
8277
c6cc78b8
AS
82782012-08-21 Andreas Schwab <schwab@linux-m68k.org>
8279
8280 * cus-face.el (custom-face-attributes): Fix customize type for the
8281 :underline attribute. (Bug#11805)
8282
5481664a
MR
82832012-08-21 Martin Rudalics <rudalics@gmx.at>
8284
8285 * window.el (window-point-1, set-window-point-1): Remove.
8286 (window-in-direction, record-window-buffer)
8287 (set-window-buffer-start-and-point, split-window-below)
9fba804b
SM
8288 (window--state-get-1, display-buffer-record-window):
8289 Replace calls to window-point-1 and set-window-point-1 by calls to
5481664a
MR
8290 window-point and set-window-point respectively.
8291
6d74698e
GM
82922012-08-21 Glenn Morris <rgm@gnu.org>
8293
b7fa2691
GM
8294 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
8295 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
8296 Use it.
8297
52f56d5a
GM
8298 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
8299 (cal-tex-shortday): New function.
8300 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
8301 (cal-tex-cursor-filofax-daily): Use the above.
8302
9f1ee09e
GM
8303 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
8304 New functions.
8305 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
8306 (cal-tex-cursor-filofax-week): Use them.
8307
79858159
GM
8308 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
8309 New constants.
8310 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
8311 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
8312
d346b2b4
GM
8313 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
8314 (cal-tex-end-document): Don't rely on buffer name.
8315
b2403709
GM
8316 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
8317 Use cal-tex-vspace.
8318 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
8319 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
2d225a3a
GM
8320 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
8321 Use cal-tex-arg.
b2403709 8322
1cebb5c0
GM
8323 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
8324 (cal-tex-cursor-week, cal-tex-cursor-week2)
8325 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
8326 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
8327 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
8328 (cal-tex-insert-preamble, cal-tex-b-document)
8329 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
8330 Improve cal-tex-cmd usage.
8331
c68cd5d4
GM
8332 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
8333 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
8334 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
8335 (cal-tex-weekly-paper): New function.
8336 (cal-tex-cursor-week, cal-tex-cursor-week2)
8337 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
8338 (cal-tex-cursor-day): Use it.
8339
9dca4801
GM
8340 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
8341 (cal-tex-cursor-filofax-week): Remove leading blank page.
8342
1941e134
GM
8343 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
8344 Add autoload cookie. For now at least, don't use color, since
8345 no other cal-tex function does.
8346
6d74698e
GM
8347 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
8348 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
8349 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
8350
64cde199
JL
83512012-08-21 Juri Linkov <juri@jurta.org>
8352
8353 * info.el (Info-file-attributes): New variable.
8354 (info-insert-file-contents): Add file attributes to
8355 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
8356 `Info-toc-nodes' when previous modtime of the Info file is less
8357 than new modtime.
8358 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
8359 of info.el. (Bug#12230)
8360
32757648
GM
83612012-08-20 Glenn Morris <rgm@gnu.org>
8362
8363 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
8364 * calendar/holidays.el (calendar-holiday-list):
8365 Report errors with display-warning rather than beep'n'sleep.
8366
a32fbbcf
MA
83672012-08-20 Michael Albinus <michael.albinus@gmx.de>
8368
8369 * net/tramp.el (tramp-accept-process-output): Accept only output
8370 from PROC. Otherwise, process filters and sentinels might be
8371 confused. (Bug#12145)
8372
a05731a0
CY
83732012-08-20 Chong Yidong <cyd@gnu.org>
8374
8375 * descr-text.el (describe-text-properties-1): Use overlays-in to
8376 report on empty overlays (Bug#3322).
8377
36e8d1eb
GM
83782012-08-20 Glenn Morris <rgm@gnu.org>
8379
3d300447
GM
8380 * mail/rmailout.el (rmail-output-read-file-name):
8381 Trap and report errors in rmail-output-file-alist elements.
8382
36e8d1eb
GM
8383 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
8384 since most non-font-lock faces are not also variables).
8385
b96e5814
ER
83862012-08-20 Edward Reingold <reingold@iit.edu>
8387
8388 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
8389 New function. (Bug12160)
8390
7cef3569
GM
83912012-08-19 Glenn Morris <rgm@gnu.org>
8392
8393 * mail/rmailout.el (rmail-output-read-file-name):
8394 Fix previous change (when the alist is nil or does not match).
8395
17975d7f
CY
83962012-08-19 Chong Yidong <cyd@gnu.org>
8397
8398 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
8399 (Bug#12228).
8400
2170b1bd
CY
84012012-08-18 Chong Yidong <cyd@gnu.org>
8402
8403 * simple.el (yank-handled-properties): New defcustom.
8404 (yank-excluded-properties): Add font-lock-face and category.
8405 (yank): Doc fix.
8406
9fba804b
SM
8407 * subr.el (remove-yank-excluded-properties):
8408 Obey yank-handled-properties. The special handling of font-lock-face
2170b1bd
CY
8409 and category is now done this way, instead of being hard-coded.
8410 (insert-for-yank-1): Remove font-lock-face handling.
8411 (yank-handle-font-lock-face-property)
8412 (yank-handle-category-property): New function.
8413
ee218151
GM
84142012-08-17 Glenn Morris <rgm@gnu.org>
8415
8416 * mail/rmailout.el (rmail-output-read-file-name):
8417 Check rmail-output-file-alist against the full message body
8418 in the correct rmail buffer. (Bug#12214)
8419
4a6bc3fd
MA
84202012-08-17 Michael Albinus <michael.albinus@gmx.de>
8421
9fba804b
SM
8422 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
8423 Eliminate superfluous prompt. (Bug#12203)
4a6bc3fd 8424
383dcbf9
CY
84252012-08-17 Chong Yidong <cyd@gnu.org>
8426
8427 * mouse.el (mouse-appearance-menu): If x-select-font returns a
8428 font spec, set the font directly (Bug#3228).
8429
998c4a6a
MR
84302012-08-17 Martin Rudalics <rudalics@gmx.at>
8431
8432 * window.el (delete-window): Fix last fix.
8433
52162052
MR
84342012-08-16 Martin Rudalics <rudalics@gmx.at>
8435
8436 * window.el (window-valid-p): Move to window.c.
85c2386b
MR
8437 (window-child, window-child-count, window-last-child)
8438 (window-normalize-window, window-combined-p)
8439 (window-combinations, window-atom-root, window-min-size)
8440 (window-sizable, window-sizable-p, window-size-fixed-p)
8441 (window-min-delta, window-max-delta, window--resizable)
8442 (window--resizable-p, window-resizable, window-total-size)
8443 (window-full-height-p, window-full-width-p, window-body-size)
8444 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
8445 (minimize-window, window-deletable-p, delete-window)
8446 (delete-other-windows, set-window-buffer-start-and-point)
8447 (next-buffer, previous-buffer, split-window, balance-windows-2)
8448 (set-window-text-height, window-buffer-height)
8449 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
9fba804b
SM
8450 (truncated-partial-width-window-p): Minor code adjustments.
8451 In doc-strings state whether the argument window has to denote a
85c2386b 8452 live, valid or any window.
52162052 8453
1c308380
PS
84542012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
8455
8456 * progmodes/subword.el (subword-forward-function)
8457 (subword-backward-function, subword-forward-regexp)
8458 (subword-backward-regexp): New variables.
8459 (subword-forward, subword-forward-internal, subword-backward-internal):
8460 Use new variables, eg so that different "word" definitions
8461 can be easily used. (Bug#11411)
8462
94c9ece1
SM
84632012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
8464
8465 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
8466 for composite selectors.
8467 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
8468 operation just because we can't find a previous revision.
8469
f2045622
CY
84702012-08-15 Chong Yidong <cyd@gnu.org>
8471
8472 * frame.el (set-frame-font): Accept font objects.
8473
582db660
SM
84742012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
8475
8476 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
8477
2f29c200
WJ
84782012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
8479
456e62c2
WJ
8480 * man.el (Man-overstrike-face, Man-underline-face)
8481 (Man-reverse-face): Remove variables.
8482 (Man-overstrike, Man-underline, Man-reverse): New faces.
8483 (Man-fontify-manpage): Use them instead of the variables.
8484 (Man-cleanup-manpage): Comment change.
8485 (Man-ansi-color-map): New variable.
8486 (Man-fontify-manpage): Use it.
8487 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
8488
2f29c200
WJ
8489 Implement ANSI SGR parameters 22-27 (bug#12146).
8490 * ansi-color.el (ansi-colors): Doc fix.
8491 (ansi-color-context, ansi-color-context-region): Doc fix.
8492 (ansi-color--find-face): New function.
8493 (ansi-color-apply, ansi-color-apply-on-region): Use it.
8494 Rename the local variable `face' to `codes' since it is now a list of
8495 ansi codes. Doc fix.
8496 (ansi-color-get-face): Remove.
8497 (ansi-color-parse-sequence): New function, derived from
8498 ansi-color-get-face.
8499 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
8500 codes 22-27.
8501
b4f5e9df
SM
85022012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
8503
8504 * subr.el (read-passwd): Allow use from a minibuffer.
8505
ba025fbd
EZ
85062012-08-14 Eli Zaretskii <eliz@gnu.org>
8507
8508 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
8509 inside comments and strings as identifiers.
8510
8511 * progmodes/gud.el (gud-tooltip-print-command): Quote the
8512 expression to evaluate. This allows to evaluate expressions with
8513 embedded whitespace.
8514 (gud-tooltip-tips): Add a blank before the newline in the
8515 message-box text, for the benefit of message-box emulation on
8516 MS-Windows.
8517
8518 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
8519 messages from GDB, pop them up in a tooltip to give feedback to
8520 user.
b4f5e9df
SM
8521 (gdb-tooltip-print-1): Quote the expression to evaluate.
8522 This allows to evaluate expressions with embedded whitespace.
ba025fbd
EZ
8523 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
8524 if the TTY name is nil or empty (which happens when communicating
8525 with the inferior via pipes, e.g. on MS-Windows).
8526 (gdb-internals): If GDB sends a "&\n" empty debugging message,
8527 don't send that to the GUD buffer.
8528
c548f821
GM
85292012-08-14 Glenn Morris <rgm@gnu.org>
8530
8531 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
8532 Optimize away setq-default with no args, as for setq. (Bug#12195)
8533
55802e4a
CY
85342012-08-14 Chong Yidong <cyd@gnu.org>
8535
4abcdac8
CY
8536 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
8537
55802e4a
CY
8538 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
8539 (Bug#12085).
8540
3c3cda1a
GM
85412012-08-14 Glenn Morris <rgm@gnu.org>
8542
8543 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
8544
e1873bd0
MA
85452012-08-14 Michael Albinus <michael.albinus@gmx.de>
8546
8547 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
8548 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
8549 Use cached shell name.
8550
925411b4
FEG
85512012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
8552
8553 * progmodes/python.el (python-shell-send-string):
3c3cda1a 8554 (python-shell-send-setup-code): Do not use `format' with `message'.
925411b4 8555
e636fafe
DG
85562012-08-14 Dmitry Gutov <dgutov@yandex.ru>
8557
8558 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
8559 (ruby-percent-literal-beg-re): New constant.
8560 (ruby-syntax-general-delimiters-goto-beg): Rename to
8561 `ruby-syntax-enclosing-percent-literal', improve literal type check.
8562 (ruby-syntax-propertize-general-delimiters): Rename to
8563 `ruby-syntax-propertize-percent-literal', it's a shorter and more
8564 popular term. Adjust comments everywhere.
8565 (ruby-syntax-propertize-percent-literal): Only propertize when not
8566 inside a simple string or comment. When the literal is unclosed,
8567 leave the text after it unpropertized.
f063063a
DG
8568 (ruby-syntax-methods-before-regexp): New constant.
8569 (ruby-syntax-propertize-function): Use it to recognize regexps.
8570 Don't look at the text after regexp, just use the whitelist.
e636fafe 8571
e5b19827
AS
85722012-08-14 Andreas Schwab <schwab@linux-m68k.org>
8573
8574 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
8575 non-nil always load the compiled file if it exists. (Bug#12197)
8576
a9f6f311
CY
85772012-08-14 Chong Yidong <cyd@gnu.org>
8578
8579 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
8580 (hi-lock-set-pattern): When deciding whether to use font lock or
8581 overlays, look at font-lock-mode instead of font-lock-fontified
8582 (Bug#12168).
8583 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
8584 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
8585
7d806b1e
DU
85862012-08-14 Daiki Ueno <ueno@unixuser.org>
8587
8588 * subr.el (internal--after-with-selected-window): Fix typo
8589 (Bug#12193).
8590
5beed586
FEG
85912012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
8592
8593 Use `completion-table-dynamic' for completion functions.
8594 * progmodes/python.el
8595 (python-shell-completion--do-completion-at-point)
e636fafe
DG
8596 (python-shell-completion--get-completions):
8597 Remove functions.
5beed586
FEG
8598 (python-shell-completion-complete-at-point): New function.
8599 (python-completion-complete-at-point): Use it.
8600
92cb3b04
J
86012012-08-13 Jambunathan K <kjambunathan@gmail.com>
8602
8603 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
8604 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
8605
89660017
SM
86062012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
8607
3c98c962
SM
8608 * subr.el (function-get): Refine `autoload' arg so it can also
8609 autoload functions for gv.el (bug#12191).
8610 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
8611 autoloads macros.
8612
aa7c6dbe
SM
8613 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
8614 Prefer pcase-let over destructuring-bind.
8615 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
8616 Also, remove whitespace as we go, rather than after accumulating the
8617 various places.
8618
89660017
SM
8619 * subr.el (internal--before-with-selected-window)
8620 (internal--after-with-selected-window): Fix typo seleted->selected.
8621 (with-selected-window): Adjust callers.
8622 Reported by Dmitry Gutov <dgutov@yandex.ru>.
8623
31cd32c9
BG
86242012-08-13 Bastien Guerry <bzg@gnu.org>
8625
0fcd3d9f 8626 * window.el (special-display-popup-frame): Minor docstring
31cd32c9
BG
8627 enhancement. (Bug#12172)
8628
1b15d8ad
AS
86292012-08-13 Andreas Schwab <schwab@linux-m68k.org>
8630
31e54db0
AS
8631 * tar-mode.el (tar-header-data-end): Only ignore size for files of
8632 type 1-6.
8633 (tar-header-block-summarize, tar-get-descriptor): Handle pax
8634 extended headers.
8635
1b15d8ad
AS
8636 * files.el (hack-local-variables-filter): Remove useless eval.
8637
35cb9c06
MR
86382012-08-13 Martin Rudalics <rudalics@gmx.at>
8639
8640 * subr.el (with-selected-window): Fix last change.
8641
1439443b
SM
86422012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
8643
8644 * subr.el (internal--before-with-seleted-window)
8645 (internal--after-with-seleted-window): New functions.
1b15d8ad
AS
8646 (with-selected-window): Use them, to replace dependency on
8647 tty-top-frame.
1439443b 8648
0d9e2599
NN
86492012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
8650
8651 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
8652 binding for `newline'.
8653 (ruby-move-to-block): When moving backward, stop at block opening,
8654 not indentation.
8655 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
8656 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
8657 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
8658 `ruby-toggle-block'.
8659
ba10c48c
SM
86602012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
8661
8662 * ibuffer.el (ibuffer-do-toggle-read-only):
8663 * dired.el (dired-toggle-read-only):
8664 * buff-menu.el (Buffer-menu-toggle-read-only):
8665 * bindings.el (mode-line-toggle-read-only):
8666 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
8667
9229c658
AS
86682012-08-12 Andreas Schwab <schwab@linux-m68k.org>
8669
8670 * descr-text.el (describe-char): Put the overlays over the
8671 "displayed as" character.
8672
0fd09128
JB
86732012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
8674
8675 * calc/calc-units.el (math-default-units-table): Give an
8676 initial value.
8677 (math-put-default-units): Add options to put composite units and
8678 unit systems in the default units table.
8679 (calc-convert-units): Send composite units to
8680 `math-put-default-units' when appropriate.
8681
9ff9402d 86822012-08-11 Glenn Morris <rgm@gnu.org>
7aacaf15 8683
fbb5e336
GM
8684 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
8685
7aacaf15
GM
8686 * tutorial.el (help-with-tutorial):
8687 * emacs-lisp/copyright.el (copyright-update-directory):
8688 * emacs-lisp/autoload.el (autoload-find-generated-file)
8689 (autoload-find-file): Disable local eval: (for insurance).
8690
f40b9f10
GM
8691 * files.el (hack-local-variables-filter): If an eval: form is not
8692 known to be safe, and enable-local-variables is :safe, then ignore
8693 the form totally, as is done for non-eval forms. (Bug#12155)
6f97980a 8694 This is CVE-2012-3479.
f40b9f10 8695
daa9f1a6
SM
86962012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
8697
8698 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
8699 (rx-form): Simplify.
8700
9cd80478
DG
87012012-08-09 Dmitry Gutov <dgutov@yandex.ru>
8702
0d9e2599
NN
8703 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
8704 ?, _, and : are symbol constituents, ! is not (but kinda should be).
8705 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
8706 (ruby-syntax-propertize-function): Adjust for changes in
8707 `ruby-syntax-propertize-heredoc'.
8708
87092012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
8710
9cd80478
DG
8711 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
8712 binding (use `M-;' instead).
9cd80478 8713 (ruby-singleton-class-p): New function.
0d9e2599 8714 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
9cd80478 8715
d301b413
SM
87162012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
8717
8718 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
8719
1530c98e
CY
87202012-08-10 Chong Yidong <cyd@gnu.org>
8721
8722 * progmodes/python.el (python-shell-get-process-name): Don't mess
8723 with same-window-buffer-names.
8724
8725 * eshell/eshell.el (eshell-add-to-window-buffer-names)
8726 (eshell-remove-from-window-buffer-names): Make obsolete.
8727 (eshell-buffer-name, eshell-unload-hook): Don't use them.
8728 (eshell): Just use pop-to-buffer-same-window instead.
8729
e1293765
CY
87302012-08-10 Chong Yidong <cyd@gnu.org>
8731
8732 * bindings.el: Bind M-= back to count-words-region.
8733
8734 * simple.el (count-words-region): Accept a prefix arg for acting
8735 on the entire buffer.
8736 (count-words--buffer-message): New helper function.
8737
e1894109
SM
87382012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
8739
8740 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
8741 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
8742 (event-start, event-end): Use posn-at-point to return a more
8743 informative posn.
8744 (posnp): New function.
8745 * mouse.el (popup-menu-normalize-position): Use it.
8746
c69f56a2
MY
87472012-08-10 Masatake YAMATO <yamato@redhat.com>
8748
8749 * mouse.el (popup-menu-normalize-position): New function.
8750 (popup-menu): Use `popup-menu-normalize-position' to normalize
8751 the form for POSITION argument.
8752
8753 * term/x-win.el (x-menu-bar-open):
8754 Use the value returend from (posn-at-point) as position
8755 passed to `popup-menu'.
8756
31673780
JB
87572012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
8758
8759 * calc/calccomp.el (math-compose-expr): Add extra argument
8760 indicating that parentheses should be put around products in
8761 denominators. Give multiplication precedence over division during
8762 composition.
8763
dab7711b
CY
87642012-08-09 Chong Yidong <cyd@gnu.org>
8765
dee4ef93
CY
8766 * man.el (Man-switches, Man-sed-command, Man-awk-command)
8767 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
8768 (Man-untabify-command, manual-program): Convert to defcustom
8769 (Bug#10429).
8770
73e2bbc5
CY
8771 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
8772
3e861c8a
CY
8773 * descr-text.el (describe-char): Don't insert extra newlines
8774 (Bug#10127).
8775
a9f5a649
CY
8776 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
8777 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
8778
dab7711b
CY
8779 * align.el (align-region): Delete temporary markers (Bug#10047).
8780 Plus some code cleanups.
8781
e0cc4efa
FEG
87822012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
8783
8784 * progmodes/python.el (python-pdbtrack-tracked-buffer)
8785 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
8786 (python-shell-internal-last-output): Use make-local-variable
8787 instead of make-variable-buffer-local.
8788
489af14f
FEG
87892012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
8790
8791 * progmodes/python.el: Enhancements to forward-sexp.
8792 (python-nav-forward-sexp): Rename from
8793 python-nav-forward-sexp-function.
c69f56a2
MY
8794 (python-nav--forward-sexp, python-nav--backward-sexp):
8795 New functions.
489af14f 8796
0fc50303
JB
87972012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
8798
8799 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
8800 modes and simplification modes.
8801
5d65606a
SM
88022012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
8803
8804 * delsel.el (delete-selection-pre-hook): Don't propagate the
8805 file-supersession signals (bug#12161).
8806
4250fdf5
SM
88072012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
8808
8809 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
8810 (cl-map-extents): Add compatibility aliases (bug#12135).
8811
d9f9b465
MA
88122012-08-08 Michael Albinus <michael.albinus@gmx.de>
8813
8814 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
8815 tests by `ignore-error'.
8816 (tramp-find-shell): Open also a new shell, when cache is already
8817 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
8818
ce0fcefa
JL
88192012-08-08 Juri Linkov <juri@jurta.org>
8820
8821 * bookmark.el: Add `defaults' property to the bookmark record.
8822 (bookmark-current-buffer): Doc fix.
8823 (bookmark-make-record): Add `defaults' property with default values
8824 to the bookmark record.
8825 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
8826 with `bookmark-insert-current-bookmark'.
8827 (bookmark-set): Get `defaults' property from the bookmark record
8828 and use it in `read-from-minibuffer'.
8829 (bookmark-insert-current-bookmark): Remove function.
8830
8831 * info.el (Info-bookmark-make-record): Add `defaults' property
8832 with values of canonical Info node name, the current Info file
8833 name and the current Info node name. (Bug#12107)
8834
53fa8652
JL
88352012-08-08 Juri Linkov <juri@jurta.org>
8836
8837 * files.el (basic-save-buffer): Use `buffer-name' as the default
8838 of `read-file-name' when buffer is not visiting a file (bug#12128).
8839
242c0a95
JL
88402012-08-08 Juri Linkov <juri@jurta.org>
8841
8842 * info.el (Info-isearch-search): Doc fix.
8843 (Info-search): Change search-failed message from "initial node" to
8844 "end of node" (bug#12078).
8845 (Info-isearch-search): Change `isearch-string-state' to
8846 `isearch--state-string'.
8847
32ac3a6b
GM
88482012-08-08 Glenn Morris <rgm@gnu.org>
8849
8850 * language/persian.el: Remove file.
f8c1afd5 8851 * language/misc-lang.el: Move unique part of persian.el here.
32ac3a6b
GM
8852 * loadup.el: Remove language/persian.
8853
2c2d9c9c
OF
88542012-08-08 Óscar Fuentes <ofv@wanadoo.es>
8855
8856 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
8857
2d79ec42
FEG
88582012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
8859
3c855b96 8860 * progmodes/python.el: Fix defsubst warning.
2d79ec42
FEG
8861 (python-syntax-context) Rename from python-info-ppss-context.
8862 (python-syntax-context-type): Rename from
8863 python-info-ppss-context-type.
8864 (python-syntax-comment-or-string-p): Rename from
8865 python-info-ppss-comment-or-string-p.
8866
2bd255dd
JB
88672012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
8868
8869 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
8870
c395097f
AS
88712012-08-07 Andreas Schwab <schwab@linux-m68k.org>
8872
6125983e
AS
8873 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
8874 a defcustom that is quoted with backquote.
8875
4250fdf5
SM
8876 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
8877 Fix handling of interactive spec when the body uses return.
651eaf36
AS
8878 (math-do-arg-check, math-define-function-body): Use backquote forms.
8879 * calc/calc-ext.el (math-defcache): Likewise.
8880 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
8881 * allout.el (allout-new-exposure): Likewise.
8882 * calc/calcalg2.el (math-tracing-integral): Likewise.
8883 * info.el (Info-last-menu-item): Likewise.
8884 * emulation/vip.el (vip-loop): Likewise.
8885 * textmodes/artist.el (artist-funcall): Likewise.
8886 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
8887 Construct menu-item directly.
8888
4250fdf5
SM
8889 * progmodes/autoconf.el (font-lock-syntactic-keywords):
8890 Don't declare.
c395097f 8891
5fb50dd3
CY
88922012-08-07 Chong Yidong <cyd@gnu.org>
8893
8894 * simple.el (deactivate-mark): Preserve text properties when
8895 saving the primary selection (Bug#8384).
8896
54eea618
KR
88972012-08-07 Kevin Ryde <user42@zip.com.au>
8898
8899 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
8900 (woman-parse-numeric-value): On a bad .IP line, issue a warning
8901 and continue processing (Bug#12110).
8902
638eaeb9
SM
89032012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
8904
8905 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
8906 syntax-propertize-function (bug#10095).
8907
ea376861
SM
89082012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
8909
f91b35be
SM
8910 * help-fns.el (help-fns--key-bindings, help-fns--signature)
8911 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
8912 describe-function-1.
8913 (describe-function-1): Use them. Move compiler macro after sig.
8914 (help-fns--compiler-macro): Use function-get. Assume we're already in
8915 standard-output. Adjust layout to new call order.
8916
ea376861
SM
8917 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
8918 re-binding a symbol that has a symbol-macro (bug#12119).
8919
d5be7bd0
MB
89202012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
8921
8922 * language/persian.el: New file. (Bug#11812)
8923 * loadup.el: Add language/persian.el.
8924
90749b53
CY
89252012-08-06 Chong Yidong <cyd@gnu.org>
8926
8927 * window.el (window--maybe-raise-frame): New function.
8928 (window--display-buffer): Split off from here.
8929 (display-buffer-reuse-window, display-buffer-pop-up-frame)
8930 (display-buffer-pop-up-window, display-buffer-use-some-window):
8931 Obey an inhibit-switch-frame action alist entry.
8932 (display-buffer): Update doc.
8933
8934 * replace.el (occur-after-change-function): Avoid losing focus by
8935 using the inhibit-switch-frame display parameter (Bug#12139).
8936
ba7b0154
FEG
89372012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
8938
8939 Make internal shell process buffer names start with space.
8940 * progmodes/python.el (python-shell-make-comint): Add optional
8941 argument INTERNAL.
8942 (run-python-internal): Use it.
8943 (python-shell-internal-get-or-create-process): Check for new
8944 internal buffer names.
8945
5eaeacb5
GM
89462012-08-06 Glenn Morris <rgm@gnu.org>
8947
e296d94b 8948 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
5eaeacb5
GM
8949 Do less getting and setting of environment variables.
8950
b7ccbdc2
CY
89512012-08-05 Chong Yidong <cyd@gnu.org>
8952
777fe95e
CY
8953 * proced.el (proced): Add substitution string to docstring to
8954 trigger autoloading of the proced library on C-h f (Bug#1768).
8955
4250fdf5
SM
8956 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
8957 Don't show defvars which have no second argument (Bug#8638).
b7ccbdc2
CY
8958
8959 * imenu.el (imenu-generic-expression): Move documentation here
8960 from imenu--generic-function.
8961 (imenu--generic-function): Refer to imenu-generic-expression.
8962
9e3b7800 89632012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
d5c31f1d
8964
8965 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
8966 indentation declaration.
8967 (viper-loop): Add indentation declaration (Bug#7025).
8968
e5d9c0d1
CY
89692012-08-05 Chong Yidong <cyd@gnu.org>
8970
f0422feb
CY
8971 * help-fns.el (describe-variable): Add hyperlink for
8972 directory-local variables files. Improve buffer-local and
8973 permanent-local reporting; suggested by MON KEY (Bug#6644).
8974
8975 * help-mode.el (help-dir-local-var-def): New button type.
8976
e5d9c0d1
CY
8977 * files.el (kill-buffer-hook): Provide a defvar.
8978
a4f2deaa
GM
89792012-08-05 Glenn Morris <rgm@gnu.org>
8980
8981 * eshell/esh-ext.el (eshell/addpath):
8982 Also update eshell-path-env. (Bug#12013)
8983
a9dd5754
CY
89842012-08-05 Chong Yidong <cyd@gnu.org>
8985
a4f2deaa 8986 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
615b0bf0 8987
d014c740
CY
8988 * fringe.el (fringe-styles): Add docstring.
8989 (fringe--check-mode): New function.
8990 (set-fringe-mode, set-fringe-style): Use it.
8991 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
8992
a9dd5754
CY
8993 * files.el (set-auto-mode): Fix invalid setq call.
8994
7c2dc8bd
SM
89952012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
8996
8997 * isearch.el: Misc simplification; use defstruct.
8998 (isearch-mode-map): Dense maps now work like sparse ones.
8999 (isearch--state): New defstruct.
9000 (isearch-string-state, isearch-message-state, isearch-point-state)
9001 (isearch-success-state, isearch-forward-state)
9002 (isearch-other-end-state, isearch-word-state, isearch-error-state)
9003 (isearch-wrapped-state, isearch-barrier-state)
9004 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
9005 replaced by defstruct's accessors.
9006 (isearch--set-state): Rename from isearch-top-state and change
9007 calling convention.
9008 (isearch-push-state): Use new isearch--get-state.
9009 (isearch-toggle-word): Disable regexp when enabling word.
9010 (isearch-message-prefix): Remove unused arg _c-q-hack.
9011 (isearch-message-suffix): Remove unused arg _ellipsis.
9012
7fcc0070
AS
90132012-08-04 Andreas Schwab <schwab@linux-m68k.org>
9014
9015 * simple.el (list-processes--refresh): For a server use :host or
9016 :local as the address.
97ad0769 9017 (list-processes): Doc fix.
7fcc0070 9018
a11035b8 90192012-08-04 Michal Nazarewicz <mina86@mina86.com>
00340faf
MN
9020
9021 * lisp/mpc.el: Support password in host argument.
9022 (mpc--proc-connect): Parse and use new password element.
9023 Set mpc-proc variable instead of returning process.
9024 (mpc-proc): Adjust accordingly.
9025
6dad7178
EZ
90262012-08-03 Eli Zaretskii <eliz@gnu.org>
9027
18949c2f
EZ
9028 * whitespace.el (whitespace-display-mappings): Use Unicode
9029 codepoints, instead of emacs-mule codepoints. See
9030 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
9031 for the details.
9032
6dad7178
EZ
9033 * files.el (file-truename): Don't skip symlink-chasing part on
9034 windows-nt. Incorporate the resolution of 8+3 short aliases on
4250fdf5
SM
9035 Windows into the loop that recursively chases symlinks.
9036 Compare directory and its parent case-insensitively on MS-Windows and
6dad7178
EZ
9037 MS-DOS.
9038
385b0198
CY
90392012-08-03 Chong Yidong <cyd@gnu.org>
9040
6200f3c4
CY
9041 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
9042
385b0198
CY
9043 * sort.el (sort-regexp-fields): Doc fix.
9044
b9e74744
TH
90452012-08-03 Tassilo Horn <tsdh@gnu.org>
9046
9047 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
9048 labels regex position point at the expected place.
9049
41013cb4
MK
90502012-08-03 MON KEY <monkey@sandpframing.com>
9051
9052 * net/imap.el (imap-interactive-login, imap-authenticate)
9053 (imap-mailbox-lsub, imap-mailbox-list)
9054 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
9055 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
9056 (imap-parse-response): Doc fix.
9057
0ffee616
JT
90582012-08-03 João Távora <joaotavora@gmail.com>
9059
9060 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
9061 if sexp scanning does not move point (Bug#5734).
9062
cfcc9cc8
TH
90632012-08-02 Tassilo Horn <tsdh@gnu.org>
9064
9065 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
9066 Add listings, minted, and ctable packages.
9067 (reftex-label-alist-builtin): Move listings, minted, and ctable
9068 entries before LaTeX.
a01bbb84 9069 (reftex-label-alist): Docfix.
cfcc9cc8 9070
66ec2442
BG
90712012-08-02 Bastien Guerry <bzg@gnu.org>
9072
9073 * replace.el (occur): Fix docstring (bug#12122).
9074
837b365b
GM
90752012-08-02 Glenn Morris <rgm@gnu.org>
9076
9077 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
9078
e098de97
PE
90792012-08-02 Paul Eggert <eggert@cs.ucla.edu>
9080
9081 Obsolete alias inactivate-current-input-method-function (Bug#10150).
9082 * international/mule-cmds.el: Create
9083 inactivate-current-input-method-function as an obsolete alias for
9084 deactivate-current-input-method-function. See Katsumi Yamaoka in
9085 <http://bugs.gnu.org/10150#46>.
9086
a0f95636
JB
90872012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
9088
9089 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
9090 of nested `if's.
9091
0d26d7c4
GM
90922012-08-01 Glenn Morris <rgm@gnu.org>
9093
9094 * progmodes/autoconf.el (autoconf-definition-regexp):
9095 Add AH_TEMPLATE, adjust submatch numbering.
9096 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
9097 (autoconf-current-defun-function): Update for above change.
9098 (autoconf-current-defun-function): First skip to end of current word.
9099
b686ba06
RS
91002012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
9101
9102 * calendar/cal-html.el (cal-html-insert-agenda-days):
9103 Fix typo. (Bug#12018)
9104
0d49da68
FEG
91052012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
9106
9107 Shell processes: enhancements to startup and CEDET compatibility.
9108 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
9109 (python-shell-make-comint): accept-process-output at startup.
9110 (run-python-internal): Set inferior-python-mode-hook to nil.
9111 (python-shell-internal-get-or-create-process): call sit-for.
9112 (python-preoutput-result): Add obsolete alias.
9113 (python-shell-internal-send-string): Use it.
9114 (python-shell-send-setup-code): Remove call to
9115 accept-process-output.
9116
f1a71c6e
AS
91172012-07-31 Andreas Schwab <schwab@linux-m68k.org>
9118
9119 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
9120 (Bug#12108)
9121
d2605269
JB
91222012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
9123
9124 * calc-mode.el (calc-basic-simplification-mode): Rename from
9125 `calc-limited-simplification-mode'.
9126 (calc-alg-simplification-mode): New function.
fc0c31f8 9127 (calc-set-simplify-mode): Adjust message.
f1a71c6e 9128
d2605269
JB
9129 * calc.el (calc-set-mode-line): Adjust mode line display for
9130 basic simplification mode.
9131
9132 * calc-help.el (calc-m-prefix-help): Update help message.
9133
9134 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
9135 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
9136
a3827a43
BG
91372012-07-31 Bastien Guerry <bzg@gnu.org>
9138
9139 * man.el (man): Fix comment. (bug#12101)
9140
502e3f89
MR
91412012-07-31 Martin Rudalics <rudalics@gmx.at>
9142
9143 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
9144 Don't return a non-nil value when no suitable buffer was found.
9145
d7714961
FEG
91462012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
9147
9148 * progmodes/python.el (run-python-internal): Disable font lock for
9149 internal shells.
9150
1f45e27e
SM
91512012-07-30 Stefan Merten <smerten@oekonux.de>
9152
70efc5c9 9153 * textmodes/rst.el: Silence `checkdoc-ispell'.
1f45e27e
SM
9154 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
9155 (rst-official-version, rst-official-cvs-rev)
9156 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
9157 (rst-mode-map): New key binding.
9158
0aee6912
PE
91592012-07-30 Paul Eggert <eggert@cs.ucla.edu>
9160
9161 Update .PHONY listings in makefiles.
9162 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
9163 autoloads, update-subdirs, updates, bzr-update, update-authors,
9164 compile-onefile, compile-calc, backup-compiled-files,
9165 compile-after-backup, compile-one-process, mh-autoloads,
9166 bootstrap-clean, distclean, maintainer-clean.
9167
9052f9f0
JB
91682012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
9169
1823ac5a
JB
9170 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
9171 (calc-set-mode-line): Don't display "AlgSimp ".
9172
9173 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
9174 (calc-lim-simplify-mode): New function.
9175 (calc-set-simplify-mode): Default to 'alg.
9176 (calc-default-simplify-mode): Make algebraic simplifications
9177 the default.
9178
9179 * calc/calc-ext.el (calc-init-extensions): Remove binding for
9180 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
9181
8d7c7eed 9182 * calc/calc-help.el (calc-m-prefix-help): Change messages to
4b337409
JB
9183 indicate new simplification modes.
9184
1823ac5a
JB
9185 * calc/README: Mention new default simplification mode.
9186
9052f9f0
JB
9187 * calc/calc.el (math-normalize-error): New variable.
9188 (math-normalize): Set `math-normalize-error' to t
9189 when there's an error.
9190
9191 * calc/calc-alg.el (math-simplify): Don't simplify when
9192 `math-normalize' returns an error.
9193
20ba0cb4
EZ
91942012-07-29 Eli Zaretskii <eliz@gnu.org>
9195
9196 * international/mule-cmds.el (set-locale-environment): Revert last
9197 change, since display-graphic-p returns nil when this function is
9198 called during startup. Instead...
9199
9200 * term/w32console.el (terminal-init-w32console): ...setup the
9201 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
9202
a5dcc929
JL
92032012-07-29 Juri Linkov <juri@jurta.org>
9204
9205 * simple.el (goto-line): Don't display default line number in the
9206 prompt because it should be displayed by `read-number' (bug#9952).
9207 Add the current line number to the defaults of `goto-line' to
9208 allow its easier modification by users with `M-n' (bug#9201).
9209
9210 * subr.el (read-number): Support multiple default values like in
9211 other minibuffer reading functions. Replace `read' with
9212 `string-to-number' for consistency with `number-to-string'.
9213
72b255c7
PE
92142012-07-29 Paul Eggert <eggert@cs.ucla.edu>
9215
9216 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
9217 * emulation/viper-init.el (viper-deactivate-input-method-action):
9218 Rename from viper-inactivate-input-method-action.
9219 (viper-deactivate-input-method):
9220 Rename from viper-inactivate-input-method.
9221 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
9222 * international/mule-cmds.el (deactivate-input-method):
9223 Rename from inactivate-input-method.
9224 Also run input-method-deactivate-hook.
9225 (deactivate-current-input-method-function):
9226 Rename from inactivate-current-input-method-function.
9227 (input-method-deactivate-hook): New hook.
9228 (input-method-inactivate-hook): Mark obsolete.
bb6eb9fc
PE
9229 (inactivate-input-method): Mark obsolete.
9230
72b255c7
PE
9231 * international/quail.el (quail-activate):
9232 Also run quail-deactivate-hook.
9233 (quail-deactivate): Rename from quail-inactivate.
9234 * international/robin.el (robin-activate):
9235 Also run robin-deactivate-hook.
9236 (robin-deactivate): Rename from robin-inactivate.
9237
2549c068
CY
92382012-07-29 Chong Yidong <cyd@gnu.org>
9239
9240 * simple.el (indicate-copied-region): New function.
9241 (kill-ring-save): Split off from here.
9242
9243 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
9244 (kill-rectangle): Set deactivate-mark to t on read-only error.
9245
9246 * register.el (copy-to-register, copy-rectangle-to-register):
9247 Deactivate the mark, and use indicate-copied-region (Bug#10056).
4c478e6b
JL
9248 (append-to-register, prepend-to-register): Call indicate-copied-region.
9249
92502012-07-29 Juri Linkov <juri@jurta.org>
17711ed9
JL
9251
9252 * simple.el (async-shell-command-buffer): New defcustom.
9253 (shell-command): Use it. (Bug#4719)
9254
01bd1b0d
EZ
92552012-07-28 Eli Zaretskii <eliz@gnu.org>
9256
9257 * international/mule-cmds.el (set-locale-environment): In a
9258 console session on MS-Windows, set up keyboard and terminal
9259 encoding from the OEM codepage, not the ANSI codepage.
9260 (Bug#12055)
9261
a55739d3
CY
92622012-07-28 Chong Yidong <cyd@gnu.org>
9263
9264 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
9265 gdb-get-location.
9266
0e1a094f 92672012-07-28 Leo Liu <sdl.web@gmail.com>
9a0f8f2e
LL
9268
9269 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
9270 the alist (bug#12029).
9271
20329d73
EZ
92722012-07-28 Eli Zaretskii <eliz@gnu.org>
9273
9274 * makefile.w32-in (custom-deps, finder-data, updates, compile)
9275 (compile-always, compile-first)
9276 ($(lisp)/calendar/cal-loaddefs.el)
9277 ($(lisp)/calendar/diary-loaddefs.el)
9278 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
9279 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
9280 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
9281 instead of on update-subdirs.
9282 (bootstrap-clean): Delete $(lisp)/subdirs.el.
9283
345a2258
CY
92842012-07-28 Chong Yidong <cyd@gnu.org>
9285
1eee6341
CY
9286 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
9287 directory if vc-deduce-backend returns nil (Bug#7350).
9288
345a2258
CY
9289 * simple.el (delete-trailing-lines): New option.
9290 (delete-trailing-whitespace): Obey it (Bug#11879).
9291
049a0936
DE
92922012-07-28 David Engster <deng@randomsample.de>
9293
9294 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
9295 Explanation of new 'symbol-qnames feature in doc-strings.
9296 (xml-maybe-do-ns): Return expanded names as plain symbols if
9297 'symbol-qnames was provided in XML-NS argument (Bug#11916).
9298 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
9299
aa81af71
FEG
93002012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
9301
9302 Consistent completion in inferior python with emacs -nw.
9303 * progmodes/python.el (inferior-python-mode): replace "<tab>"
9304 binding in inferior-python-mode-map with "\t".
9305 (python-shell-completion-complete-at-point)
9306 (python-completion-complete-at-point): Remove interactive spec.
9307
e827b1eb
JB
93082012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
9309
9310 * calc/calccomp.el (math-compose-expr): Undo previous change.
9311
a90dfb95
FEG
93122012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
9313
4250fdf5 9314 * progmodes/python.el (python-mode-map): Add keybinding for
a90dfb95
FEG
9315 run-python.
9316 (python-shell-make-comint): Fix pop-to-buffer call.
9317 (run-python): Autoload. New arg SHOW.
9318 (python-shell-get-or-create-process): Do not pop python process
9319 buffer.
9320
32770973 93212012-07-27 Michael Albinus <michael.albinus@gmx.de>
1c6ef030
MA
9322
9323 * notifications.el (notifications-on-action-signal)
9324 (notifications-on-closed-signal): Use also the bus address for the map.
9325 (notifications-notify, notifications-close-notification)
fc0c31f8 9326 (notifications-get-capabilities): Add optional argument BUS.
1c6ef030 9327
86332df2
TH
93282012-07-27 Tassilo Horn <tsdh@gnu.org>
9329
4250fdf5
SM
9330 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
9331 Add support for the lstlisting and minted environments, and for the
86332df2
TH
9332 ctable macro.
9333 * textmodes/reftex.el (reftex-compile-variables): Also recognize
9334 labels written in keyvals syntax.
9335
ca1302a4
JB
93362012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
9337
9338 * calc/calccomp.el (math-compose-expr): Use parentheses when
9339 there is a product in the denominator of a fraction.
9340
f8b91036
EZ
93412012-07-26 Eli Zaretskii <eliz@gnu.org>
9342
9343 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
9344 ($(lisp)/calendar/diary-loaddefs.el)
9345 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
4250fdf5
SM
9346 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
9347 Fixes failures in parallel bootstrap because subdirs.el is being
f8b91036
EZ
9348 rewritten while the autoload files are built at the same time,
9349 which needs to load subdirs.el.
9350
c8e5a42c
MR
93512012-07-26 Martin Rudalics <rudalics@gmx.at>
9352
9353 * mouse.el (popup-menu): Fix doc-string and re-indent code.
9354 (mouse-drag-line): Don't exit tracking when a switch-frame or
9355 switch-window event occurs (Bug#12006).
9356
670d85ea
SM
93572012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
9358
9359 * mouse.el (popup-menu): Fix last change.
9360
7abaf5cc
SM
93612012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
9362
9363 Autoload from Lisp with more care. Follow aliases when looking for
9364 function properties.
9365 * subr.el (autoloadp): New function.
9366 (symbol-file): Use it.
9367 (function-get): New function.
9368 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
9369 autoload-do-load.
9370 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
9371 (lisp-indent-function):
9372 * emacs-lisp/gv.el (gv-get):
9373 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
9374 * emacs-lisp/byte-opt.el (byte-optimize-form):
9375 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
9376 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
9377 Use function-get.
9378 * emacs-lisp/cl.el: Don't propagate function properties any more.
9379
9380 * speedbar.el (speedbar-add-localized-speedbar-support):
9381 * emacs-lisp/disass.el (disassemble-internal):
9382 * desktop.el (desktop-load-file):
9383 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
9384 (describe-function-1):
9385 * emacs-lisp/find-func.el (find-function-noselect):
9386 * emacs-lisp/elp.el (elp-instrument-function):
9387 * emacs-lisp/advice.el (ad-has-proper-definition):
9388 * apropos.el (apropos-safe-documentation, apropos-macrop):
9389 * emacs-lisp/debug.el (debug-on-entry):
9390 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
9391 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
9392 * calc/calc.el (name): Use autoloadp & autoload-do-load.
9393
b1364986
AA
93942012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
9395
9396 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
9397 function, not an obsolete variable (Bug#12046).
9398
67ada220
AS
93992012-07-25 Andreas Schwab <schwab@linux-m68k.org>
9400
9401 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
9402
f08088e3
CS
94032012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
9404
9405 * emacs-lisp/pp.el (pp-display-expression): Select old selected
9406 window only if it is still live (Bug#12034).
9407
8137e7b3
MR
94082012-07-25 Martin Rudalics <rudalics@gmx.at>
9409
9410 * subr.el (redirect-frame-focus): Add advertised calling
9411 convention (Bug#12030).
9412
09ae5da1
PE
94132012-07-25 Paul Eggert <eggert@cs.ucla.edu>
9414
9415 Prefer typical American spelling for "acknowledgment".
9416 * vc/add-log.el (change-log-acknowledgment): Rename from
9417 change-log-acknowledgement, with an alias for the old name.
9418
3cc5a3a8
JB
94192012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
9420
9421 * calc-alg.el (math-simplify-divide): Don't cross multiply
9422 in an equation when the lhs is a variable.
9423
b7af7f62
JD
94242012-07-24 Julien Danjou <julien@danjou.info>
9425
9426 * net/netrc.el (netrc-find-service-number, netrc-store-data):
9427 Remove, unused.
9428
ec1b09b1
EZ
94292012-07-23 Eli Zaretskii <eliz@gnu.org>
9430
9431 * startup.el (command-line): Don't display an empty user name in
9432 the error message about non-existent home directory, when
9433 init-file-user was set to an empty string. See
9434 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
9435 for the details and context.
9436
b525fd8a
VB
94372012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
9438
9439 * ses.el (ses-cell-formula-aset): New macro.
9440 (ses-cell-references-aset): New macro.
9441 (ses-cell-p): New function.
9442 (ses-rename-cell): Do no longer rely on complex operations like
9443 ses-cell-set-formula or ses-set-cell to change the cell and handle
9444 the undo at the same time, but rather use lower level new macros
9445 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
fc0c31f8 9446 the undo directly. Refresh the mode line.
b525fd8a 9447
2c73e345
LL
94482012-07-21 Leo Liu <sdl.web@gmail.com>
9449
670d85ea
SM
9450 * progmodes/cc-cmds.el (c-defun-name):
9451 Use match-string-no-properties instead for consistency.
2c73e345 9452
542dfbde
LL
94532012-07-20 Leo Liu <sdl.web@gmail.com>
9454
3646bcd6
LL
9455 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
9456 (Bug#7879)
9457
542dfbde
LL
9458 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
9459
25721031
CY
94602012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
9461
9462 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
9463 * progmodes/bug-reference.el, misearch.el: Provide themselves
9464 (bug#11915).
9465
9466 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
9467 of narrowed buffer (bug#11966).
9468
316e68a7
VB
94692012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
9470
9471 * ses.el (ses-rename-cell): Set new name also in reference list of
9472 cells of which the renamed cell depends.
9473
bbf0e7d9
MY
94742012-07-20 Masatake YAMATO <yamato@redhat.com>
9475
9476 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
9477 to check whether menu-bar is shown or not. If not shown,
9478 show the menu-bar as a popup menu instead of using tmm.
9479 * mouse.el (popup-menu): Accept `point' as `position' argument.
9480
c28662a8
DG
94812012-07-20 Dmitry Gutov <dgutov@yandex.ru>
9482
9483 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
9484 up inside string symbol literal (bug#11923).
9485
87ab808f
EZ
94862012-07-20 Eli Zaretskii <eliz@gnu.org>
9487
9488 * startup.el (fancy-startup-text): Read the whole tutorial, not
9489 just its first 256 bytes. Prevents gibberish in display of the
9490 tutorial title.
9491
89dea803
DA
94922012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
9493
9494 Drop idle buffer compaction due to an absence of the
9495 proved efficiency.
9496 * compact.el: Remove.
9497
8a4e6db8
SS
94982012-07-19 Sam Steingold <sds@gnu.org>
9499
9500 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
9501 vc-bzr-pull & vc-bzr-merge-branch.
9502 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
9503 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
9504 for consistency with compilation-error-regexp-alist.
9505 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
9506 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
9507 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
9508 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
9509
5db81e33
SM
95102012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
9511
9512 * emacs-lisp/chart.el: Use lexical-binding.
9513 (chart-emacs-storage): Don't hardcode the list of entries.
9514
5b835e1d
DA
95152012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
9516
9517 Next round of tweaks caused by Fgarbage_collect changes.
9518 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
9519
9cd47b72
DA
95202012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
9521
9522 Compact buffers when idle.
9523 * compact.el: New file.
9524
1d6fc0df
SM
95252012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
9526
9527 * subr.el (eventp): Presume that if it looks vaguely like an event,
9528 it's an event (bug#10190).
9529
1d29cc7d
FEG
95302012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
9531
9532 Enhancements to ppss related code (thanks Stefan).
9533 * progmodes/python.el (python-indent-context)
9534 (python-indent-calculate-indentation, python-indent-dedent-line)
9535 (python-indent-electric-colon, python-nav-forward-block)
9536 (python-mode-abbrev-table)
1d6fc0df 9537 (python-info-assignment-continuation-line-p): Simplify checks
1d29cc7d
FEG
9538 for ppss context.
9539 (python-info-continuation-line-p): Cleanup.
9540 (python-info-ppss-context): Do not catch 'quote.
9541 (python-info-ppss-context-type)
9542 (python-info-ppss-comment-or-string-p): Simplify.
9543
d583cbe6
FEG
95442012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
9545
9546 * progmodes/python.el: Enhancements to eldoc support.
9547 (python-info-current-symbol): New function.
9548 (python-eldoc-at-point): Use python-info-current-symbol.
9549 (python-info-current-defun): Fix cornercase on first defun scan.
9550 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
9551 and signal error when no inferior python process is available.
9552
eceb6feb
DG
95532012-07-18 Dmitry Gutov <dgutov@yandex.ru>
9554
9555 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
9556 assume it's always t.
9557 (vc-git-registered): Remove caching, the function is only called
9558 once.
9559 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
9560
4c8ff0fe
CY
95612012-07-18 Chong Yidong <cyd@gnu.org>
9562
19fb7186
CY
9563 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
9564
9587c688
CY
9565 * simple.el (count-words): Report on narrowing (Bug#9959).
9566
0fe776a1
CY
9567 * bindings.el: Bind M-= to count-words.
9568
4c8ff0fe
CY
9569 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
9570
7f5331cc
MY
95712012-07-18 Masatake YAMATO <yamato@redhat.com>
9572
9573 * progmodes/sh-script.el (sh-imenu-generic-expression):
9574 Capture a function with `function' keyword and without parentheses
9575 like "function FOO" (bug#11856).
9576
2dc2a609
TH
95772012-07-18 Tassilo Horn <tassilo@member.fsf.org>
9578
9579 * window.el (split-window-sensibly): Make WINDOW argument
9580 optional.
9581
439f7677
CY
95822012-07-18 Chong Yidong <cyd@gnu.org>
9583
9aeb25a6
CY
9584 * subr.el (keyboard-translate): Doc fix (Bug#7261).
9585
439f7677
CY
9586 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
9587 and make C-x 8 RET exit isearch (Bug#11439).
9588
9589 * international/iso-transl.el: Move isearch-mode-map key
9590 definitions to isearch.el.
9591
12999ea8
SM
95922012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
9593
9594 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
9595 (eieio-defclass): Use gv-define-setter when possible.
9596
3ab6e069
DA
95972012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
9598
9599 Reflect recent changes in Fgarbage_collect.
9600 * emacs-lisp/chart.el (chart-emacs-storage): Change to
9601 reflect new format of data returned by Fgarbage_collect.
9602
0a60bc10
FEG
96032012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
9604
9605 New utility functions + python-info-ppss-context fix (Bug#11910).
9606 * progmodes/python.el (python-info-beginning-of-block-statement-p)
9607 (python-info-ppss-comment-or-string-p): New functions.
9608 (python-info-ppss-context): Small fix for string check.
9609
6dafa0d5
JL
96102012-07-17 Juri Linkov <juri@jurta.org>
9611
9612 * dired-aux.el (dired-do-async-shell-command): Doc fix.
9613 (dired-do-async-shell-command): Don't add `*' at the end of the
9614 command (Bug#11815).
9615 (dired-do-shell-command): Doc fix.
9616 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
9617 Join the individual commands using either "&" or ";" as the
9618 separator depending on the values of these trailing characters.
9619 At the end re-add the trailing "&". (Bug#10598)
9620
9621 * simple.el (async-shell-command): Sync the interactive spec with
9622 `shell-command'. Doc fix.
9623 (shell-command): Doc fix.
9624
b19dd9d1
JL
96252012-07-17 Juri Linkov <juri@jurta.org>
9626
9627 * descr-text.el (describe-char): Fix format args. (Bug#10129)
9628
bcdc27d7 96292012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
7f5331cc 9630
bcdc27d7 9631 Final renames and doc fixes for movement commands (bug#11899).
7f5331cc
MY
9632 * progmodes/python.el (python-nav-beginning-of-statement):
9633 Rename from python-nav-statement-start.
bcdc27d7
FEG
9634 (python-nav-end-of-statement): Rename from
9635 python-nav-statement-end.
9636 (python-nav-beginning-of-block): Rename from
9637 python-nav-block-start.
9638 (python-nav-end-of-block): Rename from python-nav-block-end.
9639
191da00e
FEG
96402012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
9641
7f5331cc
MY
9642 * progmodes/python.el (python-shell-send-string-no-output):
9643 Allow accept-process-output to quit, keeping shell process ready for
191da00e
FEG
9644 future interactions (Bug#11868).
9645
4dc7c8d5 96462012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
aa7aaf8f 9647
88ecaf8f
SM
9648 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
9649
ef501ef0
SM
9650 * emacs-lisp/elint.el (elint-find-args-in-code):
9651 Use help-function-arglist, so as to handle lexical byte-code.
9652
aa7aaf8f
SM
9653 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
9654 change (bug#11826).
9655
45fd731c
SM
96562012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
9657
2143fa32
SM
9658 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
9659 Avoid spuriously marking the buffer as modified because of c-is-sws.
9660
efc26dbe
SM
9661 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
9662 as not-a-comment (bug#11946).
9663
f5695c9a
SM
9664 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
9665 for uninterned vars.
9666
9667 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
9668 Use read-event since we don't really want to read chars but bytes.
9669
45fd731c
SM
9670 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
9671 $$..$$ but also $..$ using regexps (bug#11953).
9672 Use tex-verbatim for \url and \path.
9673 (tex-font-lock-keywords): Define as defconst like the others.
9674 (tex-common-initialization): Don't use font-lock-syntax-table any more.
9675
ddfc8813
RK
96762012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
9677
9678 * international/mule-cmds.el (ucs-insert): Make it an obsolete
9679 alias for insert-char.
9680
758e556a
FEG
96812012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
9682
9683 * progmodes/python.el: Simplified imenu implementation.
9684 (python-nav-jump-to-defun): Remove command.
9685 (python-mode-map): Use `imenu' instead.
9686 (python-nav-list-defun-positions-cache)
9687 (python-imenu-include-defun-type, python-imenu-make-tree)
9688 (python-imenu-subtree-root-label, python-imenu-index-alist):
9689 Remove vars.
9690 (python-nav-list-defun-positions, python-nav-read-defun)
9691 (python-imenu-tree-assoc, python-imenu-make-element-tree)
45fd731c
SM
9692 (python-imenu-make-tree, python-imenu-create-index):
9693 Remove functions.
758e556a
FEG
9694 (python-mode): Update to interact with imenu by setting
9695 `imenu-extract-index-name-function' only.
9696
032d23ab
FEG
96972012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
9698
9699 * progmodes/python.el: Enhancements to navigation commands.
9700 (python-nav-backward-sentence)
9701 (python-nav-forward-sentence): Remove.
9702 (python-nav-backward-statement, python-nav-forward-statement)
9703 (python-nav-statement-start, python-nav-statement-end)
9704 (python-nav-backward-block, python-nav-forward-block)
9705 (python-nav-block-start, python-nav-block-end)
9706 (python-nav-forward-sexp-function)
9707 (python-info-current-line-comment-p)
9708 (python-info-current-line-empty-p): New functions.
9709 (python-indent-context): Use `python-nav-statement-start'.
9710
01795a1b
MA
97112012-07-16 Michael Albinus <michael.albinus@gmx.de>
9712
9328d9aa
MA
9713 * eshell/em-ls.el (eshell/ls): Use `apply'.
9714
9715 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
9716 multi-hops, instead of Tramp internals.
9717
01795a1b
MA
9718 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
9719
9720 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
9721 when F1 and F2 are located on different hosts.
9722
63408057
CY
97232012-07-14 Chong Yidong <cyd@gnu.org>
9724
9725 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
9726 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
9727 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
9728 (xterm-mouse--read-event-sequence-1000)
9729 (xterm-mouse--read-event-sequence-1006): New functions. For old
9730 mouse protocol, handle M-mouse-X events correctly.
9731 (xterm-mouse-event): New arg specifying mouse protocol.
9732 (turn-on-xterm-mouse-tracking-on-terminal)
9733 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
45fd731c
SM
9734 sequence to toggle extended coordinates on newer XTerms.
9735 This appears to be harmless on terminals which do not support this.
63408057 9736
cd276f6e
LL
97372012-07-14 Leo Liu <sdl.web@gmail.com>
9738
28ca98ac
LL
9739 Add fringe bitmap indicators for flymake. (Bug#11253)
9740 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
9741 (flymake-make-overlay): New arg BITMAP.
9742 (flymake-error-bitmap, flymake-warning-bitmap)
9743 (flymake-fringe-indicator-position): New user variables.
9744
cd276f6e
LL
9745 * fringe.el: New bitmap exclamation-mark.
9746
04408072
JD
97472012-07-14 Jan Djärv <jan.h.d@swipnet.se>
9748
9749 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
9750 also (Bug#7879).
9751
b5cf7fc4
CY
97522012-07-14 Chong Yidong <cyd@gnu.org>
9753
9754 * electric.el (electric-pair-post-self-insert-function): Fix pair
9755 insertion in empty-region case (Bug#11520).
9756
be755c79
RT
97572012-07-14 Chong Yidong <cyd@gnu.org>
9758
45fd731c
SM
9759 * bindings.el: Consolidate ctl-x-r-map bindings.
9760 Bind copy-rectangle-as-kill to C-x r w.
be755c79
RT
9761
9762 * rect.el, register.el: Move bindings to bindings.el.
9763
97642012-07-14 Reuben Thomas <rrt@sc3d.org>
9765
9766 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
9767
7f5b3198
AS
97682012-07-13 Andreas Schwab <schwab@linux-m68k.org>
9769
9770 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
9771
97662200
JB
97722012-07-13 Juanma Barranquero <lekktu@gmail.com>
9773
80185fed
JB
9774 * bindings.el (top): Use `mapc' instead of `mapcar'.
9775
97662200
JB
9776 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
9777
2bb1ae55
MA
97782012-07-13 Michael Albinus <michael.albinus@gmx.de>
9779
9780 * progmodes/sql.el (sql-comint): Suppress the check for program on
9781 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
9782 (Bug#11908)
9783
dea31bd3
CY
97842012-07-13 Chong Yidong <cyd@gnu.org>
9785
9786 * bindings.el: Assign a non-nil permanent-local property to
9787 per-buffer variables which lack a default value (Bug#11930).
9788
9789 * help-fns.el (describe-variable): In the "automatically becomes
9790 local" notice, take note of permanent-local variables.
9791
b68b3337
CY
97922012-07-13 Chong Yidong <cyd@gnu.org>
9793
9794 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
9795 to allow printing the message when called from Lisp.
9796
9797 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
9798 Remove toggle-read-only.
9799
9800 * bs.el (bs-toggle-readonly):
45fd731c
SM
9801 * buff-menu.el (Buffer-menu-toggle-read-only):
9802 Remove with-no-warnings around toggle-read-only.
b68b3337
CY
9803
9804 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
9805 Remove with-no-warnings around toggle-read-only.
9806 (ffap-read-only, ffap-read-only-other-window)
9807 (ffap-read-only-other-frame): Callers changed.
9808
9809 * help-mode.el: Don't require view package.
9810 (help-mode-finish): Set buffer-read-only instead of calling
9811 toggle-read-only.
9812
9813 * bindings.el (mode-line-toggle-read-only):
9814 * dired.el (dired-toggle-read-only):
9815 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
9816 with non-nil second arg.
9817
9818 * emacs-lisp/eieio-custom.el (eieio-customize-object):
9819 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
9820 directly.
9821
56bc1586
EZ
98222012-07-12 Eli Zaretskii <eliz@gnu.org>
9823
9824 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
9825 not incf.
9826
a464a6c7
SM
98272012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
9828
9829 More CL cleanups and reduction of use of cl.el.
9830 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
9831 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
9832 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
9833 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
9834 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
9835 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
9836 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
9837 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
9838 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
9839 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
9840 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
9841 * eshell/em-cmpl.el, eshell/em-banner.el:
9842 * calendar/parse-time.el: Use cl-lib.
9843 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
9844 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
9845 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
9846 * term/ns-win.el, term.el, shell.el, ps-samp.el:
9847 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
9848 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
9849 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
9850 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
9851 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
9852 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
9853 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
9854 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
9855 `lambda' rather than with `quote'.
9856 (eshell-do-opt): Adjust accordingly.
9857 (eshell-process-option): Simplify.
9858 * eshell/esh-var.el:
9859 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
9860 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
9861 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
9862 to `pcase--dontcare'.
9863 * emacs-lisp/cl.el (labels): Mark obsolete.
9864 (cl--letf, letf): Move to cl-lib.
9865 (cl--letf*, letf*): Remove.
9866 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
9867 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
9868 (cl-progv): Rewrite.
9869 (cl--letf, cl-letf): Move from cl.el.
9870 (cl-letf*): New macro.
9871 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
9872
7ad4afe1
MA
98732012-07-11 Michael Albinus <michael.albinus@gmx.de>
9874
9875 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
9876
9af57756
CY
98772012-07-11 Chong Yidong <cyd@gnu.org>
9878
9879 * vc/log-edit.el (log-edit-vc-backend): New variable.
9880 (log-edit): Doc fix.
9881
9882 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
9883 argument of log-edit to set up all local variables.
9884 (vc-start-logentry): New optional arg specifying VC backend.
9885
9886 * vc/vc.el (vc-checkin): Use it.
9887 (vc-deduce-fileset): Handle Log Edit buffers.
9888 (vc-diff): Make first argument optional too.
9889
9890 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
9891
8477cc7a
MA
98922012-07-10 Michael Albinus <michael.albinus@gmx.de>
9893
9894 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
9895 command, just in case. The function is not needed anymore.
9896 (eshell-external-command): Do not call `eshell-remote-command'.
9897
19faa8e8
SM
98982012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
9899
f58e0fd5
SM
9900 Reduce use of (require 'cl).
9901 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
9902 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
9903 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
9904 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
9905 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
9906 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
9907 * battery.el, avoid.el, abbrev.el: Use cl-lib.
9908 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
9909 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
9910 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
9911 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
9912 * calculator.el, autorevert.el, apropos.el: Don't require CL.
9913 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
9914 (byte-compile-unfold-bcf, byte-compile-check-variable):
9915 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
9916 (byte-compile-nilconstp):
9917 * emacs-lisp/autoload.el (make-autoload): Use pcase.
9918 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
9919
2519d43a
SM
9920 * emacs-lisp/gv.el (cond): Make it a valid place.
9921 (if): Simplify slightly.
9922
19faa8e8
SM
9923 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
9924 (pcase--self-quoting-p): New function.
9925 (pcase--u1): Use it.
9926
c4907a5e
GM
99272012-07-10 Glenn Morris <rgm@gnu.org>
9928
9929 * emacs-lisp/authors.el (authors-fixed-entries):
9930 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
9931
c4444d16
PE
99322012-07-09 Paul Eggert <eggert@cs.ucla.edu>
9933
9934 Rename configure.in to configure.ac (Bug#11603).
9935 * emacs-lisp/authors.el (authors-canonical-file-name):
9936 * progmodes/autoconf.el (autoconf-mode):
9937 Prefer configure.ac to configure.in.
9938
d75be97d
CY
99392012-07-08 Chong Yidong <cyd@gnu.org>
9940
01ac65bd
CY
9941 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
9942 Implement the mouse-1-click-follows-link handling properly.
9943
9944 * info.el (Info-link-keymap): Use follow-link mechanism for
9945 header-line links (Bug#374).
9946
d75be97d
CY
9947 * simple.el (deactivate-mark): Do not set the primary selection
9948 if another program has acquired it (Bug#11772).
9949
87a92845 99502012-07-07 Kevin Ryde <user42@zip.com.au>
f0ecdfea
KR
9951
9952 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
9953 (woman-decode-region): Replace escaped-escapes without destroying
9954 bold or underline (Bug#11552).
87a92845 9955 (woman2-process-escapes): Handle nofill regions (Bug#11591).
f0ecdfea 9956
621b9d6c
CY
99572012-07-07 Chong Yidong <cyd@gnu.org>
9958
9959 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
19faa8e8
SM
9960 (interprogram-cut-function, interprogram-paste-function):
9961 Mention that we typically mean the clipboard.
621b9d6c 9962
133a11fc
GM
99632012-07-06 Glenn Morris <rgm@gnu.org>
9964
0d27a45e
GM
9965 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
9966
133a11fc
GM
9967 * files.el (toggle-read-only): Restrict message to interactive use.
9968
07b151f1
MA
99692012-07-06 Michael Albinus <michael.albinus@gmx.de>
9970
9971 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
9972
9973 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
9974
211b896b
GM
99752012-07-06 Glenn Morris <rgm@gnu.org>
9976
50394322
GM
9977 * Makefile.in (compile-one-process): Rename from "recompile".
9978
211b896b
GM
9979 * Makefile.in (bzr-update): "compile" is the same as "recompile
9980 autoloads", but parallelizable, so use that instead.
9981
4737eec9
DG
99822012-07-06 Dmitry Gutov <dgutov@yandex.ru>
9983
9984 * window.el (quit-window): Always restore window height when
8137e7b3 9985 it's saved in quit-restore parameter (Bug#11810).
4737eec9 9986
226c3633 99872012-07-06 Glenn Morris <rgm@gnu.org>
cb442973
GM
9988
9989 * simple.el (kill-whole-line): Doc tweak.
9990
226c3633 99912012-07-06 Eli Zaretskii <eliz@gnu.org>
93842198
EZ
9992
9993 * files.el (file-relative-name): Compare file names
9994 case-insensitively if on MS-Windows or MS-DOS, or if
9995 read-file-name-completion-ignore-case is non-nil. Don't use
9996 case-fold-search for this purpose. (Bug#11827)
9997
4dc7c8d5
SM
99982012-07-17 Andreas Schwab <schwab@linux-m68k.org>
9999
10000 * calendar/cal-dst.el (calendar-current-time-zone):
10001 Return calendar-current-time-zone-cache if non-nil.
10002
100032012-07-17 Masatake YAMATO <yamato@redhat.com>
226c3633 100042012-07-06 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 10005
19faa8e8
SM
10006 * calendar/cal-dst.el (calendar-current-time-zone):
10007 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 10008
60198fc9
GM
100092012-07-06 Glenn Morris <rgm@gnu.org>
10010
10011 * Makefile.in (cvs-update): Remove old alias.
10012
957b3189
MA
100132012-07-05 Michael Albinus <michael.albinus@gmx.de>
10014
10015 Sync with Tramp 2.2.6-pre.
10016
10017 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
10018 compatible declaration.
10019
19faa8e8
SM
10020 * net/tramp-cmds.el (tramp-append-tramp-buffers):
10021 Protect `list-load-path-shadows' call.
957b3189
MA
10022
10023 * net/tramp-compat.el (top): Require packages, which aren't
10024 autoloaded anymore for XEmacs. Protect call of
10025 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
10026 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
10027 it hurts at least for SXEmacs.
10028 (tramp-compat-temporary-file-directory): In XEmacs, there is no
10029 standard-value for `temporary-file-directory'.
10030
10031 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
10032 Redirect stderr to /dev/null.
10033 (tramp-sh-handle-write-region): uid and gid can be floats.
10034 Reported by Russell Sim <russell.sim@gmail.com>.
10035 (tramp-sh-handle-vc-registered): Hide errors.
10036 (tramp-vc-file-name-handler): Use dummy results for `process-file'
10037 and `start-file-process'.
10038 (tramp-maybe-open-connection): Check also whether `non-essential'
10039 is bound.
10040
566df3fc
CY
100412012-07-04 Chong Yidong <cyd@gnu.org>
10042
10043 * xml.el (xml--parse-buffer): Use xml-syntax-table.
10044 (xml-parse-tag): Likewise, and avoid changing entity tables.
10045 (xml-syntax-table): Define from scratch, making sure not to give
10046 x2000 and other Unicode spaces whitespace syntax, since those are
10047 not spaces in XML.
10048 (xml-parse-fragment): Delete unused function.
10049 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
10050 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
10051 (xml-entity-ref, xml-pe-reference-re)
10052 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
10053 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
10054 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
10055 (xml-entity-value-re): Use syntax references in regexps where
10056 possible; no need to define inside a let-binding.
10057 (xml-parse-dtd): Use xml-pe-reference-re.
10058 (xml-entity-or-char-ref-re): New defconst.
10059 (xml-parse-string, xml-substitute-special): Use it.
10060
30eabd7a
SM
100612012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
10062
0781098a
SM
10063 * files.el (locate-dominating-file): Allow `name' to be a predicate.
10064 (find-file--read-only): New function.
10065 (find-file-read-only, find-file-read-only-other-window)
10066 (find-file-read-only-other-frame): Use it.
10067 (insert-file-contents-literally): Don't `fset'.
10068 (get-free-disk-space): Use locate-dominating-file.
10069
b5771c0d
SM
10070 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
10071 function is already compiled.
10072
30eabd7a
SM
10073 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
10074
b4886f6e
MA
100752012-07-03 Michael Albinus <michael.albinus@gmx.de>
10076
10077 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
10078 files on the same host.
10079
b9d82339
AS
100802012-07-03 Andreas Schwab <schwab@linux-m68k.org>
10081
10082 * help-fns.el (describe-function-1): Only call
10083 help-fns--autoloaded-p when we have a file name. (Bug#11848)
10084
a76e6535
CY
100852012-07-03 Chong Yidong <cyd@gnu.org>
10086
10087 * xml.el: Protect parser against XML bombs.
10088 (xml-entity-expansion-limit): New variable.
10089 (xml-parse-string, xml-substitute-special): Use it.
10090 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
10091
b544fef2
GM
100922012-07-03 Glenn Morris <rgm@gnu.org>
10093
10094 * progmodes/bug-reference.el (bug-reference-bug-regexp):
10095 Allow linking to specific messages in debbugs reports (eg 123#5).
10096
a7aef6f5
CY
100972012-07-02 Chong Yidong <cyd@gnu.org>
10098
10099 * xml.el: Fix entity and character reference expansion, allowing
10100 them to expand into markup as per XML spec.
10101 (xml-default-ns): New variable.
10102 (xml-entity-alist): Use XML spec definitions for lt and amp.
30eabd7a
SM
10103 (xml-parse-region): Make first two arguments optional.
10104 Discard text properties.
10105 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
10106 All callers changed.
a7aef6f5
CY
10107 (xml-parse-tag): Call xml-parse-tag-1. For backward
10108 compatibility, this function should not modify buffer contents.
10109 (xml-parse-tag-1): Fix opening-tag regexp.
10110 (xml-parse-string): Rewrite, handling entity and character
10111 references properly.
10112 (xml--entity-replacement-text): Signal an error if a parameter
10113 entity is undefined.
10114
3df31c9f
SM
101152012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
10116
2b5208f1
SM
10117 * comint.el (comint-output-filter): Filter out repeated prompts.
10118
3df31c9f
SM
10119 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
10120 and file-name-absolute-p.
10121 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
10122 internal calls.
10123
e3ac1281
PE
101242012-07-02 Paul Eggert <eggert@cs.ucla.edu>
10125
10126 Spelling fixes.
10127 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
10128 Rename from byte-compile--refiy-function. All uses changed.
10129
fbf2e7ad
CY
101302012-07-01 Chong Yidong <cyd@gnu.org>
10131
10132 * xml.el (xml--parse-buffer): New function. Move most of
10133 xml-parse-region here.
10134 (xml-parse-region): Copy region into a temporary buffer, since
10135 parameter entity substitution requires changing buffer contents.
10136 Use xml--parse-buffer.
10137 (xml-parse-file): Use xml--parse-buffer.
10138 (xml-parse-dtd): Make parameter entity substitution work right.
6fe566a7 10139 Use proper regexps for ELEMENT declarations (Bug#7172).
fbf2e7ad 10140
9bf0aa15
GM
101412012-06-30 Glenn Morris <rgm@gnu.org>
10142
bbce2853
GM
10143 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
10144
9bf0aa15
GM
10145 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
10146 Remove outdated and unnecessary dbus declarations.
10147
0d23c240
EZ
101482012-06-30 Eli Zaretskii <eliz@gnu.org>
10149
10150 * emacs-lisp/timer.el (timer-until): Subtract results of
10151 float-time, instead of taking float-time of the result of
10152 time-subtract, since float-time signals an error for negative time
10153 arguments.
10154
b3218de1
CY
101552012-06-30 Chong Yidong <cyd@gnu.org>
10156
10157 * xml.el (xml-*-re): Convert defvars into defconsts, and
10158 eval-and-compile them so eval-and-compile works on derivatives.
10159 (xml--entity-replacement-text): Use eval-and-comple.
10160
a40c87a0
MA
101612012-06-30 Michael Albinus <michael.albinus@gmx.de>
10162
10163 * vc/vc-git.el (vc-git-registered): Use cache property
10164 `git-registered'.
10165 (vc-git-mode-line-string): Call `vc-working-revision' instead of
10166 `vc-git-working-revision' in order to benefit from the cache.
2bb1ae55 10167 (vc-git-root): Use cache property `git-root'. (Bug#11757)
a40c87a0 10168
ac87de97
DG
101692012-06-30 Dmitry Gutov <dgutov@yandex.ru>
10170
10171 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
2bb1ae55 10172 removed (likely outside Emacs). (Bug#11757)
ac87de97 10173
ac10fe06
SM
101742012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
10175
3df31c9f 10176 * emacs-lisp/cl-lib.el: Require macroexp.
ac10fe06 10177
7f3fbd5d
CY
101782012-06-30 Chong Yidong <cyd@gnu.org>
10179
10180 * xml.el: Implement XML parameter entities.
10181 (xml-parameter-entity-alist): New variable.
10182 (xml-parse-region, xml-parse-fragment): Preserve previous values
10183 of xml-entity-alist and xml-parameter-entity-alist, so that
10184 repeated calls on different documents do not change them.
10185 (xml-parse-tag): Fix doctype regexp.
10186 (xml--entity-replacement-text): New function.
10187 (xml-parse-dtd): Use it. Don't handle system entities; doing that
10188 properly requires url retrieval which is unimplemented.
10189 (xml-escape-string): Doc fix.
10190
3cfbebba
SM
101912012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
10192
10193 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
10194
2af3565e
DA
101952012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
10196
10197 * fringe.el (fringe-mode): Doc fix.
10198
929df0e7
MA
101992012-06-29 Michael Albinus <michael.albinus@gmx.de>
10200
10201 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
10202 is non-nil.
10203 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
10204 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
10205
c8d3a25c 102062012-06-29 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 10207
c8d3a25c
GM
10208 * calendar/cal-dst.el (calendar-current-time-zone):
10209 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 10210
c8d3a25c 102112012-06-29 Masatake YAMATO <yamato@redhat.com>
26e8548e
MY
10212
10213 * progmodes/which-func.el (which-func-format):
10214 Add mouse-face. (Bug#11698)
10215
c8d3a25c
GM
102162012-06-29 Leo Liu <sdl.web@gmail.com>
10217
10218 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
10219
102202012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
10221
10222 * minibuffer.el (minibuffer-confirm-exit-commands):
10223 Add completion-at-point (bug#11725).
10224
102252012-06-29 Glenn Morris <rgm@gnu.org>
10226
10227 * progmodes/f90.el (f90-font-lock-keywords-2):
10228 Add some preprocessor elements. (Bug#10499)
10229
102302012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
10231
10232 * progmodes/cperl-mode.el (cperl-update-syntaxification):
10233 Use syntax-propertize (bug#11739).
10234
2badeec4
JB
102352012-06-28 Juanma Barranquero <lekktu@gmail.com>
10236
10237 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
10238
ae4969c2
JD
102392012-06-28 Julien Danjou <julien@danjou.info>
10240
10241 * term.el (term-handle-colors-array): Use a set of new faces to
10242 color the terminal. Also uses :inverse-video property.
10243 (term-default-fg-color): Set to nil by default, deprecate in favor
10244 of `term-face'.
10245 (term-default-bg-color): Set to nil by default, deprecate in favor
10246 of `term-face'.
10247 (term-current-face): Use `term-face' by default.
10248 (term-bold-attribute): Variable deleted.
10249
1c9bd870
GM
102502012-06-28 Glenn Morris <rgm@gnu.org>
10251
10252 * simple.el (completion-list-mode-finish):
10253 Don't use toggle-read-only. (Since completion-list-mode has
10254 a special mode-class, it wasn't doing anything extra anyway.)
10255
c207708c
SM
102562012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
10257
10258 Make inlining of other-mode interpreted functions work (bug#11799).
10259 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
10260 (byte-compile): Use it to fix compilation of lexical-binding closures.
10261 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
10262 function, if needed.
10263
3fd56834
SM
102642012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
10265
04901786
SM
10266 * help-mode.el (help-make-xrefs): Don't just withstand
10267 cyclic-variable-indirection but any error in documentation-property.
10268
1ec4b7b2
SM
10269 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
10270 memory use.
10271 * bindings.el (bindings--define-key): New function.
10272 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
10273 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
10274 * bindings.el: Use it to purecopy define-key bindings.
10275
e309e2a5
SM
10276 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
10277
d5c6faf9
SM
10278 * emacs-lisp/cl.el (flet): Mark obsolete.
10279 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
10280 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
10281 * progmodes/js.el (js-c-fill-paragraph):
10282 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
10283 (ebrowse-switch-member-buffer-to-derived-class):
10284 * play/5x5.el (5x5-solver): Use cl-flet.
10285
6e9590e2
SM
10286 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
10287 (cl--symbol-function): New macro.
10288 (cl--letf, cl--letf*): Use it.
10289
3fd56834
SM
10290 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
10291 Strip "toggle-" if any.
10292
35ff222c
GM
102932012-06-27 Glenn Morris <rgm@gnu.org>
10294
1ba6038a
GM
10295 * info.el (Info-default-directory-list): Move here from paths.el.
10296 * paths.el: Remove file, which is now empty.
10297 * loadup.el: No longer load "paths".
10298
0ea0e51b
GM
10299 * custom.el (custom-initialize-delay): Doc fix.
10300
35ff222c
GM
10301 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
10302 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
10303 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
10304 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
10305 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
10306 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
10307 * eshell/eshell.el (eshell-defgroup): Remove alias.
10308
c89926a5
CY
103092012-06-27 Chong Yidong <cyd@gnu.org>
10310
10311 * help.el (help-enable-auto-load): New variable.
10312
10313 * help-fns.el (help-fns--autoloaded-p): New function.
10314 (describe-function-1): Refer to a function as "autoloaded" if it
10315 was autoloaded at any time in the past. Perform autoloading if
10316 help-enable-auto-load is non-nil.
10317
cc06e7e7
EZ
103182012-06-26 Eli Zaretskii <eliz@gnu.org>
10319
10320 * makefile.w32-in (compile, compile-always): Depend on
10321 update-subdirs, not on subdirs.el. Otherwise, several different
10322 sub-targets of 'bootstrap' running in parallel could
10323 simultaneously write to subdirs.el, producing a garbled file.
10324
d2c32364
SS
103252012-06-26 Sam Steingold <sds@gnu.org>
10326
10327 * files.el (file-name-base): New convenience function.
0d14cc21
GM
10328 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
10329 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
10330 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
10331 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
10332 * textmodes/ispell.el, textmodes/reftex-ref.el:
d2c32364
SS
10333 * textmodes/tex-mode.el: Use it.
10334 Did not touch cedet and org because they are maintained elsewhere.
10335
5cf983b2
MR
103362012-06-26 Martin Rudalics <rudalics@gmx.at>
10337
10338 * calendar/calendar.el (calendar-exit): Don't try to delete or
10339 iconify last frame. See:
10340 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
10341
8c4f2952
JD
103422012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
10343
10344 * server.el (server-process-filter): Remember dir in the
10345 process's `server-client-directory' properties.
10346
772b2e2c
CY
103472012-06-24 Chong Yidong <cyd@gnu.org>
10348
10349 * xml.el (xml-parse-tag): Correctly handle comment embedded in
10350 non-tag text.
10351
711b11e1
JB
103522012-06-23 Juanma Barranquero <lekktu@gmail.com>
10353
10354 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
10355
dc5d230c
SM
103562012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
10357
10358 * help-fns.el (describe-variable): Don't croak when doc is not found.
10359 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
10360 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
10361 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
10362 * emacs-lisp/smie.el (smie-next-sexp): CSE.
10363 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
10364 ((lambda ..) ..).
10365 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
10366
136e1c1d
CY
103672012-06-23 Chong Yidong <cyd@gnu.org>
10368
e8c1cabf
CY
10369 * info.el (Info-mouse-follow-link): Accept symbol values of
10370 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
136e1c1d
CY
10371 (Info-fontify-node): Use Info-link-keymap for all navigation
10372 buttons, with link-args property to perform the desired action.
10373 (Info-link-keymap): Doc fix.
10374 (Info-next-link-keymap, Info-prev-link-keymap)
10375 (Info-up-link-keymap): Delete now-unused keymaps.
10376
0e9e6c6a
CY
103772012-06-23 Chong Yidong <cyd@gnu.org>
10378
05e89fea
CY
10379 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
10380
0e9e6c6a
CY
10381 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
10382 system abbrevs.
10383
10384 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
10385
e33c6771
SM
103862012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
10387
b68581e2
SM
10388 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
10389 (bug#11719).
10390
e33c6771
SM
10391 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
10392 the requote function doesn't work properly (bug#11714).
10393
7117e105
GM
103942012-06-23 Glenn Morris <rgm@gnu.org>
10395
10396 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
10397
36cec983
SM
103982012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
10399
10400 Further GV/CL cleanups.
10401 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
10402 gv-expander.
10403 (gv--defun-declaration): New function.
10404 (defun-declarations-alist): Use it.
10405 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
10406 (gv-place): Autoload.
10407 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
10408 original definition of dotimes and dolist.
10409 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
10410 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
10411 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
10412 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
10413 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
10414 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
10415 to the function's definition.
10416 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
10417 * window.el:
10418 * files.el:
10419 * faces.el:
10420 * env.el: Don't use CL.
10421
d35af63c
PE
104222012-06-22 Paul Eggert <eggert@cs.ucla.edu>
10423
10424 Support higher-resolution time stamps (Bug#9000).
10425
10426 * calendar/time-date.el (with-decoded-time-value): New arg
10427 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
10428 (encode-time-value): New optional arg PICO. New type 3.
10429 (time-to-seconds) [!float-time]: Support the new picoseconds
10430 component if it's used.
10431 (seconds-to-time, time-subtract, time-add):
10432 Support ps-resolution time stamps as well.
10433
10434 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
10435 (timerp): Timer vectors now have length 9, not 8.
10436 (timer--time): Support new-style (4-part) time stamps.
10437 (timer-next-integral-multiple-of-time): Time stamps now have
10438 picosecond resolution, so take a bit more care about rounding.
10439 (timer-relative-time, timer-inc-time): New optional arg psecs.
10440 (timer-set-time-with-usecs): Set psecs to 0.
10441 (timer--activate): Check psecs component, too.
10442
10443 * proced.el (proced-time-lessp): Support ps-resolution stamps.
10444
ac77b21a
SM
104452012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
10446
f143bfe3
SM
10447 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
10448 Move the non-essential binding to the post/pre-command-hook where it is
10449 more obviously correct.
10450
ac77b21a
SM
10451 * subr.el (read-passwd): Don't use a history at all.
10452 * savehist.el (savehist-save): Remove password saved accidentally
10453 because of the above bug.
10454
76386c5a
BG
104552012-06-22 Bastien Guerry <bzg@gnu.org>
10456
10457 * files.el (toggle-read-only): Display a message telling whether
10458 the buffer is read-only or not (bug#11726).
10459
2ee3d7f0
SM
104602012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
10461
10462 * emacs-lisp/gv.el: New file.
10463 * subr.el (push, pop): Extend to generalized variables.
10464 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
10465 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
10466 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
10467 gv-define-simple-setter, and gv-define-expander.
10468 Remove setf-methods defined in gv. Rename cl-setf -> setf.
10469 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
10470 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
10471 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
10472 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
10473 gv-letplace.
10474 (cl-defstruct): Don't define setf-method any more.
10475 * emacs-lisp/cl.el (flet): Don't autoload.
10476 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
10477 (define-setf-expander, defsetf, define-modify-macro)
10478 (cl-struct-setf-expander): Move from cl-lib.el.
10479 * emacs-lisp/syntax.el:
10480 * emacs-lisp/ewoc.el:
10481 * emacs-lisp/smie.el:
10482 * emacs-lisp/cconv.el:
10483 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
10484 (timer--time): Use gv-define-simple-setter.
10485 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
10486 to avoid coding-system problems in subr.el. Adjust all users.
10487 (macroexp--maxsize, macroexp-small-p): New functions.
10488 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
10489 * scroll-bar.el (scroll-bar-mode):
10490 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
10491 (normal-erase-is-backspace-mode): Don't use the `eq' place.
10492 * winner.el (winner-configuration, winner-make-point-alist)
10493 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
10494 * files.el (locate-file-completion-table): Avoid list*.
10495
c5695d1d
CY
104962012-06-22 Chong Yidong <cyd@gnu.org>
10497
10498 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
10499 (dired-create-files): Doc fix (Bug#11329).
10500 (dired-do-copy): Doc fix (Bug#11334).
10501 (dired-mark-read-string): Doc fix (Bug#11553).
10502
2ee3d7f0
SM
10503 * dired.el (dired-recursive-copies, dired-recursive-deletes):
10504 Doc fix (Bug#11326).
c5695d1d
CY
10505 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
10506 (dired-dwim-target): Doc fix.
10507
10508 * wdired.el (wdired-mode): Doc fix.
10509
89b5595a
GM
105102012-06-22 Glenn Morris <rgm@gnu.org>
10511
575db3f1
GM
10512 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
10513 (pcmpl-rpm-cache-stamp-file): New constant.
10514 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
10515 (pcmpl-rpm-packages): Optionally cache list of packages.
10516
a4c8dd51
GM
10517 * pcmpl-rpm.el (pcmpl-rpm): New group.
10518 (pcmpl-rpm-query-options): New option.
10519 (pcmpl-rpm-packages): No need to inline it.
10520 Use pcmpl-rpm-query-options.
10521
89b5595a
GM
10522 * calendar/calendar.el (calendar-in-read-only-buffer):
10523 Avoid some needless mode changes.
10524
e76f0800
CY
105252012-06-21 Chong Yidong <cyd@gnu.org>
10526
10527 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
10528 (desktop-path): Remove . from the default value (Bug#10977).
6b67c0d4 10529 (desktop-read): Use user-emacs-directory if desktop-path is nil.
e76f0800 10530
297a8f1d
CY
105312012-06-20 Chong Yidong <cyd@gnu.org>
10532
10533 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
10534
d34c18b1
DR
105352012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
10536
10537 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
10538 (bug#11201).
10539
32f7f28e
CY
105402012-06-20 Chong Yidong <cyd@gnu.org>
10541
10542 * term.el (term-window-width): Handle the case of a missing right
10543 fringe (Bug#8837).
10544 (term-check-size): Use window-text-height (Bug#5445).
d34c18b1
DR
10545 (term-mode): Use define-derived-mode. Minor cleanups.
10546 Set font-lock-defaults (Bug#7692).
6ff7caa8
CY
10547 (term-move-columns, term-insert-char, term-emulate-terminal)
10548 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
32f7f28e 10549
493c6688
MA
105502012-06-20 Michael Albinus <michael.albinus@gmx.de>
10551
d34c18b1
DR
10552 * net/ange-ftp.el (ange-ftp-get-passwd):
10553 Bind `enable-recursive-minibuffers'.
493c6688
MA
10554 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
10555
3f06ecf4
DR
105562012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
10557
10558 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
10559
68f12411
GM
105602012-06-19 Glenn Morris <rgm@gnu.org>
10561
10562 * progmodes/python.el (python-mode): Derive from prog-mode.
10563
b3820318
KG
105642012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
10565
10566 * emulation/edt.el (edt-default-menu-bar-update-buffers)
10567 (edt-user-menu-bar-update-buffers): New functions.
10568 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
10569
c6bf3022
CY
105702012-06-19 Chong Yidong <cyd@gnu.org>
10571
10572 * subr.el (with-selected-window): Preserve the selected window's
10573 terminal's top-frame (Bug#4702).
10574
10575 * window.el (save-selected-window): Likewise.
10576
25f09295
SM
105772012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
10578
10579 * progmodes/python.el (python-rx-constituents): Move backquote.
10580 (python-skeleton-define, python-define-auxiliary-skeleton):
10581 Use `declare'.
10582
6b11952a
MA
105832012-06-18 Michael Albinus <michael.albinus@gmx.de>
10584
10585 * minibuffer.el (read-file-name-default): Revert the patch from
10586 2012-06-17.
10587
ee4b1330
SM
105882012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
10589
10590 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
10591 (pcase--u1, pcase--q1): Don't use apply-partially.
10592
35647f79
GM
105932012-06-18 Glenn Morris <rgm@gnu.org>
10594
10595 * progmodes/python.el (python-proc, python-buffer)
10596 (python-send-receive, python-send-string): Fix obsolete versions.
10597
24b0cff0
MR
105982012-06-18 Martin Rudalics <rudalics@gmx.at>
10599
10600 * window.el (special-display-p): Completely remove stringp
10601 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
10602
29855149
MA
106032012-06-17 Michael Albinus <michael.albinus@gmx.de>
10604
10605 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
10606
10607 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
10608
10609 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
10610 * net/tramp-sh.el (tramp-maybe-open-connection):
10611 Throw if `non-essential' is non-nil.
10612
07463363
MR
106132012-06-17 Martin Rudalics <rudalics@gmx.at>
10614
10615 * window.el (special-display-p): Signal an error if BUFFER-NAME
10616 is not a string (Bug#11713).
10617
48d1354e
PE
106182012-06-17 Paul Eggert <eggert@cs.ucla.edu>
10619
10620 * progmodes/python.el (python-info-beginning-of-backslash):
10621 Rename from python-info-beginning-of-backlash, as a spelling fix.
10622
eb4a8a9a
CY
106232012-06-17 Chong Yidong <cyd@gnu.org>
10624
10625 * term.el (term-emulate-terminal): If term-check-size is called,
10626 move point to the process mark without resetting point (Bug#4635).
10627
ddfbf826 106282012-06-17 Glenn Morris <rgm@gnu.org>
9c758578
GM
10629
10630 * international/mule-cmds.el (mule-menu-keymap)
10631 (set-language-environment, set-locale-environment): Doc tweaks.
10632
9b0e3eba
AA
106332012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
10634
10635 * cus-face.el (custom-face-attributes): Add wave-style underline
10636 attribute.
10637 * faces.el (set-face-attribute): Update docstring to describe
10638 wave-style underline attribute.
10639
771e3eae
CY
106402012-06-16 Chong Yidong <cyd@gnu.org>
10641
10642 * term/xterm.el (terminal-init-xterm): Discard input before
10643 querying background mode (Bug#10959).
10644
7ae2ea10
SM
106452012-06-16 Stefan Merten <smerten@oekonux.de>
10646
10647 * textmodes/rst.el: Added and corrected some comments.
10648 (rst-re-alist-def): Improve symbol syntax.
10649 (rst-mode-syntax-table): Correct syntax entries.
6665a6fd
SM
10650 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
10651 (rst-official-version, rst-official-cvs-rev): Update version
10652 information.
7ae2ea10 10653
b6974efa
JB
106542012-06-15 Juanma Barranquero <lekktu@gmail.com>
10655
10656 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
10657 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
10658
8826d473
GM
106592012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
10660
10661 * progmodes/python.el: New python.el merge.
10662 (python-guess-indent): Obsolete var.
10663 (python-indent-guess-indent-offset): New defcustom.
10664 (python-indent): Obsolete var.
10665 (python-indent-offset): New defcustom.
10666 (python-python-command, python-jython-command): Delete var.
10667 (python-shell-interpreter): New defcustom.
10668 (python-pdbtrack-do-tracking-p): Delete var.
10669 (python-pdbtrack-activate): New defcustom.
10670 (python-use-skeletons): Obsolete var.
10671 (python-skeleton-autoinsert): New defcustom.
10672 (inferior-python-filter-regexp, python-continuation-offset)
10673 (python-honour-comment-indentation, python-indent-string-contents)
10674 (python-jython-packages, python-mode-hook)
10675 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
10676 (python-shell-prompt-alist)
10677 (python-source-modes): Delete defcustoms.
10678 (python-check-buffer-name, python-eldoc-setup-code)
10679 (python-eldoc-string-code, python-ffap-setup-code)
10680 (python-ffap-string-code, python-fill-comment-function)
10681 (python-fill-decorator-function, python-fill-paren-function)
10682 (python-fill-string-function, python-imenu-include-defun-type)
10683 (python-imenu-make-tree, python-imenu-subtree-root-label)
10684 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
10685 (python-shell-compilation-regexp-alist)
10686 (python-shell-completion-module-string-code)
10687 (python-shell-completion-pdb-string-code)
10688 (python-shell-completion-setup-code)
10689 (python-shell-completion-string-code)
10690 (python-shell-enable-font-lock, python-shell-exec-path)
10691 (python-shell-extra-pythonpaths)
10692 (python-shell-internal-buffer-name, python-shell-interpreter-args)
10693 (python-shell-process-environment)
10694 (python-shell-prompt-block-regexp)
10695 (python-shell-prompt-output-regexp)
10696 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
10697 (python-shell-send-setup-max-wait, python-shell-setup-codes)
10698 (python-shell-virtualenv-path): New defcustoms.
10699 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
10700 (inferior-python-mode-syntax-table, python--prompt-regexp)
10701 (python-buffer, python-command python-python-command)
10702 (python-default-template, python-imports, python-indent-index)
10703 (python-indent-list, python-indent-list-length)
10704 (python-mode-running, python-pdbtrack-is-tracking-p)
10705 (python-preoutput-continuation, python-preoutput-leftover)
10706 (python-preoutput-result, python-preoutput-skip-next-prompt)
10707 (python-prev-dir/file, python-recursing)
10708 (python-saved-check-command, python-version-checked)
10709 (python-which-func-length-limit)
10710 (view-return-to-alist): Delete vars.
10711 (python-check-custom-command, python-dotty-syntax-table)
10712 (python-imenu-index-alist, python-indent-current-level)
10713 (python-indent-dedenters, python-indent-levels)
10714 (python-nav-beginning-of-defun-regexp)
10715 (python-nav-list-defun-positions-cache)
10716 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
10717 (python-shell-internal-buffer)
10718 (python-skeleton-available): New vars.
10719 (def-python-skeleton): Delete macro.
10720 (python-skeleton-define): New macro.
10721 (python-define-auxiliary-skeleton, python-rx): New macros.
10722 (python-insert-class): Delete command.
10723 (python-skeleton-class): New command.
10724 (python-insert-def): Delete command.
10725 (python-skeleton-def): New command.
10726 (python-insert-for): Delete command.
10727 (python-skeleton-for): New command.
10728 (python-insert-if): Delete command.
10729 (python-skeleton-if): New command.
10730 (python-insert-try/except, python-insert-try/finally): Delete commands.
10731 (python-skeleton-try): New command.
10732 (python-insert-while): Delete command.
10733 (python-skeleton-while): New command.
10734 (python-backspace): Delete command.
10735 (python-indent-dedent-line-backspace): New command.
10736 (python-electric-colon): Delete command.
10737 (python-indent-electric-colon): New command.
10738 (python-guess-indent): Delete command.
10739 (python-indent-guess-indent-offset): New command.
10740 (python-shift-left): Delete command.
10741 (python-indent-shift-left): New command.
10742 (python-shift-right): Delete command.
10743 (python-indent-shift-right): New command.
10744 (python-find-function): Delete command.
10745 (python-nav-jump-to-defun): New command.
10746 (python-next-statement): Delete command.
10747 (python-nav-forward-sentence): New command.
10748 (python-previous-statement): Delete command.
10749 (python-nav-backward-sentence): New command.
10750 (python-fill-paragraph): Delete command.
10751 (python-fill-paragraph-function): New command.
10752 (python-send-buffer): Delete command.
10753 (python-shell-send-buffer): New command.
10754 (python-send-defun): Delete command.
10755 (python-shell-send-defun): New command.
10756 (python-send-region, python-send-region-and-go): Delete commands.
10757 (python-shell-send-region)
10758 (python-shell-switch-to-shell): New commands.
10759 (python-send-string): Delete command.
10760 (python-shell-send-string): New command.
10761 (python-switch-to-python): Delete command.
10762 (python-shell-switch-to-shell): New command.
10763 (python-describe-symbol): Delete command.
10764 (python-eldoc-at-point): New command.
10765 (python--set-prompt-regexp, python-args-to-list)
10766 (python-after-info-look, python-check-version)
10767 (python-check-comint-prompt, python-find-imports)
10768 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
10769 (python-unload-function, python-expand-template)
10770 (python-maybe-jython, python-preoutput-filter)
10771 (python-pdbtrack-get-source-buffer)
10772 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
10773 (python-pdbtrack-toggle-stack-tracking)
10774 (python-pdbtrack-track-stack-file, python-initial-text)
10775 (python-first-word, python-comment-line-p, python-send-command)
10776 (python-setup-brm, python-sentinel, python-set-proc)
10777 (python-skip-out, python-input-filter, python-outdent-p)
10778 (python-outline-level, python-backslash-continuation-line-p)
10779 (python-end-of-block, python-end-of-statement, python-mark-block)
10780 (python-beginning-of-block, python-beginning-of-statement)
10781 (python-blank-line-p, python-beginning-of-string)
10782 (python-open-block-statement-p): Delete functions.
10783 (python-indent-line, python-indent-line-1): Delete functions.
10784 (python-indent-line): New function.
10785 (python-indentation-levels): Delete function.
10786 (python-indent-calculate-levels): New function.
10787 (python-proc): Delete function.
10788 (python-shell-get-process): New function.
10789 (python-send-receive): Delete function.
10790 (python-shell-send-string-no-output): New function.
10791 (python-module-path): Delete function.
10792 (python-ffap-module-path): New function.
10793 (python-completion-at-point)
10794 (python-symbol-completions): Delete functions.
10795 (python-completion-complete-at-point): New function.
10796 (python-load-file): Delete function.
10797 (python-shell-send-file): New function.
10798 (python-calculate-indentation): Delete function.
10799 (python-indent-calculate-indentation): New function.
10800 (python-skip-comments/blanks): Delete function.
10801 (python-util-forward-comment): New function.
10802 (python-continuation-line-p): Delete function.
10803 (python-info-continuation-line-p): New function.
10804 (python-which-func, python-current-defun): Delete function.
10805 (python-info-current-defun): New function.
10806 (python-beginning-of-defun): Delete function.
10807 (python-nav-beginning-of-defun): New function.
10808 (python-close-block-statement-p)
10809 (python-block-end-p): Delete function.
10810 (python-info-closing-block): New function.
10811 (python-comint-output-filter-function)
10812 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
10813 (python-fill-comment, python-fill-decorator, python-fill-paren)
10814 (python-fill-string, python-imenu-make-element-tree)
10815 (python-imenu-make-tree, python-imenu-tree-assoc)
10816 (python-indent-context, python-indent-dedent-line)
10817 (python-indent-line-function)
10818 (python-indent-post-self-insert-function)
10819 (python-indent-toggle-levels)
10820 (python-info-assignment-continuation-line-p)
10821 (python-info-beginning-of-backlash)
10822 (python-info-block-continuation-line-p)
10823 (python-info-closing-block-message)
10824 (python-info-line-ends-backslash-p)
10825 (python-info-looking-at-beginning-of-defun)
10826 (python-info-ppss-context, python-info-ppss-context-type)
10827 (python-nav-list-defun-positions, python-nav-read-defun)
10828 (python-nav-sentence-end, python-nav-sentence-start)
10829 (python-pdbtrack-comint-output-filter-function)
10830 (python-pdbtrack-set-tracked-buffer)
10831 (python-shell-calculate-exec-path)
10832 (python-shell-calculate-process-environment)
10833 (python-shell-completion--do-completion-at-point)
10834 (python-shell-completion--get-completions)
10835 (python-shell-completion-complete-at-point)
10836 (python-shell-completion-complete-or-indent)
10837 (python-shell-get-or-create-process)
10838 (python-shell-get-process-name)
10839 (python-shell-internal-get-or-create-process)
10840 (python-shell-internal-get-process-name)
10841 (python-shell-internal-send-string, python-shell-make-comint)
10842 (python-shell-parse-command, python-shell-send-setup-code)
10843 (python-skeleton-add-menu-items)
10844 (python-util-clone-local-variables, python-util-position)
10845 (run-python-internal, python-indentation-levels)
10846 (python-nav-beginning-of-defun)
10847 (python-completion-complete-at-point): New functions.
10848 (run-python): Change arguments. New API requirements.
10849
4302f5ba
SM
108502012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
10851
f38ea36d
SM
10852 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
10853 (bug#11649).
10854
10855 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
10856 (macroexp--expand-all): Use it.
10857
4302f5ba
SM
10858 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
10859 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
10860 Use `cl-function' instead.
10861
33377562
JB
108622012-06-14 Juanma Barranquero <lekktu@gmail.com>
10863
10864 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
10865 Suggested by Stefan Monnier while discussing bug#11657.
10866
54c5ba1a
SS
108672012-06-14 Sam Steingold <sds@gnu.org>
10868
10869 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
10870
f9f1b1fe
AS
108712012-06-14 Andreas Schwab <schwab@linux-m68k.org>
10872
10873 * play/doctor.el (doctor-doc): Remove parameter and use
10874 doctor-sent instead of sent.
10875 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
10876
a81068ba
SM
108772012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
10878
5a315f9c
SM
10879 * files.el: Require cl-lib.
10880 (file-name-non-special): Replace case -> cl-case.
10881
10882 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
10883
a81068ba
SM
10884 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
10885 mapping from #' to function*.
10886
8cca9703
CY
108872012-06-13 Chong Yidong <cyd@gnu.org>
10888
10889 * mouse.el (mouse-drag-track): Do not set the mark if the user
10890 releases the mouse without selecting anything (Bug#11588).
10891
a12ac9d7
SM
108922012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
10893
ccf1dc18
SM
10894 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
10895 as well (bug#11646).
10896
ef62b23d
SM
10897 * loadup.el: Count byte-code functions as well.
10898
c4c8444a
SM
10899 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
10900 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
10901
a12ac9d7
SM
10902 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
10903 (bug#11649). Add cl-defun and cl-defmacro.
10904
87e6e64f
DA
109052012-06-13 Drew Adams <drew.adams@oracle.com>
10906
10907 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
10908 Fix last change.
10909
682cefaf
MA
109102012-06-13 Michael Albinus <michael.albinus@gmx.de>
10911
10912 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
10913 Otherwise, it blocks in batch mode.
10914
773e1f08
JB
109152012-06-13 Juanma Barranquero <lekktu@gmail.com>
10916
10917 * help-mode.el (bookmark-make-record-default): Declare.
10918
60057926
CY
109192012-06-13 Chong Yidong <cyd@gnu.org>
10920
10921 * emacs-lisp/package.el (list-packages): Compute a list of
10922 packages that are newly-available since the last list-packages
10923 invocation.
10924 (package-menu--new-package-list): New var.
10925 (package-menu--generate, package-menu--print-info)
10926 (package-menu--status-predicate, package-menu-mark-install):
10927 Handle new status label "new".
10928
ad4d226c
SM
109292012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
10930
10931 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
10932 conversion to backquotes.
10933
f1a4e679
CY
109342012-06-12 Chong Yidong <cyd@gnu.org>
10935
10936 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
10937 Rename from gud-inhibit-global-bindings.
10938
10939 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
10940
10941 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
10942 hook from nxml-glyph-set-hook.
10943
10944 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
10945 declaration.
10946
10947 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
10948
10949 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
10950 Convert to defcustom.
10951
0c9e42b5
DA
109522012-06-12 Drew Adams <drew.adams@oracle.com>
10953
10954 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
10955 New functions.
10956 (help-mode): Use them.
10957
09e06855
GM
109582012-06-11 Glenn Morris <rgm@gnu.org>
10959
10960 * progmodes/fortran.el (fortran-font-lock-keywords-3):
10961 Use preprocessor face for directives.
10962 (fortran-directive-re): Doc fix.
10963
71adb94b
SM
109642012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
10965
2eb87922
SM
10966 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
10967 conversion to backquotes (bug#11652).
10968
71adb94b
SM
10969 Fix compiler-expansion of CL's cXXr functions (bug#11673).
10970 * emacs-lisp/cl-lib.el (cl--defalias): New function.
10971 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
10972 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
10973 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
10974 (cl-ninth, cl-tenth): Mark them as inlinable.
10975 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
10976 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
10977 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
10978 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
10979 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
10980 (cl-list*, cl-adjoin): Don't put an autoload manually.
10981 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
10982 (cl--compiler-macro-list*): Add autoload cookie.
10983 (cl--compiler-macro-cXXr): New function.
2eb87922 10984
71adb94b
SM
10985 * help-fns.el (help-fns--compiler-macro): New function extracted from
10986 describe-function-1; follow aliases and use `compiler-macro' property.
10987 (describe-function-1): Use it.
10988
a6674402
CY
109892012-06-11 Chong Yidong <cyd@gnu.org>
10990
10991 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
10992 is uninstalled, if imagemagick is installed.
10993
bb3faf5b
SM
109942012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
10995
10996 * emacs-lisp/cl-lib.el: Use lexical-binding.
10997 (cl-map-extents, cl-maclisp-member): Remove.
10998 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
10999 (cl--set-substring, cl--block-wrapper, cl--block-throw)
11000 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
11001 * emacs-lisp/cl-extra.el: Use lexical-binding.
11002 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
11003 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
11004 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
11005 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
11006 * emacs-lisp/cl-seq.el: Use lexical-binding.
11007 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
11008 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
11009 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
11010 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
11011 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
11012 CL's internals.
11013
2fe4b125
MA
110142012-06-11 Michael Albinus <michael.albinus@gmx.de>
11015
11016 Sync with Tramp 2.2.6-pre.
11017
11018 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
11019 `print-length' and `print-level' to nil, in order to avoid
11020 truncation. Reported by Christopher Schmidt
11021 <christopher@ristopher.com>.
11022
11023 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
11024
11025 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
11026 New defmacro.
11027 (tramp-compat-copy-directory): Add optional argument
11028 COPY-CONTENTS. It is not handled yet.
11029
11030 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
11031 (tramp-ftp-file-name-p): Simplify.
11032
11033 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
11034 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
11035 connection vector.
11036
11037 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
11038 (tramp-methods): Do not use `tramp-password-end-of-line'.
11039 (tramp-completion-function-alist-putty): Handle UNIX case.
11040 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
11041 (tramp-do-file-attributes-with-stat)
11042 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
11043 gid as real numbers. They could run out of integer range on cygwin.
11044 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
11045 (tramp-sh-handle-expand-file-name): Handle hops.
87e6e64f
DA
11046 (tramp-open-connection-setup-interactive-shell):
11047 Use `tramp-cleanup'. Move check for busyboxes ...
11048 (tramp-find-shell): ... here. Simplify implementation.
11049 Set "remote-shell" property also for alternative shells.
11050 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
11051 If failing, a regular file would be written otherwise.
11052 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
2fe4b125
MA
11053 (tramp-find-inline-encoding): Cache the coding commands in the
11054 process cache. Apply test command on the remote side, if defined.
11055 (tramp-find-inline-compress): Cache the compress commands in the
11056 process cache.
11057 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
11058 when requested. Handle hops.
11059 (tramp-current-connection): New defvar.
87e6e64f
DA
11060 (tramp-maybe-open-connection): Use `tramp-cleanup'.
11061 Throw `suppress', if there was a failed connection shortly before.
2fe4b125 11062 Handle user interrupt. (Bug#10187)
87e6e64f
DA
11063 (tramp-get-inline-compress, tramp-get-inline-coding):
11064 Read connection properties from the process cache.
2fe4b125
MA
11065
11066 * net/tramp-smb.el (tramp-smb-server-version)
87e6e64f
DA
11067 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
11068 New defconsts.
2fe4b125
MA
11069 (tramp-smb-prompt): Extend for powershell prompt.
11070 (tramp-smb-file-name-handler-alist): Add handlers for
11071 `process-file', `shell-command' and `start-file-process'.
11072 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
11073 (tramp-smb-winexe-shell-command-switch): New defcustoms.
11074 (tramp-smb-file-name-p): Simplify.
11075 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
11076 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
11077 (tramp-smb-shell-quote-argument): New defuns.
11078 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
11079 Implement using "tar". By this, time-stamps are preserved.
11080 (tramp-smb-handle-copy-file): Handle also the case of directories.
11081 (tramp-smb-do-file-attributes-with-stat)
87e6e64f
DA
11082 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
11083 Use `tramp-get-connection-buffer').
2fe4b125
MA
11084 (tramp-smb-handle-rename-file): Use "rename", when source and
11085 target are on the same share.
87e6e64f
DA
11086 (tramp-smb-maybe-open-connection): Handle wrong passwords.
11087 Use `tramp-smb-server-version'.
2fe4b125
MA
11088 (tramp-smb-wait-for-output): Remove prompt.
11089
11090 * net/tramp.el (top): Require 'cl.
87e6e64f
DA
11091 (tramp-methods, tramp-rsh-end-of-line):
11092 Remove `tramp-password-end-of-line' from docstring.
2fe4b125
MA
11093 (tramp-save-ad-hoc-proxies): New defcustom.
11094 (tramp-completion-function-alist): Adapt docstring.
11095 (tramp-default-password-end-of-line): Remove defcustom.
11096 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
11097 (tramp-user-regexp, tramp-file-name-regexp-unified)
11098 (tramp-file-name-regexp-url): Extend regexp by hop separator.
11099 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
11100 (tramp-remote-file-name-spec-regexp): New defconst.
11101 (tramp-file-name-structure): Extend structure for hops.
11102 (tramp-get-method-parameter): Move up.
11103 (tramp-file-name-p, tramp-dissect-file-name)
11104 (with-parsed-tramp-file-name): Handle hops.
11105 (tramp-file-name-hop): New defun.
11106 (tramp-make-tramp-file-name): New optional arg HOP.
11107 (tramp-message-show-progress-reporter-message): New defvar.
11108 (tramp-with-progress-reporter): Use it. We cannot use
11109 `tramp-message-show-message' here, because this suppresses also
11110 error buffers.
11111 (tramp-error-with-buffer): Suppress buffer view, if
87e6e64f
DA
11112 `tramp-message-show-message' is nil.
11113 Use `tramp-get-connection-buffer'.
2fe4b125
MA
11114 (tramp-cleanup): New defun.
11115 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
11116 (tramp-file-name-handler): If `debug-on-error' is set, propagate
11117 an error unchanged.
11118 (tramp-completion-handle-file-name-all-completions): Handle hops.
11119 Fix an error when called from ido.
11120 (tramp-completion-dissect-file-name): Use better local variable
11121 name. Add hop to the vector.
11122 (tramp-handle-insert-file-contents): Use progress-reporter for the
11123 whole scenario.
11124 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
11125 to `t'.
11126 (tramp-check-for-regexp): Simplify search.
11127 (tramp-enter-password): Remove it. Move implementation ...
11128 (tramp-action-password): ... here.
11129 (tramp-mode-string-to-int, tramp-local-host-p)
11130 (tramp-make-tramp-temp-file, tramp-read-passwd)
87e6e64f
DA
11131 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
11132 Set tramp-autoload cookie.
2fe4b125
MA
11133
11134 * net/trampver.el: Update release number.
11135
111362012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11137 Michael Albinus <michael.albinus@gmx.de>
11138
11139 * net/tramp.el (tramp-set-completion-function): Fix docstring.
11140 (tramp-parse-group, tramp-parse-file)
11141 (tramp-parse-shostkeys-sknownhosts): New defuns.
11142 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
11143 (tramp-parse-shosts-group, tramp-parse-sconfig)
11144 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
11145 (tramp-parse-sknownhosts, tramp-parse-hosts)
11146 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
11147 Use them.
11148 (tramp-parse-passwd-group, tramp-parse-netrc-group)
11149 (tramp-parse-putty-group): Don't narrow.
11150 (tramp-parse-putty): Make a loop.
11151 (tramp-file-name-handler): Catch the `suppress' signal.
11152
72834e10
CY
111532012-06-11 Chong Yidong <cyd@gnu.org>
11154
11155 * image.el (imagemagick-register-types): Put the ImageMagick entry
11156 at the end of image-type-file-name-regexps.
11157
a4712e11
JB
111582012-06-11 Johan Bockgård <bojohan@gnu.org>
11159
11160 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
11161 (pcase, pcase-let*, pcase-dolist): Use them.
11162
82ad98e3
SM
111632012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
11164
11165 * emacs-lisp/pcase.el (pcase--let*): New function.
11166 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
11167 (pcase--expand): Use macroexp-let².
11168
f80efb86
SM
111692012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
11170
11171 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
11172 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
11173 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
11174 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
11175 * emacs-lisp/derived.el: Use pcase instead of `cl'.
11176 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
11177
31ca4639 111782012-06-10 Glenn Morris <rgm@gnu.org>
94f0aa34 11179
31ca4639
CY
11180 * mail/rmail.el (rmail-yank-current-message): Leave point at
11181 correct position. (Bug#11660)
94f0aa34 11182
31ca4639 111832012-06-10 Chong Yidong <cyd@gnu.org>
9e1b8ec4 11184
31ca4639 11185 * allout-widgets.el: Fix code header.
9e1b8ec4 11186
31ca4639 111872012-06-10 Chong Yidong <cyd@gnu.org>
00cd0305 11188
f80efb86
SM
11189 * cus-edit.el (customize-changed-options-previous-release):
11190 Bump to 24.1.
31ca4639 11191
642b6d30
AS
111922012-06-09 Andreas Schwab <schwab@linux-m68k.org>
11193
11194 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
11195
4f5d2ba1
CY
111962012-06-09 Chong Yidong <cyd@gnu.org>
11197
11198 * ebuff-menu.el (electric-buffer-list): Preserve header line.
11199
e75852fd
MR
112002012-06-09 Martin Rudalics <rudalics@gmx.at>
11201
11202 * window.el (special-display-popup-frame): Don't use
11203 window--display-buffer (Bug#11651).
11204
1e48e282
EZ
112052012-06-09 Eli Zaretskii <eliz@gnu.org>
11206
8a26b487
EZ
11207 Fix parallel builds: make sure loaddefs.el is not being written
11208 while Lisp files are compiled.
11209 (compile): Don't depend on 'mh-autoloads'.
11210 (compile-CMD, compile-SH): Depend on 'autoloads'.
11211 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
11212
1e48e282
EZ
11213 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
11214
6175e34b
CY
112152012-06-09 Chong Yidong <cyd@gnu.org>
11216
11217 * face-remap.el (face-remap-add-relative, face-remap-set-base)
11218 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
11219 Doc fixes (Bug#11225).
11220
d9857e53
SM
112212012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
11222
11223 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
11224 a function if there's a clear indication that it has a compiler-macro.
11225 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
11226 (macro-declarations-alist): Add arglist to declaration functions.
11227 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
11228 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
11229 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
11230 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
11231 Also add autoload to find the compiler macro.
11232 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
11233 (cl--compiler-macro-member, cl--compiler-macro-assoc)
11234 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
11235 (cl--compiler-macro-get): New functions, replacing calls to
11236 cl-define-compiler-macro.
11237 (cl-typep) [compiler-macro]: Use macroexp-let².
11238
f81298f8 112392012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
ee574791
UJ
11240
11241 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
11242 string properly, fixes Bug#11473.
11243
4b56d0fe
CY
112442012-06-08 Chong Yidong <cyd@gnu.org>
11245
11246 * faces.el (set-face-attribute): Doc fix.
11247 (modify-face): Don't use :bold and :italic.
11248 (error, warning, success): Tweak definitions.
11249
11250 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
11251 (custom-modified, custom-set, custom-changed, custom-themed)
11252 (custom-saved, custom-button, custom-button-mouse)
11253 (custom-button-pressed, custom-state, custom-comment-tag)
11254 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
11255 (custom-group-subtitle): Use new-style face specs.
11256 (custom-invalid-face, custom-rogue-face, custom-modified-face)
11257 (custom-set-face, custom-changed-face, custom-saved-face)
11258 (custom-button-face, custom-button-pressed-face)
11259 (custom-documentation-face, custom-state-face)
11260 (custom-comment-face, custom-comment-tag-face)
11261 (custom-variable-tag-face, custom-variable-button-face)
11262 (custom-face-tag-face, custom-group-tag-face-1)
11263 (custom-group-tag-face): Remove obsolete face alias.
11264
11265 * epa.el (epa-validity-high, epa-validity-medium)
11266 (epa-validity-low, epa-mark, epa-field-name, epa-string)
11267 (epa-field-name, epa-field-body):
11268 * font-lock.el (font-lock-comment-face, font-lock-string-face)
11269 (font-lock-keyword-face, font-lock-builtin-face)
11270 (font-lock-function-name-face, font-lock-variable-name-face)
11271 (font-lock-type-face, font-lock-constant-face):
11272 * ido.el (ido-first-match, ido-only-match, ido-subdir)
11273 (ido-virtual, ido-indicator, ido-incomplete-regexp):
11274 * speedbar.el (speedbar-button-face, speedbar-file-face)
11275 (speedbar-directory-face, speedbar-tag-face)
11276 (speedbar-selected-face, speedbar-highlight-face)
11277 (speedbar-separator-face):
11278 * whitespace.el (whitespace-newline, whitespace-space)
11279 (whitespace-hspace, whitespace-tab, whitespace-trailing)
11280 (whitespace-line, whitespace-space-before-tab)
11281 (whitespace-space-after-tab, whitespace-indentation)
11282 (whitespace-empty):
11283 * emulation/cua-base.el (cua-global-mark):
11284 * eshell/em-prompt.el (eshell-prompt):
11285 * net/newst-plainview.el (newsticker-new-item-face)
11286 (newsticker-old-item-face, newsticker-immortal-item-face)
11287 (newsticker-obsolete-item-face, newsticker-date-face)
11288 (newsticker-statistics-face, newsticker-default-face):
11289 * net/newst-reader.el (newsticker-feed-face)
11290 (newsticker-extra-face, newsticker-enclosure-face):
11291 * net/newst-treeview.el (newsticker-treeview-face)
11292 (newsticker-treeview-new-face, newsticker-treeview-old-face)
11293 (newsticker-treeview-immortal-face)
11294 (newsticker-treeview-obsolete-face)
11295 (newsticker-treeview-selection-face):
11296 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
11297 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
11298 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
11299 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
11300 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
11301 (nxml-outline-active-indicator, nxml-outline-ellipsis):
11302 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
11303 (mpuz-text):
11304 * progmodes/vera-mode.el (vera-font-lock-number)
11305 (vera-font-lock-function, vera-font-lock-interface):
11306 * textmodes/table.el (table-cell): Use new-style face specs, and
11307 don't use the old :bold and :italic attributes.
11308
11309 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
11310 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
11311 (ebrowse-member-class, ebrowse-progress): Likewise.
11312 (ebrowse-tree-mark-face, ebrowse-root-class-face)
11313 (ebrowse-file-name-face, ebrowse-default-face)
11314 (ebrowse-member-attribute-face, ebrowse-member-class-face)
11315 (ebrowse-progress-face): Remove obsolete faces.
11316
11317 * progmodes/flymake.el (flymake-errline, flymake-warnline):
11318 Inherit from error and warning faces respectively.
11319
11320 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
11321 Likewise.
f80efb86
SM
11322 (flyspell-incorrect-face, flyspell-duplicate-face):
11323 Remove obsolete aliases.
4b56d0fe 11324
03310646
MA
113252012-06-08 Michael Albinus <michael.albinus@gmx.de>
11326
11327 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
11328 Avoid infloop.
11329
513749ee
SM
113302012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
11331
11332 * startup.el (argv, argi): Make lexically scoped.
11333 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
11334 * emacs-lisp/cl-macs.el: Use lexical-binding.
11335 Rename cl-bind-* to cl--bind-*.
11336 * files.el: Don't require `cl' since it doesn't use it.
11337 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
11338
595ef4ad
JB
113392012-06-08 Juanma Barranquero <lekktu@gmail.com>
11340
11341 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
11342 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
11343 instead of calling external sort utility.
11344 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
11345
e9f66fcb
EZ
113462012-06-08 Eli Zaretskii <eliz@gnu.org>
11347
11348 * descr-text.el (describe-char): Mention how to insert the
11349 character, if the current input method doesn't support it.
11350 See the discussion in this thread for the details:
11351 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
11352
3d10db47
SS
113532012-06-08 Sam Steingold <sds@gnu.org>
11354
11355 * bindings.el (global-map): Bind XF86Forward to next-buffer and
11356 XF86Back to previous-buffer.
11357 (minibuffer-local-map): Bind them to next-history-element and
11358 previous-history-element respectively.
11359 * help-mode.el (help-mode-map): Bind them to help-go-forward and
11360 help-go-back respectively.
11361 * info.el (Info-mode-map): Bind them to Info-history-forward and
11362 Info-history-back respectively.
11363 These are the keys next to Up on the ThinkPad keyboard.
11364
de7e2b36
SM
113652012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
11366
11367 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
11368 * emacs-lisp/cl-macs.el: Provide itself.
11369 (cl--labels-convert-cache): New var.
11370 (cl--labels-convert): New function.
11371 (cl-flet, cl-labels): New implementation with new semantics, relying on
11372 lexical-binding.
11373 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
11374 (cl-closure-vars, cl--function-convert-cache)
11375 (cl--function-convert): Move from cl-macs.el.
11376 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
11377 rename by removing the "cl-" prefix.
11378 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
11379
6fa6c4ae
SM
113802012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
11381
11382 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
11383 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
11384 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
11385 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
11386 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
11387 (cl-hash-table-count): Add old compatibility aliases.
11388
11389 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
11390 Use macroexpand-all-environment instead.
11391 (cl--old-macroexpand): New var.
11392 (cl--sm-macroexpand): New function.
11393 (cl-symbol-macrolet): Use it during macro expansion.
11394 (cl--function-convert-cache): New var.
11395 (cl--function-convert): New function, extracted from
11396 cl-macroexpand-all.
11397 (cl-lexical-let): Use it.
11398
11399 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
11400 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
11401 (cl-member): Remove old alias.
11402
11403 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
11404 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
11405 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
11406 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
11407 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
11408 (cl-macroexpand-cmacs): Remove var.
11409 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
11410 Use macroexpand-all instead.
11411
4dd1c416
SM
114122012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
11413
11414 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
11415 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
11416 (macroexp-copyable-p): New functions and macros.
11417 * emacs-lisp/edebug.el (edebug-unwrap):
11418 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
11419 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
11420 (pcase--let*): Remove.
11421 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
11422 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
11423 macroexp-const-p instead.
11424 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
11425
11426 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
11427 instead of "cl-" for internal definitions. Use macroexp-const-p.
11428 (cl-old-bc-file-form): Remove var.
11429 (cl-const-exprs-p): Remove fun.
11430 (cl-labels, cl-macrolet): Use backquote.
11431 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
11432 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
11433 (cl-define-setf-expander): Rename from cl-define-setf-method.
11434 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
11435
11436 * international/mule-cmds.el: Don't require CL.
11437 (view-hello-file): Don't use `letf'.
11438
ed8bd4d7
SM
114392012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
11440
7287f2f3
SM
11441 * tmm.el (tmm-prompt): Use string-prefix-p.
11442 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
11443 (tmm-add-prompt): Use minibuffer-completion-help.
11444 (tmm-delete-map): Remove.
11445
ed8bd4d7
SM
11446 * subr.el (kbd): Make it its own function.
11447
7b4cdbf4
SM
114482012-06-07 Stefan Merten <smerten@oekonux.de>
11449
11450 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
11451 Silence compiler warnings. Fix versions.
ed8bd4d7 11452 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
7b4cdbf4 11453 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
ed8bd4d7 11454 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
7b4cdbf4
SM
11455 (rst-package-emacs-version-alist): Correct Emacs version to
11456 represent major merge with upstream.
ed8bd4d7 11457 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
7b4cdbf4 11458
2b48d721
GM
114592012-06-06 Glenn Morris <rgm@gnu.org>
11460
11461 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
11462 Only print environment variables if set.
11463
fa779ab0
SM
114642012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
11465
11466 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
11467 (macroexp--cons): Rename from maybe-cons.
11468 (macroexp--accumulate): Rename from macroexp-accumulate.
11469 (macroexp--all-forms): Rename from macroexpand-all-forms.
11470 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
11471 (macroexp--expand-all): Rename from macroexpand-all-1.
11472
628299e0
SS
114732012-06-06 Sam Steingold <sds@gnu.org>
11474
11475 * calendar/calendar.el (calendar-in-read-only-buffer):
11476 Call `special-mode' to enable the standard read-only keybindings.
11477
b7bb5838
SM
114782012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
11479
11480 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
11481 with "loading" messages (bug#11635).
11482
dfb308ba
MA
114832012-06-06 Michael Albinus <michael.albinus@gmx.de>
11484
11485 * files.el (enable-remote-dir-locals): New option.
11486 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
11487
0372ee92
MA
11488 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
11489 Ensure, that the temp directory is local.
11490
11491 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
11492 `temporary-file-directory'.
11493
eed0bb91
MA
11494 * progmodes/python.el (python-send-region): Ensure, that the
11495 temporary file is created also in the remote case.
11496
7a58f64d
GM
114972012-06-06 Glenn Morris <rgm@gnu.org>
11498
f7dd4e98
GM
11499 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
11500 (vc-rcs-update-changelog): Use it.
11501
090bd7cb 11502 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
276d5f5d 11503
7a58f64d
GM
11504 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
11505 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
11506 (vc-sccs-diff): Replace use of the external vcdiff script.
11507
daed4003
GM
115082012-06-05 Glenn Morris <rgm@gnu.org>
11509
11510 * ledit.el: Move to obsolete/.
11511
48c455c7
SS
115122012-06-05 Sam Steingold <sds@gnu.org>
11513
ed9265fc 11514 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
48c455c7
SS
11515 patch (Bug#11140).
11516
57a7d507
SM
115172012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
11518
090bd7cb 11519 * emacs-lisp/cust-print.el: Move to obsolete.
d32926ff 11520
53aacf21
SM
11521 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
11522 compiler-macro expansion.
11523
57a7d507
SM
11524 Add native compiler-macro support.
11525 * emacs-lisp/macroexp.el (macroexpand-all-1):
11526 Support compiler-macros directly. Properly follow aliases and apply
11527 the compiler macros more thoroughly.
11528 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
11529 macroexpand now properly follows aliases.
11530 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
11531 (cl-compiler-macroexpand): Use new prop.
11532 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
11533
11534 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
11535
51a5f9d8
MR
115362012-06-05 Martin Rudalics <rudalics@gmx.at>
11537
11538 * window.el (get-lru-window, get-mru-window, get-largest-window):
11539 New argument NOT-SELECTED to avoid picking the selected window.
11540 (window--display-buffer-1, window--display-buffer-2): Replace by
11541 new function window--display-buffer
11542 (display-buffer-same-window, display-buffer-reuse-window)
57a7d507
SM
11543 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
11544 Use window--display-buffer.
51a5f9d8
MR
11545 (display-buffer-use-some-window): Remove temporary dedication
11546 hack by calling get-lru-window and get-largest-window with
11547 NOT-SELECTED argument non-nil. Call window--display-buffer.
11548
08f9f738
GM
115492012-06-05 Glenn Morris <rgm@gnu.org>
11550
11551 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
11552 Replace external vcdiff script.
11553
e364a2b7
SM
115542012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
11555
11556 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
11557
041df390
CY
115582012-06-04 Chong Yidong <cyd@gnu.org>
11559
e364a2b7
SM
11560 * image.el (imagemagick-types-inhibit): Revert last change.
11561 Add INFO and M.
47b36b94 11562 (imagemagick-enabled-types): Remove CIN and EPS*.
041df390 11563
7c1898a7
SM
115642012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
11565
11566 * emacs-lisp/cl-lib.el: Rename from cl.el.
11567 * emacs-lisp/cl.el: New compatibility file.
11568 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
11569 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
11570 to obey the "cl-" prefix.
11571 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
11572
0c3461de
GM
115732012-06-03 Glenn Morris <rgm@gnu.org>
11574
1e266c88
GM
11575 * emacs-lisp/authors.el (authors-aliases): Addition.
11576
0c3461de
GM
11577 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
11578 Fix :version.
11579
d8a52e15
SM
115802012-06-03 Stefan Merten <smerten@oekonux.de>
11581
11582 * textmodes/rst.el: Add comments.
11583 (rst-transition, rst-adornment): New faces.
11584 (rst-adornment-faces-alist): Make default safe to reevaluate.
11585 Fixes
11586 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
11587 Improve customization tags.
11588 (rst-define-level-faces): Clarify meaning.
11589
5205d6f6
CY
115902012-06-03 Chong Yidong <cyd@gnu.org>
11591
11592 * progmodes/compile.el (compilation-mode-line-fail)
7c1898a7
SM
11593 (compilation-mode-line-run, compilation-mode-line-exit):
11594 New faces.
5205d6f6
CY
11595 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
11596
757ee657
JD
115972012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
11598
7c1898a7
SM
11599 * progmodes/which-func.el (which-func-update-ediff-windows):
11600 New function. Use it in ediff-select-hook (Bug#11478).
757ee657 11601
5f2c76c6
CY
116022012-06-03 Chong Yidong <cyd@gnu.org>
11603
11604 * bindings.el: Remove explicit help text from format-mode-line.
11605 It is now supplied by mode-line-default-help-echo.
11606 (mode-line-front-space, mode-line-end-spaces)
11607 (mode-line-misc-info): New variables.
11608 (mode-line-modes, mode-line-position): Move the default value to
11609 the variable definition.
11610 (mode-line-default-help-echo): New defcustom.
383f7350
CY
11611 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
11612 (mode-line-modified-help-echo): New functions.
11613 (mode-line-mule-info, mode-line-modified): Use them.
11614 (mode-line-eol-desc, propertized-buffer-identification):
11615 Consistency fixes for help text.
cbe46e5f
CY
11616 (mode-line-coding-system-map): Allow using mouse-3 to invoke
11617 set-buffer-file-coding-system (Bug#289).
11618 (mode-line-mule-info-help-echo): Update help text.
5f2c76c6 11619
f2d6a3df
SM
116202012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
11621
11622 * simple.el (execute-extended-command): Set real-this-command
11623 (bug#11506).
11624
37269466
CY
116252012-06-02 Chong Yidong <cyd@gnu.org>
11626
11627 Remove incorrect uses of "modeline" in comments, docstrings, and
11628 function/variable names (Bug#10329).
11629
11630 * cus-edit.el (mode-line):
11631 * dframe.el (dframe-mouse-hscroll):
11632 * emacs-lisp/re-builder.el:
11633 * emacs-lisp/easy-mmode.el (define-minor-mode):
11634 * frame.el (set-frame-name):
11635 * help.el (lookup-minor-mode-from-indicator):
11636 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
11637 * progmodes/cc-cmds.el (c-toggle-auto-newline)
11638 (c-toggle-hungry-state):
11639 * progmodes/antlr-mode.el (antlr-language-alist):
11640 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
11641 * progmodes/vhdl-mode.el (vhdl-mode):
11642 * progmodes/which-func.el (which-func, which-func-cleanup-function):
11643 * term/ns-win.el (ns-face-at-pos):
11644 * term/sup-mouse.el (sup-mouse-report):
11645 * textmodes/flyspell.el (flyspell-mode-line-string):
11646 * textmodes/ispell.el (ispell-highlight-face):
11647 * textmodes/reftex-global.el:
11648 * vc/vc-arch.el (vc-arch-mode-line-string):
11649 * vc/vc-cvs.el (vc-cvs-mode-line-string):
11650 * vc/vc-git.el (vc-git-mode-line-string):
11651 * vc/vc-hooks.el (vc-display-status)
11652 (vc-default-mode-line-string):
11653 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
11654
11655 * ansi-color.el (ansi-color-faces-vector): Change default faces.
11656
11657 * dired.el (dired-sort-set-mode-line): Rename from
11658 dired-sort-set-modeline. All callers changed.
11659
11660 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
11661 eshell-status-in-modeline.
11662
11663 * foldout.el (foldout-mode-line-string): Rename from
11664 foldout-modeline-string. All callers changed.
11665 (foldout-update-mode-line): Rename from foldout-update-modeline.
11666
11667 * subr.el (redraw-modeline): Make into obsolete alias.
11668
11669 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
11670 timeclock-modeline-display. Make old name an alias.
11671 (timeclock-update-mode-line): Likewise. All callers changed.
11672 (timeclock-mode-line-display): No need to check before using
11673 add-hook.
11674 (timeclock-relative, timeclock-day-over-hook)
11675 (timeclock-use-elapsed, timeclock-mode-string)
11676 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
11677
11678 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
11679 crisp-mode-modeline-string.
11680
11681 * play/solitaire.el (solitaire-build-mode-line): Rename from
11682 solitaire-build-modeline. All callers changed.
11683
11684 * play/zone.el (zone-hiding-mode-line): Rename from
11685 zone-hiding-modeline. All callers changed.
11686 (zone): Remove unusued `modeline-hidden-level' property.
11687
11688 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
11689 xscheme-modeline-initialize. All callers changed.
11690
11691 * strokes.el (strokes-lighter): Rename from
11692 strokes-modeline-string.
11693
11694 * textmodes/sgml-mode.el (html-face-tag-alist)
11695 (html-tag-face-alist): Use mode-line face instead of obsolete
11696 alias modeline.
11697
42152ee4
SM
116982012-06-02 Stefan Merten <smerten@oekonux.de>
11699
11700 * textmodes/rst.el: Always require `cl'.
4cf9b38d 11701 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
42152ee4 11702
95f520b5
CY
117032012-06-02 Chong Yidong <cyd@gnu.org>
11704
11705 * image.el (imagemagick-enabled-types): Rename from
11706 imagemagick-types-enable. Add many more types.
11707 (imagemagick-types-inhibit): Change default to nil.
11708 (imagemagick-filter-types): Caller changed.
11709
4a5f187a
SM
117102012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
11711
03fef3e6
SM
11712 * emacs-lisp/cl-macs.el: Use backquotes.
11713 (cl-transform-function-property): Use eval-and-compile rather than
11714 abusing `require'.
11715 (defstruct): Use declare-function instead of with-no-warnings.
11716
4a5f187a
SM
11717 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
11718 (byte-compile-output-docform): Re-add the print-circle bindings.
11719 (byte-compile-fix-header): Use #$ just because it's shorter.
11720 (byte-compile-output-file-form): Remove defun/defmacro.
11721
bd56924f
MR
117222012-06-01 Martin Rudalics <rudalics@gmx.at>
11723
11724 * simple.el (choose-completion): Remove now obsolete binding for
11725 owindow.
11726
046e38ce
MA
117272012-06-01 Michael Albinus <michael.albinus@gmx.de>
11728
11729 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
11730 in order to avoid "Stack overflow in regexp matcher".
11731
32d72c2f
GM
117322012-05-31 Glenn Morris <rgm@gnu.org>
11733
11734 * image.el: For clarity, call imagemagick-register-types at
11735 top-level, rather than relying on a custom :initialize.
11736 (imagemagick-types-enable): New option. (Bug#11557)
60b5f187
GM
11737 (imagemagick-filter-types): New function. (Bug#7406)
11738 (imagemagick-register-types): Use imagemagick-filter-types.
32d72c2f
GM
11739 If disabling support, remove elements altogether rather
11740 than using an impossible regexp.
11741 (imagemagick-types-inhibit): Give it the default init function.
11742
dd41169b
SM
117432012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
11744
4a5f187a
SM
11745 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
11746 Handle arbitrary file name lengths (Bug#11585).
dd41169b 11747
efc00ab1 117482012-05-31 Martin Rudalics <rudalics@gmx.at>
5221ccb9
MR
11749
11750 * desktop.el (desktop-read): Clear previous and next buffers for
11751 all windows and bury *Messages* buffer (bug#11556).
11752
500fcedc
SM
117532012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
11754
11755 Add `declare' for `defun'. Align `defmacro's with it.
11756 * emacs-lisp/easy-mmode.el (define-minor-mode)
11757 (define-globalized-minor-mode): Don't autoload the var definitions.
11758 * emacs-lisp/byte-run.el: Use lexical-binding.
11759 (defun-declarations-alist, macro-declarations-alist): New vars.
11760 (defmacro, defun): Use them.
11761 (make-obsolete, define-obsolete-function-alias)
11762 (make-obsolete-variable, define-obsolete-variable-alias):
11763 Use `declare'.
11764 (macro-declaration-function): Mark obsolete.
11765 * emacs-lisp/autoload.el: Use lexical-binding.
11766 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
11767
6e8a1786
AM
117682012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11769
11770 * textmodes/ispell.el (ispell-with-no-warnings):
11771 Define as a macro.
500fcedc
SM
11772 (ispell-kill-ispell, ispell-change-dictionary):
11773 Use `called-interactively-p' for Emacs instead of obsolete
6e8a1786
AM
11774 `interactive-p'.
11775
61b108cc
SM
117762012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
11777
11778 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
11779 (macro-declaration-function): Move var from C code.
11780 (macro-declaration-function): Define function with defalias.
11781 * emacs-lisp/macroexp.el (macroexpand-all-1):
11782 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
11783 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
11784 defun/defmacro any more.
11785 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
11786 Provide fallback for unknown arglist.
11787 (byte-compile-arglist-warn): Change calling convention.
11788 (byte-compile-output-file-form): Move print-vars binding.
11789 (byte-compile-output-docform): Simplify accordingly.
11790 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
11791 (byte-compile-defmacro-declaration): Remove.
11792 (byte-compile-file-form-defmumble): Generalize to defalias.
11793 (byte-compile-output-as-comment): Return byte-positions.
11794 Simplify callers accordingly.
11795 (byte-compile-lambda): Use `assert'.
11796 (byte-compile-defun, byte-compile-defmacro): Remove.
11797 (byte-compile-file-form-defalias):
11798 Use byte-compile-file-form-defmumble.
11799 (byte-compile-defalias-warn): Remove.
11800
6d3f7c2f
SM
118012012-05-29 Stefan Merten <smerten@oekonux.de>
11802
11803 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
61b108cc 11804 possible. Fix authors. Improve comments. Improve loading of `cl'.
6d3f7c2f
SM
11805
11806 (rst-mode-abbrev-table): Merge definition.
11807 (rst-mode): Make sure `font-lock-defaults' is buffer local.
11808 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
11809
6dbaa1c7
UJ
118102012-05-29 Ulf Jasper <ulf.jasper@web.de>
11811
11812 * calendar/icalendar.el
11813 (icalendar-export-region): Export UID properly.
11814
d209e2fb 118152012-05-29 Leo Liu <sdl.web@gmail.com>
61b108cc
SM
11816 * calendar/icalendar.el (icalendar-import-format):
11817 Add `icalendar-import-format-uid' (Bug#11525).
6dbaa1c7
UJ
11818 (icalendar-import-format-uid): New.
11819 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
11820 Export UID.
11821
6876a58d
SM
118222012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
11823
11824 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
11825 different alternative patterns.
11826 (pcase-codegen): Be more careful to preserve identity.
11827 (pcase--u1): Don't forget to mark vars as used.
11828
11829 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
11830 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
11831 (byte-compile-from-buffer): ...rather than here.
11832
11833 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
11834 functions from byte-compile-function-environment.
11835
46b7967e
TN
118362012-05-29 Troels Nielsen <bn.troels@gmail.com>
11837
11838 * window.el (window-deletable-p): Avoid deleting the root window
11839 of a frame with an active minibuffer.
11840
69d565e2
MR
118412012-05-29 Martin Rudalics <rudalics@gmx.at>
11842
11843 * simple.el (choose-completion): Use quit-window (Bug#11567).
11844
a149fa51
CY
118452012-05-29 Chong Yidong <cyd@gnu.org>
11846
11847 * whitespace.el (whitespace-cleanup): Fix usage of
11848 whitespace-empty-at-bob-regexp (Bug#11492).
11849
2b311310
AH
118502012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
11851
11852 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
11853 revert (Bug#11488).
11854
b9cb2387
JL
118552012-05-29 Juri Linkov <juri@jurta.org>
11856
11857 * isearch.el (isearch-mode-map): Bind `M-s _' to
11858 `isearch-toggle-symbol'. Bind `M-s c' to
11859 `isearch-toggle-case-fold'.
11860 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
11861 (isearch-forward): Add `M-s _' to the docstring.
11862 (isearch-forward-symbol, isearch-toggle-case-fold)
11863 (isearch-symbol-regexp): New functions. (Bug#11381)
11864
d5e61c1c
JL
118652012-05-29 Juri Linkov <juri@jurta.org>
11866
11867 * isearch.el (isearch-word): Add docstring. (Bug#11381)
11868 (isearch-occur, isearch-search-and-update): If `isearch-word' is
11869 a function, call it to get the regexp.
11870 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
11871 property `isearch-message-prefix' instead of the string "word ".
11872 (isearch-search-fun-default): For the case of `isearch-word',
11873 return a lambda that calls re-search-forward/re-search-backward
11874 with a regexp returned by `word-search-regexp' or by the function
11875 in `isearch-word'.
11876
8cbd80f7
JL
118772012-05-29 Juri Linkov <juri@jurta.org>
11878
11879 * isearch.el (isearch-search-fun-default): New function.
11880 (isearch-search-fun): Move default part to the new function
11881 `isearch-search-fun-default'.
11882 (isearch-search-fun-function): Set the default value to
11883 `isearch-search-fun-default'. (Bug#11381)
11884
11885 * comint.el (comint-history-isearch-end):
11886 Use `isearch-search-fun-default'.
11887 (comint-history-isearch-search): Use `isearch-search-fun-default'
11888 and remove spacial case for `isearch-word'.
11889 (comint-history-isearch-wrap): Remove spacial case for
11890 `isearch-word'.
11891
11892 * hexl.el (hexl-isearch-search-function):
11893 Use `isearch-search-fun-default'.
11894
11895 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
11896 Use `word-search-regexp' for `isearch-word'.
11897
11898 * misearch.el (multi-isearch-search-fun):
11899 Use `isearch-search-fun-default'.
11900
11901 * simple.el (minibuffer-history-isearch-search):
11902 Use `isearch-search-fun-default' and remove spacial case for
11903 `isearch-word'.
11904 (minibuffer-history-isearch-wrap): Remove spacial case for
11905 `isearch-word'.
11906
11907 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
11908 Remove spacial case for `isearch-word'.
11909 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
11910
85c8c5b6
AM
119112012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11912
11913 Decrease XEmacs incompatibilities.
11914 * textmodes/flyspell.el (flyspell-check-pre-word-p):
11915 Use `string-match'.
11916 (flyspell-delete-region-overlays): Use alternative definition for
11917 XEmacs.
11918 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
11919 (flyspell-word): Use `process-kill-without-query' if XEmacs.
11920 (flyspell-mode-on): Use `interactive-p' if XEmacs.
11921 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
11922 `define-obsolete-face-alias' under XEmacs, but old method.
11923
11924 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
11925 `with-no-warnings' definition or Emacs alias.
11926 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
11927 (ispell-word): Do not use `region-p' if XEmacs.
11928
8cab9efc
AM
119292012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11930
11931 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
11932 Check for `ispell-dictionary-base-alist' instead of full
11933 `ispell-dictionary-alist'.
11934 (ispell-init-process): Show spellchecker when starting new Ispell
11935 process.
11936
fda91268
RZ
119372012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
11938
11939 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
11940 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
11941
694ea8e3
JB
119422012-05-27 Juanma Barranquero <lekktu@gmail.com>
11943
11944 * version.el (motif-version-string, gtk-version-string)
11945 (ns-version-string): Declare.
11946
e4d4f539
JL
119472012-05-27 Juri Linkov <juri@jurta.org>
11948
11949 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
11950 after the `eval-defun-1' specialcaseing
11951 like in `edebug-eval-defun' (bug#10181).
11952
11953 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
11954 like in `eval-defun-1'.
11955
33017faf 119562012-05-27 Eli Zaretskii <eliz@gnu.org>
b30b64b9 11957
fda91268
RZ
11958 * mail/sendmail.el (mail-yank-region):
11959 Recognize rmail-yank-current-message in addition to insert-buffer.
11960 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
b30b64b9
EZ
11961 a *mail* buffer created through rmail-start-mail with sendmail as
11962 mail-user-agent.
11963
33017faf
GM
119642012-05-27 Chong Yidong <cyd@gnu.org>
11965
11966 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
11967 Default to 256 (Bug#11267).
11968
11969 * help.el (describe-mode): Doc fix.
11970
04188bb9
GM
119712012-05-26 Glenn Morris <rgm@gnu.org>
11972
38264cc9
GM
11973 * w32-fns.el (w32-init-info): Remove.
11974 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
11975
eb7afdad
GM
11976 * info.el (info-initialize): For self-contained NS builds, put the
11977 included info/ directory at the front. (Bug#2791)
11978
04188bb9
GM
11979 * paths.el (Info-default-directory-list): Make it a defcustom,
11980 mainly so that we can use custom-initialize-delay.
11981
a179e3f7
SM
119822012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
11983
43416392
SM
11984 * subr.el (buffer-has-markers-at): Mark obsolete.
11985
a179e3f7 11986 * subr.el (lambda): Use declare.
43416392 11987
a179e3f7
SM
11988 * emacs-lisp/lisp-mode.el (lambda):
11989 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
11990
34a008d9
AH
119912012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
11992
11993 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
11994
0a3b289f
GM
119952012-05-26 Glenn Morris <rgm@gnu.org>
11996
11997 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
11998
758c81e8
GM
119992012-05-25 Glenn Morris <rgm@gnu.org>
12000
f9f334f0
GM
12001 * paths.el: Remove no-byte-compile.
12002 * loadup.el: No need to load paths.el uncompiled.
12003
87eb79c2
GM
12004 * image.el (imagemagick-types-inhibit): Doc fix.
12005
758c81e8
GM
12006 * version.el: Remove no-byte-compile and associated formatting.
12007 * loadup.el: No need to load version.el uncompiled. AFAICS, this
12008 is ancient code from when there was an "inc-vers.el".
12009
e7e85dc0
SM
120102012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
12011
12012 * progmodes/gdb-mi.el: Minor style changes.
12013 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
12014 Turn into minor modes.
12015 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
12016 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
12017 (gdb-shell): Remove unneeded let-binding.
12018 (gdb-get-many-fields): Eliminate O(n²) behavior.
12019
f31237a4
EZ
120202012-05-25 Eli Zaretskii <eliz@gnu.org>
12021
12022 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
12023 platforms that don't link in fontset.c.
12024
bc1b21bb
JL
120252012-05-25 Juri Linkov <juri@jurta.org>
12026
12027 Use the same diff color scheme as in modern VCSes (bug#10181).
12028
12029 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
12030 to avoid confusion with `diff-added' that now uses green colors.
12031 (diff-removed): Use shades of red.
12032 (diff-added): Use shades of green.
12033 (diff-changed): Leave just the yellow color.
12034 (diff-use-changed-face): New variable.
12035 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
12036 how to highlight context diff changes.
12037 (diff-refine-change): Use shades of yellow.
12038 (diff-refine-removed): New face that uses shades of red.
12039 (diff-refine-added): New face that uses shades of green.
12040 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
12041 `diff-refine-removed' in the call to `smerge-refine-subst'
12042 depending on the value of `diff-use-changed-face'.
12043
12044 * vc/smerge-mode.el (smerge-mine): Use shades of red.
12045 (smerge-other): Use shades of green.
12046 (smerge-base): Use shades of yellow.
12047 (smerge-refined-change): Empty face.
12048 (smerge-refined-removed): New face that uses shades of red.
12049 (smerge-refined-added): New face that uses shades of green.
12050 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
12051 args `props-r' and `props-a', and use them. Doc fix.
12052 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
12053 on its value use different faces `smerge-refined-change',
12054 `smerge-refined-removed', `smerge-refined-added' in the call to
12055 `smerge-refine-subst'.
12056
12057 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
12058 Add face condition `min-colors 88' with shades of red.
12059 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
12060 `min-colors 88' with shades of green.
12061 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
12062 `min-colors 88' with shades of yellow.
12063
6df9112c
GM
120642012-05-24 Glenn Morris <rgm@gnu.org>
12065
ead5edc0
GM
12066 * paths.el (prune-directory-list, remote-shell-program): Move to...
12067 * files.el (prune-directory-list, remote-shell-program): ...here.
12068 For the latter, delay initialization, prefer ssh, just search PATH.
12069
f18b81e6
GM
12070 * paths.el (term-file-prefix): Move to faces.el (the only user).
12071 * faces.el (term-file-prefix): Move here, make it a defcustom.
12072
ee2f89a6
GM
12073 * paths.el (news-directory, news-path, news-inews-program):
12074 Move to gnus/nnspool.el.
61a583ca 12075
f8815e4c
GM
12076 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
12077
c8f3b42c
GM
12078 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
12079 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
12080 Make the latter a defcustom, with a delayed initialization.
12081
6df9112c
GM
12082 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
12083 These were deleted from Gnus itself late 2010.
12084
5dadff36
JB
120852012-05-22 Juanma Barranquero <lekktu@gmail.com>
12086
9e1701c6
JB
12087 * progmodes/which-func.el (which-func-ff-hook):
12088 Check against user-error, not error.
12089
bd7239f5 12090 * emacs-lisp/edebug.el (top): Do not load or set up loading of
5dadff36
JB
12091 cl-specs.el, which no longer exists.
12092
3290526d
GM
120932012-05-22 Glenn Morris <rgm@gnu.org>
12094
12095 * info.el (info-emacs-bug): New command.
12096 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
12097 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
12098
ff0c3cfb
GM
120992012-05-21 Glenn Morris <rgm@gnu.org>
12100
12101 * makefile.w32-in (update-subdirs-SH):
12102 * Makefile.in (update-subdirs): Update for moved update-subdirs.
12103
5814f126
SM
121042012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
12105
a52c0aa0
SM
12106 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
12107
5814f126
SM
12108 * progmodes/compile.el (compilation-error-regexp-alist-alist):
12109 Simplify Maven regexp, and make sure the file can't start with a space
12110 (bug#11517).
12111
b847032c
GM
121122012-05-21 Glenn Morris <rgm@gnu.org>
12113
12114 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
12115 Scrap superfluous subshells.
12116
3858bfe7
SM
121172012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
12118
12119 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
12120 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
12121
d14b0029
JB
121222012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
12123
12124 * calc/calc.el (calc-ensure-consistent-units): New variable.
12125
a52c0aa0
SM
12126 * calc/calc-units.el (math-consistent-units-p)
12127 (math-check-unit-consistency): New functions.
12128 (calc-quick-units, calc-convert-units):
12129 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
12130 is non-nil.
d14b0029
JB
12131 (calc-extract-units): Fix typo.
12132
60c4db3a
SM
121332012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
12134
77f3b62e
SM
12135 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
12136
60c4db3a
SM
12137 * textmodes/flyspell.el: Commenting style, plus code simplifications.
12138 (flyspell-default-deplacement-commands): Don't spell check after
12139 repeated window/frame switches (e.g. triggered by mouse-movement).
12140 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
12141 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
12142 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
12143 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
12144 Remove unused vars.
12145 (flyspell-get-casechars, flyspell-get-not-casechars):
12146 Simplify; Don't bother removing a ] just to add it back.
12147 * textmodes/ispell.el (ispell-program-name): Use executable-find.
12148
d209e2fb 121492012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
b1a10716
RS
12150
12151 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
12152 New functions.
bd7239f5 12153 (math-function-table): Add support for more C functions.
b1a10716 12154
3f1b25b5
AM
121552012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12156
090bd7cb
JB
12157 * textmodes/flyspell.el (flyspell-check-pre-word-p)
12158 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
12159 Protect delay handling for otherchars against empty otherchars.
3f1b25b5 12160
b581bb5c
SM
121612012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
12162
12163 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
12164 their respective macro declarations.
12165 * skeleton.el (define-skeleton):
12166 * progmodes/compile.el (define-compilation-mode):
12167 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
12168 (define-ibuffer-filter):
12169 * emacs-lisp/generic.el (define-generic-mode):
12170 * emacs-lisp/easy-mmode.el (define-minor-mode)
12171 (define-globalized-minor-mode):
12172 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
12173 * emacs-lisp/byte-run.el (defsubst):
12174 * custom.el (deftheme): Add doc-string metadata.
12175
70b8ef8f
SM
121762012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
12177
12178 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
12179
b1198e17
SM
121802012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
12181
9abdc45d
SM
12182 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
12183
b1198e17
SM
12184 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
12185 * emacs-lisp/cl-macs.el: Idem.
12186 * emacs-lisp/cl-specs.el: Remove.
12187
4735906a
SM
121882012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
12189
12190 Minor renaming of internal CL functions and variables.
12191 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
12192 (cl--position): Rename from cl-position.
12193 (cl--delete-duplicates): Rename from cl-delete-duplicates.
12194 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
12195 (cl--random-state): Rename from *random-state*.
12196
ac348012
SM
121972012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
12198
12199 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
12200 parens around the arg list (bug#11499).
12201
a0a79cde
JL
122022012-05-17 Juri Linkov <juri@jurta.org>
12203
12204 * isearch.el (word-search-regexp, word-search-backward)
12205 (word-search-forward, word-search-backward-lax)
12206 (word-search-forward-lax): Move functions from search.c
12207 (bug#10145, bug#11381).
12208
65034a51
AM
122092012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12210
090bd7cb
JB
12211 * textmodes/flyspell.el (flyspell-check-pre-word-p)
12212 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
12213 Delay for otherchars as for normal word components.
65034a51 12214
1a72a195
SM
122152012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
12216
12217 * minibuffer.el (completion--sifn-requote): Fix last change.
12218 (minibuffer-local-must-match-filename-map):
12219 Move define-obsolete-variable-alias before its var.
12220
fdb058c2
SM
122212012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
12222
c41045e6
SM
12223 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
12224
036dfb8b
SM
12225 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
12226 behavior.
12227 (completion--string-equal-p): New function.
12228 (completion--twq-all): Use it to get better assertion failure data.
12229
2473256d
SM
12230 Only handle ".." and '..' quoting in shell-mode (bug#11466).
12231 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
12232 (shell--requote-argument): New functions.
12233 (shell-completion-vars): Use them.
12234 (shell--parse-pcomplete-arguments): Rename from
12235 shell-parse-pcomplete-arguments.
12236 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
12237 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
12238 Obey comint-file-name-quote-list.
12239
fdb058c2
SM
12240 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
12241 (smie-indent-keyword): Use it.
12242
51fa99f1
SM
122432012-05-14 Stefan Merten <smerten@oekonux.de>
12244
12245 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
12246
e18afed7 122472012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
d9d1dfef
SM
12248
12249 * net/rlogin.el (rlogin-mode-map): Fix last change.
12250
e18afed7 122512012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
8633b1f4
JW
12252
12253 * mail/smtpmail.el (smtpmail-send-command): Send the command and
12254 the following \r\n using a single `process-send-string', since the
12255 Lotus SMTP server refuses to accept any commands if they are sent
e18afed7 12256 with two `process-send-string's (Bug#11444).
8633b1f4 12257
e18afed7 122582012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
fe263b8f 12259
fdb058c2
SM
12260 * shell.el (shell-parse-pcomplete-arguments):
12261 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
e18afed7 12262
2d21d7f6
WJ
122632012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
12264
e18afed7 12265 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
2d21d7f6
WJ
12266 (image-transform-scale, image-transform-right-angle-fudge): New vars.
12267 (image-transform-width, image-transform-fit-width): New functions.
12268 (image-transform-properties): Use them.
12269 (image-transform-check-size): New function.
12270 (image-toggle-display-image): Use it (for testing).
12271 (image-transform-set-rotation): Reduce angle mod 360.
12272 Delete obsolete comment.
12273
7102e6d0
WJ
122742012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
12275
12276 * image-mode.el: Fix scaling (bug#11399).
12277 (image-transform-resize): Doc fix.
12278 (image-transform-properties): Default scale is 1 and height should
12279 be an integer.
12280
06bc5e6e
SM
122812012-05-13 Johan Bockgård <bojohan@gnu.org>
12282
12283 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
12284 than hard-coding `car', to fix misbehavior when moving forward.
12285
0ae03b6a
CY
122862012-05-13 Chong Yidong <cyd@gnu.org>
12287
12288 * emacs-lisp/tabulated-list.el (tabulated-list-format)
12289 (tabulated-list-entries, tabulated-list-padding)
12290 (tabulated-list-sort-key): Make permanent-local.
12291
12292 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
12293 (electric-buffer-list): Put electric buffer menu
12294 command descriptions in this docstring, instead of the docstring
12295 of electric-buffer-menu-mode. Code cleanups.
12296 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
12297 Electric-buffer-menu-mode.
12298 (electric-buffer-update-highlight): Minor code cleanup.
12299
205a7391
MA
123002012-05-13 Michael Albinus <michael.albinus@gmx.de>
12301
12302 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
12303 (Bug#11447)
12304
e5bd0a28
SM
123052012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
12306
12307 Move define-obsolete-variable-alias before the var's definition.
12308 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
12309 * tooltip.el (tooltip-hook):
12310 * textmodes/reftex-toc.el (reftex-toc-map):
12311 * textmodes/reftex-sel.el (reftex-select-label-map)
12312 (reftex-select-bib-map):
12313 * textmodes/reftex-index.el (reftex-index-map)
12314 (reftex-index-phrases-map):
12315 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
12316 * progmodes/meta-mode.el (meta-mode-map):
12317 * novice.el (disabled-command-hook):
12318 * loadhist.el (unload-hook-features-list):
12319 * frame.el (blink-cursor):
12320 * files.el (find-file-not-found-hooks, write-file-hooks)
12321 (write-contents-hooks):
12322 * emulation/tpu-edt.el (GOLD-map):
12323 * emacs-lock.el (emacs-lock-from-exiting):
12324 * emacs-lisp/generic.el (generic-font-lock-defaults):
12325 * emacs-lisp/chart.el (chart-map):
12326 * dos-fns.el (register-name-alist):
12327 * dired-x.el (dired-omit-files-p):
12328 * desktop.el (desktop-enable):
12329 * cus-edit.el (custom-mode-hook):
12330 * buff-menu.el (buffer-menu-mode-hook):
12331 * bookmark.el (bookmark-read-annotation-text-func)
12332 (bookmark-exit-hooks):
12333 * allout.el (allout-mode-deactivate-hook)
12334 (allout-exposure-change-hook, allout-structure-added-hook)
12335 (allout-structure-deleted-hook, allout-structure-shifted-hook):
12336 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
12337 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
12338 comes before the corresponding variable's definition.
12339
ac59c2f6
CY
123402012-05-12 Chong Yidong <cyd@gnu.org>
12341
12342 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
0d909786
CY
12343 (Buffer-menu-mouse-select): Restore function (Bug#11459).
12344 (Buffer-menu-mode-map): Bind it.
12345 (Buffer-menu--pretty-name): Add a mouse-face property.
ac59c2f6 12346
dee6c9a3
SM
123472012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
12348
2171cea5
SM
12349 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
12350 (prolog-upper-case-string, prolog-lower-case-string)
12351 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
12352 (prolog-use-smie, prolog-smie-grammar): New vars.
12353 (prolog-smie-forward-token, prolog-smie-backward-token)
12354 (prolog-smie-rules): New funs.
12355 (prolog-comment-indent): Remove.
12356 (prolog-mode-variables): Use default comment indentation instead.
12357 Setup SMIE.
12358 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
12359 (prolog-mode): Don't call them any more.
12360 (prolog-electric-colon, prolog-electric-dash)
12361 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
12362
aa0382bd
SM
12363 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
12364
dbacb4bd
SM
12365 * minibuffer.el (completion--twq-all): Again, allow case differences.
12366
13bdd94c
SM
12367 * term.el: Move keymap initialization code to be more idiomatic.
12368 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
12369 (term-terminal-menu): Move initialization into declaration.
12370 (term-escape-char): Let the user set it in her .emacs.
12371
ff46c759
SM
12372 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
12373 Provide SMIE-based indentation (not enabled by default yet).
12374 (sh-mode-map): Don't bind electric keys.
12375 Use electric-pair-mode instead of skeleton-pair.
12376 (sh-assignment-regexp): Fit within 80 columns.
12377 (sh-indent-supported): Specify actual shell name instead of boolean.
12378 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
12379 (sh-maybe-here-document): Use it. Make obsolete.
12380 (sh-electric-here-document-mode) New minor mode.
12381 (sh-mode): Use it. Don't set sh-indent-supported-here here.
12382 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
12383 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
12384 (sh-smie-rc-grammar, sh-use-smie): New vars.
12385 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
12386 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
12387 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
12388 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
12389 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
12390 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
12391 (sh-set-shell): Use smie-setup if requested.
12392
dee6c9a3
SM
12393 * term.el (term-set-escape-char): Properly set term-escape-char.
12394 See http://stackoverflow.com/questions/10524656.
12395
9f9aa044
CY
123962012-05-10 Chong Yidong <cyd@gnu.org>
12397
12398 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
12399 Use url-generic-parse-url, and handle host names and Windows
12400 filenames properly.
12401 (ffap-url-unwrap-remote): Use url-generic-parse-url.
12402 (ffap-url-unwrap-remote): Accept list values, specifying a list of
12403 URL schemes to work on.
12404 (ffap--toggle-read-only): New function.
12405 (ffap-read-only, ffap-read-only-other-window)
12406 (ffap-read-only-other-frame): Use it.
12407 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
12408 necessary for ffap-url-unwrap-remote.
12409
836d29b3
DA
124102012-05-10 Dave Abrahams <dave@boostpro.com>
12411
12412 * cus-start.el (create-lockfiles): Add it.
12413
00fd78ed
CY
124142012-05-09 Chong Yidong <cyd@gnu.org>
12415
12416 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
12417 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
12418
666b903b 124192012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1cb51c12
SM
12420
12421 * shell.el (shell-completion-vars): Fix last change (bug#11348).
12422
666b903b 124232012-05-09 Chong Yidong <cyd@gnu.org>
18f00515
CY
12424
12425 * ansi-color.el (ansi-color-process-output): Check for validity of
12426 comint-last-output-start before using it. This avoids a bad
12427 interaction with gdb-mi's input/output buffer.
12428
666b903b 124292012-05-09 Glenn Morris <rgm@gnu.org>
fd075e7b
GM
12430
12431 * files.el (dir-locals-read-from-file):
12432 Mention dir-locals in any error message.
12433
666b903b 124342012-05-09 Chong Yidong <cyd@gnu.org>
25f292cd
CY
12435
12436 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
12437 package (Bug#11410).
12438
f677562b
CY
12439 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
12440 variables into description.
12441
666b903b 124422012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3d53ee1b
SM
12443
12444 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
12445 shell-delimiter-argument-list (bug#11348).
12446 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
12447
b499d8d0
JB
124482012-05-09 Juanma Barranquero <lekktu@gmail.com>
12449
8f6b6da8
JB
12450 * textmodes/rst.el: Silence byte-compiler warnings.
12451 (rst-re-alist, rst-reset-section-caches): Move around.
12452 (rst-re): Use `characterp', not `char-valid-p'.
12453 (font-lock-beg, font-lock-end): Declare.
12454
4824146a
JB
12455 * progmodes/idlw-shell.el (specs): Remove reference to deleted
12456 variable `idlwave-shell-activate-alt-keybindings' and simplify.
12457
b499d8d0
JB
12458 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
12459
ad89bb83
GM
124602012-05-08 Glenn Morris <rgm@gnu.org>
12461
12462 * files.el (auto-mode-alist): Treat ".make" like ".mk".
12463
8bba5a75
SM
124642012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
12465
49ed9c8e
SM
12466 * vc/log-edit.el: Add GNU coding standards highlighting.
12467 (log-edit-font-lock-gnu-style)
12468 (log-edit-font-lock-gnu-keywords): New vars.
12469 (log-edit-font-lock-keywords): New fun.
12470 (log-edit-mode): Don't fold case in font-lock.
12471 (log-edit-font-lock-keywords): Do not assume case-folding.
12472
07d00b56
SM
12473 * imenu.el: Misc cleanup. Make docstrings out of comments.
12474 Use lexical-binding.
12475 (imenu--index-alist, imenu--last-menubar-index-alist)
12476 (imenu-menubar-modified-tick): Use defvar-local.
12477 (imenu--split-menu): Remove unused var.
12478 (imenu--cleanup-seen): Declare as global.
12479 (imenu--cleanup): Use dolist.
12480
8bba5a75
SM
12481 * subr.el (defvar-local): Add debug spec and doc-string position.
12482
5075bdb5
GM
124832012-05-08 Glenn Morris <rgm@gnu.org>
12484
090bd7cb 12485 * language/burmese.el, language/cham.el, language/czech.el:
c052c904
GM
12486 * language/english.el, language/georgian.el, language/greek.el:
12487 * language/japanese.el, language/khmer.el, language/korean.el:
12488 * language/lao.el, language/misc-lang.el, language/romanian.el:
12489 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
12490 * language/thai.el, language/utf-8-lang.el:
12491 Remove no-byte-compile setting.
12492
5075bdb5
GM
12493 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
12494
06f679a7
AH
124952012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
12496
12497 * progmodes/make-mode.el (makefile-browse):
12498 Remove unnecessary interactive. (Bug#11324)
12499
03794570
GM
125002012-05-07 Glenn Morris <rgm@gnu.org>
12501
af8630f4
GM
12502 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
12503
03794570
GM
12504 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
12505
f0809a9d
SM
125062012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
12507
28be5ce7
SM
12508 * loadup.el: Preload newcomment.el.
12509 * newcomment.el: Move autoload-only code to toplevel.
12510
f0809a9d
SM
12511 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
12512 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
12513 Handle new :right-align column property.
12514 (tabulated-list-print-col): Idem, plus use `display' text-property to
12515 try and preserve alignment for variable pitch fonts.
12516
1241b724
CY
125172012-05-07 Chong Yidong <cyd@gnu.org>
12518
12519 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
12520 (tabulated-list-use-header-line): New var.
12521 (tabulated-list-init-header): Use it.
12522 (tabulated-list-print-fake-header): New function.
12523 (tabulated-list-print): Use it.
12524 (tabulated-list-sort-button-map): Add non-header-line commands.
12525 (tabulated-list-init-header): Add column name property to basic
12526 labels as well.
12527 (tabulated-list-col-sort): Handle non-header-line button case.
12528 (tabulated-list--sort-by-column-name): Fix a corner case.
12529
f0809a9d
SM
12530 * buff-menu.el (list-buffers--refresh):
12531 Handle Buffer-menu-use-header-line.
1241b724 12532
e5f9458f
CY
125332012-05-06 Chong Yidong <cyd@gnu.org>
12534
12535 * buff-menu.el: Convert to Tabulated List mode.
12536 (Buffer-menu-buffer+size-width): Make obsolete.
12537 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
12538 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
12539 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
12540 documentation into docstring of buffer-menu.
12541 (Buffer-menu-toggle-files-only): Add an informative message.
12542 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
12543 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
12544 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
12545 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
12546 (Buffer-menu-execute, Buffer-menu-select)
12547 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
12548 (Buffer-menu-bury): Use Tabulated List machinery.
12549 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
12550 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
f0809a9d 12551 Delete.
e5f9458f
CY
12552 (list-buffers--refresh): New function.
12553 (list-buffers-noselect): Use it.
12554 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
12555 (Buffer-menu--pretty-file-name): New helper functions.
12556
12557 * loadup.el: Preload tabulated-list.
12558
12559 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
12560 tabulated-list-sort-column.
12561 (tabulated-list-init-header): Add the initial aligning space even
12562 if tabulated-list-padding is zero.
12563
e129292c
CS
125642012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
12565
12566 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
12567 whose cdr is not a cons cell correctly (bug#11038).
12568
6632d361
CY
125692012-05-06 Chong Yidong <cyd@gnu.org>
12570
e129292c
CS
12571 * emacs-lisp/tabulated-list.el (tabulated-list-format):
12572 Accept additional plist in column descriptors.
6632d361
CY
12573 (tabulated-list-init-header): Obey it.
12574 (tabulated-list-get-entry): New function.
12575 (tabulated-list-put-tag): Use it. Use string-width instead of
12576 length.
12577 (tabulated-list--column-number): New function.
12578 (tabulated-list-print): Use it.
e129292c
CS
12579 (tabulated-list-print-col): New function.
12580 Set `tabulated-list-column-name' property on each column's text.
6632d361 12581 (tabulated-list-print-entry): Use it.
e129292c
CS
12582 (tabulated-list-delete-entry, tabulated-list-set-col):
12583 New functions.
6632d361
CY
12584 (tabulated-list-sort-column): New command (Bug#11337).
12585
3cc99f68
CY
12586 * buff-menu.el (list-buffers): Move C-x C-b binding from
12587 buff-menu.el to bindings.el.
12588
12589 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
12590 :advertised-binding feature.
12591
52b61776
TN
125922012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
12593
12594 * progmodes/compile.el (compilation-internal-error-properties):
12595 Calculate start position correctly when end-col is set but
12596 end-line is not (Bug#11382).
12597
ebfe2597
WJ
125982012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
12599
12600 * man.el (Man-unindent): Use text-property-default-nonsticky to
12601 prevent untabify from inheriting face properties (Bug#11408).
12602
6d3f7c2f
SM
126032012-05-05 Stefan Merten <smerten@oekonux.de>
12604
12605 * textmodes/rst.el: Major merge with upstream development up to
12606 Docutils SVN r7399 / rst.el V1.2.1.
12607
12608 Clarify maintainership and authors.
12609
12610 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
12611 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
12612 (rst-official-version, rst-official-cvs-rev, rst-version)
12613 (rst-package-emacs-version-alist): New functions and variables
12614 for version information.
12615
12616 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
12617 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
12618 (rst-mode-syntax-table, rst-mode): New and corrected functions
12619 and variables representing reStructuredText features.
12620
12621 (rst-re): New function for reStructuredText regexes. Use in
12622 many places.
12623
12624 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
12625 (rst-mode-map): Rebind keys.
12626
12627 (rst-mode-lazy, rst-font-lock-keywords)
12628 (rst-font-lock-extend-region)
12629 (rst-font-lock-extend-region-internal)
12630 (rst-font-lock-extend-region-extend)
12631 (rst-font-lock-find-unindented-line-limit)
12632 (rst-font-lock-find-unindented-line-match)
12633 (rst-adornment-level, rst-font-lock-adornment-level)
12634 (rst-font-lock-adornment-match)
12635 (rst-font-lock-handle-adornment-pre-match-form)
12636 (rst-font-lock-handle-adornment-matcher): Major revision of
12637 font-locking. Integrate with other code. Use `jit-lock-mode'.
12638
12639 (rst-preferred-adornments, rst-adjust-hook)
12640 (rst-new-adornment-down, rst-preferred-bullets)
12641 (rst-preferred-bullets, rst-indent, rst-indent-width)
12642 (rst-indent-field, rst-indent-literal-normal)
12643 (rst-indent-literal-minimized, rst-indent-comment): Change,
12644 extend and improve customization.
12645
12646 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
12647 (rst-normalize-cursor-position, rst-get-decoration)
12648 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
12649 (rst-rstrip, rst-toc-insert-find-delete-contents)
12650 (rst-shift-fill-region, rst-compute-bullet-tabs)
12651 (rst-debug-print-tabs, rst-debug-mark-found)
12652 (rst-shift-region-guts, rst-shift-region-right)
12653 (rst-shift-region-left, rst-use-char-classes)
12654 (rst-font-lock-keywords-function)
12655 (rst-font-lock-indentation-point)
12656 (rst-font-lock-find-unindented-line-begin)
12657 (rst-font-lock-find-unindented-line-end)
12658 (rst-font-lock-find-unindented-line)
12659 (rst-font-lock-adornment-point, rst-font-lock-level)
12660 (rst-adornment-level-alist): Remove functions and variables.
12661
12662 (rst-compare-adornments, rst-get-adornment-match)
12663 (rst-suggest-new-adornment, rst-get-adornments-around)
12664 (rst-adornment-complete-p, rst-get-next-adornment)
12665 (rst-adjust-adornment, rst-display-adornments-hierarchy)
12666 (rst-straighten-adornments): Standardize function names to
12667 use "adornment" instead of "decoration". Correct callers.
12668 Similar standardizing in many places.
12669
12670 (rst-update-section, rst-adjust, rst-promote-region)
12671 (rst-enumerate-region, rst-bullet-list-region)
12672 (rst-repeat-last-character): Correct use of `interactive'.
12673
12674 (rst-classify-adornment, rst-find-all-adornments)
12675 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
12676 (rst-find-leftmost-column, rst-repeat-last-character):
12677 Refactor functions.
12678
12679 (rst-find-title-line, rst-reset-section-caches)
12680 (rst-get-adornments-around, rst-adjust-adornment-work)
12681 (rst-arabic-to-roman, rst-roman-to-arabic)
12682 (rst-insert-list-pos, rst-insert-list-new-item)
12683 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
12684 New functions.
12685
12686 (rst-all-sections, rst-section-hierarchy)
12687 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
12688 New variables.
12689
12690 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
12691 configuration instead of only buffer. Change where necessary.
12692
12693 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
12694 (rst-shift-region, rst-adaptive-fill): New functions for
12695 indentation and filling.
12696
12697 (rst-comment-line-break, rst-comment-indent)
12698 (rst-comment-insert-comment, rst-comment-region)
12699 (rst-uncomment-region): New functions for handling comments.
12700
12701 (rst-compile): Quote shell arguments.
12702
12703 (rst-compile-pdf-preview, rst-compile-slides-preview):
12704 Delete temporary files after use.
12705
a43f98b3
GM
127062012-05-05 Glenn Morris <rgm@gnu.org>
12707
48176e8b
GM
12708 * calendar/cal-html.el: Optionally include holidays in the output.
12709 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
12710 (cal-html-holidays): New option.
12711 (cal-html-css-default): Add holiday entry.
12712 (holiday-in-range): Autoload it.
12713 (cal-html-htmlify-entry): Add optional class argument.
12714 (cal-html-htmlify-list): Add optional holidays argument.
12715 (cal-html-insert-agenda-days): Include holidays in the output.
12716 (cal-html-one-month): Maybe include holidays.
12717
a43f98b3
GM
12718 * calendar/holidays.el (holiday-in-range):
12719 Move here from cal-tex-list-holidays.
12720 * calendar/cal-tex.el (cal-tex-list-holidays):
12721 Make it an obsolete alias for holiday-in-range. Update all callers.
12722
fef9d149 127232012-05-05 Chong Yidong <cyd@gnu.org>
eceeb5fc
CY
12724
12725 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
12726 Nextstep.
12727
248da2f4
RW
127282012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
12729
12730 * files.el (file-auto-mode-skip): New var.
12731 (set-auto-mode-1): Use it.
12732
f95e9344
SM
127332012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
12734
df96ab1e
SM
12735 * repeat.el: Use lexical-binding.
12736 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
12737 (repeat-undo-count): Remove.
12738 (repeat):
12739 * progmodes/octave-mod.el (octave-abbrev-start):
12740 * progmodes/f90.el (f90-abbrev-start):
12741 * face-remap.el (text-scale-adjust):
12742 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
12743
5342bb06
SM
12744 * emacs-lisp/pcase.el (pcase--let*): New function.
12745 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
12746 a bit more.
12747 (pcase--split-pred): Be more clever about ruling out overlap between
12748 a predicate and some constant pattern.
12749 (pcase--q1): Use `null' instead of (eq foo nil).
12750
f95e9344
SM
12751 * subr.el (setq-local, defvar-local): New macros.
12752 (kbd): Redefine as an alias.
12753 (with-selected-window): Leave unrelated frames alone.
12754 (set-temporary-overlay-map): New function.
12755
71873e2b
SM
127562012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
12757
12758 * subr.el (user-error): New function.
12759 * window.el (switch-to-buffer):
12760 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
12761 (smerge-match-conflict):
12762 * simple.el (previous-matching-history-element)
12763 (next-matching-history-element, goto-history-element, undo-more)
12764 (undo-start):
12765 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
12766 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
12767 (next-file, tags-loop-scan, list-tags, complete-tag):
12768 * progmodes/compile.el (compilation-loop):
12769 * mouse.el (mouse-minibuffer-check):
12770 * man.el (Man-bgproc-sentinel, Man-goto-page):
12771 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
12772 (Info-history-forward, Info-follow-reference, Info-menu)
12773 (Info-extract-menu-item, Info-extract-menu-counting)
12774 (Info-forward-node, Info-backward-node, Info-next-menu-item)
12775 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
12776 (Info-next-reference, Info-prev-reference, Info-index)
12777 (Info-index-next, Info-follow-nearest-node)
12778 (Info-copy-current-node-name):
12779 * imenu.el (imenu--make-index-alist)
12780 (imenu-default-create-index-function, imenu-add-to-menubar):
12781 * files.el (basic-save-buffer, recover-file):
12782 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
12783 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
12784 (checkdoc-message-text, checkdoc-defun):
12785 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
12786 * cus-edit.el (customize-changed-options, customize-rogue)
12787 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
12788 (custom-variable-mark-to-reset-standard)
12789 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
12790 (custom-file):
12791 * completion.el (check-completion-length):
12792 * comint.el (comint-search-arg)
12793 (comint-previous-matching-input-string-position)
12794 (comint-previous-matching-input)
12795 (comint-replace-by-expanded-history-before-point, comint-send-input)
12796 (comint-copy-old-input, comint-backward-matching-input)
12797 (comint-goto-process-mark, comint-set-process-mark):
12798 * calendar/calendar.el (calendar-cursor-to-date): Use it.
12799 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
12800
8a61ee22
SM
128012012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
12802
66408d1e
SM
12803 * dabbrev.el (dabbrev--ignore-case-p): New function.
12804 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
12805 Use it.
12806
8a61ee22
SM
12807 * files.el (automount-dir-prefix): Mark as obsolete.
12808
3c74813a
GM
128092012-05-04 Glenn Morris <rgm@gnu.org>
12810
12811 * patcomp.el, play/bruce.el: Move to obsolete/.
12812
0bfcf5c5
PE
128132012-05-04 Paul Eggert <eggert@cs.ucla.edu>
12814
12815 Fix minor Y10k bugs.
12816 * arc-mode.el (archive-unixdate):
12817 * autoinsert.el (auto-insert-alist):
12818 * calc/calc-forms.el (math-this-year):
12819 * emacs-lisp/copyright.el (copyright-current-year)
12820 (copyright-update-year, copyright):
12821 * tar-mode.el (tar-clip-time-string):
12822 * time.el (display-time-update):
12823 Don't assume years have 4 digits.
12824
78f3273a
CY
128252012-05-04 Chong Yidong <cyd@gnu.org>
12826
12827 * dos-w32.el (file-name-buffer-file-type-alist)
12828 (direct-print-region-use-command-dot-com):
12829 * ffap.el (ffap-menu-regexp):
12830 * find-file.el (ff-special-constructs):
12831 * follow.el (follow-debug):
12832 * forms.el (forms--debug):
12833 * iswitchb.el (iswitchb-all-frames):
12834 * ido.el (ido-all-frames):
12835 * emacs-lisp/timer.el (timer-max-repeats):
12836 * mail/feedmail.el (feedmail-mail-send-hook)
12837 (feedmail-mail-send-hook-queued):
12838 * mail/footnote.el (footnote-signature-separator):
12839 * mail/mailabbrev.el (mail-alias-separator-string)
12840 (mail-abbrev-mode-regexp):
12841 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
12842 * progmodes/idlwave.el (idlwave-libinfo-file)
12843 (idlwave-default-completion-case-is-down)
12844 (idlwave-library-routines): Convert defvars to defcustoms.
12845
12846 * mail/rmail.el (rmail-decode-mime-charset):
12847 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
12848 (idlwave-shell-fix-inserted-breaks)
12849 (idlwave-shell-activate-alt-keybindings)
12850 (idlwave-shell-use-breakpoint-glyph):
12851 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
12852
f7ae6719
SM
128532012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
12854
12855 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
12856
47086495
WS
128572012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
12858
12859 * progmodes/verilog-mode.el (font-lock-keywords):
12860 Fix mis-highligting auto. Reported by Craig Barner.
12861 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
fc0c31f8 12862 defines from global name space. Reported by Dan Dever.
47086495
WS
12863 (verilog-auto-reset, verilog-auto-reset-widths)
12864 (verilog-auto-tieoff): Support using unbased numbers for
12865 AUTORESET and AUTOTIEOFF.
12866 (verilog-submit-bug-report): Update variable list.
12867 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
fc0c31f8 12868 parenthesis from not matching. Reported by Michael Rytting.
47086495
WS
12869 (verilog-auto-template-lint): Fix hash error when linting modules
12870 with no used templates.
12871 (verilog-warn, verilog-warn-error)
12872 (verilog-warn-fatal): When non-interactive report multiple
12873 warnings before exiting. Suggested by Brad Dobbie.
12874 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
12875 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
12876 to report unused template errors. Reported by Brad Dobbie.
12877 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
fc0c31f8 12878 nets, bug438. Reported by Vns Blore.
47086495
WS
12879 (verilog-auto-inout-module, verilog-auto-reg)
12880 (verilog-read-decls, verilog-read-sub-decls-sig)
12881 (verilog-signals-edit-wire-reg, verilog-signals-with):
12882 Fix passing of Verilog data types in ANSI input/output ports
fc0c31f8 12883 such as "output logic" into the AUTOs. Special case "wire" and
47086495
WS
12884 "reg" for backwards compatibility presuming Verilog 2001.
12885 (verilog-auto-ascii-enum): Add "auto enum" as alias.
12886 (verilog-preprocess): Fix replication of preprocess output.
12887 Reported by Brad Dobbie.
12888 (verilog-auto-inst-interfaced-ports):
12889 Create verilog-auto-inst-interfaced-ports, bug429.
12890 Reported by Julian Gorfajn.
12891 (verilog-after-save-font-hook)
12892 (verilog-before-save-font-hook): New variable.
12893 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
12894 (verilog-save-font-mods): Wrap disabling fontification, reported
12895 by David Rogoff.
12896 (verilog-do-indent, verilog-pretty-declarations-auto)
12897 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
12898 Reported by Pierre-David Pfister.
12899 (verilog-set-auto-endcomments): Fix endtask auto comments outside
12900 of class declarations, bug292. Reported by Kevin Heilman.
12901 (verilog-read-decls): Fix 'parameter type' not appearing in
12902 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
12903 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
fc0c31f8 12904 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
47086495
WS
12905 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
12906 Reported by David Kravitz.
12907
129082012-05-03 Michael McNamara <mac@mail.brushroad.com>
12909
12910 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
12911 assignment with tests in ifs and for loops.
12912 (verilog-extended-complete-re, verilog-complete-reg): Change so
12913 that DPI inport functions don't look like fuction declarations.
12914 (verilog-pretty-expr): Don't line up assignment
12915 operations to the test and increment in if and for loops
12916 (verilog-extended-complete-re, verilog-complete-reg): Change so
090bd7cb 12917 that DPI inport functions don't look like fuction declarations.
47086495 12918
2e51d4b5
KH
129192012-05-03 Kenichi Handa <handa@m17n.org>
12920
12921 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
c846da43 12922 decoding, and show a warning message without signaling an error
2e51d4b5
KH
12923 (Bug#11282).
12924
2bd785a2
SM
129252012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
12926
12927 * emacs-lisp/bytecomp.el
12928 (byte-compile-file-form-custom-declare-variable): Compile all elements,
12929 since cconv.el might have introduced :fun-body, internal-make-closure,
12930 and friends for bytecomp to handle (bug#11391).
12931 * custom.el (defcustom): Avoid ((λ ..) ..).
12932
99d27583
SM
129332012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
12934
12935 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
12936
55a71479
JB
129372012-05-02 Juanma Barranquero <lekktu@gmail.com>
12938
12939 * notifications.el (dbus-debug):
12940 * term/linux.el (gpm-mouse-enable):
12941 * term/screen.el (xterm-register-default-colors): Declare.
12942
7b97c764
CY
129432012-05-02 Chong Yidong <cyd@gnu.org>
12944
2bc356d7
CY
12945 * cus-start.el (gc-cons-percentage, exec-suffixes)
12946 (dos-display-scancodes, dos-hyper-key, dos-super-key)
12947 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
12948 (make-cursor-line-fully-visible, void-text-area-pointer)
12949 (font-list-limit): Add customization data.
12950
7b97c764
CY
12951 * allout.el (allout-exposure-change-functions)
12952 (allout-structure-added-functions)
12953 (allout-structure-deleted-functions)
12954 (allout-structure-shifted-functions): Rename abnormal hooks from
12955 *-hook, and convert to defcustoms.
5d3385a0
JB
12956 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
12957 Convert to defcustoms.
7b97c764
CY
12958 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
12959
12960 * allout-widgets.el: Hook callers changed.
12961
90207a15 129622012-05-02 Eli Zaretskii <eliz@gnu.org>
91af76bf
EZ
12963
12964 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
12965 the yanked message in preference to the default value of
12966 buffer-file-coding-system.
12967
90207a15 129682012-05-02 Martin Rudalics <rudalics@gmx.at>
d9558cad 12969
5d3385a0
JB
12970 * window.el (display-buffer--action-function-custom-type):
12971 Fix entry.
d9558cad 12972
90207a15 129732012-05-02 Alan Mackenzie <acm@muc.de>
09affde0
AM
12974
12975 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
12976
d80ac57b
GM
129772012-05-01 Glenn Morris <rgm@gnu.org>
12978
976f7668
GM
12979 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
12980
beb83b5a
GM
12981 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
12982
d80ac57b
GM
12983 * cus-edit.el (custom-variable-documentation): Simplify with format.
12984
b593d6a9 129852012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
f1a71c6e 12986 Stefan Monnier <monnier@iro.umontreal.ca>
b593d6a9
AH
12987
12988 * simple.el (suggest-key-bindings, execute-extended-command):
12989 Move from keyboard.c.
12990
782fbf2a
CY
129912012-05-01 Chong Yidong <cyd@gnu.org>
12992
12993 * follow.el: Eliminate advice.
12994 (set-process-filter, process-filter, sit-for): Advice deleted.
12995 (follow-mode-off-hook): Obsolete hook removed.
b593d6a9
AH
12996 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
12997 Vars deleted.
782fbf2a
CY
12998 (follow-auto): Use a :set function.
12999 (follow-mode): Rewritten. Don't advise process filters.
13000 (follow-switch-to-current-buffer-all, follow-scroll-up)
13001 (follow-scroll-down): Assume follow-mode is bound.
13002 (follow-comint-scroll-to-bottom)
13003 (follow-align-compilation-windows): New functions.
13004 (follow--window-sorter): New function.
13005 (follow-all-followers): Use it to explicitly sort windows by their
13006 positions; don't make assumptions about next-window order.
13007 (follow-windows-start-end, follow-delete-other-windows-and-split)
13008 (follow-calc-win-start): Doc fix.
13009 (follow-windows-aligned-p, follow-select-if-visible): Don't call
13010 vertical-motion unnecessarily.
13011 (follow-adjust-window): New function.
13012 (follow-post-command-hook): Use it.
13013 (follow-call-set-process-filter, follow-call-process-filter)
13014 (follow-intercept-process-output, follow-tidy-process-filter-alist)
13015 (follow-stop-intercept-process-output, follow-generic-filter):
13016 Functions deleted.
13017 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
b593d6a9
AH
13018 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
13019 New functions, replacing advice on scroll-bar-* commands.
87233a14 13020 (follow-mwheel-scroll): New function (Bug#4112).
782fbf2a
CY
13021
13022 * comint.el (comint-adjust-point): New function.
b593d6a9
AH
13023 (comint-postoutput-scroll-to-bottom): Use it.
13024 Call follow-comint-scroll-to-bottom for Follow mode buffers.
782fbf2a 13025
290af740
GM
130262012-05-01 Glenn Morris <rgm@gnu.org>
13027
13028 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
13029 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
13030 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
13031 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
13032 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
13033 Remove no-byte-compile setting.
13034
6eac8dc9
SM
130352012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
13036
13037 * minibuffer.el (completion-table-with-quoting): Fix compatibility
13038 all-completions code to not return a number in the last cdr.
13039
9cc7819c
LL
130402012-04-30 Leo Liu <sdl.web@gmail.com>
13041
13042 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
13043 read-only error.
13044
c93b886f
CY
130452012-04-29 Chong Yidong <cyd@gnu.org>
13046
13047 * follow.el (follow-calc-win-end): Rewrite to handle partial
13048 screen lines correctly (Bug#8390).
13049 (follow-avoid-tail-recenter): Minor cleanup.
13050
8b6c19f4
SM
130512012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
13052
13053 Avoid the obsolete `assoc' package.
13054 * speedbar.el (speedbar-refresh): Avoid adelete.
13055 (speedbar-file-lists): Simplify and avoid aput.
13056 * man.el (Man--sections, Man--refpages): New vars, replacing
13057 Man-sections-alist and Man-refpages-alist.
13058 (Man-build-section-alist, Man-build-references-alist):
13059 Use them; avoid aput.
13060 (Man--last-section, Man--last-refpage): New vars.
13061 (Man-follow-manual-reference): Use them.
13062 Use the `default' arg of completing-read.
13063 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
13064
c5bb7569
CY
130652012-04-27 Chong Yidong <cyd@gnu.org>
13066
d1d2e2e8
CY
13067 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
13068
15cd8efd
CY
13069 * startup.el (x-apply-session-resources): New function.
13070
13071 * term/ns-win.el (ns-initialize-window-system):
13072 * term/w32-win.el (w32-initialize-window-system):
13073 * term/x-win.el (x-initialize-window-system): Use it to properly
13074 set menu-bar-mode and other vars from X resources, even if the
13075 initial frame is not a window-system frame (Bug#2299).
13076
c5bb7569
CY
13077 * subr.el (read-key): Avoid running filter function when setting
13078 up temporary tool bar entries (Bug#9922).
13079
a8e7d6d7 130802012-04-27 Andreas Schwab <schwab@linux-m68k.org>
c4347ab9
AS
13081
13082 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
13083 (Bug#11344)
13084
a8e7d6d7 130852012-04-27 Chong Yidong <cyd@gnu.org>
acb71f1d
CY
13086
13087 * select.el (xselect--encode-string): New function, split from
13088 xselect-convert-to-string.
13089 (xselect-convert-to-string): Use it.
13090 (xselect-convert-to-filename, xselect-convert-to-os)
13091 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
13092 returned strings are properly encoded (Bug#11315).
13093
a8e7d6d7 130942012-04-27 Chong Yidong <cyd@gnu.org>
d55486c7
CY
13095
13096 * simple.el (delete-active-region): Move to killing custom group.
13097
a8e7d6d7 130982012-04-27 Andreas Schwab <schwab@linux-m68k.org>
581b6788
AS
13099
13100 * progmodes/which-func.el (which-func-current): Quote %
13101 characters for mode-line processing.
13102
578c1d4b 131032012-04-27 Chong Yidong <cyd@gnu.org>
18edb22d
CY
13104
13105 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
13106 reaching eob (Bug#11286).
13107
a8e7d6d7 131082012-04-27 Eli Zaretskii <eliz@gnu.org>
9ee9f470
EZ
13109
13110 * progmodes/gdb-mi.el (gdb-control-level): New variable.
13111 (gdb): Make it buffer-local and init to zero.
13112 (gdb-control-commands-regexp): New variable.
13113 (gdb-send): Don't wrap in "-interpreter-exec console" if
13114 gdb-control-level is positive. Increment gdb-control-level
13115 whenever the command matches gdb-control-commands-regexp, and
13116 decrement it each time the command is "end". (Bug#11279)
13117
a8e7d6d7 131182012-04-27 Martin Rudalics <rudalics@gmx.at>
41cfe0cb
MR
13119
13120 * window.el (adjust-window-trailing-edge, enlarge-window)
13121 (shrink-window, window-resize):
13122 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
13123 windows (Bug#11276).
13124
b3608390
CY
131252012-04-27 Chong Yidong <cyd@gnu.org>
13126
13127 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
a8e7d6d7 13128 fix "missing prefix" warning. All callers changed.
b3608390 13129
797e6e88
SM
131302012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
13131
13132 * emacs-lisp/assoc.el: Move to obsolete/.
13133
e95a67dc
SM
131342012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
13135
657c21e4 13136 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
e95a67dc
SM
13137
13138 * term/ns-win.el (ns-define-service):
13139 * progmodes/pascal.el (pascal-goto-defun):
13140 * progmodes/js.el (js--read-tab):
13141 * progmodes/etags.el (tags-lazy-completion-table):
13142 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
13143 * emacs-lisp/ewoc.el (ewoc--wrap):
13144 * emacs-lisp/assoc.el (aput, adelete, amake):
13145 * doc-view.el (doc-view-convert-current-doc):
13146 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
13147
cb3e7ae0
CY
131482012-04-26 Chong Yidong <cyd@gnu.org>
13149
dce04f7f
CY
13150 * image.el (image-type-from-buffer): Only return supported image
13151 type (Bug#9045).
13152
cb3e7ae0
CY
13153 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
13154 value, for symmetry with diff-end-of-hunk.
13155 (diff-split-hunk, diff-find-source-location)
13156 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
13157 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
13158 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
13159 compute the relevant hunk or file properly (Bug#6005).
13160 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
13161
0d42eb3e
SM
131622012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
13163
13164 * vc/vc-mtn.el:
13165 * vc/vc-hg.el:
13166 * vc/vc-git.el:
13167 * vc/vc-dir.el:
13168 * vc/vc-cvs.el:
13169 * vc/vc-bzr.el:
13170 * vc/vc-arch.el:
13171 * vc/vc.el: Replace lexical-let by lexical-binding.
13172 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
13173 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
13174 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
13175
f08ae1c9
CY
131762012-04-26 Chong Yidong <cyd@gnu.org>
13177
8b71081d
CY
13178 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
13179 (diff-mode-shared-map): Bind it to / and [remap undo].
13180
f08ae1c9
CY
13181 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
13182 (ediff-window-setup-function): Use it as the default, to set up
13183 windows based on whether the current frame is graphical (Bug#2138).
13184 (ediff-choose-window-setup-function-automatically): Make obsolete.
13185
13186 * vc/ediff-init.el: Always define ediff-pixel-width/height.
13187
ef24141c
SM
131882012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
13189
cc356a5d
SM
13190 * ffap.el: Remove old code for obsolete package.
13191 (ffap-complete-as-file-p): Remove.
13192
b4ff4f1f
SM
13193 Use completion-table-with-quoting for comint and pcomplete.
13194 * comint.el (comint--unquote&requote-argument)
13195 (comint--unquote-argument, comint--requote-argument): New functions.
13196 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
13197 (comint-quote-filename): Use regexp-opt-charset.
13198 (comint--common-suffix, comint--common-quoted-suffix)
13199 (comint--table-subvert): Remove.
13200 (comint-unquote-function, comint-requote-function): New vars.
13201 (comint--complete-file-name-data): Use them with
13202 completion-table-with-quoting.
13203 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
13204 * pcomplete.el (pcomplete-arg-quote-list)
13205 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
13206 (pcomplete-unquote-argument-function): Default to non-nil.
13207 (pcomplete-unquote-argument): Simplify.
13208 (pcomplete--common-quoted-suffix): Remove.
13209 (pcomplete-requote-argument-function): New var.
13210 (pcomplete--common-suffix): New function.
13211 (pcomplete-completions-at-point): Use completion-table-with-quoting
13212 and completion-table-subvert.
13213
79c4eeb4
SM
13214 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
13215 (minibuffer--double-dollars): Preserve properties.
13216 (completion--sifn-requote): New function.
13217 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
13218
ef24141c
SM
13219 * minibuffer.el: Add support for completion of quoted/escaped data.
13220 (completion-table-with-quoting, completion-table-subvert): New funs.
13221 (completion--twq-try, completion--twq-all): New functions.
13222 (completion--nth-completion): New function.
13223 (completion-try-completion, completion-all-completions): Use it.
13224
784e7d6e
LL
132252012-04-25 Leo Liu <sdl.web@gmail.com>
13226
dd2ac746
SM
13227 * progmodes/python.el (python-pdbtrack-get-source-buffer):
13228 Use compilation-message if available to find real filename.
784e7d6e 13229
07875ee7
CY
132302012-04-25 Chong Yidong <cyd@gnu.org>
13231
13232 * vc/diff-mode.el (diff-setup-whitespace): New function.
13233 (diff-mode): Use it.
13234
13235 * vc/diff.el (diff-sentinel):
13236 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
13237 Whitespace mode variables based on diff style (Bug#8612).
13238
5055880d
LL
132392012-04-25 Leo Liu <sdl.web@gmail.com>
13240
daf75653
LL
13241 * progmodes/python.el (python-send-region): Add suffix .py to the
13242 temp file.
13243
5055880d
LL
13244 * files.el (auto-mode-alist): Use javascript-mode instead.
13245
db9b177b
AH
132462012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
13247
ef24141c 13248 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b 13249
090bd7cb 13250 * net/soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 13251 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 13252 references, see Bug#9.
ef24141c 13253 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 13254 when receiving a fault reply.
ef24141c 13255 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b 13256
090bd7cb 13257 * net/soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 13258 (soap-inspect-simple-type): New function.
db9b177b 13259
090bd7cb 13260 * net/soap-client.el (soap-simple-type): New struct.
db9b177b 13261 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
13262 (soap-decode-basic-type, soap-encode-basic-type):
13263 support unsignedInt and double basic types.
db9b177b 13264 (soap-resolve-references-for-simple-type)
ef24141c
SM
13265 (soap-parse-simple-type, soap-encode-simple-type): New function.
13266 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b 13267
090bd7cb 13268 * net/soap-client.el (soap-default-xsd-types)
ef24141c
SM
13269 (soap-default-soapenc-types): Add integer, byte and anyURI types.
13270 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
13271 the local name of "soapenc:Array".
13272 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
db9b177b
AH
13273 decoding integer, byte and anyURI xsd types.
13274
1fc6097b
CY
132752012-04-25 Chong Yidong <cyd@gnu.org>
13276
13277 * cus-edit.el (custom-buffer-create-internal): Update header text.
13278
afc6df87
EZ
132792012-04-25 Eli Zaretskii <eliz@gnu.org>
13280
13281 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
13282 settings on 'system-type', not on 'window-system'. On MS-Windows,
13283 set interactive-mode on in GDB.
13284
dfbd787f
SM
132852012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
13286
13287 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
13288 (ruby-syntax-propertize-regexp): Remove.
13289 (ruby-syntax-propertize-function): Split regexp into chunks.
13290 Match following code directly.
13291
85222d44
DG
132922012-04-24 Dmitry Gutov <dgutov@yandex.ru>
13293
51a8ea2a
DG
13294 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
13295 (ruby-syntax-propertize-regexp): New function.
13296 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
13297 by a special keyword.
13298
85222d44
DG
13299 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
13300 (ruby-syntax-general-delimiters-goto-beg)
13301 (ruby-syntax-propertize-general-delimiters): New functions.
13302 (ruby-syntax-propertize-function): Use them to handle GDL.
13303 (ruby-font-lock-keywords): Move old handling of GDL...
13304 (ruby-font-lock-syntactic-keywords): .. to here.
13305 (ruby-calculate-indent): Adjust indentation for GDL.
13306
b613912b
MA
133072012-04-24 Michael Albinus <michael.albinus@gmx.de>
13308
b5380639
MA
13309 * notifications.el (top): Remove unneeded declarations.
13310 (notifications-specification-version): Change to "1.2".
e43042fe 13311 (notifications-interface, notifications-notify-method)
b613912b
MA
13312 (notifications-close-notification-method): Fix docstring.
13313 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
13314 (notifications-notify): Add :action-items, :resident and
13315 :transient hints. Change "image_data" to "image-data" and
13316 "image_path" to "image-path".
b613912b
MA
13317 (notifications-get-capabilities): New defun.
13318
257440aa
LL
133192012-04-24 Leo Liu <sdl.web@gmail.com>
13320
13321 * progmodes/python.el: Move hideshow setup to the end.
13322
b1bac16e
MR
133232012-04-24 Martin Rudalics <rudalics@gmx.at>
13324
13325 * window.el (handle-select-window): Clear echo area since this is
13326 no more done by read_char (Bug#11304).
13327
d81bd059
SM
133282012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
13329
13330 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
13331 and `/ M' to filter-derived-mode.
13332 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
13333 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
13334 (ibuffer-mark-by-mode): Use default rather than initial-input.
13335 (ibuffer-filter-by-derived-mode): Autoload and require-match.
13336
c4cf6d91
IA
133372012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
13338
13339 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
13340 (ibuffer-filter-by-derived-mode): New filter.
13341 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
13342
7511ded8
CY
133432012-04-23 Andreas Politz <politza@fh-trier.de>
13344
13345 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
13346
775c916b
CY
133472012-04-23 Chong Yidong <cyd@gnu.org>
13348
13349 * cus-edit.el (customize-apropos, customize-apropos-options):
13350 Disable matching of non-option variables (Bug#11176).
13351 (customize-option, customize-option-other-window)
13352 (customize-changed-options): Doc fix.
13353 (customize-apropos-options, customize-apropos-faces)
13354 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
13355
13356 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 13357 Fix word list splitting (Bug#11132).
46c71e23
CY
13358 (apropos-symbol, apropos-keybinding, apropos-label)
13359 (apropos-property, apropos-function-button)
13360 (apropos-variable-button, apropos-misc-button): New faces.
13361 (apropos-symbol-face, apropos-keybinding-face)
13362 (apropos-label-face, apropos-property-face, apropos-match-face):
13363 Variables removed (Bug#8396).
13364 (apropos-library-button, apropos-format-plist, apropos-print)
13365 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 13366
2df41f9c
MA
133672012-04-23 Michael Albinus <michael.albinus@gmx.de>
13368
13369 * net/xesam.el (xesam-mode-map): Use let-bound map in
13370 initialization. (Bug#11292)
13371
da00640a
AM
133722012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13373
13374 Preserve ispell session localwords when switching back to
13375 original buffer.
13376
090bd7cb
JB
13377 * textmodes/ispell.el (ispell-buffer-session-localwords):
13378 New buffer-local variable to hold buffer session localwords.
ed9265fc 13379 (ispell-kill-ispell): Add option 'clear to delete session
da00640a
AM
13380 localwords.
13381 (ispell-command-loop, ispell-change-dictionary)
13382 (ispell-buffer-local-words): Preserve session localwords when
13383 needed.
13384
090bd7cb
JB
13385 * textmodes/flyspell.el (flyspell-process-localwords)
13386 (flyspell-do-correct): Preserve session localwords when needed.
da00640a 13387
f621ccf5
AM
133882012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13389
090bd7cb
JB
13390 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
13391 using obsolete `translation-table-for-input'.
ef24141c
SM
13392 (ispell-word, ispell-process-line, ispell-complete-word):
13393 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 13394
c2d1019e
CY
133952012-04-22 Chong Yidong <cyd@gnu.org>
13396
13397 * cus-edit.el (custom-variable-menu)
13398 (custom-variable-reset-saved, custom-face-menu)
13399 (custom-face-reset-saved): If there is no saved value, make the
13400 "reset-saved" operation bring back the default (Bug#9509).
13401 (custom-face-state): Properly detect themed faces.
13402
eeddc531
CY
13403 * faces.el (face-spec-set): Stop supporting deprecated form of
13404 third arg.
13405
dcbf5805
MA
134062012-04-22 Michael Albinus <michael.albinus@gmx.de>
13407
13408 Move functions from C to Lisp. Make non-blocking method calls
13409 the default. Implement further D-Bus standard interfaces.
13410
ef24141c
SM
13411 * net/dbus.el (dbus-message-internal): Declare function.
13412 Remove unneeded function declarations.
dcbf5805
MA
13413 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
13414 (dbus-message-type-method-return, dbus-message-type-error)
13415 (dbus-message-type-signal): Declare variables. Remove local
13416 definitions.
13417 (dbus-interface-dbus, dbus-interface-peer)
13418 (dbus-interface-introspectable, dbus-interface-properties)
13419 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
13420 Adapt docstring.
13421 (dbus-interface-objectmanager): New defconst.
13422 (dbus-call-method, dbus-call-method-asynchronously)
13423 (dbus-send-signal, dbus-method-return-internal)
13424 (dbus-method-error-internal, dbus-register-service)
13425 (dbus-register-signal, dbus-register-method): New defuns, moved
13426 from dbusbind.c
13427 (dbus-call-method-handler, dbus-setenv)
ef24141c
SM
13428 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
13429 New defuns.
dcbf5805
MA
13430 (dbus-call-method-non-blocking): Make it an obsolete function.
13431 (dbus-unregister-object, dbus-unregister-service)
13432 (dbus-handle-event, dbus-register-property)
13433 (dbus-property-handler): Obey the new structure of
13434 `bus-registered-objects'.
13435 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
13436 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
13437 Use `dbus-call-method'.
13438
cf20dee0
CY
134392012-04-22 Chong Yidong <cyd@gnu.org>
13440
13441 * cus-edit.el (custom-commands, custom-reset-menu)
13442 (Custom-reset-standard): Tweak labels.
13443 (custom-reset-button-menu): Change default to t.
13444 (custom-buffer-create-internal): For the custom-reset-button-menu
13445 case, put the revert button first.
13446 (custom-group-subtitle): New face.
13447 (custom-group-value-create): Align docstring to a specific column.
13448
13449 * wid-edit.el (widget-documentation-link-add): Don't handle
13450 indentation in this function.
13451 (widget-documentation-string-indent-to): New function.
13452 (widget-documentation-string-value-create): Use it.
13453
13454 * autorevert.el (auto-revert):
13455 * epg-config.el (epg):
13456 * ibuffer.el (ibuffer):
13457 * mpc.el (mpc):
13458 * ses.el (ses):
13459 * eshell/eshell.el (eshell):
13460 * net/ange-ftp.el (ange-ftp):
13461 * progmodes/ebnf2ps.el (postscript):
13462 * progmodes/flymake.el (flymake):
13463 * progmodes/prolog.el (prolog):
13464 * progmodes/verilog-mode.el (verilog-mode):
13465 * progmodes/which-func.el (which-func):
13466 * term/xterm.el (xterm):
13467 * textmodes/picture.el (picture):
13468 * textmodes/tildify.el (tildify):
13469 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
13470 customization buffers.
13471
583e23bd
AM
134722012-04-22 Alan Mackenzie <acm@muc.de>
13473
13474 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
13475 Adding a ) can hide the resulting (..) from searches. Fix it.
13476 Bound the backward search to the position of the existing (.
13477
7dd51bf1
JB
134782012-04-21 Juanma Barranquero <lekktu@gmail.com>
13479
13480 * progmodes/verilog-mode.el (verilog-mode): Check whether
13481 which-func-modes is t before adding verilog-mode.
13482 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
13483
d64a438f
LL
134842012-04-21 Leo Liu <sdl.web@gmail.com>
13485
7dd51bf1 13486 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 13487
081e8d65
MV
134882012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
13489
13490 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
13491 filling of the last column of a table (Bug#5635).
13492 (woman-find-next-control-line): New arg, specifying an additional
13493 regexp component for the control line.
13494 (woman2-roff-buffer): Use it.
13495 (woman-break-table): New function.
13496 (woman2-TS): Use it.
13497
134982012-04-21 Chong Yidong <cyd@gnu.org>
13499
13500 * woman.el (woman-set-buffer-display-table, woman-decode-region)
13501 (woman-horizontal-escapes, woman-negative-vertical-space)
13502 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
13503 (WoMan-warn-ignored): Use ?\s instead of ?\ .
13504
ed571ccb
SM
135052012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
13506
13507 * minibuffer.el (completion-file-name-table): Complete user names.
13508
39773899
LL
135092012-04-20 Leo Liu <sdl.web@gmail.com>
13510
13511 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
13512 and pcase-let*.
13513
de6ff46d
CY
135142012-04-20 Chong Yidong <cyd@gnu.org>
13515
13516 * server.el (server-execute): Respect initial-buffer-choice if it
13517 is a string and there are no files to open (Bug#2825).
13518 (server-create-window-system-frame, server-create-tty-frame):
13519 Don't switch buffers here.
2d0e8e61
CY
13520 (server-process-filter): Only try to open a window system frame if
13521 compiled with graphical support (Bug#8314).
de6ff46d 13522
54071013
DN
135232012-04-20 Dan Nicolaescu <dann@gnu.org>
13524
13525 * battery.el (battery-echo-area-format): Display remaining time
13526 for sysfs backend too (Bug#11269).
13527 (battery-linux-sysfs): Fix conditional for the charge.
13528
f30d612a
CY
135292012-04-20 Chong Yidong <cyd@gnu.org>
13530
c07a4c0b 13531 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
13532 (gdb-inferior-io--init-proc): New function.
13533 (gdb-init-1): Use it.
13534 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
13535 responsible for allocating a new pty and hooking it to gdb when
13536 the old pty gets an EIO due to process exit.
13537 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
13538 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
13539 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
13540
2116e93c
EZ
135412012-04-20 Eli Zaretskii <eliz@gnu.org>
13542
13543 * window.el (window-min-size, window-sizable, window-min-delta)
13544 (window-max-delta, window--resizable, window-resizable)
13545 (window-total-size, window-full-height-p, window-full-width-p)
13546 (window-in-direction, window--resize-mini-window, window-resize)
13547 (window--resize-child-windows-normal)
13548 (window--resize-child-windows, window--resize-siblings)
13549 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 13550 (enlarge-window, shrink-window): Doc fixes.
2116e93c 13551
c07a4c0b 135522012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 13553
ef24141c
SM
13554 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
13555 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
13556 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
13557 pty process (Bug#11273).
13558 (gdb-update): New arg to suppress talking to the gdb process.
13559 (gdb-done-or-error): Use it.
13560 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
13561 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
13562 sentinel not being called.
13563
13564 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
13565
d02766ab
CY
13566 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
13567
c07a4c0b 135682012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
13569
13570 * net/network-stream.el (open-network-stream): Doc fix.
13571
c07a4c0b 135722012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
13573
13574 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
13575
c07a4c0b 135762012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
13577
13578 Ensure searching for keywords is case sensitive.
13579
13580 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
13581 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
13582 (c-defun-name, c-mark-function, c-cpp-define-name)
13583 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 13584 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 13585
ef24141c
SM
13586 * progmodes/cc-mode.el (c-font-lock-fontify-region):
13587 Bind case-fold-search to nil.
f0f6bc35 13588
c07a4c0b 135892012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
13590
13591 * mail/sendmail.el (mail-bury): Call return action with the right
13592 Rmail buffer (Bug#11242).
13593
9a864fa2
CY
13594 * server.el (server-process-filter): Handle corner case where both
13595 tty and nowait options are present (Bug#11102).
13596
539aa513
EZ
135972012-04-20 Eli Zaretskii <eliz@gnu.org>
13598
13599 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
13600 (top level): Put into the executable the ident-style '$Id:' tag on
13601 windows-nt as well.
539aa513 13602
cfc7d5da
SM
136032012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
13604
13605 * electric.el (electric-indent-post-self-insert-function): Check that
13606 electric-indent-mode is enabled in current buffer.
13607
5b01685c
JB
136082012-04-19 Juanma Barranquero <lekktu@gmail.com>
13609
13610 * imenu.el (imenu-progress-message): Restore; it is "used" in
13611 erc/erc-imenu.el and net/snmp-mode.el.
13612
4d6769e1
JB
136132012-04-19 Juanma Barranquero <lekktu@gmail.com>
13614
13615 * avoid.el (mouse-avoidance-mode): Mark unused arg.
13616 (mouse-avoidance-nudge-mouse): Remove unused binding.
13617
13618 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
13619
13620 * descr-text.el (describe-char):
13621 * progmodes/python.el (python-describe-symbol):
13622 Don't call `toggle-read-only', set `buffer-read-only'.
13623
13624 * imenu.el (imenu-default-goto-function): Mark unused args.
13625 (imenu-progress-message): Remove obsolete macro; all callers changed.
13626
13627 * subr.el (keymap-canonicalize): Remove unused binding.
13628 (read-passwd): Mark unused arg.
13629
13630 * tutorial.el (tutorial--display-changes): Remove unused binding.
13631 (tutorial--save-tutorial-to): Remove unused variable.
13632
13633 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
13634 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
13635 (package-generate-autoloads, package-menu--generate)
13636 (package-menu--find-upgrades): Remove unused bindings.
13637
13638 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
13639 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
13640 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
13641 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
13642 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
13643 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
13644 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
13645 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
13646 (cua-delete-char-rectangle): Mark unused args.
13647 (cua-align-rectangle): Remove unused binding.
13648
13649 * mail/rmail.el (compilation--message->loc)
13650 (epa--find-coding-system-for-mime-charset): Declare.
13651
13652 * net/dbus.el (dbus-register-service): Declare.
13653 (dbus-name-owner-changed-handler): Remove unused binding.
13654
13655 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
13656 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
13657 (nxml-scan-backward-within): Mark unused arg.
13658 (nxml-dynamic-markup-word): Remove unused binding.
13659
13660 * mouse.el (mouse-menu-major-mode-map):
13661 * emacs-lisp/authors.el (authors-scan-change-log)
13662 (authors-add-to-author-list):
13663 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
13664 * emacs-lisp/smie.el (smie-auto-fill):
13665 * mail/sendmail.el (mail-bury):
13666 * mail/unrmail.el (unrmail):
13667 * net/tls.el (open-tls-stream):
13668 * textmodes/picture.el (picture-mouse-set-point):
13669 Remove unused bindings.
13670
8c8fc5df
MA
136712012-04-19 Michael Albinus <michael.albinus@gmx.de>
13672
13673 * net/tramp.el (tramp-action-password): Let-bind
13674 `enable-recursive-minibuffers' to t.
13675
a77b0ac9
SS
136762012-04-18 Sam Steingold <sds@gnu.org>
13677
13678 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
13679 instead of 'string to accommodate values like [f11].
13680 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
13681 * progmodes/gdb-mi.el: Likewise.
13682
12a106a9
LL
136832012-04-18 Leo Liu <sdl.web@gmail.com>
13684
13685 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
13686 current buffer.
13687 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
13688 LOCAL is nil.
13689
bc6494ef
CY
136902012-04-18 Chong Yidong <cyd@gnu.org>
13691
13692 * simple.el (line-move): Use forward-line if in batch mode
13693 (Bug#11053).
13694
c09c46b2
CS
136952012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
13696
13697 * files.el (after-find-file): Do not try to add a final newline if
13698 the buffer is read-only (Bug#11156).
13699
5f6530ea
RS
137002012-04-17 Richard Stallman <rms@gnu.org>
13701
13702 * mail/rmail.el (rmail-start-mail):
13703 Pass (rmail-mail-return...) for the return-action.
13704 Pass (rmail-yank-current-message...) for the yank-action.
13705 (rmail-yank-current-message): New function.
13706 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
13707 (rmail-reply): Likewise.
13708 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
13709
13710 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 13711 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
13712 buffer, not newbuf.
13713
197b6f3c
JB
137142012-04-17 Juanma Barranquero <lekktu@gmail.com>
13715
13716 * server.el (server-ensure-safe-dir): Simplify.
13717
2311d8e5 137182012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 13719
2311d8e5
GM
13720 * emacs-lisp/smie.el: Provide smarter auto-filling.
13721 (smie-auto-fill): New function.
13722 (smie-setup): Use it.
98fb480e 13723
2311d8e5
GM
13724 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
13725
137262012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
13727
13728 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
13729 (comment-indent): Use it.
13730
2311d8e5 137312012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
13732
13733 * ses.el: The overall change is to add cell renaming, that is
13734 setting fancy names for cell symbols other than name matching
13735 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 13736 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 13737 (ses-create-cell-variable): New defun.
2311d8e5 13738 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
13739 (ses-relocate-formula): Relocate formulas only for cells the
13740 symbols of which are not renamed, i.e. symbols whose names do not
13741 match regexp "\\`[A-Z]+[0-9]+\\'".
13742 (ses-relocate-all): Relocate values only for cells the symbols of
13743 which are not renamed.
13744 (ses-load): Create cells variables as the (ses-cell ...) are read,
13745 in order to check row col consistency with cell symbol name only
13746 for cells that are not renamed.
13747 (ses-replace-name-in-formula): New defun.
13748 (ses-rename-cell): New defun.
4bdf2ad2 13749
fc72b15c
PO
137502012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
13751
13752 * progmodes/perl-mode.el (perl-indent-parens-as-block):
13753 New option (bug#11118).
13754 (perl-calculate-indent): Respect it.
13755
12e10e61
GM
137562012-04-17 Glenn Morris <rgm@gnu.org>
13757
13758 * dired-aux.el (dired-mark-read-string): Doc fix.
13759
30009afd
DA
137602012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
13761
13762 * dired-aux.el (dired-mark-read-string): Offer optional completion.
13763 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
13764
41f03f4d
GM
137652012-04-17 Glenn Morris <rgm@gnu.org>
13766
13767 * mouse.el (mouse-drag-track):
13768 * speedbar.el (speedbar-frame-mode):
13769 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
13770
f45f90f3
LL
137712012-04-16 Leo Liu <sdl.web@gmail.com>
13772
13773 * progmodes/python.el: Trivial cleanup.
13774
94ee8db5
GM
137752012-04-16 Glenn Morris <rgm@gnu.org>
13776
121b8917
GM
13777 * vc/vc.el (vc-string-prefix-p):
13778 * vc/pcvs-util.el (cvs-string-prefix-p):
13779 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
13780 * mpc.el (mpc-string-prefix-p):
13781 Make all of these into obsolete aliases for string-prefix-p.
13782 Update callers.
13783 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
13784
1197ecfa
GM
13785 * textmodes/two-column.el: Move custom options to the start.
13786 (frame-width): Remove compat definition.
13787 (2C-associate-buffer, 2C-dissociate):
13788 Use with-current-buffer rather than save-excursion.
13789 (2C-dissociate): Force a mode-line update.
13790 (2C-autoscroll): Use ignore-errors.
13791
099e7202
GM
13792 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
13793 Autoload trivia.
13794
bf350d6a
GM
13795 * emacs-lisp/cl-extra.el (*random-state*):
13796 Remove unnecessary declaration.
13797
0e829eab
GM
13798 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
13799
e3ad7552
GM
13800 * play/cookie1.el (cookie-snarf):
13801 Give an explicit error if input file cannot be read.
13802
68892d27
GM
13803 * play/yow.el (yow-file): Use expand-file-name rather than concat.
13804
20f0c46d
GM
13805 * progmodes/perl-mode.el (c-macro-expand):
13806 Remove unnecessary autoload (it is in loaddefs.el).
13807
5a0978ce
GM
13808 * textmodes/picture.el (picture-desired-column)
13809 (picture-update-desired-column): Convert comments to doc-strings.
13810 (picture-substitute): Remove function.
13811 (picture-mode-map): Initialize in the defvar.
13812
6b955486
GM
13813 * woman.el: Remove eval-after-load for tar-mode.
13814 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
13815 (woman-tar-extract-file): Autoload it.
13816
94ee8db5
GM
13817 * frame.el (automatic-hscrolling): Make this alias obsolete.
13818
177eca34
AM
138192012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13820
090bd7cb 13821 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 13822 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
13823 (ispell-dictionary-base-alist): Revert to original XEmacs
13824 friendly version for default. [:alpha:] will be added in
090bd7cb 13825 `ispell-set-spellchecker-params' if needed.
177eca34 13826
c505aaeb
CY
138272012-04-16 Chong Yidong <cyd@gnu.org>
13828
b19dd9d1 13829 * image.el (imagemagick--file-regexp): New variable.
c505aaeb
CY
13830 (imagemagick-register-types): Use it.
13831 (imagemagick-types-inhibit): Add :set function. Allow new value
13832 of t to inhibit all types.
13833
13834 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
13835 so we can preload it.
13836
13837 * loadup.el (fboundp): Preload regexp-opt, needed by
13838 imagemagick-register-types.
13839
60efac0f
CY
138402012-04-15 Chong Yidong <cyd@gnu.org>
13841
13842 * frame.el (scrolling): Remove nearly unused customization group.
13843
13844 * scroll-all.el (scroll-all-mode): Move to windows group.
13845
5dd1713e
CY
138462012-04-15 Chong Yidong <cyd@gnu.org>
13847
13848 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
13849
e6fd457e
CY
138502012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
13851
13852 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 13853 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 13854
e153c136
GM
138552012-04-15 Glenn Morris <rgm@gnu.org>
13856
13857 * simple.el (process-file-side-effects): Doc fix.
13858
e6fd457e 138592012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
13860
13861 * international/mule-cmds.el (set-language-environment): Doc fix.
13862
3603c3b1
JB
138632012-04-14 Juanma Barranquero <lekktu@gmail.com>
13864
13865 * server.el (server-auth-key, server-generate-key): Doc fixes.
13866 (server-get-auth-key): Doc fix. Use `string-match-p'.
13867 (server-start): Reflow docstring.
13868
e6de100c
LI
138692012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
13870
13871 * server.el (server-generate-key): `called-interactively-p'
13872 requires a parameter.
13873
29734c21
MN
138742012-04-14 Michal Nazarewicz <mina86@mina86.com>
13875
13876 * server.el (server-auth-key): New variable.
75f1671a 13877 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
13878 (server-start): Use the new variable and functions to allow
13879 setting a permanent server key (bug#9423).
13880
d65c9521
LL
138812012-04-14 Leo Liu <sdl.web@gmail.com>
13882
13883 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
13884
5ae255c7
PE
138852012-04-14 Paul Eggert <eggert@cs.ucla.edu>
13886
13887 Spelling fixes.
13888 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
13889 Emacs uses American spelling.
13890
d5e6342e
JB
138912012-04-14 Juanma Barranquero <lekktu@gmail.com>
13892
13893 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
13894 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
13895 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
13896 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
13897
ab036cd7
SM
138982012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
13899
13900 * progmodes/which-func.el (which-func-modes): Change default.
13901
35dc09a1 139022012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
13903
13904 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
13905 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
13906
35dc09a1 139072012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
13908
13909 * custom.el (custom-theme-set-variables): Doc fix.
13910
35dc09a1 139112012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
13912
13913 * international/mule.el (set-auto-coding-for-load): Doc fix.
13914
35dc09a1 139152012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 13916
35dc09a1
GM
13917 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
13918 imenu work again for Objective C Mode. Correct the *-index values,
13919 these having been disturbed by a previous change in 2011-08.
57f845ee 13920
0de3da9f
AM
13921 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
13922 Correct two search limits.
13923
35dc09a1 139242012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
13925
13926 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
13927
35dc09a1 139282012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
13929
13930 * international/characters.el: Fix sorting.
13931
35dc09a1 139322012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
13933
13934 * international/characters.el: Add more missing Latin case pairs.
13935
35dc09a1 139362012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
13937
13938 * files.el (dir-locals-set-class-variables): Doc fix.
13939
35dc09a1 139402012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 13941
3f1b5bf8
EZ
13942 * international/characters.el: Add set-case-syntax-pair call for
13943 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
13944 counterpart. (Bug#11209)
13945
9f847f41
EZ
13946 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
13947
35dc09a1 139482012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
13949
13950 * calendar/holidays.el (calendar-check-holidays): Doc fix.
13951
35dc09a1 139522012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 13953
35dc09a1
GM
13954 * textmodes/ispell.el (ispell-dictionary-base-alist):
13955 Add data for Hebrew.
e2627d21 13956
35dc09a1 139572012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 13958
35dc09a1
GM
13959 * net/rcirc.el (rcirc-cmd-quit):
13960 Revert 2012-03-18 change (Bug#11192).
5c14e333 13961
35dc09a1 139622012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
13963
13964 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
13965
35dc09a1 139662012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 13967
4517fe3a
SM
13968 * minibuffer.el (completion-in-region-mode-map):
13969 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 13970
b472a594
VD
139712012-04-13 Vivek Dasmohapatra <vivek@etla.org>
13972
13973 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
13974
09b95ce3
MY
139752012-04-13 Masatake YAMATO <yamato@redhat.com>
13976
13977 * minibuffer.el (minibuffer-local-filename-syntax): New variable
13978 to allow `C-M-f' and `C-M-b' to move to the nearest path
13979 separator (bug#9511).
13980
4b63a9ca
LI
139812012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
13982
13983 * avoid.el: Require cl when compiling. And also move the
13984 `provide' to the end.
13985
7b55b8bf
TV
139862012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13987
13988 * avoid.el (mouse-avoidance-banish-position): New variable.
13989 (mouse-avoidance-banish-destination): Use it (bug#10165).
13990
adedaa1f
LL
139912012-04-13 Leo Liu <sdl.web@gmail.com>
13992
13993 * progmodes/which-func.el (which-func-modes): Add objc-mode.
13994
70e74021
KB
139952012-04-13 Ken Brown <kbrown@cornell.edu>
13996
13997 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 13998 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
13999 (browse-url-filename-alist): For the same reason, don't modify
14000 file:// URLs on Cygwin.
14001
e75e89ba
SM
140022012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
14003
14004 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
14005 the region on shift if the binding is already shifted (bug#11221).
14006
82f289a4
GM
140072012-04-12 Glenn Morris <rgm@gnu.org>
14008
14009 * mail/mailpost.el: Move to obsolete/.
14010
d333dc4c
DA
140112012-04-12 Drew Adams <drew.adams@oracle.com>
14012
14013 * imenu.el (imenu--generic-function): Ignore invisible definitions
14014 (bug#10123).
14015
0d15b5ba
VD
140162012-04-12 Vivek Dasmohapatra <vivek@etla.org>
14017
14018 * hexl.el (hexl-bits): New variable.
14019 (hexl-options): Mention the variable in the doc string.
75f1671a 14020 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 14021 (hexl-mode): Mention the new variable.
75f1671a
JB
14022 (hexl-mode, hexl-current-address, hexl-current-address):
14023 Use the displen.
0d15b5ba
VD
14024 (hexl-ascii-start-column): New function.
14025 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
14026 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
14027
64a440db
AM
140282012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
14029
14030 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
14031 '("-i" ENCODING), in 2 separate command-line arguments, to specify
14032 the encoding, as expected by hunspell.
14033
6decb6c2
SM
140342012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
14035
14036 * battery.el (battery--linux-sysfs-regexp): New const.
14037 (battery-status-function): Use it. Remove yeeloong special case.
14038 (battery-yeeloong-sysfs): Remove.
14039 (battery-echo-area-format): Remove yeeloong special case.
14040
088be6fb
SM
140412012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
14042
6622e416
SM
14043 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
14044 Reported by Noah Friedman.
14045
088be6fb
SM
14046 * subr.el (read-passwd): Use read-string.
14047
b49f886e
LMI
140482012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
14049
14050 * vcursor.el (vcursor-move): Increase the priority of the overlay
14051 (bug#9663).
14052
a63067fc
DD
140532012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
14054
14055 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
14056 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
14057
ac3cf14a
WS
140582012-04-11 William Stevenson <yhvh2000@gmail.com>
14059
14060 * textmodes/artist.el (artist-mode): Convert artist-mode to use
14061 define-minor-mode (bug#10760).
14062
c4fc691b 140632012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 14064
4d6769e1 14065 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
14066 that directories matching `grep-find-ignored-files' won't be
14067 pruned (bug#10351).
14068
af23e2e5
CY
140692012-04-11 Chong Yidong <cyd@gnu.org>
14070
14071 * startup.el (command-line): Remove support for long-obsolete
14072 variable font-lock-face-attributes.
14073
ab7ce8c1
GM
140742012-04-11 Glenn Morris <rgm@gnu.org>
14075
14076 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
14077
de8c03dc
SM
140782012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
14079
14080 * window.el (window--state-get-1): Obey window-point-insertion-type.
14081
050cc68b
LB
140822012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
14083
14084 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
14085 to previous function when point is on the first character of a
75f1671a 14086 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 14087
a38c310c
GM
140882012-04-11 Glenn Morris <rgm@gnu.org>
14089
effed0c2
GM
14090 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
14091 not just file-errors.
14092
a38c310c
GM
14093 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
14094 (vc-bzr-sha1): Use internal sha1.
14095
0221e323
SM
140962012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
14097
14098 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
14099
43956923
SG
141002012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
14101
14102 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
14103 that start in the middle of the line (bug#10496).
14104
6a8c9eaf
DN
141052012-04-10 Dan Nicolaescu <dann@gnu.org>
14106
14107 * battery.el (battery-linux-proc-acpi): Only one battery is
14108 discharged at a time, but that seems to confuse battery.el when
14109 computing `rate-type' for the battery not being discharged
14110 (bug#10332).
14111
1930bf5d
SM
141122012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
14113
2a718f6f
SM
14114 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
14115
599430d0
SM
14116 * international/quail.el: Use dolist and simplify.
14117 (quail-define-package, quail-update-keyboard-layout)
14118 (quail-define-rules): Use dolist.
14119 (quail-insert-kbd-layout, quail-get-translation): CSE.
14120
a2754b6c
SM
14121 * tmm.el: Use dolist, remove left over hook.
14122 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
14123 Use dolist.
14124 (calendar-load-hook): Don't mess with it.
14125
1930bf5d
SM
14126 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
14127 Use derived-mode-p. Run the diff asynchronously.
14128
9f67961c
LMI
141292012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
14130
14131 * obsolete/mouse-sel.el: Add an Obsolete-since header.
14132
2a8ce227
JB
141332012-04-10 Juanma Barranquero <lekktu@gmail.com>
14134
14135 * misc.el: Display absolute path of loaded DLLs (bug#10424).
14136 (list-dynamic-libraries--loaded): New function.
14137 (list-dynamic-libraries--refresh): Use it.
14138
8f33b5f8
NW
141392012-04-10 Nathan Weizenbaum <nweiz@google.com>
14140
1930bf5d
SM
14141 * progmodes/python.el (python-fill-paragraph):
14142 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
14143 disabled (bug#7018).
14144
b12f0439
L
141452012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
14146
1930bf5d 14147 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
14148 DOS/MS Windows for the Baltic languages. There are still plenty
14149 of texts written in this encoding/codepage (bug#6519).
b12f0439 14150
57c3bd01
GM
141512012-04-10 Glenn Morris <rgm@gnu.org>
14152
14153 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
14154 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
14155
6c3eab30
FA
141562012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
14157
1930bf5d 14158 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
14159 next-line "n" and previous-line "p" in order to make recentf more
14160 consistent with ibuffer, dired or org-mode (bug#9387).
14161
24d78a88
LMI
141622012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
14163
bc72b5d9
LMI
14164 * image.el (put-image): Return the overlay created instead of the
14165 optional input string (bug#7834). Note that this may break code
14166 that is (for some reason or other) depending on `put-image'
14167 returning the string.
14168
bd2dba5a
LMI
14169 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
14170
74beb59f
LMI
14171 * simple.el (zap-to-char): Allow zapping using input methods
14172 (bug#1580).
14173
24d78a88
LMI
14174 * textmodes/fill.el (fill-region): Leave point and mark where they
14175 were before filling (bug#5399).
14176
263f20cd
GM
141772012-04-09 Glenn Morris <rgm@gnu.org>
14178
14179 * version.el (emacs-bzr-get-version):
14180 Handle lightweight checkouts of local branches.
14181
58d1f797
AS
141822012-04-09 Andreas Schwab <schwab@linux-m68k.org>
14183
263f20cd 14184 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 14185
b4d3bc10
CY
141862012-04-09 Chong Yidong <cyd@gnu.org>
14187
14188 * custom.el (custom-variable-p): Return nil for non-symbol
14189 arguments instead of signaling an error.
14190 (user-variable-p): Obsolete alias for custom-variable-p.
14191
14192 * apropos.el (apropos-variable):
14193 * files-x.el (read-file-local-variable):
14194 * simple.el (set-variable):
14195 * woman.el (woman-mini-help):
14196 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
14197
fd06db5d
GM
141982012-04-09 Glenn Morris <rgm@gnu.org>
14199
e5fcdb5e
GM
14200 * startup.el (normal-top-level): Don't look for leim-list.el
14201 in places where it will not be found. (Bug#910)
14202
fd06db5d
GM
14203 * international/mule-cmds.el (set-default-coding-systems):
14204 * files.el (normal-mode):
14205 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
14206 This function was removed with ucs-tables.el in 2008.
14207
b39bb7e1
EZ
142082012-04-08 Eli Zaretskii <eliz@gnu.org>
14209
14210 * textmodes/ispell.el (ispell-check-version): For hunspell, set
14211 ispell-encoding8-command to "-i", without a trailing space.
14212 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
14213 separate command-line arguments, to specify the encoding, since
14214 that's how hunspell expects it.
14215
5c5b8e23
GM
142162012-04-08 Glenn Morris <rgm@gnu.org>
14217
14218 * loadup.el: Load bindings before cus-start.
14219 This reduces somewhat the number of "rogue" settings in emacs -Q.
14220
a1ed8b05
GM
142212012-04-07 Glenn Morris <rgm@gnu.org>
14222
14223 * version.el (emacs-bzr-get-version): New function.
dfae128a 14224 (emacs-bzr-version): New variable.
a1ed8b05
GM
14225 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
14226 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
14227
b142f158
EZ
142282012-04-07 Eli Zaretskii <eliz@gnu.org>
14229
dfae128a
GM
14230 * international/uni-bidi.el, international/uni-category.el:
14231 * international/uni-combining.el, international/uni-decimal.el:
14232 * international/uni-decomposition.el, international/uni-digit.el:
14233 * international/uni-lowercase.el, international/uni-mirrored.el:
14234 * international/uni-name.el, international/uni-numeric.el:
14235 * international/uni-titlecase.el, international/uni-uppercase.el:
14236 Update for Unicode 6.1.
b142f158 14237
9078ead6
EZ
142382012-04-07 Eli Zaretskii <eliz@gnu.org>
14239
14240 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
14241
f23d2c7d
LMI
142422012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
14243
14244 * window.el (shrink-window): Mention the `window-min-height'
14245 variable in the doc string.
14246
0a0a3573
BG
142472012-04-05 Bastien Guerry <bzg@altern.org>
14248
14249 * color.el (color-lighten-name): Fix typo.
14250
e5248ac9
SM
142512012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
14252
14253 * server.el (server--on-display-p): New function.
14254 (server--on-display-p): Use it.
14255
a8e4d516 142562012-04-04 Gábor Vida <vidagabor@gmail.com> (tiny change)
b4243e22
GV
14257
14258 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
14259 (bug#11145).
14260
305d9f44
SM
142612012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
14262
14263 * comint.el (comint--common-quoted-suffix): Check string boundary
14264 before comparing (bug#11158).
14265 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
14266
3d439cd1
CY
142672012-04-04 Chong Yidong <cyd@gnu.org>
14268
321cc491
CY
14269 * minibuffer.el (completion-extra-properties): Doc fix.
14270
3d439cd1
CY
14271 * subr.el (delayed-warnings-hook): Doc fix.
14272
2d562c0f
DU
142732012-04-04 Daiki Ueno <ueno@unixuser.org>
14274
14275 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
14276 selection (Bug#11159).
14277 (epa-insert-keys): Inform that the default public key will be
14278 exported if no key is selected.
14279
4443f204
RS
142802012-04-04 Richard Stallman <rms@gnu.org>
14281
14282 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
14283
529c06b6
CY
142842012-04-03 Chong Yidong <cyd@gnu.org>
14285
14286 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
14287 mail-insert-file, not its obsolete alias mail-attach-file.
14288
66b907dc
MA
142892012-04-03 Michael Albinus <michael.albinus@gmx.de>
14290
14291 * notifications.el (notifications-notify): Fix docstring.
14292
c0ea195d
GM
142932012-04-02 Glenn Morris <rgm@gnu.org>
14294
14295 * emacs-lisp/authors.el (authors-aliases): Another addition.
14296
5ca64e00
MA
142972012-04-02 Michael Albinus <michael.albinus@gmx.de>
14298
14299 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
14300 `tramp-compat-call-process' instead of `tramp-local-call-process'.
14301 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
14302
42ee526b
CY
143032012-04-01 Chong Yidong <cyd@gnu.org>
14304
14305 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
14306 Handle root directory properly.
14307 (copy-directory): Caller changed.
14308
14309 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
14310 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
14311
0b021094
GM
143122012-03-31 Glenn Morris <rgm@gnu.org>
14313
40f86458
GM
14314 * term/xterm.el (xterm-extra-capabilities): Doc fix.
14315
7019c177
GM
14316 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
14317
a1daddd6
GM
14318 * calendar/calendar.el (calendar-window-list)
14319 (calendar-hide-window): Restore. (Bug#11140)
14320 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
14321
0b021094
GM
14322 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
14323
40311efc
TV
143242012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14325
14326 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
14327 Check if file is a symlink (Bug#10489).
14328
14329 * files.el (copy-directory): Likewise.
14330
5319014e
CY
143312012-03-30 Chong Yidong <cyd@gnu.org>
14332
14333 * image.el (imagemagick-types-inhibit)
14334 (imagemagick-register-types): Doc fix.
14335
935d1290
AM
143362012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
14337
090bd7cb 14338 * textmodes/ispell.el (ispell-get-extended-character-mode):
ef24141c 14339 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 14340 and treats ~word as ordinary words in pipe mode.
935d1290 14341
61c6e8fd
GM
143422012-03-30 Glenn Morris <rgm@gnu.org>
14343
14344 * tutorial.el (help-with-tutorial): Ensure local variables don't
14345 happen to make the buffer read-only. (Bug#11127)
14346
81fdff00
SM
143472012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
14348
14349 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
14350 (perl-calculate-indent): Return `noindent' in strings.
14351
6e7a6ec0
SS
143522012-03-28 Sam Steingold <sds@gnu.org>
14353
14354 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
14355 instead of the broken adhockery which does not prevent calendar
14356 buffers from being displayed at random after exit.
14357 (calendar-window-list, calendar-hide-window): Remove the broken
14358 adhockery.
14359
fee88ca0
GM
143602012-03-28 Glenn Morris <rgm@gnu.org>
14361
14362 * replace.el (query-replace-map): Doc fix.
14363
38de3354
AS
143642012-03-28 Andreas Schwab <schwab@linux-m68k.org>
14365
14366 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
14367 contents. (Bug#11109)
14368
b973155e
SM
143692012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
14370
14371 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
14372 (bug#11077).
14373 (avl-tree--check, avl-tree--check-node): New funs.
14374
dcb6e7b3
MR
143752012-03-27 Martin Rudalics <rudalics@gmx.at>
14376
14377 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
14378 (switch-to-prev-buffer, switch-to-next-buffer):
14379 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
14380 showing a buffer already is done on the same frame.
14381
b4fa35fa
GM
143822012-03-27 Glenn Morris <rgm@gnu.org>
14383
14384 * startup.el (mail-host-address): Doc fix.
14385
f9210e18
SM
143862012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
14387
14388 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
14389 than 197 variables.
14390
c0bf7753
AF
143912012-03-26 Ami Fischman <ami@fischman.org>
14392
14393 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
14394
33da7b16
GM
143952012-03-26 Glenn Morris <rgm@gnu.org>
14396
02243d9d
GM
14397 * files.el (save-buffers-kill-emacs): Doc fix.
14398
33da7b16
GM
14399 * startup.el (normal-top-level, command-line, command-line-1):
14400 Give them doc strings.
14401
e5a69fd0
EZ
144022012-03-25 Eli Zaretskii <eliz@gnu.org>
14403
14404 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 14405 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 14406
9a69676a
CY
144072012-03-25 Chong Yidong <cyd@gnu.org>
14408
4125cb8b
CY
14409 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
14410 theme if it was previously enabled before (Bug#11031).
14411
dd470960
CY
14412 * cus-theme.el (custom-theme-write-faces): Retrieve current face
14413 spec with custom-face-get-current-spec if its :shown-value is not
14414 determined yet (Bug#9337).
4125cb8b 14415 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 14416
9a69676a
CY
14417 * button.el (button-at): Minor addition to docstring.
14418
6e7e90fa
SL
144192012-03-24 Simon Leinen <simon.leinen@gmail.com>
14420
14421 * vc/vc.el (vc-merge): Fix a prompt.
14422
f06e2758
CY
144232012-03-24 Chong Yidong <cyd@gnu.org>
14424
14425 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
14426 point (Bug#9623).
14427
6e7e90fa
SL
14428 * button.el (button-at): Minor addition to docstring.
14429
b9d0879b
SM
144302012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
14431
14432 * newcomment.el (comment-choose-indent): No space after BOL.
14433
e71cebb3
SS
144342012-03-22 Sam Steingold <sds@gnu.org>
14435
14436 * window.el (switch-to-prev-buffer): Revert last patch because the
14437 bug turned out to be an advertised feature (Elisp manual 28.14).
14438
335aff35
GM
144392012-03-22 Glenn Morris <rgm@gnu.org>
14440
14441 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
14442 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
14443
c676576a
LMI
144442012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
14445
14446 * net/network-stream.el (network-stream-open-starttls): Make error
14447 message under Windows be less misleading.
14448
126f3d39
LW
144492012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
14450
14451 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
14452 understands (bug#9942).
14453
64fee311
CY
144542012-03-22 Chong Yidong <cyd@gnu.org>
14455
14456 * simple.el (end-of-visible-line): Handle return value of
14457 next-single-property-change properly (Bug#9371).
14458
a640d29a
KH
144592012-03-22 Kenichi Handa <handa@m17n.org>
14460
14461 * international/quail.el (quail-insert-kbd-layout): Fix previous
14462 change. To avoid unwanted bidi reordering, use
14463 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
14464
39675016
DG
144652012-03-21 Dmitry Gutov <dgutov@yandex.ru>
14466
14467 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
14468 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
14469 (ruby-beginning-of-indent): Be more careful with the difference
14470 between word-boundary and symbol boundary.
14471 (ruby-mode-syntax-table): Make : a symbol constituent.
14472
0a6934fc 144732012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 14474
3d008e4f
SM
14475 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
14476
0a6934fc
SM
144772012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
14478
af67c9d7
SM
14479 * progmodes/etags.el (tags-completion-at-point-function):
14480 Improve last fix.
14481
1acad97c
SM
14482 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
14483
e298b5da
SS
144842012-03-21 Sam Steingold <sds@gnu.org>
14485
14486 * progmodes/etags.el (tags-completion-at-point-function):
14487 Avoid the error when point is inside the pattern.
14488
91d82a70
JY
144892012-03-21 John Yates <john@yates-sheets.org> (tiny change)
14490
14491 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
14492 line (Bug#10855).
14493
69188b79
CY
144942012-03-21 Drew Adams <drew.adams@oracle.com>
14495
14496 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
14497
99fc91fe
AK
144982012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
14499
14500 * ido.el (ido-set-current-directory, ido-read-internal)
14501 (ido-choose-completion-string, ido-completion-help): Handle nil
14502 value of ido-completion-buffer (Bug#11008).
14503
087bbb4c
SS
145042012-03-21 Sam Steingold <sds@gnu.org>
14505
14506 * window.el (switch-to-prev-buffer): Do not switch to a visible
14507 window previous buffer, just like with the frame previous buffers.
14508
fb5b8aca
CY
145092012-03-21 Chong Yidong <cyd@gnu.org>
14510
14511 * faces.el (make-face, make-empty-face, copy-face):
14512 * face-remap.el (face-remap-add-relative, face-remap-set-base):
14513 Doc fixes.
14514
dc9924b8
SM
145152012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
14516
14517 * wid-edit.el (widget-complete-field): Remove (bug#11051).
14518 (widget-complete): Remove broken use of it.
14519
f0bcceb9
CY
145202012-03-20 Chong Yidong <cyd@gnu.org>
14521
dc9924b8
SM
14522 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
14523 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
14524 characters.
14525
ee52ebf3
TH
145262012-03-20 Tassilo Horn <tassilo@member.fsf.org>
14527
14528 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
14529 to draw rectangles, not squares. (Regression introduced by revno
14530 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
14531
4c5779ab
CY
145322012-03-18 Chong Yidong <cyd@gnu.org>
14533
14534 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
14535 it is not yet defined (for temacs).
14536
15360934
LL
145372012-03-18 Leo Liu <sdl.web@gmail.com>
14538
735135f9
PE
14539 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
14540 prefix.
15360934 14541
d9a8eb66
EZ
145422012-03-17 Eli Zaretskii <eliz@gnu.org>
14543
14544 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
14545 (ispell-choices-win-default-height, ispell-silently-savep)
14546 (ispell-dictionary-alist, ispell-encoding8-command)
14547 (ispell-check-version, ispell-aspell-find-dictionary)
14548 (ispell-valid-dictionary-list, ispell-words-keyword)
14549 (ispell-get-word, ispell-internal-change-dictionary)
14550 (ispell-region, ispell-skip-region-list)
14551 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
14552 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
14553 (ispell-message-text-end, ispell-message)
14554 (ispell-buffer-local-parsing): Doc fix.
14555
f02ff80d
J
145562012-03-13 Jambunathan K <kjambunathan@gmail.com>
14557
14558 * htmlfontify.el: Add support for code block fontification for ODT
14559 export (Bug #9914).
14560 (hfy-optimisations): Define new option
14561 `body-text-only'
14562 (hfy-fontify-buffer): Honor above setting.
14563 (hfy-begin-span, hfy-end-span): New routines factored out form
14564 `hfy-fontify-buffer'.
14565 (hfy-begin-span-handler, hfy-end-span-handler): New variables
14566 that permit insertion of custom tags.
14567 (hfy-fontify-buffer): Use above handlers.
14568 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
14569 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 14570 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 14571 over multiple runs. This is made possible by having the caller let
f02ff80d
J
14572 bind a special variable `hfy-user-sheet-assoc'.
14573 (htmlfontify-string): New defun.
14574 (hfy-compile-face-map): Make sure that the last char in the
14575 buffer is correctly fontified.
14576 (hfy-face-resolve-face): Whitespace only change.
14577
9ac7a13f
EZ
145782012-03-17 Eli Zaretskii <eliz@gnu.org>
14579
14580 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
14581 message more clear.
14582
e2b5bdd7
LL
145832012-03-16 Leo Liu <sdl.web@gmail.com>
14584
14585 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
14586
2e492df3
AM
145872012-03-16 Alan Mackenzie <acm@muc.de>
14588
677d5c92 14589 Further optimize the handling of large macros.
2e492df3
AM
14590
14591 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
14592 limit to a call of `c-literal-limits'.
14593 (c-determine-+ve-limit): New function.
dc9924b8
SM
14594 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
14595 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
14596 In CASE 5B, restrict a search limit to 500.
14597 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
14598
14599 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
14600 Restrict macro bounds to +-500 from after-change's BEG END.
14601
50e94f0c
LL
146022012-03-16 Leo Liu <sdl.web@gmail.com>
14603
14604 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
14605
6f09f6ed
AH
146062012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
14607
14608 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 14609 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 14610
c7e73d51
GM
146112012-03-16 Glenn Morris <rgm@gnu.org>
14612
da986230
GM
14613 * view.el (view-buffer, view-buffer-other-window)
14614 (view-buffer-other-frame): Doc fixes re special mode-class.
14615
0835f01e
GM
14616 * subr.el (eval-after-load): If named feature is provided not from
14617 a file, run after-load forms. (Bug#10946)
14618
c7e73d51
GM
14619 * calendar/calendar.el (calendar-insert-at-column):
14620 Handle non-unit-width characters a bit better. (Bug#10978)
14621
3f2eafd1
CY
146222012-03-15 Chong Yidong <cyd@gnu.org>
14623
14624 * emacs-lisp/ring.el (ring-extend): New function.
14625 (ring-insert+extend): Extend the ring correctly (Bug#11019).
14626
14627 * comint.el (comint-read-input-ring)
14628 (comint-add-to-input-history): Grow comint-input-ring lazily.
14629
103af3fe
SM
146302012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
14631
663b1677
SM
14632 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
14633 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
14634
103af3fe
SM
14635 * imenu.el: Fix multiple inheritance breakage (bug#9199).
14636 (imenu-add-to-menubar): Don't add a redundant index.
14637 (imenu-update-menubar): Handle a dynamically composed keymap.
14638
899cb7cb
KY
146392012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
14640
14641 * mail/sendmail.el (mail-encode-header):
14642 Bind rfc2047-encode-encoded-words to nil.
14643
3809f91d
GM
146442012-03-13 Glenn Morris <rgm@gnu.org>
14645
14646 * calendar/calendar.el (calendar-string-spread):
14647 Handle non-unit-width characters a bit better. (Bug#10978)
14648
9e345a01
LL
146492012-03-13 Leo Liu <sdl.web@gmail.com>
14650
14651 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
14652 directory and file as argument (Bug#10822).
14653
4a07df36
KS
146542012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
14655
14656 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
14657 For dynamically generated code, follow $PC.
14658 (gdb-disassembly-handler-custom): Handle no function name case.
14659
4aaa9356
TL
146602012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
14661
14662 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
14663 * emulation/ws-mode.el (ws-query-replace):
14664 * sort.el (sort-regexp-fields):
14665 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
14666
225979da
SM
146672012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
14668
14669 * dabbrev.el: Fix cycle completion order (bug#10963).
14670 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
14671 (dabbrev-completion): Don't use an obarray; provide
14672 a cycle-sort-function.
14673
e2f1fdab
LL
146742012-03-12 Leo Liu <sdl.web@gmail.com>
14675
dc9924b8 14676 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
14677 (kill-do-not-save-duplicates): Doc fix.
14678
b19490ed
SM
146792012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
14680
14681 * dabbrev.el: Fix cycle completion (bug#10963).
14682 Use lexical binding and wrap to 80 columns.
14683 (dabbrev-completion): Delay computing the list of completions.
14684
4b05d722
KH
146852012-03-12 Kenichi Handa <handa@m17n.org>
14686
14687 * international/quail.el (quail-insert-kbd-layout): Surround each
14688 row by LRO and PDF instead of inserting many LRMs. Pad the left
14689 and right of each non-spacing marks. Insert invisible space
14690 between lower and upper characters to prevent composition.
14691
dbbc2e69
SM
146922012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
14693
14694 * minibuffer.el (minibuffer-complete): Don't get confused when the
14695 function is run twice via different commands (bug#10958).
14696 (complete-with-action): Fix docstring.
14697
292112ed
CY
146982012-03-12 Chong Yidong <cyd@gnu.org>
14699
5d1ac394
CY
14700 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
14701 (nxml-completion-at-point-function): New function.
14702 (nxml-mode): Use it.
14703 (nxml-bind-meta-tab-to-complete-flag): Default to t.
14704
292112ed
CY
14705 * emacs-lisp/package.el (package-unpack, package-unpack-single):
14706 Load generated autoloads file before byte compiling (Bug#10970).
14707 (package--make-autoloads-and-compile): New helper fun.
14708
4098f8f7
CS
147092012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
14710
14711 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
14712
8f754691
MA
147132012-03-11 Michael Albinus <michael.albinus@gmx.de>
14714
14715 * autorevert.el (auto-revert-handler): Ensure, that
14716 file-readable-p is applied only for local files or in
14717 auto-revert-tail-mode.
14718
e29ab36b
AS
147192012-03-11 Andreas Schwab <schwab@linux-m68k.org>
14720
dbbc2e69
SM
14721 * server.el (server-eval-at): Handle non-tcp connections.
14722 Decode result string.
ad0bf5b6 14723
e29ab36b
AS
14724 * server.el (server-msg-size): New constant.
14725 (server-reply-print): New function.
14726 (server-eval-and-print): Use it.
14727 (server-eval-at): Use server-quote-arg and server-unquote-arg.
14728 Handle -print-nonl.
14729
de5939ba
CS
147302012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
14731
14732 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
14733 (Bug#10987).
14734
0c93eabf
CY
147352012-03-11 Chong Yidong <cyd@gnu.org>
14736
397a688f
CY
14737 * simple.el (goto-line): Doc fix (Bug#9938).
14738
2cc775f9
CY
14739 * subr.el (save-window-excursion): Doc fix (Bug#9979).
14740
0c93eabf
CY
14741 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
14742 when finished (Bug#10963).
14743
c491fa41
MR
147442012-03-11 Martin Rudalics <rudalics@gmx.at>
14745
14746 * window.el (split-window-below): Fix bug in case where
14747 split-window-keep-point is nil (Bug#10971).
14748
300e8fa5
JL
147492012-03-11 Juri Linkov <juri@jurta.org>
14750
14751 * replace.el (replace-highlight): Set isearch-word to nil
14752 unconditionally. (Bug#10887)
14753
dbf6c5a1
EZ
147542012-03-10 Eli Zaretskii <eliz@gnu.org>
14755
14756 * net/mairix.el (mairix-replace-invalid-chars): Rename from
14757 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 14758 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
14759 (mairix-widget-create-query): Add usage information about mairix
14760 search forms: negating words, searching for substrings, etc.
14761
b9e501de
JP
147622012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
14763
14764 * international/fontset.el (font-encoding-alist): Add an entry for
14765 ksx1001 (Bug#5667).
14766
92795c91
RS
147672012-03-10 Richard Stallman <rms@gnu.org>
14768
1694e6c1
RS
14769 * mail/sendmail.el (mail-encode-header):
14770 Set rfc2047-encode-encoded-words.
14771
607e8555
RS
14772 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
14773
de3bc99a
RS
14774 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
14775 view buffer means not swapped.
14776 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
14777 (rmail-write-region-annotate): Error if real text has disappeared.
14778
92795c91
RS
14779 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
14780
699bd04e
CY
147812012-03-10 Chong Yidong <cyd@gnu.org>
14782
14783 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
14784 * emulation/cua-base.el (cua--init-keymaps):
14785 Add delete-forward-char to remappings (Bug#9666).
699bd04e 14786
570a1714
MR
147872012-03-10 Martin Rudalics <rudalics@gmx.at>
14788
dbbc2e69
SM
14789 * speedbar.el (speedbar-unhighlight-one-tag-line):
14790 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 14791
82dcf4e4
CY
147922012-03-10 Chong Yidong <cyd@gnu.org>
14793
7a2c7ca7
CY
14794 * minibuffer.el (completion-in-region, completion-help-at-point):
14795 Give the completion field overlay a high priority (Bug#6830).
14796
82dcf4e4
CY
14797 * dired.el (dired-goto-file): Recognize absolute file name
14798 listings (Bug#7126).
14799 (dired-goto-file-1): New helper function.
14800 (dired-toggle-read-only): Inhibit warnings.
14801
052e28ac
MA
148022012-03-09 Michael Albinus <michael.albinus@gmx.de>
14803
75f1671a 14804 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
14805 there are no properties.
14806
95d5e396
LL
148072012-03-09 Leo Liu <sdl.web@gmail.com>
14808
14809 * savehist.el (savehist-printable): Stricter check for string
14810 value (Bug#10937).
14811
3f018d6d
EZ
148122012-03-09 Eli Zaretskii <eliz@gnu.org>
14813
dbbc2e69
SM
14814 * mail/smtpmail.el (smtpmail-send-it):
14815 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
14816 valid mbox format.
14817
f7fd3d79
GM
148182012-03-09 Glenn Morris <rgm@gnu.org>
14819
14820 * files.el (dir-locals-find-file):
14821 Don't check result is regular, readable.
14822 (dir-locals-read-from-file): Demote errors.
14823
6ff6e72f
EZ
148242012-03-08 Eli Zaretskii <eliz@gnu.org>
14825
dbbc2e69
SM
14826 * international/quail.el (quail-insert-kbd-layout):
14827 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
14828 layout cell, to prevent their reordering by bidi display engine.
14829 For details, see the discussion in
14830 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
14831
9cec7834
AM
148322012-03-08 Alan Mackenzie <acm@muc.de>
14833
14834 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
14835 the starting position; make it extend the marked region when
14836 invoked repeatedly - all under appropriate circumstances.
14837 Fixes bugs #5525, #10906.
14838
9a40b8d4
GM
148392012-03-08 Glenn Morris <rgm@gnu.org>
14840
14841 * files.el (locate-dominating-file, dir-locals-find-file):
14842 Undo 2012-03-06 change.
14843
7a08ed35
EZ
148442012-03-07 Eli Zaretskii <eliz@gnu.org>
14845
dbbc2e69
SM
14846 * international/quail.el (quail-help):
14847 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
14848 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
14849 for the reason.
14850
5aca4f71 148512012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
14852
14853 Avoid superfluous registering of signals. (Bug#10807)
14854
14855 * notifications.el (notifications-on-action-object)
14856 (notifications-on-close-object): New defvars.
14857 (notifications-on-action-signal, notifications-on-closed-signal):
14858 Unregister the signal if not needed any longer.
14859 (notifications-notify): Register `notifications-action-signal' or
14860 `notifications-closed-signal', if :on-action or :on-close has been
14861 passed as argument.
14862
78e8b10a
CY
148632012-03-07 Chong Yidong <cyd@gnu.org>
14864
14865 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
14866 non-X platforms.
14867
69481eb8
GM
148682012-03-06 Glenn Morris <rgm@gnu.org>
14869
14870 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
14871 (x-disown-selection-internal, x-get-selection-internal):
14872 Doc fix (add arglist signatures). (Bug#10783)
14873
133b8e11
KS
148742012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
14875
14876 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
14877 Handle breakpoints with no "type".
14878
99a83064
GM
148792012-03-06 Glenn Morris <rgm@gnu.org>
14880
14881 * files.el (locate-dominating-file): Add optional predicate argument.
14882 (dir-locals-find-file): Make use of above change.
14883
17798e78
TTN
148842012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
14885
14886 * info.el (Info-insert-dir): Also try "dir.gz".
14887
eb182446
GM
148882012-03-06 Glenn Morris <rgm@gnu.org>
14889
8f2114ee
GM
14890 * files.el (dir-locals-find-file):
14891 Ignore non-readable or non-regular files. (Bug#10928)
14892
eb182446
GM
14893 * files.el (locate-dominating-file): Doc fix.
14894
24679323
AS
148952012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
14896
14897 * calendar/calendar.el (calendar-set-mode-line):
14898 `getenv' returns a string. (Bug#10951)
14899
01d972a9
LL
149002012-03-05 Leo Liu <sdl.web@gmail.com>
14901
109aa8a9
LL
14902 * simple.el (backward-delete-char-untabify): Constrain point to
14903 field (Bug#10939).
14904
01d972a9
LL
14905 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
14906
10607bea
CY
149072012-03-05 Chong Yidong <cyd@gnu.org>
14908
14909 * simple.el (count-words): If called from Lisp, return the word
14910 count, for symmetry with `count-lines'. Arglist changed.
14911 (count-words--message): Args changed. Consolidate counting code
14912 from count-words and count-words-region.
14913 (count-words-region): Caller changed.
14914 (count-lines-region): Make it an obsolete alias.
14915
5dd11cfe
TH
149162012-03-04 Tassilo Horn <tassilo@member.fsf.org>
14917
14918 * saveplace.el (save-place-to-alist)
14919 (save-place-ignore-files-regexp): Allow value nil to disable this
14920 feature.
14921
c349f4e6
CY
149222012-03-04 Chong Yidong <cyd@gnu.org>
14923
14924 * faces.el (face-spec-reset-face): For the default face, reset the
14925 attributes to default values (Bug#10748).
14926
e627be4c
LMI
149272012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
14928
14929 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
14930 previous patch: Check `message-send-mail-function', and not the
14931 default function (bug#10897).
14932
ebeabff4
MA
149332012-03-04 Michael Albinus <michael.albinus@gmx.de>
14934
a41a6cf4
MA
14935 * notifications.el (notifications-on-action-signal)
14936 (notifications-on-closed-signal): Check for unique service name of
14937 incoming event. Fix error in removing entry.
ebeabff4 14938 (top): Register for signals with wildcard service name.
a41a6cf4 14939 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 14940
c1ca42b4
CY
149412012-03-04 Chong Yidong <cyd@gnu.org>
14942
dc9924b8 14943 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 14944
ea16568d
GM
149452012-03-04 Glenn Morris <rgm@gnu.org>
14946
14947 * abbrev.el (copy-abbrev-table, abbrev-table-p)
14948 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
14949 (expand-abbrev, define-abbrev-table): Doc fixes.
14950
fbae4637
LMI
149512012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
14952
14953 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
14954 `message-default-send-mail-function' and not `send-mail-function'
14955 when doing the prompting for `sendmail-query-once' before sending
14956 in Message buffers (bug#10897).
14957
a1e7225c
LMI
14958 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
14959 This is inconsistent with all the other stream functions, which leave
14960 the setting up to the higher levels (if so wanted) (bug#10931).
14961
56d093a9
AM
149622012-03-02 Alan Mackenzie <acm@muc.de>
14963
14964 Depessimize the handling of very large macros.
14965
14966 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
14967 (c-macro-cache-syntactic): New variables to implement a one
14968 element macro cache.
14969 (c-invalidate-macro-cache): New function.
14970 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
14971 Adapt to use the new cache.
14972 (c-state-safe-place): Use better the cache of safe positions.
14973 (c-state-semi-nonlit-pos-cache)
14974 (c-state-semi-nonlit-pos-cache-limit):
14975 New variables for...
14976 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
14977 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
14978 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
14979 Use c-state-semi-safe-place.
56d093a9 14980
dbbc2e69
SM
14981 * progmodes/cc-langs.el (c-get-state-before-change-functions):
14982 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 14983
817e5c3d
MA
149842012-03-02 Michael Albinus <michael.albinus@gmx.de>
14985
dbbc2e69
SM
14986 * jka-compr.el (jka-compr-call-process):
14987 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
14988 not remote.
14989
a032a702
MA
149902012-03-01 Michael Albinus <michael.albinus@gmx.de>
14991
14992 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
14993 access of FILE2, if FILE1 does not exist.
14994
99a54f21
MA
14995 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
14996 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
14997
14998 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
14999 Add "PAGER=" to `process-environment'.
15000
f6561e1f
MM
150012012-03-01 Michael R. Mauger <mmaug@yahoo.com>
15002
15003 * progmodes/sql.el: Bug fix
15004 (sql-get-login-ext): Save login values in globals.
15005 (sql-get-login): Use new version of `sql-get-login-ext'.
15006 (sql-interactive-mode): Set global `sql-connection' to nil.
15007 (sql-connect): Set global values for connection.
15008 (sql-product-interactive): Save global values as buffer local.
15009
2d44d9cc
LL
150102012-02-29 Leo Liu <sdl.web@gmail.com>
15011
15012 * abbrev.el (define-abbrevs): Reset sys to nil.
15013
96b49301 150142012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15015
bf7f9bc5
JB
15016 * files.el (file-equal-p): Rename from `files-equal-p'.
15017 Return nil when one or both files don't exist.
96b49301 15018 (file-subdir-of-p): Now only top directory must exists,
15019 return nil if it doesn't.
bf7f9bc5
JB
15020 (copy-directory): No need to test with `file-subdir-of-p' after
15021 creating dir.
15022 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
15023 to `file-equal-p'.
96b49301 15024
44e97401
GM
150252012-02-28 Glenn Morris <rgm@gnu.org>
15026
15027 * shell.el (shell-mode):
15028 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
15029 * play/landmark.el (landmark-font-lock-face-O):
15030 * play/handwrite.el (handwrite):
15031 * play/gomoku.el (gomoku-O):
15032 * net/browse-url.el (browse-url-browser-display):
15033 * international/mule.el (define-charset):
15034 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
15035 * filesets.el (filesets-find-file-delay):
15036 * eshell/em-xtra.el (eshell-xtra):
15037 * eshell/em-unix.el (eshell-grep):
15038 * emulation/viper.el (viper-mode):
15039 * emacs-lisp/regexp-opt.el (regexp-opt-group):
15040 * emacs-lisp/easymenu.el (easy-menu-define):
15041 * calendar/timeclock.el (timeclock-use-display-time):
15042 * bs.el (bs-mode):
15043 * bookmark.el (bookmark-save-flag):
15044 Doc fix (standardize possessive apostrophe usage).
15045
c98c6276
CY
150462012-02-27 Chong Yidong <cyd@gnu.org>
15047
bf7f9bc5
JB
15048 * emulation/viper-cmd.el (viper-intercept-ESC-key):
15049 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 15050
c98c6276
CY
15051 * font-lock.el (font-lock-specified-p): Rename from
15052 font-lock-spec-present. Callers changed.
15053
9c62cd04 150542012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 15055
bf7f9bc5
JB
15056 * emacs-lisp/package.el (package-compute-transaction):
15057 Handle holding a package version to t in package-load-list.
8ac9e529 15058
530739c9
MA
150592012-02-26 Michael Albinus <michael.albinus@gmx.de>
15060
15061 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
15062 (tramp-get-inode, tramp-get-device): Use cached values.
15063
487915d7
AM
150642012-02-26 Alan Mackenzie <acm@muc.de>
15065
15066 Check there is a font-lock specification before doing initial
15067 fontification.
15068
15069 * font-core.el (font-lock-mode): Move the conditional from
15070 :after-hook to font-lock-initial-fontify.
15071 (font-lock-default-function): Move the check for a specification
15072 to font-lock-spec-present.
15073
dc9924b8 15074 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
15075 (font-lock-spec-present): New function.
15076
4fd96557
JB
150772012-02-26 Jim Blandy <jimb@red-bean.com>
15078
15079 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
15080 (gdb-send): Apply it to the operand of the '-interpreter-exec
15081 console' command, so that we can pass arguments with (say) quotes
15082 in them. Store exact string sent in gdb-debug-log (Bug#10765).
15083
9a4888c0
CY
150842012-02-26 Chong Yidong <cyd@gnu.org>
15085
07498861
CY
15086 * help-fns.el (describe-function-1): Clarify description of
15087 remapping (Bug#10844).
15088
9a4888c0
CY
15089 * files.el (files-equal-p): Doc fix.
15090 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
15091 and quit the loop once a mismatch is found.
15092
ea8fb88d
JB
150932012-02-25 Juanma Barranquero <lekktu@gmail.com>
15094
15095 * bs.el (bs--show-with-configuration): Don't throw an error
15096 if the window cannot be split; otherwise, subsequent calls to
15097 bs-show fail, restoring a stale window config. (Bug#10882)
15098
525795c1
JD
150992012-02-25 Jan Djärv <jan.h.d@swipnet.se>
15100
15101 * term/ns-win.el (global-map): Bind ns-drag-file to
15102 ns-find-file (Bug#5855, Bug#10050).
15103
f008086f
AS
151042012-02-25 Andreas Schwab <schwab@linux-m68k.org>
15105
15106 * calendar/parse-time.el (parse-time-string): Allow extractor to
15107 return nil.
15108
a3fcfa99
MA
151092012-02-25 Michael Albinus <michael.albinus@gmx.de>
15110
91027d08
JB
15111 * net/tramp.el (tramp-file-name-for-operation):
15112 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
15113
15114 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
15115 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
15116 Add COPY-CONTENTS argument.
a3fcfa99 15117
67b0de11
CY
151182012-02-25 Chong Yidong <cyd@gnu.org>
15119
15120 Add custom groups for VC backends, for consistency with vc-bzr.
15121
15122 * vc/vc-arch.el (vc-arch):
15123 * vc/vc-cvs.el (vc-cvs):
15124 * vc/vc-git.el (vc-git):
15125 * vc/vc-hg.el (vc-hg):
15126 * vc/vc-mtn.el (vc-mtn):
15127 * vc/vc-rcs.el (vc-rcs):
15128 * vc/vc-sccs.el (vc-sccs):
15129 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
15130 All relevant defcustoms reassigned.
15131
3c9dfce6
CY
151322012-02-25 Chong Yidong <cyd@gnu.org>
15133
1339bf43
CY
15134 * newcomment.el (comment-styles): Add autoload (Bug#10868).
15135
3c9dfce6
CY
15136 * term/x-win.el (x-initialize-window-system): Reduce default for
15137 x-selection-timeout to 5 seconds (Bug#8869).
15138
25b2e303 151392012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15140
ec70a47d
GM
15141 * files.el (files-equal-p, file-subdir-of-p): New functions.
15142 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 15143 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
15144 * dired-aux.el (dired-copy-file-recursive): Same.
15145 (dired-create-files): Modify destination when source is equal to
15146 dest when copying files.
53a46cd0 15147 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 15148
914260cd
MA
151492012-02-24 Michael Albinus <michael.albinus@gmx.de>
15150
15151 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
15152 (Bug#10874)
15153
2cb228f7
AM
151542012-02-23 Alan Mackenzie <acm@muc.de>
15155
15156 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
15157 parameter "after-hook:" to allow the expansion to run code after
15158 the execution of the mode hooks.
15159
15160 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 15161 from font-lock-mode-internal.
2cb228f7 15162
91027d08 15163 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
15164 :after-hook.
15165
8f0fde21
SM
151662012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
15167
3e88618b
SM
15168 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
15169 (completion--cache-all-sorted-completions): New function.
15170 (completion-all-sorted-completions): Use it.
15171 (completion--do-completion, minibuffer-force-complete):
15172 Use it to re-instate the flush hook.
15173
8f0fde21
SM
15174 * icomplete.el (icomplete-completions): Replace last fix with a better
15175 one (bug#10850).
15176
8e911f6f
DG
151772012-02-23 Dmitry Gutov <dgutov@yandex.ru>
15178
15179 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
15180 when it might call us back infinitely (bug#10797).
15181
49fe4321
GM
151822012-02-23 Glenn Morris <rgm@gnu.org>
15183
15184 * minibuffer.el (completion-category-overrides): Doc fix.
15185
b291b572
SM
151862012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
15187
15188 * minibuffer.el (completion-table-with-context): Fix inf-loop.
15189 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
15190
31a9ef2e
GM
151912012-02-23 Glenn Morris <rgm@gnu.org>
15192
5e6e6794 15193 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
15194 (authors-obsolete-files-regexps, authors-ignored-files)
15195 (authors-ambiguous-files, authors-renamed-files-alist):
15196 Add more entries.
15197
0bd1e074
JL
151982012-02-23 Juri Linkov <juri@jurta.org>
15199
15200 * isearch.el (isearch-occur): Sync interactive spec with occur's
15201 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
15202
b617673c
JL
15203 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
15204
19e9789e
JL
152052012-02-22 Juri Linkov <juri@jurta.org>
15206
15207 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
15208 (ucs-insert): Doc fix. Check for hex digits in the string.
15209 Don't display `nil' in the error message. (Bug#10857)
15210
f41ce09d
AM
152112012-02-22 Alan Mackenzie <acm@muc.de>
15212
7a71b18d 15213 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 15214
ac2eceee
GM
152152012-02-22 Glenn Morris <rgm@gnu.org>
15216
15217 * ffap.el (ffap-c-path):
15218 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
15219
abd1f678
CY
152202012-02-22 Chong Yidong <cyd@gnu.org>
15221
15222 * custom.el (load-theme): Doc fix.
15223
f25aef2e
GM
152242012-02-22 Glenn Morris <rgm@gnu.org>
15225
15226 * dired-x.el (dired-guess-shell-alist-default):
15227 Remove escape sequences from nroff output. (Bug#172)
15228
5f8dc2ca
GM
152292012-02-21 Glenn Morris <rgm@gnu.org>
15230
6ff86ec4
GM
15231 * vc/emerge.el (emerge-defvar-local):
15232 Set `permanent-local' property rather than unused `preserved'.
15233
be3223a3 15234 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
15235 (picture-mode-map): Use it. (Bug#10860)
15236 (picture-mode): Doc fix.
15237
3fe58f4f
JB
152382012-02-21 Juanma Barranquero <lekktu@gmail.com>
15239
15240 * newcomment.el (uncomment-region-default): Remove unused binding.
15241
f9a998c3
GM
152422012-02-21 Glenn Morris <rgm@gnu.org>
15243
15244 * textmodes/picture.el (picture-motion, picture-motion-reverse)
15245 (picture-self-insert, picture-tab-chars): Doc fix.
15246 (picture-mode-map): Fix C-a, C-e.
15247
c6029348
GM
152482012-02-20 Glenn Morris <rgm@gnu.org>
15249
15250 * emacs-lisp/authors.el (authors-aliases): Add another entry.
15251
ab1ce9d7
LL
152522012-02-20 Leo Liu <sdl.web@gmail.com>
15253
15254 * icomplete.el (icomplete-completions): Check FROM arg before
15255 passing to substring (Bug#10850).
15256
0fd40f89
CY
152572012-02-19 Chong Yidong <cyd@gnu.org>
15258
15259 * comint.el: Require ansi-color.
15260 (comint-output-filter-functions): Add ansi-color-process-output.
15261
15262 * ansi-color.el: Don't set comint-output-filter-functions; it is
15263 now in the initial value defined in comint.el.
15264 (ansi-color-apply-face-function): New variable.
15265 (ansi-color-apply-on-region): Use it.
15266 (ansi-color-apply-overlay-face): New function.
15267
15268 * shell.el (shell): No need to require ansi-color.
15269 (shell-mode): Use ansi-color-apply-face-function to highlight
15270 color escapes using font-lock-face property (Bug#10835).
15271
20af2394
CY
152722012-02-19 Chong Yidong <cyd@gnu.org>
15273
15274 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
15275 mode-line formats (Bug#10839).
15276
e23a3fbe
GM
152772012-02-18 Glenn Morris <rgm@gnu.org>
15278
b474519e
GM
15279 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
15280
15281 * mail/undigest.el (unforward-rmail-message): Doc fix.
15282
e23a3fbe
GM
15283 * saveplace.el (save-place-ignore-files-regexp): Add :version.
15284
57939ff4
EZ
152852012-02-18 Eli Zaretskii <eliz@gnu.org>
15286
15287 * international/characters.el (script-list): Sync with the latest
15288 Unicode Character Database.
15289
0c23686e
AS
152902012-02-18 Andreas Schwab <schwab@linux-m68k.org>
15291
15292 * international/titdic-cnv.el: Remove duplicate coding tag.
15293 * language/cham.el: Likewise.
15294 * language/tai-viet.el: Likewise.
15295
6818b449
GM
152962012-02-18 Glenn Morris <rgm@gnu.org>
15297
15298 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
15299 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
15300 (calendar-bahai-all-holidays-flag, calendar-other-dates):
15301 * calendar/diary-lib.el (diary-abbreviated-year-flag):
15302 * calendar/holidays.el (holiday-bahai-holidays)
15303 (calendar-holidays, list-holidays):
15304 Use utf-8 Bahá'í in doc-strings, menus, etc.
15305
0311a3fc
TH
153062012-02-17 Tassilo Horn <tassilo@member.fsf.org>
15307
15308 * saveplace.el (save-place-ignore-files-regexp): New variable
15309 allowing for excluding files from saving their location of point.
15310 The default value matches the temporary commit message editing
15311 files from Git, SVN, Bazaar, and Mercurial.
15312 (save-place-to-alist): Use it.
15313
d209e2fb 153142012-02-17 Lawrence Mitchell <wence@gmx.li>
f1a71c6e 15315 Stefan Monnier <monnier@iro.umontreal.ca>
eb864a71
LM
15316
15317 * newcomment.el (uncomment-region-default): Don't leave extra space
15318 when an arg is provided (bug#8150).
15319
ee0ce425
TZ
153202012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
15321
eb864a71 15322 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 15323
95ddf442
GM
153242012-02-17 Glenn Morris <rgm@gnu.org>
15325
15326 * net/socks.el: Require network-stream. (Bug#10599)
15327
48dd1e39 153282012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
15329
15330 * international/charprop.el:
15331 * international/uni-name.el:
15332 * international/uni-old-name.el:
15333 * international/uni-comment.el: Regenerate.
15334
d68cd087
GM
153352012-02-16 Glenn Morris <rgm@gnu.org>
15336
15337 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
15338 Interactively in calendar buffer, give an error if not on a date.
15339
13932042
GM
153402012-02-15 Glenn Morris <rgm@gnu.org>
15341
15342 * shell.el (shell-delimiter-argument-list):
15343 Revert 2011-02-17 change. (Bug#8027)
15344
c3a70e2b
CY
153452012-02-15 Chong Yidong <cyd@gnu.org>
15346
60236b0d
CY
15347 * minibuffer.el (completion-at-point-functions): Doc fix.
15348
c3a70e2b
CY
15349 * custom.el (defcustom): Doc fix; note use of defvar.
15350
9f26dc24
GM
153512012-02-15 Glenn Morris <rgm@gnu.org>
15352
15353 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
15354 Doc fixes.
15355
6546b134
GM
153562012-02-14 Glenn Morris <rgm@gnu.org>
15357
15358 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
15359
d29b2b4c
LI
153602012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
15361
15362 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
15363 way the ports list is computed.
835bdcba
LI
15364 (smtpmail-query-smtp-server): Prompt the user for a port number if
15365 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 15366
08dcdbc9
TZ
153672012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
15368
15369 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
15370
2605051a
GM
153712012-02-13 Glenn Morris <rgm@gnu.org>
15372
15373 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
15374
7ee99f32
TZ
153752012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
15376
15377 * net/gnutls.el (gnutls-trustfiles): New variable.
15378 (gnutls-negotiate): Use it.
15379
5f0af64f
LI
153802012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
15381
15382 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
15383 does its stuff if Gnus is running.
15384
c14fcc95
AM
153852012-02-13 Alan Mackenzie <acm@muc.de>
15386
15387 Fix a loop in c-set-fl-decl-start.
15388
7a71b18d 15389 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
15390 c-backward-syntactic-ws actually moves backwards.
15391
142b4d90
LL
153922012-02-13 Leo Liu <sdl.web@gmail.com>
15393
15394 * net/rcirc.el (rcirc-markup-attributes): Move point to the
15395 beginning so that all \C-o chars are removed.
15396
fa9958a6
TZ
153972012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
15398
dc9924b8 15399 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 15400
0bc5886a
AM
154012012-02-12 Alan Mackenzie <acm@muc.de>
15402
15403 Fix infinite loop with long macros.
4d6769e1 15404 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 15405
d4bd55e7
CY
154062012-02-12 Chong Yidong <cyd@gnu.org>
15407
15408 * window.el (display-buffer): Doc fix (Bug#10785).
15409
66f3fe22
GM
154102012-02-12 Glenn Morris <rgm@gnu.org>
15411
bd7da63e
GM
15412 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
15413 (x-disown-selection-internal, x-get-selection-internal):
15414 Sync docs with the xselect.c versions.
15415
66f3fe22
GM
15416 * allout-widgets.el: Add missing license notice.
15417
3e0d2fa7
GM
154182012-02-11 Glenn Morris <rgm@gnu.org>
15419
cfecdf09
GM
15420 * select.el (x-get-selection-internal, x-own-selection-internal)
15421 (x-disown-selection-internal):
15422 * x-dnd.el (x-get-selection-internal): Update declarations.
15423
6d216d7f
GM
15424 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
15425
2bed3f04
GM
15426 * window.el (window-sides-slots):
15427 * tool-bar.el (tool-bar-position):
15428 * term/xterm.el (xterm-extra-capabilities):
15429 * ses.el (ses-self-reference-early-detection):
15430 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
15431 (verilog-auto-wire-type)
15432 (verilog-auto-delete-trailing-whitespace)
15433 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
15434 (verilog-auto-tieoff-declaration):
15435 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
15436 (sql-oracle-statement-starters, sql-oracle-scan-on):
15437 * progmodes/prolog.el (prolog-align-comments-flag)
15438 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
15439 (prolog-left-indent-regexp, prolog-paren-indent-p)
15440 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
15441 (prolog-types, prolog-mode-specificators)
15442 (prolog-determinism-specificators, prolog-directives)
15443 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
15444 (prolog-electric-dot-flag)
15445 (prolog-electric-dot-full-predicate-template)
15446 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
15447 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
15448 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
15449 (prolog-program-switches, prolog-prompt-regexp)
15450 (prolog-debug-on-string, prolog-debug-off-string)
15451 (prolog-trace-on-string, prolog-trace-off-string)
15452 (prolog-zip-on-string, prolog-zip-off-string)
15453 (prolog-use-standard-consult-compile-method-flag)
15454 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
15455 (prolog-imenu-max-lines, prolog-info-predicate-index)
15456 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
15457 (prolog-char-quote-workaround):
15458 * progmodes/cc-vars.el (c-defun-tactic):
15459 * net/tramp.el (tramp-encoding-command-interactive)
15460 (tramp-local-end-of-line):
15461 * net/soap-client.el (soap-client):
15462 * net/netrc.el (netrc-file):
15463 * net/gnutls.el (gnutls):
15464 * minibuffer.el (completion-category-overrides)
15465 (completion-cycle-threshold)
15466 (completion-pcm-complete-word-inserts-delimiters):
15467 * man.el (Man-name-local-regexp):
15468 * mail/feedmail.el (feedmail-display-full-frame):
15469 * international/characters.el (glyphless-char-display-control):
15470 * eshell/em-ls.el (eshell-ls-date-format):
15471 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
15472 (lisp-lambda-list-keyword-parameter-indentation)
15473 (lisp-lambda-list-keyword-parameter-alignment):
15474 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
15475 * dired-x.el (dired-omit-verbose):
15476 * cus-theme.el (custom-theme-allow-multiple-selections):
15477 * calc/calc.el (calc-highlight-selections-with-faces)
15478 (calc-lu-field-reference, calc-lu-power-reference)
15479 (calc-note-threshold):
15480 * battery.el (battery-mode-line-limit):
15481 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
15482 (archive-7z-update):
15483 * allout.el (allout-prefixed-keybindings)
15484 (allout-unprefixed-keybindings)
15485 (allout-inhibit-auto-fill-on-headline)
15486 (allout-flattened-numbering-abbreviation):
15487 * allout-widgets.el (allout-widgets-auto-activation)
15488 (allout-widgets-icons-dark-subdir)
15489 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
15490 (allout-widgets-theme-dark-background)
15491 (allout-widgets-theme-light-background)
15492 (allout-widgets-item-image-properties-emacs)
15493 (allout-widgets-item-image-properties-xemacs)
15494 (allout-widgets-run-unit-tests-on-load)
15495 (allout-widgets-time-decoration-activity)
15496 (allout-widgets-hook-error-post-time)
15497 (allout-widgets-track-decoration):
15498 Add missing :version tags to new defcustoms and defgroups.
15499
5fec1b8e
GM
15500 * progmodes/sql.el (sql-ansi-statement-starters)
15501 (sql-oracle-statement-starters): Add custom type.
15502
3e0d2fa7
GM
15503 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
15504 (prolog-system-version): Give it a type.
15505
90b671e2
EZ
155062012-02-11 Eli Zaretskii <eliz@gnu.org>
15507
15508 * term/pc-win.el (x-select-text, x-selection-owner-p)
15509 (x-own-selection-internal, x-disown-selection-internal)
15510 (x-get-selection-internal): Sync doc strings and argument lists
15511 with xselect.c, common-win.el and x-win.el. (Bug#10783)
15512
5eac0c02
LL
155132012-02-11 Leo Liu <sdl.web@gmail.com>
15514
15515 * progmodes/python.el (python-end-of-statement): Fix infinite
15516 loop. (Bug#10788)
15517
f82cb659
GM
155182012-02-10 Glenn Morris <rgm@gnu.org>
15519
15520 * international/mule-cmds.el (unify-8859-on-encoding-mode)
15521 (unify-8859-on-decoding-mode): Properly mark as obsolete.
15522
cc26d239
LI
155232012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
15524
15525 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
15526 about SMTP before checking the From header.
15527
91027d08 15528 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
15529 into own function for reuse by emacsbug.el.
15530
1be3ca5a
LL
155312012-02-10 Leo Liu <sdl.web@gmail.com>
15532
15533 * subr.el (condition-case-unless-debug): Rename from
15534 condition-case-no-debug. All callers changed.
15535 (with-demoted-errors): Fix caller.
15536
15537 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
15538 * nxml/rng-valid.el (rng-do-some-validation):
15539 * emacs-lisp/package.el (package-refresh-contents)
15540 (package-menu-execute):
15541 * desktop.el (desktop-create-buffer):
91027d08 15542 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 15543
b011fbfe
GM
155442012-02-10 Glenn Morris <rgm@gnu.org>
15545
b2096d72
GM
15546 * textmodes/bibtex.el:
15547 Add missing :version tags for new/changed defcustoms.
15548
b011fbfe
GM
15549 * files.el (remote-file-name-inhibit-cache): Doc fixes.
15550
4c7e65bf
LI
155512012-02-09 Lars Ingebrigtsen <larsi@rusty>
15552
15553 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
15554 (smtpmail-via-smtp): Use it, or fall back on the From address.
15555 (smtpmail-send-it): Ditto.
15556
f3934f6f
SM
155572012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
15558
15559 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
15560 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
15561 (byte-compile-tmp-var): New const.
15562 (byte-compile-defvar): Use it to minimize .elc size.
15563 Just use `defvar' rather than simulate it (bug#10761).
15564
a075a2c5
GM
155652012-02-09 Glenn Morris <rgm@gnu.org>
15566
cf3aa21b
GM
15567 * files.el (rename-uniquely): Doc fix. (Bug#3806)
15568
354998cd
GM
15569 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
15570 Add :version tags.
15571
dc9924b8
SM
15572 * progmodes/compile.el (compilation-error-screen-columns)
15573 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 15574
dab3703d
GM
15575 * vc/log-view.el (log-view-toggle-entry-display):
15576 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
15577
3f88cd72
GM
15578 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
15579 (report-emacs-bug-can-use-xdg-email):
15580 (report-emacs-bug-insert-to-mailer): Doc fixes.
15581 (report-emacs-bug): Message fix.
15582
d95b247d
GM
15583 * net/browse-url.el (browse-url-can-use-xdg-open)
15584 (browse-url-xdg-open): Doc fixes.
15585
a075a2c5
GM
15586 * electric.el (electric-indent-mode, electric-pair-mode)
15587 (electric-layout-rules, electric-layout-mode): Doc fixes.
15588 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
15589
ffb6157e
MR
155902012-02-08 Martin Rudalics <rudalics@gmx.at>
15591
15592 * server.el (server-unselect-display): Don't inadvertently kill
15593 the current buffer. (Bug#10729)
15594
e1ac4066
GM
155952012-02-08 Glenn Morris <rgm@gnu.org>
15596
34e8a2da
GM
15597 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
15598 (sql-list-table): Doc fixes.
15599
b4ac6e8c
GM
15600 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
15601 Comment out (does nothing).
15602
e1ac4066
GM
15603 * completion.el (dynamic-completion-mode):
15604 * dirtrack.el (dirtrack-debug-mode):
15605 * electric.el (electric-layout-mode):
15606 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
15607 * face-remap.el (text-scale-mode, buffer-face-mode):
15608 * iimage.el (iimage-mode):
15609 * image-mode.el (image-transform-mode):
15610 * minibuffer.el (completion-in-region-mode):
15611 * scroll-lock.el (scroll-lock-mode):
15612 * simple.el (next-error-follow-minor-mode):
15613 * tar-mode.el (tar-subfile-mode):
15614 * tooltip.el (tooltip-mode):
15615 * vcursor.el (vcursor-use-vcursor-map):
15616 * wid-browse.el (widget-minor-mode):
15617 * emulation/tpu-edt.el (tpu-edt-mode):
15618 * emulation/tpu-extras.el (tpu-cursor-free-mode):
15619 * international/iso-ascii.el (iso-ascii-mode):
15620 * language/thai-util.el (thai-word-mode):
15621 * mail/supercite.el (sc-minor-mode):
15622 * net/goto-addr.el (goto-address-mode):
15623 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
15624 * progmodes/cwarn.el (cwarn-mode):
15625 * progmodes/flymake.el (flymake-mode):
15626 * progmodes/glasses.el (glasses-mode):
15627 * progmodes/hideshow.el (hs-minor-mode):
15628 * progmodes/pascal.el (pascal-outline-mode):
15629 * textmodes/enriched.el (enriched-mode):
15630 * vc/smerge-mode.el (smerge-mode):
15631 Doc fixes (minor mode argument).
15632
5e0d957f
EZ
156332012-02-07 Eli Zaretskii <eliz@gnu.org>
15634
15635 * ls-lisp.el (ls-lisp-sanitize): New function.
15636 (ls-lisp-insert-directory): Use it to fix or remove any elements
15637 in file-alist with missing attributes. (Bug#4673)
15638
98d7371e
AM
156392012-02-07 Alan Mackenzie <acm@muc.de>
15640
15641 Fix spurious recognition of c-in-knr-argdecl.
15642
15643 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
15644 putative K&R region.
15645
667ced3a
AM
156462012-02-07 Alan Mackenzie <acm@muc.de>
15647
eb864a71
LM
15648 * progmodes/cc-engine.el (c-forward-objc-directive):
15649 Prevent looping in "#pragma mark @implementation".
667ced3a 15650
5b77774d
MA
156512012-02-07 Michael Albinus <michael.albinus@gmx.de>
15652
15653 * notifications.el (notifications-on-closed-signal): Make `reason'
15654 optional. (Bug#10744)
15655
af008560
GM
156562012-02-07 Glenn Morris <rgm@gnu.org>
15657
60d47423
GM
15658 * emacs-lisp/easy-mmode.el (define-minor-mode):
15659 Doc fixes for the macro and the mode it defines.
15660
dd605cc4
GM
15661 * image.el (imagemagick-types-inhibit): Doc fix.
15662
af008560
GM
15663 * cus-start.el (imagemagick-render-type): Add it.
15664
5cc59a37
LI
156652012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
15666
4d6769e1
JB
15667 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
15668 Set the default at load time, too, so that `font-lock-fontify-buffer'
15669 can be called without setting up the entire mode first. This fixes
15670 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 15671
9a6dd747
CY
156722012-02-06 Chong Yidong <cyd@gnu.org>
15673
2d16b285
CY
15674 * simple.el (list-processes--refresh): Delete exited processes
15675 (Bug#8094).
15676
171e9b6e
CY
15677 * comint.el (comint-next-prompt): next-single-char-property-change
15678 and prev-single-char-property-change never return nil (Bug#8657).
15679
9a6dd747
CY
15680 * custom.el (defcustom): Doc fix (Bug#9711).
15681
aa4589a7
CY
156822012-02-05 Chong Yidong <cyd@gnu.org>
15683
5c2a252f
CY
15684 * cus-edit.el (custom-variable-reset-backup): Quote the value
15685 before storing it in the customized-value property (Bug#6712).
4aab9006 15686 (custom-display): Add a customization type tag.
983b9602 15687 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 15688
aa4589a7
CY
15689 * wid-edit.el (widget-field-value-get): New optional arg to
15690 suppress trailing whitespace truncation.
15691 (character): Use it (Bug#2689).
15692
1ff980ae
AS
156932012-02-05 Andreas Schwab <schwab@linux-m68k.org>
15694
15695 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
15696 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
15697
03988c98
CY
156982012-02-05 Chong Yidong <cyd@gnu.org>
15699
eeb6cc88
CY
15700 * cus-edit.el (custom-variable-value-create): For mismatched
15701 types, show the current value (Bug#7600).
15702
03988c98
CY
15703 * custom.el (defcustom): Doc fix.
15704
f8cdeef0
GM
157052012-02-05 Glenn Morris <rgm@gnu.org>
15706
15707 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
15708
0696d255
JB
157092012-02-05 Juanma Barranquero <lekktu@gmail.com>
15710
15711 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
15712 (pp-buffer): Use `ignore-errors', `looking-at-p'.
15713 (pp-last-sexp): Use `looking-at-p'.
15714
34c99998
GM
157152012-02-04 Glenn Morris <rgm@gnu.org>
15716
8f05da42
GM
15717 * files.el (revert-buffer):
15718 Doc fix (mention revert-buffer-in-progress-p).
15719
f160676e
GM
15720 * emacs-lisp/ert-x.el (ert-simulate-command):
15721 Check deferred-action-list (which is obsolete) is bound.
15722
c7291ad9
GM
15723 * subr.el (with-wrapper-hook): Doc fixes.
15724
34c99998
GM
15725 * simple.el (filter-buffer-substring-functions)
15726 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
15727
6283a7d3
LL
157282012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
15729
15730 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
15731 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
15732
e96e3013
LL
157332012-02-04 Leo Liu <sdl.web@gmail.com>
15734
15735 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
15736
8ded50f2
GM
157372012-02-04 Glenn Morris <rgm@gnu.org>
15738
82ff1d13
GM
15739 * image.el (image-extension-data): Add obsolete alias.
15740
987a0a16
GM
15741 * isearch.el (isearch-update): Doc fix.
15742
ea32ef46
GM
15743 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
15744
8ded50f2
GM
15745 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
15746
eea14f31
GM
157472012-02-03 Glenn Morris <rgm@gnu.org>
15748
15749 * image.el (image-animated-p): Doc fix. Use image-animated-types.
15750 (image-animate-timeout): Doc fix.
15751
15752 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
15753
12f381b7
GM
157542012-02-02 Glenn Morris <rgm@gnu.org>
15755
953cebf5
GM
15756 * server.el (server-auth-dir): Doc fix.
15757 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
15758
12f381b7
GM
15759 * subr.el (run-mode-hooks): Doc fix.
15760
953a8c3b
JL
157612012-02-02 Juri Linkov <juri@jurta.org>
15762
15763 * image-mode.el (image-toggle-display-image): Remove tautological
15764 `major-mode' from the `derived-mode-p' test.
15765
c5d3843c
KH
157662012-02-02 Kenichi Handa <handa@m17n.org>
15767
9f6e692e 15768 * composite.el (compose-region): Cancel previous change.
c5d3843c 15769
159462d4 157702012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
15771
15772 * composite.el (compose-region, compose-string): Signal error for
15773 a null string component (Bug#6988).
15774
9f562668
CY
157752012-02-01 Chong Yidong <cyd@gnu.org>
15776
e2cef717
CY
15777 * view.el (view-buffer-other-window, view-buffer-other-frame):
15778 Handle special modes like view-buffer (Bug#10650).
15779 (view-buffer): Simplify.
15780
9f562668
CY
15781 * frame.el (set-frame-font): Tweak meaning of third argument.
15782
9f6e692e
JB
15783 * dynamic-setting.el (font-setting-change-default-font):
15784 Use set-frame-font (Bug#9982).
9f562668 15785
781acb9f
GM
157862012-02-01 Glenn Morris <rgm@gnu.org>
15787
6035be52
GM
15788 * progmodes/compile.el (compilation-internal-error-properties):
15789 Respect compilation-first-column in the "*compilation*" buffer.
15790
781acb9f
GM
15791 * emacs-lisp/easy-mmode.el (define-minor-mode):
15792 Relax :variable's test for a named function.
15793
abbceb00
AM
157942012-01-31 Alan Mackenzie <acm@muc.de>
15795
15796 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
15797 off by one error.
15798
fce3fdeb
CY
157992012-01-31 Chong Yidong <cyd@gnu.org>
15800
15801 * frame.el (set-frame-font): New arg ALL-FRAMES.
15802
15803 * menu-bar.el (menu-set-font): Use set-frame-font.
15804
15805 * faces.el (face-spec-reset-face): Don't apply unspecified
15806 attribute values to the default face.
15807
47893581
JB
158082012-01-31 Juanma Barranquero <lekktu@gmail.com>
15809
15810 * progmodes/cwarn.el (cwarn): Remove dead link.
15811 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
15812 Remove * from defcustom docstrings.
15813 (turn-on-cwarn-mode): Make obsolete.
15814 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
15815 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
15816
e58e988a
GM
158172012-01-31 Glenn Morris <rgm@gnu.org>
15818
60dc2671 15819 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 15820 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 15821 Allow named functions to be used as the cdr of :variable.
e58e988a 15822
7a3f511d
GM
158232012-01-30 Glenn Morris <rgm@gnu.org>
15824
15825 * emacs-lisp/authors.el (authors-fixed-entries):
15826 Remove reference to deleted file rnewspost.el.
15827
cb882333
JB
158282012-01-29 Juanma Barranquero <lekktu@gmail.com>
15829
15830 * window.el (window-with-parameter): Remove unused variable `windows'.
15831 (window--side-check): Remove unused variable `code'.
15832 (window--resize-siblings): Remove unused variable `first'.
15833 (adjust-window-trailing-edge): Remove unused variable `failed'.
15834 (window-deletable-p, window--delete): Remove unused variable `buffer'.
15835 Use `let', not `let*'.
15836 (balance-windows-2): Remove unused variable `found'.
15837 (window--state-put-2): Remove unused variable `splits'.
15838 (window-state-put): Remove unused variable `selected'.
15839 (same-window-p): Use `string-match-p'.
15840 (display-buffer-assq-regexp): Remove unused variable `value'.
15841 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
15842 Mark argument ALIST as ignored.
15843 (pop-to-buffer): Remove unused variable `old-window'.
15844
907201af
EZ
158452012-01-29 Eli Zaretskii <eliz@gnu.org>
15846
15847 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
15848 and .lzma compressed files.
15849
ea162670
CY
158502012-01-29 Chong Yidong <cyd@gnu.org>
15851
5b95ee8a
CY
15852 * frame.el (window-system-default-frame-alist): Doc fix.
15853
ea162670
CY
15854 * dynamic-setting.el (font-setting-change-default-font): Don't
15855 change the default face if SET-FONT argument is non-nil (Bug#9982).
15856
6fccd6e8 158572012-01-29 Samuel Bronson <naesten@gmail.com>
d6e6f4b1
SB
15858
15859 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
15860
0f29fa41 158612012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
15862
15863 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
15864 breakpoints in files outside current directory (Bug#6098).
15865
db174434
CY
158662012-01-29 Chong Yidong <cyd@gnu.org>
15867
6b25e4e2
SE
15868 * progmodes/python.el: Require ansi-color at top-level.
15869
6df6ae42
JB
15870 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
15871 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
15872 (lisp-mode-abbrev-table): Add doc.
15873 (lisp-mode-variables): Don't set local-abbrev-table.
15874 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
15875
e70ee681
RW
158762012-01-28 Roland Winkler <winkler@gnu.org>
15877
15878 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
15879
ace88aa2
RW
158802012-01-28 Roland Winkler <winkler@gnu.org>
15881
15882 * textmodes/bibtex.el (bibtex-entry-alist): New function.
15883 (bibtex-set-dialect): Use it. Either set global values of
15884 dialect-dependent variables or bind these variables buffer-locally
15885 (Bug#10254).
15886 (bibtex-mode): Call bibtex-set-dialect via
15887 hack-local-variables-hook.
eb864a71
LM
15888 (bibtex-dialect): Update docstring.
15889 Add safe-local-variable predicate.
ace88aa2
RW
15890 (bibtex-entry-alist, bibtex-field-alist): Initialize via
15891 bibtex-set-dialect.
15892 (bibtex-mode-map): Define menu for each dialect.
15893 (bibtex-entry): Fix docstring.
15894
93376c5b
CY
158952012-01-28 Chong Yidong <cyd@gnu.org>
15896
15897 * eshell/esh-arg.el (eshell-quote-argument): New function.
15898
15899 * eshell/esh-ext.el (eshell-invoke-batch-file):
15900 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
15901 first arg to eshell-parse-command (Bug#10523).
15902
4372494f
DA
159032012-01-28 Drew Adams <drew.adams@oracle.com>
15904
15905 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
15906 `default-directory' is non-nil.
15907
4d4ec1f8
EZ
159082012-01-28 Eli Zaretskii <eliz@gnu.org>
15909
15910 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
15911 line that displays system-configuration-options. (Bug#9924)
15912
7c188927
DA
159132012-01-28 Drew Adams <drew.adams@oracle.com>
15914
15915 * descr-text.el (describe-char): Show information about POS, in
15916 addition to information about the character at POS. Improve and
15917 update the doc string. Change "code point" to "code point in
15918 charset", to avoid confusion with the character's Unicode code
15919 point shown above that. (Bug#10129)
15920
e0da685a
EZ
159212012-01-28 Eli Zaretskii <eliz@gnu.org>
15922
15923 * descr-text.el (describe-char): Show the raw character, not only
15924 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
15925 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
15926 for the reasons.
15927
70550acf
PH
159282012-01-28 Phil Hagelberg <phil@hagelb.org>
15929
eb864a71
LM
15930 * emacs-lisp/package.el (package-install):
15931 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 15932
0ce8e868
CY
159332012-01-28 Chong Yidong <cyd@gnu.org>
15934
cb882333
JB
15935 * emacs-lisp/package.el (package-maybe-load-descriptor):
15936 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
15937 (package-maybe-load-descriptor): Use it.
15938 (package-download-transaction): Fully load required packages
15939 inside the loop, so that `require' calls work (Bug#10593).
15940 (package-install): No need to call package-initialize now.
15941
2e7f3bea
CY
159422012-01-28 Chong Yidong <cyd@gnu.org>
15943
6e9bad14
CY
15944 * simple.el (deactivate-mark): Doc fix (Bug#8614).
15945
f823b8ca
CY
15946 * tooltip.el (tooltip-mode): Doc fix.
15947 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
15948
2680c309
CY
15949 * frame.el (set-cursor-color): Doc fix (Bug#352).
15950
d7a9e63b
CY
15951 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
15952 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
15953
2e7f3bea
CY
15954 * cus-edit.el (custom-buffer-create-internal): Fix search button
15955 action (Bug#10542).
2ae01800 15956 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 15957
fc4f7a23
EW
159582012-01-27 Eduard Wiebe <usenet@pusto.de>
15959
15960 * dired.el (dired-mark-files-regexp):
15961 Include any subdirectory components. (Bug#10445)
15962
7dd37071
ML
159632012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
15964
15965 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
15966 Handle [host]:port syntax. (Bug#10533)
15967
a268160b
AH
159682012-01-27 Alex Harsanyi <harsanyi@mac.com>
15969
15970 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
15971
e43273ef
GM
159722012-01-26 Glenn Morris <rgm@gnu.org>
15973
15974 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
15975 * term.el (term-raw-escape-map): Use Control-X-prefix.
15976 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
15977
1edf595d
MR
159782012-01-25 Martin Rudalics <rudalics@gmx.at>
15979
15980 * window.el (window-state-get, window--state-get-1): Don't deal
15981 with fixed-sizeness of windows. Simplify code.
15982
fa8eafef
JC
159832012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
15984
6df6ae42
JB
15985 * window.el (window--state-get-1, window--state-put-2):
15986 Don't save and restore the mark.
fa8eafef 15987
0b21c100
CY
159882012-01-25 Chong Yidong <cyd@gnu.org>
15989
15990 * custom.el (custom-variable-p): Doc fix.
15991
5ae1a6c8
GM
159922012-01-25 Glenn Morris <rgm@gnu.org>
15993
40047858
GM
15994 * dired.el (dired-goto-file): Handle some of the more common
15995 characters that `ls -b' escapes. (Bug#10596)
15996
5ddce96c
GM
15997 * progmodes/compile.el (compilation-next-error-function):
15998 Respect compilation-first-column in the "*compilation*" buffer.
15999 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
16000
5ae1a6c8
GM
16001 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
16002
b559f1a9
GM
160032012-01-24 Glenn Morris <rgm@gnu.org>
16004
16005 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
16006
6725d21a
JD
160072012-01-24 Julien Danjou <julien@danjou.info>
16008
16009 * color.el (color-rgb-to-hsl): Fix value computing.
16010 (color-hue-to-rgb): New function.
16011 (color-hsl-to-rgb): New function.
16012 (color-clamp, color-saturate-hsl, color-saturate-name)
16013 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
16014 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
16015
70df4bbe
GM
160162012-01-24 Glenn Morris <rgm@gnu.org>
16017
16018 * vc/vc-rcs.el (vc-rcs-create-tag):
16019 * vc/vc-sccs.el (vc-sccs-create-tag):
16020 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
16021
802a2ae2
ML
160222012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
16023
16024 * eshell/esh-util.el (eshell-read-hosts-file):
16025 Skip comment lines. (Bug#10549)
16026
d7128bb1
ML
16027 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
16028
d1a5c3b4
JB
160292012-01-23 Juanma Barranquero <lekktu@gmail.com>
16030
2724d9c7
JB
16031 * subr.el (display-delayed-warnings): Doc fix.
16032 (collapse-delayed-warnings): New function to collapse identical
16033 adjacent warnings.
16034 (delayed-warnings-hook): Add it.
d1a5c3b4 16035
a5509865
MA
160362012-01-22 Michael Albinus <michael.albinus@gmx.de>
16037
16038 * net/tramp.el (tramp-action-login): Set connection property "login-as".
16039
a5509865
MA
16040 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
16041 (tramp-default-user-alist): Don't add "pscp".
16042 (tramp-do-copy-or-rename-file-out-of-band): Use connection
16043 property "login-as", if set. (Bug#10530)
16044
cc6d5805
MA
160452012-01-21 Michael Albinus <michael.albinus@gmx.de>
16046
16047 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
16048 "plink1" and "psftp". (Bug#10530)
16049
160502012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
16051
16052 * international/mule-cmds.el (prefer-coding-system): Show a
16053 warning message if the default value of file-name-coding-system
16054 was not changed.
16055
f0960428
JC
160562012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
16057
cb882333
JB
16058 * windmove.el (windmove-reference-loc):
16059 Fix windmove-reference-loc miscalculation.
f0960428 16060
dd6f2a63
JB
160612012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
16062
16063 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
16064 default unit.
16065
7b447e9b
GM
160662012-01-21 Glenn Morris <rgm@gnu.org>
16067
117a9ea1
GM
16068 * international/mule.el (auto-coding-alist): Add .tbz.
16069
7b447e9b
GM
16070 * files.el (local-enable-local-variables): Doc fix.
16071 (inhibit-local-variables-regexps): Rename from
16072 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
16073 Doc fix. Add some extensions from auto-coding-alist.
16074 (inhibit-local-variables-suffixes):
16075 Rename from inhibit-first-line-modes-suffixes. Doc fix.
16076 (inhibit-local-variables-p):
16077 New function, extracted from set-auto-mode-1.
16078 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
16079 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
16080 (hack-local-variables): Doc fix. Make the mode-only case
16081 respect enable-local-variables and friends.
16082 Respect inhibit-local-variables-regexps for file-locals, but
16083 not for directory-locals.
16084 (set-visited-file-name):
16085 Take account of inhibit-local-variables-regexps.
16086 Whether it applies may change as the file name is changed.
16087 * jka-cmpr-hook.el (jka-compr-install):
16088 * jka-compr.el (jka-compr-uninstall):
16089 Update for inhibit-first-line-modes-suffixes name change.
16090
dd6e3cdd
MR
160912012-01-20 Martin Rudalics <rudalics@gmx.at>
16092
16093 * help-macro.el (make-help-screen): Temporarily restore original
16094 binding for minor-mode-map-alist (Bug#10454).
16095
0d0deb38
JD
160962012-01-19 Julien Danjou <julien@danjou.info>
16097
16098 * color.el (color-name-to-rgb): Use the white color to find the max
16099 color component value and return correctly computed values.
16100 (color-name-to-rgb): Add missing float conversion for max value.
16101
34a02f46
MR
161022012-01-19 Martin Rudalics <rudalics@gmx.at>
16103
16104 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
16105 special state value for window-persistent-parameters.
16106 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
16107 (window--state-put-2): Reset all window parameters to nil before
16108 assigning values of persistent parameters.
16109
606c44c4
AM
161102012-01-18 Alan Mackenzie <acm@muc.de>
16111
16112 Eliminate sluggishness and hangs in fontification of "semicolon
16113 deserts".
16114
cb882333
JB
16115 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
16116 Change value 10000 -> 3000.
606c44c4
AM
16117 (c-state-safe-place): Reformulate so it doesn't stack up an
16118 infinite number of wrong entries in c-state-nonlit-pos-cache.
16119 (c-determine-limit-get-base, c-determine-limit): New functions to
16120 determine backward search limits disregarding literals.
16121 (c-find-decl-spots): Amend commenting.
16122 (c-cheap-inside-bracelist-p): New function which detects "={".
16123
16124 * progmodes/cc-fonts.el
16125 (c-make-font-lock-BO-decl-search-function): Give a limit to a
16126 backward search.
16127 (c-font-lock-declarations): Fix an occurrence of point being
16128 undefined. Check additionally for point being in a bracelist or
16129 near a macro invocation without a semicolon so as to avoid a
16130 fruitless time consuming search for a declarator. Give a more
16131 precise search limit for declarators using the new
16132 c-determine-limit.
16133
f3860cea
GM
161342012-01-18 Glenn Morris <rgm@gnu.org>
16135
16136 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
16137 (set-auto-mode): Doc fixes.
16138
1db03b16
GM
161392012-01-17 Glenn Morris <rgm@gnu.org>
16140
0e6038be
GM
16141 * isearch.el (search-nonincremental-instead): Fix doc typo.
16142
1db03b16
GM
16143 * dired.el (dired-insert-directory): Handle newlines in directory name.
16144 (dired-build-subdir-alist): Unescape newlines in directory name.
16145
4cb0aa75
MA
161462012-01-17 Michael Albinus <michael.albinus@gmx.de>
16147
16148 * net/tramp.el (tramp-local-end-of-line): New defcustom.
16149 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
16150 (tramp-action-terminal): Use it. (Bug#10530)
16151
1d00653d
SM
161522012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
16153
16154 * minibuffer.el (completion--replace): Strip properties (bug#10062).
16155
6a6ee00d
MR
161562012-01-16 Martin Rudalics <rudalics@gmx.at>
16157
16158 * window.el (window-state-ignored-parameters): Remove variable.
16159 (window--state-get-1): Rename argument MARKERS to IGNORE.
16160 Handle persistent window parameters. Make copy of clone-of
16161 parameter only if requested. (Bug#10348)
16162 (window--state-put-2): Install a window parameter only if it has
16163 a non-nil value or an existing parameter shall be overwritten.
16164
97912def
MA
161652012-01-15 Michael Albinus <michael.albinus@gmx.de>
16166
16167 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
16168
688070a5
EZ
161692012-01-14 Eli Zaretskii <eliz@gnu.org>
16170
16171 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
16172 don't pass the (nil) value of `upnode' to string-match.
16173
301afadc
CY
161742012-01-14 Chong Yidong <cyd@gnu.org>
16175
16176 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 16177 Fix values recognized by the cursorBlink resource.
301afadc 16178
9e5788aa
PE
161792012-01-14 Paul Eggert <eggert@cs.ucla.edu>
16180
16181 * epg.el (epg--make-temp-file): Avoid permission race condition
16182 when running on old Emacs versions (bug#10403).
16183
3cdb7f5a
GM
161842012-01-14 Glenn Morris <rgm@gnu.org>
16185
16186 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
16187
8c82b1b4
AM
161882012-01-13 Alan Mackenzie <acm@muc.de>
16189
16190 Fix filling for when filladapt mode is enabled.
16191
16192 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
16193 c-mask-paragraph, pass in `fill-paragraph' rather than
16194 `fill-region-as-paragraph'. (This is a reversion of a previous
16195 change.)
eb864a71
LM
16196 * progmodes/cc-mode.el (c-basic-common-init):
16197 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 16198
e517eda4
GM
161992012-01-13 Glenn Morris <rgm@gnu.org>
16200
1498536e
GM
16201 * dired.el (dired-switches-escape-p): New function.
16202 (dired-insert-directory): Use dired-switches-escape-p.
16203 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
16204
e517eda4
GM
16205 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
16206
328f984d
GM
162072012-01-12 Glenn Morris <rgm@gnu.org>
16208
16209 * mail/sendmail.el (mail-mode): Update paragraph-separate for
16210 changes in adaptive-fill-regexp. (Bug#10276)
16211
2cc769a8
AM
162122012-01-11 Alan Mackenzie <acm@muc.de>
16213
16214 Fix Emacs bug #10463 - put `widen's around the critical spots.
16215
1d00653d 16216 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
16217 widen around each invocation of c-state-pp-to-literal. Remove an
16218 unused let variable.
16219
e52c37fa
GM
162202012-01-11 Glenn Morris <rgm@gnu.org>
16221
16222 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 16223 Doc fix.
e52c37fa 16224
96f8741e
CY
162252012-01-10 Chong Yidong <cyd@gnu.org>
16226
1d00653d
SM
16227 * net/network-stream.el (network-stream-open-starttls):
16228 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
16229 response to the capability command.
16230
b09a806e
GM
162312012-01-10 Glenn Morris <rgm@gnu.org>
16232
16233 * mail/unrmail.el (unrmail): Tweak previous change.
16234
7655cb66
CY
162352012-01-09 Chong Yidong <cyd@gnu.org>
16236
16237 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
16238
9d5a8f0b
AM
162392012-01-08 Alan Mackenzie <acm@muc.de>
16240
677d5c92 16241 Optimize font locking in long enum definitions.
9d5a8f0b
AM
16242
16243 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
16244 arm to a cond form to handle enums.
16245 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
16246 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
16247
9a0115ab 162482012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
16249
16250 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 16251 (Bug#10401)
6bb72cbd 16252
f186bb95
LMI
162532012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
16254
29232a68
LMI
16255 * faces.el (set-face-attribute): Clarify the meaning of the nil
16256 frame (bug#10294).
16257
4e5d086d
LMI
16258 * subr.el (with-selected-frame): Mention that the selected frame
16259 is restored (bug#9980).
16260
8e66aebe
LMI
16261 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
16262 (bug#9759).
16263
cd394be1 16264 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
16265 (password-read): Don't autoload unused function.
16266
adf4e762
JB
162672012-01-07 Juanma Barranquero <lekktu@gmail.com>
16268
16269 * progmodes/which-func.el (which-func-mode): Turn into a
16270 non-interactive function and mark as obsolete (bug#10428).
16271
89bd9ccd
CY
162722012-01-06 Chong Yidong <cyd@gnu.org>
16273
16274 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
16275 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
16276 functions, along with 1 and -1.
16277
4afee9d5
EZ
162782012-01-06 Eli Zaretskii <eliz@gnu.org>
16279
16280 * time.el (display-time-load-average)
16281 (display-time-default-load-average): Doc fixes. See the thread
16282 starting at
16283 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
16284 for the details.
16285
536aea70
GM
162862012-01-06 Glenn Morris <rgm@gnu.org>
16287
665ae865
GM
16288 * mail/unrmail.el (unrmail): Give an explicit error if the input file
16289 has no messages. (Bug#10377)
16290
c869783d
GM
16291 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
16292 than Info-edit. (Bug#10385)
16293
2bb4227e
GM
16294 * time.el (display-time-load-average, display-time-next-load-average):
16295 Doc fixes.
16296
7d5944b9
GM
16297 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
16298 local setting of buffer-read-only to the input buffer. (Bug#10419)
16299
536aea70
GM
16300 * calendar/calendar.el (calendar-mode):
16301 Locally set scroll-margin to 0. (Bug#10379)
16302
7dccca16
UM
163032012-01-06 Ulrich Mueller <ulm@gentoo.org>
16304
16305 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
16306
afbb7930
GM
163072012-01-05 Glenn Morris <rgm@gnu.org>
16308
16309 * eshell/em-unix.el (diff-no-select): Autoload it.
16310 (eshell/diff): Use diff-no-select. (Bug#10420)
16311
04482335
CY
163122012-01-05 Chong Yidong <cyd@gnu.org>
16313
7baca3bc
CY
16314 * shell.el (shell-dynamic-complete-functions): Revert last change.
16315 (shell-command-completion-function): New function.
16316 (shell-completion-vars): Use it to implement
16317 shell-completion-execonly (Bug#10417).
16318
04482335
CY
16319 * custom.el (enable-theme): Don't set custom-safe-themes.
16320
1d00653d
SM
16321 * cus-theme.el (custom-theme-merge-theme):
16322 Ignore custom-enabled-themes and custom-safe-themes.
04482335 16323
bb5aa5d6
MM
163242012-01-05 Michael R. Mauger <mmaug@yahoo.com>
16325
16326 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
16327 first prompt in `sql-interacive-mode'.
16328 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 16329 keywords.
6df6ae42 16330 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
16331 (sql-product-interactive): Bug fix: Set `sql-buffer' in
16332 context of original buffer. Invoke `sql-login-hook'.
16333
a7183d7c
EZ
163342012-01-04 Eli Zaretskii <eliz@gnu.org>
16335
16336 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
16337 letters in cite-prefix.
16338
a1eacd1e
LMI
163392012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16340
16341 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
16342
787cdb34
CY
163432012-01-03 Chong Yidong <cyd@gnu.org>
16344
1d00653d
SM
16345 * shell.el (shell-dynamic-complete-functions):
16346 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
16347 comint-filename-completion first (Bug#10417).
16348
30710442
RS
163492012-01-02 Richard Stallman <rms@gnu.org>
16350
16351 * battery.el (battery-status-function):
16352 Detect when to use battery-yeeloong-sysfs.
16353 (battery-echo-area-format): Add string for Yeeloong.
16354 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
16355 (battery-yeeloong-sysfs): New function.
16356
f75bfc33
CY
163572012-01-02 Chong Yidong <cyd@gnu.org>
16358
16359 * dirtrack.el (dirtrack-list): Eliminate unused third element.
16360 (dirtrack): Merge code for handling relative filenames in prompt
16361 from shell-dir-cookie-watcher.
16362 (dirtrack-debug-message): New arg to avoid excess format calls.
16363
16364 * shell.el (shell-dir-cookie-re): Variable deleted.
16365 (shell-dir-cookie-watcher): Function deleted.
16366 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
16367 with dirtrack-mode.
16368
651e947e
EZ
163692012-01-01 Eli Zaretskii <eliz@gnu.org>
16370
1d00653d
SM
16371 * term/w32-win.el (dynamic-library-alist) <gnutls>:
16372 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
16373 libgnutls-26.dll.
16374
94d4c7dc
AS
163752011-12-31 Andreas Schwab <schwab@linux-m68k.org>
16376
16377 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
16378
8d43f3cd
EZ
163792011-12-31 Eli Zaretskii <eliz@gnu.org>
16380
16381 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
16382 headers of non-MIME messages, when rmail-enable-mime is non-nil.
16383
98c8795a
MA
163842011-12-29 Michael Albinus <michael.albinus@gmx.de>
16385
16386 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
16387 also for alternative shells.
16388 (tramp-open-connection-setup-interactive-shell): Check, whether
16389 the shell is a busybox.
16390 (tramp-send-command): Don't suppress multiple prompts for
16391 busyboxes, it hurts.
16392
51281b32
CY
163932011-12-28 Chong Yidong <cyd@gnu.org>
16394
16395 * progmodes/gdb-mi.el (gdb-get-source-file-list)
16396 (gdb-get-source-file): Move mode line update to
16397 gdb-get-source-file (Bug#10087).
16398
2170cb53
CY
163992011-12-25 Chong Yidong <cyd@gnu.org>
16400
16401 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
16402 gud-gdb-marker-filter without taking it as an argument.
16403 (gud-gdb-run-command-fetch-lines): Caller changed.
16404 (gud-gdb-completion-function): New variable.
16405 (gud-gdb-completion-at-point): Use it.
16406 (gud-gdb-completions-1): Split from gud-gdb-completions.
16407
16408 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
16409 function as separate arguments.
16410 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
16411 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
16412 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
16413 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
16414 (gdb-stopped, def-gdb-auto-update-trigger)
16415 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
16416 (gdb-get-changed-registers, gdb-get-main-selected-frame):
16417 Callers changed.
2170cb53
CY
16418 (gud-gdbmi-completions): New function.
16419 (gdb): Use it for generating the completion table.
16420
be8b11bb
AM
164212011-12-24 Alan Mackenzie <acm@muc.de>
16422
16423 Introduce a mechanism to widen the region used in context font
1d00653d 16424 locking. Use this to protect declarations from losing their contexts.
be8b11bb 16425
1d00653d
SM
16426 * progmodes/cc-langs.el (c-before-font-lock-functions):
16427 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 16428 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
16429 functions to be run just before context (etc.) font locking.
16430
16431 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 16432 New, functionality extracted from
be8b11bb 16433 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 16434 (c-in-after-change-fontification): New variable.
be8b11bb
AM
16435 (c-after-change): Set c-in-after-change-fontification.
16436 (c-set-fl-decl-start): Rejig its interface, so it can be called
16437 from both after-change and context fontifying.
b81d40f0
JB
16438 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
16439 New functions.
16440 (c-standard-font-lock-fontify-region-function): New variable.
16441 (c-font-lock-fontify-region): New function.
be8b11bb 16442
341cf6ac
JL
164432011-12-24 Juri Linkov <juri@jurta.org>
16444
16445 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
16446 (Bug#10348)
16447
bffcee0a
MA
164482011-12-23 Michael Albinus <michael.albinus@gmx.de>
16449
16450 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
16451 existence of source file. (Bug#10325)
16452
cb5e207c
AM
164532011-12-23 Alan Mackenzie <acm@muc.de>
16454
16455 Fix unstable fontification inside templates.
16456
b81d40f0
JB
16457 * progmodes/cc-langs.el (c-before-font-lock-functions):
16458 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
16459 additionally has c-set-fl-decl-start. The other languages (apart
16460 from AWK) have that as a single entry.
16461
b81d40f0
JB
16462 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
16463 The functionality for "local" declarations has been extracted to
cb5e207c
AM
16464 c-set-fl-decl-start.
16465
b81d40f0
JB
16466 * progmodes/cc-mode.el (c-common-init, c-after-change):
16467 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
16468 (c-set-fl-decl-start): New function, extracted from
16469 c-font-lock-enclosing-decls and enhanced.
16470
60ff536c
JB
164712011-12-23 Juanma Barranquero <lekktu@gmail.com>
16472
16473 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
16474
1c4757d6
JL
164752011-12-22 Juri Linkov <juri@jurta.org>
16476
16477 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
16478
d031f2c7
CY
164792011-12-22 Chong Yidong <cyd@gnu.org>
16480
16481 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
16482
bace743a
DA
164832011-12-21 Drew Adams <drew.adams@oracle.com>
16484
16485 * files.el (file-remote-p): Fix docstring. (Bug#10319)
16486
728a1f2b
JC
164872011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
16488
16489 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
16490
0d373f73
TZ
164912011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
16492
fec0aaa4
TZ
16493 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
16494 highlighting and support. Fix up comments for capitalization.
16495 (cfengine-mode-debug): New var.
16496 (cfengine3-mode): Change the modeline indicator to "CFE3".
16497 (cfengine3-font-lock-keywords): Improve defun highlighting.
16498 (cfengine2-actions): Rename from `cfengine-actions'.
16499 (cfengine2-font-lock-keywords): Rename from
16500 `cfengine-font-lock-keywords'.
16501 (cfengine2-imenu-expression): Rename from
16502 `cfengine-imenu-expression'.
16503 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
16504 (cfengine2-beginning-of-defun): Rename from
16505 `cfengine-beginning-of-defun'.
16506 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
16507 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
16508 (cfengine2-mode): Rename from `cfengine-mode'. Change the
16509 modeline indicator to "CFE2".
16510 (cfengine-mode): Defalias to `cfengine-auto-mode'.
16511 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 16512
bc86f573
CY
165132011-12-21 Chong Yidong <cyd@gnu.org>
16514
16515 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
16516 filename argument.
16517
d45ba96b
MR
165182011-12-20 Martin Rudalics <rudalics@gmx.at>
16519
16520 * window.el (window-normalize-buffer-to-display): Remove.
16521 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
16522
a6198c90
CY
165232011-12-19 Chong Yidong <cyd@gnu.org>
16524
16525 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
16526 Don't signal an error in a predicate function; return non-nil.
16527 (vc-dir-mark-file): Move the error here.
16528 (vc-dir-mark-unmark): If acting on the region, keep going if one
16529 of the entries cannot be marked/unmarked.
16530 (vc-dir-mark-all-files): If current entry is a directory, mark
16531 only child files, as documented.
16532
34c5fb55
VB
165332011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
16534
16535 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
16536 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
16537 addition.
16538
c803b2b7
JD
165392011-12-18 Jan Djärv <jan.h.d@swipnet.se>
16540
16541 * term/ns-win.el (ns-get-selection-internal)
16542 (ns-store-selection-internal): Declare.
1154d12e
JB
16543 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
16544 Declare as obsolete.
16545 (ns-get-pasteboard, ns-paste-secondary):
16546 Use ns-get-selection-internal.
41e9b956 16547 (ns-set-pasteboard, ns-copy-including-secondary):
1154d12e 16548 Use ns-store-selection-internal.
c803b2b7 16549
9cff91f8 165502011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
16551
16552 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 16553 (vc-deduce-fileset): Doc fix.
99a289d9 16554
f16c898a
AS
165552011-12-16 Andreas Schwab <schwab@linux-m68k.org>
16556
16557 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
16558
763237c4
SS
165592011-12-13 Sam Steingold <sds@gnu.org>
16560
16561 * man.el (Man-getpage-in-background): When running under a
16562 window-system, ignore $MANWIDTH and $COLUMNS.
16563
5fc1c122
KH
165642011-12-15 Kenichi Handa <handa@m17n.org>
16565
16566 * language/ethio-util.el: Change coding tag to utf-8-emacs.
16567 (setup-ethiopic-environment-internal): Comment out key-binding for
16568 ethio-toggle-punctuation.
16569
13d49cbb
AM
165702011-12-13 Alan Mackenzie <acm@muc.de>
16571
898169a2
AM
16572 Add the switch statement to AWK Mode.
16573
7a71b18d 16574 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
16575 "default" to the keywords regexp.
16576
7a71b18d 16577 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 16578 expression as the rest.
1d00653d
SM
16579 (c-nonlabel-token-key): Allow string literals for AWK.
16580 Refactor for the other modes.
898169a2 16581
13d49cbb 16582 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 16583 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
16584 routines. Limit backward searching in c-font-lock-enclosing.decl.
16585
16586 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
16587 pp-state and literal type in addition to the limits.
1d00653d 16588 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 16589 (c-state-literal-at): Use the above new defun.
1d00653d
SM
16590 (c-slow-in-literal, c-fast-in-literal): Remove.
16591 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
16592
16593 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
16594 being in a literal. Add a limit for backward searching.
16595
16596 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
16597 c-slow-in-literal.
16598
15e0efc7
SM
165992011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
16600
16601 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
16602
454592a6
MR
166032011-12-13 Martin Rudalics <rudalics@gmx.at>
16604
16605 * window.el (delete-other-windows): Use correct frame in call to
16606 window-with-parameter.
16607
87393f26
DP
166082011-12-12 Daniel Pfeiffer <occitan@t-online.de>
16609
16610 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
16611 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
16612 (makefile-gmake-statements, makefile-makepp-statements):
16613 Use it and add new makepp keywords.
16614 (makefile-makepp-font-lock-keywords): Add new patterns.
16615 (makefile-match-function-end): Match new [...] and [[...]].
16616
11636b22
JB
166172011-12-11 Juanma Barranquero <lekktu@gmail.com>
16618
16619 * ses.el (ses-call-printer-return, ses-cell-property-get)
16620 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
16621 (ses-create-cell-variable, ses-reset-header-string)
16622 (ses-cell-set-formula, ses-repair-cell-reference-all)
16623 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
16624 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
16625 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
16626 (ses-aset-with-undo, ses-load, ses-truncate-cell)
16627 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
16628 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
16629 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
16630 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
16631 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
16632 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
16633 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
16634 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
16635
cf018193
VB
166362011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
16637
16638 * ses.el: The overall change is to add cell renaming, that is
16639 setting fancy names for cell symbols other than name matching
16640 "\\`[A-Z]+[0-9]+\\'" regexp .
16641 (ses-create-cell-variable): New defun.
16642 (ses-relocate-formula): Relocate formulas only for cells the
16643 symbols of which are not renamed, i.e. symbols whose names do not
16644 match regexp "\\`[A-Z]+[0-9]+\\'".
16645 (ses-relocate-all): Relocate values only for cells the symbols of
16646 which are not renamed.
16647 (ses-load): Create cells variables as the (ses-cell ...) are read,
16648 in order to check row col consistency with cell symbol name only
16649 for cells that are not renamed.
16650 (ses-replace-name-in-formula): New defun.
16651 (ses-rename-cell): New defun.
16652
ee957461
CY
166532011-12-11 Chong Yidong <cyd@gnu.org>
16654
16655 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
16656 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
16657
9a9e9ef0
MR
166582011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
16659
16660 * window.el (other-window): Fix docstring.
16661
92a8eba5
EZ
166622011-12-10 Eli Zaretskii <eliz@gnu.org>
16663
16664 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
16665 `from' or `to' address before taking its substring.
16666 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
16667 encoded name is chopped in the middle of the encoded string, and
16668 thus displayed encoded.
16669
e152e577
JB
166702011-12-10 Juanma Barranquero <lekktu@gmail.com>
16671
16672 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
16673
e5d84bfe
EZ
166742011-12-10 Eli Zaretskii <eliz@gnu.org>
16675
16676 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
16677 to use texinfo-update-node and commands that call it if the
16678 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 16679 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
16680 (texinfo-all-menus-update, texinfo-master-menu)
16681 (texinfo-update-node, texinfo-every-node-update)
16682 (texinfo-multiple-files-update): Doc fix. Warn against updating
16683 all the @node lines.
16684 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
16685 argument is numeric. Explain better in the doc string what the
16686 function really does.
16687 (texinfo-insert-master-menu-list): Improve the error message
16688 displayed if there's no menu in the Top node.
16689 (Bug#2975) See also this thread:
e5d84bfe
EZ
16690 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
16691
1d84e9bb
MG
166922011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
16693
16694 * speedbar.el (speedbar-supported-extension-expressions):
16695 Add .adb and .ads, commonly used for Ada source code (bug#10256).
16696
382c953b
JB
166972011-12-09 Juanma Barranquero <lekktu@gmail.com>
16698
16699 * printing.el (pr-mode-alist):
16700 * simple.el (filter-buffer-substring-functions)
16701 (completion-list-insert-choice-function):
16702 * window.el (window-with-parameter, window-atom-root)
16703 (window-sides-slots, window-size-fixed, window-min-delta)
16704 (window-max-delta, window--resize-mini-window)
16705 (window--resize-child-windows-normal, window-tree)
16706 (delete-other-windows, quit-window, split-window)
16707 (display-buffer-record-window, special-display-buffer-names)
16708 (special-display-regexps, special-display-popup-frame)
16709 (same-window-p, split-window-sensibly)
16710 (display-buffer-overriding-action, display-buffer-alist)
16711 (display-buffer-base-action, display-buffer, switch-to-buffer)
16712 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
16713 (fit-window-to-buffer, recenter-positions)
16714 (mouse-autoselect-window-state, mouse-autoselect-window-select):
16715 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
16716 and remove unneeded backslashes in docstrings.
16717
39c9faef
SM
167182011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
16719
98449af8
SM
16720 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
16721
39c9faef
SM
16722 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
16723 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
16724 end in ".mk".
16725 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
16726 when reading the makefile (bug#10116).
16727
86ed9fdc
SM
167282011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
16729
16730 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
16731 (bug#10116).
16732
5580f89d
GM
167332011-12-06 Glenn Morris <rgm@gnu.org>
16734
16735 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
16736
28d3917c
CY
167372011-12-06 Chong Yidong <cyd@gnu.org>
16738
16739 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
16740
a98edce9
JB
167412011-12-06 Juanma Barranquero <lekktu@gmail.com>
16742
16743 * textmodes/table.el (table-shorten-cell): Fix typo.
16744
e65adfac
CG
167452011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
16746
16747 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
16748
71cc0b74
EZ
167492011-12-05 Eli Zaretskii <eliz@gnu.org>
16750
16751 * descr-text.el (describe-char): Fix display of strong
16752 right-to-left characters and directional embeddings and overrides.
16753
16754 * simple.el (what-cursor-position): Fix display of codepoints of
16755 strong right-to-left characters.
16756
315bc30d
CY
167572011-12-05 Chong Yidong <cyd@gnu.org>
16758
16759 * faces.el (read-color): Doc fix.
16760
58a70b94
GM
167612011-12-05 Glenn Morris <rgm@gnu.org>
16762
16763 * align.el (align--set-marker): Add doc-string.
16764 Don't try to move something that is not a marker. (Bug#10216)
16765
5158face
GM
167662011-12-04 Glenn Morris <rgm@gnu.org>
16767
16768 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
16769 overly zealous deletion of trailing whitespace.
16770
520fca41
JB
167712011-12-04 Juanma Barranquero <lekktu@gmail.com>
16772
16773 * server.el (server-delete-client): On Windows, do not try to delete
16774 the only terminal.
16775 (server-process-filter): On Windows, treat requests for a tty frame as
16776 if they were for a GUI frame if the running server is in GUI mode.
16777
5e605a2e
GM
167782011-12-03 Glenn Morris <rgm@gnu.org>
16779
16780 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
16781
5c3fe83f
SM
167822011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
16783
6f5e57e7
SM
16784 * electric.el: Streamline electric-indent's hook.
16785 (electric-indent-chars): Revert to simple list.
16786 (electric-indent-functions): New var.
16787 (electric-indent-post-self-insert-function): Use it.
16788
5c3fe83f
SM
16789 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
16790 there's no inferior buffer (bug#10196).
16791 (prolog-consult-compile): Don't use toggle-read-only.
16792
6bdac736
MA
167932011-12-02 Michael Albinus <michael.albinus@gmx.de>
16794
16795 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
16796 interrupt. (Bug#10187)
16797
6131ba7f
SM
167982011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
16799
99c79fee
SM
16800 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
16801 (bug#9160).
16802
6131ba7f
SM
16803 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
16804 (bug#10191).
16805
cb0a02ea
JL
168062011-12-02 Juri Linkov <juri@jurta.org>
16807
16808 * info.el (Info-search): Display "end of manual" when Isearch
16809 reaches the end of single-file Info manual. (Bug#9918)
16810
66e0570c
EZ
168112011-12-02 Eli Zaretskii <eliz@gnu.org>
16812
16813 * isearch.el (isearch-message-prefix): Run the input method part
16814 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
16815
02b16839
JL
168162011-12-02 Juri Linkov <juri@jurta.org>
16817
16818 * isearch.el (isearch-occur): Use `word-search-regexp' for
16819 `isearch-word'.
16820 (isearch-search-and-update): Add condition for `isearch-word' and
16821 call `word-search-regexp'. (Bug#10145)
16822
0b950688
GM
168232011-12-01 Glenn Morris <rgm@gnu.org>
16824
16825 * eshell/em-hist.el (eshell-hist-initialize):
16826 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 16827 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 16828
9505c3c7
SM
168292011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
16830
16831 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
16832
1bbe96b2 168332011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 16834
a1beca85
SM
16835 * progmodes/verilog-mode.el (verilog-pretty-expr):
16836 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
16837 verilog, such as += *= and the like.
16838 (verilog-assignment-operator-re): Regular expression to find the
16839 assigment operator in a verilog assignment.
16840 (verilog-assignment-operation-re): Regular expression to find an
16841 assignment statement for pretty-expr.
16842 (verilog-in-attribute-p): Query returns true if point is in an
16843 attribute context; used to skip these for expression line up from
16844 pretty-expr.
16845 (verilog-in-parameter-p): Query returns true if point is in an
16846 parameter definition context; used to skip these for expression
16847 line up from pretty-expr.
16848 (verilog-in-parenthesis-p): Query returns true if point is in a
16849 parenthetical expression, specifically ( ) but not [ ] or { };
16850 used by pretty-expr.
16851 (verilog-just-one-space): If there is no space, don't add one.
16852 (verilog-get-lineup-indent-2): Specifically skip just attribute
16853 contexts for expression lineup, rather than skipping all
16854 parenthetical expressions.
16855 (verilog-calculate-indent): Fix comment, and fix indent.
16856 (verilog-do-indent): Indent declarations in lists (suggested by
16857 Joachim Lechner).
16858 (verilog-mode-abbrev-table): Populate abbrev mode with the various
16859 skeleton items.
16860 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
16861 by Alain Mellan).
16862
1bbe96b2 168632011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
16864
16865 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
16866 parameters with embedded comments. Reported by Ray Stevens.
16867 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
16868 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
16869 Reported by Tim Holt.
16870 (verilog-auto): Fix AUTOing a upper module then AUTOing module
16871 instantiated by upper module causing wrong expansion until AUTOed a
16872 second time. Reported by K C Buckenmaier.
16873 (verilog-diff-auto): Fix showing .* as a difference when
16874 `verilog-auto-star-save' off. Reported by Dan Dever.
16875 (verilog-auto-reset, verilog-read-always-signals)
16876 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
16877 temporary signals in reset list if
16878 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
16879 style to each signal's assignment type, bug381.
16880 Reported by Thomas Esposito.
6288f0ca
WS
16881 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
16882 (verilog-uvm-statement-re): Support UVM indentation and
16883 highlighting, with old OVM keywords only.
a1beca85 16884 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
16885 Support AUTOTIEOFF creating non-wire data types.
16886 Suggested by Jonathan Greenlaw.
6288f0ca
WS
16887 (verilog-auto-insert-lisp, verilog-delete-to-paren)
16888 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
16889 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
16890 (verilog-read-sub-decls, verilog-read-sub-decls-line):
16891 Fix mismatching parenthesis inside commented out code when deleting
382c953b 16892 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
16893 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
16894 non-numeric vector width. Reported by Alex Reed.
16895 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 16896 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
16897 (verilog-auto-delete-trailing-whitespace):
16898 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
16899 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
16900 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
16901 Fix verilog-scan-cache corruption when running user AUTO expansion
16902 hooks that call indentation routines.
16903 (verilog-simplify-range-expression): Fix typo ignoring lower case
16904 identifiers.
16905 (verilog-delete-auto): Fix delete-autos to also remove user created
16906 automatics, as long as they start with AUTO.
16907 (verilog-batch-diff-auto, verilog-diff-auto)
16908 (verilog-diff-function): Add `verilog-diff-auto' and bind to
16909 "C-c?" to report differences in AUTO expansion, ignoring spaces.
16910 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
16911 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
16912 (verilog-re-search-forward-quick, verilog-syntax-ppss):
16913 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
16914 is disabled and its cache will get corrupt, causing AUTOS not to
16915 expand. Instead use only -quick functions.
16916 (verilog-scan-region): Fix scanning over escaped quotes.
16917 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
16918 (verilog-re-search-backward-quick)
16919 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
16920 related functions now ignore strings, to fix misparsing of strings
16921 with magic comments embedded in them.
a1beca85
SM
16922 (verilog-read-auto-template):
16923 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
16924 Reported by Brad Dobbie.
16925 (verilog-read-auto-template):
16926 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 16927 Reported by Brad Dobbie.
6288f0ca
WS
16928 (verilog-auto-inst, verilog-auto-inst-param)
16929 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
16930 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
16931 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
16932 debugging templates without merge conflicts, bug357.
16933 Reported by Brad Dobbie.
16934 (verilog-read-auto-template):
16935 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
16936 Reported by Brad Dobbie.
16937 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
16938 abbrevs so user won't be asked to save.
16939 (verilog-read-auto-lisp-present): Fix to start at beginning of
16940 buffer in case called outside of verilog-auto.
16941 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
16942 to "X-2". Reported by Matthew Myers.
16943 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
16944 all inputs from module templates. Reported by Leith Johnson.
16945 (verilog-module-inside-filename-p): Fix locating programs as with
16946 modules.
16947 (verilog-auto-inst-port): Fix vl-width expressions when using
16948 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
16949 (verilog-decls-get-regs, verilog-decls-get-signals,
16950 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
16951 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
16952 verilog-read-decls): Combine reg and wire structures into one var
16953 structure to represent SystemVerilog concepts.
16954 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
16955 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
16956 (verilog-auto-wire-type, verilog-insert-definition):
16957 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
16958 SystemVerilog "logic" keyword instead of "wire"/"reg".
16959 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
16960 to declares outputs that also have assignments (presumably in an
a1beca85
SM
16961 ifdef or generate if so there's not a driver conflict).
16962 Reported by Matthew Myers.
16963 (verilog-auto-declare-nettype, verilog-insert-definition):
16964 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
16965 `default_nettype none. Reported by Julian Gorfajn.
16966 (verilog-read-always-signals-recurse, verilog-read-decls)
16967 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
16968 malformed end statement, bug325. Reported by Joshua Wise and
16969 Andrew Drake.
16970 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
16971 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
16972 when expanding .* in interfaces, bug320.
16973 Reported by Pierre-David Pfister.
6288f0ca 16974 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
16975 name and open parenthesis, bug317.
16976 Reported by Pierre-David Pfister.
6288f0ca
WS
16977 (verilog-simplify-range-expression): Fix simplification of
16978 multiplications inside AUTOWIRE connections, bug303.
16979 (verilog-auto-inst-port): Support parameter expansion in
16980 multidimensional arrays.
16981 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
16982 after "assert property". Reported by Julian Gorfajn.
16983 (verilog-simplify-range-expression): Fix "couldn't merge" errors
16984 with multiplication, bug303.
16985 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
16986 Reported by Jan Frode Lonnum.
16987
1bbe96b2
GM
169882011-11-30 Juanma Barranquero <lekktu@gmail.com>
16989
16990 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
16991 (hfy-shell-file-name, hfy-shell):
16992 * international/fontset.el (x-decompose-font-name): Fix typos.
16993
169942011-11-29 Ken Brown <kbrown@cornell.edu>
16995
16996 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
16997 (gdb-version): Remove defvar.
16998 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
16999 (gdb-gud-context-command, gdb-non-stop-handler)
17000 (gdb-current-context-command, gdb-stopped): Use it.
17001 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
17002 (gdb-non-stop-handler): Don't enable pretty-printing here.
17003 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
17004 non-stop mode. Use the following.
17005 (gdb-check-target-async): New defun.
17006 (gud-watch, gdb-stopped): Fix whitespace.
17007 (gdb-get-source-file): Don't try to display the source file if
17008 `gdb-main-file' is nil.
17009
170102011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
17011
17012 * align.el: Try to generate fewer markers (bug#10047).
17013 (align--set-marker): New macro.
17014 (align-region): Use it.
17015
c935221f
SM
170162011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
17017
17018 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
17019
e70b5064
CY
170202011-11-29 Chong Yidong <cyd@gnu.org>
17021
17022 * indent.el (indent-for-tab-command, indent-according-to-mode):
17023 Doc fix.
17024 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
17025
f3af92b7
MA
170262011-11-29 Michael Albinus <michael.albinus@gmx.de>
17027
17028 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
17029 aware of remote file names. (Bug#10124)
17030
ed472be9
CY
170312011-11-29 Chong Yidong <cyd@gnu.org>
17032
17033 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
17034
24510c22
SM
170352011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
17036
17037 * files.el (find-file): Don't use force-same-window (bug#10144).
17038 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
17039 use pop-to-buffer if the selected window can't be used.
17040 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
17041
c60c3703
EZ
170422011-11-28 Eli Zaretskii <eliz@gnu.org>
17043
17044 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
17045 special-mode-map.
17046
e95def75
CY
170472011-11-28 Chong Yidong <cyd@gnu.org>
17048
17049 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
17050
c3f1c606
NR
170512011-11-27 Nick Roberts <nickrob@snap.net.nz>
17052
17053 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
17054 gdb-get-source-file-list on gdb-create-source-file-list.
17055
00db469c
EZ
170562011-11-26 Eli Zaretskii <eliz@gnu.org>
17057
17058 * whitespace.el (whitespace-newline): Use a different foreground
17059 color for 16-color light-background displays.
17060
4ad3bc2a
CY
170612011-11-24 Chong Yidong <cyd@gnu.org>
17062
17063 * window.el (display-buffer--special-action): Doc fix.
17064
e9fce1ac
JB
170652011-11-25 Juanma Barranquero <lekktu@gmail.com>
17066
17067 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
17068 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
17069 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
17070 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
17071 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
17072 (avl-tree-stack-first):
17073 * emacs-lisp/cconv.el (cconv--analyse-use):
17074 * net/gnutls.el (gnutls-negotiate): Fix typos.
17075
cb825e5d
GM
170762011-11-24 Glenn Morris <rgm@gnu.org>
17077
3adbe224
GM
17078 * lpr.el (lpr-windows-system, lpr-lp-system):
17079 * mail/binhex.el (binhex-begin-line):
17080 * progmodes/grep.el (grep-history, grep-find-history):
17081 * textmodes/flyspell.el:
17082 * vc/pcvs-defs.el (cvs-global-menu):
17083 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
17084 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
17085 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
17086
321decc8
GM
17087 * net/tls.el: Fix case of "GnuTLS".
17088
420b63ad
GM
17089 * paths.el (rmail-file-name): Format doc-string for make-docfile.
17090
cb825e5d
GM
17091 * version.el (emacs-build-system): Give it a doc-string.
17092
a0649f08
JL
170932011-11-24 Juri Linkov <juri@jurta.org>
17094
17095 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
17096
c0bc0fd4
GM
170972011-11-24 Glenn Morris <rgm@gnu.org>
17098
17099 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
17100 if called on a non-mime message just toggle the headers. (Bug#8006)
17101
20db1522
JB
171022011-11-24 Juanma Barranquero <lekktu@gmail.com>
17103
17104 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
17105 (allout-lead-with-comment-string, allout-structure-deleted-hook)
17106 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
17107 (allout-rebullet-heading, allout-open-sibtopic)
17108 (allout-toggle-current-subtree-encryption)
17109 (allout-toggle-subtree-encryption, allout-encrypt-string)
17110 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
17111 (allout-distinctive-bullets-string, allout-auto-activation):
17112 * window.el (window-normalize-buffer-to-display):
17113 * progmodes/verilog-mode.el (verilog-batch-indent):
17114 * textmodes/bibtex.el (bibtex-field-braces-opt)
17115 (bibtex-field-strings-opt):
17116 * vc/cvs-status.el (cvs-tree-merge):
17117 Fix typos.
17118
7262a87c
MA
171192011-11-23 Michael Albinus <michael.albinus@gmx.de>
17120
17121 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
17122 `non-essential' to t, in order to avoid remote connections.
17123
283430a1
EZ
171242011-11-23 Eli Zaretskii <eliz@gnu.org>
17125
a1beca85
SM
17126 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
17127 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
17128 case-insensitively.
17129
d2992a38
ML
171302011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
17131
17132 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
17133
50419064
GM
171342011-11-23 Glenn Morris <rgm@gnu.org>
17135
da94eca1
GM
17136 * paths.el (rmail-file-name): Reformat the doc-string so that it
17137 is picked up.
17138
9aac4de2
GM
17139 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
17140 (rmail-auto-file): Ignore case in the "special" field names,
17141 as mail-fetch-field does for all others.
17142
8038d2d2
GM
17143 * mail/rmail.el (rmail-forward):
17144 * mail/rmailkwd.el (rmail-set-label):
17145 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
17146 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
17147
f3fe222a
GM
17148 * mail/rmail.el (rmail-current-message): Doc fix.
17149
50419064
GM
17150 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
17151
28109f49
SM
171522011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
17153
17154 * server.el (server-eval-and-print): Allow C-g (bug#6585).
17155
394c65f1
GM
171562011-11-22 Glenn Morris <rgm@gnu.org>
17157
17158 * mail/rmailmm.el (test-rmail-mime-handler)
17159 (test-rmail-mime-bulk-handler)
17160 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
17161
f2a0aa3a
JL
171622011-11-21 Juri Linkov <juri@jurta.org>
17163
1154d12e
JB
17164 * calc/calc.el (calc-read-key-sequence):
17165 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 17166
9c34a344
LMI
171672011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
17168
17169 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
17170 Tell the caller that the next line needs recomputation, even
17171 though it doesn't start a sexp (bug#10094).
17172
f04a3be9
SM
171732011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
17174
17175 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
17176
7978747f
SM
171772011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
17178
f04a3be9
SM
17179 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
17180 Use force-same-window.
7978747f 17181
fe7a3057
JB
171822011-11-20 Juanma Barranquero <lekktu@gmail.com>
17183
17184 * descr-text.el (describe-char-unicode-data):
17185 * json.el (json-string-escape):
17186 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
17187 (Footnote-unicode, Footnote-style-p):
17188 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
17189
24901d61
CY
171902011-11-20 Chong Yidong <cyd@gnu.org>
17191
17192 * window.el (replace-buffer-in-windows): Restore interactive spec.
17193
bac7ff22
SM
171942011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
17195
24f3d7b9
SM
17196 * electric.el (electric-indent-mode): Fix last change (too optimistic).
17197
bac7ff22
SM
17198 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
17199 (byte-compile-global-not-obsolete-vars): New var.
17200 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
17201 Use it.
17202 (byte-compile-warn-obsolete): Align text with the one in *Help*.
17203
cd1181db
JB
172042011-11-20 Juanma Barranquero <lekktu@gmail.com>
17205
17206 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
17207 * progmodes/pascal.el (electric-pascal-equal):
17208 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
17209 * xml.el (xml-substitute-special): Fix typos.
17210
7fb18e9e
GM
172112011-11-20 Glenn Morris <rgm@gnu.org>
17212
17213 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
17214 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
17215 Doc fixes.
17216 (rmail-decode-mime-charset): Mark as obsolete.
17217
17218 * mail/rmailsum.el (rmail-message-regexp-p-1):
17219 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
17220 Before using mime functions, check they are set. (Bug#10077)
17221
d5a6b3ba
JL
172222011-11-19 Juri Linkov <juri@jurta.org>
17223
17224 * info.el (Info-finder-find-node): Use `package--builtins' instead
17225 of `package-alist'. Use node names formed by the pattern "Keyword "
17226 and the keyword name.
17227
e981b61f
AS
172282011-11-19 Andreas Schwab <schwab@linux-m68k.org>
17229
1d00653d 17230 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 17231
3ffbc301
JL
172322011-11-19 Juri Linkov <juri@jurta.org>
17233
17234 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
17235 that calls `revert-buffer' on all Info buffers. (Bug#9915)
17236 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
17237 `old-history', `old-history-forward'. Add let-binding
17238 `window-selected'. Remove calls to `kill-buffer',
17239 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
17240 before calling `Info-find-node', so `Info-find-node-2' will reread
17241 the Info file. Restore window positions only when `window-selected'
17242 is non-nil.
17243
30c62133
JL
172442011-11-19 Juri Linkov <juri@jurta.org>
17245
17246 * isearch.el (isearch-lazy-highlight-new-loop):
17247 Remove condition `(not isearch-error)'. (Bug#9918)
17248
17249 * misearch.el (multi-isearch-search-fun): Add condition
17250 `(not bound)' to ignore lazy-highlighting search.
17251 Add the search-failed message "end of multi" when the end of
17252 multi-sequence is reached. Uncapitalize the search-failed
17253 message "Repeat for next buffer".
17254
17255 * info.el (Info-search): Add the search-failed message
17256 "end of the manual" when the end of the manual is reached
17257 in Isearch mode.
17258
645ca9cf
JL
172592011-11-19 Juri Linkov <juri@jurta.org>
17260
17261 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
17262 Use non-destructive `remove' instead of `delete' because
17263 `Info-history-list' stored to `Info-isearch-initial-history-list' in
17264 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
17265
df754f66
JL
172662011-11-19 Juri Linkov <juri@jurta.org>
17267
17268 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
17269 to nil instead of binding `search-ring' and `regexp-search-ring'.
17270 (Bug#9185)
17271
0e23d96a
EZ
172722011-11-19 Eli Zaretskii <eliz@gnu.org>
17273
17274 * simple.el (line-move): Force movement by logical lines for any
17275 hscrolled window, not only when auto-hscroll-mode is on.
17276 (line-move-visual): Update doc string to that effect. (Bug#10076)
17277
8a6ccb66
AS
172782011-11-19 Andreas Schwab <schwab@linux-m68k.org>
17279
17280 * language/european.el (macintosh): Define as alias for mac-roman.
17281
49ae5b39
EZ
172822011-11-19 Eli Zaretskii <eliz@gnu.org>
17283
17284 * mail/rmailmm.el (rmail-mime-display-header)
17285 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
17286 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
17287 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
17288 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
17289 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
17290 of a raw aref.
17291 (rmail-mime-entity-segment): To get past the tagline, move forward
17292 2 more lines, to account for the 2 empty lines that precede and
17293 follow the line with the buttons.
17294 (rmail-mime-update-tagline): Move one more line, to get past the
17295 empty line that follows the buttons in the tagline. (Bug#9520)
17296
c56cad4a
MR
172972011-11-19 Martin Rudalics <rudalics@gmx.at>
17298
17299 * window.el (window-max-delta-1, window-min-delta-1)
17300 (window-min-size-1, window-state-get-1, window-state-put-1)
17301 (window-state-put-2): Use "window--" prefix.
17302
cbe71af3
SM
173032011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
17304
2ad52c60
SM
17305 * emacs-lisp/smie.el: Improve warnings and conflict detection.
17306 (smie-warning-count): New var.
17307 (smie-set-prec2tab): Use it.
17308 (smie-bnf->prec2): Improve warnings. Add docstring.
17309 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
17310 (smie-bnf--set-class): New function.
17311 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
17312 corner case.
17313
6944dbc1
SM
17314 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
17315 (compilation-error-properties, compilation-move-to-column):
17316 Handle compilation-first-column while in the target buffer.
17317
c400c4d7
SM
17318 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
17319 Don't hardcode point-min==1.
17320
6dbe3e96
SM
17321 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
17322 (eshell-rewrite-for-command): Remove workaround.
17323 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
17324 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
17325 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
17326
cbe71af3
SM
17327 * files-x.el (modify-file-local-variable): Obey commenting conventions.
17328
a8e1496d
GM
173292011-11-17 Glenn Morris <rgm@gnu.org>
17330
17331 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
17332 Ignore buffer-local generated-autoload-file if it is the same
17333 as the global value. (Bug#10049)
17334
df85d315
JB
173352011-11-17 Juanma Barranquero <lekktu@gmail.com>
17336
17337 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
17338 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
17339 (reftex-toc-previous-heading, reftex-toc-max-level)
17340 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
17341 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
17342 (reftex-toc-do-promote, reftex-toc-promote-prepare)
17343 (reftex-toc-promote-action, reftex-toc-extract-section-number)
17344 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
17345 (reftex-toc-rename-label, reftex-toc-visit-location)
17346 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
17347 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
17348 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
17349 leaving "*toc*" only for references to the buffer.
17350
a0c2d0ae
MR
173512011-11-17 Martin Rudalics <rudalics@gmx.at>
17352
17353 * window.el (window-resize, delete-window, split-window):
17354 Replace window-splits by window-combination-resize.
1d00653d 17355 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 17356
35c0bac8
GM
173572011-11-17 Glenn Morris <rgm@gnu.org>
17358
17359 * progmodes/sh-script.el (sh-font-lock-keywords-var):
17360 Make bash entry derive from sh entry, not shell entry.
17361
d0c8fc8a
MA
173622011-11-16 Michael Albinus <michael.albinus@gmx.de>
17363
7262a87c
MA
17364 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
17365 local file name.
17366
7877f373
JB
173672011-11-16 Juanma Barranquero <lekktu@gmail.com>
17368
17369 * menu-bar.el (menu-bar-file-menu):
17370 * printing.el (pr-ps-utility):
17371 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
17372 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
17373 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
17374 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
17375 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
17376 (icalendar--convert-cyclic-to-ical)
17377 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
17378 (icalendar--convert-ical-to-diary)
17379 (icalendar--convert-recurring-to-diary)
17380 (icalendar--convert-non-recurring-all-day-to-diary)
17381 (icalendar-import-format-sample):
17382 * progmodes/idlw-shell.el (idlwave-shell-mode):
17383 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
17384 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
17385 (vhdl-ps-print-init): Fix typos.
17386
10649b82
KM
173872011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
17388
9d0cfcd6
GM
17389 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
17390 FSF and collapse date sequence, obscure author/maintainer email address
17391 better, remove extra version line, track relocation of author's webpage.
10649b82 17392
9d0cfcd6
GM
17393 * progmodes/python.el (python-pdbtrack-input-prompt)
17394 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
17395 regular python pdb prompts. Adjustments shamelessly taken exactly as
17396 suggested in EmacsWiki page (tiny change):
17397 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 17398
58179cce
JB
173992011-11-16 Juanma Barranquero <lekktu@gmail.com>
17400
17401 * expand.el (expand-pos, expand-index, expand-point):
17402 Remove redundant info from docstring.
17403 (expand-add-abbrevs): Doc fix.
17404 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
17405 (expand-sample-perl-mode-expand-list): Fix typos.
17406
17407 * net/dbus.el (dbus-event-member-name):
17408 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
17409 * term/pc-win.el (msdos-create-frame-with-faces):
17410 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
17411
b6f67890
MR
174122011-11-16 Martin Rudalics <rudalics@gmx.at>
17413
17414 * window.el (split-window, window-state-get-1)
17415 (window-state-put-1, window-state-put-2): Rename occurrences of
17416 window-nest to window-combination-limit.
1d00653d 17417 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 17418
ce7ddba0
CY
174192011-11-16 Chong Yidong <cyd@gnu.org>
17420
17421 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
17422 regexp (Bug#10033).
17423
3ae704f4
SM
174242011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
17425
17426 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
17427 `completing-read' will remove *Completions* and will preserve
17428 current-buffer for us.
17429 (tmm-add-prompt): Users of *Completions* will always (re)set its
17430 major mode.
17431 (tmm-old-comp-map): Remove.
17432
6ad1cdde
GM
174332011-11-16 Glenn Morris <rgm@gnu.org>
17434
17435 * mail/rmailedit.el: Require rmailmm when compiling.
17436 (rmail-old-mime-state): New declaration.
17437 (rmail-edit-current-message): If editing a mime message,
17438 edit the "raw" message from the mbox buffer.
17439 (rmail-cease-edit): Handle mime messages. (Bug#9840)
17440
d20faa20
GM
174412011-11-15 Glenn Morris <rgm@gnu.org>
17442
17443 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
17444 which wasn't being used. Add optional arg to force given state.
17445 (rmail-mime): Add optional arg to force given state.
17446
c7015153
JB
174472011-11-15 Juanma Barranquero <lekktu@gmail.com>
17448
17449 * allout.el (allout-encryption-plaintext-sanitization-regexps):
17450 * frame.el (display-mm-dimensions-alist):
17451 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
17452 (outline-move-subtree-down):
17453 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
17454 (newsticker--treeview-do-get-node):
17455 * net/quickurl.el (quickurl-list-buffer-name):
17456 * progmodes/dcl-mode.el (dcl-mode):
17457 * progmodes/gdb-mi.el (gdb-mapcar*):
17458 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
17459
45261b50
GM
174602011-11-15 Glenn Morris <rgm@gnu.org>
17461
17462 * mail/rmail.el (rmail-file-coding-system): It's only ever used
17463 in a boolean sense, so just make it a boolean, and fix the doc.
17464 (rmail-show-mime-function, rmail-mime-feature)
17465 (rmail-require-mime-maybe): Doc fixes.
17466 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
17467
17468 * mail/rmailmm.el (rmail-show-mime): Doc fix.
17469
0d26e0b6
JB
174702011-11-15 Juanma Barranquero <lekktu@gmail.com>
17471
17472 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
17473 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
17474 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
17475 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
17476
447f30f6
GM
174772011-11-15 Glenn Morris <rgm@gnu.org>
17478
672b871d
GM
17479 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
17480 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
17481 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
17482 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
17483 (rmail-mime, rmail-show-mime): Doc fixes.
17484
f6aa5bb1
GM
17485 * term/ns-win.el (mode-line-frame-identification):
17486 Leave it alone. (Bug#10051)
17487
947cd66b
GM
17488 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
17489
447f30f6
GM
17490 * mail/rmailout.el (rmail-output-to-rmail-buffer):
17491 Handle empty buffers. (Bug#9978)
17492
0b381c7e
JB
174932011-11-14 Juanma Barranquero <lekktu@gmail.com>
17494
17495 * international/mule.el (define-charset):
17496 * mail/rmailmm.el (rmail-mime-find-header-encoding):
17497 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
17498 * progmodes/verilog-mode.el (verilog-backward-token):
17499 * textmodes/ispell.el (lookup-words):
17500 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
17501
71e027ac
GM
175022011-11-14 Glenn Morris <rgm@gnu.org>
17503
56632ce4
GM
17504 * progmodes/executable.el
17505 (executable-make-buffer-file-executable-if-script-p):
17506 Handle file-modes returning nil.
17507
40500957
GM
17508 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
17509 message - not necessary, and causes problems. (Bug#9831)
17510
071c2340
GM
17511 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
17512
d3cfca60
GM
17513 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
17514
71e027ac
GM
17515 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
17516 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
17517 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
17518
89d61221
MR
175192011-11-12 Martin Rudalics <rudalics@gmx.at>
17520
17521 * window.el (window-resize, delete-window): Use window-splits
17522 variable instead of function.
17523 (window-state-get-1, window-state-put-2, window-state-put):
17524 Don't deal with windows' splits status.
17525
98282f6f
GM
175262011-11-12 Glenn Morris <rgm@gnu.org>
17527
17528 * apropos.el (apropos-do-all, apropos-library, apropos-value)
17529 (apropos-documentation): Doc fixes.
17530
40a8bdf6
JB
175312011-11-11 Juanma Barranquero <lekktu@gmail.com>
17532
17533 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
17534 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
17535
65bd19ff
SM
175362011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
17537
17538 * electric.el (electric-indent-post-self-insert-function): Make it
17539 possible for a char to only indent in some circumstances.
17540 (electric-indent-mode): Simplify.
17541
54f9154c
MR
175422011-11-11 Martin Rudalics <rudalics@gmx.at>
17543
17544 * window.el (windows-with-parameter): Remove unused function.
17545 (windows-at-side): Rename to window-at-side-list.
17546 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
17547 (window-side-check, window-size-ignore, window-size-fixed-1)
17548 (window-in-direction-2): Prefix with "window--".
17549 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 17550
68cbc58b
GM
175512011-11-11 Glenn Morris <rgm@gnu.org>
17552
17553 * subr.el (eval-after-load): If FILE is already loaded,
17554 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
17555
b2621720
GM
175562011-11-10 Glenn Morris <rgm@gnu.org>
17557
9a4de110
GM
17558 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
17559 Call svn via vc-svn-command rather than vc-do-command.
17560 (vc-svn-command): Add --non-interactive. (Bug#9993)
17561 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
17562
b2621720
GM
17563 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
17564 Add toggle-read-only. (Bug#7292)
17565 * files.el (toggle-read-only): Mention that it should only
17566 be used interactively. (Bug#10006)
17567
1dce7193
SM
175682011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
17569
d9ac1a1e
SM
17570 * progmodes/compile.el (compilation-error-regexp-alist-alist):
17571 Adjust regexp for OCaml warnings.
17572
0c325082
SM
17573 * electric.el (electric-pair-post-self-insert-function): Let user
17574 turn it off buffer-locally (bug#9932).
17575
90132c14
SM
17576 * progmodes/python.el (python-beginning-of-statement):
17577 Rewrite (bug#2703).
17578
1dce7193
SM
17579 * progmodes/compile.el: Better handle TABs (bug#9749).
17580 (compilation-internal-error-properties)
17581 (compilation-next-error-function): Obey the target buffer's
17582 compilation-error-screen-columns.
17583
c4e7c63a
JB
175842011-11-09 Juanma Barranquero <lekktu@gmail.com>
17585
17586 * progmodes/meta-mode.el: Remove obsolete comments.
17587 (meta-right-comment-regexp, meta-ignore-comment-regexp):
17588 Fix typos in docstrings.
17589
2cffd681
MR
175902011-11-09 Martin Rudalics <rudalics@gmx.at>
17591
17592 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 17593 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
17594 (window--resizable): New function. Make all callers of
17595 window-resizable call window--resizable instead.
17596 (window-resizable): Rewrite in terms of window--resizable.
17597
0edcba87
GM
175982011-11-08 Glenn Morris <rgm@gnu.org>
17599
17600 * progmodes/delphi.el (delphi-mode-syntax-table):
17601 Let define-derived-mode define a proper syntax table. (Bug#9994)
17602
4b0d61e3
SM
176032011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
17604
17605 * window.el: Stay away from defsubst.
17606 (window-list-no-nils): Remove.
17607 (window-state-get-1, window-state-get): Use backquote instead.
17608
cd394be1 176092011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 17610
4b0d61e3 17611 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 17612 Fix incorrect use of default argument in `completing-read'.
17613
e1c2c6f2
MR
176142011-11-08 Martin Rudalics <rudalics@gmx.at>
17615
17616 * window.el (display-buffer-function, special-display-function):
17617 Mention display-buffer-record-window but do not mention
17618 help-setup parameter in doc-strings.
b3f4a882 17619 (window-min-delta): Fix doc-string typo.
e1c2c6f2 17620
105216ed
CY
176212011-11-08 Chong Yidong <cyd@gnu.org>
17622
17623 * window.el (window-total-height, window-total-width): Doc fix.
17624 (window-body-size): Move from C.
17625 (window-body-height, window-body-width): Move to C.
17626
0a9f9ab5
SM
176272011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
17628
17629 * window.el: Make special-display like display-buffer-alist (bug#9532).
17630 (display-buffer--special-action): New function, morphed
17631 from display-buffer--special.
17632 (display-buffer): Use it to handle special-display-buffers at higher
17633 priority (just after display-buffer-alist).
17634 (display-buffer-fallback-action, display-buffer--other-frame-action)
17635 (pop-to-buffer-same-window): Remove display-buffer--special.
17636
a769dd15
GM
176372011-11-07 Glenn Morris <rgm@gnu.org>
17638
17639 * calendar/cal-menu.el (cal-menu-set-date-title):
17640 Do nothing if not in a calendar. (Bug#9976)
17641
05a61ee3
SM
176422011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
17643
17644 * files.el (find-file): Always use selected-window.
17645
be7f5545
MR
176462011-11-07 Martin Rudalics <rudalics@gmx.at>
17647
17648 * window.el (window-combinations): Make WINDOW argument
17649 mandatory. Rewrite doc-string.
17650 (walk-window-subtree, window-atom-check, window-min-delta)
17651 (window-max-delta, window--resize-this-window)
17652 (window--resize-root-window-vertically, window-tree)
17653 (balance-windows, window-state-put): Rewrite doc-strings as to
17654 not mention the term "subwindow".
17655 (window--resize-subwindows-skip-p): Rename to
17656 window--resize-child-windows-skip-p.
17657 (window--resize-subwindows-normal): Rename to
17658 window--resize-child-windows-normal.
17659 (window--resize-subwindows): Rename to
17660 window--resize-child-windows.
17661 (window-or-subwindow-p): Rename to window--in-subtree-p.
17662
3c6702ef
ML
176632011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
17664
17665 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
17666 Ensure that mbox format messages end in two newlines (Bug#9974).
17667
49745b39
CY
176682011-11-06 Chong Yidong <cyd@gnu.org>
17669
17670 * window.el (window-combination-p): Function deleted; its
17671 side-effect is not used in any existing code.
17672 (window-combinations, window-combined-p): Call window-*-child
17673 directly.
17674
24300f5f
CY
176752011-11-05 Chong Yidong <cyd@gnu.org>
17676
17677 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
17678 (window-size-ignore, window-state-get): Callers changed.
17679 (window-normalize-window): Rename from window-normalize-any-window.
17680 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 17681 (window-normalize-live-window): Delete.
447f16b8
CY
17682 (window-combination-p, window-combined-p, window-combinations)
17683 (walk-window-subtree, window-atom-root, window-min-size)
17684 (window-sizable, window-sizable-p, window-size-fixed-p)
17685 (window-min-delta, window-max-delta, window-resizable)
17686 (window-resizable-p, window-full-height-p, window-full-width-p)
17687 (window-current-scroll-bars, window-point-1, set-window-point-1)
17688 (window-at-side-p, window-in-direction, window-resize)
17689 (adjust-window-trailing-edge, maximize-window, minimize-window)
17690 (window-deletable-p, delete-window, delete-other-windows)
17691 (record-window-buffer, unrecord-window-buffer)
17692 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
17693 (quit-window, split-window, window-state-put)
17694 (set-window-text-height, fit-window-to-buffer)
17695 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 17696
89bd5ee1
EZ
176972011-11-04 Eli Zaretskii <eliz@gnu.org>
17698
53479029
EZ
17699 * mail/rmail.el (rmail-simplified-subject): Decode subject with
17700 rfc2047-decode-string.
17701 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
17702 warnings.
17703
89bd5ee1
EZ
17704 * window.el (window-body-height, window-body-width): Mention in
17705 the doc string that the return values are in frame's canonical
17706 units. (Bug#9949)
17707
bd17fdee
AM
177082011-11-03 Alan Mackenzie <acm@muc.de>
17709
17710 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
17711 change in cc-engine.el.
17712
acc825c5
SM
177132011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
17714
17715 * window.el (switch-to-buffer): Use `force-same-window' interactively.
17716
1885e5b8
MR
177172011-11-02 Martin Rudalics <rudalics@gmx.at>
17718
17719 * window.el (quit-window): Call unrecord-window-buffer after
17720 showing another buffer in the window. (Bug#9937)
acc825c5 17721 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 17722
ebe06da9
JB
177232011-11-02 Juanma Barranquero <lekktu@gmail.com>
17724
17725 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
17726 Accept status with more than 9 shelves. (Bug#9935)
17727 Reported by Colin D Bennett <colin@gibibit.com>.
17728
4ee88440
MR
177292011-11-01 Martin Rudalics <rudalics@gmx.at>
17730
17731 * help.el (with-help-window): Don't reference
17732 temp-buffer-show-specifiers in doc-string.
17733
08e1d82c
AS
177342011-10-31 Andreas Schwab <schwab@linux-m68k.org>
17735
17736 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
17737 menu-item.
17738
84bd6e9e
VJL
177392011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
17740
17741 * whitespace.el: New version 13.2.2.
17742 (whitespace-newline-mode): Disable properly. Reported by Sarah
17743 <EmacsWiki>.
17744
dba0634a
UJ
177452011-10-30 Ulf Jasper <ulf.jasper@web.de>
17746
17747 * net/newst-treeview.el: Remove "Time-stamp".
17748 (newsticker--group-manage-orphan-feeds): Do not call
17749 newsticker--treeview-tree-update.
db22a3c2
JB
17750 (newsticker-treeview-update, newsticker-treeview):
17751 Call newsticker--treeview-tree-update if necessary.
dba0634a 17752
3d8daefe
MR
177532011-10-30 Martin Rudalics <rudalics@gmx.at>
17754
17755 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
17756 (window-iso-combinations): Remove "iso-" infix.
17757 Suggested by Chong Yidong.
3d8daefe
MR
17758 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
17759 (window-max-delta-1, window-resize, window--resize-siblings)
17760 (window--resize-this-window, adjust-window-trailing-edge)
17761 (split-window, balance-windows-1)
17762 (shrink-window-if-larger-than-buffer):
17763 * calendar/calendar.el (calendar-generate-window):
db22a3c2 17764 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 17765
1bc4c3ae
SM
177662011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
17767
17768 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
17769 in place (bug#9907).
17770 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
17771 (eshell-rewrite-if-command, eshell-rewrite-for-command)
17772 (eshell-structure-basic-command, eshell-rewrite-while-command)
17773 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
17774 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
17775 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
17776 (eshell-do-pipelines-synchronously, eshell-eval-command):
17777 Use backquotes and prefer setq to set.
17778 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
17779 (eshell-macrop): Use functionp.
c1e2f5fa 17780 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 17781
30b65d9c
CY
177822011-10-30 Chong Yidong <cyd@gnu.org>
17783
17784 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
17785 instead of set-mark (Bug#9810).
17786
2d197ffb
CY
177872011-10-30 Chong Yidong <cyd@gnu.org>
17788
17789 * window.el (split-window-below, split-window-right): Rename from
17790 split-window-above-each-other and split-window-side-by-side
17791 respectively. All callers changed.
17792 (split-window-sensibly, split-window-sensibly): Use them.
17793 (split-window-keep-point): Doc fix.
17794
17795 * isearch.el: Add isearch-scroll property to split-window-below
17796 and split-window-right.
17797
17798 * follow.el (follow-mode):
17799 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
17800 * progmodes/ada-xref.el (ada-gdb-application):
17801 * emulation/vip.el (vip-buffer-in-two-windows):
17802 * image-dired.el (image-dired-dired-with-window-configuration):
17803 * dired-x.el (dired-do-find-marked-files):
17804 * dired.el (dired-pop-to-buffer):
17805 * bs.el (bs--show-with-configuration):
17806 * vc/emerge.el (emerge-setup-windows):
17807 * textmodes/two-column.el (2C-two-columns):
17808 * textmodes/reftex-toc.el (reftex-toc):
17809 * progmodes/gdb-mi.el (gdb-setup-windows):
17810 * progmodes/fortran.el (fortran-window-create):
17811 * net/newst-treeview.el (newsticker--treeview-window-init):
17812 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
17813 * emulation/tpu-edt.el (tpu-gold-map):
17814 * emulation/crisp.el (crisp-mode-map):
17815 * calendar/calendar.el (calendar-basic-setup): Callers changed.
17816
38bb2ca8
CY
178172011-10-29 Chong Yidong <cyd@gnu.org>
17818
aa4de341
CY
17819 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
17820
e1eb5385
CY
17821 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
17822
5d2ece3c
CY
17823 * textmodes/flyspell.el (flyspell-word): Fix char offset for
17824 forged Ispell output (Bug#7904).
17825
38bb2ca8
CY
17826 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
17827
d0af9f77
SM
178282011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
17829
17830 * doc-view.el: Avoid ugly errors about not finding nil.
17831 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
17832 (doc-view-dvipdf-program, doc-view-unoconv-program)
17833 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
17834 Avoid nil or absolute file name as default value.
17835 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
17836
52bedd34
AM
178372011-10-28 Alan Mackenzie <acm@muc.de>
17838
db22a3c2 17839 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 17840
7e43cfa5
AM
178412011-10-28 Alan Mackenzie <acm@muc.de>
17842
17843 Amend the handling of c-beginning/end-of-defun in nested declaration
17844 scopes.
17845
52bedd34
AM
17846 * progmodes/cc-vars.el (c-defun-tactic): Move here from
17847 cc-langs.el. Change it to a defcustom.
7e43cfa5 17848
52bedd34
AM
17849 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
17850 cc-vars.el.
7e43cfa5 17851
d0af9f77
SM
17852 * progmodes/cc-engine.el (c-beginning-of-statement-1):
17853 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 17854
52bedd34 17855 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 17856 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
17857 (c-widen-to-enclosing-decl-scope): New function.
17858 (c-while-widening-to-decl-block): New macro.
17859 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
17860 outward for defun boundaries, and correspondingly change symbol
17861 `respect-enclosure' to `go-outward'.
17862 (c-declaration-limits): Change algorithm to report only the "innermost"
17863 defun's boundaries.
17864
1a2ce9ee
DD
178652011-10-28 Deniz Dogan <deniz@dogan.se>
17866
17867 * net/rcirc.el (rcirc-mode): Use hard newlines.
17868
bc97a826
AM
178692011-10-28 Alan Mackenzie <acm@muc.de>
17870
17871 Amend to indent and fontify macros "which include their own semicolon"
17872 correctly, using the "virtual semicolon" mechanism.
17873
52bedd34 17874 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 17875
d0af9f77 17876 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 17877 Recode to scan one line at a time rather than having \n and \r
58179cce 17878 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 17879 (c-forward-label): Amend for virtual semicolons.
58179cce 17880 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 17881
52bedd34
AM
17882 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
17883 of the new C macros.
bc97a826 17884
52bedd34 17885 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
17886 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
17887 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
17888 (c-opt-cpp-macro-define): Make into a full language variable.
17889 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
17890 AWK Mode (including \n, \r) removed, no longer needed.
17891
d0af9f77
SM
17892 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
17893 Invoke c-make-macro-with-semi-re.
bc97a826 17894
52bedd34
AM
17895 * progmodes/cc-vars.el (c-macro-with-semi-re):
17896 (c-macro-names-with-semicolon): New variables.
58179cce 17897 (c-make-macro-with-semi-re): New function.
bc97a826 17898
7a6c0941
SM
178992011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
17900
17901 * vc/log-edit.el: Fill empty field rather than adding new one.
17902 (log-edit-add-field): New function.
17903 (log-edit-insert-changelog): Use it.
17904
b0c4cdcf
ML
179052011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
17906
17907 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
17908
ee1f1da9
SM
179092011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
17910
17911 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
17912 (gdb--check-interpreter): New function.
17913 (gdb): Use it.
17914
51bc5f8b
GM
179152011-10-27 Glenn Morris <rgm@gnu.org>
17916
416a2c45
GM
17917 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
17918 (least-positive-float, least-negative-float)
17919 (least-positive-normalized-float, least-negative-normalized-float)
17920 (float-epsilon, float-negative-epsilon):
17921 Remove unnecessary declarations.
17922
17923 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
17924 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
17925 (least-positive-float, least-negative-float)
17926 (least-positive-normalized-float, least-negative-normalized-float)
17927 (float-epsilon, float-negative-epsilon): Add doc-strings,
17928 based on those in cl.texi.
17929
51bc5f8b
GM
17930 * files.el (set-visited-file-name): If the major-mode changed,
17931 reload the local variables. (Bug#9796)
17932
15de15c6
CY
179332011-10-27 Chong Yidong <cyd@gnu.org>
17934
17935 * subr.el (change-major-mode-after-body-hook): New hook.
17936 (run-mode-hooks): Run it.
17937
ee1f1da9
SM
17938 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
17939 Use change-major-mode-before-body-hook.
15de15c6
CY
17940
17941 * simple.el (fundamental-mode):
17942 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
17943 change introducing fundamental-mode-hook.
17944
5430d399
JB
179452011-10-26 Juanma Barranquero <lekktu@gmail.com>
17946
acc825c5 17947 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 17948
ad74a69e
MA
179492011-10-26 Michael Albinus <michael.albinus@gmx.de>
17950
17951 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 17952 tramp.el explicitly. (Bug#7583)
ad74a69e 17953
71d4c2a5
SM
179542011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
17955
17956 * progmodes/octave-mod.el:
17957 * progmodes/octave-inf.el: Update maintainer.
17958
b1f6fa26
CY
179592011-10-26 Chong Yidong <cyd@gnu.org>
17960
17961 * subr.el (with-wrapper-hook): Rewrite doc.
17962
3f04efd6
MA
179632011-10-25 Michael Albinus <michael.albinus@gmx.de>
17964
17965 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 17966 filenames "/method:foo:". (Bug#9793)
3f04efd6 17967
410488d3
SM
179682011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
17969
17970 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
17971 (bug#9865).
17972
c1ebb47e
GM
179732011-10-24 Glenn Morris <rgm@gnu.org>
17974
17975 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
17976
7f5c46c7
MA
179772011-10-24 Michael Albinus <michael.albinus@gmx.de>
17978
17979 * notifications.el: Add the requirement of a running D-Bus session
17980 bus to the Commentary.
17981
db2440b6
JL
179822011-10-24 Juri Linkov <juri@jurta.org>
17983
17984 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
17985 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
17986 (Bug#9364)
17987
feecf435
JL
179882011-10-24 Juri Linkov <juri@jurta.org>
17989
17990 * info.el (Info-following-node-name-re): Add newline to the list
17991 of allowed characters for leading space. (Bug#9824)
17992
a3839de2
SM
179932011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
17994
acc825c5
SM
17995 * progmodes/octave-inf.el (inferior-octave-mode-map):
17996 Fix C-c C-h binding.
a3839de2
SM
17997 * progmodes/octave-mod.el (octave-help): Remove.
17998
09388e76
MA
179992011-10-23 Michael Albinus <michael.albinus@gmx.de>
18000
18001 Sync with Tramp 2.2.3.
18002
18003 * net/tramp-cache.el (top): Pacify byte-compiler using
18004 `init-file-user' and `site-run-file'.
18005
18006 * net/trampver.el: Update release number.
18007
86c60681
CY
180082011-10-23 Chong Yidong <cyd@gnu.org>
18009
18010 * files.el (toggle-read-only): Remove obsolete comment about
18011 version control.
18012
18013 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
18014 for toggle-read-only. Note that this hasn't called vc-next-action
18015 since 2008-05-02, though it wasn't documented at the time.
18016
a3839de2
SM
18017 * vc/ediff-init.el (ediff-toggle-read-only-function):
18018 Use toggle-read-only.
86c60681 18019
cd5495ff
AM
180202011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
18021
18022 Fix bug #9560, sporadic wrong indentation; improve instrumentation
18023 of c-parse-state.
18024
00b77525 18025 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 18026 correct faulty logical expression.
cd5495ff
AM
18027 (c-parse-state-state, c-record-parse-state-state):
18028 (c-replay-parse-state-state): New defvar/defuns.
18029 (c-debug-parse-state): Use new functions.
18030
42ee24ed
MR
180312011-10-22 Martin Rudalics <rudalics@gmx.at>
18032
18033 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 18034 last fix. Use window-in-direction correctly.
42ee24ed 18035
a7dee7e7
CY
180362011-10-21 Chong Yidong <cyd@gnu.org>
18037
18038 * progmodes/idlwave.el (idlwave-mode):
18039 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
18040 require-final-newline; that's done in prog-mode.
18041 Suggested by Stefan Monnier.
a7dee7e7 18042
e07b9a6d
MR
180432011-10-21 Martin Rudalics <rudalics@gmx.at>
18044
18045 * mouse.el (mouse-drag-window-above)
18046 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
18047 (mouse-drag-mode-line-1, mouse-drag-header-line)
18048 (mouse-drag-vertical-line-rightward-window): Remove.
18049 (mouse-drag-line): New function.
18050 (mouse-drag-mode-line, mouse-drag-header-line)
18051 (mouse-drag-vertical-line): Call mouse-drag-line.
18052 * window.el (window-at-side-p, windows-at-side): New functions.
18053
7e1361d9
UM
180542011-10-21 Ulrich Mueller <ulm@gentoo.org>
18055
18056 * tar-mode.el (tar-grind-file-mode):
18057 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
18058
30fcaf3a
CY
180592011-10-21 Chong Yidong <cyd@gnu.org>
18060
18061 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
18062 * progmodes/vera-mode.el (vera-mode):
18063 Use mode-require-final-newline.
30fcaf3a 18064
516eddb0
GM
180652011-10-20 Glenn Morris <rgm@gnu.org>
18066
db22a3c2 18067 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 18068
10d5f513
CS
180692011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
18070
18071 * emulation/cua-base.el (cua-set-mark): Fix case of string.
18072
ac6c8639
CY
180732011-10-20 Chong Yidong <cyd@gnu.org>
18074
18075 * emulation/cua-base.el (cua-mode):
18076 * mail/footnote.el (footnote-mode):
18077 * mail/mailabbrev.el (mail-abbrevs-mode):
18078 * net/xesam.el (xesam-minor-mode):
18079 * progmodes/bug-reference.el (bug-reference-mode):
18080 * progmodes/cap-words.el (capitalized-words-mode):
18081 * progmodes/compile.el (compilation-minor-mode)
18082 (compilation-shell-minor-mode):
18083 * progmodes/gud.el (gud-tooltip-mode):
18084 * progmodes/hideif.el (hide-ifdef-mode):
18085 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
18086 * progmodes/subword.el (subword-mode):
18087 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
18088 * progmodes/which-func.el (which-function-mode):
18089 * term/tvi970.el (tvi970-set-keypad-mode):
18090 * term/vt100.el (vt100-wide-mode):
18091 * textmodes/flyspell.el (flyspell-mode):
18092 * textmodes/ispell.el (ispell-minor-mode):
18093 * textmodes/nroff-mode.el (nroff-electric-mode):
18094 * textmodes/paragraphs.el (use-hard-newlines):
18095 * textmodes/refill.el (refill-mode):
18096 * textmodes/reftex.el (reftex-mode):
18097 * textmodes/rst.el (rst-minor-mode):
18098 * textmodes/sgml-mode.el (html-autoview-mode)
18099 (sgml-electric-tag-pair-mode):
18100 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
18101 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
18102 * emulation/crisp.el (crisp-mode):
18103 * emacs-lisp/eldoc.el (eldoc-mode):
18104 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
18105 minor mode behavior.
18106
aa42ab43
JL
181072011-10-19 Juri Linkov <juri@jurta.org>
18108
18109 * descr-text.el (describe-char): Add #x2010 and #x2011 to
18110 the list of hard-coded chars with escape-glyph face.
18111
89400f1d
SM
181122011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
18113
18114 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
18115
305c07f6
MA
181162011-10-19 Michael Albinus <michael.albinus@gmx.de>
18117
18118 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
18119 running process.
18120
13754b54
GM
181212011-10-19 Glenn Morris <rgm@gnu.org>
18122
18123 * vc/vc-bzr.el (vc-bzr-after-dir-status):
18124 Ignore ignored files. (Bug#9726)
18125
06e21633
CY
181262011-10-19 Chong Yidong <cyd@gnu.org>
18127
18128 Doc fix for minor modes, stating that an omitted argument enables
18129 the mode unconditionally when called from Lisp.
18130
18131 * abbrev.el (abbrev-mode):
18132 * allout.el (allout-mode):
18133 * autoinsert.el (auto-insert-mode):
18134 * autoarg.el (autoarg-mode, autoarg-kp-mode):
18135 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
18136 (global-auto-revert-mode):
18137 * battery.el (display-battery-mode):
18138 * composite.el (global-auto-composition-mode)
18139 (auto-composition-mode):
18140 * delsel.el (delete-selection-mode):
18141 * desktop.el (desktop-save-mode):
18142 * dired-x.el (dired-omit-mode):
18143 * dirtrack.el (dirtrack-mode):
18144 * doc-view.el (doc-view-minor-mode):
18145 * double.el (double-mode):
18146 * electric.el (electric-indent-mode, electric-pair-mode):
18147 * emacs-lock.el (emacs-lock-mode):
18148 * epa-hook.el (auto-encryption-mode):
18149 * follow.el (follow-mode):
18150 * font-core.el (font-lock-mode):
18151 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
18152 * help.el (temp-buffer-resize-mode):
18153 * hilit-chg.el (highlight-changes-mode)
18154 (highlight-changes-visible-mode):
18155 * hi-lock.el (hi-lock-mode):
18156 * hl-line.el (hl-line-mode, global-hl-line-mode):
18157 * icomplete.el (icomplete-mode):
18158 * ido.el (ido-everywhere):
18159 * image-file.el (auto-image-file-mode):
18160 * image-mode.el (image-minor-mode):
18161 * iswitchb.el (iswitchb-mode):
18162 * jka-cmpr-hook.el (auto-compression-mode):
18163 * linum.el (linum-mode):
18164 * longlines.el (longlines-mode):
18165 * master.el (master-mode):
18166 * mb-depth.el (minibuffer-depth-indicate-mode):
18167 * menu-bar.el (menu-bar-mode):
18168 * minibuf-eldef.el (minibuffer-electric-default-mode):
18169 * mouse-sel.el (mouse-sel-mode):
18170 * msb.el (msb-mode):
18171 * mwheel.el (mouse-wheel-mode):
18172 * outline.el (outline-minor-mode):
18173 * paren.el (show-paren-mode):
18174 * recentf.el (recentf-mode):
18175 * reveal.el (reveal-mode, global-reveal-mode):
18176 * rfn-eshadow.el (file-name-shadow-mode):
18177 * ruler-mode.el (ruler-mode):
18178 * savehist.el (savehist-mode):
18179 * scroll-all.el (scroll-all-mode):
18180 * scroll-bar.el (scroll-bar-mode):
18181 * server.el (server-mode):
18182 * shell.el (shell-dirtrack-mode):
18183 * simple.el (auto-fill-mode, transient-mark-mode)
18184 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
18185 (line-number-mode, column-number-mode, size-indication-mode)
18186 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
18187 * strokes.el (strokes-mode):
18188 * time.el (display-time-mode):
18189 * t-mouse.el (gpm-mouse-mode):
18190 * tool-bar.el (tool-bar-mode):
18191 * tooltip.el (tooltip-mode):
18192 * type-break.el (type-break-mode-line-message-mode)
18193 (type-break-query-mode):
18194 * view.el (view-mode):
18195 * whitespace.el (whitespace-mode, whitespace-newline-mode)
18196 (global-whitespace-mode, global-whitespace-newline-mode):
18197 * xt-mouse.el (xterm-mouse-mode): Doc fix.
18198
a3839de2
SM
18199 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
18200 Fix autogenerated docstring.
06e21633 18201
5214e501
JL
182022011-10-19 Juri Linkov <juri@jurta.org>
18203
18204 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
18205 by checking environment variables "DESKTOP_SESSION" and
18206 "XDG_CURRENT_DESKTOP". (Bug#9779)
18207
195f8db9
JL
182082011-10-19 Juri Linkov <juri@jurta.org>
18209
18210 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
18211 (browse-url-chromium-program, browse-url-chromium-arguments):
18212 New defcustoms.
18213 (browse-url-default-browser): Check for `browse-url-chromium' and
18214 call `browse-url-chromium-program'.
18215 (browse-url-chromium): New command. (Bug#9779)
18216
343a34ff
JB
182172011-10-18 Juanma Barranquero <lekktu@gmail.com>
18218
18219 * facemenu.el (list-colors-duplicates): On Windows, detect more
18220 duplicates by assuming that only colors matching "^System" are
18221 special "system colors". (Bug#9722)
18222
6978a151
SM
182232011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
18224
18225 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
18226 to distinguish the author from the committer.
18227
6a80b297
MA
182282011-10-18 Michael Albinus <michael.albinus@gmx.de>
18229
18230 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
18231
b31a5677
JK
182322011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
18233
18234 * international/mule.el (sgml-html-meta-auto-coding-function):
18235 Add support for detecting encoding in HTML5 specified only as
18236 <meta charset="UTF-8">. Implementation just makes http-equiv and
18237 content-type parts from HTML4 encoding string optional. (Bug#9716)
18238
80c6d77f
GM
182392011-10-18 Glenn Morris <rgm@gnu.org>
18240
18241 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
18242
08b0fee8
CY
182432011-10-18 Chong Yidong <cyd@gnu.org>
18244
18245 * faces.el (cursor): Doc fix.
18246
67e729a5
CY
182472011-10-17 Chong Yidong <cyd@gnu.org>
18248
18249 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
18250
343a34ff 182512011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
18252
18253 * dirtrack.el (dirtrack): Support shell buffers with path
18254 prefixes, e.g. tramp-based remote shells. (Bug#9647)
18255
0bc06380
TZ
182562011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
18257
18258 * json.el: Bump version to 1.3 and note change in History.
18259 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
18260
8b79f3e0
SM
182612011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
18262
5a7c536b
SM
18263 * comint.el (comint-insert-input, comint-send-input)
18264 (comint-get-old-input-default, comint-backward-matching-input)
18265 (comint-next-prompt): Use nil instead of `input' for field property of
18266 past user input (bug#114).
18267
96a8a0df
SM
18268 * minibuffer.el (completion--replace): Inherit surrounding properties
18269 (bug#114).
18270 (minibuffer-complete-and-exit): Use it.
18271
8b79f3e0
SM
18272 * comint.el (comint--table-subvert): Quote the all-completions output
18273 (bug#9160).
18274
b8f7ff0d
MR
182752011-10-17 Martin Rudalics <rudalics@gmx.at>
18276
8b79f3e0 18277 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 18278
b8f7ff0d 18279 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 18280 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
18281 entries and separate them from frame entries.
18282
c235b555
GM
182832011-10-15 Glenn Morris <rgm@gnu.org>
18284
18285 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
18286 Doc fixes.
18287
6bbfa6e1
CY
182882011-10-15 Chong Yidong <cyd@stupidchicken.com>
18289
8b79f3e0
SM
18290 * net/network-stream.el (network-stream-open-starttls):
18291 Improve detection of failure due to lack of TLS support.
ec5c990d 18292
6bbfa6e1
CY
18293 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
18294 putting the input text in front and in bold.
18295
98488977
SM
182962011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
18297
3d1337be
SM
18298 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
18299
ee0b45e4
SM
18300 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
18301 empty buffer.
18302
98488977
SM
18303 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
18304 unread-command-events rather than pushing yet-another event.
18305
186f4720
EZ
183062011-10-14 Eli Zaretskii <eliz@gnu.org>
18307
18308 * mail/sendmail.el (sendmail-query-once): Improve the wording of
18309 the explanation of the possible choices. Make the options passed
18310 to completing-read shorter.
18311
8b7a997c
AM
183122011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
18313
18314 * textmodes/flyspell.el (flyspell-large-region): Make sure
18315 extended character mode is used if defined (Bug#1339).
18316
12587bbb
EZ
183172011-10-13 Eli Zaretskii <eliz@gnu.org>
18318
18319 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
18320 character info for LRE, LRO, RLE, and RLO characters by appending
18321 an invisible PDF.
12587bbb 18322
bad41229
SM
183232011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
18324
18325 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
18326 even in case of error; add debug spec; simplify data flow.
18327 (with-timeout-handler): Remove.
18328
28dbc92f
MA
183292011-10-12 Michael Albinus <michael.albinus@gmx.de>
18330
18331 Fix Bug#6019, Bug#9315.
18332
18333 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
18334 complete `buffer-file-name', the local file name part could look
18335 remotely (for example on VMS).
18336
18337 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
18338 `tramp-run-real-handler'.
18339 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
18340 already quoted by '"'.
18341
18342 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
18343 Let `file-name-handler-alist' be nil, the local file name part
18344 could look remotely (for example on VMS).
18345
e1b0b23a
SM
183462011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
18347
18348 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
18349 from here...
18350 (flyspell-post-command-hook): ...to here.
18351
a120bde9
SM
183522011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
18353
18354 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
18355 if not needed.
18356 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
18357 using completion. Protect against "slow" callers.
18358 Remove the "message hack".
18359
7ce7717b
JL
183602011-10-11 Juri Linkov <juri@jurta.org>
18361
18362 * isearch.el (isearch-lazy-highlight-word): New variable.
18363 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
18364 Use it. (Bug#9727)
18365
c02ee9d6
GM
183662011-10-11 Glenn Morris <rgm@gnu.org>
18367
18368 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
18369 like f90-previous-statement does.
18370
93e616fd 183712011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
18372
1f190e73 18373 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
18374 only in interactive use, to avoid error.
18375
af7b6078
SM
183762011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
18377
18378 * minibuffer.el (completion-file-name-table): Fix last change,
18379 i.e. ignore normal errors but not the other ones.
18380
0563dae9
MR
183812011-10-10 Martin Rudalics <rudalics@gmx.at>
18382
18383 * window.el (special-display-buffer-names)
18384 (special-display-regexps): Remove some remnants of earlier
18385 changes from doc-strings.
366ca7f3
MR
18386 (quit-windows-on): New function.
18387
18388 * vc/vc.el (vc-revert, vc-rollback):
18389 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
18390 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 18391 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 18392
49677495
MR
183932011-10-09 Martin Rudalics <rudalics@gmx.at>
18394
18395 * window.el (frame-auto-hide-function): Add version tag.
18396 (Bug#9699)
18397
56f2d1e1
MA
183982011-10-09 Michael Albinus <michael.albinus@gmx.de>
18399
18400 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
18401 condition.
18402
112a6592
LL
184032011-10-09 Leo Liu <sdl.web@gmail.com>
18404
18405 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
18406 (Bug#9701)
18407
0812589b
GM
184082011-10-08 Glenn Morris <rgm@gnu.org>
18409
18410 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
18411 before the first code statement zero indent. (Bug#9690)
18412
b2b0776e
CY
184132011-10-08 Chong Yidong <cyd@stupidchicken.com>
18414
18415 * simple.el (count-words-region): Always count in the region.
18416 Report the number of lines and characters too.
18417 (count-words): New command, which counts in the buffer if the
18418 region is inactive, as count-words-region used to.
18419 (count-words--message): New function. Handle plurals.
18420 (count-lines-region): Make it an alias for count-words-region.
18421
18422 * bindings.el (esc-map): Replace count-lines-region with
18423 count-words-region.
18424
c557cd6b
MR
184252011-10-08 Martin Rudalics <rudalics@gmx.at>
18426
18427 * window.el (window--delete): Delete dedicated frame
18428 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 18429 (switch-to-buffer): Fix doc-string typo.
c557cd6b 18430
61a57ef4 184312011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
18432
3a7d293b 18433 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 18434
c3833279
CY
184352011-10-07 Chong Yidong <cyd@stupidchicken.com>
18436
18437 * bindings.el ([M-left],[M-right]): Bind to left-word and
18438 right-word respectively.
18439
21ce8245
GM
184402011-10-07 Glenn Morris <rgm@gnu.org>
18441
18442 * cus-start.el (debug-on-quit): Fix custom type.
18443
6d823bb2
LMI
184442011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
18445
0181e193
LMI
18446 * subr.el (define-key-after): Clarify that the function is not
18447 useful for non-menu keymaps.
18448
6d823bb2
LMI
18449 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
18450
8e3459ce 184512011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
18452
21ce8245 18453 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 18454 in current minibuffer (Fix bug with recursive minibuffers).
18455
a1c2d21e
CY
184562011-10-06 Chong Yidong <cyd@stupidchicken.com>
18457
18458 * progmodes/gdb-mi.el (gdb): Doc fix.
18459
5a4cf282
MR
184602011-10-05 Martin Rudalics <rudalics@gmx.at>
18461
18462 * window.el (frame-auto-hide-function): New option replacing
18463 frame-auto-delete. Suggested by Stefan Monnier.
18464 (window--delete): Call frame-auto-hide-function instead of
18465 investigating frame-auto-delete.
c96111ea
MR
18466 (window-point-1, set-window-point-1): New functions.
18467 (window-in-direction, record-window-buffer, window-state-get-1)
18468 (display-buffer-record-window): Use window-point-1 instead of
18469 window-point.
18470 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 18471
9854542e
SM
184722011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
18473
18474 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
18475
8943cfb0
GM
184762011-10-05 Glenn Morris <rgm@gnu.org>
18477
18478 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
18479 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
18480
647ab967
LL
184812011-10-05 Leo Liu <sdl.web@gmail.com>
18482
18483 * subr.el (read-char-choice): Fix argument to buffer-live-p which
18484 works with buffer object.
18485
3ddfbced
SM
184862011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
18487
18488 * mpc.el (mpc-tool-bar-map): Add labels.
18489
bdfa5dd2
GM
184902011-10-04 Glenn Morris <rgm@gnu.org>
18491
18492 * calendar/holidays.el (calendar-check-holidays): Doc fix.
18493
0e2070b5
MR
184942011-10-04 Martin Rudalics <rudalics@gmx.at>
18495
18496 * window.el (window--delete): New function.
18497 (frame-auto-delete): Resuscitate option.
18498 (bury-buffer, replace-buffer-in-windows)
18499 (quit-window): Rewrite using window--delete.
18500 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
18501 Pass display-buffer-mark-dedicated to window--display-buffer-2
18502 (Bug#9639).
18503
3dc61a09
SM
185042011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
18505
915a9b64
SM
18506 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
18507 returns a list (bug#9554). Add remote file name completion.
18508 * comint.el (comint--table-subvert): Curry and get quote&unquote
18509 functions as arguments.
18510 (comint--complete-file-name-data): Adjust call accordingly.
18511 * pcomplete.el (pcomplete--table-subvert): Remove.
18512 (pcomplete-completions-at-point): Use comint--table-subvert instead.
18513
3dc61a09
SM
18514 * minibuffer.el (completion-table-case-fold): Use currying.
18515 (completion--styles-type, completion--cycling-threshold-type):
18516 New constants.
18517 (completion-styles, completion-category-overrides)
18518 (completion-cycle-threshold): Use them.
18519 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
18520 completion-table-case-fold.
18521
8ea0a993
SB
185222011-10-03 Stephen Berman <stephen.berman@gmx.net>
18523
18524 * minibuffer.el (completion-category-overrides): Fix type of styles
18525 and add more user friendly tags (bug#9660).
18526
8c24b7f6
SM
185272011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
18528
18529 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
18530 (mule-input-method-string): New widget.
18531 (default-input-method, language-info-custom-alist): Use it.
18532
428fe61a
SM
185332011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
18534
32c1fffd
SM
18535 * pcomplete.el: Require comint.
18536 (pcomplete--common-suffix): Remove.
18537 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
18538 (pcomplete--table-subvert): Sync with comint--table-subvert.
18539 (pcomplete--entries): Use comint-completion-file-name-table.
18540 * comint.el (comint-unquote-filename): Simplify.
18541 (comint-completion-file-name-table): New function (bug#9616).
18542 (comint--complete-file-name-data): Use it.
18543
428fe61a
SM
18544 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
18545 (pcmpl-gnu-tar-buffer): Remove.
18546 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
18547 around. Make sure pcomplete-suffix-list is only changed temporarily.
18548 Don't look inside the tar's file if it's too large.
428fe61a 18549
04c52e2f
CY
185502011-10-01 Chong Yidong <cyd@stupidchicken.com>
18551
ce3cefcc
CY
18552 * cus-edit.el (custom-mode-map):
18553 * epa.el (epa-key-list-mode-map):
18554 * man.el (Man-mode-map):
18555 * startup.el (splash-screen-keymap):
18556 * simple.el (special-mode-map): Use scroll-up-command and
18557 scroll-down-command.
18558
18559 * progmodes/idlw-help.el (idlwave-help-mode-map):
18560 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
18561 * net/newst-plainview.el (newsticker-mode-map):
18562 * emulation/ws-mode.el (wordstar-mode-map):
18563 * emulation/vi.el (vi-com-map):
18564 * calc/calc-graph.el (calc-graph-show-dumb):
18565 * term/sun.el (terminal-init-sun):
18566 * term/ns-win.el (global-map):
18567 * progmodes/grep.el (grep-mode-map):
18568 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
18569 * mail/rmail.el (rmail-mode-map):
18570 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
18571
04c52e2f
CY
18572 * custom.el (custom-safe-themes, load-theme): Treat value of t for
18573 custom-safe-themes as special.
18574
79adf8c8
JD
185752011-10-01 Julien Danjou <julien@danjou.info>
18576
18577 * notifications.el (notifications-notify): Fix docstring.
18578
63bd50d3
PS
185792011-10-01 Per Starbäck <per@starback.se>
18580
18581 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
18582
199e4c7e
MR
185832011-09-30 Martin Rudalics <rudalics@gmx.at>
18584
18585 * startup.el (command-line-1): Fix last fix by inserting
18586 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 18587 (Bug#9605) and (Bug#9636)
199e4c7e 18588
fe5f08dd
EZ
185892011-09-29 Eli Zaretskii <eliz@gnu.org>
18590
18591 * simple.el (line-move): If auto-hscroll-mode is disabled and the
18592 window is hscrolled, move by logical lines. (Bug#9607)
18593 (line-move-visual): Update the doc string to the above effect.
18594
b5516bbd
MR
185952011-09-29 Martin Rudalics <rudalics@gmx.at>
18596
ccee00c0
MR
18597 * window.el (display-buffer-record-window): When WINDOW is the
18598 selected window use `point' instead of `window-point'. (Bug#9626)
18599
b5516bbd
MR
18600 * startup.el (command-line-1): Use insert-before-markers when
18601 inserting initial-scratch-message. (Bug#9605)
ccee00c0 18602
b5516bbd
MR
18603 * help.el (help-window): Remove variable.
18604
52aa0014
GM
186052011-09-29 Glenn Morris <rgm@gnu.org>
18606
18607 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
18608
df9a7357
JB
186092011-09-29 Juanma Barranquero <lekktu@gmail.com>
18610
18611 * descr-text.el (describe-char-categories): Accept category
18612 descriptions more than one line long.
18613
a8406c20
SM
186142011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
18615
88d9610c
SM
18616 * simple.el (delete-trailing-whitespace): Fix last change.
18617
a5daf810
SM
18618 * progmodes/perl-mode.el (perl-syntax-propertize-function):
18619 Don't confuse "y => 3" as the beginning of a `y' operation.
18620
a8406c20
SM
18621 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
18622 object has more than 4 slots (bug#9613).
18623
a239d4e9
JB
186242011-09-28 Juanma Barranquero <lekktu@gmail.com>
18625
18626 * subr.el (with-output-to-temp-buffer):
18627 * net/quickurl.el (quickurl, quickurl-browse-url):
18628 Fix typos in docstrings.
18629
693fbdb6
EZ
186302011-09-27 Eli Zaretskii <eliz@gnu.org>
18631
18632 * minibuffer.el (completion-styles)
18633 (completion-category-overrides): Cross reference each other in doc
18634 strings.
18635
8b457e28
GM
186362011-09-27 Glenn Morris <rgm@gnu.org>
18637
18638 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
18639 to split-string. (Bug#9606)
18640
85a16208
LMI
186412011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
18642
18643 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
18644 (bug#9615).
18645
502f9ebd
CY
186462011-09-27 Chong Yidong <cyd@stupidchicken.com>
18647
18648 * emacs-lisp/package.el (list-packages): Fix echo area message.
18649
7690bdea
LL
186502011-09-27 Leo Liu <sdl.web@gmail.com>
18651
18652 * ido.el (ido-read-internal): Accept cons cell HIST arg.
18653
e2ee6f30
MA
186542011-09-25 Michael Albinus <michael.albinus@gmx.de>
18655
18656 * net/dbus.el (dbus-unregister-object): Don't release services for
18657 registered signals. (Bug#9581)
18658
f3f98342
TZ
186592011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
18660
18661 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
18662 function that picks between cfengine 2 and 3 support
18663 automatically. Update docs accordingly.
18664
dd7aa8dd
KH
186652011-09-22 Kenichi Handa <handa@m17n.org>
18666
18667 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
18668 ZERO.
18669 (indian-itrans-v5-table-for-tamil): New variable.
18670 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
18671
3f2b07f8
KM
186722011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
18673
18674 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
18675 that's true if the current command involved collapsing of text.
18676 It's reset to false at the beginning of the next command.
18677 (allout-post-command-business): Move the cursor to the beginning
18678 of entry if the cursor is hidden and collapsing activity just
18679 happened.
18680
371d6a61
CY
186812011-09-24 Chong Yidong <cyd@stupidchicken.com>
18682
18683 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
18684 tracking (Bug#9541).
18685
2ac2721a
UJ
186862011-09-24 Ulf Jasper <ulf.jasper@web.de>
18687
18688 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
18689 (newsticker-show-news): Automatically load html rendering package
18690 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
18691 because w3m-fill-column is let-bound" and the error "Symbol's value
18692 as variable is void: w3m-fill-column".
2ac2721a 18693
fac7ae53
MA
186942011-09-24 Michael Albinus <michael.albinus@gmx.de>
18695
18696 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
18697 Release services only if they are defined. (Bug#9581)
18698
e08b633b
RS
186992011-09-23 Richard Stallman <rms@gnu.org>
18700
e488d29c
RS
18701 * textmodes/paragraphs.el (forward-sentence): For backwards case,
18702 distinguish start of paragraph from start of its text.
18703
19c38752
RS
18704 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
18705
e08b633b
RS
18706 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
18707 (rmail-generate-viewer-buffer): Put that hook on view buffer.
18708 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
18709
0a39f27e
AS
187102011-09-23 Andreas Schwab <schwab@linux-m68k.org>
18711
18712 * international/mule-diag.el (mule-diag): Insert a newline after
18713 each fontset description.
18714
db4e950d
SM
187152011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
18716
18717 * simple.el (delete-trailing-whitespace):
18718 Document last change; simplify.
18719
eca3f3ea
PW
187202011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
18721
d68e189a
PW
18722 * simple.el (delete-trailing-whitespace): Also delete
18723 extra newlines at the end of the buffer.
18724
eca3f3ea
PW
18725 * textmodes/picture.el: Make motion commands obey shift-select-mode.
18726 (picture-newline): Use forward-line so as to ignore fields.
18727
01c157cc
SM
187282011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
18729
18730 * subr.el (with-wrapper-hook): Fix edebug spec.
18731
022de23e
LMI
187322011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
18733
18734 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
18735 (bug#4538).
18736
91683089
MA
187372011-09-23 Michael Albinus <michael.albinus@gmx.de>
18738
eca3f3ea
PW
18739 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
18740 Fix nasty bug using wrong cached values.
91683089 18741
5bdd6fa4
AM
187422011-09-23 Alan Mackenzie <acm@muc.de>
18743
18744 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
18745
97adfb97
CY
187462011-09-23 Chong Yidong <cyd@stupidchicken.com>
18747
18748 * window.el (pop-to-buffer): Ensure right window is selected if we
18749 chose another frame.
18750
d4ef2b50
EZ
187512011-09-22 Eli Zaretskii <eliz@gnu.org>
18752
18753 * simple.el (what-cursor-position): Use get-char-property-change
18754 and next-single-char-property-change, to be able to show display
18755 properties that come from overlays as well as text properties.
18756
72258fe5
CY
187572011-09-22 Chong Yidong <cyd@stupidchicken.com>
18758
18759 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
18760
18761 * cmuscheme.el (run-scheme, switch-to-scheme):
18762 * cus-edit.el (customize-group, custom-buffer-create)
18763 (customize-browse):
18764 * info.el (info):
18765 * shell.el (shell):
18766 * mail/sendmail.el (mail):
18767 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
18768
8f098516
RS
187692011-09-22 Richard Stallman <rms@gnu.org>
18770
18771 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
18772 move back only to line beg, don't move back over blank lines.
18773
e74f1bb6
MA
187742011-09-22 Michael Albinus <michael.albinus@gmx.de>
18775
18776 * files.el (copy-directory): Set directory attributes only in case
18777 they could be retrieved from the source directory. (Bug#9565)
18778
bfeef8b6
DK
187792011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
18780
18781 * progmodes/hideshow.el (hs-looking-at-block-start-p)
18782 (hs-find-block-beginning, hs-hide-level-recursive):
18783 Ignore strings as well as comments. (Bug#9502)
18784
7e423bb8
AS
187852011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
18786
18787 * progmodes/sql.el (sql-comint-postgres):
18788 Convert port number to a string. (Bug#9566)
18789
b4d72fcf
MR
187902011-09-22 Martin Rudalics <rudalics@gmx.at>
18791
18792 * window.el (quit-window): Undedicate window when switching to
18793 previous buffer. Reported by Thierry Volpiatto
18794 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
18795 (special-display-popup-frame): When popping up a new frame reset
18796 its previous buffers to nil. Simplify code.
b4d72fcf 18797
a7b88dc6
MA
187982011-09-21 Michael Albinus <michael.albinus@gmx.de>
18799
18800 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
18801 and process filter, as done also in `shell-command'.
18802
cf4eacfd
MR
188032011-09-21 Martin Rudalics <rudalics@gmx.at>
18804
eca3f3ea 18805 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
18806 Call set-window-start with NOFORCE argument t.
18807 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
18808 (quit-window): Reword doc-string. Handle new format of
18809 quit-restore parameter. Don't delete window if it has a
18810 previous buffer we can show instead of the present one.
18811 (display-buffer-record-window): Rewrite using a new format for
18812 the quit-restore window parameter
18813 (special-display-popup-frame, display-buffer-same-window)
18814 (display-buffer-reuse-window, display-buffer-pop-up-frame)
18815 (display-buffer-pop-up-window, display-buffer-use-some-window):
18816 Adapt symbol passed to display-buffer-record-window.
18817 * help.el (help-window-setup): Handle new format of quit-restore
18818 parameter.
18819
8d28cb95
SM
188202011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
18821
94ab793f
SM
18822 * faces.el (face-list): Fix docstring (bug#9564).
18823
8d28cb95
SM
18824 * window.el (display-buffer--action-function-custom-type):
18825 Don't include internal functions in the Custom interface.
18826
3820edeb
JL
188272011-09-20 Juri Linkov <juri@jurta.org>
18828
18829 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
18830 (Info-forward-node, Info-backward-node, Info-next-preorder)
18831 (Info-last-preorder): Use it. (Bug#9528)
18832
5147931d
JL
188332011-09-20 Juri Linkov <juri@jurta.org>
18834
18835 * info.el (Info-last-preorder): Visit last menu item only when
18836 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
18837
cf499a1a
JD
188382011-09-20 Julien Danjou <julien@danjou.info>
18839
18840 * password-cache.el (password-cache-remove): Remove entries even if the
18841 value is nil, so that password with a nil value (negative caching) is
18842 possible to invalidate.
18843
f84e2fe2
LM
188442011-09-20 Lawrence Mitchell <wence@gmx.li>
18845
18846 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
18847 all whitespace around breakpoint. (Bug#9553)
18848 (f90-find-breakpoint): Only break at whitespace inside a comment.
18849
78054a46
SM
188502011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
18851
18852 * minibuffer.el (completion-file-name-table): Keep track of errors.
18853 (completion-table-with-predicate): Handle the case where pred1 is nil.
18854 * pcomplete.el (pcomplete-completions-at-point): Simplify.
18855
345083b2
SM
188562011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
18857
e24e27be
SM
18858 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
18859 (debugger-return-value): Signal an error if the debugging context does
18860 not await any return value.
18861
345083b2
SM
18862 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
18863 * image-mode.el (image-toggle-display-text)
18864 (image-toggle-display-image): Stay away from evil `intangible'.
18865
08d355e3
LL
188662011-09-19 Leo Liu <sdl.web@gmail.com>
18867
18868 * replace.el (occur-revert-arguments): Make it permanent-local.
18869 (occur-mode): Don't call font-lock-defontify.
18870
f01da43f
CY
188712011-09-19 Chong Yidong <cyd@stupidchicken.com>
18872
18873 * net/ldap.el (ldap-search-internal): Don't push empty search
18874 result (Bug#9508).
18875
b6072fa6
SM
188762011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
18877
18878 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
18879
443d6696
MA
188802011-09-19 Michael Albinus <michael.albinus@gmx.de>
18881
18882 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
18883 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
18884
7cc6e154
JL
188852011-09-18 Juri Linkov <juri@jurta.org>
18886
18887 * buff-menu.el (Buffer-menu-mode-map):
18888 * dired.el (dired-mode-map):
18889 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
18890 (lisp-interaction-mode-map):
18891 * emacs-lisp/package.el (package-menu-mode-map):
18892 * epa.el (epa-key-list-mode-map):
18893 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
18894 (menu-bar-options-menu):
18895 * outline.el (outline-mode-menu-bar-map):
18896 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
18897 * vc/vc-dir.el (vc-dir-menu-map):
18898 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
18899 Capitalize non-function content words in menu item strings.
18900
18901 * dired.el (dired-mode-map): Add menu item for
18902 `image-dired-dired-toggle-marked-thumbs'.
18903
80302a81
JL
189042011-09-18 Juri Linkov <juri@jurta.org>
18905
18906 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
18907 to `isearch-case-fold-search' and restore its original value
18908 after the `isearch-mode' call.
18909
46c5cf66
JL
189102011-09-18 Juri Linkov <juri@jurta.org>
18911
18912 * progmodes/grep.el (grep-process-setup): Don't check code for 1
18913 because `zgrep' returns 1 for successful matches (bug#9226).
18914
d18b513b
JL
189152011-09-18 Juri Linkov <juri@jurta.org>
18916
18917 * info.el (Info-extract-menu-node-name): Check the second match
18918 for empty string (second test-case of bug#9528).
18919 (Info-last-preorder): Let-bind `Info-history' to nil to not add
18920 intermediate nodes to the history (first test-case of bug#9528).
18921
72753f87
JL
189222011-09-18 Juri Linkov <juri@jurta.org>
18923
18924 * info.el (Info-mode-syntax-table): New variable.
1154d12e 18925 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 18926
c9384295
JL
189272011-09-18 Juri Linkov <juri@jurta.org>
18928
1154d12e
JB
18929 * info.el (Info-file-supports-index-cookies):
18930 Increment line-beginning-position's arg from 3 to 4 because makeinfo
18931 outputs one more line for long file names (bug#4142).
c9384295 18932
d473dce8
CY
189332011-09-18 Chong Yidong <cyd@stupidchicken.com>
18934
18935 * newcomment.el (comment-normalize-vars): If prompting for
18936 comment-start, set comment-start-skip too (Bug#8424).
18937
2176854d
JB
189382011-09-18 Johan Bockgård <bojohan@gnu.org>
18939
18940 * icomplete.el: Fix previous fix of Bug#5849.
18941 (icomplete-mode): Don't set completion-show-inline-help.
18942 (icomplete-minibuffer-setup): Set completion-show-inline-help
18943 locally during icompletion.
18944
3aace4e4
CY
189452011-09-18 Chong Yidong <cyd@stupidchicken.com>
18946
c940224f
CY
18947 * woman.el (woman2-process-escapes): Don't delete unrecognized
18948 escapes (Bug#7843).
18949
3aace4e4
CY
18950 * files.el (inhibit-first-line-modes-regexps): Add image files.
18951 (hack-local-variables-prop-line): Return nil for malformed
18952 prop-lines (Bug#9044).
18953
710dec63
MA
189542011-09-18 Michael Albinus <michael.albinus@gmx.de>
18955
18956 * net/tramp.el (top): Don't require 'shell.
18957 (tramp-methods): Fix docstring.
18958 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
18959 Return complete remote file name. Handle "smb" case.
18960 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
18961 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
18962
18963 * net/tramp-compat.el (top): Require 'shell.
18964
18965 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
18966 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
18967 `tramp-current-host'.
18968 (tramp-get-remote-tmpdir): Remove.
18969
18970 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
18971 `tramp-tmpdir' entries.
18972 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
18973 (tramp-smb-handle-file-attributes): Ignore errors.
18974 (tramp-smb-wait-for-output): Check also for process end.
18975
5d5ac8ec
LMI
189762011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
18977
18978 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
18979 when sending QUIT (bug#9312).
18980
8c0f49f0
CY
189812011-09-17 Chong Yidong <cyd@stupidchicken.com>
18982
18983 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
18984 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
18985 occur-mode-display-occurrence.
18986 (occur-edit-mode): Add usage message.
18987 (occur-cease-edit): New command.
18988 (occur-after-change-function): Use text properties to find the
18989 position of the prefix text.
18990 (occur-engine): Set stickiness of prefix text properties.
18991
8f1383f7
GM
189922011-09-17 Glenn Morris <rgm@gnu.org>
18993
18994 * progmodes/etags.el (complete-tag):
18995 Fix call to completion-in-region. (Bug#9526)
18996
744ba0e3
JL
189972011-09-17 Juri Linkov <juri@jurta.org>
18998
18999 * textmodes/ispell.el (ispell-word): Add to the error message
19000 the word, ispell program name and current dictionary (bug#9121).
19001 (ispell-tex-arg-end): Capitalize "error" in the error message.
19002
d9bbf400
AS
190032011-09-17 Andreas Schwab <schwab@linux-m68k.org>
19004
19005 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
19006 check. (Bug#4251)
19007
8da11505
JL
190082011-09-17 Juri Linkov <juri@jurta.org>
19009
19010 * window.el (window-safe-min-height, window-safe-min-width):
19011 Fix typos (followup to bug#9522).
19012
a91adc7e
SJ
190132011-09-17 Sven Joachim <svenjoac@gmx.de>
19014
19015 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
19016
064f328a
EZ
190172011-09-16 Eli Zaretskii <eliz@gnu.org>
19018
19019 * simple.el (line-move): If goal-column is set, move by logical
19020 lines, not by display lines. (Bug#971)
19021 (next-line, previous-line, goal-column, line-move-visual): Doc fix
19022 to reflect the above change.
19023
e69df516
SM
190242011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
19025
19026 * image.el (imagemagick-register-types): Use regexp-opt.
19027
cbb0f9ab
CY
190282011-09-15 Chong Yidong <cyd@stupidchicken.com>
19029
19030 * window.el (display-buffer-base-action): Rename from
19031 display-buffer-default-action. Make default value empty.
19032 (display-buffer-overriding-action): Convert to defvar.
19033 (display-buffer-fallback-action): New var.
19034
25322144
CY
190352011-09-15 Chong Yidong <cyd@stupidchicken.com>
19036
19037 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
19038 declaration.
19039 (package--add-to-archive-contents): If there is a duplicate entry
19040 with an older version, remove it.
19041 (package-menu-mark-delete, package-menu-mark-install)
19042 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
19043 (package-menu-mark-obsolete-for-deletion):
19044 Use package-menu-get-status instead of a regexp search.
25322144
CY
19045 (package-menu-get-status): Use tabulated-list-entry.
19046 (package-menu-mark-upgrades): New command.
d770725a 19047 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
19048 (package-menu-execute): Do installation before deletion.
19049 (package-menu-refresh, package-menu-execute): Use derived-mode-p
19050 instead of checking major-mode.
19051 (package-menu--find-upgrades): New function.
19052
7520339c
LMI
190532011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
19054
19055 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
19056 passwords in the log buffer.
65a046c4
LMI
19057 (smtpmail-process-filter): Update the process marker so that the
19058 "broken by peer" status message is inserted in the right place.
7520339c 19059
d3c30954
SM
190602011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
19061
3fe48822
SM
19062 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
19063 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
19064 bibtex-completion-at-point-function.
19065 (bibtex-completion-at-point-function): Use them.
19066
1b8b3954
SM
19067 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
19068
d3c30954
SM
19069 * mpc.el (mpc-constraints-tag-lookup): New function.
19070 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
19071 also to browser "album|playlist".
19072
72779976
JL
190732011-09-14 Juri Linkov <juri@jurta.org>
19074
19075 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
19076 (isearch-edit-string): Use length of `isearch-string' when
19077 `isearch-fail-pos' returns nil.
19078 (isearch-message): Remove duplicate code and call
19079 `isearch-fail-pos' with arg `t'.
19080
a0bf2bcd
CY
190812011-09-14 Chong Yidong <cyd@stupidchicken.com>
19082
17bb0a2d
CY
19083 * replace.el (occur-mode-goto-occurrence): Don't force using other
19084 window (Bug#9499).
19085
a0bf2bcd
CY
19086 * dired-aux.el (dired-do-chmod): Don't provide initial input.
19087
f678e0b6
MR
190882011-09-14 Martin Rudalics <rudalics@gmx.at>
19089
19090 * window.el (display-buffer-window): Remove.
19091 (display-buffer-record-window): Use help-setup window parameter
19092 instead of variable display-buffer-window.
19093 (display-buffer-function, special-display-buffer-names)
19094 (special-display-function): Mention help-setup parameter instead
19095 of display-buffer-window in doc-string.
d3c30954
SM
19096 * help.el (help-window-setup): New argument help-window.
19097 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
19098 Reword some messages.
19099 (with-help-window): Pass window used for displaying the buffer
19100 to help-window-setup. Don't set display-buffer-window.
19101
8e39b2e8
GM
191022011-09-13 Glenn Morris <rgm@gnu.org>
19103
19104 * emacs-lisp/debug.el (debugger-make-xrefs):
19105 Preserve point. (Bug#9462)
19106
85e9c04b
CY
191072011-09-13 Chong Yidong <cyd@stupidchicken.com>
19108
19109 * window.el (window-deletable-p): Use next-frame.
19110
1b36ed6a
MR
191112011-09-13 Martin Rudalics <rudalics@gmx.at>
19112
19113 * window.el (window-auto-delete): Remove.
19114 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 19115 dedication and previous buffers.
1b36ed6a
MR
19116 (switch-to-prev-buffer): Don't delete window.
19117 (delete-windows-on): Delete a window's frame if and only if the
19118 window is dedicated.
19119 (replace-buffer-in-windows): Delete buffer's window or frame if
19120 and only if window is dedicated.
19121 (quit-window): Handle quit-restore as before last change.
4d61f28d 19122 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 19123
ef8ef9fb
CY
191242011-09-13 Chong Yidong <cyd@stupidchicken.com>
19125
19126 * window.el (window-deletable-p): Never delete the last frame on a
19127 given terminal.
19128
b2cba41e
GM
191292011-09-13 Glenn Morris <rgm@gnu.org>
19130
19131 * help.el (describe-key-briefly): Copy previous standard-output change.
19132
51553db6 191332011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
19134
19135 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
19136
b7556719
GM
191372011-09-13 Glenn Morris <rgm@gnu.org>
19138
19139 * emacs-lisp/lisp-mode.el (lisp-indent-function):
19140 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
19141
64b51947
CY
191422011-09-12 Chong Yidong <cyd@stupidchicken.com>
19143
19144 * dired-aux.el (dired-mark-read-string): Don't return default
19145 value on empty input (Bug#9361).
19146 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
19147 Omit initial minibuffer contents.
19148 (dired-do-chmod): Signal an error on empty input.
19149 (dired-mark-read-string): Don't return default on empty input.
19150
19151 * files.el (file-modes-symbolic-to-number): Doc fix.
19152
393a301e
SM
191532011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
19154
19155 * international/mule-cmds.el (ucs-completions): Remove.
19156 (read-char-by-name): Use complete-with-action instead; add metadata.
19157
fa5660f9
CY
191582011-09-11 Chong Yidong <cyd@stupidchicken.com>
19159
19160 * window.el (display-buffer--action-function-custom-type)
19161 (display-buffer--action-custom-type): New vars.
19162 (display-buffer-alist, display-buffer-default-action)
19163 (display-buffer-overriding-action): Add defcustom types.
19164
4a592f66
CY
19165 * frame.el (delete-other-frames): Doc fix (Bug#276).
19166
73d56dbd
LMI
191672011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
19168
19169 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
19170
37ac18a3
CY
191712011-09-11 Chong Yidong <cyd@stupidchicken.com>
19172
19173 Change modes that used same-window-* vars to use switch-to-buffer.
19174
19175 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
19176 Use switch-to-buffer.
19177
19178 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
19179 (customize-browse, custom-buffer-create-other-window):
19180 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
19181
19182 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
19183 (Info-prev, Info-up, Info-speedbar-goto-node)
19184 (info-display-manual): Use switch-to-buffer.
19185 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
19186
19187 * mail/sendmail.el (mail): Use switch-to-buffer.
19188 (mail-recover): Use switch-to-buffer-other-window.
19189
19190 * cmuscheme.el (run-scheme, switch-to-scheme):
19191 * ielm.el (ielm):
19192 * shell.el (shell):
19193 * net/rlogin.el (rlogin):
19194 * net/telnet.el (telnet, rsh):
19195 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
19196
10195bd6
AS
191972011-09-11 Andreas Schwab <schwab@linux-m68k.org>
19198
19199 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
19200
b322f63a
LMI
192012011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
19202
39d7fed6
LMI
19203 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
19204 so don't mention it (bug#9301).
ba5a81f1 19205 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 19206
ee0e9f11
LMI
19207 * faces.el (face-spec-set-match-display): Make `(type graphic)'
19208 match `x', `w32' and `ns', like the manual says (bug#9029).
19209
0b1c89c1 19210 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
19211 (process-kill-buffer-query-function): Mention the buffer name in
19212 the query.
0b1c89c1 19213
77549ea8
LMI
19214 * image-mode.el (image-next-line): The line parameter is mandatory
19215 (bug#9258).
19216
803ef892
LMI
19217 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
19218 which can be useful (bug#9301).
19219
12980837
LMI
19220 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
19221
91054f8f
LMI
19222 * subr.el (match-string): Mention that the current buffer should
19223 be the same as the search was done in (bug#9282).
19224
b322f63a
LMI
19225 * facemenu.el: Disable the remove-* commands if the mark isn't
19226 active (bug#9162).
19227
3199b96f
CY
192282011-09-10 Chong Yidong <cyd@stupidchicken.com>
19229
19230 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
19231 of display-buffer.
19232 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
19233
19234 * replace.el (occur-mode-goto-occurrence)
19235 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
19236 and display-buffer.
19237
19238 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
19239 display-buffer.
19240
19241 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
19242 special-display and same-window variables.
19243 (mail-other-window): Use switch-to-buffer-other-window.
19244 (mail-other-frame): USe switch-to-buffer-other-frame.
19245
393a301e
SM
19246 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
19247 Use display-buffer-other-frame.
3199b96f
CY
19248 (gdb-display-gdb-buffer): Use pop-to-buffer.
19249
19250 * progmodes/gud.el (gud-goto-info): Use info-other-window.
19251
19252 * progmodes/python.el: Don't set same-window-buffer-names.
19253
19254 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
19255
19256 * window.el (display-buffer-alist): Add *Python*.
19257
8319e0bf
CY
192582011-09-10 Chong Yidong <cyd@stupidchicken.com>
19259
19260 * window.el (display-buffer-alist): Add entry for buffers
19261 previously handled same-window-*.
19262 (display-buffer-alist, display-buffer-default-action)
19263 (display-buffer-overriding-action): Mark as risky.
19264 (display-buffer-alist): Document action function changes.
19265 (display-buffer--same-window-action)
19266 (display-buffer--other-frame-action): New variables.
19267 (switch-to-buffer, display-buffer-other-frame): Use them.
19268 (display-buffer): Rename reuse-frame entry to reusable-frames.
19269 (display-buffer-reuse-selected-window): Function deleted.
19270 (display-buffer-reuse-window): Handle reusable-frames alist entry.
19271 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
19272 (display-buffer-special): New function.
19273 (display-buffer--maybe-pop-up-frame-or-window): Rename from
19274 display-buffer-reuse-or-pop-window. Split off special-display
19275 part into display-buffer-special.
19276 (display-buffer-use-some-window): Don't perform any special
19277 pop-up-frames handling.
19278 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 19279 (display-buffer--maybe-same-window): Rename from
0d3ff375 19280 display-buffer-maybe-same-window.
8319e0bf 19281
919a69aa
CY
19282 * info.el: Don't set same-window-regexps.
19283 (info-setup): New function.
19284 (info-other-window, info): Call it.
19285
19286 * cus-edit.el: Don't set same-window-regexps.
19287 (customize-group): New argument.
19288 (customize-group-other-window): Use it.
19289 (customize-face, customize-face-other-window): Likewise.
19290 (custom-buffer-create-other-window): Use pop-to-buffer directly.
19291
8319e0bf
CY
19292 * net/rlogin.el:
19293 * net/telnet.el:
19294 * progmodes/gud.el: Don't set same-window-regexps.
19295
19296 * cmuscheme.el:
19297 * ielm.el:
19298 * shell.el:
19299 * mail/sendmail.el:
19300 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
19301
25173000
JL
193022011-09-10 Juri Linkov <juri@jurta.org>
19303
19304 * isearch.el (isearch-edit-string): Remove obsolete mention of
19305 `C-w' (`isearch-yank-word-or-char') from docstring.
19306 (isearch-query-replace): Fix typo in docstring (bug#9466).
19307
056e44ef
JL
193082011-09-10 Juri Linkov <juri@jurta.org>
19309
19310 * paren.el (show-paren-function): Don't show escaped parens.
19311 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
19312
c3760c17
EZ
193132011-09-10 Eli Zaretskii <eliz@gnu.org>
19314
19315 * mail/sendmail.el (mml-to-mime, mml-attach-file)
19316 (mm-default-file-encoding): Remove autoload forms, they are
19317 replaced with autoload cookies in mml.el and mm-encode.el.
19318 (mail-add-attachment): New command.
19319 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
19320 (mail-mode): Mention mail-insert-file and mail-add-attachment in
19321 the doc string.
19322 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
19323
fece895e
RT
193242011-09-10 Reuben Thomas <rrt@sc3d.org>
19325
e69df516
SM
19326 * simple.el (count-words-region): Use buffer if there's no region
19327 (bug#9429).
fece895e 19328
5e68ce4a
JL
193292011-09-09 Juri Linkov <juri@jurta.org>
19330
19331 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
19332 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
19333 (wdired-isearch-filter-read-only): New function. (Bug#6362)
19334
0a6b9622
AM
193352011-09-09 Alan Mackenzie <acm@muc.de>
19336
19337 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
19338 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
19339
14a29deb
EZ
193402011-09-09 Eli Zaretskii <eliz@gnu.org>
19341
19342 Fix for Savannah bug#9392.
19343 * simple.el (mail-encode-mml): New defvar.
19344
19345 * mail/rmail.el (mail-encode-mml): Add a defvar.
19346 (rmail-enable-mime-composing): Default to t.
19347 (rmail-forward): Use MIME method of forwarding only if both
19348 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
19349 Set mail-encode-mml non-nil if the MIME method was used.
19350
19351 * mail/sendmail.el (mml-to-mime): Add autoload form.
19352 (mail-encode-mml): Add a defvar.
19353 (mail-mode): Make mail-encode-mml buffer-local and initialize it
19354 to nil.
19355 (mail-send): If mail-encode-mml is non-nil, run the outgoing
19356 message through mml-to-mime, and reset mail-encode-mml to nil.
19357
28c45130
GM
193582011-09-09 Glenn Morris <rgm@gnu.org>
19359
19360 * woman.el (woman-if-body): When processing an .el block,
19361 do not delete the next .el block as well. (Bug#9447)
69f4b618 19362 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 19363
9b1c252e
MR
193642011-09-08 Martin Rudalics <rudalics@gmx.at>
19365
19366 * window.el (window-deletable-p): Make sure window is live before
19367 invoking window-prev-buffers.
19368
567457e3
LL
193692011-09-08 Leo Liu <sdl.web@gmail.com>
19370
19371 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
19372
97f05794
JL
193732011-09-08 Juri Linkov <juri@jurta.org>
19374
19375 * progmodes/compile.el (compilation-environment): Make it
19376 a defcustom (bug#8340).
19377
8b0874b5
MR
193782011-09-08 Martin Rudalics <rudalics@gmx.at>
19379
19380 * window.el (frame-auto-delete): Rename to window-auto-delete.
19381 Make it control auto-deletion of windows and/or frames.
19382 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 19383 for deleting window/frame. (Bug#9419)
8b0874b5
MR
19384 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
19385 Rewrite handling of case when window/frame can be deleted.
19386 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 19387 argument t. (Bug#9456)
8b0874b5 19388
4feb6e73
CY
193892011-09-07 Chong Yidong <cyd@stupidchicken.com>
19390
19391 * help-mode.el (help-mode): Restore autoload.
19392
91ab9c13
JL
193932011-09-07 Juri Linkov <juri@jurta.org>
19394
19395 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
19396 `compilation-environment'. Set buffer-local
19397 `compilation-environment' to `thisenv' later after (funcall mode).
19398 (Bug#8340)
19399
19400 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
19401 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
19402 instead of replacing its value. (Bug#8340)
19403
0527e251
JL
194042011-09-07 Juri Linkov <juri@jurta.org>
19405
19406 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
19407 based on text properties put by `grep-filter' instead of matching
19408 escape sequences.
19409 (grep-mode): Set buffer-local `compilation-error-screen-columns'
19410 to the value of `grep-error-screen-columns' (bug#9438).
19411
249f792c
JL
194122011-09-07 Juri Linkov <juri@jurta.org>
19413
19414 * simple.el (next-error-highlight, next-error-highlight-no-select):
19415 Doc fix (bug#9432).
19416
ff7271b9
OT
194172011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
19418
19419 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
19420 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
19421
183fc730
LL
194222011-09-07 Leo Liu <sdl.web@gmail.com>
19423
19424 * net/rcirc.el (rcirc-mode): Conditionally initialize
19425 rcirc-input-ring.
19426
77694924
SM
194272011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
19428
19429 * emacs-lisp/find-func.el (find-function-C-source): Only set
19430 find-function-C-source-directory after checking that we found a source
19431 file there (bug#9440).
19432
d809b8eb
AM
194332011-09-06 Alan Mackenzie <acm@muc.de>
19434
19435 * isearch.el (isearch-other-meta-char): Wherever a key list is
19436 unread, "unread" the prefix arg, too. This fixes bug #8901.
19437
453de99f
OG
194382011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
19439
19440 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
19441
90439906
JL
194422011-09-05 Juri Linkov <juri@jurta.org>
19443
19444 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
19445
f62bd846
JL
194462011-09-05 Juri Linkov <juri@jurta.org>
19447
19448 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
19449 keeping point where processing of grep matches begins, and
19450 continue to delete remaining escape sequences from the same point.
19451 (grep-filter): Make leading zero optional in "0?1;31m" because
19452 git-grep emits "\033[1;31m" escape sequences unlike expected
19453 "\033[01;31m" as GNU Grep does (bug#9408).
19454 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
19455
045820ec
JL
194562011-09-05 Juri Linkov <juri@jurta.org>
19457
19458 * subr.el (y-or-n-p): Capitalize "yes".
19459
f5e29b9b
MA
194602011-09-04 Michael Albinus <michael.albinus@gmx.de>
19461
19462 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
19463 `tramp-cache-unload-hook' where appropriate.
19464 (tramp-methods): Rename `tramp-remote-sh' to
19465 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
19466 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
19467
19468 * net/tramp-sh.el (top): Don't require 'shell.
19469 (tramp-methods): Add `tramp-remote-shell' and
19470 `tramp-remote-shell-args' entries.
19471 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
19472 (tramp-sh-handle-shell-command): Remove.
19473 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
19474 Use `tramp-remote-shell'.
19475
2784c434
CY
194762011-09-03 Chong Yidong <cyd@stupidchicken.com>
19477
393a301e 19478 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
19479 (sendmail-query-once): Save directly to send-mail-function.
19480 Update message-send-mail-function too.
19481
19482 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
19483
464cdf56
CS
194842011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
19485
19486 * progmodes/python.el (python-mode-map): Use correct function to
19487 start python interpreter from menu-bar (as reported by Geert
19488 Kloosterman).
19489 (inferior-python-mode-map): Fix typo.
393a301e 19490 (python-shell-map): Remove.
464cdf56 19491
d37e5c87
DD
194922011-09-03 Deniz Dogan <deniz@dogan.se>
19493
19494 * net/rcirc.el (rcirc-print): Simplify code for
19495 rcirc-scroll-show-maximum-output. There is no need to walk
19496 through all windows to find the right one.
19497
f3ada0ee
CS
194982011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
19499
19500 * help.el (help-return-method): Doc fix.
19501
1f3c99ca
MR
195022011-09-03 Martin Rudalics <rudalics@gmx.at>
19503
19504 * window.el (window-deletable-p): Don't return a non-nil value
19505 when there's a buffer that was shown in the window before.
19506 (Bug#9419)
393a301e
SM
19507 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
19508 Set window's previous buffers to nil.
1f3c99ca 19509
a3cf097f
EZ
195102011-09-03 Eli Zaretskii <eliz@gnu.org>
19511
19512 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
19513 newline before and after the tag line, so it doesn't interfere
19514 with determining the paragraph direction of bidirectional text.
19515
3d03de90
LL
195162011-09-03 Leo Liu <sdl.web@gmail.com>
19517
19518 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
19519
c3313451
CY
195202011-09-02 Chong Yidong <cyd@stupidchicken.com>
19521
393a301e 19522 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
19523 (pop-to-buffer): Change interactive spec. Pass second argument
19524 directly to display-buffer.
19525 (display-buffer): Fix interactive spec. Use functionp to
19526 distinguish between a function and a list of functions.
19527
19528 * abbrev.el (edit-abbrevs):
19529 * arc-mode.el (archive-extract):
19530 * autoinsert.el (auto-insert):
19531 * bookmark.el (bookmark-bmenu-list):
19532 * files.el (find-file):
19533 * view.el (view-buffer):
19534 * progmodes/compile.el (compilation-goto-locus):
19535 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
19536
89894cd8
CY
195372011-09-02 Chong Yidong <cyd@stupidchicken.com>
19538
19539 * window.el (display-buffer-alist): Doc fix.
19540 (display-buffer): Add docstring. Don't treat
19541 display-buffer-default specially.
19542 (display-buffer-reuse-selected-window)
19543 (display-buffer-same-window, display-buffer-maybe-same-window)
19544 (display-buffer-reuse-window, display-buffer-pop-up-frame)
19545 (display-buffer-pop-up-window)
19546 (display-buffer-reuse-or-pop-window)
19547 (display-buffer-use-some-window): New functions.
19548 (display-buffer-default-action): Use them.
393a301e 19549 (display-buffer-default): Delete.
89894cd8
CY
19550 (pop-to-buffer-1): Fix choice of actions.
19551
ae0bc9fb
SM
195522011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
19553
19554 * minibuffer.el (completion--insert-strings): Don't get confused by
19555 completion entries that end with an LF char.
19556
e9d90883
EZ
195572011-09-01 Eli Zaretskii <eliz@gnu.org>
19558
19559 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
19560
437014c8
CY
195612011-09-01 Chong Yidong <cyd@stupidchicken.com>
19562
19563 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
19564 (display-buffer-same-window, display-buffer-other-window):
19565 New functions.
437014c8
CY
19566 (pop-to-buffer-1): New function. Use the above.
19567 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 19568 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
19569
19570 * view.el (view-buffer-other-window, view-buffer-other-frame):
19571 Just use pop-to-buffer.
19572
a5e063d5
TV
195732011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
19574
19575 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
19576
793d32bb
WH
195772011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
19578
19579 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
19580
d65e4c15
RS
195812011-08-31 Richard Stallman <rms@gnu.org>
19582
19583 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
19584 of the separation of rmail-view-buffer from rmail-buffer.
19585 If you say no to "replace original", the decrypt is in the
19586 view buffer. If you say yes, the decrypt goes into the
19587 rmail buffer also.
19588
f818cd2a
MR
195892011-08-31 Martin Rudalics <rudalics@gmx.at>
19590
19591 * window.el (display-buffer-window): Rewrite doc-string.
19592 (display-buffer-record-window): New function.
19593 (display-buffer-macro-specifiers)
19594 (display-buffer-even-window-sizes, display-buffer-set-height)
19595 (display-buffer-set-width, display-buffer-in-window)
19596 (display-buffer-reuse-window, display-buffer-split-specifiers)
19597 (display-buffer-side-specifiers, display-buffer-split-window-1)
19598 (display-buffer-split-window, display-buffer-split-atom-window)
19599 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
19600 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
19601 (display-buffer-other-window-means-other-frame)
19602 (display-buffer-normalize-special)
19603 (display-buffer-normalize-default)
19604 (display-buffer-normalize-argument)
19605 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
19606 (display-buffer-normalize-specifiers, display-buffer-frame)
19607 (display-buffer-same-window, display-buffer-same-frame)
19608 (display-buffer-other-window)
19609 (display-buffer-same-frame-other-window)
19610 (display-buffer-other-frame, pop-to-buffer-same-window)
19611 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
19612 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
19613 (switch-to-buffer-same-frame)
19614 (switch-to-buffer-other-window-same-frame)
19615 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
19616 (display-buffer-alist-set-1, display-buffer-alist-set-2)
19617 (display-buffer-alist-set): Remove.
19618 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
19619 (special-display-regexps, special-display-function):
19620 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
19621 parameter.
19622 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
19623 (special-display-frame-alist, special-display-popup-frame)
19624 (same-window-buffer-names, same-window-regexps, same-window-p)
19625 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
19626 (split-window-preferred-function, split-height-threshold)
19627 (split-width-threshold, window-splittable-p)
19628 (split-window-sensibly, window--try-to-split-window)
19629 (window--frame-usable-p, even-window-heights)
19630 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
19631 (window--display-buffer-2, display-buffer-other-frame):
19632 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
19633 (display-buffer-default, display-buffer-assq-regexp): New functions.
19634 (display-buffer-alist): Rewrite doc-string.
19635 (display-buffer-default-action)
19636 (display-buffer-overriding-action): New variables.
19637 (display-buffer, switch-to-buffer): Rewrite.
19638 (pop-to-buffer): Restore Emacs 23 behavior but use
19639 window-normalize-buffer-to-display.
19640 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
19641 Restore Emacs 23 behavior but use
19642 window-normalize-buffer-to-switch-to.
19643 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
19644 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
19645 Rewrite using Emacs 23 options.
f818cd2a 19646
5bc3b51d
MA
196472011-08-31 Michael Albinus <michael.albinus@gmx.de>
19648
19649 * net/tramp.el (tramp-root-regexp): Remove.
19650 (tramp-completion-file-name-regexp-unified)
19651 (tramp-completion-file-name-regexp-separate)
19652 (tramp-completion-file-name-regexp-url): Don't use leading volume
b46a6a83 19653 letter on w32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
19654 (tramp-drop-volume-letter): Simplify definition.
19655 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 19656
b1a4f8e1
SM
196572011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
19658
19659 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
19660 (bug#9356).
19661
5664fa7b
RT
196622011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
19663
b1a4f8e1 19664 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 19665
9a45d6c3
JL
196662011-08-29 Juri Linkov <juri@jurta.org>
19667
19668 * isearch.el (isearch-done): Don't display message "Mark saved"
19669 when arg `edit' is non-nil to prevent its flicker in the echo area.
19670
fb87e0fb
CY
196712011-08-28 Chong Yidong <cyd@stupidchicken.com>
19672
19673 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
19674 obsolete packages for deletion.
19675
09ac1c2a
CS
196762011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
19677
19678 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 19679 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
19680 view-mode from help-mode.
19681 (help-xref-override-view-map): Remove.
19682 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
19683 view-mode is not used anymore.
19684
7a1ff57f
CY
196852011-08-28 Chong Yidong <cyd@stupidchicken.com>
19686
19687 * server.el (server-port): Doc fix.
19688
b9696605
CY
19689 * cus-theme.el (custom-theme-choose-mode): Inherit from
19690 special-mode (Bug#9124).
19691 (custom-theme-choose-mode-map): Add special-mode to parent.
19692
ef8cdf8c
AM
196932011-08-28 Alan Mackenzie <acm@muc.de>
19694
19695 * progmodes/cc-fonts.el
19696 (c-make-font-lock-BO-decl-search-function): New function.
19697 (c-basic-matchers-after - "Fontify the clauses after various
19698 keywords"): Extract the three keyword lists for the 3 erroneous
19699 constructs from the list of four, and use the new function above
19700 in place of an old one.
19701
27de4e20
DD
197022011-08-28 Deniz Dogan <deniz@dogan.se>
19703
19704 * net/rcirc.el (rcirc-insert-prev-input)
19705 (rcirc-insert-next-input): Remove unused argument.
19706
356a3681
SM
197072011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
19708
19709 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
19710
3fc9b218
AM
197112011-08-27 Alan Mackenzie <acm@muc.de>
19712
19713 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
19714 handle function pointer parameters properly.
19715
538a061c
MR
197162011-08-27 Martin Rudalics <rudalics@gmx.at>
19717
19718 * window.el (display-buffer-reuse-window): Fix case where
19719 selected window was reused with non-nil OTHER-WINDOW argument.
19720 (Bug#9381)
19721
35b1c40c
DD
197222011-08-27 Deniz Dogan <deniz@dogan.se>
19723
19724 * net/rcirc.el (rcirc-check-auth-status): Adding support for
19725 oftc's NickServ messages.
19726
2f6a3e79
GM
197272011-08-27 Glenn Morris <rgm@gnu.org>
19728
19729 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
19730
7254299e
CY
197312011-08-26 Chong Yidong <cyd@stupidchicken.com>
19732
19733 * emacs-lisp/package.el (package-install): Call package-initialize
19734 if called interactively.
19735
f8ccf167
LL
197362011-08-26 Leo Liu <sdl.web@gmail.com>
19737
19738 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
19739
3e8cd5ce
JL
197402011-08-25 Juri Linkov <juri@jurta.org>
19741
19742 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
19743 `search-whitespace-regexp' (bug#9364).
19744
93eb7113
JL
197452011-08-25 Juri Linkov <juri@jurta.org>
19746
19747 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
19748 `regexp-search-ring' to their global values to protect from
19749 updating by `read-from-minibuffer' (bug#9185).
19750
f65d1611
JL
197512011-08-25 Juri Linkov <juri@jurta.org>
19752
19753 * textmodes/ispell.el (ispell-command-loop): Add newline
19754 at the end of the "Use option `i'..." line.
19755
f1cf7a31
JL
197562011-08-25 Juri Linkov <juri@jurta.org>
19757
19758 * battery.el (display-battery-mode): If `battery-status-function'
19759 or `battery-mode-line-format' is nil, display the message and set
19760 `display-battery-mode' to nil (bug#9363).
19761
0c95fcf7
EZ
197622011-08-25 Eli Zaretskii <eliz@gnu.org>
19763
19764 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
19765 bidi-string-mark-left-to-right; they are unnecessary now.
19766
a2ebe600
DD
197672011-08-25 Deniz Dogan <deniz@dogan.se>
19768
19769 * net/quickurl.el: Documentation typo fixes.
19770
e4ed06f1
CY
197712011-08-25 Chong Yidong <cyd@stupidchicken.com>
19772
19773 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
19774
e5f1c99e
GM
197752011-08-25 Glenn Morris <rgm@gnu.org>
19776
b2948976
GM
19777 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
19778
e5f1c99e
GM
19779 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
19780 (smtpmail-via-smtp): Handle nil response from smtp.
19781
f22f4808
JL
197822011-08-24 Juri Linkov <juri@jurta.org>
19783
19784 * proced.el (proced-marked): Inherit from `error' instead of
19785 `font-lock-warning-face'.
19786
19787 * ibuffer.el (ibuffer-marked-face): Change default face from
19788 `font-lock-warning-face' to `warning'.
19789 (ibuffer-deletion-face): Change default face from
19790 `font-lock-type-face' to `error'.
19791
19792 * battery.el (battery-update): Use the face `error' instead of
19793 `font-lock-warning-face' (bug#6117).
19794
6a93965e
JL
197952011-08-24 Juri Linkov <juri@jurta.org>
19796
19797 * faces.el (success): Change face color from "Green3" to
19798 "ForestGreen" on light background (bug#9353).
19799
1ed43b09
CY
198002011-08-24 Chong Yidong <cyd@stupidchicken.com>
19801
5664fa7b
RT
19802 * window.el (quit-window): Rename from quit-restore-window.
19803 Use same arglist as old quit-window.
1ed43b09
CY
19804 (frame-auto-delete): Doc fix.
19805
19806 * view.el (view-mode-exit): Use quit-window.
19807
11dcdbb2
JL
198082011-08-24 Juri Linkov <juri@jurta.org>
19809
19810 * isearch.el (isearch-ring-adjust1): Start visiting previous
19811 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
19812 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
19813 for empty search string (when the last search string is reused
19814 automatically) to adjust the isearch ring to the last element and
19815 prepare the correct index for further M-p commands (bug#9185).
19816
de62b4df
KH
198172011-08-24 Kenichi Handa <handa@m17n.org>
19818
19819 * international/ucs-normalize.el: If decomposition property of
19820 CHAR is the default one (i.e. a list of CHAR itself), treat it as
19821 nil.
19822 (nfd, nfkd): Likewise.
19823
963b492b
SM
198242011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
19825
19826 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
19827 from process filters aren't reliably transmitted to the surrounding
19828 accept-process-output.
19829 (mpc-proc-check): New function.
19830 (mpc-proc-sync): Use it (bug#8293)
19831
93b6b5e1
SM
198322011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
19833
19834 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
19835 Add compatibility functions (bug#9313).
19836
bca633fb
EZ
198372011-08-23 Eli Zaretskii <eliz@gnu.org>
19838
b177498a
EZ
19839 * cus-start.el (all): Add entry for bidi-paragraph-direction.
19840
6df6ae42 19841 * international/uni-bidi.el: Regenerate.
bca633fb 19842
0902a04e
KH
198432011-08-23 Kenichi Handa <handa@m17n.org>
19844
19845 * international/charprop.el:
19846 * international/uni-bidi.el:
19847 * international/uni-category.el:
19848 * international/uni-combining.el:
19849 * international/uni-comment.el:
19850 * international/uni-decimal.el:
19851 * international/uni-decomposition.el:
19852 * international/uni-digit.el:
19853 * international/uni-lowercase.el:
19854 * international/uni-mirrored.el:
19855 * international/uni-name.el:
19856 * international/uni-numeric.el:
19857 * international/uni-old-name.el:
19858 * international/uni-titlecase.el:
19859 * international/uni-uppercase.el: Regenerate.
19860
3bbf23bc
MR
198612011-08-23 Martin Rudalics <rudalics@gmx.at>
19862
19863 * help.el (help-window-setup): Fix message displayed when other
19864 window is reused. (Bug#9341)
19865
b3fd59bd
SM
198662011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
19867
1802e444
SM
19868 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
19869 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
19870
b3fd59bd
SM
19871 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
19872 Mark obsolete.
19873 * shell.el (shell-parse-pcomplete-arguments): New function.
19874 (shell-completion-vars): Use it instead (bug#9160).
19875
4eb61348
SM
198762011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
19877
867cab74
SM
19878 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
19879 strings and comments (bug#9333).
19880
4eb61348
SM
19881 * emacs-lisp/debug.el (debug-arglist): New function.
19882 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
19883 (debug-on-entry-1): Handle interpreted closures (bug#9120).
19884
262a1439
JL
198852011-08-22 Juri Linkov <juri@jurta.org>
19886
56ee679c
JL
19887 * progmodes/compile.el (compilation-mode-font-lock-keywords):
19888 Revert regexp that highlights output switches to its old
19889 pre-2010-10-28 value and remove one `?' from it (bug#9319).
19890
262a1439
JL
19891 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
19892 to check for empty output (bug#9226).
19893
f13f86fb
CY
198942011-08-22 Chong Yidong <cyd@stupidchicken.com>
19895
19896 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
19897 symbol-constituent as the default, as that stops font-lock from
19898 working properly (Bug#8843).
19899
c65c9622
LMI
199002011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
19901
19902 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
19903 `coding-system-for-*' around the process open call to avoid
19904 auth-source side effects.
e7f2c178 19905 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
19906 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
19907 probe hangs.
c65c9622 19908
23a8a5ab
CY
199092011-08-21 Chong Yidong <cyd@stupidchicken.com>
19910
ff98b2dd
CY
19911 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
19912
23a8a5ab
CY
19913 * emacs-lisp/find-func.el (find-function-noselect): New arg
19914 lisp-only.
19915
19916 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
19917 signal an error for built-in functions (Bug#6664).
19918
f5e3c598
LMI
199192011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
19920
19921 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
19922 (smtpmail-try-auth-methods): Use it.
19923
a3f2468a
CY
199242011-08-21 Chong Yidong <cyd@stupidchicken.com>
19925
2c34e8da
CY
19926 * font-lock.el (font-lock-fontify-region)
19927 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
19928 (font-lock-default-unfontify-buffer)
19929 (font-lock-default-fontify-region)
19930 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
19931
b3fd59bd
SM
19932 * progmodes/compile.el (compilation-error-properties):
19933 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
19934 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
19935 `ant' regexp.
ee31aabc 19936
a3f2468a
CY
19937 * net/browse-url.el (browse-url-firefox): Don't call
19938 browse-url-firefox-sentinel unless using -remote (Bug#9328).
19939
8e999f70
GM
199402011-08-20 Glenn Morris <rgm@gnu.org>
19941
c21a496a
GM
19942 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
19943
59ee0542
GM
19944 * tutorial.el (tutorial--default-keys): Update some default bindings.
19945
8e999f70
GM
19946 * files.el (hack-local-variables): Fully ignore case for "mode:".
19947
e3715033
AM
199482011-08-20 Alan Mackenzie <acm@muc.de>
19949
19950 Resolve invalid use of a regexp in regexp-opt.
19951
4d61f28d
JB
19952 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
19953 detection for a java annotation.
e3715033 19954
4d61f28d 19955 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
19956 detection for a java annotation.
19957
4d61f28d
JB
19958 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
19959 handling for java.
e3715033
AM
19960 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
19961
04ed2e9c
CY
199622011-08-20 Chong Yidong <cyd@stupidchicken.com>
19963
19964 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
19965 (Bug#9274).
19966
826cee64
AM
199672011-08-20 Alan Mackenzie <acm@muc.de>
19968
58179cce 19969 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
19970 such a construct. Mainly for when jit-lock etc. starts a chunk
19971 here.
19972
58179cce 19973 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 19974 variable.
58179cce 19975 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
19976 c-make-font-lock-search-function.
19977 (c-make-font-lock-search-function): Use the above function.
19978 (c-make-font-lock-context-search-function): New function.
19979 (c-cpp-matchers): Enhance the preprocessor expression case with
19980 the above function
19981 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
19982 which takes an expression.
19983
19984 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
19985
13009bd8
MR
199862011-08-20 Martin Rudalics <rudalics@gmx.at>
19987
19988 * window.el (display-buffer-reuse-window)
19989 (display-buffer-pop-up-window): Don't reuse or split a side
19990 window.
19991
9234ff7f
GM
199922011-08-19 Glenn Morris <rgm@gnu.org>
19993
19994 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 19995 Downcase "Mode:". (Bug#9331)
9234ff7f 19996
f635daa1
CY
199972011-08-18 Chong Yidong <cyd@stupidchicken.com>
19998
19999 * international/characters.el: Add L and R categories.
20000
20001 * subr.el (bidi-string-mark-left-to-right): Rename from
20002 string-mark-left-to-right. Use category search.
20003
20004 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
20005
bc987f8b
JL
200062011-08-18 Juri Linkov <juri@jurta.org>
20007
20008 * faces.el (error, warning, success): New faces with definitions
20009 copied from old default values of `font-lock-warning-face',
20010 `compilation-warning', `compilation-info' (bug#6117).
20011
20012 * font-lock.el (font-lock-warning-face): Inherit from `error'.
20013
20014 * progmodes/compile.el (compilation-error): Inherit from `error'.
20015 (compilation-warning): Inherit from `warning'.
20016 (compilation-info): Inherit from `success'.
20017
20018 * dired.el (dired-marked): Inherit from `warning'.
20019 (dired-flagged): Inherit from `error'.
20020
57173b96
LMI
200212011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
20022
3e79eb87
LMI
20023 * mail/smtpmail.el (auth-source): Require to avoid problems with
20024 binding variables (bug#9298). Also clean up some unused
20025 autoloads.
20026
b3fd59bd
SM
20027 * net/network-stream.el (network-stream-open-starttls):
20028 Support using starttls.el without using gnutls-cli.
57173b96 20029
02b404de
JL
200302011-08-17 Juri Linkov <juri@jurta.org>
20031
20032 * progmodes/grep.el (rgrep): Handle the case when
20033 `grep-find-command' is a cons cell (bug#9278).
20034
8c9177f2
MR
200352011-08-17 Martin Rudalics <rudalics@gmx.at>
20036
20037 * window.el (display-buffer-pop-up-frame): Run frame creation
20038 function with BUFFER current (as special-display-popup-frame
20039 does). Reported by Drew Adams.
20040
3644a0ab
DU
200412011-08-17 Daiki Ueno <ueno@unixuser.org>
20042
20043 * epa-mail.el: Simplify GnuPG group expansion using
20044 epg-expand-group.
20045 (epa-mail-group-alist, epa-mail-group-modtime)
20046 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
20047 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
20048 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
20049 Remove.
20050
5e617bc2 200512011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
20052
20053 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
20054
9c4aeabf
AM
200552011-08-16 Alan Mackenzie <acm@muc.de>
20056
20057 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
20058 Correct, to avoid the inside of macros.
20059
3a99bf64
RS
200602011-08-16 Richard Stallman <rms@gnu.org>
20061
04963aa8
RS
20062 * epa-mail.el: Handle GnuPG group definitions.
20063 (epa-mail-group-alist, epa-mail-group-modtime)
20064 (epa-mail-gnupg-conf-file): New variables.
20065 (epa-mail-parse-groups, epa-mail-sync-groups)
20066 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
20067 (epa-mail-expand-recipients): New functions.
20068 (epa-mail-encrypt): Call epa-mail-expand-recipients.
20069
177549d0
RS
20070 * mail/rmail.el (rmail-epa-decrypt): New command.
20071
fe38beef
RS
20072 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
20073 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
20074 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
20075 (epa-decrypt-armor-in-region): Make error message clearer.
20076
934eacb9
SM
200772011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
20078
20079 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
20080 and "a2b" to "ab" for `prefix'.
20081
d024fb4e
CY
200822011-08-14 Chong Yidong <cyd@stupidchicken.com>
20083
20084 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
20085 filter groups.
de148fee
CY
20086 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
20087 Fourquet (Bug#8804).
d024fb4e 20088
62f1ca49
JB
200892011-08-12 Juanma Barranquero <lekktu@gmail.com>
20090
20091 * startup.el (argi): Declare as global variable (bug#9275).
20092
9ccaaa4b
CY
200932011-08-12 Chong Yidong <cyd@stupidchicken.com>
20094
20095 * subr.el (string-mark-left-to-right): Search the entire string
20096 for RTL script, not just the terminating character. Doc fix.
20097
a3dae87a
SM
200982011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
20099
6cd18349
SM
20100 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
20101 New function.
20102 (js--regexp-literal, js-syntax-propertize-function): Remove.
20103 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
20104 (js-mode-map): Don't rebind electric keys.
20105 (js-insert-and-indent): Remove.
20106 (js-mode): Setup electric-layout and electric-indent instead.
20107
a3dae87a
SM
20108 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
20109
9d5cb631
DU
201102011-08-12 Daiki Ueno <ueno@unixuser.org>
20111
20112 * epa.el (epa-progress-callback-function): Fix the logic of
20113 displaying progress.
20114 * epa-file.el (epa-file-insert-file-contents): Make progress
20115 display more user-friendly.
20116 (epa-file-write-region): Ditto.
20117
3e26a4a2
CY
201182011-08-10 Chong Yidong <cyd@stupidchicken.com>
20119
20120 * subr.el (string-mark-left-to-right): New function.
20121
20122 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
20123 Use string-mark-left-to-right.
20124 (list-buffers-noselect): Caller changed.
20125
a3dae87a
SM
20126 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
20127 Use string-mark-left-to-right.
3e26a4a2
CY
20128 (tabulated-list-print): Recenter after moving point.
20129
ac8cf6e6
JL
201302011-08-10 Juri Linkov <juri@jurta.org>
20131
20132 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
20133 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
20134 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
20135
8d96c9a4
CY
201362011-08-09 Chong Yidong <cyd@stupidchicken.com>
20137
20138 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
20139 (Bug#7554).
20140
7be1c708 201412011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
20142
20143 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
20144 character. (Bug#6594)
20145
37e11a63
CY
201462011-08-08 Chong Yidong <cyd@stupidchicken.com>
20147
839dde57
CY
20148 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
20149 (image-dired--with-db-file): New macro.
20150 (image-dired-write-tags, image-dired-remove-tag)
20151 (image-dired-create-gallery-lists, image-dired-write-comments)
20152 (image-dired-get-comment, image-dired-mark-tagged-files)
20153 (image-dired-list-tags, image-dired-gallery-generate): Use it.
20154 (image-dired-gallery-generate): Use insert-file-contents.
20155
37e11a63
CY
20156 * time.el (display-time-world-list, display-time-world-display):
20157 * time-stamp.el (time-stamp-string):
20158 * vc/add-log.el (add-change-log-entry): Use setenv instead of
20159 set-time-zone-rule (Bug#7337).
20160
0b4946c4
DU
201612011-08-08 Daiki Ueno <ueno@unixuser.org>
20162
20163 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
20164 (epg-error-to-string, epg-errors-to-string): New function.
20165 (epg-wait-for-completion): Reverse errors list.
20166 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
20167 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
20168 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
20169 (epg-sign-keys, epg-generate-key-from-file)
20170 (epg-generate-key-from-string): Format errors by using
20171 epg-errors-to-string (bug#9255).
20172 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
20173
75bfc667
JL
201742011-08-07 Juri Linkov <juri@jurta.org>
20175
20176 * faces.el (list-faces-display): Remove extra angle bracket
20177 from `help-mode-map'.
20178
20179 * info.el (Info-history-toc-nodes): Doc fix.
20180
20181 * longlines.el (longlines-mode): Doc fix.
20182
673e08bb
SM
201832011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
20184
4640dd88
SM
20185 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
20186 of statements and in a few more cases (bug#9183).
20187
673e08bb
SM
20188 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
20189 New functions.
20190 (cl-transform-lambda): Use them (bug#9239).
20191
89b3f019
MR
201922011-08-05 Martin Rudalics <rudalics@gmx.at>
20193
20194 * window.el (display-buffer-same-window)
20195 (display-buffer-same-frame, display-buffer-other-window)
20196 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
20197 (pop-to-buffer-other-window)
20198 (pop-to-buffer-same-frame-other-window)
20199 (pop-to-buffer-other-frame): Make them defuns.
20200 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
20201
640c8776
SM
202022011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
20203
20204 * subr.el (make-composed-keymap): Move from C. Change calling
20205 convention, and improve docstring to bring attention to a subtle point.
20206 * minibuffer.el (completing-read-default): Adjust accordingly.
20207
63648a95
MA
202082011-08-03 Michael Albinus <michael.albinus@gmx.de>
20209
20210 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
20211 (tramp-open-shell): Use `tramp-shell-quote-argument'.
20212
20213 * net/trampver.el: Update release number.
20214
b796c9b7
SM
202152011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
20216
20217 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
20218 "in" (bug#9190).
20219
2239d7d5
LMI
202202011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
20221
e07dd7c3
LMI
20222 * mail/sendmail.el (sendmail-query-once): Restore the current
20223 buffer after querying (bug#9074).
20224
0e6a2bd7
LMI
20225 * dired.el (dired-flagged): Use different faces for marked and
20226 flagged files (bug#6117).
20227
ce887515
LMI
20228 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
20229 (bug#4433).
20230
92f2affc
LMI
20231 * ido.el (ido-mode): Switch off the message if called
20232 non-interactively.
20233
57d5aff0
LMI
20234 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
20235 before 587, since it appears that that's more likely to work for
20236 more people.
20237
98cd6c18 20238 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 20239 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
20240 exist.
20241
b96dec83
LMI
20242 * info.el: Remove the `Info-beginning-of-buffer' function
20243 (bug#8325).
20244
b796c9b7
SM
20245 * net/network-stream.el (network-stream-open-starttls):
20246 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 20247
d90e2ea0
MR
202482011-08-01 Martin Rudalics <rudalics@gmx.at>
20249
20250 * window.el (display-buffer-in-window): Don't set dedicated status
20251 of window here (Bug#9215).
20252 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
20253 (display-buffer-pop-up-side-window)
b796c9b7 20254 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 20255
cca09170
SM
202562011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
20257
20258 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
20259 before binding generated-autoload-file.
20260
027b979c
DD
202612011-08-01 Deniz Dogan <deniz@dogan.se>
20262
20263 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
20264
3c7ee4f3
MA
202652011-07-30 Michael Albinus <michael.albinus@gmx.de>
20266
20267 Sync with Tramp 2.2.2.
20268
20269 * net/trampver.el: Update release number.
20270
2cc8e51a
JL
202712011-07-30 Juri Linkov <juri@jurta.org>
20272
20273 * dired-aux.el (dired-touch-initial): Remove function.
20274 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
20275 current time, and `default' to the last modification time of the
20276 current marked file (bug#6887).
20277
a514d856
JM
202782011-07-28 Jose E. Marchesi <jemarch@gnu.org>
20279
20280 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 20281 numeric argument to read-number (bug#9163).
a514d856 20282
8a7eddd7
MA
202832011-07-27 Michael Albinus <michael.albinus@gmx.de>
20284
20285 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
20286 connection process, it could be nil.
20287
1ddd96f5
LL
202882011-07-27 Leo Liu <sdl.web@gmail.com>
20289
20290 Simplify url handling in rcirc-mode.
20291
20292 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
20293 (rcirc-browse-url-at-mouse): Remove.
20294 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
20295
b248a85d
AM
202962011-07-26 Alan Mackenzie <acm@muc.de>
20297
20298 Fontify bitfield declarations properly.
20299
20300 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
20301 (c-symbol-chars): Now exported as a lang variable.
20302 (c-not-primitive-type-keywords): New lang variable.
20303
20304 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
20305 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 20306 parsed as a bitfield declaration.
b248a85d 20307
b796c9b7
SM
20308 * progmodes/cc-engine.el (c-beginning-of-statement-1):
20309 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
20310 (c-punctuation-in): New function.
20311 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
20312 declarations properly.
20313
68575ab0
UJ
203142011-07-26 Ulf Jasper <ulf.jasper@web.de>
20315
20316 * calendar/icalendar.el (icalendar--all-events): Take care of
20317 multiple vcalendars in a single file.
b796c9b7 20318 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 20319
0f0a88b9
DD
203202011-07-25 Deniz Dogan <deniz@dogan.se>
20321
20322 * image.el (insert-image): Clarifying docstring.
20323
0b3f36df
MA
203242011-07-24 Michael Albinus <michael.albinus@gmx.de>
20325
20326 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
20327 `tramp-send-command-and-check' if there is no error.
20328 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
20329
a9901f61
AM
203302011-07-22 Alan Mackenzie <acm@muc.de>
20331
20332 Prevent cc-langs.elc being loaded at run time.
20333
20334 * progmodes/cc-mode.el: Remove two autoload forms which loaded
20335 cc-langs.
20336
4d61f28d 20337 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
20338 "(require 'cc-langs)". Quote a form so it will evaluate at
20339 (cc-mode's) compilation time.
20340
11d074b2
MA
203412011-07-22 Michael Albinus <michael.albinus@gmx.de>
20342
20343 * net/tramp.el (tramp-file-name-handler): Avoid recursive
20344 loading. (Bug#9114)
20345
938b94c8
MR
203462011-07-21 Martin Rudalics <rudalics@gmx.at>
20347
20348 * window.el (display-buffer-pop-up-window)
20349 (display-buffer-pop-up-side-window)
20350 (display-buffer-in-side-window): Call display-buffer-set-height
20351 and display-buffer-set-width after setting the new window's
b796c9b7 20352 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 20353
bfa4f190
SS
203542011-07-20 Sam Steingold <sds@gnu.org>
20355
20356 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
20357 (etags-tags-included-tables): Call `convert-standard-filename' on
20358 the file names contained in TAGS so that windows Emacs can handle
20359 TAGS files created by cygwin ctags.
20360
8ca42262
LMI
203612011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
20362
20363 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
20364 which apparently didn't work.
20365
5db2afd2 203662011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 20367
5db2afd2
RW
20368 * proced.el (proced-send-signal): For *Marked Processes* buffer
20369 put point at beginning of buffer.
20370
92e15d10
SB
203712011-07-19 Stephen Berman <stephen.berman@gmx.net>
20372
20373 * proced.el (proced-format): Make header lines align with the text
20374 (bug#1779).
20375
1bfd59e5
LMI
203762011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
20377
20378 * view.el (view-buffer): Allow running in `special' modes if we're
20379 visiting a file (bug#8615).
20380
f5aae37c
MR
203812011-07-19 Martin Rudalics <rudalics@gmx.at>
20382
20383 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
20384 (display-buffer-alist-set-1, display-buffer-alist-set-2):
20385 New functions.
f5aae37c
MR
20386 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
20387 more accurately.
20388
bf2c1571
AM
203892011-07-18 Alan Mackenzie <acm@muc.de>
20390
20391 Fontify declarators properly when, e.g., a jit-lock chunk begins
20392 inside a declaration.
20393
20394 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
20395
b796c9b7
SM
20396 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
20397 New function.
bf2c1571
AM
20398 (c-complex-decl-matchers): Insert reference to
20399 c-font-lock-enclosing-decls.
20400
20401 * progmodes/cc-engine.el (c-backward-single-comment):
20402 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
20403 to nil around calls to (forward-comment -1).
20404
4e190b80
LMI
204052011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
20406
12dc863d
LMI
20407 * image.el (put-image): Doc typo fix.
20408
a762e966
LMI
20409 * progmodes/etags.el (tags-search): Doc typo fix.
20410
4e190b80
LMI
20411 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
20412 password if we get errors 550 to 554.
20413
f019fb21
LMI
204142011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
20415
b796c9b7 20416 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 20417
81746738
LMI
20418 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
20419 indentation character (bug#6380).
20420
3ee3a1b5
LMI
20421 * files.el (buffer-offer-save): Made permanently local (bug#6241).
20422
c82f64de
LMI
20423 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
20424 to clarify what the problem is (bug#4291).
20425
f019fb21
LMI
20426 * simple.el (current-kill): Clarify what
20427 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
20428 (auto-fill-mode): Document `auto-fill-function' in relation to
20429 `auto-fill-mode' (bug#2470).
f019fb21 20430
0794775d
LM
204312011-07-16 Lawrence Mitchell <wence@gmx.li>
20432
20433 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
20434 method if slot is read-only (bug#9035).
20435
be39b8cc
MR
204362011-07-16 Martin Rudalics <rudalics@gmx.at>
20437
b796c9b7 20438 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 20439 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
20440 selected before, see discussion of (Bug#8615), (Bug#6954).
20441 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 20442
6ccf7859
GM
204432011-07-15 Glenn Morris <rgm@gnu.org>
20444
20445 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 20446 Respect help-form.
6ccf7859 20447
87e86684
LM
204482011-07-09 Lawrence Mitchell <wence@gmx.li>
20449
20450 * net/gnutls.el (gnutls-min-prime-bits): New variable.
20451 (gnutls-negotiate): Use it.
20452
d6066239
LMI
204532011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
20454
b796c9b7
SM
20455 * net/gnutls.el (gnutls-negotiate):
20456 Upcase `gnutls-algorithm-priority'.
d6066239 20457
bd23ebc0
GM
204582011-07-15 Glenn Morris <rgm@gnu.org>
20459
c65bca65
GM
20460 * jka-compr.el (jka-compr-verbose): Move from here...
20461 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
20462 Add missing :version tag.
20463 * info.el: No need to require jka-compr when compiling.
bd23ebc0 20464
478615cc
LMI
204652011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
20466
7b41decb
LMI
20467 * net/gnutls.el (gnutls-algorithm-priority): New variable.
20468 (gnutls-negotiate): Use it.
20469
dbc44fcd
LMI
20470 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
20471
06789f97
LMI
20472 * info.el (Info-beginning-of-buffer): New command.
20473 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
20474 announcing `b' as the key (bug#8325).
ab896c37 20475 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 20476
c39da690
LMI
20477 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
20478
3aa5f34b
LMI
20479 * international/mule-cmds.el
20480 (describe-specified-language-support): Make the error message
20481 clearer (bug#8905).
20482
4bf0979f
LMI
20483 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
20484
478615cc
LMI
20485 * isearch.el (isearch-barrier): Add a doc string, since it's
20486 mentioned in a function doc string (bug#8678).
20487
75c68aa1
MR
204882011-07-15 Martin Rudalics <rudalics@gmx.at>
20489
20490 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
20491 buffer argument (Bug#9083) and self-identifying label argument.
20492
a7c33da2
GM
204932011-07-15 Glenn Morris <rgm@gnu.org>
20494
20495 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
20496
2f5c6024
LMI
204972011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
20498
20499 * man.el (Man-fontify-manpage): Fix message when formatting the
20500 man page (bug#7929).
20501
0bb23927 205022011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
20503
20504 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
20505 argument LRM; if non-nil, append an invisible LRM character to the
20506 buffer name.
20507 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
20508 last argument non-nil, when formatting buffer names.
0bb23927
EZ
20509 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
20510 paragraph direction.
cce4b0a7 20511
621ef9ab
LMI
205122011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
20513
d1583c48
LMI
20514 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
20515 the man page name (bug#7929).
20516
6a57fb5f
LMI
20517 * image.el (put-image): Mention the `put-image' overlay property
20518 (bug#7834).
20519
d7956b14
LMI
20520 * scroll-bar.el (set-scroll-bar-mode): Mention that
20521 `scroll-bar-mode' lists the values (bug#7772).
20522
5b2d4a66
LMI
20523 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
20524 command (bug#7729).
20525
7509a874
LMI
20526 * rect.el (apply-on-rectangle): Return the point after the last
20527 operation.
20528 (string-rectangle): Go to the point after the last operation
20529 (bug#7522).
20530
4fe74b19
LMI
20531 * printing.el (pr-toggle-region): Clarify the documentation
20532 slightly (bug#7493).
20533
b796c9b7
SM
20534 * time.el (display-time-update):
20535 Allow `display-time-mail-function' to return nil (bug#7158).
20536 Fix suggested by Detlev Zundel.
ab283561 20537
fc233c9d
LMI
20538 * vc/diff.el (diff): Clarify the order the file names are read
20539 (bug#7111).
20540
43f5740b
LMI
20541 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
20542 the doc string (bug#7015).
20543
f2182a76
LMI
20544 * font-lock.el (font-lock-maximum-decoration): Mention what
20545 numeric levels mean (bug#6935).
20546
621ef9ab
LMI
20547 * startup.el (initial-buffer-choice): Don't mention the `none'
20548 selection, which is against policy.
20549
adc47434
MR
205502011-07-14 Martin Rudalics <rudalics@gmx.at>
20551
b796c9b7
SM
20552 * window.el (display-buffer-normalize-special):
20553 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 20554
7e5bfb8f
EZ
205552011-07-14 Eli Zaretskii <eliz@gnu.org>
20556
20557 * subr.el (version<, version<=, version=): Mention "-CVS" and
20558 "-12345" alpha version numbers.
20559
27fa387a
CY
205602011-07-14 Chong Yidong <cyd@stupidchicken.com>
20561
20562 * bindings.el: Add advertised binding for set-mark-command
20563 (Bug#5772).
20564
8bdfa064
CY
205652011-07-14 Chong Yidong <cyd@stupidchicken.com>
20566
20567 * bindings.el (mode-line-other-buffer):
20568 * bookmark.el (bookmark-bmenu-2-window):
20569 * bs.el (bs-cycle-next, bs-cycle-previous):
20570 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
20571 switch-to-buffer.
20572
20573 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 20574 Delete.
8bdfa064 20575
5eba16a3
JB
205762011-07-14 Juanma Barranquero <lekktu@gmail.com>
20577
20578 * follow.el (follow-debug-message, follow-redisplay):
20579 * jka-cmpr-hook.el (with-auto-compression-mode):
20580 Fix typos in docstrings.
20581
15853710
LMI
205822011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
20583
a28e4607
LMI
20584 * subr.el (with-silent-modifications): Clarify somewhat what the
20585 macro inhibits (bug#6525).
20586
15853710
LMI
20587 * simple.el (eval-expression): Note what it does if called
20588 interactively (bug#6495).
20589
bee0fcef
CY
205902011-07-13 Chong Yidong <cyd@stupidchicken.com>
20591
b796c9b7
SM
20592 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
20593 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
20594
20595 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
20596 Remove switch-to-buffer.
20597
58274504
LMI
205982011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
20599
bd2fcc8d
LMI
20600 * files.el (make-directory): Clarify that an error will be raised
20601 if there's an error (bug#6397).
20602
0f04b32c
LMI
20603 * startup.el (initial-buffer-choice): Add `none' as a choice
20604 (bug#6234).
20605
465c5fc8
LMI
20606 * subr.el (add-hook): Clarify section about buffer-local hooks
20607 (bug#6218).
20608
58274504
LMI
20609 * dired.el (dired-flagged): Clarify doc string (bug#6117).
20610
bead9a43
JB
206112011-07-13 Juanma Barranquero <lekktu@gmail.com>
20612
20613 * tabify.el (untabify): Preserve the current column so that point
20614 doesn't move (bug#6032).
20615
3af98a7b
LMI
206162011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
20617
b796c9b7
SM
20618 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
20619 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 20620
6240145a
GM
206212011-07-13 Glenn Morris <rgm@gnu.org>
20622
20623 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
20624 (dired-insert-directory): Give a message the first time
20625 if ls is found not to support --dired.
20626
1d8c2ccc
LMI
206272011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
20628
20629 * simple.el (toggle-truncate-lines): Clarify what is toggled
20630 (bug#5580). Text by Drew Adams.
20631
5fc4038e
CY
206322011-07-13 Chong Yidong <cyd@stupidchicken.com>
20633
20634 * simple.el (blink-matching-open): Make the error message from the
20635 last change less verbose.
20636
bf6012e5
DN
206372011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
20638
20639 * font-lock.el (font-lock-comment-face): Use the high contrast
20640 "yellow" color for font-lock-comment-face on low color terminals
20641 using a dark background color (bug#4221).
20642
343c3b5a
LMI
206432011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
20644
7e9505c5
LMI
20645 * dired.el (dired-insert-set-properties): Make the doc string
20646 reflect what it does now (bug#5325).
20647
c26fdcf5
LMI
20648 * simple.el (blink-matching-open): Say that we were unable to find
20649 the match within the limit, if we're limited (bug#5122).
20650
bb388cc5
LMI
20651 * international/mule-cmds.el (prefer-coding-system): Add an
20652 example (bug#4869).
20653
343c3b5a
LMI
20654 * progmodes/etags.el (tags-search): Document `file-list-form'
20655 (bug#4731).
20656
2a517d45
LM
206572011-07-13 Lawrence Mitchell <wence@gmx.li>
20658
20659 * net/browse-url.el (browse-url-default-browser)
20660 (browse-url-browser-function): Make the default browser choice a
20661 bit more logical (bug#4300). Also clean up the doc string.
20662
b6c78ef2
JB
206632011-07-13 Juanma Barranquero <lekktu@gmail.com>
20664
20665 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
20666 binary endings (bug#4440).
20667
1c4dd947
LMI
206682011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
20669
a2014063
LMI
20670 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
20671 which can be pretty annoying (bug#8971).
20672
9c9c2d88
LMI
20673 * jka-compr.el (jka-compr-verbose): New variable, and use
20674 throughout (bug#8971).
20675
1c4dd947
LMI
20676 * info.el (Info-find-file): Fall back on the installation
20677 directory if we can't find the info node anywhere else.
20678
a1c9f41b
SO
206792011-07-13 Sergei Organov <osv@javad.com> (tiny change)
20680
20681 * vc/vc.el (vc-revert-file):
20682 Don't set file time-stamp in the past. (Bug#5181)
20683
536f3d36
LMI
206842011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
20685
7152b011
LMI
20686 * files.el (after-find-file): Give a better error message when
20687 trying to find a symlink that points to a file that doesn't exist
20688 (bug#4398).
20689
536f3d36
LMI
20690 * progmodes/cc-vars.el: Remove (probably) misleading comment
20691 (bug#4396).
20692
460c0fba
JB
206932011-07-12 Johan Bockgård <bojohan@gnu.org>
20694
20695 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
20696
7a6bda45
CY
206972011-07-12 Chong Yidong <cyd@stupidchicken.com>
20698
20699 * mouse-sel.el: Hack restoring functionality, while keeping
20700 compatibility with 2010-07-03 changes to mouse selection.
20701 (mouse-sel-primary-overlay): New var.
20702 (mouse-sel-selection-alist): Use it.
20703 (mouse-sel-mode): Doc fix; remove points that are default features
20704 of mouse.el.
20705
c79598ef
JB
207062011-07-12 Johan Bockgård <bojohan@gnu.org>
20707
20708 * progmodes/compile.el (compilation-error-regexp-alist-alist):
20709 Fix previous fix (bug#2490).
20710
ff8be6ef
RW
207112011-07-12 Roland Winkler <winkler@gnu.org>
20712
b796c9b7
SM
20713 * textmodes/bibtex.el (bibtex-initialize):
20714 Use pop-to-buffer-same-window.
ff8be6ef
RW
20715 (bibtex-search-entries): Fix interactive call.
20716
296ba3ee
LMI
207172011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
20718
f5242a02 20719 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
20720 Fontise bytecomp Error lines more correctly (bug#2490).
20721 Fix suggested by Johan Bockgård.
f5242a02 20722
296ba3ee
LMI
20723 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
20724
20725 * dired-x.el (dired-guess-default): Use `delete-dups'.
20726
f69fd0d2
CY
207272011-07-12 Chong Yidong <cyd@stupidchicken.com>
20728
20729 * dired.el (dired-mark-prompt):
20730 * dired-aux.el (dired-read-shell-command): Doc fix.
20731
eab5dc07
LMI
207322011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
20733
b796c9b7
SM
20734 * mail/sendmail.el (sendmail-query-once):
20735 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
20736 emacs -Q.
20737
20738 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
20739
eab5dc07
LMI
20740 * cus-edit.el (custom-file): Take an optional no-error variable.
20741 (customize-save-variable): Set the variable, and give a warning if
20742 running under "emacs -q".
20743
a1e65d42
JB
207442011-07-11 Juanma Barranquero <lekktu@gmail.com>
20745
20746 * loadhist.el (unload-feature-special-hooks):
20747 Add `auto-coding-functions', `fill-nobreak-predicate' and
20748 `find-directory-functions' (bug#5327).
20749
1d52da10
LMI
207502011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
20751
be958f1d
LMI
20752 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
20753
5bedb26c
LMI
20754 * cus-edit.el (custom-guess-name-alist): -alist variables should
20755 use the `alist' type (bug#3120). Suggested by Drew Adams.
20756
1d52da10
LMI
20757 * printing.el: Add documentation to all the `pr-toggle-' commands.
20758
cd394be1 207592011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
20760
20761 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
20762 backends where it makes sense (bug#2623).
20763
dcc88d8a
LMI
207642011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
20765
c3de9feb
LMI
20766 * dired-x.el (dired-guess-default): Remove duplicate shell command
20767 entries (bug#2028).
8a93078b 20768 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 20769 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 20770
dcc88d8a
LMI
20771 * subr.el (remove-duplicates): New conveniency function.
20772
505e3645
LMI
207732011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
20774
20775 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
20776 (bug#1526).
20777
207782011-07-10 Martin Rudalics <rudalics@gmx.at>
20779
20780 * window.el (display-buffer-normalize-default): Don't invert
20781 meaning of even-window-heights. Reported by Eli Zaretskii
20782 <eliz@gnu.org>.
20783
455e4fa1
BR
207842011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
20785
20786 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
20787
8e0bc3e9
CY
207882011-07-10 Chong Yidong <cyd@stupidchicken.com>
20789
20790 * window.el (display-buffer): Fix arguments to
20791 display-buffer-reuse-window in last change.
20792
fa7c3228
CY
20793 * faces.el (link): Use a less saturated blue on light backgrounds.
20794
20795 * startup.el (fancy-startup-text, fancy-about-text)
20796 (fancy-startup-tail): Use font-lock faces, for background safety.
20797
c0a7f300
BN
207982011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
20799
b796c9b7
SM
20800 * emulation/viper-cmd.el (viper-change-state-to-vi):
20801 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 20802
4dc2a129
MR
208032011-07-09 Martin Rudalics <rudalics@gmx.at>
20804
20805 * window.el (display-buffer-default-specifiers): Remove.
20806 (display-buffer-macro-specifiers): Remove default specifiers.
20807 (display-buffer-alist): Default to nil.
b796c9b7 20808 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
20809 (display-buffer-pop-up-window): Allow splitting internal
20810 windows. Check whether a live window was created.
20811 (display-buffer-other-window-means-other-frame)
20812 (display-buffer-normalize-arguments): Rename to
20813 display-buffer-normalize-argument and rewrite. Set the
20814 other-window specifier.
20815 (display-buffer-normalize-special): New function.
20816 (display-buffer-normalize-options): Rename to
20817 display-buffer-normalize-default and rewrite.
20818 (display-buffer-normalize-options-inhibit): Remove.
20819 (display-buffer-normalize-specifiers): Rewrite.
20820 (display-buffer): Process other-window specifier and call
20821 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
20822 more faithfully.
b796c9b7 20823 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 20824 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
20825 (display-buffer-in-window, display-buffer-alist-set):
20826 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
20827 <tassilo@member.fsf.org>.
20828
2d43b8c9
LL
208292011-07-09 Leo Liu <sdl.web@gmail.com>
20830
20831 * register.el (insert-register): Restore accidental change on
20832 2011-06-26. (Bug#9028)
20833
7f9b7c53
GM
208342011-07-09 Glenn Morris <rgm@gnu.org>
20835
20836 * subr.el (remq): Handle the empty list. (Bug#9024)
20837
f042cfd8
AS
208382011-07-08 Andreas Schwab <schwab@linux-m68k.org>
20839
20840 * mail/sendmail.el (send-mail-function): No longer delay custom
20841 initialization.
20842 * custom.el (custom-initialize-delay): Doc fix.
20843
856b2f11
SM
208442011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
20845
20846 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
20847
afae1d68
MA
208482011-07-08 Michael Albinus <michael.albinus@gmx.de>
20849
20850 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
20851 human-friendly prompt.
20852
0757af94
SM
208532011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
20854
20855 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
20856 provided by a particular plugin.
20857
d760b731
LMI
208582011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
20859
20860 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
20861 save customizations (with "emacs -Q"), just set the variable
20862 instead of erroring out.
20863
20864 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
20865
cd79ce90
JL
208662011-07-08 Juri Linkov <juri@jurta.org>
20867
20868 * arc-mode.el (archive-zip-expunge, archive-zip-update)
20869 (archive-zip-update-case): Use 7z if found by `executable-find'.
20870 The order of searching the available programs is the same as in
20871 `archive-zip-extract' (bug#8968).
20872
14cc04aa
CY
208732011-07-07 Chong Yidong <cyd@stupidchicken.com>
20874
20875 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
20876 (menu-bar-options-menu): Tweak descriptions.
20877
0a1848ec
LMI
208782011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
20879
20880 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
20881 menu items into verb phrases (bug#1421). Also refill to fit under
20882 80 columns.
20883
f5bd0689
CY
208842011-07-07 Chong Yidong <cyd@stupidchicken.com>
20885
538e85c6
CY
20886 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
20887 (Info-read-node-name): Doc fix (Bug#1084).
20888
f5bd0689
CY
20889 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
20890 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
20891 (end-of-sexp, beginning-of-sexp)
20892 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
20893 (forward-symbol, forward-same-syntax, word-at-point)
20894 (sentence-at-point): Doc fix (Bug#1144).
20895
56ec5115
LMI
208962011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
20897
f3f8e37f
LMI
20898 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
20899 should cover it (bug#1281).
20900
0757af94 20901 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 20902
e9fce1ac 20903 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
20904 negotiation fails, then possibly try again with a non-encrypted
20905 connection (bug#9017).
20906
56ec5115
LMI
20907 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
20908 be used.
20909
c2f9aec8
RS
209102011-07-07 Richard Stallman <rms@gnu.org>
20911
20912 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
20913 property, and handle its changed format.
20914 Look for the correct line number.
20915 Use file's line contents (but not past first =) to find
20916 correct line in message.
20917
ef7b981d 209182011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
20919
20920 * international/characters.el (build-unicode-category-table):
20921 Delete it.
0757af94 20922 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 20923
0757af94 20924 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
20925 to src/chartab.c.
20926 (get-char-code-property): Call unicode-property-table-internal to
20927 load a file. Call get-unicode-property-internal where necessary.
20928 (put-char-code-property): Call unicode-property-table-internal to
20929 load a file. Call put-unicode-property-internal where necessary.
20930 put-unicode-property-internal where necessary.
0757af94
SM
20931 (char-code-property-description):
20932 Call unicode-property-table-internal to load a file.
c805dec0
KH
20933
20934 * international/charprop.el:
20935 * international/uni-bidi.el:
20936 * international/uni-category.el:
20937 * international/uni-combining.el:
20938 * international/uni-comment.el:
20939 * international/uni-decimal.el:
20940 * international/uni-decomposition.el:
20941 * international/uni-digit.el:
20942 * international/uni-lowercase.el:
20943 * international/uni-mirrored.el:
20944 * international/uni-name.el:
20945 * international/uni-numeric.el:
20946 * international/uni-old-name.el:
20947 * international/uni-titlecase.el:
20948 * international/uni-uppercase.el: Regenerate.
20949
20950 * loadup.el: Load international/charprop.el before
20951 international/characters.
20952
e14b388a
CY
209532011-07-07 Chong Yidong <cyd@stupidchicken.com>
20954
20955 * window.el (next-buffer, previous-buffer): Signal an error if
20956 called from a minibuffer window.
20957
20958 * bindings.el: Revert 2011-07-04 change.
20959
354cf0ba
RS
209602011-07-06 Richard Stallman <rms@gnu.org>
20961
20962 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
20963 (rmail-mime-insert-bulk, rmail-mime-insert-text):
20964 Treat markers like ints.
20965 (rmail-mime-entity): Doc fix.
20966
a48868a7
LMI
209672011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
20968
4906cd3d
LMI
20969 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
20970 defcustom again for backwards compatibility.
20971
e0457abe
LMI
20972 * simple.el (shell-command-on-region): Fill.
20973
d67f7e1f
LMI
20974 * dired-aux.el (dired-kill-line): Add a doc string.
20975
fe204702
LMI
20976 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
20977 to "\\sw\\|\\s_" (bug#358).
20978
a48868a7
LMI
20979 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
20980 (dired-unmark-backward): Ditto.
20981 (dired-flag-backup-files): Ditto.
20982
20983 * dired-x.el (dired-mark-sexp): Ditto.
20984
aa8a705c
RS
209852011-07-06 Richard Stallman <rms@gnu.org>
20986
20987 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
20988 (rmail-mime-entity): New arg TRUNCATED.
20989 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
20990 New functions.
20991 (rmail-mime-save): Warn if entity is truncated.
20992 (rmail-mime-toggle-hidden): Likewise, for showing.
20993 (rmail-mime-process-multipart): Record when an entity is truncated.
20994
a9a936b9
RS
20995 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
20996 if ENTITY is a string.
20997
1f2b92cb
LMI
209982011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
20999
f4f73198 21000 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
21001 of faces when `M-C-x'-ing their definitions (bug#8378).
21002 Also clean up the code slightly.
f4f73198 21003
12b16734 21004 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 21005 because that makes the colors go away.
12b16734 21006
f0691d22
LMI
21007 * mail/sendmail.el (send-mail-function): Change the default to
21008 `sendmail-query-once'.
9e87df06 21009 (sendmail-query-once): Add an autoload cookie.
f0691d22 21010
1f2b92cb
LMI
21011 * net/network-stream.el (network-stream-open-starttls): Try using
21012 a plain connection even if the server offered STARTTLS, and we
21013 kinda wanted to use it, if Emacs doesn't have any STARTTLS
21014 capability. This should make smtpmail.el work in slightly more
21015 configurations.
21016
1cdd2a1b
MA
210172011-07-06 Michael Albinus <michael.albinus@gmx.de>
21018
21019 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
21020 New defun.
21021 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
21022
fbcc67e2
MM
210232011-07-06 Michael R. Mauger <mmaug@yahoo.com>
21024
21025 * progmodes/sql.el: Version 3.0
0757af94 21026 (sql-product-alist): Add product :completion-object,
fbcc67e2 21027 :completion-column, and :statement attributes.
0757af94 21028 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 21029 (sql-mode-syntax-table): Mark all punctuation.
0757af94 21030 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
21031 ansi keywords.
21032 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 21033 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
21034 (sql-oracle-show-reserved-words): New function for development.
21035 (sql-product-font-lock): Simplify for source code buffers.
21036 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
21037 New functions.
21038 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
21039 (sql-mode-map): Add statement movement functions.
21040 (sql-ansi-statement-starters, sql-oracle-statement-starters):
21041 New variable.
fbcc67e2
MM
21042 (sql-statement-regexp, sql-beginning-of-statement)
21043 (sql-end-of-statement, sql-signum): New functions.
0757af94 21044 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
21045 (sql-show-sqli-buffer): Bug fix.
21046 (sql-interactive-mode): Store connection data as buffer local.
0757af94 21047 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
21048 with sql-interactive-mode.
21049 (sql-save-connection): Save buffer local settings.
0757af94 21050 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
21051 (sql-product-interactive): Bug fix.
21052 (sql-preoutput-hold): New variable.
21053 (sql-interactive-remove-continuation-prompt): Bug fixes.
21054 (sql-debug-redirect): New variable.
21055 (sql-str-literal): New function.
21056 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 21057 Redesign.
fbcc67e2
MM
21058 (sql-oracle-save-settings, sql-oracle-restore-settings)
21059 (sql-oracle-list-all, sql-oracle-list-table): New functions.
21060 (sql-completion-object, sql-completion-column)
21061 (sql-completion-sqlbuf): New variables.
21062 (sql-build-completions-1, sql-build-completions)
21063 (sql-try-completion): New functions.
21064 (sql-read-table-name): Use them.
21065 (sql-contains-names): New buffer local variable.
21066 (sql-list-all, sql-list-table): Use it.
21067 (sql-oracle-completion-types): New variable.
21068 (sql-oracle-completion-object, sql-sqlite-completion-object)
21069 (sql-postgres-completion-object): New functions.
21070
d4eaeab1
GM
210712011-07-06 Glenn Morris <rgm@gnu.org>
21072
21073 * window.el (pop-to-buffer): Doc fix.
21074
322b7dab 210752011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
21076
21077 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
21078
322b7dab 210792011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 21080
322b7dab 21081 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 21082
322b7dab 21083 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 21084
605dd5bf
CY
210852011-07-05 Chong Yidong <cyd@stupidchicken.com>
21086
21087 * button.el (button): Inherit from link face. Suggested by Dan
21088 Nicolaescu.
21089
7dbfa719
SM
210902011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
21091
3db614b0
SM
21092 * progmodes/gdb-mi.el: Fit in 80 columns.
21093 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
21094 switch-to-buffer.
21095
7dbfa719
SM
21096 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
21097 if imenu is simply not configured (bug#8941).
21098
919d884a
KM
210992011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
21100
21101 * allout.el (allout-post-undo-hook): New allout outline-change
21102 event hook to signal undo activity.
21103 (allout-post-command-business): Run allout-post-undo-hook if an
21104 undo just occurred.
7dbfa719
SM
21105 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
21106 * allout-widgets.el (allout-widgets-after-undo-function):
21107 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
21108 in the vicinity of an undo.
21109 (allout-widgets-mode): Include allout-widgets-after-undo-function
21110 on the new allout-post-undo-hook.
21111
450a0f09
SM
211122011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
21113
21114 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
21115 Let define-derived-mode define it.
21116 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
21117 cycles of abbrev-table inheritance (bug#8998).
21118
2de69e00
RW
211192011-07-05 Roland Winkler <winkler@gnu.org>
21120
21121 * textmodes/bibtex.el: Add support for biblatex.
21122 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
21123 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
21124 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
21125 (bibtex-entry-alist, bibtex-field-alist): New variables.
21126 (bibtex-entry-field-alist): Obsolete alias for
21127 bibtex-BibTeX-entry-alist.
21128 (bibtex-entry-alist, bibtex-field-alist): New widgets.
21129 (bibtex-set-dialect): New command.
21130 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
21131 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
21132 Bind via bibtex-set-dialect.
2de69e00
RW
21133 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
21134 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
21135 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
21136 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
21137 Define via bibtex-set-dialect.
450a0f09
SM
21138 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
21139 Obey bibtex-no-opt-remove-re.
2de69e00
RW
21140 (bibtex-vec-push, bibtex-vec-incr): New functions.
21141 (bibtex-format-entry, bibtex-field-list)
21142 (bibtex-print-help-message, bibtex-validate)
21143 (bibtex-search-entries): Use new format of bibtex-entry-alist.
21144
2dcdbdd9
SM
211452011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
21146
21147 * progmodes/compile.el (compilation-goto-locus):
21148 * net/tramp-cmds.el (tramp-append-tramp-buffers):
21149 * bs.el (bs-cycle-next, bs-cycle-previous):
21150 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
21151 * bindings.el (mode-line-other-buffer):
21152 * autoinsert.el (auto-insert):
21153 * arc-mode.el (archive-extract):
21154 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
21155
b27640fe
JB
211562011-07-05 Juanma Barranquero <lekktu@gmail.com>
21157
21158 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
21159 Fix check of `emacs-lock-unlockable-modes'.
21160 Coerce true values of `emacs-lock--try-unlocking' to t.
21161
53bbe3ad
JB
211622011-07-05 Juanma Barranquero <lekktu@gmail.com>
21163
21164 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
21165 * emacs-lock.el: New file.
21166
1d3cdbc7
JD
211672011-07-05 Julien Danjou <julien@danjou.info>
21168
21169 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
21170 than `boundp' to check if face is set.
21171
9173deec
JB
211722011-07-05 Juanma Barranquero <lekktu@gmail.com>
21173
21174 * register.el (registerv-make):
21175 * window.el (window-min-height): Fix typos in docstrings.
21176
869795d6
JD
211772011-07-05 Jan Djärv <jan.h.d@swipnet.se>
21178
9173deec 21179 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
21180 Update doc string.
21181
b768cdcd
JB
211822011-07-04 Juanma Barranquero <lekktu@gmail.com>
21183
21184 * server.el (server-execute): Catch quit and call
21185 `server-return-error' to pass the error back to emacsclient and
21186 close the connection (bug#8942).
21187
13aa217b
KM
211882011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
21189
21190 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
21191 insecure exception for current topic. Also note that auto-saves
21192 are handled differently.
21193
5d3385a0 21194 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
13aa217b
KM
21195 State variables for tracking auto-save inhibition situation.
21196
21197 (allout-write-contents-hook-handler): Rename from
21198 'allout-write-file-hook-handler', and describe how it depends on
21199 write-contents-functions sensitivity to non-nil value to prevent
21200 file write.
21201
21202 (allout-auto-save-hook-handler): Remove. auto-save does not check
21203 this in individual buffers, only in the starting buffer, so this
21204 is not the right way for us to inhibit auto-save in a buffer
21205 according to its condition.
21206
21207 (allout-mode): Use new allout-write-contents-hook-handler, and
21208 only with write-contents-functions. Remove auto-save provisions -
21209 they're implemented elsewhere.
21210
21211 (allout-before-change-handler): If undo is in progress, note that
21212 for attention of allout-post-command-business.
21213
21214 (allout-post-command-business): If the command we're following was
21215 an undo, check for change in the status of encrypted items and
21216 adjust auto-save inhibitions accordingly.
21217
21218 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
21219 according to whether there are or aren't any plain-text topics
21220 pending encryption.
21221
2dcdbdd9 21222 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
21223 Adjust buffer-saved-size and some allout state to inhibit auto-saves
21224 if there are plain-text topics pending encryption.
13aa217b
KM
21225
21226 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
21227 buffer-saved-size and some allout state to not inhibit auto-saves
21228 if there are no longer any plain-text topics pending encryption.
21229
0757af94
SM
21230 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
21231 No longer provide for exemption of the current topic.
13aa217b 21232
ac89b32c
JL
212332011-07-04 Juri Linkov <juri@jurta.org>
21234
21235 Add 7z operations to delete and save changed members (bug#8968).
21236 * arc-mode.el (archive-7z-expunge, archive-7z-update):
21237 New defcustoms.
21238 (archive-7z-write-file-member): New function.
21239 (archive-7z-summarize): Fix the number of dashes in the
21240 listing output.
21241
8fa39615
SM
212422011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
21243
21244 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
21245 (bug#8958).
21246
2f11b3f1
CY
212472011-07-04 Chong Yidong <cyd@stupidchicken.com>
21248
d66fef2b
CY
21249 * bindings.el: Ignore next-buffer and previous-buffer in
21250 minibuffer-local-map.
21251
2f11b3f1
CY
21252 * font-lock.el (font-lock-builtin-face): Change light background
21253 color to dark slate blue (Bug#6693).
21254
f932a347
WD
212552011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
21256
21257 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
21258
c8af70e1
SM
212592011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
21260
21261 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
21262 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
21263 Add switch-to-buffer.
21264
f158badc
LMI
212652011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
21266
21267 * isearch.el (isearch-search-fun-function): Clarify further the
21268 meaning of the function returned.
21269
6d95bd46
MA
212702011-07-04 Michael Albinus <michael.albinus@gmx.de>
21271
21272 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
21273
21274 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
21275 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
21276 Use it.
21277 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
21278 `tramp-default-remote-path' does not exist.
21279 (tramp-send-command-and-read): New optional argument NOERROR.
21280 (tramp-open-connection-setup-interactive-shell)
21281 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
21282 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
21283 (tramp-process-sentinel): Flush also process' connection property.
21284 (tramp-sh-handle-start-file-process): Do not set process
21285 sentinel. It is done now ...
21286 (tramp-maybe-open-connection): ... here. (Bug#8929)
21287
909e6b67
MK
212882011-07-04 MON KEY <monkey@sandpframing.com>
21289
21290 * play/animate.el (animate-string): Doc fixes and allow changing
21291 the buffer name (bug#5417).
21292
212932011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
21294
c8af70e1 21295 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 21296
f34755dc
PE
212972011-07-04 Paul Eggert <eggert@cs.ucla.edu>
21298
396cec72
PE
21299 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
21300 This is simpler and helps future-proof the code.
21301 (timer-until): Use time-subtract and float-time.
08235028 21302 (timer--time-less-p): Use time-less-p.
f34755dc 21303
56e6cc31
JB
213042011-07-04 Juanma Barranquero <lekktu@gmail.com>
21305
3abb79e5
JB
21306 * type-break.el (timep): Use the value of `float-time' to avoid a
21307 byte-compiler warning.
21308
56e6cc31
JB
21309 * server.el (server-eval-and-print): Return any result, even nil.
21310
7b9430b4
PE
213112011-07-03 Paul Eggert <eggert@cs.ucla.edu>
21312
21313 * type-break.el: Accept time formats that the builtins accept.
21314 (timep, type-break-time-difference): Accept any format that
21315 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
21316 This is simpler and helps future-proof the code.
21317 (type-break-time-difference): Round rather than ignoring
21318 subseconds components.
21319
3034e9e7
LMI
213202011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
21321
21322 * info.el (Info-apropos-matches): Make non-interactive, since it
21323 doesn't seem to do anything useful as a command (bug#8829).
21324
1485f4c0
CY
213252011-07-03 Chong Yidong <cyd@stupidchicken.com>
21326
21327 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 21328 Move from faces.el.
1485f4c0
CY
21329 (frame-default-terminal-background): New function.
21330
21331 * custom.el (custom-push-theme): Don't record faces in `changed'
21332 theme; this doesn't work correctly for per-frame face settings.
21333 (disable-theme): Use face-set-after-frame-default to reset faces.
21334 (custom--frame-color-default): New function.
21335
9fa3dd45
LMI
213362011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
21337
c8af70e1 21338 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
21339 (bug#8769).
21340
6cbbc20c
KR
213412011-03-29 Kevin Ryde <user42@zip.com.au>
21342
21343 * progmodes/compile.el (compilation-error-regexp-alist-alist):
21344 `perl-Test2' extend to match possible "fail #N" rep count
21345 (bug#8377).
21346
c7f98048
LMI
213472011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
21348
65676592
LMI
21349 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
21350 `smtpmail-via-smtp' now returns the error instead of nil.
21351
c7f98048
LMI
21352 * isearch.el (isearch-search-fun-function): Clarify the doc string
21353 (bug#8101).
21354
56e6cc31 213552011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
21356
21357 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
21358 unnecessary spaces (bug#8987).
21359
2b216704
LMI
213602011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
21361
21362 * net/network-stream.el (open-network-stream): Use the
21363 :end-of-capability command thoughout.
21364
213652011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
21366
21367 * net/network-stream.el (open-network-stream): Add the
21368 :end-of-capability command parameter, used by pop3.el.
21369
36adf6ce
LMI
213702011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
21371
1ca0da0e
LMI
21372 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
21373
fc00f69c
LMI
21374 * fringe.el (fringe-query-style): Remove redundant text " (type ?
21375 for list)" (bug#6475).
21376
28fd8759 21377 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 21378 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
21379 an error (bug#6297).
21380
0dd8b6da
LMI
21381 * man.el (Man-reference-regexp): Allow matching possible
21382 word-wrapped references (bug#6289).
21383
ce1438d6
LMI
21384 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
21385 for consistency with the other vc buffers (bug#6197).
21386 (vc-checkin): Ditto.
21387
21388 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
21389
36adf6ce
LMI
21390 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
21391
e83cc1f7
LMI
213922011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
21393
8a20ca4c
LMI
21394 * custom.el (defcustom): Clarify that :set is only used in the
21395 Customize user interface (bug#6089).
21396
83319045
LMI
21397 * progmodes/flymake.el (flymake-mode): If the buffer isn't
21398 associated with a file, refuse to run instead of erroring out
21399 (bug#6084).
21400
a8392169
LMI
21401 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
21402 the doc string, since it appears that using `fill-column' always
21403 controls the width (bug#7845).
21404
e83cc1f7
LMI
21405 * simple.el (shell-command-on-region): Say where the error output
21406 went if `shell-command-default-error-buffer' is set (bug#6857).
21407
e47ca23b
KM
214082011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
21409
21410 * allout.el (allout-yank-processing): Adjust cursor position for
21411 backwards-deleted space.
21412
21413 (allout-rebullet-heading): Register changes with
21414 allout-exposure-changed-hook, so the modified topic is properly
21415 decorated.
21416
5cf56143
LMI
214172011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
21418
08549772
LMI
21419 * minibuffer.el (completion-in-region): Document PREDICATE
21420 (bug#7136).
21421
48e96771
LMI
21422 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
21423 of keyword/argument pairs (bug#6904).
21424
c8af70e1
SM
21425 * replace.el (multi-occur):
21426 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 21427
e17d05e2
LMI
214282011-07-02 Drew Adams <drew.adams@oracle.com>
21429
21430 * dired.el (dired-mark-if): Make the message about whether it's
21431 marking or unmarking clearer (bug#8523).
21432
063b0e45
LMI
214332011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
21434
21435 * disp-table.el (display-table-print-array): New function.
21436 (describe-display-table): Use it to print the vectors more pretty
21437 (Bug#8859).
21438
28545e04
MR
214392011-07-02 Martin Rudalics <rudalics@gmx.at>
21440
21441 * window.el (window-state-get-1): Don't assign clone numbers.
21442 Add clone-of item to list of window parameters.
21443 (window-state-put-2): Don't process clone numbers.
21444 (display-buffer-alist): Fix doc-string.
21445
3349e122
SM
214462011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
21447
21448 * subr.el (remq): Don't allocate if it's not needed.
21449 (keymap--menu-item-binding, keymap--menu-item-with-binding)
21450 (keymap--merge-bindings): New functions.
21451 (keymap-canonicalize): Use them to refine the canonicalization.
21452 * minibuffer.el (minibuffer-local-completion-map)
21453 (minibuffer-local-must-match-map): Move initialization from C.
21454 (minibuffer-local-filename-completion-map): Move initialization from C;
21455 don't inherit from anything here.
21456 (minibuffer-local-filename-must-match-map): Make obsolete.
21457 (completing-read-default): Use make-composed-keymap to combine
21458 minibuffer-local-filename-completion-map with either
21459 minibuffer-local-must-match-map or
21460 minibuffer-local-filename-completion-map.
21461
d224ac83
GM
214622011-07-01 Glenn Morris <rgm@gnu.org>
21463
3de63bf8
GM
21464 * type-break.el (type-break-time-sum): Use dolist.
21465
d224ac83
GM
21466 * textmodes/flyspell.el (flyspell-word-search-backward):
21467 Replace CL function.
21468
1a1e3f32
SM
214692011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
21470
fe3f64d5
SM
21471 * mouse.el (mouse--strip-first-event): New function.
21472 (function-key-map): Use it to map fringe clicks to normal clicks
21473 by default.
21474
eb604e34
SM
21475 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
21476 (vc-bzr-revision-completion-table): Add support for annotate and date.
21477
1a1e3f32
SM
21478 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
21479 inherit from parent.
21480
5bd35902
LMI
214812011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
21482
ace6c69c 21483 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 21484 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 21485
191e2bed
LMI
21486 * dired.el (dired-mode): Fix up the doc string as suggested by
21487 Drew Adams (bug#8817).
21488
5bd35902
LMI
21489 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
21490 cookie, since the manual says that it should be possible to add
21491 this function to `find-file-hook' (bug#8709).
21492
eee8207a
TZ
214932011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
21494
21495 * progmodes/cfengine.el: Moved all cfengine3.el functionality
21496 here. Noted Ted Zlatanov as the maintainer.
21497 (cfengine-common-settings, cfengine-common-syntax): New functions
21498 to set up common things between `cfengine-mode' and
21499 `cfengine3-mode'.
21500 (cfengine3-mode): New mode.
21501 (cfengine3-defuns cfengine3-defuns-regex
21502 (cfengine3-class-selector-regex cfengine3-category-regex)
21503 (cfengine3-vartypes cfengine3-font-lock-keywords)
21504 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 21505 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 21506
36b148cf
MA
215072011-07-01 Michael Albinus <michael.albinus@gmx.de>
21508
21509 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
21510
21511 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
21512
0bf4ba9a
MR
215132011-07-01 Martin Rudalics <rudalics@gmx.at>
21514
21515 * window.el (same-window-buffer-names, same-window-regexps)
21516 (same-window-p, special-display-frame-alist)
21517 (special-display-popup-frame, special-display-function)
21518 (special-display-buffer-names, special-display-regexps)
21519 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
21520 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
21521 (split-window-preferred-function, split-height-threshold)
21522 (split-width-threshold, even-window-heights)
21523 (display-buffer-mark-dedicated, window-splittable-p)
21524 (split-window-sensibly, window-safely-shrinkable-p):
21525 Un-obsolete.
21526 (display-buffer): Don't spread args with function specifier
21527 because special-display-popup-frame won't like it.
21528
35837f51
PE
215292011-07-01 Paul Eggert <eggert@cs.ucla.edu>
21530
d0672f86
PE
21531 Time-stamp simplifications and fixes.
21532 These improve accuracy slightly, and future-proof the code
21533 against some potential changes to current-time format.
21534
b9444d97
PE
21535 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
21536 by using time-since and float-time.
21537
0ef923dc
PE
21538 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
21539 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
21540 + NNN microseconds".
21541
2f81380d
PE
21542 * type-break.el (type-break-time-sum): Rewrite using time-add.
21543
845b5c3e
PE
21544 * play/hanoi.el (hanoi-current-time-float): Remove.
21545 All uses replaced by float-time.
21546
ee6f1be0
PE
21547 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
21548 This yields a more-accurate answer.
21549 (rng-time-to-float): Remove; no longer needed.
21550
fe955043
PE
21551 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
21552
5777162a
PE
21553 * calendar/timeclock.el (timeclock-seconds-to-time):
21554 Defalias to seconds-to-time, since they're the same thing.
21555
3103f8b6 21556 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 21557 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
21558 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
21559
0e61a35f
SM
215602011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
21561
21562 * window.el (bury-buffer): Don't iconify the only frame.
21563 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
21564 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
21565
ddd63a1e
CY
215662011-07-01 Chong Yidong <cyd@stupidchicken.com>
21567
0e61a35f
SM
21568 * eshell/em-smart.el (eshell-smart-display-navigate-list):
21569 Add mouse-yank-primary.
ddd63a1e 21570
055f4923
TZ
215712011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
21572
21573 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
21574
6a2fb145
SM
215752011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
21576
21577 * emacs-lisp/find-func.el (find-library--load-name): New fun.
21578 (find-library-name): Use it to find relative load names when provided
21579 absolute file name (bug#8803).
21580
fd4983f2
LMI
215812011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
21582
887d14ad
LMI
21583 * textmodes/flyspell.el (flyspell-word): Consider words that
21584 differ only in case as potential doublons (bug#5687).
21585
c53dc7fc
LMI
21586 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
21587 Remove two rather uninteresting debugging-like messages to make
21588 debbugs.el more silent.
21589
fd4983f2
LMI
21590 * comint.el (comint-password-prompt-regexp): Accept "Response" as
21591 a password-like phrase.
21592
7a71b18d 215932011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
21594
21595 * progmodes/cc-guess.el: New file.
21596
6a2fb145 21597 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
21598
21599 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
21600 derived from `c-basic-common-init'.
21601
21602 * progmodes/cc-mode.el (top-level): Require cc-guess.
21603 (c-basic-common-init): Use `cc-choose-style-for-mode'.
21604
1fa280a3
LM
216052011-06-30 Lawrence Mitchell <wence@gmx.li>
21606
21607 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
21608
e6597158
AM
216092011-06-30 Alan Mackenzie <acm@muc.de>
21610
1fa280a3
LM
21611 * progmodes/cc-engine.el (c-guess-continued-construct):
21612 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
21613 lock is disabled. Name this case as "CASE G".
21614
68ba37fb
KM
216152011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
21616
21617 * allout.el (allout-yank-processing): Fix injection of extra space
21618 between bullet and non-whitespace character in first topic when
21619 pasting, ensuring that the actual spacing in the pasted topic
21620 following the bullet char is preserved. This extra space was
21621 causing pasted encrypted topics to get a decrypted status even
21622 when the content was actually still encrypted. Now the decryption
21623 status from before the paste is preserved.
21624
21625 (allout-flag-region): Set all allout overlays so they evaporate
21626 when reduced to zero length (evanescent), to prevent overlay
21627 leakage.
21628
887a0b34
GM
216292011-06-30 Glenn Morris <rgm@gnu.org>
21630
94b9acce
GM
21631 * w32-fns.el (w32-charset-info-alist): Declare.
21632
1d9b46d4
GM
21633 * find-dired.el (find-grep-options): Simplify.
21634
cc232200
GM
21635 * term/ns-win.el (ns-set-resource): Declare.
21636
28e77c46
GM
21637 * ses.el (row, col): Declare dynamic variables honestly.
21638
887a0b34
GM
21639 * textmodes/reftex-parse.el (index-tags): Declare.
21640
658d8eb8
CY
216412011-06-30 Chong Yidong <cyd@stupidchicken.com>
21642
21643 * cus-edit.el (customize-push-and-save): New function.
21644
21645 * files.el (hack-local-variables-confirm): Use it.
21646
1fa280a3
LM
21647 * custom.el (load-theme): New arg NO-CONFIRM.
21648 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
21649 (custom-enabled-themes): Doc fix.
21650
21651 * cus-theme.el (customize-create-theme)
21652 (custom-theme-merge-theme): Callers to load-theme changed.
21653
bb617717
LMI
216542011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
21655
d61bdd5d
LMI
21656 * thingatpt.el (thing-at-point-short-url-regexp): Require that
21657 short URLs have at least one dot in them (bug #7614).
21658
bb617717
LMI
21659 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
21660 nil, because using a pty is apparently too slow (bug #895).
21661
2f31f37a
LMI
216622011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
21663
21664 * mail/sendmail.el (sendmail-query-once): New function.
21665 (sendmail-query-once-function): New variable.
21666
3076b24e
GM
216672011-06-29 Glenn Morris <rgm@gnu.org>
21668
faf2a174
GM
21669 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
21670
3076b24e
GM
21671 * ses.el (top-level): Require cl when compiling.
21672 (ses-set-localvars): Fix error statement.
21673 Call it at compile time to silence a storm of warnings.
21674
5386012d
MR
216752011-06-29 Martin Rudalics <rudalics@gmx.at>
21676
21677 * window.el (normalize-live-buffer): Rename to
21678 window-normalize-buffer.
21679 (normalize-live-frame): Rename to window-normalize-frame.
21680 (normalize-any-window): Rename to window-normalize-any-window.
21681 (normalize-live-window): Rename to window-normalize-live-window.
21682 (make-window-atom): Rename to window-make-atom.
21683 (window-resize-reset): Rename to window--resize-reset.
21684 (window-resize-reset-1): Rename to window--resize-reset-1.
21685 (resize-mini-window): Rename to window--resize-mini-window.
21686 (resize-subwindows-skip-p): Rename to
21687 window--resize-subwindows-skip-p.
21688 (resize-subwindows-normal): Rename to
21689 window--resize-subwindows-normal.
21690 (resize-subwindows): Rename to window--resize-subwindows.
21691 (resize-other-windows): Rename to window--resize-siblings.
21692 (resize-this-window): Rename to window--resize-this-window.
21693 (resize-root-window): Rename to window--resize-root-window.
21694 (resize-root-window-vertically): Rename to
21695 window--resize-root-window-vertically.
21696 (normalize-buffer-to-display): Rename to
21697 window-normalize-buffer-to-display.
21698 (normalize-buffer-to-switch-to): Rename to
21699 window-normalize-buffer-to-switch-to.
21700 Correspondingly update all callers of the functions listed
21701 above.
21702 (display-buffer-alist, display-buffer-normalize-arguments)
21703 (display-buffer-normalize-options, display-buffer)
21704 (display-buffer-alist-set): Use "function" instead of
21705 "fun-with-args".
21706
1176868d
CY
217072011-06-28 Chong Yidong <cyd@stupidchicken.com>
21708
21709 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
21710 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
21711 debbugs.gnu.org. Mention acknowledgment email.
21712
20a7a65f
LMI
217132011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
21714
21715 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
21716 buffer multibyteness, since it shouldn't matter.
21717
5f45cca5
MR
217182011-06-28 Martin Rudalics <rudalics@gmx.at>
21719
21720 * window.el (display-buffer-in-side-window): Handle dedicated
21721 windows as in display-buffer-reuse-window.
21722 (display-buffer-normalize-alist): Use value of override
21723 specifier.
21724 (display-buffer-normalize-specifiers): Use value of
21725 other-window-means-other-frame specifier.
21726 (display-buffer-alist): Rewrite some texts in widgets.
21727 (display-buffer): Spread arguments when calling function
21728 specified by fun-with-args.
21729
ad85fe1f
DD
217302011-06-28 Deniz Dogan <deniz@dogan.se>
21731
1fa280a3
LM
21732 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
21733 Unnest `let'.
da68c4c8 21734
ad85fe1f
DD
21735 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
21736 selectors (Bug#5732).
ec49bd31 21737 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 21738
a08cc025
JA
217392011-06-27 Jari Aalto <jari.aalto@cante.net>
21740
21741 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
21742 (eshell-ls-date-format): New defcustom.
21743 (eshell-ls-file): Use it.
21744
e2b551c5
SM
217452011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
21746
21747 * help-fns.el (describe-variable): Fix message for terminal-local vars.
21748
8982b231
KY
217492011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
21750
21751 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
21752 (ange-ftp-make-tmp-name): New arg.
21753 (ange-ftp-file-local-copy): Use it.
21754
36c9fa27
J
217552011-06-27 Jambunathan K <kjambunathan@gmail.com>
21756
21757 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
21758 no-conversion (Bug#8870).
21759
d68443dc
MR
217602011-06-27 Martin Rudalics <rudalics@gmx.at>
21761
21762 * window.el (window-right, window-left, window-child)
21763 (window-child-count, window-last-child)
21764 (window-iso-combination-p, walk-window-tree-1)
21765 (window-atom-check-1, window-tree-1, delete-window)
21766 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
21767 new naming conventions - window-vchild, window-hchild,
21768 window-next and window-prev are now called window-top-child,
21769 window-left-child, window-next-sibling and window-prev-sibling
21770 respectively.
d615d6d2
MR
21771 (resize-window-reset): Rename to window-resize-reset.
21772 (resize-window-reset-1): Rename to window-resize-reset-1.
21773 (resize-window): Rename to window-resize.
21774 (window-min-height, window-min-width)
21775 (resize-mini-window, resize-this-window, resize-root-window)
21776 (resize-root-window-vertically, adjust-window-trailing-edge)
21777 (enlarge-window, shrink-window, maximize-window)
21778 (minimize-window, delete-window, quit-restore-window)
21779 (split-window, balance-windows, balance-windows-area-adjust)
21780 (balance-windows-area, window-state-put-2)
21781 (display-buffer-even-window-sizes, display-buffer-set-height)
21782 (display-buffer-set-width, set-window-text-height)
21783 (fit-window-to-buffer): Rename all "resize-window" prefixed
21784 calls to use the "window-resize" prefix convention.
21785 (display-buffer-alist): Fix symbol for label specifier.
21786 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
21787 corresponding specifier.
21788 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 21789
b6458526
VB
217902011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
21791
21792 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
21793 convention.
21794 (ses-call-printer): Does not pass an empty string to formatter when the
21795 cell is empty to keep from barking printer Calc math-format-value.
21796
d31fd9ac
RS
217972011-06-27 Richard Stallman <rms@gnu.org>
21798
43d5bf84
RS
21799 * battery.el (battery-mode-line-limit): New variable.
21800 (battery-update): Handle it.
21801
d31fd9ac
RS
21802 * mail/rmailmm.el (rmail-mime-process-multipart):
21803 Handle truncated messages.
21804
819a6054
GM
218052011-06-27 Glenn Morris <rgm@gnu.org>
21806
21807 * progmodes/flymake.el (flymake-err-line-patterns):
21808 Allow for column numbers in the ant/javac pattern. (Bug#8866)
21809
cedc73f2
VB
218102011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
21811
819a6054 21812 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
21813 (ses--clean-!, ses--clean-_): New functions.
21814 (ses-range): Add configurability of readout order, and conversion
21815 to Calc vector.
21816
5e5d49b6
VB
21817 * ses.el (ses-repair-cell-reference-all): New function.
21818 (ses-cell-symbol): Set macro as safe, so that it can be used in
21819 formulas.
21820
56e6cc31 21821 * ses.el: Update cycle detection algorithm.
90ca8b49 21822 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 21823 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
21824 (ses-set-localvars): New function.
21825 (ses-make-cell): Add property-list as a cell element.
21826 (ses-cell-property-get-fun, ses-cell-property-get)
21827 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
21828 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
21829 New functions.
90ca8b49
VB
21830 (ses-cell-property-set, ses-cell-property-pop)
21831 (ses-cell-property-get-handle): New macro.
21832 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
21833 New aliases, used for code readability.
21834 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
21835 cycle detection.
21836 (ses-self-reference-early-detection): New defcustom.
fac916bf 21837 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
21838 (ses-mode): Use ses-set-localvars.
21839 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
21840 before lauching the update processing.
21841 (ses-initialize-Dijkstra-attempt): New function.
21842 (ses-recalculate-cell): Update for cycle detection based on
21843 Dijkstra algorithm.
21844
2bb63e81
VB
21845 * ses.el: Fix commenting and indenting convention.
21846
c9d29fb8
SM
218472011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
21848
21849 * bs.el (bs-cycle-next): Complete last change.
21850
d8e4b68b
JB
218512011-06-27 Drew Adams <drew.adams@oracle.com>
21852
21853 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
21854
40098786
LMI
218552011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
21856
c9d29fb8
SM
21857 * net/network-stream.el (network-stream-open-starttls):
21858 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
21859 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
21860
40098786
LMI
21861 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
21862 to binary to possibly avoid line encoding issues on Windows (among
21863 other things).
21864
468d09d4
LMI
218652011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
21866
21867 * net/network-stream.el (open-network-stream): Return an :error
21868 saying what the problem was, if possible.
21869
21870 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
21871 server.
21872
21873 * net/network-stream.el (network-stream-open-starttls): If we
21874 wanted to use STARTTLS, and the server offered it, but we weren't
21875 able to because we had no STARTTLS support, then close the connection.
21876 (open-network-stream): Return an :error element, if present.
21877
16f07dd7
CY
218782011-06-26 Chong Yidong <cyd@stupidchicken.com>
21879
88821ca0
CY
21880 * hl-line.el (hl-line-sticky-flag): Doc fix.
21881 (global-hl-line-sticky-flag): New option (Bug#8323).
21882 (global-hl-line-highlight): Obey it.
21883
16f07dd7
CY
21884 * vc/vc.el (vc-revert-show-diff): Default to t.
21885
6b5ccddf
KM
218862011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
21887
c9d29fb8
SM
21888 * allout-widgets.el (allout-widgets-post-command-business):
21889 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
21890 undecorated when an isearch is continued past, and isearch
21891 automatically collapses them. This leads to "widget leaks", where
21892 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
21893 hidden widgets can slow down cursor travel, substantially.
21894 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
21895 so we're doing without this nicety.
21896
21897 (allout-widgets-tally-string): Don't try to do a hash-table-count
21898 of allout-widgets-tally when it's nil. This eliminates spurious "Error
21899 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
21900 *Messages* when allout-widgets-maintain-tally is t.
21901
355f2e07
MR
219022011-06-26 Martin Rudalics <rudalics@gmx.at>
21903
21904 * window.el (display-buffer-normalize-argument): Rename to
21905 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
21906 LABEL argument. Respect special-display-function when popping up
21907 a new frame. Fix code searching for a window showing the buffer
21908 on another frame.
c9d29fb8
SM
21909 (display-buffer-normalize-specifiers):
21910 Call display-buffer-normalize-arguments.
355f2e07
MR
21911 (display-buffer-in-window): Don't undedicate the window if its
21912 buffer remains the same.
21913 Reported by Drew Adams <drew.adams@oracle.com>.
21914 (display-buffer-alist): Add choice for same-window macro
21915 specfier.
21916 (display-buffer): Mention special meaning of LABEL argument in
21917 doc-string. Fix quoting. Don't pop up a new frame even as
21918 fallback.
21919
7ca8fc42
JB
219202011-06-26 Juanma Barranquero <lekktu@gmail.com>
21921
21922 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
21923 avoid deleting the current window in some cases (bug#8911).
21924
bc312254
AS
219252011-06-26 Andreas Schwab <schwab@linux-m68k.org>
21926
21927 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
21928 (Bug#8934)
21929
2db18f3f
LMI
219302011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
21931
c9d29fb8
SM
21932 * net/network-stream.el (network-stream-open-starttls):
21933 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
21934 (network-stream-open-tls): Ditto.
21935
6302e0d3
LL
219362011-06-26 Leo Liu <sdl.web@gmail.com>
21937
21938 * register.el (registerv): New struct.
21939 (registerv-make): New function.
c9d29fb8
SM
21940 (jump-to-register, describe-register-1, insert-register):
21941 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
21942 struct. (Bug#8415)
21943
5fdd4046
CY
219442011-06-26 Chong Yidong <cyd@stupidchicken.com>
21945
2afef60a
CY
21946 * vc/vc.el (vc-revert-show-diff): New defcustom.
21947 (vc-diff-internal): New arg specifying diff buffer.
21948 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
21949 reuse an existing *vc-diff* buffer (Bug#8927).
21950
5fdd4046
CY
21951 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
21952
e93db24a
GM
219532011-06-26 Glenn Morris <rgm@gnu.org>
21954
21955 * progmodes/f90.el (f90-critical-indent): New option.
21956 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
21957 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
21958 (f90-mode): Doc fix.
21959 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
21960 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
21961 (f90-beginning-of-block, f90-next-block, f90-indent-region)
21962 (f90-match-end): Handle block, critical.
21963
eefff499
GM
219642011-06-25 Glenn Morris <rgm@gnu.org>
21965
f6ba4cc9
GM
21966 * calendar/diary-lib.el (diary-included-files): Doc fix.
21967 (diary-include-files): New function, extracted from
21968 diary-include-other-diary-files and diary-mark-included-diary-files.
21969 (diary-include-other-diary-files, diary-mark-included-diary-files):
21970 Just call diary-include-files.
21971 (diary-mark-entries): Reset diary-included-files on first call.
21972
16712304
GM
21973 * calendar/diary-lib.el (diary-mark-entries)
21974 (diary-mark-included-diary-files):
21975 Visit included diary-files in temp buffers.
21976
5d8e0d43
GM
21977 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
21978 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
21979 (f90-start-block-re, f90-imenu-generic-expression)
21980 (f90-looking-at-program-block-start, f90-no-block-limit):
21981 Add support for submodules.
21982
ccf7a5d5
GM
21983 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
21984 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 21985
11fdef7d 219862011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
21987
21988 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
21989 buffer-file-type before setting its value, to avoid disastrous
eefff499 21990 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 21991
74f53697
JB
219922011-06-25 Juanma Barranquero <lekktu@gmail.com>
21993
21994 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
21995
21996 * ses.el (ses-unload-function):
21997 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
21998
21999 * proced.el (proced-unload-function):
22000 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
22001
18a4ce5e
AR
220022011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
22003
22004 * server.el (server-create-window-system-frame): Add parameters arg.
22005 (server-process-filter): Doc fix. Handle frame-parameters.
22006
519d22cc
JB
220072011-06-25 Juanma Barranquero <lekktu@gmail.com>
22008
22009 Fix bug#8730, bug#8781.
22010
22011 * loadhist.el (unload--set-major-mode): New function.
22012 (unload-feature): Use it.
22013
22014 * progmodes/python.el (python-after-info-look): Add autoload cookie.
22015 (python-unload-function): New function.
22016
c206f5b0
SM
220172011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
22018
22019 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
22020
f9ad64f3
GS
220212011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
22022
22023 * net/browse-url.el (browse-url-firefox-program): Add icecat to
22024 the candidates list.
22025
7d0da90e
JB
220262011-06-24 Juanma Barranquero <lekktu@gmail.com>
22027
22028 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
22029
14b4e83d
RS
220302011-06-23 Richard Stallman <rms@gnu.org>
22031
22032 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
22033 (rmail-variables): Set next-error-move-function.
22034 (rmail-what-message): Take argument POS.
22035 (rmail-next-error-move): New function.
22036
273d2baf
SM
220372011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
22038
22039 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
22040 messages for adjacent non-terminals.
22041
56c2cc9a
RS
220422011-06-23 Richard Stallman <rms@gnu.org>
22043
22044 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 22045 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
22046 (rmail-start-mail): Don't specify use of rmail-mail-return;
22047 that's done by mail-bury now.
22048 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 22049
d59eb518
MA
220502011-06-23 Michael Albinus <michael.albinus@gmx.de>
22051
22052 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
22053 SIZE is a number.
22054
02cfc6d6
MR
220552011-06-23 Martin Rudalics <rudalics@gmx.at>
22056
22057 * window.el (get-lru-window, get-mru-window)
22058 (get-largest-window): Never return a minibuffer window.
22059 (display-buffer-pop-up-window): Fix a bug that could lead to
22060 reusing the minibuffer window.
22061 (display-buffer): Pass original specifier argument to
22062 display-buffer-function instead of the normalized one.
22063 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
22064
4e323265
LL
220652011-06-22 Leo Liu <sdl.web@gmail.com>
22066
22067 * minibuffer.el (completing-read-function)
1f9f395d 22068 (completing-read-default): Move from minibuf.c.
4e323265 22069
7a70468f
RS
220702011-06-22 Richard Stallman <rms@gnu.org>
22071
50718fc2
RS
22072 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
22073 to Rmail even if not started by a special Rmail command.
22074
7a70468f
RS
22075 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
22076 Copy the buffer currently showing just one message.
22077
297dde5a
RW
220782011-06-22 Roland Winkler <winkler@gnu.org>
22079
22080 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
22081 (bibtex-clean-entry): First delete the old key so that a
22082 customized algorithm for generating the new key does not get
22083 confused by the old key.
22084 (bibtex-url): Obey regexp of first step.
22085 (bibtex-search-entries): Do not use add-to-list with local
22086 list-var.
22087
97bb1093
LMI
220882011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
22089
22090 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
22091 stored a user name, then query for the password first, instead of
22092 waiting for SMTP to give an error message and the trying again.
22093
1c0f1a19
JD
220942011-06-22 Lawrence Mitchell <wence@gmx.li>
22095
22096 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
22097 BUFFER in call-process.
22098
396f7c9d
LMI
220992011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
22100
22101 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
22102 QUIT twice.
ddb7ffee
LMI
22103 (smtpmail-try-auth-methods): Require user name and password from
22104 auth-source.
396f7c9d 22105
8998d1b3
MR
221062011-06-22 Martin Rudalics <rudalics@gmx.at>
22107
22108 * window.el (display-buffer-default-specifiers)
22109 (display-buffer-alist): Remove entries for pop-up-frame-alist.
22110 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 22111 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
22112
22113 * frame.el (pop-up-frame-alist, pop-up-frame-function)
22114 (special-display-frame-alist, special-display-popup-frame):
22115 Remove duplicate declarations. These are now in window.el.
22116
4ea31e07
LMI
221172011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
22118
c9d29fb8
SM
22119 * mail/smtpmail.el (smtpmail-via-smtp):
22120 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
22121 server supports it. SMTP servers that support STARTTLS commonly
22122 require it.
22123
22124 * net/network-stream.el (network-stream-open-starttls): Support
22125 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 22126 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 22127
95f41d9a
LMI
22128 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
22129 upgrades with `open-network-stream', and rely solely on
22130 auth-source for all credentials. Big changes throughout the file,
22131 but in particular:
c9d29fb8
SM
22132 (smtpmail-auth-credentials): Remove.
22133 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
22134 (smtpmail-via-smtp): Check for servers saying they want AUTH after
22135 MAIL FROM, too.
95f41d9a 22136
c9d29fb8
SM
22137 * net/network-stream.el (network-stream-open-starttls):
22138 Provide support for client certificates both for external and built-in
4ea31e07
LMI
22139 STARTTLS.
22140 (auth-source): Require.
22141 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
22142 (network-stream-certificate): Change cert-cert to cert and
22143 cert-key to key.
4ea31e07 22144
065ec2c7
MA
221452011-06-21 Michael Albinus <michael.albinus@gmx.de>
22146
22147 * net/tramp-cache.el (top): Don't load the persistency file when
22148 "emacs -Q" has been called.
22149
cd93b359
DR
221502011-06-21 Tim Harper <timcharper@gmail.com>
22151
d8e4b68b
JB
22152 * term/ns-win.el (ns-initialize-window-system):
22153 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
22154 resource to NO as it is not yet supported by the NS port.
22155
ae9c0411
JB
221562011-06-21 Juanma Barranquero <lekktu@gmail.com>
22157
22158 * misc.el (list-dynamic-libraries--refresh): Compute header here...
22159 (list-dynamic-libraries): ...not here.
22160
7f3f739f
LL
221612011-06-21 Leo Liu <sdl.web@gmail.com>
22162
22163 * subr.el (sha1): Implement sha1 using secure-hash.
22164
327c8fb1
MR
221652011-06-21 Martin Rudalics <rudalics@gmx.at>
22166
22167 * window.el (display-buffer-alist): In default value do not
22168 enforce searching a window on any but the selected frame.
22169 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
22170 (display-buffer-select-window): Remove function.
22171 (display-buffer-in-window): When a window on another frame gets
22172 reused, do not select it any more but just raise its frame if
22173 necessary (Bug#8851) and (Bug#8856).
22174 (display-buffer-normalize-options): Handle pop-up-frames related
22175 options more faithfully.
22176 (pop-to-buffer): Don't rely on `display-buffer' selecting the
22177 window if it is on another frame.
c9d29fb8
SM
22178 (display-buffer-alist, display-buffer-default-specifiers):
22179 Don't make new frame unsplittable by default.
9e9de014
MR
22180 (display-buffer-normalize-argument): Fix doc-string typo and use
22181 'same-frame-other-window instead of 'other-window when associating
22182 with display-buffer-macro-specifiers.
327c8fb1 22183
7cf3f556
VB
221842011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
22185
22186 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
22187 New functions.
22188 (5x5-mode-map, 5x5-mode-menu): Bind them.
22189 (5x5-draw-grid): Tweak the solver's rendering.
22190
60a406cf
SM
221912011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
22192
22193 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
22194 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
22195
d8e4b68b 221962011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
22197
22198 * menu-bar.el: Use function variable instead of switch-to-buffer.
22199 (menu-bar-select-buffer-function): New variable.
60a406cf 22200 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 22201
478d6f95
SM
222022011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
22203
22204 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
22205 variable's status.
22206
ca530739
JD
222072011-06-20 Jan Djärv <jan.h.d@swipnet.se>
22208
22209 * x-dnd.el (x-dnd-version-from-flags)
22210 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
22211 and long as number (Bug#8899).
22212 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
22213
bcd70d97
SM
222142011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
22215
60a406cf 22216 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
22217 (completion-try-completion, completion-all-completions): Compute the
22218 metadata argument if it's missing; make it optional (bug#8795).
22219
60a406cf 22220 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
22221 (widget-complete): Use new :completion-function property.
22222 (widget-completions-at-point): New function.
22223 (default): Use :completion-function instead of :complete.
60a406cf
SM
22224 (widget-default-completions): Rename from widget-default-complete;
22225 Rewrite.
bcd70d97
SM
22226 (widget-string-complete, widget-file-complete, widget-color-complete):
22227 Remove functions.
22228 (file, symbol, function, variable, coding-system, color):
22229 * international/mule-cmds.el (default-input-method, charset)
22230 (language-info-custom-alist):
22231 * cus-edit.el (face): Use new property :completions.
22232
22233 * progmodes/pascal.el (pascal-completions-at-point): New function.
22234 (pascal-mode): Use it.
22235 (pascal-mode-map): Use completion-at-point.
22236 (pascal-toggle-completions): Make obsolete.
22237 (pascal-complete-word, pascal-show-completions):
22238 * progmodes/octave-mod.el (octave-complete-symbol):
22239 Redefine as obsolete alias.
22240 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
22241 Signal absence of completion info for old Octave,
22242 (inferior-octave-complete): Redefine as obsolete alias.
22243 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
22244 (meta-completions-at-point): Rename from meta-complete-symbol and
22245 adapt it for use on completion-at-point-functions.
22246 (meta-common-mode): Use it.
22247 (meta-looking-at-backward, meta-match-buffer): Remove.
22248 (meta-complete-symbol): Redefine as obsolete alias.
22249 (meta-common-mode-map): Use completion-at-point.
22250 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
22251 (makefile-mode-map): Use completion-at-point.
22252 (makefile-completions-at-point): Rename from makefile-complete and
22253 adapt it for use on completion-at-point-functions.
22254 (makefile-mode): Use it.
22255 (makefile-complete): Redefine as obsolete alias.
22256
aebf69c8
DD
222572011-06-20 Deniz Dogan <deniz@dogan.se>
22258
22259 * net/rcirc.el: Delete trailing whitespaces once and for all.
22260
bfbbb27d
DC
222612011-06-20 Daniel Colascione <dan.colascione@gmail.com>
22262
22263 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
22264
d264a46b
CY
222652011-06-19 Chong Yidong <cyd@stupidchicken.com>
22266
4ca009e5
CY
22267 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
22268
d264a46b
CY
22269 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
22270
fbf5b3ce
MR
222712011-06-19 Martin Rudalics <rudalics@gmx.at>
22272
22273 * window.el (display-buffer-other-window-means-other-frame):
22274 Call display-buffer-normalize-alist.
22275 (display-buffer-normalize-specifiers-1): Rename to
22276 display-buffer-normalize-argument. New argument other-frame.
22277 Rewrite.
22278 (display-buffer-normalize-specifiers-2): Rename to
22279 display-buffer-normalize-options.
22280 (display-buffer-normalize-alist-1): New function.
22281 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
22282 display-buffer-normalize-alist.
22283 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
22284 (display-buffer-normalize-options-inhibit): New variable.
22285 (display-buffer-normalize-specifiers): Rewrite calling
22286 display-buffer-normalize-alist,
22287 display-buffer-normalize-argument, and
22288 display-buffer-normalize-options. Don't call the latter if
22289 display-buffer-normalize-options-inhibit is non-nil.
22290 (frame-auto-delete): New option.
22291 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
22292 (window-list-no-nils, window-state-ignored-parameters)
22293 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
22294 (window-state-put-1, window-state-put-2, window-state-put):
22295 New functions.
9a028c23
MR
22296 (display-buffer-normalize-options): Move special-display-p group
22297 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 22298
6d10d800
CY
222992011-06-18 Chong Yidong <cyd@stupidchicken.com>
22300
6420d28b
CY
22301 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
22302 groups (Bug#8776).
22303 (rx-submatch-n): New function.
22304 (rx): Document it.
22305
ddb8b596
CY
22306 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
22307 (Bug#8768).
22308
22309 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
22310
77080289
CY
22311 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
22312
61dfb316
CY
22313 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
22314 anytime existing face settings are present (Bug#8889).
22315
6d10d800
CY
22316 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
22317 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
22318 Remove unused argument.
22319
be3fb2b8
MR
223202011-06-18 Martin Rudalics <rudalics@gmx.at>
22321
bcd70d97
SM
22322 * window.el (display-buffer-default-specifiers):
22323 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
22324 pop-up-window-min-width, and another reuse-window specifier
22325 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
22326 (display-buffer-normalize-specifiers-2):
22327 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
22328 pop-up-windows is unset. Add a reuse-window specifier for the
22329 case popping up a new window fails.
22330 (special-display-popup-frame): Remove double quoting.
28dec25a 22331 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 22332
1c6d8c76
SM
223332011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
22334
22335 * shell.el (shell-completion-vars): Set pcomplete-termination-string
22336 according to comint-completion-addsuffix.
22337
22338 * pcomplete.el: Convert to lexical binding and fix bug#8819.
22339 (pcomplete-suffix-list): Mark as obsolete.
22340 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
22341 pcomplete-seen in the closure.
22342 (pcomplete-comint-setup): Setup completion-at-point as well.
22343 (pcomplete--entries): New function.
22344 (pcomplete--env-regexp): New var.
22345 (pcomplete-entries): Rewrite to work with partial-completion and
22346 without relying on pcomplete-suffix-list.
22347 (pcomplete-pare-list): Remove, unused.
22348
25aef8b8
MR
223492011-06-17 Martin Rudalics <rudalics@gmx.at>
22350
22351 * window.el (display-buffer-alist): Set pop-up-window-min-height
22352 and pop-up-window-min-width in default value. Reported by
22353 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
22354 other-window-means-other-frame.
22355 (display-buffer-macro-specifiers): Comment out entry for
22356 other-window specifier.
22357 (display-buffer-other-window-means-other-frame): New function.
22358 (display-buffer-normalize-specifiers-1): New arguments
22359 buffer-name and label. Treat other-window case specially.
22360 (display-buffer-normalize-specifiers-2): Treat other-window case
22361 specially.
22362 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
22363 (display-buffer-normalize-specifiers):
22364 Call display-buffer-normalize-specifiers-3.
25aef8b8 22365
dbad4f69
MR
223662011-06-17 Martin Rudalics <rudalics@gmx.at>
22367
22368 * window.el (same-window-p): Fix two typos introduced when
22369 adding with-no-warnings.
d1067961
MR
22370 (display-buffer-normalize-specifiers-1): Don't check
22371 pop-up-frames for 'unset initialization.
22372 (display-buffer-normalize-specifiers-2): Major rewrite using
22373 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
22374 (pop-up-frames, display-buffer-reuse-frames)
22375 (display-buffer-mark-dedicated): Don't initialize to 'unset.
22376 Suggested by David Engster <deng@randomsample.de>.
22377 (even-window-heights): Initialize to 'unset.
22378 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
22379 (display-buffer-macro-specifiers): Don't pop up a new frame in the
22380 other window case.
dbad4f69 22381
9b9c9e3a
MR
223822011-06-16 Martin Rudalics <rudalics@gmx.at>
22383
bcd70d97
SM
22384 * window.el (display-buffer-normalize-specifiers-1):
22385 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 22386 second argument of display-buffer (Bug#8865).
981d5c09
MR
22387 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
22388 (switch-to-buffer-other-window-same-frame)
22389 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
22390 Adams (Bug#8875).
9c2755e9
MR
22391 (display-buffer): Don't check noninteractive when calling
22392 display-buffer-pop-up-frame.
22393 (display-buffer-pop-up-frame): Never pop up a frame in
22394 noninteractive mode (Bug#8857).
67222e1d
MR
22395 (enlarge-window, shrink-window): Don't report an error when the
22396 window can't be resized as requested (Bug#8862).
9b9c9e3a 22397
2b75be67
SM
223982011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
22399
9ffdd3ba
SM
22400 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
22401
cb581a67
SM
22402 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
22403
2b75be67
SM
22404 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
22405
8c0e3589
AM
224062011-06-15 Alan Mackenzie <acm@muc.de>
22407
cb581a67
SM
22408 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
22409 for declarators, disable knr checking to speed up for normal files.
22410 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 22411
b96e6cde
LMI
224122011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
22413
4bba86e6
LMI
22414 * net/network-stream.el (open-network-stream): Add the keyword
22415 :always-query-capabilities for the case where you want to force a
22416 `plain' network connection, but the protocol still requires the
22417 capabilitiy command (i.e., SMTP and EHLO).
22418
2b75be67 22419 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
22420 consistency with other `-live-p' functions.
22421
efdcdbf8
SM
224222011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
22423
22424 * window.el (same-window-buffer-names, same-window-regexps)
22425 (special-display-frame-alist, special-display-popup-frame)
22426 (special-display-function, special-display-buffer-names)
22427 (special-display-regexps, pop-up-frame-alist)
22428 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
22429 (pop-up-windows, split-window-preferred-function)
22430 (split-height-threshold, split-width-threshold, even-window-heights)
22431 (display-buffer-mark-dedicated): Don't encourage the use of
22432 display-buffer-alist from Elisp code.
22433
c5cde042
DN
224342011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
22435
22436 * progmodes/python.el (python-mode): Derive from prog-mode.
22437 * progmodes/ps-mode.el (ps-mode):
22438 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 22439 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
22440 * progmodes/ld-script.el (ld-script-mode): Likewise.
22441
baa1c9ab
MR
224422011-06-15 Martin Rudalics <rudalics@gmx.at>
22443
22444 * window.el (display-buffer-alist): Trim default value to avoid
22445 popping up a new frame (Bug#8857) or reusing an arbitrary window
22446 on another frame.
22447 (display-buffer): Do not fall back on popping up a new frame in
22448 batch mode (Bug#8857).
22449
c5dd5a51
CY
224502011-06-14 Chong Yidong <cyd@stupidchicken.com>
22451
22452 * cus-theme.el (describe-theme-1): Use custom-theme-p.
22453 (custom-theme-summary): New function.
22454 (customize-themes): Use it.
22455
d647b7c4
GM
224562011-06-13 Glenn Morris <rgm@gnu.org>
22457
22458 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
22459
9481c002
MR
224602011-06-13 Martin Rudalics <rudalics@gmx.at>
22461
357f93d2
MR
22462 * help.el (help-window): Remove variable.
22463 (help-window-point-marker, temp-buffer-max-height)
22464 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
22465 (help-print-return-message): Don't set help-window.
22466 (resize-temp-buffer-window): Rewrite cod eand doc-string.
22467 (help-window-setup-finish): Remove.
22468 (help-window-display-message, help-window-setup)
22469 (with-help-window): Major rewrite based on new
22470 display-buffer-window variable.
22471
22472 * help-mode.el (help-mode-finish): Remove help-window related
22473 code.
22474
22475 * view.el (view-exits-all-viewing-windows): Remove reference to
22476 view-return-to-alist in doc-string.
22477 (view-return-to-alist): Make obsolete.
22478 (view-buffer): Call pop-to-buffer-same-window and remove
22479 undo-window code.
22480 (view-buffer-other-window): Call pop-to-buffer-other-window and
22481 simplify code. Ignore second argument.
22482 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
22483 simplify code. Ignore second argument.
22484 (view-return-to-alist-update): Make obsolete.
22485 (view-mode-enter): Rename second argument to QUIT-RESTORE.
22486 Rewrite using quit-restore window parameters.
2b75be67
SM
22487 (view-mode-exit): Rename second argument to EXIT-ONLY.
22488 Rewrite using quit-restore-window.
357f93d2
MR
22489 (View-exit, View-exit-and-edit, View-leave, View-quit)
22490 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
22491 appropriate arguments.
22492 (view-end-message): Use quit-restore window parameter.
22493
9481c002
MR
22494 * window.el (display-buffer-function): Rewrite doc-string.
22495 (display-buffer-window, display-buffer-alist): New variables.
22496 (display-buffer-split-specifiers)
22497 (display-buffer-side-specifiers)
22498 (display-buffer-macro-specifiers): New constants.
22499 (display-buffer-even-window-sizes, display-buffer-set-height)
22500 (display-buffer-set-width, display-buffer-select-window)
22501 (display-buffer-in-window, display-buffer-reuse-window)
22502 (display-buffer-split-window-1, display-buffer-split-window)
22503 (display-buffer-split-atom-window, display-buffer-pop-up-window)
22504 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
22505 (display-buffer-in-side-window, normalize-buffer-to-display)
22506 (display-buffer-normalize-specifiers-1)
22507 (display-buffer-normalize-specifiers-2)
2b75be67
SM
22508 (display-buffer-normalize-specifiers, display-buffer-frame):
22509 New functions.
9481c002
MR
22510 (display-buffer): Major rewrite.
22511 (display-buffer-other-window, display-buffer-other-frame)
22512 (pop-to-buffer, switch-to-buffer-other-window)
22513 (switch-to-buffer-other-frame): Rewrite.
22514 (display-buffer-same-window, display-buffer-same-frame)
22515 (display-buffer-same-frame-other-window)
22516 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
22517 (pop-to-buffer-other-window)
22518 (pop-to-buffer-same-frame-other-window)
22519 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
22520 (switch-to-buffer-other-window-same-frame): New functions.
22521 (same-window-p, special-display-p): Rewrite disabling warnings.
22522 Make obsolete.
22523 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
22524 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
22525 Make obsolete
22526 (same-window-buffer-names, same-window-regexps)
22527 (special-display-frame-alist, special-display-popup-frame)
22528 (special-display-function, special-display-buffer-names)
22529 (special-display-regexps, pop-up-frame-alist)
22530 (pop-up-frame-function, split-window-preferred-function)
22531 (split-height-threshold, split-width-threshold)
22532 (even-window-heights): Make obsolete.
22533
9db51aca
GM
225342011-06-12 Glenn Morris <rgm@gnu.org>
22535
22536 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 22537 Misc simplifications.
9db51aca 22538
39cffb44
MR
225392011-06-12 Martin Rudalics <rudalics@gmx.at>
22540
22541 * window.el (window-safely-shrinkable-p): Restore function which
22542 was inadvertently removed in change from 2011-06-11. Declare as
22543 obsolete.
22544
2b75be67
SM
22545 * calendar/calendar.el (calendar-generate-window):
22546 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
22547 window-safely-shrinkable-p.
22548
a8955be7
GM
225492011-06-12 Glenn Morris <rgm@gnu.org>
22550
22551 * progmodes/fortran.el (fortran-mode-syntax-table):
22552 * progmodes/f90.el (f90-mode-syntax-table):
22553 Set % to punctuation. (Bug#8820)
22554 (f90-find-tag-default): Remove, no longer needed.
22555
f0d4059d
DC
225562011-06-12 Daniel Colascione <dan.colascione@gmail.com>
22557
22558 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
22559
1100a63c
CY
225602011-06-11 Chong Yidong <cyd@stupidchicken.com>
22561
22562 * image.el (image-animated-p): Return animation delay in seconds.
22563 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
22564 (image-animate-timeout): Remove DELAY argument. Don't assume
22565 every subimage has the same delay; get it from image-animated-p.
22566 (image-animate): Caller changed.
22567
def722bf
MA
225682011-06-11 Michael Albinus <michael.albinus@gmx.de>
22569
22570 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
22571 to ignored backtrace functions.
22572
0a2bb1a9
GM
225732011-06-11 Glenn Morris <rgm@gnu.org>
22574
22575 * calendar/appt.el (appt-disp-window-function): Doc fix.
22576 (appt-check): Handle overlapping appointments. (Bug#8337)
22577
6198ccd0
MR
225782011-06-11 Martin Rudalics <rudalics@gmx.at>
22579
22580 * window.el (window-tree-1, window-tree): New functions, moving
22581 the latter to window.el.
22582 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
22583 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
22584 (bw-refresh-edges): Remove.
22585 (balance-windows-1, balance-windows-2): New functions.
22586 (balance-windows): Rewrite in terms of window tree functions,
22587 balance-windows-1 and balance-windows-2.
22588 (bw-adjust-window): Remove.
22589 (balance-windows-area-adjust): New function with functionality of
22590 bw-adjust-window but using resize-window.
2b75be67
SM
22591 (set-window-text-height): Rewrite doc-string.
22592 Use normalize-live-window and resize-window.
22593 (enlarge-window-horizontally, shrink-window-horizontally):
22594 Rename argument to DELTA.
6198ccd0
MR
22595 (window-buffer-height): New function.
22596 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
22597 Rewrite using new window resize routines.
2b75be67
SM
22598 (kill-buffer-and-window, mouse-autoselect-window-select):
22599 Use ignore-errors instead of condition-case.
6198ccd0
MR
22600 (quit-window): Call delete-frame instead of delete-windows-on
22601 for the only buffer on frame.
22602
9397e56f
MR
226032011-06-10 Martin Rudalics <rudalics@gmx.at>
22604
22605 * loadup.el (top-level): Load window before files for the sake
22606 of replace-buffer-in-windows.
22607
22608 * files.el (read-buffer-to-switch)
22609 (switch-to-buffer-other-window)
2b75be67
SM
22610 (switch-to-buffer-other-frame, display-buffer-other-frame):
22611 Move to window.el.
9397e56f
MR
22612
22613 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
22614 (previous-buffer): Move to window.el.
22615
22616 * bindings.el (unbury-buffer): Move to window.el.
22617
22618 * window.el (delete-other-windows-vertically): Move after
22619 definition of delete-other-windows.
22620 (other-window, delete-windows-on, replace-buffer-in-windows):
22621 Move here from window.c.
22622 (record-window-buffer, unrecord-window-buffer)
22623 (set-window-buffer-start-and-point, switch-to-prev-buffer)
22624 (switch-to-next-buffer): New functions.
22625 (get-next-valid-buffer, last-buffer, next-buffer): Move here
22626 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
22627 (previous-buffer): Move here from simple.el.
22628 Call switch-to-prev-buffer.
9397e56f
MR
22629 (bury-buffer): Move here from buffer.c. Switch to previous
22630 buffer when window cannot be deleted.
22631 (unbury-buffer): Move here from bindings.el.
22632 (ctl-x-map): Move binding for other-window from window.c to
22633 here.
22634 (read-buffer-to-switch, switch-to-buffer-other-window)
22635 (switch-to-buffer-other-frame): Move here from files.el.
22636 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
22637 (switch-to-buffer): Move here from buffer.c.
22638 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 22639
562dd5e9
MR
226402011-06-10 Martin Rudalics <rudalics@gmx.at>
22641
22642 * window.el (window-min-height, window-min-width): Move here
22643 from window.c. Add defcustoms and rewrite doc-strings.
22644 (resize-mini-window, resize-window): New functions.
22645 (adjust-window-trailing-edge, enlarge-window, shrink-window):
22646 Move here from window.c.
22647 (maximize-window, minimize-window): New functions.
22648 (delete-window, delete-other-windows, split-window): Move here
22649 from window.c.
22650 (window-split-min-size): New function.
22651 (split-window-keep-point): Mention split-window-above-each-other
22652 instead of split-window-vertically.
2b75be67 22653 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
22654 Rename split-window-vertically to split-window-above-each-other
22655 and provide defalias for old definition.
22656 (split-window-side-by-side, split-window-horizontally):
22657 Rename split-window-horizontally to split-window-side-by-side
22658 and provide defalias for the old definition.
562dd5e9
MR
22659 (ctl-x-map): Move bindings for delete-window,
22660 delete-other-windows and enlarge-window here from window.c.
22661 Replace bindings for split-window-vertically and
22662 split-window-horizontally by bindings for
22663 split-window-above-each-other and split-window-side-by-side.
22664
22665 * cus-start.el (all): Remove entries for window-min-height and
22666 window-min-width. Add entries for window-splits and
22667 window-nest.
22668
f0da764a
GM
226692011-06-09 Glenn Morris <rgm@gnu.org>
22670
80675c21
GM
22671 * calendar/appt.el (appt-mode-line): New function.
22672 (appt-check, appt-disp-window): Use it.
22673
f0da764a
GM
22674 * files.el (hack-one-local-variable-eval-safep):
22675 Allow minor-modes with explicit +/-1 arguments.
22676
59f623b7
TZ
226772011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
22678
22679 * term/xterm.el (xterm): Add defgroup.
22680 (xterm-extra-capabilities): Add defcustom to supply known xterm
22681 capabilities, skip querying them, or query them (default).
22682 (terminal-init-xterm): Use it.
22683 (terminal-init-xterm-modify-other-keys): New function to set up
22684 modifyOtherKeys support to simplify `terminal-init-xterm'.
22685
9aab8e0d
MR
226862011-06-09 Martin Rudalics <rudalics@gmx.at>
22687
22688 * window.el (resize-window-reset, resize-window-reset-1)
22689 (resize-subwindows-skip-p, resize-subwindows-normal)
22690 (resize-subwindows, resize-other-windows, resize-this-window)
22691 (resize-root-window, resize-root-window-vertically)
22692 (window-deletable-p, window-or-subwindow-p)
22693 (frame-root-window-p): New functions.
22694
e8b08aee
GM
226952011-06-09 Glenn Morris <rgm@gnu.org>
22696
22697 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
22698 (ange-ftp-get-files): Use it.
22699
254c37a5
AK
227002011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
22701
22702 * mail/sendmail.el (mail-recover-1, mail-recover):
22703 * files.el (recover-file, recover-session):
22704 Handle dired-listing-switches not being just a single short option.
22705
35d7dbd3
GM
227062011-06-09 Glenn Morris <rgm@gnu.org>
22707
22708 * calendar/appt.el (appt-display-message, appt-disp-window):
22709 Handle lists of appointments.
22710
387522b2
MR
227112011-06-08 Martin Rudalics <rudalics@gmx.at>
22712
2b75be67
SM
22713 * window.el (one-window-p): Move down in code.
22714 Rewrite doc-string.
22715 (window-current-scroll-bars): Rewrite doc-string.
22716 Normalize live window argument.
387522b2
MR
22717 (walk-windows, get-window-with-predicate, count-windows):
22718 Rewrite doc-string. Use window-list-1.
22719 (window-in-direction-2, window-in-direction, get-mru-window):
22720 New functions.
22721
d8e4b68b 227222011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
22723
22724 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
22725 Doc fix (Bug#8713).
22726
227272011-06-08 Chong Yidong <cyd@stupidchicken.com>
22728
22729 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
22730
227312011-06-08 Juanma Barranquero <lekktu@gmail.com>
22732
22733 * loadhist.el (unload-feature-special-hooks):
22734 Add `comint-output-filter-functions'.
22735
0de12c52
IK
227362011-06-08 Ivan Kanis <gnu@kanis.fr>
22737
22738 * calendar/appt.el (appt-check): Move some initializations into the let.
22739
f3d1777e
MR
227402011-06-08 Martin Rudalics <rudalics@gmx.at>
22741
22742 * window.el (window-height): Defalias to window-total-height.
22743 (window-width): Defalias to window-body-width.
22744
18af70d0
CY
227452011-06-07 Chong Yidong <cyd@stupidchicken.com>
22746
22747 * image-mode.el (image-toggle-animation): New command.
22748 (image-mode-map): Bind it to RET.
22749 (image-mode): Update message.
22750 (image-toggle-display-image): Avoid a spurious cache flush.
22751 (image-transform-rotation): Doc fix.
22752 (image-transform-properties): Return quickly in the normal case.
22753 (image-animate-loop): Rename from image-animate-max-time.
22754
2b75be67 22755 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
22756 (create-animated-image): Remove unnecessary function.
22757 (image-animate): Rename from image-animate-start. New arg.
2b75be67 22758 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
22759 (image-animate-timer): Use car-safe.
22760 (image-animate-timeout): Rename argument.
22761
190b47e6
MR
227622011-06-07 Martin Rudalics <rudalics@gmx.at>
22763
22764 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
22765 window.c. Rename first argument to ALL-FRAMES.
22766 Rephrase doc-strings.
22767 (get-buffer-window-list): Rewrite using window-list-1.
22768 Rephrase doc-string.
a1511caf
MR
22769 (window-safe-min-height, window-safe-min-width): New constants.
22770 (window-size-ignore, window-min-size, window-min-size-1)
22771 (window-sizable, window-sizable-p, window-size-fixed-1)
22772 (window-size-fixed-p, window-min-delta-1, window-min-delta)
22773 (window-max-delta-1, window-max-delta, window-resizable)
22774 (window-resizable-p, window-total-height, window-total-width)
22775 (window-body-width): New functions.
22776 (window-full-height-p, window-full-width-p): Rewrite using
22777 window-total-size.
22778 (window-body-height): Rewrite using window-body-size.
190b47e6 22779
85cc1f11
MR
227802011-06-06 Martin Rudalics <rudalics@gmx.at>
22781
22782 * window.el (window-right, window-left, window-child)
22783 (window-child-count, window-last-child, window-any-p)
22784 (normalize-live-buffer, normalize-live-frame)
22785 (normalize-any-window, normalize-live-window)
22786 (window-iso-combination-p, window-iso-combined-p)
22787 (window-iso-combinations)
22788 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
22789 (windows-with-parameter, window-with-parameter)
22790 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
22791 (window-atom-check, window-side-check, window-check):
22792 New functions.
85cc1f11
MR
22793 (ignore-window-parameters, window-sides, window-sides-vertical)
22794 (window-sides-slots): New variables.
22795 (window-size-fixed): Move down in code. Minor doc-string fix.
22796
e7156492
AS
227972011-06-05 Andreas Schwab <schwab@linux-m68k.org>
22798
22799 * comint.el (comint-dynamic-complete-as-filename)
22800 (comint-dynamic-complete-filename): Correctly call
22801 completion-in-region.
22802
7e821d0d
DD
228032011-06-05 Deniz Dogan <deniz@dogan.se>
22804
22805 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
22806 in last change.
22807
ac09b8a1
DD
228082011-06-05 Deniz Dogan <deniz@dogan.se>
22809
22810 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
22811 (rcirc): Use it to prompt for encryption.
22812
34699b85
RW
228132011-06-05 Roland Winkler <winkler@gnu.org>
22814
22815 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
22816 (bibtex-search-entries): New command bound to C-c C-a.
22817 (bibtex-display-entries): New function.
22818
004dedd3
RW
228192011-06-05 Roland Winkler <winkler@gnu.org>
22820
22821 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
22822 (bibtex-insert-kill): After yanking insert newline if necessary.
22823 (bibtex-initialize): Call bibtex-string-files-init only once.
22824 (bibtex-mode): Do not call easy-menu-add.
22825 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
22826 (bibtex-yank): Set arg properly if nil.
22827
022fe7ce
RW
228282011-06-05 Roland Winkler <winkler@gnu.org>
22829
2b75be67
SM
22830 * textmodes/bibtex.el (bibtex-search-entry-globally):
22831 New variable.
022fe7ce
RW
22832 (bibtex-search-entry): Use it.
22833
b7c3692a
RW
228342011-06-05 Roland Winkler <winkler@gnu.org>
22835
22836 * textmodes/bibtex.el (bibtex-entry-format): New option
22837 sort-fields.
22838 (bibtex-format-entry, bibtex-reformat): Honor this option.
22839 (bibtex-parse-entry): Return fields in proper order.
22840
8eda563d
JB
228412011-06-05 Juanma Barranquero <lekktu@gmail.com>
22842
22843 * doc-view.el (doc-view-remove-if): Move computation of result out
22844 of `dolist' to silence misleading lexical-binding warning.
22845
7dbe3dbc
CY
228462011-06-04 Chong Yidong <cyd@stupidchicken.com>
22847
22848 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
22849 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
22850
0c33dd17
MA
228512011-06-04 Michael Albinus <michael.albinus@gmx.de>
22852
22853 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
22854 "SunOS 5.10".
22855
f8f91c2b
MA
228562011-06-04 Michael Albinus <michael.albinus@gmx.de>
22857
22858 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
22859 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
22860 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
22861 (tramp-parse-putty):
22862 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
22863 (tramp-completion-function-alist-ssh)
22864 (tramp-completion-function-alist-telnet)
22865 (tramp-completion-function-alist-su)
22866 (tramp-completion-function-alist-putty): Set `tramp-autoload'
22867 cookie.
22868
22869 * net/tramp-ftp.el:
22870 * net/tramp-sh.el:
22871 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
22872 load "tramp.el" `tramp-set-completion-function'.
22873
e17d9003
SM
228742011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
22875
22876 * shell.el: Require and use pcomplete.
22877 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
22878 (shell-completion-vars): Set pcomplete-default-completion-function.
22879
6c4cab03
DD
228802011-06-04 Deniz Dogan <deniz@dogan.se>
22881
22882 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
22883 `memq' (Bug#8799).
22884
ea9fafe0
SM
228852011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
22886
22887 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
22888
b3e945d3
JB
228892011-06-02 Juanma Barranquero <lekktu@gmail.com>
22890
22891 * bs.el (bs--mark-unmark, bs--nth-wrapper):
22892 * mpc.el (mpc-select-extend, mpc-songpointer-context):
22893 * vc/log-view.el (log-view-beginning-of-defun):
22894 * vc/smerge-mode.el (smerge-apply-resolution-patch)
22895 (smerge-refine-forward, smerge-refine-chopup-region):
22896 Silence warning for unused `dotimes' counter variables.
22897
7d520089
SM
228982011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
22899
22900 * net/tramp.el (tramp-with-progress-reporter): Rename from
22901 with-progress-reporter. Use `declare'.
22902 * net/tramp-smb.el:
22903 * net/tramp-sh.el:
22904 * net/tramp-gvfs.el: Update all uses.
22905
a1c2400f
JB
229062011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
22907
22908 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
22909 buffer isn't killed before making it current.
22910
2403c841
SM
229112011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
22912
22913 Silence various byte-compiler warnings.
22914 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
22915 `access-type' and new obsolescence format.
22916 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
22917 new format.
22918 (byte-compile-check-variable): New `access-type' argument.
22919 Only warn if the access-type is obsolete.
22920 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
22921 (byte-compile-variable-set): Adjust callers.
22922 * help-fns.el (describe-variable): Adjust to new obsolescence format.
22923 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
22924 setting it as obsolete.
22925 * simple.el (minibuffer-completing-symbol):
22926 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
22927 access as obsolete.
22928 * minibuffer.el (minibuffer-completing-file-name): Don't make it
22929 obsolete yet.
22930 * international/quail.el (quail-mouse-choose-completion): Remove unused
22931 code referring to obsolete var.
22932 (quail-choose-completion-string): Remove.
22933 * server.el (server-clients-with, server-kill-buffer-query-function)
22934 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
22935 * proced.el (proced-send-signal):
22936 * emacs-lisp/lisp.el (lisp-complete-symbol):
22937 Replace completion-annotate-function with completion-extra-properties.
22938
2462470b
SM
229392011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
22940
fb5b2591
SM
22941 * simple.el (goto-line): Use read-number.
22942 (overriding-map-is-bound): Remove.
22943 (saved-overriding-map): Change default.
22944 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
22945 Take the map as argument.
22946 (universal-argument, negative-argument, digit-argument): Use it.
22947 (restore-overriding-map): Adjust.
22948 (do-auto-fill): Use fill-forward-paragraph.
22949 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
22950
fd6fa53f
SM
22951 * minibuffer.el (minibuffer-inactive-mode-map): New var.
22952 (minibuffer-inactive-mode): New major mode.
22953 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
22954 the *Messages* buffer" hack.
22955 (mouse-popup-menubar): Don't burp if the event is a normal key.
22956
2462470b
SM
22957 Miscellaneous tweaks.
22958 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
22959 lexical scoping as in subr.el's dolist and dotimes.
22960 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
22961 Silence compiler warning.
22962 * thingatpt.el (forward-whitespace): Trivial coding style fix.
22963 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
22964 * international/ccl.el (ccl-compile): Trivial simplification.
22965 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
22966 * emacs-lisp/testcover.el (testcover-end): Remove spurious
22967 `printflag' argument.
22968 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
22969 Purecopy the whole obsolescence data.
22970
108bf785
LL
229712011-06-01 Leo Liu <sdl.web@gmail.com>
22972
22973 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
22974 improve doc-string as suggested by Marco Pessotto
22975 <melmothx@gmail.com>.
22976 (rcirc-print): Fix last change.
22977
30a23501
SM
229782011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
22979
22980 * minibuffer.el (complete-with-action): Return nil for the metadata and
22981 boundaries of non-functional tables.
22982 (completion-table-dynamic): Return nil for the metadata.
22983 (completion-table-with-terminator): Add default case, using
22984 complete-with-action.
22985 (completion--metadata): New function.
22986 (completion-all-sorted-completions, minibuffer-completion-help): Use it
22987 to try and avoid pathological performance problems.
22988 (completion--embedded-envvar-table): Return `category' metadata.
22989
bcd54f83
LMI
229902011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
22991
22992 * subr.el (process-alive-p): New tiny convenience function.
22993
e227544d
SM
229942011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
22995
22996 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
22997 content but also its previous major mode.
22998
e8296fdc
HE
229992011-05-31 Helmut Eller <eller.helmut@gmail.com>
23000
4d61f28d 23001 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
23002 *Backtrace* buffer when we exit with C-M-c.
23003
620c53a6
SM
230042011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
23005
23006 * minibuffer.el: Add metadata method to completion tables.
23007 (completion-category-overrides): New defcustom.
23008 (completion-metadata, completion--field-metadata)
23009 (completion-metadata-get, completion--styles)
23010 (completion--cycle-threshold): New functions.
23011 (completion-try-completion, completion-all-completions):
23012 Add `metadata' argument to choose completion-styles.
23013 (completion--do-completion): Use metadata to choose cycling.
23014 (completion-all-sorted-completions): Use metadata for sorting.
23015 Remove :completion-cycle-penalty which is not needed any more.
23016 (completion--try-word-completion): Add `metadata' argument.
23017 (minibuffer-completion-help): Check metadata for annotation function
23018 and sorting.
23019 (completion-file-name-table): Return `category' metadata.
23020 (minibuffer-completing-file-name): Make obsolete.
23021 * simple.el (minibuffer-completing-symbol): Make obsolete.
23022 * icomplete.el (icomplete-completions): Pass new `metadata' param to
23023 completion-try-completion.
23024
1257e755
SM
230252011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
23026
23027 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
23028
3767e706
LL
230292011-05-30 Leo Liu <sdl.web@gmail.com>
23030
23031 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
23032 (rcirc-print): Decode all incoming messages (bug#8744).
23033 (rcirc-decode-coding-system): Allow value nil for automatic coding
23034 system detection.
3767e706 23035
d1a5d56a
GM
230362011-06-01 Glenn Morris <rgm@gnu.org>
23037
23038 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
23039
e8cbec34
CY
230402011-05-29 Chong Yidong <cyd@stupidchicken.com>
23041
23042 * image.el (image-animate-max-time): Allow nil and t values.
23043 Default to nil.
23044 (create-animated-image): Doc fix.
23045 (image-animate-start): Remove second arg; just use
23046 image-animate-max-time.
23047 (image-animate-timeout): Doc fix. Args changed.
23048
23049 * image-mode.el (image-toggle-display-image): Ensure that the
23050 image spec passed to the animate timer is the same object as in
58179cce 23051 the buffer's display property (Bug#6981).
e8cbec34
CY
23052 (image-transform-properties): Doc fix.
23053
23054 * image.el (image-animate-max-time): Default to nil.
23055
159daf87
MR
230562011-05-29 Martin Rudalics <rudalics@gmx.at>
23057
23058 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
23059 entire buffer list (Bug#8184).
23060
d66c4c7c
CY
230612011-05-29 Chong Yidong <cyd@stupidchicken.com>
23062
23063 * image.el (imagemagick-types-inhibit)
23064 (imagemagick-register-types): Doc fix.
23065
80aec780
DD
230662011-05-29 Deniz Dogan <deniz@dogan.se>
23067
23068 * net/rcirc.el (rcirc): Use the user's stored encryption method by
23069 default.
23070
1dd3c2d9
CY
230712011-05-29 Chong Yidong <cyd@stupidchicken.com>
23072
23073 * select.el: Don't perform clipboard-manager saving in hooks;
23074 leave the hooks empty.
23075
60e56523
LL
230762011-05-28 Leo Liu <sdl.web@gmail.com>
23077
23078 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
23079 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
23080 (occur-edit-mode): New major mode (Bug#8463).
23081 (occur-after-change-function): New function.
23082 (occur-engine): Give Occur tags a read-only property.
23083
2b1e1a22
KR
230842011-05-28 Kevin Ryde <user42@zip.com.au>
23085
23086 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
23087
5d344e88
CY
230882011-05-28 Chong Yidong <cyd@stupidchicken.com>
23089
8e6ca83d
CY
23090 * bindings.el (help-echo): Make the initial non-indicator dash
23091 empty on graphical terminals (Bug#7295).
23092
5d344e88
CY
23093 * files.el (auto-mode-alist): Move config rule after the
23094 in-stripping one (Bug#8547).
23095
bfbbace7
CY
23096 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
23097
fbeba6e2
CY
23098 * startup.el (normal-splash-screen): Remove gratuitous mode-line
23099 setting (Bug#8740).
23100
60ed8c72
AA
231012011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
23102
4ac619f0
AA
23103 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
23104 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
23105 (Bug#8539).
60ed8c72 23106
23db196e
CY
231072011-05-28 Chong Yidong <cyd@stupidchicken.com>
23108
23109 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
23110
5012f24c
DK
231112011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
23112
23113 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
23114 (hs-hide-block-at-point, hs-find-block-beginning)
23115 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
23116 (Bug#8279).
23117
6a639b16
GM
231182011-05-28 Glenn Morris <rgm@gnu.org>
23119
23120 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
23121
d43eaf2c
CY
231222011-05-28 Chong Yidong <cyd@stupidchicken.com>
23123
5199bde1
CY
23124 * help-fns.el (describe-function-1): If the function is a derived
23125 major mode, print the parent mode.
23126
d43eaf2c
CY
23127 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
23128 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
23129
423428a8
SM
231302011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
23131
0ff8e1ba 23132 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 23133 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
23134 * progmodes/etags.el (tags-completion-at-point-function):
23135 * info-look.el (info-lookup-completions-at-point): Mark as
23136 non-exclusive.
23137 (info-complete): Adjust accordingly.
23138
423428a8
SM
23139 * info-look.el: Convert to lexical-binding and completion-at-point.
23140 (info-lookup-completions-at-point): New function.
23141 (info-complete): Use it and completion-in-region.
23142
b74aa22b
DA
231432011-05-28 Drew Adams <drew.adams@oracle.com>
23144
23145 * isearch.el: Let M-e start with point at the first mismatched char.
23146 (isearch-fail-pos): New function.
23147 (isearch-edit-string): Use it.
23148
66e2e71d
DK
231492011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
23150
23151 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
23152
b1890b0f 231532011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
23154
23155 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
23156 traversal functions for avl-trees.
23157 (avl-tree--stack): New struct.
23158 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
23159 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
23160 (avl-tree--do-enter): Add optional `updatefun' arg.
23161 Change return value.
eb95d01d 23162 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
23163 (avl-tree--do-delete): Add `test' and `nilflag' args.
23164 Change return value.
eb95d01d
TC
23165 (avl-tree-member): Add optional `nilflag'
23166 (avl-tree-member-p): New function.
23167 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
23168 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
23169 (avl-tree-stack-empty-p): New functions.
23170
3769ddcf
TC
23171 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
23172 avl-tree--del-balance1 and make it work both ways.
23173 (avl-tree--del-balance2): Remove.
23174 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
23175 make it work both ways.
23176 (avl-tree--enter-balance2): Remove.
23177 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
23178 New macros.
23179 (avl-tree--mapc, avl-tree-map): Add direction argument.
23180
eb95d01d 231812011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
23182
23183 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
23184
a9f737ee
CY
231852011-05-27 Chong Yidong <cyd@stupidchicken.com>
23186
23187 * select.el: Support clipboard managers with built-in function
23188 x-clipboard-manager-save, via delete-frame-functions and
23189 kill-emacs-hook.
23190 (xselect-convert-to-targets): Add MULTIPLE target to list.
23191 (xselect-convert-to-save-targets): New function.
23192
c92a1e54
KH
231932011-05-27 Kenichi Handa <handa@m17n.org>
23194
23195 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
23196 let-binding rfc2047-encode-encoded-words to nil.
23197
e145f188
GM
231982011-05-27 Glenn Morris <rgm@gnu.org>
23199
5ec8a862
GM
23200 * mail/emacsbug.el: Don't require url-util.
23201
4b29d9fb
GM
23202 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
23203
e145f188
GM
23204 * files.el (set-auto-mode):
23205 Also respect mode: entries at the end of the file. (Bug#8586)
23206
7d15102b
GM
232072011-05-26 Glenn Morris <rgm@gnu.org>
23208
98f593b8
GM
23209 * files.el (hack-local-variables-prop-line, hack-local-variables):
23210 Downcase mode names, as seems to be traditional.
27b48e63 23211 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 23212
7d15102b
GM
23213 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
23214 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
23215
51d5b4ec
JD
232162011-05-25 Julien Danjou <julien@danjou.info>
23217
23218 * textmodes/rst.el (rst-define-level-faces): Do not define face
23219 symbol if it is already defined.
23220
91513f63
VB
232212011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
23222
23223 * play/5x5.el (5x5-new-game, 5x5-randomize):
23224 Reset 5x5-solver-output to nil when a new grid is cast.
23225 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
23226 these debugging traces, as defmacro breaks the compiled code.
23227
4d90d6d0
DK
232282011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
23229
23230 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
23231
e1b90ef6
LL
232322011-05-24 Leo Liu <sdl.web@gmail.com>
23233
23234 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
23235 (vc-bzr-sha1): Adapt.
23236
d8e4b68b 23237 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
23238
23239 * bindings.el: Provide sha1 feature.
23240
db0406bb 232412011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
23242
23243 * mail/sendmail.el: Require `rfc2047'.
23244 (mail-insert-from-field): Do not perform RFC2047 encoding.
23245 (mail-encode-header): New function.
23246 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
23247 buffer to the return value of select-message-coding-system.
23248 Call mail-encode-header.
b8d747b9
KH
23249
23250 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
23251
db0406bb 232522011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 23253
4d90d6d0
DK
23254 * mail/supercite.el (sc-default-cite-frame):
23255 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 23256
eb8a5e9b
GM
232572011-05-24 Glenn Morris <rgm@gnu.org>
23258
f8630703
GM
23259 * progmodes/python.el (brm-menu): Declare.
23260
8831bbed
GM
23261 * emulation/viper.el (viper-set-hooks): Declare.
23262
eb8a5e9b
GM
23263 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
23264 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
23265 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
23266 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
23267 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
23268 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
23269
a2a25d24
SM
232702011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
23271
23272 Add an :exit-function for completion-at-point.
23273
23274 * minibuffer.el (completion--done): New fun.
23275 (completion--do-completion): Use it. New arg `expect-exact'.
23276 (minibuffer-complete, minibuffer-complete-word): Don't output message,
23277 since completion--do-completion does it for us now.
23278 (minibuffer-force-complete): Use completion--done and
23279 completion--replace. Handle sole-completion case with more care.
23280 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
23281 (completion-extra-properties): New var.
23282 (completion-annotate-function): Make obsolete.
23283 (minibuffer-completion-help): Adjust accordingly.
23284 Use completion-list-insert-choice-function.
23285 (completion-at-point, completion-help-at-point):
23286 Bind completion-extra-properties.
23287 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
23288 * simple.el (completion-list-insert-choice-function): New var.
23289 (completion-setup-function): Preserve it.
23290 (choose-completion): Pay attention to it, shuffle the code a bit.
23291 (choose-completion-string): New arg `insert-function'.
23292
23293 * textmodes/bibtex.el: Convert to lexical binding.
23294 (bibtex-mode-map): Use completion-at-point.
23295 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
23296 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
23297 (bibtex-complete): Define as obsolete alias.
23298 (bibtex-complete-internal): Remove.
23299 (bibtex-format-entry): Remove unused sub-group in regexp.
23300 * shell.el (shell--command-completion-data)
23301 (shell-environment-variable-completion):
23302 * pcomplete.el (pcomplete-completions-at-point):
23303 * comint.el (comint--complete-file-name-data): Use :exit-function
23304 instead of completion-table-with-terminator so it also works for
23305 choose-completion.
23306
e44e373d
SM
233072011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
23308
4f91a816
SM
23309 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
23310
782fc819
SM
23311 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
23312 (bug#8710).
23313
e44e373d
SM
23314 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
23315
381987c3
KM
233162011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
23317
23318 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
23319 customization variable and implement: If non-nil, auto-fill will
23320 be inhibited while on topic's header line.
23321
b776bc70
VB
233222011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
23323
23324 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 23325 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
23326 always have a solution in grid size = 5 cases.
23327 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
23328 (5x5-solver-output, 5x5-log-buffer): New vars.
23329 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
23330 Make these variables buffer local to achieve 5x5 multi-session-ness.
23331 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
23332 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
23333 (5x5-solve-suggest): New funs.
23334 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
23335 randomize a grid so that we ensure that there is always a solution.
23336 (5x5-make-random-grid): Allow other movement than flipping.
23337
7de88b6e
KR
233382011-05-23 Kevin Ryde <user42@zip.com.au>
23339
23340 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 23341 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
23342 advice and passes PREDICATE.
23343
b1ef1257
SM
233442011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
23345
bbca48fe
SM
23346 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
23347 byte-compile-lambda if it's actually a lambda.
23348
b1ef1257
SM
23349 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
23350 Fix function quoting. Use backquote better.
23351
92a9cc65
YS
233522011-05-22 Yuanle Song <sylecn@gmail.com>
23353
23354 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
23355 matching (Bug#8516).
23356
fe93f41a 233572011-05-22 Jari Aalto <jari.aalto@cante.net>
f0fb8059
JA
23358
23359 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
23360 different face (Bug#8178).
23361
d5b44c93
CY
233622011-05-22 Chong Yidong <cyd@stupidchicken.com>
23363
23364 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
23365 defface (Bug#8144).
23366
79106a44
SM
233672011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
23368
9c848d8a
SM
23369 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
23370 funcall as well (bug#8712). Warn when performing those conversions.
23371 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
23372
79106a44
SM
23373 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
23374
88dfa756
GM
233752011-05-22 Glenn Morris <rgm@gnu.org>
23376
23377 * files.el (hack-local-variables-prop-line): Small simplifications.
23378 (hack-local-variables, hack-local-variables-prop-line):
23379 If MODE-ONLY, return the mode, rather than just `t'.
23380
b7cf2c79
SM
233812011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
23382
23383 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
23384
3f1a8558
GM
233852011-05-21 Glenn Morris <rgm@gnu.org>
23386
7e4ccca3
GM
23387 * files.el (hack-local-variables-prop-line, hack-local-variables):
23388 If only interested in the mode, don't bother doing the other stuff.
23389
637d46ca
GM
23390 * image-mode.el (image-after-revert-hook):
23391 Redraw all frames on which the image is visible. (Bug#8567)
23392
973d955b
GM
23393 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
23394
3f1a8558
GM
23395 * wid-edit.el (widget-checklist-match-inline):
23396 Fix 2011-04-19 change. (Bug#8649)
23397
96479927
SM
233982011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
23399
1dcf791f
SM
23400 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
23401 Also allow singlespace after single-letter capitals followed by a dot.
23402
96479927
SM
23403 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
23404 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
23405
35fd0881
N
234062011-05-20 Nix <nix@esperi.org.uk>
23407
23408 * files.el (basic-save-buffer-2):
23409 Fix handling of break-hardlink-on-save with non-existent files.
23410
82745640
DD
234112011-05-19 Deniz Dogan <deniz@dogan.se>
23412
23413 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 23414 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 23415
4a720484
GM
234162011-05-19 Glenn Morris <rgm@gnu.org>
23417
d1f21341
GM
23418 * progmodes/f90.el (f90-type-def-re):
23419 Handle "type, bind(c)". (Bug#8691)
23420
4a720484
GM
23421 * emacs-lisp/autoload.el (batch-update-autoloads):
23422 Set autoload-excludes by parsing loadup.el rather than Makefiles.
23423
2fb0a219
MA
234242011-05-18 Michael Albinus <michael.albinus@gmx.de>
23425
23426 * net/tramp.el (tramp-process-actions): Set "first-password-request"
23427 property for the correct connection in case of multihops.
23428
e565dd37
GM
234292011-05-18 Glenn Morris <rgm@gnu.org>
23430
c2571358 23431 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
23432 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
23433
e565dd37
GM
23434 Rationalize calendar handling of day and month abbrev-arrays.
23435 * calendar/calendar.el (calendar-customized-p): New function.
23436 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
23437 (calendar-day-name-array, calendar-month-name-array): Doc fix.
23438 Add :set function.
23439 (calendar-abbrev-length, calendar-day-abbrev-array)
23440 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
23441 (calendar-day-abbrev-array, calendar-month-abbrev-array):
23442 Elements may no longer be nil.
23443 (calendar-day-name, calendar-month-name):
23444 Update for changed nature of abbrev arrays.
23445 * calendar/diary-lib.el (diary-name-pattern):
23446 Update for changed nature of abbrev arrays.
23447 (diary-mark-entries-1): Update calendar-make-alist calls.
23448 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
23449 * calendar/cal-html.el (cal-html-day-abbrev-array):
23450 Simply inherit from calendar-day-abbrev-array.
23451
1d99a745
SM
234522011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
23453
23454 * progmodes/grep.el (grep-mode): Disable default
23455 compilation-directory-matcher setting (bug#8684).
23456
7c1d9aa0
MA
234572011-05-17 Michael Albinus <michael.albinus@gmx.de>
23458
23459 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
23460 instead of "head" and "tail". There were problems with SunOS 5.9,
23461 and it performs better.
23462
3952e9d8
GM
234632011-05-17 Glenn Morris <rgm@gnu.org>
23464
2dd12e7f
GM
23465 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
23466
e4157b9c
GM
23467 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
23468 Replace obsolete function.
23469
8e249bbd
GM
23470 * shell.el (pcomplete-parse-arguments-function): Declare.
23471
3952e9d8
GM
23472 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
23473 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
23474 (appt-check): Doc fixes.
23475 (appt-disp-window-function, appt-delete-window-function):
23476 Remove needless special case in custom :type.
23477 (appt-display-count): Default to 0, not nil.
23478 (appt-check): Reset appt-display-count to 0, not nil.
23479
c71a0d48 234802011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 23481
c71a0d48
GM
23482 * progmodes/python.el (python-font-lock-keywords):
23483 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 23484
31d55be9
SM
234852011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
23486
23487 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
23488
3bfacb2f
KR
234892011-05-16 Kevin Ryde <user42@zip.com.au>
23490
23491 * info-look.el (makefile-automake-mode): New setups, looking in
23492 automake manual, then makefile-mode.
23493 (makefile-mode): Remove automake manual, have it just in
23494 makefile-automake-mode since there's various things different or
23495 not relevant to plain make.
23496 (makefile-mode): Remove "other-modes" non-existent automake-mode,
23497 believe a hypothetical automake-mode would go to makefile-mode,
23498 not the other way around.
23499
c8e83751
CY
235002011-05-15 Chong Yidong <cyd@stupidchicken.com>
23501
5e9e35cd
CY
23502 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
23503 hunk-end tags (Bug#8672).
23504
c8e83751
CY
23505 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
23506 vc-annotate-show-diff-revision-at-line (Bug#8671).
23507
50b23e5a
GM
235082011-05-14 Glenn Morris <rgm@gnu.org>
23509
7210a739
GM
23510 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
23511 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
23512 (change-log-font-lock-keywords): Also handle multiple author lines
23513 with leading tabs. (Bug#8644)
7210a739 23514
4691905a
GM
23515 * calendar/appt.el (appt-check): Rename some local variables.
23516 Some simplification/reordering.
23517
50b23e5a
GM
23518 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
23519 (feedmail-sendmail-f-doesnt-sell-me-out)
23520 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
23521 (feedmail-debug-sit-for, feedmail-queue-express-hook)
23522 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
23523 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
23524 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
23525 (feedmail-binmail-gnulinuxish-template):
23526 Rename from feedmail-binmail-linuxish-template.
23527 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
23528 Use insert-buffer-substring.
23529
215cda7c
BC
235302011-05-14 Bill Carpenter <bill@carpenter.org>
23531
23532 * mail/feedmail.el (feedmail-patch-level): Increase.
23533 (feedmail-debug): New custom group.
23534 (feedmail-confirm-outgoing-timeout)
23535 (feedmail-sendmail-f-doesnt-sell-me-out)
23536 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
23537 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
23538 (feedmail-sender-line, feedmail-from-line)
23539 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 23540 (feedmail-spray-this-address)
215cda7c
BC
23541 (feedmail-spray-address-fiddle-plex-list)
23542 (feedmail-queue-use-send-time-for-date)
23543 (feedmail-queue-use-send-time-for-message-id)
23544 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
23545 (feedmail-buffer-eating-function):
23546 Doc fixes.
23547 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
23548 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
23549 (feedmail-message-action-scroll-down): New functions.
23550 (feedmail-queue-directory, feedmail-queue-draft-directory):
23551 Use expand-file-name.
23552 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
23553 Remove C-v help entry.
23554 (feedmail-queue-buffer-file-name): New variable.
23555 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
23556 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
23557 (feedmail-message-action-send-strong, feedmail-message-action-edit)
23558 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
23559 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
23560 (feedmail-message-action-toggle-spray)
23561 (feedmail-run-the-queue-no-prompts)
23562 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
23563 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
23564 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
23565 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
23566 (feedmail-envelope-deducer, feedmail-fiddle-from)
23567 (feedmail-fiddle-sender, feedmail-default-date-generator)
23568 (feedmail-fiddle-date, feedmail-fiddle-message-id)
23569 (feedmail-fiddle-spray-address)
23570 (feedmail-fiddle-list-of-spray-fiddle-plexes)
23571 (feedmail-fiddle-list-of-fiddle-plexes)
23572 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
23573 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
23574 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
23575 Change default. Doc fix.
23576 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
23577 (feedmail-binmail-linuxish-template): New constant.
23578 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
23579 Respect feedmail-sendmail-f-doesnt-sell-me-out.
23580 (feedmail-send-it): Add debug call.
23581 Use feedmail-queue-buffer-file-name, and
23582 feedmail-send-it-immediately-wrapper.
23583 (feedmail-message-action-send): Add debug call.
23584 Use feedmail-send-it-immediately-wrapper.
23585 (feedmail-queue-express-to-queue): Add debug call.
23586 Run feedmail-queue-express-hook.
23587 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
23588 (feedmail-message-action-help-blat):
23589 Rename from feedmail-queue-send-edit-prompt-help-first.
23590 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
23591 Check line-endings. Handle errors better.
23592 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
23593 Doc fix. Add debug call.
23594 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
23595 Use feedmail-queue-send-edit-prompt-inner.
23596 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
23597 (feedmail-queue-send-edit-prompt-inner): New function, extracted
23598 from feedmail-queue-send-edit-prompt.
23599 (feedmail-queue-send-edit-prompt-help)
23600 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
23601 (feedmail-tidy-up-slug): Add debug call.
23602 Respect feedmail-queue-slug-suspect-regexp.
23603 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
23604 (feedmail-dump-message-to-queue): Add debug call.
23605 Expand queue-directory.
23606 (feedmail-dump-message-to-queue): Change message slightly.
23607 Use feedmail-say-chatter.
23608 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
23609 (feedmail-send-it-immediately-wrapper): New function.
23610 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
23611 Insert empty string rather than newline. Handle full-frame case.
23612 Use catch/throw. Use feedmail-say-chatter.
23613 (feedmail-fiddle-from): Try mail-host-address.
23614 (feedmail-default-message-id-generator): Doc fix.
23615 Bind system-time-locale. Handle missing end.
23616 (feedmail-fiddle-x-mailer): Add debug call.
23617 Handle feedmail-x-mailer-line being nil.
23618 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
23619 Add debug call. Use buffer-substring-no-properties.
23620 (feedmail-say-debug, feedmail-say-chatter): New functions.
23621 (feedmail-find-eoh): Give an explicit error.
23622
42c7e61e
UJ
236232011-05-13 Ulf Jasper <ulf.jasper@web.de>
23624
c2571358 23625 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 23626 family from helvetica to sans.
c2571358 23627 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
23628 etc/images/newsticker.
23629
c2571358 23630 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
23631 family from helvetica to sans.
23632
23633 * net/newst-plainview.el (newsticker-new-item-face)
23634 (newsticker-old-item-face, newsticker-immortal-item-face)
23635 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 23636 (newsticker-statistics-face): Change default family from
42c7e61e 23637 helvetica to sans.
c2571358 23638 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
23639 etc/images/newsticker.
23640
5d3385a0
JB
23641 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
23642 (newsticker--process-auto-mark-filter-match): Tell user about
42c7e61e
UJ
23643 auto-marking.
23644
8497a297
DV
236452011-05-13 Didier Verna <didier@xemacs.org>
23646
23647 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
23648 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
23649 TODO entries.
8497a297
DV
23650 (lisp-lambda-list-keyword-parameter-indentation)
23651 (lisp-lambda-list-keyword-parameter-alignment)
23652 (lisp-lambda-list-keyword-alignment): New customizable user options.
23653 (lisp-indent-defun-method): Improve docstring.
23654 (extended-loop-p): Fix comment.
23655 (lisp-indent-lambda-list-keywords-regexp): New variable.
23656 (lisp-indent-lambda-list): New function.
23657 (lisp-indent-259): Use it.
23658 (lisp-indent-defmethod): Support for more than one
23659 method qualifier and properly indent methods lambda-lists.
23660 (defgeneric): Provide a missing common-lisp-indent-function property.
23661
f278f87f
SM
236622011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
23663
23664 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
23665 bounds for the empty string (bug#8667).
23666
5233edd7
GM
236672011-05-13 Glenn Morris <rgm@gnu.org>
23668
5237a44f
GM
23669 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
23670
8340026c 23671 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 23672 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 23673
5233edd7 23674 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 23675 (appt-time-msg-list): Doc fix.
a5464014 23676 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 23677
92d10796
AS
236782011-05-12 Andreas Schwab <schwab@linux-m68k.org>
23679
23680 * progmodes/ld-script.el (ld-script-keywords)
23681 (ld-script-builtins): Update keywords list.
23682
914a0ae1
SM
236832011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
23684
c89be45f
SM
23685 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
23686
914a0ae1
SM
23687 * shell.el (shell-completion-vars): New function.
23688 (shell-mode):
23689 * simple.el (read-shell-command): Use it.
23690 (blink-matching-open): No need for " [...]" in minibuffer-message.
23691
98dc3df3
GM
236922011-05-12 Glenn Morris <rgm@gnu.org>
23693
23694 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
23695 (appt-check): Simplify.
23696
d2fc7e3d 236972011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 23698
4d61f28d 23699 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
23700 literal "/dev/null".
23701
d2fc7e3d 237022011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
23703
23704 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
23705 Fix typo.
23706
d2fc7e3d 237072011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 23708
3f254caa
SM
23709 * progmodes/which-func.el (which-function):
23710 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
23711 which might not be defined (Bug#8260).
23712
d45885f7
GM
237132011-05-12 Glenn Morris <rgm@gnu.org>
23714
23715 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
23716 Let byte-compile-initial-macro-environment always take precedence.
23717
488086f4
SM
237182011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
23719
23720 * net/rcirc.el: Add support for SSL/TLS connections.
23721 (rcirc-server-alist): New field `encryption'.
23722 (rcirc): Check `encryption' settings.
23723 (rcirc-connect): New arg `encryption'. Use open-network-stream.
23724 Merge make-local-variable into `set'.
23725 (rcirc--connection-open-p): New function.
23726 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
23727 the process is not a network process (e.g. running gnutls-cli).
23728 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
23729 Make rcirc-(en|de)code-coding-system local here.
23730 (rcirc-mode): Merge make-local-variable into `set'.
23731 (rcirc-parent-buffer): Make permanent buffer-local.
23732 (rcirc-multiline-minor-mode): Don't do it here.
23733 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
23734 there's no server buffer.
23735
7d3b9d44
GM
237362011-05-11 Glenn Morris <rgm@gnu.org>
23737
f64049c6
GM
23738 * newcomment.el (comment-kill): Prefix "unused" local.
23739
93c9df73
GM
23740 * term/w32console.el (get-screen-color): Declare.
23741
7d3b9d44
GM
23742 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
23743 Handle symbol elements of byte-compile-initial-macro-environment.
23744
9e2dd53f
LL
237452011-05-10 Leo Liu <sdl.web@gmail.com>
23746
488086f4
SM
23747 * bookmark.el (bookmark-bmenu-mode-map):
23748 Bind bookmark-bmenu-search to `/'.
8b340240 23749
9e2dd53f 23750 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
23751 (footnote-unicode-string, footnote-unicode-regexp): New variable.
23752 (Footnote-unicode): New function.
23753 (footnote-style-alist): Add unicode style to the list.
23754 (footnote-style): Doc fix.
9e2dd53f 23755
79b70037
GM
237562011-05-10 Jim Meyering <meyering@redhat.com>
23757
23758 Fix doubled-word typos.
23759 * international/quail.el (quail-insert-kbd-layout): and and -> and
23760 * kermit.el: and and -> and
23761 * net/ldap.el (ldap-search-internal): to to -> to
23762 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
23763 * progmodes/js.el (js-mode): and and -> and
23764 * textmodes/artist.el (artist-move-to-xy): at at -> at
23765 (artist-draw-region-trim-line-endings): if if -> if
23766 And Safetyc -> Safety.
23767 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
23768
b8f82dc1 237692011-05-10 Glenn Morris <rgm@gnu.org>
f1a71c6e 23770 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
23771
23772 * files.el (hack-one-local-variable-eval-safep):
23773 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
23774
4f99f44b
GM
237752011-05-10 Glenn Morris <rgm@gnu.org>
23776
23777 * calendar/diary-lib.el (diary-list-entries-hook)
23778 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
23779 (diary-nongregorian-marking-hook, diary-list-entries)
23780 (diary-include-other-diary-files, diary-mark-entries)
23781 (diary-mark-included-diary-files): Doc fixes.
23782
84f29e6b
JB
237832011-05-09 Juanma Barranquero <lekktu@gmail.com>
23784
23785 * misc.el: Require tabulated-list.el during compilation.
23786
9bedd73a
CY
237872011-05-09 Chong Yidong <cyd@stupidchicken.com>
23788
488086f4
SM
23789 * progmodes/compile.el (compilation-start):
23790 Run compilation-filter-hook for the async case too.
9bedd73a
CY
23791 (compilation-filter-hook): Doc fix.
23792
797c735c
DD
237932011-05-09 Deniz Dogan <deniz@dogan.se>
23794
23795 * wdired.el: Remove outdated installation comment. Fix usage
23796 comment.
23797
5f4b1dfe
JB
237982011-05-09 Juanma Barranquero <lekktu@gmail.com>
23799
23800 * misc.el: Implement new command `list-dynamic-libraries'.
23801 (list-dynamic-libraries--loaded-only-p): New variable.
23802 (list-dynamic-libraries--refresh): New function.
23803 (list-dynamic-libraries): New command.
23804
4c44026c
CY
238052011-05-09 Chong Yidong <cyd@stupidchicken.com>
23806
488086f4
SM
23807 * progmodes/compile.el (compilation-error-regexp-alist-alist):
23808 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
23809 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
23810 higher priority to avoid clobbering by gnu.
23811
027f966d
CY
238122011-05-08 Chong Yidong <cyd@stupidchicken.com>
23813
23814 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
23815 if the face has existing theme settings (Bug#8454).
23816
085f5d7d
CY
238172011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
23818
488086f4
SM
23819 * progmodes/perl-mode.el (perl-imenu-generic-expression):
23820 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 23821
2a86a00c
RS
23822 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
23823 special file names `.' and `..' (Bug#8259).
23824
d9c54a06
CY
238252011-05-08 Chong Yidong <cyd@stupidchicken.com>
23826
488086f4
SM
23827 * progmodes/grep.el (grep-mode-font-lock-keywords):
23828 Remove buffer-changing entries.
d9c54a06
CY
23829 (grep-filter): New function.
23830 (grep-mode): Add it to compilation-filter-hook.
23831
23832 * progmodes/compile.el (compilation-filter-hook)
23833 (compilation-filter-start): New defvars.
23834 (compilation-filter): Call compilation-filter-hook prior to
23835 updating the process mark.
23836
c4662635
SM
238372011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
23838
23839 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
23840
b0512a1d
EZ
238412011-05-07 Eli Zaretskii <eliz@gnu.org>
23842
605c9376
EZ
23843 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
23844 mailclient-send-it even if window-system is nil. (Bug#8595)
23845
c4662635
SM
23846 * term/w32console.el (terminal-init-w32console):
23847 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
23848 background-mode. (Bug#8597)
23849
d1dc2cc2
SM
238502011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
23851
23852 Make bytecomp.el understand that defmethod defines funs (bug#8631).
23853 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
23854 New functions.
23855 (defgeneric, eieio--defmethod): Use them.
23856 (eieio-defgeneric): Remove.
23857 (defmethod): Call defgeneric in a way visible to the byte-compiler.
23858
915d1300
GM
238592011-05-07 Glenn Morris <rgm@gnu.org>
23860
a3961c3e
GM
23861 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
23862 Use let rather than let*.
23863 (timeclock-find-discrep): Remove unused local.
23864
314347b9
GM
23865 * calendar/diary-lib.el (diary-comment-start): Doc fix.
23866
915d1300
GM
23867 * calendar/appt.el (appt-time-msg-list): Doc fix.
23868
275b59b0
NF
238692011-05-06 Noah Friedman <friedman@splode.com>
23870
23871 * apropos.el (apropos-print-doc): Only use
23872 emacs-lisp-docstring-fill-column when it is bound to an integer,
23873 per that variable's documentation.
23874
6c19f744
SM
238752011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
23876
23877 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 23878 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 23879
60f884b2
GM
238802011-05-06 Glenn Morris <rgm@gnu.org>
23881
5006e634
GM
23882 * calendar/appt.el (appt-message-warning-time): Doc fix.
23883 (appt-warning-time-regexp): New option.
23884 (appt-make-list): Respect appt-message-warning-time.
23885
548d0a63
GM
23886 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
23887 New options.
23888 (diary-add-to-list): Strip comments from the displayed string.
23889 (diary-mode): Set comment-start and comment-end.
23890
60f884b2
GM
23891 * vc/diff-mode.el (smerge-refine-subst): Declare.
23892 (diff-refine-hunk): Don't require smerge-mode when compiling.
23893
989681bb
JB
238942011-05-06 Juanma Barranquero <lekktu@gmail.com>
23895
23896 * simple.el (list-processes): Return nil as the docstring says.
23897
a6bc05e1
MA
238982011-05-05 Michael Albinus <michael.albinus@gmx.de>
23899
23900 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
23901 to "".
23902 (ange-ftp-write-region, ange-ftp-insert-file-contents)
23903 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
23904 determining of binary transfer. (Bug#7383)
23905
23c22e9a
MA
239062011-05-05 Michael Albinus <michael.albinus@gmx.de>
23907
c4662635
SM
23908 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
23909 Fix port computation bug. (Bug#8618)
23c22e9a 23910
0bff894f
GM
239112011-05-05 Glenn Morris <rgm@gnu.org>
23912
b8296902
GM
23913 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
23914
1f522ce8
GM
23915 * simple.el (shell-dynamic-complete-functions)
23916 (comint-dynamic-complete-functions): Declare.
23917
cf5bee67
GM
23918 * net/network-stream.el (gnutls-negotiate):
23919 * simple.el (tabulated-list-print): Fix declarations.
23920
23921 * progmodes/gud.el (syntax-symbol, syntax-point):
23922 Remove unnecessary and incorrect declarations.
23923
0bff894f 23924 * emacs-lisp/check-declare.el (check-declare-scan):
1f9f395d 23925 Handle byte-compile-initial-macro-environment in bytecomp.el.
0bff894f 23926
9869b3ae
SM
239272011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
23928
23929 Fix earlier half-done eieio-defmethod change (bug#8338).
23930 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
23931 Streamline and change calling convention.
23932 (defmethod): Adjust accordingly and simplify.
23933 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
23934 new eieio--defmethod.
23935 (slot-boundp): Minor CSE simplification.
23936
9c1d5ac5
MZ
239372011-05-05 Milan Zamazal <pdm@zamazal.org>
23938
23939 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
23940 (glasses-make-readable): Use glasses-separate-capital-groups.
23941
455c834e
JB
239422011-05-05 Juanma Barranquero <lekktu@gmail.com>
23943
23944 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
23945 (warning-series): Doc fix.
23946 (display-warning): Don't try to create the buffer if we just found it.
23947
9ed7c8cb
CY
239482011-05-04 Chong Yidong <cyd@stupidchicken.com>
23949
23950 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
23951 (autoload-find-generated-file): New function.
23952 (generate-file-autoloads): Bind generated-autoload-file to
23953 buffer-file-name.
9869b3ae
SM
23954 (update-file-autoloads, update-directory-autoloads):
23955 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
23956 output file (Bug#7989).
23957 (batch-update-autoloads): Doc fix.
23958
0898ca10
JB
239592011-05-04 Juanma Barranquero <lekktu@gmail.com>
23960
23961 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
23962
31dfb76c
GM
239632011-05-04 Glenn Morris <rgm@gnu.org>
23964
f330b642
GM
23965 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
23966 function, so it follows changes in calendar-date-style.
23967 (diary-fancy-date-matcher): New function.
23968 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
23969 (diary-fancy-font-lock-fontify-region-function):
23970 Use diary-fancy-date-pattern as a function.
23971
31dfb76c
GM
23972 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
23973 non-numbers for `year' etc pseudo-variables. (Bug#8583)
23974
48e79d6a
TZ
239752011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
23976
23977 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
23978 instead of positional arguments. Allow :keylist and :crlfiles
23979 arguments.
23980 (open-gnutls-stream): Call it.
23981
23982 * net/network-stream.el (network-stream-open-starttls): Adjust to
23983 call `gnutls-negotiate' with :process and :hostname arguments.
23984
dd5a5ee0
SM
239852011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
23986
ef80fc09
SM
23987 * minibuffer.el (completion--message): New function.
23988 (completion--do-completion, minibuffer-complete)
23989 (minibuffer-force-complete, minibuffer-complete-word): Use it.
23990 (completion--do-completion): Don't ignore completion-auto-help when in
23991 icomplete-mode.
23992
dd5a5ee0
SM
23993 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
23994 internal encoding (e.g. tibetan zero is not whitespace).
23995 (global-whitespace-mode): Prefer save-current-buffer.
23996 (whitespace-trailing-regexp): Remove useless save-match-data.
23997 (whitespace-empty-at-bob-regexp): Minor simplification.
23998
b7d22a83
CY
239992011-05-03 Chong Yidong <cyd@stupidchicken.com>
24000
24001 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
24002
5192af46
AM
240032011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
24004
24005 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 24006 Use `concat' to create string for insertion.
5192af46 24007
5767d190
SM
240082011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
24009
24010 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
24011 Avoid open-line which runs post-self-insert-hook.
24012 (bibtex-fill-entry): Remove unused `end' var.
24013
bf242939
AM
240142011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
24015
5767d190
SM
24016 * textmodes/ispell.el (ispell-add-per-file-word-list):
24017 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 24018
25666126
LL
240192011-05-03 Leo Liu <sdl.web@gmail.com>
24020
24021 * isearch.el (isearch-yank-pop): New command.
5767d190 24022 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
24023 (isearch-forward): Mention it.
24024
52d3c2d0
SM
240252011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
24026
1bcace58
SM
24027 * simple.el (minibuffer-complete-shell-command): Remove.
24028 (minibuffer-local-shell-command-map): Use completion-at-point.
24029 (read-shell-command): Setup completion vars here instead.
24030 (read-expression-map): Bind TAB to symbol completion.
24031
52d3c2d0
SM
24032 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
24033 error directly rather via storing it into `results'.
24034
35813471
LL
240352011-05-02 Leo Liu <sdl.web@gmail.com>
24036
24037 * vc/diff.el: Fix description.
24038
e793a940
LMI
240392011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
24040
24041 * server.el (server-eval-at): New function.
24042
8de66e05
LMI
240432011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
24044
24045 * net/network-stream.el (open-network-stream): Take a :nowait
24046 parameter and pass it on to `make-network-process'.
24047 (network-stream-open-plain): Ditto.
24048
dcb79f20
AS
240492011-04-30 Andreas Schwab <schwab@linux-m68k.org>
24050
24051 * faces.el (face-spec-set-match-display): Don't match toolkit
24052 options on terminal frames.
24053
14a7fbd8
SM
240542011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
24055
7eabc1be
SM
24056 * progmodes/pascal.el: Use lexical binding.
24057 (pascal-mode-map): Remove author preferences.
24058
14a7fbd8
SM
24059 * pcomplete.el (pcomplete-std-complete): Don't abuse
24060 completion-at-point.
24061
50f84510
JB
240622011-04-28 Juanma Barranquero <lekktu@gmail.com>
24063
6e087a44
JB
24064 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
24065 removing code that has been dead since 1991 or so.
24066
50f84510
JB
24067 * startup.el (command-line): When warning about "_emacs", use a
24068 delayed warning to allow the user to filter it out.
24069
0ba690bd
DD
240702011-04-28 Deniz Dogan <deniz@dogan.se>
24071
24072 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
24073 user has not joined.
24074
08abfaad
SM
240752011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
24076
24077 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
24078 aren't any completions at point.
24079
638f053a
JB
240802011-04-28 Juanma Barranquero <lekktu@gmail.com>
24081
24082 * subr.el (display-delayed-warnings): New function.
24083 (delayed-warnings-hook): New variable.
24084
8fff8daa
SM
240852011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
24086
08abfaad
SM
24087 * minibuffer.el (completion-at-point, completion-help-at-point):
24088 Don't presume that a given completion-at-point-function will always
24089 use the same calling convention.
24090
8fff8daa
SM
24091 * pcomplete.el (pcomplete-completions-at-point):
24092 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
24093 pcomplete-seen is non-nil.
24094 (pcomplete-comint-setup): Also recognize the new comint/shell
24095 completion functions.
24096 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
24097 pcomplete-seen is non-nil.
24098
841a1577 240992011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 24100
841a1577 24101 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 24102 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 24103 the first character in the entry. This allows for code to add its
211ec907
UJ
24104 own uid to the entry.
24105 (icalendar--convert-float-to-ical): Add export of
24106 `diary-float'-entries save for those with the optional DAY
24107 argument.
24108
2a782793
DC
241092011-04-27 Daniel Colascione <dan.colascione@gmail.com>
24110
24111 * subr.el (shell-quote-argument): Use alternate escaping strategy
24112 when we spot a variable reference in a string.
24113
0438ce91
DC
241142011-04-26 Daniel Colascione <dan.colascione@gmail.com>
24115
24116 * cus-start.el (all): Define customization for debug-on-event.
24117
841a1577 241182011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
24119
24120 * subr.el (shell-quote-argument): Escape correctly under Windows.
24121
d090ed6c
SM
241222011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
24123
24124 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
24125
bfd31217
MA
241262011-04-25 Michael Albinus <michael.albinus@gmx.de>
24127
d090ed6c
SM
24128 * net/tramp.el (tramp-process-actions): Add POS argument.
24129 Delete region between POS and (pos).
bfd31217 24130
d090ed6c
SM
24131 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
24132 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
24133 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
24134
24135 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
24136 position in `tramp-process-actions' call.
24137
24138 * net/trampver.el: Update release number.
24139
e92f3bd3
SM
241402011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
24141
850256b5
SM
24142 * custom.el (defcustom): Obey lexical-binding.
24143
e92f3bd3
SM
24144 Fix octave-inf completion problems reported by Alexander Klimov.
24145 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
24146 Inherit from octave-mode-syntax-table.
24147 (inferior-octave-mode): Set info-lookup-mode.
24148 (inferior-octave-completion-at-point): New function.
24149 (inferior-octave-complete): Use it and completion-in-region.
24150 (inferior-octave-dynamic-complete-functions): Use it as well, and use
24151 comint-filename-completion.
24152 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
24153 symbol elements which shouldn't be word elements.
24154 (octave-font-lock-keywords, octave-beginning-of-defun)
24155 (octave-function-header-regexp): Adjust regexps accordingly.
24156 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
24157
cd22b309
JB
241582011-04-25 Juanma Barranquero <lekktu@gmail.com>
24159
24160 * net/gnutls.el (gnutls-errorp): Declare before first use.
24161
8b492194
TZ
241622011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
24163
24164 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
24165 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 24166 default trustfile exists before going to use it. Add missing
5a5fa834 24167 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
24168 Reported by Claudio Bley <claudio.bley@gmail.com>.
24169 (open-gnutls-stream): Add usage example.
24170
24171 * net/network-stream.el (network-stream-open-starttls): Give host
24172 parameter to `gnutls-negotiate'.
24173 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 24174 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 24175
841a1577 241762011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 24177
cd22b309
JB
24178 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
24179 Use correct match group (bug#8438).
05842630 24180
3ba7869c
CY
241812011-04-24 Chong Yidong <cyd@stupidchicken.com>
24182
512e3ae1
CY
24183 * emacs-lisp/package.el (package-built-in-p): Fix typo.
24184 (package-menu--generate): New arg specifying packages to show.
24185 (package-menu-refresh, package-menu-execute, list-packages):
24186 Callers changed.
24187 (package-show-package-list): New function, replacing deleted
24188 package--list-packages (renamed because it is non-internal).
24189
24190 * finder.el (finder-list-matches): Use package-show-package-list
24191 instead of deleted package--list-packages.
24192
e92f3bd3
SM
24193 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
24194 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
24195 (vc-annotate-mode-map): Bind it to RET.
24196
7031be6d
UR
241972011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
24198
24199 * progmodes/etags.el (next-file): Don't use set-buffer to change
24200 buffers (Bug#8478).
24201
4ef177aa
CY
242022011-04-24 Chong Yidong <cyd@stupidchicken.com>
24203
c8d173eb
CY
24204 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
24205
4ef177aa
CY
24206 * apropos.el (apropos-label-face): Avoid variable-pitch face.
24207 (apropos-accumulator): Doc fix.
24208 (apropos-function, apropos-macro, apropos-command)
24209 (apropos-variable, apropos-face, apropos-group, apropos-widget)
24210 (apropos-plist): Add face property.
24211 (apropos-symbols-internal): Fix indentation.
24212 (apropos-print): Simplify help, and recognize apropos-multi-type.
24213 (apropos-print-doc): Use button-type-get to extract the button's
24214 face property. Fill docstring (Bug#8352).
24215
4ffd0d6b 242162011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
24217
24218 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
24219
c6c32125 24220 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 24221 (mpuz-mode-map): Use mapc.
c6c32125
JB
24222 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
24223 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
24224 Fix typos in docstrings.
24225
58d468b4
JB
24226 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
24227 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
24228
6470c3c6
JB
24229 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
24230
4ffd0d6b 242312011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
24232
24233 * minibuffer.el (completion--do-completion): Avoid the "Next char
24234 not unique" prompt if icomplete-mode is enabled (Bug#5849).
24235
3ad8bad0
CY
24236 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
24237 mouse-2 into unread-command-events, it is interpreted correctly.
24238
71d73c9c 24239 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 24240 (image-toggle-display): Doc fix.
71d73c9c 24241
841a1577 242422011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 24243
4ffd0d6b
GM
24244 * textmodes/page.el (what-page): Use line-number-at-pos to
24245 calculate line number (Bug#6825).
6e1dbaa9 24246
c2fb1b60
JB
242472011-04-22 Juanma Barranquero <lekktu@gmail.com>
24248
24249 * eshell/esh-mode.el (find-tag-interactive): Declare function.
24250 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
24251 Pass argument NO-DEFAULT to `find-tag-interactive'.
24252
e02f48d7
JB
242532011-04-22 Juanma Barranquero <lekktu@gmail.com>
24254
24255 Lexical-binding cleanup.
24256
24257 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
24258 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
24259 * progmodes/ada-prj.el (ada-prj-initialize-values)
24260 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
24261 (ada-prj-show-value):
24262 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
24263 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
24264 (antlr-invalidate-context-cache, antlr-options-menu-filter)
24265 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
24266 * progmodes/bug-reference.el (bug-reference-push-button):
24267 * progmodes/fortran.el (fortran-line-length):
24268 * progmodes/glasses.el (glasses-change):
24269 * progmodes/octave-mod.el (octave-fill-paragraph):
24270 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
24271 (python-pdbtrack-grub-for-buffer, python-sentinel):
24272 * progmodes/sql.el (sql-save-connection):
24273 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
24274 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
24275 Mark unused parameters.
24276
24277 * progmodes/compile.el (compilation--flush-directory-cache)
24278 (compilation--flush-parse, compile-internal): Mark unused parameters.
24279 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
24280 (compilation-next-error-function): Remove unused variable `timestamp'.
24281
24282 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
24283 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
24284
24285 * progmodes/dcl-mode.el (dcl-end-of-command):
24286 Remove unused variable `start'.
24287 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
24288 (dcl-option-value-basic, dcl-option-value-offset)
24289 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
24290 Mark unused parameters.
24291 (dcl-save-local-variable): Remove unused variable `val'.
24292 (mode): Declare.
24293
24294 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
24295 Mark unused parameters.
24296 (delphi-ignore-changes): Move before first use.
24297 (delphi-charset-token-at): Remove unused variable `start'.
24298 (delphi-else-start): Remove unused variable `if-count'.
24299 (delphi-comment-block-start, delphi-comment-block-end):
24300 Remove unused variable `kind'.
24301 (delphi-indent-line): Remove unused variable `new-point'.
24302
24303 * progmodes/ebrowse.el (ebrowse-files-list)
24304 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
24305 Mark unused parameters. Don't quote `lambda'.
24306 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
24307 Don't quote `lambda'.
24308 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
24309 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
24310 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
24311 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
24312 Use `ignore-errors'.
24313 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
24314 (ebrowse-view/find-file-and-search-pattern)
24315 (ebrowse-view/find-member-declaration/definition):
24316 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
24317 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
24318 Rename parameter PREFIX-ARG to PREFIX.
24319 (ebrowse-tags-read-name): Remove unused variables `start' and
24320 `member-info'.
24321 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
24322 to `tags-file'.
24323
24324 * progmodes/etags.el (local-find-tag-hook): Declare.
24325 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
24326 Mark unused parameters.
24327
24328 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
24329 (executable-interpret): Mark unused parameter.
24330
24331 * progmodes/flymake.el (flymake-process-sentinel)
24332 (flymake-after-change-function)
24333 (flymake-create-temp-with-folder-structure)
24334 (flymake-get-include-dirs-dot): Mark unused parameters.
24335 (flymake-safe-delete-directory): Remove unused variable `err'.
24336
24337 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
24338 (speedbar-timer-fn, speedbar-line-text)
24339 (speedbar-change-expand-button-char, speedbar-delete-subblock)
24340 (speedbar-center-buffer-smartly): Declare functions.
24341 (gdb-find-watch-expression): Remove unused variable `array'.
24342 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
24343 (gdb-starting): Mark unused parameters.
24344 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
24345 (gdb-table-string): Remove unused variable `res'.
24346 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
24347 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
24348 (gdb-display-buffer): Remove unused variable `cur-size'.
24349
24350 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
24351 allow lexical-binding compilation.
24352 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
24353 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
24354 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
24355 Mark unused parameters.
24356 (gud-gdb-marker-filter): Remove unused variable `match'.
24357 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
24358 lambda expressions and funcall them, instead of using `fset'.
24359
24360 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
24361 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
24362
24363 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
24364 variable `header-beg'; use `let'.
24365
24366 * progmodes/icon.el (indent-icon-exp): Remove unused variables
24367 `restart', `last-sexp' and `at-do'.
24368
24369 * progmodes/js.el (js--debug): Mark unused parameter.
24370 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
24371 (js--splice-into-items): Remove unused variable `item'.
24372 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
24373
24374 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
24375 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
24376 (makefile-complete): Remove unused variable `try'.
24377 (makefile-fill-paragraph, makefile-match-function-end):
24378 Mark unused parameters.
24379
24380 * progmodes/octave-inf.el (inferior-octave-complete):
24381 Remove unused variable `proc'.
24382 (inferior-octave-output-digest): Mark unused parameter.
24383
24384 * progmodes/perl-mode.el (perl-calculate-indent):
24385 Remove unused variable `err'.
24386
24387 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
24388 (prolog-indent-line): Mark unused parameters.
24389 (prolog-indent-line): Remove unused variable `beg'.
24390
24391 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
24392 (reporter-dont-compact-list): Declare.
24393
24394 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
24395 Remove unused variable `char'.
24396 (sh-debug): Mark unused parameter.
24397 (sh-get-indent-info): Remove unused variable `start'.
24398 (sh-calculate-indent): Remove unused variable `var'.
24399
24400 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
24401 (simula-electric-keyword): Remove unused variable `null'.
24402 (simula-search-backward, simula-search-forward): Remove unused
24403 variables `begin' and `end'.
24404
24405 * progmodes/vera-mode.el (vera-guess-basic-syntax):
24406 Remove unused variable `pos'.
24407 (vera-electric-tab, vera-comment-uncomment-region):
24408 Mark unused parameters.
24409 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
24410
7ede3b65
CY
244112011-04-22 Chong Yidong <cyd@stupidchicken.com>
24412
24413 * emacs-lisp/package.el (package--builtins, package-alist)
24414 (package-load-descriptor, package-built-in-p, package-activate)
24415 (define-package, package-installed-p)
24416 (package-compute-transaction, package-buffer-info)
24417 (package--push): Doc fix. Distinguish more clearly between
24418 version strings and version lists.
24419
121656e9
JB
244202011-04-21 Juanma Barranquero <lekktu@gmail.com>
24421
24422 Lexical-binding cleanup.
24423
24424 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
24425 (5x5-make-mutate-best):
24426 * play/fortune.el (fortune-in-buffer):
24427 * play/gomoku.el (gomoku-init-display):
24428 * play/solitaire.el (solitaire, solitaire-do-check):
24429 * play/tetris.el (tetris-default-update-speed-function):
24430 Mark unused parameters.
24431
24432 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
24433 (bubbles--shift): Remove unused variable `char-org'.
24434 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
24435 (bubbles--show-images): Remove unused variable `char'.
24436
24437 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
24438 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
24439 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
24440 (decipher-analyze-buffer): Use ?\s.
24441 (decipher-make-checkpoint): Remove unused variable `mapping'.
24442
24443 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
24444
24445 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
24446 Remove unused variable `result'; use `let'.
24447
24448 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
24449 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
24450 (gametree-children-shown-p, gametree-compute-reduced-score):
24451 Use `ignore-errors'.
24452
24453 * play/handwrite.el (ps-lpr-switches): Declare.
24454 (handwrite): Remove unused variables `pmin' and `lastp'.
24455
24456 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
24457
24458 * play/landmark.el (landmark-init-display)
24459 (landmark-update-naught-weights): Mark unused parameters.
24460 (landmark-y): Remove unused variable `noise'. Simplify.
24461 (landmark-human-plays): Remove unused variable `score'.
24462
24463 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
24464 (mpuz-try-proposal): Remove unused variable `game'.
24465
24466 * play/zone.el (life-patterns): Declare.
24467
80f499c7
JB
244682011-04-20 Juanma Barranquero <lekktu@gmail.com>
24469
24470 * vc/vc.el (ediff-vc-internal): Declare function.
24471
024ff170
SM
244722011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
24473
c0a193ea
SM
24474 * shell.el: Use lexical-binding and std completion UI.
24475 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
24476 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
24477 comint-preoutput-filter-functions rather than on
24478 comint-output-filter-functions.
24479 (shell-command-completion, shell--command-completion-data)
24480 (shell-filename-completion, shell-environment-variable-completion)
24481 (shell-c-a-p-replace-by-expanded-directory): New functions.
24482 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
24483 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
24484 (shell-dynamic-complete-environment-variable): Use them.
24485 (shell-dynamic-complete-as-environment-variable)
24486 (shell-dynamic-complete-as-command): Remove.
24487 (shell-match-partial-variable): Match past point.
24488 * comint.el: Clean up use of completion-at-point-functions.
24489 (comint-completion-at-point): New function.
24490 (comint-mode): Use it completion-at-point-functions.
24491 (comint-dynamic-complete): Make it obsolete.
24492 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
24493 (comint-c-a-p-replace-by-expanded-history): New function.
24494 (comint-dynamic-complete-functions)
24495 (comint-replace-by-expanded-history): Use it.
24496 * minibuffer.el (completion-table-with-terminator): Allow dynamic
24497 termination strings. Try harder to avoid second try-completion.
24498 (completion-in-region-mode-map): Disable bindings that don't work yet.
24499
2dbaa080
SM
24500 * comint.el: Use lexical-binding. Require CL.
24501 (comint-dynamic-complete-functions): Use comint-filename-completion.
24502 (comint-completion-addsuffix): Tweak custom type.
24503 (comint-filename-completion, comint--common-suffix)
24504 (comint--common-quoted-suffix, comint--table-subvert)
24505 (comint--complete-file-name-data): New functions.
24506 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
24507 (comint-dynamic-list-filename-completions): Use them.
24508 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 24509
2dbaa080
SM
24510 * minibuffer.el (completion-in-region-mode):
24511 Keep completion-in-region-mode--predicate global.
24512 (completion-in-region--postch):
24513 Assume completion-in-region-mode--predicate is not null.
24514
c79a6f38
SM
24515 * progmodes/flymake.el (flymake-start-syntax-check-process):
24516 Obey `dir'. Simplify.
24517
024ff170
SM
24518 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
24519 we're in VC after all.
24520
1c6c854e
CS
245212011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
24522
24523 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 24524 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
24525 (vc-version-diff): Use vc-diff-build-argument-list-internal.
24526
bed7f140
SM
245272011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
24528
332e62ab
SM
24529 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
24530 add sanity check.
24531
bed7f140
SM
24532 * obsolete/erc-hecomplete.el: Make obsolete.
24533 * obsolete/: Standardize obsolescence info in the header.
24534
f195c582
GM
245352011-04-20 Glenn Morris <rgm@gnu.org>
24536
24537 * calendar/solar.el (solar-horizontal-coordinates):
24538 Use the longitude argument rather than `calendar-longitude'.
24539 (solar-date-next-longitude): Remove unused locals.
24540
cb79b8c0
VJL
245412011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
24542
24543 * whitespace.el: New version 13.2.1.
24544
245452011-04-20 felix <EmacsWiki> (tiny change)
24546
d8e4b68b 24547 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
24548 switching between major modes on a file.
24549
602ea69d
SM
245502011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
24551
24552 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
24553 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
24554 multi-line comments as well.
24555
06b60517
JB
245562011-04-19 Juanma Barranquero <lekktu@gmail.com>
24557
24558 Lexical-binding cleanup.
24559
24560 * arc-mode.el (archive-mode-revert):
24561 * cmuscheme.el (scheme-interactively-start-process):
24562 * custom.el (custom-initialize-delay):
24563 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
24564 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
24565 * emacs-lock.el (emacs-lock-clear-sentinel):
24566 * ezimage.el (defezimage):
24567 * follow.el (follow-avoid-tail-recenter):
24568 * fringe.el (set-fringe-mode-1):
24569 * generic-x.el (bat-generic-mode-compile):
24570 * help-mode.el (help-info-variable, help-do-xref)
24571 (help-mode-revert-buffer):
24572 * help.el (view-emacs-todo):
24573 * iswitchb.el (iswitchb-completion-help):
24574 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
24575 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
24576 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
24577 * locate.el (locate-update):
24578 * longlines.el (longlines-encode-region)
24579 (longlines-after-change-function):
24580 * outline.el (outline-isearch-open-invisible):
24581 * ps-def.el (declare-function, charset-dimension, char-width)
24582 (encode-char):
24583 * ps-mule.el (ps-mule-plot-string):
24584 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
24585 (recentf-edit-list-select, recentf-edit-list-validate)
24586 (recentf-open-files-action):
24587 * rect.el (delete-whitespace-rectangle-line)
24588 (rectangle-number-line-callback):
24589 * register.el (window-configuration-to-register)
24590 (frame-configuration-to-register):
24591 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
24592 * select.el (xselect-convert-to-string, xselect-convert-to-length)
24593 (xselect-convert-to-targets, xselect-convert-to-delete)
24594 (xselect-convert-to-filename, xselect-convert-to-charpos)
24595 (xselect-convert-to-lineno, xselect-convert-to-colno)
24596 (xselect-convert-to-os, xselect-convert-to-host)
24597 (xselect-convert-to-user, xselect-convert-to-class)
24598 (xselect-convert-to-name, xselect-convert-to-integer)
24599 (xselect-convert-to-atom, xselect-convert-to-identity):
24600 * subr.el (declare, ignore, process-kill-without-query)
24601 (text-clone-maintain):
24602 * terminal.el (te-get-char, te-tic-sentinel):
24603 * tool-bar.el (tool-bar-make-keymap):
24604 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
24605 * type-break.el (type-break-mode, type-break-noninteractive-query):
24606 * view.el (View-back-to-mark):
24607 * wid-browse.el (widget-browse-action, widget-browse-widget)
24608 (widget-browse-widgets, widget-browse-sexp):
24609 * widget.el (define-widget-keywords):
24610 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
24611 Mark unused parameters.
24612
24613 * align.el (align-adjust-col-for-rule): Mark unused parameter.
24614 (align-areas): Remove unused variable `look'.
24615 (align-region): Remove unused variables `real-end' and `pos-list'.
24616
24617 * apropos.el (apropos-score-doc): Remove unused variable `i'.
24618
24619 * bindings.el (mode-line-modified, mode-line-remote):
24620 Mark unused parameters.
24621 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
24622
24623 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
24624 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
24625
24626 * comint.el (comint-history-isearch-pop-state)
24627 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
24628 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
24629 (comint-substitute-in-file-name): Doc fix.
24630
24631 * completion.el (cmpl-statistics-block): Mark unused parameter.
24632 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
24633 (save-completions-to-file, load-completions-from-file):
24634 Remove unused local variable `e'.
24635
24636 * composite.el (compose-chars): Remove unused variable `len'.
24637 (lgstring-insert-glyph): Remove unused variable `g'.
24638 (compose-glyph-string): Remove unused variables `ascent',
24639 `descent', `lbearing' and `rbearing'.
24640 (compose-glyph-string-relative): Remove unused variables
24641 `lbearing', `rbearing' and `wadjust'.
24642 (compose-gstring-for-graphic): Remove unused variables `header',
24643 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
24644 (compose-gstring-for-terminal): Remove unused variables `header'
24645 and `nchars'. Use `let', not `let*'.
24646
24647 * cus-edit.el (Custom-set, Custom-save, custom-reset)
24648 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
24649 (Custom-buffer-done, custom-buffer-create-internal)
24650 (custom-browse-visibility-action, custom-browse-group-tag-action)
24651 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
24652 (widget-magic-mouse-down-action, custom-toggle-parent)
24653 (custom-add-parent-links, custom-toggle-hide-variable)
24654 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
24655 (custom-toggle-hide-face, face, hook, custom-group-link-action)
24656 (custom-face-menu-create, custom-variable-menu-create, get)
24657 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
24658 (custom-reset-standard-save-and-update): Remove unused variable `value'.
24659 (customize-apropos): Remove unused variable `tests'.
24660 (custom-group-value-create): Remove unused variable `hidden-p'.
24661 (sort-fold-case): Declare.
24662
24663 * cus-theme.el (custom-reset-standard-faces-list)
24664 (custom-reset-standard-variables-list): Declare.
24665 (customize-create-theme, custom-theme-revert, custom-theme-write)
24666 (custom-theme-choose-mode, customize-themes, custom-theme-save):
24667 Mark unused parameters.
24668
24669 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
24670
24671 * delim-col.el (delimit-columns-max): Move defvar before first use.
24672
24673 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 24674 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
24675
24676 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
24677 (auto-insert): Declare.
24678 (desktop-restore-file-buffer): Rename desktop-* parameters;
24679 mark unused ones.
24680 (desktop-create-buffer): Rename desktop-* parameters and bind them.
24681 (desktop-buffer): Rename desktop-* parameters.
24682
24683 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
24684 (dframe-reposition-frame-xemacs, dframe-help-echo)
24685 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
24686 Mark unused parameters.
24687
24688 * dired-aux.el (backup-extract-version-start, overwrite-query)
24689 (overwrite-backup-query, rename-regexp-query)
24690 (rename-non-directory-query): Declare.
24691 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
24692 (dired-add-entry): Remove unused variable `orig-file-name'.
24693 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
24694 Use parameter PRESERVE-TIME instead of accessing dynamic variable
24695 `dired-copy-preserve-time' directly.
24696 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
24697 (dired-insert-subdir-newpos): Rename unused variable `pos'.
24698
24699 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
24700 (dired-virtual-revert, dired-make-relative-symlink):
24701 Mark unused parameters.
24702 (manual-program): Declare.
24703 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
24704 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
24705 wrapped in `with-no-warnings' to avoid replacing one warning by another.
24706
24707 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
24708
24709 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
24710
24711 * echistory.el (electric-history-in-progress, Helper-return-blurb):
24712 Declare.
24713
24714 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
24715
24716 * electric.el (Electric-command-loop): Rename parameter
24717 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
24718
24719 * expand.el (expand-in-literal): Remove unused variable `here'.
24720
24721 * facemenu.el (facemenu-add-new-color):
24722 Remove unused variable `docstring'.
24723
24724 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
24725 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
24726 (face-attr-construct): Mark unused parameter. Doc fix.
24727 (read-color): Remove unused variable `hex-string'.
24728
24729 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
24730 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
24731 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
24732 (display-buffer-other-frame): Remove unused variable `old-window'.
24733 (kill-buffer-hook): Declare.
24734 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
24735 Mark unused parameters.
24736 (after-find-file): Pass 1 to `auto-save-mode', not t.
24737
24738 * files-x.el (auto-insert): Declare.
24739 (modify-file-local-variable-prop-line): Remove unused variable `val'.
24740
24741 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 24742 variable `buf'. Mark unused parameter.
06b60517
JB
24743 (find-lisp-insert-directory): Mark unused parameter.
24744
24745 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
24746 (format-encode-region): Remove unused variables `cur-buf' and `result'.
24747 (format-common-tail): Remove, unused.
24748 (format-deannotate-region): Remove unused variable `loc'.
24749 (format-annotate-region): Remove unused variable `p'.
24750 (format-annotate-single-property-change): Remove unused variables
24751 `default' and `tail'.
24752
24753 * forms.el (read-file-filter): Declare.
24754 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
24755
24756 * frame.el (frame-creation-function-alist): Mark unused parameter.
24757 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
24758
24759 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
24760 Remove unused parameters.
24761 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
24762 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
24763
24764 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
24765 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
24766 (hfy-prepare-tag-map): Mark unused parameters.
24767 (htmlfontify-buffer): Use `called-interactively-p'.
24768
24769 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
24770 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
24771 (ibuffer-do-occur): Mark unused parameters.
24772 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
24773 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
24774
24775 * ibuffer.el: Don't quote `lambda'.
24776 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
24777 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
24778 Mark unused parameters.
24779
24780 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
24781 (ido-completing-read): Mark unused parameters.
24782 (ido-copy-current-word): Mark unused parameters;
24783 remove unused variable `name'.
24784 (ido-sort-merged-list): Remove unused parameter `dirs'.
24785
24786 * ielm.el (ielm-input-sender): Mark unused parameter.
24787 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
24788 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
24789 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
24790 `ielm-string' as a dynamic variable accessible from the IELM prompt.
24791 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
24792
24793 * image-dired.el (image-dired-display-thumbs): Remove unused
24794 variables `curr-file' and `count'.
24795 (image-dired-remove-tag): Remove unused variable `start'.
24796 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
24797 variable `curr-file'
24798 (image-dired-rotate-original): Remove unused variable `temp-file'.
24799 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
24800 Remove unused variable `file'.
24801 (image-dired-gallery-generate): Remove unused variable `curr'.
24802 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
24803
24804 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
24805
24806 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
24807
24808 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
24809
24810 * isearch.el (minibuffer-history-symbol): Declare.
24811 (isearch-edit-string): Remove unused variable `err'.
24812 (isearch-message-prefix, isearch-message-suffix):
24813 Mark unused parameters.
24814
24815 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
24816
24817 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
24818
24819 * makesum.el (double-column): Remove unused variable `cnt'.
24820
24821 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
24822 (ido-ignore-item-temp-list): Declare.
24823
24824 * mouse-drag.el (mouse-drag-throw): Remove unused variables
24825 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
24826 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
24827 (mouse-drag-drag): Remove unused variables `mouse-delta' and
24828 `mouse-col-delta'.
24829
24830 * mouse-sel.el (mouse-extend-internal):
24831 Remove unused variable `orig-window-frame'.
24832
24833 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
24834 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
24835 Move declarations before first use.
24836 (pcomplete-opt): Mark unused parameters; doc fix.
24837
24838 * proced.el (proced-revert): Mark unused parameter.
24839 (proced-send-signal): Remove unused variable `err'.
24840
24841 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
24842 Rename parameter PREFIX-ARG to ARG.
24843 (ps-basic-plot-string, ps-basic-plot-whitespace):
24844 Mark unused parameters.
24845
24846 * replace.el (replace-count): Define.
24847 (occur-revert-function): Mark unused parameters.
24848 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
24849 (isearch-case-fold-search, isearch-string): Declare.
24850 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
24851 bind `case-fold-search'. Remove unused variables `beg' and `end',
24852 and simplify.
24853 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
24854 COUNT and bind `replace-count'.
24855 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
24856 to COUNT.
24857
24858 * savehist.el (print-readably, print-string-length): Declare.
24859
24860 * shadowfile.el (shadow-expand-cluster-in-file-name):
24861 Remove unused variable `cluster'.
24862 (shadow-copy-file): Remove unused variable `i'.
24863 (shadow-noquery, shadow-clusters, shadow-site-cluster)
24864 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
24865 (shadow-define-literal-group, shadow-define-regexp-group)
24866 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
24867
24868 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
24869 (shell): Use `called-interactively-p'.
24870 (shell-directory-tracker): Remove unused variable `chdir-failure'.
24871
24872 * simple.el (compilation-context-lines, comint-file-name-quote-list)
24873 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
24874 (delete-backward-char): Remove unused variable `ocol'.
24875 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
24876 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
24877 (event-apply-hyper-modifier, event-apply-shift-modifier)
24878 (event-apply-control-modifier, event-apply-meta-modifier):
24879 Mark unused parameters.
24880 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
24881 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
24882
24883 * speedbar.el (speedbar-ignored-directory-expressions)
24884 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
24885 (speedbar-find-file, speedbar-dir-follow)
24886 (speedbar-directory-buttons-follow, speedbar-tag-find)
24887 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
24888 (speedbar-buffers-line-directory, speedbar-buffer-click):
24889 Mark unused parameters.
24890 (speedbar-tag-file): Remove unused variable `mode'.
24891 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
24892
24893 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
24894
24895 * talk.el (talk): Remove unused variable `display'.
24896
24897 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
24898 (tar-write-region-annotate): Mark unused parameter.
24899
24900 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
24901 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
24902 Declare them, wrapped in `with-no-warnings' to avoid replacing one
24903 warning by another.
24904
24905 * time-stamp.el (time-stamp-string-preprocess):
24906 Remove unused variable `require-padding'.
24907
24908 * tree-widget.el (widget-glyph-enable): Declare.
24909 (tree-widget-action): Mark unused parameter.
24910
24911 * w32-fns.el (x-get-selection): Mark unused parameter.
24912 (autoload-make-program, generated-autoload-file): Declare.
24913
24914 * wdired.el (wdired-revert): Mark unused parameters.
24915 (wdired-xcase-word): Remove unused variable `err'.
24916
24917 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
24918 (whitespace-help-scroll): Remove unused variable `data-help'.
24919
24920 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
24921 (widget-image-insert, widget-after-change, default)
24922 (widget-default-format-handler, widget-default-notify)
24923 (widget-default-prompt-value, widget-info-link-action)
24924 (widget-url-link-action, widget-function-link-action)
24925 (widget-variable-link-action, widget-file-link-action)
24926 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
24927 (widget-field-prompt-internal, widget-field-action, widget-field-match)
24928 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
24929 (widget-insert-button-action, widget-delete-button-action, visibility)
24930 (widget-documentation-link-action, widget-documentation-string-action)
24931 (widget-const-prompt-value, widget-regexp-match, symbol)
24932 (widget-coding-system-prompt-value)
24933 (widget-key-sequence-value-to-external, sexp)
24934 (widget-sexp-value-to-internal, character, vector, cons)
24935 (widget-choice-prompt-value, widget-boolean-prompt-value)
24936 (widget-color--choose-action): Mark unused parameters.
24937 (widget-item-match-inline, widget-choice-match-inline)
24938 (widget-checklist-match, widget-checklist-match-inline)
24939 (widget-group-match): Rename parameter VALUES to VALS.
24940 (widget-field-value-set): Remove unused variable `size'.
24941 (widget-color-action): Remove unused variables `value' and `start'.
24942
24943 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 24944 variable `dir'. Doc fix.
06b60517
JB
24945 (windmove-find-other-window): Don't pass it.
24946
24947 * window.el (count-windows): Mark unused parameter.
24948 (bw-adjust-window): Remove unused variable `err'.
24949
24950 * woman.el (woman-file-name): Remove unused variable `default'.
24951 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
24952 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
24953 (global-font-lock-mode): Declare.
24954 (woman-decode-region): Mark unused parameter.
24955 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
24956
24957 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
24958 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
24959 (x-dnd-handle-moz-url): Remove unused variable `title'.
24960 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
24961
24962 * xml.el (xml-parse-tag, xml-parse-attlist):
24963 Remove unused variable `pos'.
24964
bc4f7f3d
GM
249652011-04-19 Glenn Morris <rgm@gnu.org>
24966
24967 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
24968 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
24969 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
24970 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
24971 * calendar/cal-html.el (cal-html-insert-minical):
24972 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
24973 (calendar-mark-date-pattern):
24974 Prefix "unused" locals.
24975
24976 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
24977 optional argument `style'.
24978
24979 * calendar/appt.el (appt-make-list):
24980 * calendar/cal-china.el (calendar-chinese-date-string):
24981 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
24982 (diary-hebrew-yahrzeit):
24983 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
24984 * calendar/calendar.el (calendar-generate-window):
24985 * calendar/time-date.el (time-to-days):
24986 Remove unused local variables.
24987
16a43933
CY
249882011-04-18 Chong Yidong <cyd@stupidchicken.com>
24989
24990 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
24991 glyphless-char-display table.
24992 (tabulated-list-glyphless-char-display): New var.
24993
7eed1860
SS
249942011-04-18 Sam Steingold <sds@gnu.org>
24995
24996 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
24997 to acknowledgments.
24998
4d2d1ccd
GM
249992011-04-17 Glenn Morris <rgm@gnu.org>
25000
25001 * calendar/diary-lib.el (diary-sexp-entry):
25002 * calendar/holidays.el (holiday-sexp):
25003 Set debug-on-error rather than the removed stack-trace-on-error.
25004
239da61d
GM
250052011-04-16 Glenn Morris <rgm@gnu.org>
25006
25007 * progmodes/f90.el: Use lexical-binding.
25008 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
25009
8b05752a
SM
250102011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
25011
daca8ba5
SM
25012 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
25013 (mail-mode): Setup mailalias completion here instead.
25014 * mail/mailalias.el: Use lexical-binding.
25015 (pattern, mailalias-done): Declare dynamic.
25016 (mail-completion-at-point-function): New function, from mail-complete.
25017 (mail-complete): Use it.
25018 (mail-completion-expand): New function.
25019 (mail-get-names): Use it.
25020 (mail-directory, mail-directory-process, mail-directory-stream):
25021 Don't use `pattern' for lexically bound arg.
25022
6f542485
SM
25023 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
25024
037e7c3f
SM
25025 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
25026 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
25027 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
25028
8b05752a
SM
25029 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
25030 (byte-save-window-excursion, byte-temp-output-buffer-setup)
25031 (byte-interactive-p): Define them again, for use when inlining
25032 old code.
25033
49093f60
JB
250342011-04-15 Juanma Barranquero <lekktu@gmail.com>
25035
25036 * loadup.el: Use `string-to-number', not `string-to-int'.
25037
b5b8e7de
SM
250382011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
25039
25040 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
25041 gud-gdb-complete-command.
25042 (gud-gdb-completions): New function, from gud-gdb-complete-command.
25043 (gud-gdb-completion-at-point): New function.
25044 (gud-gdb-completions): Remove.
25045
f42efeb5
MA
250462011-04-14 Michael Albinus <michael.albinus@gmx.de>
25047
49093f60
JB
25048 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
25049 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
25050 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
25051 whether `executable-find' is bound.
f42efeb5
MA
25052
25053 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
25054
e240cc21
SM
250552011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
25056
25057 * minibuffer.el (completion-in-region-mode-predicate)
25058 (completion-in-region-mode--predicate): New vars.
25059 (completion-in-region, completion-in-region--postch)
25060 (completion-in-region-mode): Use them.
25061 (completion--capf-wrapper): Also return the hook function.
25062 (completion-at-point, completion-help-at-point):
25063 Adjust and provide a predicate.
c2bd2ab0
SM
25064
25065 Preserve arg names for advice of subr and lexical functions (bug#8457).
25066 * help-fns.el (help-function-arglist): Consolidate the subr and
25067 new-byte-code cases. Add argument `preserve-names' to extract names
25068 from the docstring when needed.
25069 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
25070 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
25071 (ad-arglist): Use help-function-arglist's new arg.
25072 (ad-definition-type): Use cond.
25073
c183f693
JB
250742011-04-13 Juanma Barranquero <lekktu@gmail.com>
25075
06641a47
JB
25076 * autorevert.el (auto-revert-handler):
25077 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
25078 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
25079 Don't quote lambda.
25080
c183f693
JB
25081 * image-mode.el (image-transform-set-scale):
25082 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
25083
1e3b6001
G
250842011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
25085
25086 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 25087 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
25088 Upgrades via gnutls-cli are too slow to be done opportunistically.
25089
2d6af8dd
JB
250902011-04-12 Juanma Barranquero <lekktu@gmail.com>
25091
25092 * dframe.el (dframe-current-frame): Remove spurious quote.
25093
c0749a51
GM
250942011-04-12 Glenn Morris <rgm@gnu.org>
25095
088d0d61
GM
25096 * calendar/cal-tex.el (cal-tex-end-document):
25097 Try to automatically use latin1 input if needed.
25098
c0749a51
GM
25099 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
25100 Don't try to cons a mark onto an empty element.
25101
5c90fde0
LL
251022011-04-11 Leo Liu <sdl.web@gmail.com>
25103
25104 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
25105 buffers.
25106 (ido-kill-buffer-at-head): Support killing virtual buffers.
25107
369e974d
CY
251082011-04-10 Chong Yidong <cyd@stupidchicken.com>
25109
25110 * minibuffer.el (completion-show-inline-help): New var.
25111 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
25112 (minibuffer-force-complete, minibuffer-complete-word):
25113 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
25114
25115 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
25116 to avoid interference from inline help (Bug#5849).
25117
37f1c930
LL
251182011-04-10 Leo Liu <sdl.web@gmail.com>
25119
099c39a4
JB
25120 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
25121 Fix typo.
37f1c930 25122
a32d4040
CY
251232011-04-09 Chong Yidong <cyd@stupidchicken.com>
25124
25125 * image-mode.el (image-toggle-display-image): Signal an error if
25126 not in Image mode.
25127 (image-transform-mode, image-transform-resize)
25128 (image-transform-set-rotation): Doc fix.
daca8ba5 25129 (image-transform-set-resize): Delete.
a32d4040
CY
25130 (image-transform-set-scale, image-transform-fit-to-height)
25131 (image-transform-fit-to-width): Handle image-toggle-display-image
25132 and image-transform-resize directly.
25133
099c39a4 251342011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
25135
25136 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
25137 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
25138 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
25139 (doc-view-mode-map): Add bindings for the new functions.
25140
099c39a4 251412011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 25142
4d61f28d 25143 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
25144 Fix typo in docstring.
25145
3726838a
EZ
251462011-04-08 Eli Zaretskii <eliz@gnu.org>
25147
04f33f1e
EZ
25148 * files.el (file-size-human-readable): Produce one digit after
25149 decimal, like "ls -lh" does.
25150
25151 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
25152 the file size representation.
25153
3726838a
EZ
25154 * simple.el (list-processes): If async subprocesses are not
25155 available, error out with a clear error message.
25156
cbb59342
CY
251572011-04-08 Chong Yidong <cyd@stupidchicken.com>
25158
25159 * help.el (help-form-show): New function, to be called from C.
25160 Put help-form output in a buffer named differently than *Help*.
25161
e3971c44
EZ
251622011-04-08 Eli Zaretskii <eliz@gnu.org>
25163
25164 * files.el (file-size-human-readable): New function.
25165
25166 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
25167 computing the representation inline. Don't require `cl'.
25168
12544bbe
GM
251692011-04-08 Glenn Morris <rgm@gnu.org>
25170
a1de6c6a
GM
25171 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
25172
3c4671f4
GM
25173 * net/browse-url.el (browse-url-firefox):
25174 Test system-type, not system-configuration.
25175
b605679c
GM
25176 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
25177 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
25178 Use log-edit-empty-buffer-p. (Bug#7598)
25179
56442f0c
GM
25180 * net/rlogin.el (rlogin-process-connection-type): Simplify.
25181 (rlogin-mode-map): Initialize in the defvar.
25182 (rlogin): Use ignore-errors.
25183
12544bbe
GM
25184 * replace.el (occur-mode-map): Some fixes for menu items.
25185
eb237b0f
AH
251862011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
25187
25188 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
25189
7d668f2c
CY
251902011-04-06 Chong Yidong <cyd@stupidchicken.com>
25191
e67a13ab
CY
25192 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
25193 issuing unused warnings.
25194
25195 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
25196 macro directly.
25197
7d668f2c
CY
25198 * simple.el: Lisp reimplement of list-processes. Based on an
25199 earlier reimplementation by Leo Liu, but using tabulated-list.el.
25200 (process-menu-mode): New major mode.
25201 (list-processes--refresh, list-processes):
25202 (process-menu-visit-buffer): New functions.
25203
25204 * files.el (save-buffers-kill-emacs): Don't assume any return
25205 value of list-processes, which is undocumented anyway.
25206
a83ec3c9
CY
252072011-04-06 Chong Yidong <cyd@stupidchicken.com>
25208
25209 * emacs-lisp/tabulated-list.el: New file.
25210
e91a96fe
CY
25211 * emacs-lisp/package.el: Use Tabulated List mode.
25212 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
25213 (package-menu-mode): Derive from tabulated-list-mode. Set up the
25214 table format using Tabulated List mode variables.
25215 (package--push): New macro, replacing package-list-maybe-add.
25216 (package-menu--generate): Use package--push. Renamed from
25217 package--generate-package-list.
25218 (package-menu-refresh, list-packages): Use it.
daca8ba5 25219 (package-menu--print-info): Rename from package-print-package.
e91a96fe 25220 Return insertion data instead of inserting it directly.
099c39a4
JB
25221 (package-menu-describe-package, package-menu-execute):
25222 Use tabulated-list-get-id.
e91a96fe
CY
25223 (package-menu-mark-delete, package-menu-mark-install)
25224 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
25225 (package-menu-mark-obsolete-for-deletion):
25226 Use tabulated-list-put-tag.
e91a96fe
CY
25227 (package--list-packages, package-menu-revert)
25228 (package-menu-get-package, package-menu-get-version)
25229 (package-menu-sort-by-column): Functions deleted.
25230 (package-menu-package-list, package-menu-sort-key): Vars deleted.
25231 (package-menu--status-predicate, package-menu--version-predicate)
25232 (package-menu--name-predicate)
25233 (package-menu--description-predicate): Handle arguments in the
25234 Tabulated List format.
25235 (package-list-packages-no-fetch): Call list-packages.
25236
3e214b50
JB
252372011-04-06 Juanma Barranquero <lekktu@gmail.com>
25238
25239 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 25240 (after-find-file): Don't bind it.
3e214b50
JB
25241 (revert-buffer-in-progress-p): New variable.
25242 (revert-buffer): Bind it.
25243 Pass nil for `after-find-file-from-revert-buffer'.
25244
25245 * saveplace.el (save-place-find-file-hook): Use new variable
25246 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
25247
3f0f1700
GM
252482011-04-06 Glenn Morris <rgm@gnu.org>
25249
c0274801
GM
25250 * Makefile.in (AUTOGEN_VCS): New variable.
25251 (autoloads): Use $AUTOGEN_VCS.
25252
3f0f1700
GM
25253 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
25254 * calendar/calendar.el (calendar-mode-map):
25255 Check for toolkit scroll bars. (Bug#8305)
25256
41ea9e48
CY
252572011-04-05 Chong Yidong <cyd@stupidchicken.com>
25258
25259 * minibuffer.el (completion-in-region--postch)
25260 (completion-in-region-mode): Remove unnecessary messages.
25261
6194c800
JB
252622011-04-05 Juanma Barranquero <lekktu@gmail.com>
25263
33256f14
JB
25264 * font-lock.el (font-lock-refresh-defaults):
25265 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
25266 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
25267
6194c800
JB
25268 * info.el (Info-directory-list, Info-read-node-name-2)
25269 (Info-split-parameter-string): Doc fixes.
25270 (Info-virtual-nodes): Reflow docstring.
25271 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
25272 (Info-apropos-toc-nodes, info-finder, Info-get-token)
25273 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
25274 Fix typos in docstrings.
25275 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
25276 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
25277 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
25278 (Info-restore-desktop-buffer): Mark unused parameters.
25279 (Info-directory-find-file, Info-directory-find-node)
25280 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
25281 (Info-virtual-index-find-node, Info-apropos-find-file)
25282 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 25283 Mark unused parameters; fix typos in docstrings.
6194c800
JB
25284 (Info-virtual-index): Remove unused local variable `nodename'.
25285
b87a8200 252862011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 25287
b87a8200
DD
25288 * net/rcirc.el: Update my e-mail address.
25289 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 25290
3b2ff876
CY
252912011-04-05 Chong Yidong <cyd@stupidchicken.com>
25292
25293 * startup.el (command-line): Save the cursor's theme-face
25294 directly, instead of using face-override-spec.
25295
25296 * custom.el (load-theme): Minor optimization in assigning faces.
25297
8d17e7ca
JB
252982011-04-04 Juanma Barranquero <lekktu@gmail.com>
25299
25300 * help-fns.el (describe-variable): Complete all variables having
25301 documentation, including keywords.
25302 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
25303
2fbc1934
JB
253042011-04-04 Juanma Barranquero <lekktu@gmail.com>
25305
25306 Convert to lexical-binding.
25307
25308 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
25309 (bs--get-marked-string, bs--get-modified-string)
25310 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
25311 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
25312 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
25313
25314 * ehelp.el (electric-help-execute-extended)
25315 (electric-help-ctrl-x-prefix):
25316 * hexl.el (hexl-revert-buffer-function):
25317 * linum.el (linum-after-change, linum-after-scroll):
25318 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
25319
25320 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
25321
74f50695
DU
253222011-04-04 Daiki Ueno <ueno@unixuser.org>
25323
25324 * epa-dired.el:
25325 * epa-mail.el:
25326 * epa-hook.el:
25327 * epa-file.el:
25328 * epa.el:
25329 * epg.el: Use lexical binding.
25330
c11325f7
CY
253312011-04-03 Chong Yidong <cyd@stupidchicken.com>
25332
0d9e9a12
CY
25333 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
25334
c11325f7 25335 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
25336 dictionary case for flyspell-mark-duplications-exceptions.
25337 Use regexp matching for languages.
c11325f7
CY
25338 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
25339 default dictionary (Bug#7926).
25340
da91b5f2
CY
253412011-04-02 Chong Yidong <cyd@stupidchicken.com>
25342
099c39a4
JB
25343 * emacs-lisp/package.el (package--with-work-buffer):
25344 Recognize https URLs.
da91b5f2 25345
099c39a4
JB
25346 * net/network-stream.el: Move from gnus/proto-stream.el.
25347 Change prefix to network-stream throughout.
da91b5f2
CY
25348 (open-protocol-stream): Merge into open-network-stream, leaving
25349 open-protocol-stream as an alias. Handle nil BUFFER args.
25350
25351 * subr.el (open-network-stream): Move to net/network-stream.el.
25352
afa8e9f6
GM
253532011-04-02 Glenn Morris <rgm@gnu.org>
25354
1d2e369d
GM
25355 * find-dired.el (find-exec-terminator): New option.
25356 (find-ls-option): Test for -ls support.
25357 (find-ls-subdir-switches): Test for -b in find-ls-option.
25358 (find-dired, find-grep-dired): Doc fixes.
25359 (find-dired): Use find-exec-terminator.
25360
8abb7da8 25361 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
25362 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
25363 (find-name-arg): Remove purecopy.
8abb7da8 25364
f3ca7378
GM
25365 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
25366 (grep-compute-defaults): Check for `-exec COMMAND +' support.
25367 Set grep-find-use-xargs, grep-find-command, and grep-find-template
25368 accordingly. Don't add the null-device if not needed.
25369
afa8e9f6
GM
25370 * files.el (save-some-buffers): Doc fix.
25371
35eae264
EZ
253722011-04-02 Eli Zaretskii <eliz@gnu.org>
25373
25374 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
25375
26b51db5
JB
253762011-04-01 Juanma Barranquero <lekktu@gmail.com>
25377
25378 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
25379 Use `dolist' rather than `mapcar'.
25380
7200d79c
SM
253812011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
25382
03408648 25383 Add lexical binding.
7200d79c 25384
03408648
SM
25385 * subr.el (apply-partially): Use new closures rather than CL.
25386 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
25387 (dolist, dotimes): Use slightly different expansion for lexical code.
25388 (functionp): Move to C.
25389 (letrec): New macro.
25390 (with-wrapper-hook): Use it and apply-partially instead of CL.
25391 (eval-after-load): Preserve lexical-binding.
25392 (save-window-excursion, with-output-to-temp-buffer): Turn them
25393 into macros.
7200d79c 25394
03408648
SM
25395 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
25396
25397 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
25398 than the arglist.
25399 (help-add-fundoc-usage): Don't add `Not documented'.
25400 (help-function-arglist): Handle closures, subroutines, and new
25401 byte-code-functions.
25402 (help-make-usage): Remove leading underscores.
25403 (describe-function-1): Handle closures.
25404 (describe-variable): Use special-variable-p for completion.
25405
25406 * files.el (lexical-binding): Declare safe.
f488fb65 25407
03408648
SM
25408 * emacs-lisp/pcase.el: Don't use destructuring-bind.
25409 (pcase--memoize): Rename from pcase-memoize. Change weakness.
25410 (pcase): Add `let' pattern.
25411 Change memoization so it actually works.
25412 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
25413 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
25414 <let>: New case.
f488fb65 25415
03408648
SM
25416 * emacs-lisp/macroexp.el: Use lexical binding.
25417 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
25418 Don't convert ' to #' without checking that it's indeed quoting
25419 a lambda.
25420
25421 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 25422 Use eval-sexp-add-defvars.
03408648
SM
25423 (eval-sexp-add-defvars): New fun.
25424
25425 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
25426
25427 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
25428 Don't autoload.
25429 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
25430 than the internal `byte-compile-lambda'.
25431 (defmethod): Don't hide code under quotes.
25432 (eieio-defmethod): New `code' argument.
25433
25434 * emacs-lisp/eieio-comp.el: Remove.
25435
25436 * emacs-lisp/edebug.el (edebug-eval-defun)
25437 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
25438 (edebug-toggle): Avoid `eval'.
25439
25440 * emacs-lisp/disass.el (disassemble-internal): Handle new
25441 `closure' objects.
25442 (disassemble-1): Handle new byte codes.
25443
25444 * emacs-lisp/cl.el (pushnew): Silence warning.
25445
25446 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
25447 (cl-byte-compile-throw): Remove.
25448 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
25449
25450 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
25451 closures.
25452
25453 * emacs-lisp/cconv.el: New file.
25454
25455 * emacs-lisp/bytecomp.el: Use lexical binding instead of
25456 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
25457 (byte-compile-initial-macro-environment):
25458 Handle declare-function here.
25459 (byte-compile--lexical-environment): New var.
25460 (byte-stack-ref, byte-stack-set, byte-discardN)
25461 (byte-discardN-preserve-tos): New lap codes.
25462 (byte-interactive-p): Don't use any more.
25463 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
25464 New macros.
25465 (byte-compile-lapcode): Use them and handle new lap codes.
25466 (byte-compile-obsolete): Remove.
25467 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
25468 (byte-compile-arglist-warn): Check late def of inlinable funs.
25469 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
25470 since they should have been expanded by now.
25471 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
25472 (byte-compile-from-buffer): Remove unused second arg.
25473 (byte-compile-preprocess): New function.
25474 (byte-compile-toplevel-file-form): New function to distinguish
25475 file-form calls from outside from file-form calls from hunk-handlers.
25476 (byte-compile-file-form): Simplify.
25477 (byte-compile-file-form-defsubst): Remove.
25478 (byte-compile-file-form-defmumble): Simplify now that
25479 byte-compile-lambda always returns a byte-code-function.
25480 (byte-compile): Preprocess.
25481 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
25482 Remove, not used any more.
25483 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
25484 (byte-compile-make-args-desc): New funs.
25485 (byte-compile-lambda): Handle lexical functions. Always return
25486 a byte-code-function.
25487 (byte-compile-reserved-constants): New var, to make up room for
25488 closed-over variables.
25489 (byte-compile-constants-vector): Obey it.
25490 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
25491 (byte-compile-macroexpand-declare-function): New function.
25492 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
25493 byte-code-functions.
25494 (byte-compile-form): Check obsolescence here.
25495 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
25496 (byte-compile-variable-ref): Remove.
25497 (byte-compile-dynamic-variable-op): New fun.
25498 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
25499 (byte-compile-variable-set): New funs.
25500 (byte-compile-discard): Add 2 args.
25501 (byte-compile-stack-ref, byte-compile-stack-set)
25502 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
25503 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
25504 macroexpand-all instead.
25505 (byte-compile-quote-form): Remove.
25506 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
25507 (byte-compile-bind, byte-compile-unbind): New funs.
25508 (byte-compile-let): Handle let* and lexical binding.
25509 (byte-compile-let*): Remove.
25510 (byte-compile-catch, byte-compile-unwind-protect)
25511 (byte-compile-track-mouse, byte-compile-condition-case):
25512 Handle a new :fun-body form, used for lexical scoping.
25513 (byte-compile-save-window-excursion)
25514 (byte-compile-with-output-to-temp-buffer): Remove.
25515 (byte-compile-defun): Simplify.
25516 (byte-compile-stack-adjustment): New fun.
25517 (byte-compile-out): Use it.
25518 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
25519
25520 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
25521 handler any more.
25522
25523 * emacs-lisp/byte-opt.el: Use lexical binding.
25524 (byte-inline-lapcode): Remove (to bytecomp).
25525 (byte-compile-inline-expand): Pay attention to inlining to/from
25526 lexically bound code.
25527 (byte-compile-unfold-lambda): Don't handle byte-code-functions
25528 any more.
25529 (byte-optimize-form-code-walker): Don't handle save-window-excursion
25530 any more and don't call compiler-macros.
25531 (byte-compile-splice-in-already-compiled-code): Remove.
25532 (byte-code): Don't inline any more.
25533 (disassemble-offset): Receive `bytes' as argument rather than via
25534 dynamic scoping.
25535 (byte-compile-tag-number): Declare before first use.
25536 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
25537 `return' even if make-spliceable.
25538 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
25539 obsolete interactive-p.
25540 (byte-optimize-lapcode): Optimize new lap-codes.
25541 Don't trip up on new form of `byte-constant' lap code.
25542
25543 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
25544
25545 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
25546
25547 * custom.el (custom-initialize-default, custom-declare-variable):
25548 Use `defvar'.
25549
25550 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
25551 New variables.
25552 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
25553 (COMPILE_FIRST): Add macroexp and cconv.
25554 * makefile.w32-in: Mirror changes in Makefile.in.
25555
25556 * vc/cvs-status.el:
25557 * vc/diff-mode.el:
25558 * vc/log-edit.el:
25559 * vc/log-view.el:
25560 * vc/smerge-mode.el:
25561 * textmodes/bibtex-style.el:
090bd7cb 25562 * textmodes/css-mode.el:
03408648
SM
25563 * startup.el:
25564 * uniquify.el:
da91b5f2
CY
25565 * minibuffer.el:
25566 * newcomment.el:
25567 * reveal.el:
25568 * server.el:
25569 * mpc.el:
25570 * emacs-lisp/smie.el:
25571 * doc-view.el:
25572 * dired.el:
03408648
SM
25573 * abbrev.el: Use lexical binding.
25574
0f0c1f27
EZ
255752011-04-01 Eli Zaretskii <eliz@gnu.org>
25576
25577 * info.el (info-display-manual): New function.
25578
c82b2579
SM
255792011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
25580
25581 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
25582
221ddf68
TH
255832011-03-31 Tassilo Horn <tassilo@member.fsf.org>
25584
25585 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 25586 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 25587
cba6e77e
GM
255882011-03-31 Glenn Morris <rgm@gnu.org>
25589
e040639f
GM
25590 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
25591
cba6e77e
GM
25592 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
25593
6d0f1c9e
CS
255942011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
25595
25596 * progmodes/python.el (python-default-interpreter)
25597 (python-python-command-args, python-jython-command-args)
25598 (python-which-shell, python-which-args, python-which-bufname)
25599 (python-file-queue, python-comint-output-filter-function)
25600 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
25601 variables and functions.
25602
3e2d70fd
SM
256032011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
25604
25605 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
25606 (completion-in-region-mode): New minor mode.
25607 (completion-in-region): Use it.
25608 (completion-in-region--data, completion-in-region-mode-map): New vars.
25609 (completion-in-region--postch): New function.
25610 (completion--capf-misbehave-funs, completion--capf-safe-funs):
25611 New vars.
25612 (completion--capf-wrapper): New function.
25613 (completion-at-point): Use it to track well-behavedness of
25614 hook functions.
25615 (completion-help-at-point): New command.
25616
f3e4086c
JM
256172011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
25618
25619 * vc/add-log.el (add-change-log-entry): Don't use whitespace
25620 syntax class to search for whitespace on a single line
25621 (Message-ID: <4D938140.4030905@redhat.com>).
25622
eb7ffc14
LL
256232011-03-30 Leo Liu <sdl.web@gmail.com>
25624
25625 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
25626 New commands.
25627 (edit-abbrevs-map): Bind them here.
25628 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
25629
d806ab68
KM
256302011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
25631
25632 * allout.el (allout-hide-by-annotation, allout-flag-region):
25633 Reduce possibility of overlay leakage by making them volatile.
25634
25635 * allout-widgets.el (allout-widgets-tally): Define as nil so the
25636 hash is not shared between buffers. Mode initialization is
25637 responsible for giving it a useful starting value.
25638 (allout-item-span): Reduce possibility of overlay leakage by
25639 making them volatile.
25640 (allout-widgets-count-buttons-in-region): Add diagnostic function
25641 for tracking down button overlay leaks.
25642
ea622834
LL
256432011-03-29 Leo Liu <sdl.web@gmail.com>
25644
25645 * ido.el (ido-read-internal): Use the default history var
25646 minibuffer-history if no HISTORY is specified.
25647
b62f8267
G
256482011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
25649
03408648
SM
25650 * net/imap.el (imap-shell-open, imap-process-connection-type):
25651 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
25652 Kerberos, SSL, other subprocesses.
25653
947b6566
LL
256542011-03-28 Leo Liu <sdl.web@gmail.com>
25655
25656 * abbrev.el (abbrev-table-empty-p): New function.
25657 (prepare-abbrev-list-buffer): Place empty abbrev tables after
25658 nonempty ones. (Bug#5937)
25659
5ffb62aa
JD
256602011-03-27 Jan Djärv <jan.h.d@swipnet.se>
25661
25662 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
25663
7a097943
LL
256642011-03-27 Leo Liu <sdl.web@gmail.com>
25665
25666 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
25667 for foreground and background colors.
25668 (ansi-color-make-color-map): Adapt.
25669
c5b40130
LL
256702011-03-25 Leo Liu <sdl.web@gmail.com>
25671
1f48f7d2
LL
25672 * midnight.el (midnight-time-float): Remove. Note it calculates
25673 the microsecond component incorrectly and seconds-to-time does the
25674 same job.
625897ec 25675 Remove redundant (require 'timer).
1f48f7d2 25676
c5b40130
LL
25677 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
25678 (ido-completions): Remove unused arguments. (Bug#8329)
25679
d86d2721
SM
256802011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
25681
25682 * minibuffer.el (completion--flush-all-sorted-completions):
25683 Remove itself from hook.
25684 (completion-at-point): Let the functions perform the completion
25685 immediately and return nil or t.
25686 * comint.el (comint-dynamic-complete-functions): Now identical to
25687 completion-at-point-functions.
25688 (comint-dynamic-list-input-ring): Remove unused var `index'.
25689 (comint--match-partial-filename, comint--unquote&expand-filename):
25690 New funs, split from comint-match-partial-filename.
25691 (comint-dynamic-complete): Use completion-at-point.
25692 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
25693
e8974c48
DA
256942011-03-24 Drew Adams <drew.adams@oracle.com>
25695
25696 * thingatpt.el: Support `defun'.
25697
def71b5e
LL
256982011-03-23 Leo Liu <sdl.web@gmail.com>
25699
cb5af48e
LL
25700 * abbrevlist.el: Move to obsolete/abbrevlist.el.
25701
def71b5e
LL
25702 * help-mode.el (help-mode-finish): Tweak regexp.
25703
927c53e7
GM
257042011-03-23 Glenn Morris <rgm@gnu.org>
25705
18d05bed
GM
25706 * eshell/esh-opt.el (eshell-eval-using-options):
25707 Do not bind unused local variable `eshell-option-stub'.
25708
927c53e7
GM
25709 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
25710
9d0da923
JB
257112011-03-22 Juanma Barranquero <lekktu@gmail.com>
25712
25713 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
25714 keymap variable in `with-no-warnings' to avoid a warning when the
25715 keymap has been already `defconst'ed.
25716
4b978a67
LL
257172011-03-22 Leo Liu <sdl.web@gmail.com>
25718
25719 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
25720 encode all chars in abbrevs; otherwise use emacs-mule or
25721 utf-8-emacs. (Bug#8308)
25722
5fd62452
JB
257232011-03-22 Juanma Barranquero <lekktu@gmail.com>
25724
0b1596c6
JB
25725 * simple.el (backward-delete-char-untabify):
25726 Avoid warning about using `delete-backward-char'.
25727
5fd62452
JB
25728 * image.el (image-type-file-name-regexps): Make it variable.
25729 `imagemagick-register-types' modifies it, and the user may want
25730 to add new extensions for known image types.
25731 (imagemagick-register-types): Throw error if not using ImageMagick.
25732
0b4e93f1
LL
257332011-03-22 Leo Liu <sdl.web@gmail.com>
25734
25735 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
25736 located before rcirc-prompt-end-marker.
25737 (rcirc-complete): Error if point is not after rcirc prompt.
25738 Handle the case when table is nil.
9882e214 25739 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 25740
fccee4ab
CY
257412011-03-22 Chong Yidong <cyd@stupidchicken.com>
25742
25743 * custom.el (custom--inhibit-theme-enable): Make it affect only
25744 custom-theme-set-variables and custom-theme-set-faces.
25745 (provide-theme): Ignore custom--inhibit-theme-enable.
25746 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
25747 (custom-enabling-themes): Delete variable.
d86d2721
SM
25748 (enable-theme): Accept only loaded themes as arguments.
25749 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
25750 (custom-enabled-themes): Forbid themes from setting this.
25751 Eliminate use of custom-enabling-themes.
25752 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 25753
af896da6
LL
257542011-03-21 Leo Liu <sdl.web@gmail.com>
25755
25756 * ido.el (ido-read-internal): Add ido-selected to history instead
25757 of user input.
25758
78f64af0
SM
257592011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
25760
25761 * subr.el (deferred-action-list, deferred-action-function):
25762 Mark obsolete.
25763
b16ac1ec
LL
257642011-03-21 Leo Liu <sdl.web@gmail.com>
25765
810f7698
LL
25766 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
25767 change on 2011-02-13 (bug#8309).
25768
b16ac1ec
LL
25769 * minibuffer.el (read-file-name-function): Change default value.
25770 (read-file-name--defaults): Rename from read-file-name-defaults.
25771 (read-file-name-default): Rename from read-file-name.
25772 (read-file-name): Call read-file-name-function.
25773
4e05e67e
GM
257742011-03-21 Glenn Morris <rgm@gnu.org>
25775
25776 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
25777 Doc fixes.
25778
4359915b
CY
257792011-03-21 Chong Yidong <cyd@stupidchicken.com>
25780
25781 * cus-theme.el: Add missing provide statement.
25782 (customize-create-theme): Extract theme value correctly.
25783 (custom-theme-visit-theme): Autoload.
25784 (customize-create-theme): Prompt before inserting default faces.
25785
1fe275ee
JB
257862011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
25787
25788 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
25789 units and musical notes.
25790
cd394be1 257912011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
25792
25793 * ido.el (ido-read-internal): Use completing-read-default.
25794 (ido-completing-read): Fix compatibility with completing-read.
25795
7d476bde
CO
257962011-03-20 Christian Ohler <ohler@gnu.org>
25797
25798 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
25799 (ert-delete-all-tests): Use `called-interactively-p' rather than
25800 `interactive-p'.
25801 (ert--make-xrefs-region): Respect END.
25802
fe0fb33e
CY
258032011-03-19 Chong Yidong <cyd@stupidchicken.com>
25804
ff854b0b
CY
25805 * dired-aux.el (dired-create-directory): Signal an error if the
25806 directory already exists (Bug#8246).
25807
fe0fb33e
CY
25808 * facemenu.el (list-colors-display): Call list-faces-display
25809 inside with-help-window.
25810 (list-colors-print): Use display property to align the final
25811 column, instead of checking window-width.
25812
576bce32
EZ
258132011-03-19 Eli Zaretskii <eliz@gnu.org>
25814
4d61f28d 25815 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
25816 windows-nt systems.
25817 (emerge-protect-metachars): Quote correctly for ms-dos and
25818 windows-nt systems.
25819
89c41d68 258202011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
25821
25822 * info.el (info-initialize): Replace all uses of `:' with
25823 path-separator for compatibility with non-Unix systems.
25824 Cache quoting of path-separator. (Bug#8258)
25825
b14e3e21 258262011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
25827
25828 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
25829 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
25830 (mouse-avoidance-mode): Fix typos in docstrings.
25831
4525ce3e
CY
258322011-03-19 Chong Yidong <cyd@stupidchicken.com>
25833
25834 * startup.el (package-subdirectory-regexp): Move from package.el.
25835 Omit \\` and \\', and let callers add them.
25836
25837 * emacs-lisp/package.el (package-strip-version)
25838 (package-load-all-descriptors): Add \\` and \\' to
25839 package-subdirectory-regexp before using it.
25840 (package-untar-buffer): New arg DIR; ensure that file untars only
25841 into this expected directory. Remove superfluous delete-region.
25842 (package-unpack): Caller changed.
25843 (package-tar-file-info): Use package-subdirectory-regexp.
25844
a904a09a 258452011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 25846
a904a09a
SM
25847 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
25848 diff-mode-shared-map (bug#8284).
25849 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
25850
258512011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
25852
25853 * calendar/time-date.el (format-seconds): Use assoc instead of
25854 assoc-string, since assoc-string doesn't exist in XEmacs.
25855
171fc304
JB
258562011-03-17 Juanma Barranquero <lekktu@gmail.com>
25857
25858 * custom.el (custom-known-themes): Reflow docstring.
25859 (custom-theme-load-path): Fix typo in docstring.
25860 (load-theme): Fix typo in error message.
25861 (custom-available-themes, custom-variable-theme-value):
25862 Use `let', not `let*'.
25863
d71990a1
JB
258642011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
25865
25866 * calc/README: Mention inclusion of musical notes.
25867
25868 * calc/calc-units.el (calc-lu-quant): Rename from
25869 `calc-logunits-quantity'.
25870 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
25871 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
25872 (calc-db): Rename from `calc-dblevel'.
25873 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
25874 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
25875 (calc-np): Rename from `calc-nplevel'.
25876 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
25877 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
25878 (calc-lu-plus): Rename from `calc-logunits-add'.
25879 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
25880 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
25881 (calc-lu-minus): Rename from `calc-logunits-sub'.
25882 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
25883 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
25884 (calc-lu-times): Rename from `calc-logunits-mul'.
25885 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
25886 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
25887 (calc-lu-divide): Rename from `calc-logunits-div'.
25888 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
25889 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
25890
25891 * calc/calc-ext.el (calc-init-extensions): Update the names of the
25892 functions being autoloaded.
25893
25894 * calc/calc.el (calc-lu-power-reference): Rename from
25895 `calc-logunits-power-reference'.
25896 (calc-lu-field-reference): Rename from
25897 `calc-logunits-field-reference'.
25898
7a71b18d
GM
25899 * calc/calc-help.el (calc-l-prefix-help):
25900 Mention musical note functions.
d71990a1 25901
40c2934b
SM
259022011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
25903
25904 * minibuffer.el (completion-all-sorted-completions):
25905 Use :completion-cycle-penalty text property if present.
25906
b0911414
KM
259072011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
25908
25909 * allout.el (allout-yank-processing): Adjust for new rebulleting
25910 regime so bullet being yanked is used without prompting the user
25911 for a choice.
25912
8a05b668
JB
259132011-03-16 Juanma Barranquero <lekktu@gmail.com>
25914
25915 * startup.el (command-line): Warn the user that _emacs is deprecated.
25916
5ba5fb81
JB
259172011-03-16 Juanma Barranquero <lekktu@gmail.com>
25918
25919 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
25920 (delphi-verbose, delphi-comment-face, delphi-string-face)
25921 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
25922 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
25923 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
25924 (delphi-new-comment-line, delphi-font-lock-defaults)
25925 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
25926 Fix typos in docstrings.
25927
2dab465b
KM
259282011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
25929
5ba5fb81 25930 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
25931 Invert the roles of character and string values for INSTEAD, so a
25932 string is used for the more common case of a defaulting prompt.
25933
0adf5618
SM
259342011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
25935
25936 * progmodes/ruby-mode.el (ruby-backward-sexp):
25937 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
25938 * play/gamegrid.el (gamegrid-make-face):
25939 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
25940 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
25941 * notifications.el (notifications-notify):
25942 * net/xesam.el (xesam-search-engines):
25943 * net/quickurl.el (quickurl-list-insert):
25944 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
25945
d72700e5
CY
259462011-03-15 Chong Yidong <cyd@stupidchicken.com>
25947
25948 * startup.el (command-line): Update package subdirectory regexp.
25949
49c5410a
SM
259502011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
25951
c6eee9aa
SM
25952 * allout.el (allout-abbreviate-flattened-numbering)
25953 (allout-mode-deactivate-hook): Fix up obsolescence "date".
25954
49c5410a
SM
25955 * subr.el (read-char-choice): Only show the cursor after the prompt,
25956 not after the answer.
25957
047b2bb9
KR
259582011-03-15 Kevin Ryde <user42@zip.com.au>
25959
25960 * help-fns.el (variable-at-point): Skip leading quotes, if any
25961 (bug#8253).
25962
0a57d256
SM
259632011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
25964
25965 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
25966 warning message.
25967
77c992bc
MA
259682011-03-14 Michael Albinus <michael.albinus@gmx.de>
25969
25970 * shell.el (shell): When called interactively, offer to change the
25971 shell file name on remote hosts.
25972
eebc475d
TZ
259732011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
25974
25975 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
25976 integration for LDAP parameters. The host, base, user or binddn,
25977 and secret tokens can be specified in a netrc file, for instance.
25978 This is optional because an `auth-source' parameter must be
25979 specified in the search attributes.
25980
9d05d1ba
JB
259812011-03-13 Juanma Barranquero <lekktu@gmail.com>
25982
25983 * help.el (describe-mode): Link to the mode's definition (bug#8185).
25984
09d9db2c
GM
259852011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
25986
25987 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
25988 into declaration. Remove redundant and harmful binding.
25989
259902011-03-12 Eli Zaretskii <eliz@gnu.org>
25991
25992 * files.el (file-ownership-preserved-p): Pass `integer' as an
25993 explicit 2nd argument to `file-attributes'. If the file's owner
25994 is the Administrators group on Windows, and the current user is
25995 Administrator, consider that a match.
25996
25997 * server.el (server-ensure-safe-dir): Consider server directory
25998 safe on MS-Windows if its owner is the Administrators group while
25999 the current Emacs user is Administrator. Use `=' to compare
26000 numerical UIDs, since they could be integers or floats.
26001
219bd536
JB
260022011-03-12 Juanma Barranquero <lekktu@gmail.com>
26003
26004 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
26005
f3afd36b
MA
260062011-03-12 Michael Albinus <michael.albinus@gmx.de>
26007
26008 Sync with Tramp 2.2.1.
26009
26010 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
26011
26012 * net/trampver.el: Update release number.
26013
3aaaa6f1
SM
260142011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
26015
94642599
SM
26016 * progmodes/compile.el (compilation--previous-directory): Fix up
26017 various nil/dead-marker mismatches (bug#8014).
26018 (compilation-directory-properties, compilation-error-properties):
26019 Don't call it at a position past the one we're about to change.
26020
3aaaa6f1
SM
26021 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
26022 Disable obsolescence warnings in the file that declares it.
26023
14239447
KM
260242011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
26025
099c39a4
JB
26026 * allout-widgets.el (allout-widgets-tally):
26027 Initialize allout-widgets-tally as a hash table rather than nil to
26028 prevent mode-line redisplay warnings. Also, clarify the module
26029 description and fix a comment typo.
14239447 26030
135e287c
JB
260312011-03-11 Juanma Barranquero <lekktu@gmail.com>
26032
26033 * help-fns.el (describe-variable): Don't complete keywords.
26034 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
26035
ffbf300e
CY
260362011-03-10 Chong Yidong <cyd@stupidchicken.com>
26037
ba08b241
CY
26038 * emacs-lisp/package.el (package-version-join): Impose a standard
26039 string representation for pre/alpha/beta version lists.
26040 (package-unpack-single): Standardize the directory name by passing
26041 it through package-version-join.
26042 (package-strip-rcs-id): Accept any version string that does not
26043 signal an error in version-to-list.
ffbf300e 26044
f346fd6b
MA
260452011-03-10 Michael Albinus <michael.albinus@gmx.de>
26046
26047 * simple.el (delete-trailing-whitespace): Return nil for the
26048 benefit of `write-file-functions'.
26049
ccb55d27
GM
260502011-03-10 Glenn Morris <rgm@gnu.org>
26051
5ceaac0c
GM
26052 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
26053
02da65ff
GM
26054 * vc/vc-git.el (vc-git-program): New option.
26055 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
26056 (vc-git--call): Use it.
26057
b2f603cc
GM
26058 * eshell/esh-util.el (eshell-condition-case): Doc fix.
26059
5772caab
GM
26060 * cus-edit.el (Custom-newline): If no button at point, look
26061 for a subgroup button at start-of-line. (Bug#2298)
26062
ccb55d27
GM
26063 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
26064
ec6ecaed
JD
260652011-03-10 Julien Danjou <julien@danjou.info>
26066
26067 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
26068 `cursor-type' is nil.
26069
9d5aa01d
JB
260702011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
26071
26072 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
26073
b6a5875b
KM
260742011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
26075
7a71b18d 26076 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
26077 preserves the existing header prefix, rebulleting it if necessary,
26078 rather than replacing it. This is necessary for proper operation
26079 of cooperative addons like allout-widgets.
1154d12e
JB
26080 (allout-make-topic-prefix, allout-rebullet-heading):
26081 Change SOLICIT arg to INSTEAD, and interpret additionally a string
26082 value as alternate bullet to be used, instead of prompting the user
26083 for a bullet character.
b6a5875b 26084
ee545c35
MA
260852011-03-09 Michael Albinus <michael.albinus@gmx.de>
26086
d86d2721
SM
26087 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
26088 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
26089 `tramp-default-port'.
26090
c47971d7
DD
260912011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
26092
26093 * net/rcirc.el (rcirc-handler-001): Remove useless
26094 with-rcirc-process-buffer.
26095 (rcirc-check-auth-status): Swap arguments to string-match.
26096
13522cb4
GM
260972011-03-09 Glenn Morris <rgm@gnu.org>
26098
0be6f4f1
GM
26099 * shell.el (shell-mode):
26100 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
26101
13522cb4
GM
26102 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
26103 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
26104
515de2e3
CY
261052011-03-08 Chong Yidong <cyd@stupidchicken.com>
26106
26107 * emacs-lisp/package.el (package-refresh-contents)
26108 (package-menu-execute): Use condition-case-no-debug.
26109
b511b994
MA
261102011-03-08 Michael Albinus <michael.albinus@gmx.de>
26111
26112 * simple.el (shell-command-to-string): Use `process-file'.
26113
26114 * emacs-lisp/package.el (package-tar-file-info): Handle also
26115 remote files.
26116
d86d2721
SM
26117 * emacs-lisp/package-x.el (package-upload-buffer-internal):
26118 Use `equal' for upload base check.
b511b994 26119
25bbfb31
AM
261202011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
26121
26122 * textmodes/texinfo.el (texinfo-environments):
26123 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
26124
be996521
GM
261252011-03-08 Glenn Morris <rgm@gnu.org>
26126
e9c8529f
GM
26127 * cus-start.el (cursor-in-non-selected-windows):
26128 Fix :set quoting oddness. (Bug#8192)
26129
be996521
GM
26130 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
26131 in some setf expressions. (Bug#2159)
26132
2bb5649e
CY
261332011-03-08 Chong Yidong <cyd@stupidchicken.com>
26134
26135 * custom.el (custom-available-themes): Return themes in
26136 alphabetical order.
26137
33383987 26138See ChangeLog.15 for earlier changes.
e3d51b27
MR
26139
26140;; Local Variables:
26141;; coding: utf-8
e3d51b27
MR
26142;; End:
26143
ab422c4d 26144 Copyright (C) 2011-2013 Free Software Foundation, Inc.
e3d51b27
MR
26145
26146 This file is part of GNU Emacs.
26147
26148 GNU Emacs is free software: you can redistribute it and/or modify
26149 it under the terms of the GNU General Public License as published by
26150 the Free Software Foundation, either version 3 of the License, or
26151 (at your option) any later version.
26152
26153 GNU Emacs is distributed in the hope that it will be useful,
26154 but WITHOUT ANY WARRANTY; without even the implied warranty of
26155 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
26156 GNU General Public License for more details.
26157
26158 You should have received a copy of the GNU General Public License
26159 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.