Misc make-tarball updates
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
3c855b96
GM
12013-01-10 Glenn Morris <rgm@gnu.org>
2
3 * emacs-lisp/authors.el (authors-ignored-files)
4 (authors-valid-file-names, authors-renamed-files-alist):
5 Add some more entries.
6
3f9549e8 72013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
08ce64e6
SM
8
9 * image-mode.el (image-mode-winprops): Don't throw away the fallback
10 `t' pseudo-window entry.
11
3f9549e8 122013-01-10 Alan Mackenzie <acm@muc.de>
8cff5feb
AM
13
14 Fix bugs in the c-parse-state mechanism. Reuse some markers
15 instead of continually generating new ones.
16
17 * progmodes/cc-engine.el (c-state-old-cpp-beg-marker)
18 (c-state-old-cpp-end-marker): New variables.
19 (c-append-lower-brace-pair-to-state-cache): Start a backward
20 search for "}" definitively outside CPP constructs.
21 (c-remove-stale-state-cache): Inform the caller of a need to
22 search back for a brace pair in certain circumstances.
23 (c-state-maybe-marker): New macro.
24 (c-parse-state): Reuse markers when appropriate.
25
3f9549e8 262013-01-10 Glenn Morris <rgm@gnu.org>
89c0dda8
GM
27
28 * simple.el (execute-extended-command): Doc fix.
29 Bind prefix-arg around read-extended-command, for prompt. (Bug#13395)
30
3f9549e8 312013-01-10 Chong Yidong <cyd@gnu.org>
5b64ccd7
CY
32
33 * faces.el (read-face-name): Doc fix.
34
b14abca9
RW
352013-01-10 Roland Winkler <winkler@gnu.org>
36
37 * emacs-lisp/crm.el: Allow any regexp for separators.
38 (crm-default-separator): All spaces around the default comma separator.
39 (crm--completion-command): New macro.
40 (crm-completion-help, crm-complete, crm-complete-word): Use it.
41 (crm-complete-and-exit): Handle non-single-char separators.
42
2b541f9a
EP
432013-01-09 Elias Pipping <pipping@lavabit.com>
44
45 * doc-view.el: Add support for DjVu (bug#13164).
46 (doc-view-djvu->png-converter-function): New config var.
47 (doc-view-single-page-converter-function, doc-view--image-type)
48 (doc-view--image-file-extension): New vars.
49 (doc-view-mode): Initialize them.
50 (doc-view-goto-page): Use them.
51 (doc-view-mode-p): Add support for ddjvu.
52 (doc-view-djvu->png-converter-ddjvu, doc-view-djvu->png-1)
53 (doc-view-set-up-single-converter): New funs.
54 (doc-view-pdf/ps->png): Extend for djvu.
55 (doc-view-document->png): Rename from doc-view-pdf->png.
56 (doc-view-convert-current-doc): Handle djvu.
57 (doc-view-insert-image, doc-view-display)
58 (doc-view-already-converted-p): Don't hardcode png.
59 (doc-view-set-doc-type): Recognize djvu docs.
60
85f17e35
EP
612013-01-09 Elias Pipping <pipping@lavabit.com>
62
63 * doc-view.el: Add support for mupdf converter (bug#13164).
64 (doc-view-pdfdraw-program, doc-view-pdf->png-converter-function)
65 (doc-view-ps->png-converter-function): New config vars.
66 (doc-view-pdf->png-converter-ghostscript)
67 (doc-view-ps->png-converter-ghostscript)
68 (doc-view-pdf->png-converter-mupdf): New functions.
69 (doc-view-pdf/ps->png, doc-view-pdf->png-1): Use them.
70
ccd04887
MA
712013-01-09 Jürgen Hötzel <juergen@archlinux.org>
72
73 * net/tramp.el (tramp-eshell-directory-change): Check remote-path
74 first in session cache: When `tramp-own-remote-path' is in
75 `tramp-remote-path', the remote path is only set in the session
76 cache.
77
c5ad92de
GM
782013-01-09 Glenn Morris <rgm@gnu.org>
79
fb9f7146
GM
80 * emacs-lisp/trace.el (trace-function-foreground)
81 (trace-function-background): Doc fix.
c5ad92de 82
39a0786e
JL
832013-01-09 Juri Linkov <juri@jurta.org>
84
85 * international/mule-cmds.el (read-char-by-name): Move let-binding
86 of completion-ignore-case around completing-read to fix regression
87 exhibited by the test case `C-x 8 RET *acc TAB' and caused by
88 `string-match-p' using the nil value of `case-fold-search' and
89 `completion-ignore-case' in `completion-pcm--all-completions'.
90 (Bug#12615).
91
fb9f7146 922013-01-09 Glenn Morris <rgm@gnu.org>
06364e64
GM
93
94 * progmodes/compile.el (compilation-parse-errors):
95 Fix typo. (Bug#13369)
96
fb9f7146 972013-01-09 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
236a8f0c
VS
98
99 * comint.el (comint-send-input): Check size of buffer before
100 waiting for process output, in case already accepted. (Bug#13290)
101
677d5c92
PE
1022013-01-09 Paul Eggert <eggert@cs.ucla.edu>
103
104 Spelling fixes.
105 * net/tramp-adb.el (tramp-adb-get-toolbox):
106 Fix misspelling of 'unknown'.
107
073ca75b
JL
1082013-01-08 Juri Linkov <juri@jurta.org>
109
110 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
111 * progmodes/flymake.el (flymake-errline, flymake-warnline):
112 Use underline style wave on terminals that support it. (Bug#13000)
113
a4648137
SM
1142013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
115
4bdc3526
SM
116 * emacs-lisp/pcase.el (pcase--split-equal): Also take advantage if
117 the predicate returns nil.
118
a4648137
SM
119 * simple.el: Use lexical-binding.
120 (primitive-undo): Use pcase.
121 (minibuffer-history-isearch-push-state): Use a closure.
122
3bace969
AH
1232013-01-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
124
125 * simple.el (primitive-undo): Move from undo.c.
126
a731fc1b
SM
1272013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
128
1c851e98
SM
129 * vc/pcvs.el (cvs-cleanup-collection): Extend meaning of `rm-handled'.
130 (cvs-mode-remove-handled): Use it (bug#13380).
131
a731fc1b
SM
132 * emacs-lisp/nadvice.el (advice--tweak): New function.
133 (advice--remove-function, advice--subst-main): Use it.
134
135 * emacs-lisp/advice.el: Update commentary.
136
2a22c83b
MA
1372013-01-08 Michael Albinus <michael.albinus@gmx.de>
138
a731fc1b
SM
139 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
140 Remove spurious entry.
2a22c83b 141
83c1803a
GM
1422013-01-08 Glenn Morris <rgm@gnu.org>
143
144 * net/tramp.el (tramp-default-host-alist): Add :version.
145
8a2e287c
JL
1462013-01-08 Juri Linkov <juri@jurta.org>
147
148 * info.el (Info-read-node-name-2): Don't duplicate suffixes for
149 single completion. (Bug#12456)
150 (info--manual-names): Expand node completions into an explicit list
151 before appending it to another list. Filter out internal buffers
152 with the leading space in the buffer name. (Bug#10771)
153
c6a22ce2
JL
1542013-01-08 Juri Linkov <juri@jurta.org>
155
156 * info.el (Info-read-node-name-1): Allow empty node name in (FILENAME)
157 that defaults to the Top node.
158 (Info-goto-node, Info-read-node-name): Doc fix to mention that
159 the short format (FILENAME) goes to the Top node.
160 (Info-build-node-completions): Rename arg `file' to `filename'.
161 (Bug#13365)
162
acfe10b7
BG
1632013-01-07 Bastien Guerry <bzg@gnu.org>
164
a731fc1b
SM
165 * menu-bar.el (menu-bar-search-documentation-menu):
166 Use `apropos-user-option' and fix the help message.
acfe10b7
BG
167
1682013-01-07 Bastien Guerry <bzg@gnu.org>
169
170 * apropos.el (apropos-do-all): Update docstring.
171 (apropos-user-option-button): New face.
172 (apropos-user-option): Rename from `apropos-variable' and update
173 docstring.
174 (apropos-variable): Rewrite, now show all variables by default.
175 (apropos-print): Mention "User option" instead of "Variable" when
176 printing doc for user options. (Bug#13276)
177
62bcf670
JH
1782013-01-07 Jürgen Hötzel <juergen@archlinux.org>
179
180 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
181 Handle filename correctly, when parsing "source -> target" symlink
182 output.
183 (tramp-adb-handle-set-file-times): New defun.
184
4986fa21
SM
1852013-01-07 Stefan Monnier <monnier@iro.umontreal.ca>
186
187 * emacs-lisp/advice.el (ad-activate-advised-definition): Refresh the
188 advice list when the interactive-spec of ad-Advice-* changes.
189
3bee311e
KY
1902013-01-07 Katsumi Yamaoka <yamaoka@jpl.org>
191
192 * wid-edit.el (widget-default-get): Work for inlined elements.
193 (Bug#12670)
194
b49eebcc
MA
1952013-01-07 Michael Albinus <michael.albinus@gmx.de>
196
197 * net/tramp.el (tramp-default-host-alist): New defcustom.
198 (tramp-find-host): Use it.
4986fa21 199 (tramp-eshell-directory-change): Move from tramp-sh.el. Add to
b49eebcc
MA
200 `eshell-directory-change-hook'.
201
202 * net/tramp-adb.el (top): Add adb specific entry in
203 `tramp-default-host-alist'.
204 (tramp-adb-file-name-host): Remove function.
205 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
206 Use `tramp-file-name-host' instead of `tramp-adb-file-name-host'.
207
3bee311e 208 * net/tramp-sh.el: Move eshell integration code to tramp.el.
b49eebcc 209
84f6744a
JH
2102013-01-06 Jürgen Hötzel <juergen@archlinux.org>
211
212 * net/tramp-adb.el (tramp-methods): Add `tramp-tmpdir' entry.
213
b6cfbcd0
MA
2142013-01-06 Michael Albinus <michael.albinus@gmx.de>
215
216 * net/tramp-adb.el (tramp-adb-ls-toolbox-regexp): The file size can
b49eebcc 217 consist of more than one digit.
4986fa21
SM
218 (tramp-adb-file-name-handler-alist):
219 Use `tramp-handle-file-exists-p' consistently.
b6cfbcd0
MA
220 (tramp-adb-file-name-handler): Don't tweak `tramp-default-host'.
221 (tramp-adb-handle-file-exists-p): Remove function.
222 (tramp-adb-file-name-host): New defun.
223 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
224 Use it.
225 (tramp-adb-maybe-open-connection): Set "remote-path" property.
226
58ba7b1b
CY
2272013-01-06 Chong Yidong <cyd@gnu.org>
228
229 * vc/vc.el (vc-next-action): Detect buffer modifications
230 conflicting with locking VCS operation (Bug#11490).
231
232 * vc/vc-hooks.el (vc-after-save): DTRT for locking VCSes.
233
f4566fe9
MA
2342013-01-05 Michael Albinus <michael.albinus@gmx.de>
235
236 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
237 (tramp-adb-handle-directory-files-and-attributes): Fix typos.
238
838cf298
MA
2392013-01-05 Jürgen Hötzel <juergen@archlinux.org>
240
241 * net/tramp-adb.el (tramp-adb-handle-file-attributes): More robust
242 parsing of ls output using regular expression (handle filenames
243 with spaces). Use virtual device number.
244 (tramp-do-parse-file-attributes-with-ls): New defun (Code
245 cleanup).
246
1bd71e9f
DU
2472013-01-04 Daiki Ueno <ueno@gnu.org>
248
249 * epg.el: Silence byte-compiler warnings.
250 (epg--start): Use delete-char instead of delete-backward-char.
251 (epg-wait-for-completion): Pass FRAME arg to redraw-frame.
252
00cd4c1c
DU
2532013-01-04 Daiki Ueno <ueno@gnu.org>
254
255 * epg.el (epg--start): Don't call "tty" program on W32 platforms.
256 Suggested by Eli Zaretskii <eliz@gnu.org>.
257
f99ced35
MA
2582013-01-04 Michael Albinus <michael.albinus@gmx.de>
259
260 * net/tramp-sh.el (tramp-set-file-uid-gid): UID and GID must be
261 non-negative integers. Otherwise, the default values are used.
262 (tramp-convert-file-attributes): Convert uid and gid to integers.
263
0f668a4d 2642013-01-04 Glenn Morris <rgm@gnu.org>
ad235a8b 265
d2be4dcc
GM
266 * term.el (term-handle-colors-array): Ensure face attributes
267 are fully specified, not nil. (Bug#13337)
268
5b00b749
GM
269 * term.el (term-default-fg-color, term-default-bg-color):
270 Fix custom type.
271
220740a3
GM
272 * progmodes/etags.el (tags-compression-info-list): Doc fix.
273 (tag-find-file-of-tag-noselect): Check auto-compression-mode
274 rather than 'jka-compr being loaded. (Bug#13338)
275
bdd9367d
WD
2762013-01-04 Wesley Dawson <whd@lavabit.com> (tiny change)
277
278 * icomplete.el (icomplete-completions):
279 Honor icomplete-prospects-height once more following
280 2012-11-29 changes. (Bug#13224)
281
96dd18b1
SM
2822013-01-04 Stefan Monnier <monnier@iro.umontreal.ca>
283
c0bd248c
SM
284 * subr.el (internal--called-interactively-p--get-frame): Find aliases
285 of called-interactively-p as well (bug#13237).
286
4a74c818
SM
287 * view.el (view--enable, view--disable): Rename from view-mode-enable
288 and view-mode-disable and assume it's called from view-mode.
289 (view-mode-enable, view-mode-disable): Redefine as obsolete
290 compatibility layer above view-mode.
291 (view-mode-enter): Call `view-mode'.
292
293 * files.el (after-find-file): Call `view-mode'.
294
96dd18b1
SM
295 * doc-view.el (doc-view-scale-internally): New var.
296 (doc-view-enlarge, doc-view-insert-image): Obey it.
297
c2cf1829
DU
2982013-01-03 Daiki Ueno <ueno@gnu.org>
299
300 * epg.el (epg--start): Ignore errors when /dev/fd/0 does not
301 exist. (Bug#13344)
302
ad235a8b
GM
3032013-01-03 Glenn Morris <rgm@gnu.org>
304
a8aa6c2d
GM
305 * mail/rmail.el (rmail-set-header-1): Ignore case.
306 Handle multi-line headers. (Bug#13330)
307
a6d6c20b
GM
308 * progmodes/make-mode.el (makefile-fill-paragraph): Add doc.
309 Handle paragraph starting at beginning of buffer.
310
ed5bdeb9
GM
311 * subr.el (eval-after-load): Don't purecopy the form, so that it
312 can be nconc'd later on; reverts 2009-11-11 change. (Bug#13331)
313
ad235a8b
GM
314 * emacs-lisp/byte-run.el (defun): Place cl declarations
315 after any interactive spec. (Bug#13265)
316
9539d465 3172013-01-02 Andreas Schwab <schwab@linux-m68k.org>
5cebef2d
AS
318
319 * emacs-lisp/byte-run.el (defmacro): Use same argument parsing as
320 defun. Don't check for DECL if DOCSTRING isn't a string.
321 (defun): Likewise.
322
9539d465 3232013-01-02 Glenn Morris <rgm@gnu.org>
4cddca30 324
5ee1772e
GM
325 * eshell/em-cmpl.el (eshell-pcomplete):
326 More thoroughly imitate pcomplete. (Bug#13293)
327
4cddca30
GM
328 * files.el (parse-colon-path): Doc fix. (Bug#12351)
329 Return nil for empty path elements. (Bug#13296)
330
9539d465 3312013-01-02 Fabián Ezequiel Gallina <fgallina@cuca>
6861432e
FEG
332
333 * progmodes/python.el (python-nav-end-of-statement): Rewrite in
334 order to improve efficiency (Based on Daniel Colascione's
335 <dancol@dancol.org> patch). (Bug#13182)
336
9539d465 3372013-01-02 Glenn Morris <rgm@gnu.org>
b83a2ddd
GM
338
339 * vc/log-edit.el (log-edit-header-contents-regexp): Add doc string.
340
9539d465 3412013-01-02 Andreas Schwab <schwab@linux-m68k.org>
bdcad781
AS
342
343 * emacs-lisp/byte-run.el (defmacro): Don't lose final nil if
344 neither DOCSTRING nor DECL was given. (Bug#13316)
345
aca3d51d
MA
3462013-01-02 Michael Albinus <michael.albinus@gmx.de>
347
348 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Add argument to
349 `error' call.
350 (tramp-do-copy-or-rename-file): Ignore errors when calling
351 `set-file-extended-attributes'.
352
4986fa21
SM
353 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
354 Add handler for `file-acl'.
aca3d51d
MA
355 (tramp-smb-handle-file-acl): New defun.
356
87e65f96
JB
3572013-01-02 Jay Belanger <jay.p.belanger@gmail.com>
358
359 * calc/README: Mention ISO 8601 week-numbering dates.
360
0aac98ac
MR
3612013-01-01 Martin Rudalics <rudalics@gmx.at>
362
363 * view.el (view-mode-enable): New argument run-view-mode-hook.
364 Run view-mode-hook only when it's non-nil (Bug#13315).
365 (view-mode-enter): Call view-mode-enable with run-view-mode-hook
366 argument t.
367
1a82330c
JH
3682012-12-31 Jürgen Hötzel <juergen@archlinux.org>
369
370 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Handle errors
371 (No device connected, invalid device name). (Bug #13299)
372
27fcfe31
MR
3732012-12-31 Martin Rudalics <rudalics@gmx.at>
374
375 * window.el (window-resizable--p): Rename to window-resizable-p.
376 (window-resize-no-error): New function.
377
378 * mail/rmail.el (rmail-maybe-display-summary): Restore behavior
379 broken in fix from 2012-12-28.
380
96c052a5
SM
3812012-12-31 Stefan Monnier <monnier@iro.umontreal.ca>
382
383 * subr.el (special-form-p): Don't signal errors on undef aliases.
384
fd1f1603
JB
3852012-12-31 Jay Belanger <jay.p.belanger@gmail.com>
386
387 * calc/calc-forms.el (math-parse-date): Try using
96c052a5
SM
388 `math-parse-iso-date' when it looks like it might be needed.
389 Allow times of 24:00.
fd1f1603
JB
390 (math-parse-date-validate, math-parse-iso-date-validate): Allow times
391 of 24:00.
392
8db39aeb
GM
3932012-12-30 Glenn Morris <rgm@gnu.org>
394
395 * net/mairix.el (rmail, rmail-summary-displayed, rmail-summary):
396 Remove unnecessary/buggy autoloads (missing interactive). (Bug#13294)
397 (rmail-summary-displayed, rmail-summary): Declare.
398 (mairix-rmail-display): Just require rmail.
399
d5e5e7b4 4002012-12-30 Chong Yidong <cyd@gnu.org>
3c94d7a6
CY
401
402 * emacs-lisp/package.el (package-untar-buffer): Improve integrity
403 check for the tarball contents.
404
d5e5e7b4 4052012-12-30 Matt Fidler <matt.fidler@alcon.com> (tiny change)
af39894a
MF
406
407 * emacs-lisp/package.el (package-untar-buffer): Handle problematic
408 tarfile content listings (Bug#13136).
409
d5e5e7b4 4102012-12-30 Mark Lillibridge <mark.lillibridge@hp.com>
bb709253 411
96c052a5
SM
412 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
413 Insert the undecoded text of the message being forwarded. (Bug#9521)
bb709253 414
4f752957
MA
4152012-12-30 Michael Albinus <michael.albinus@gmx.de>
416
3ee24a3b
MA
417 * net/tramp-sh.el (tramp-set-file-uid-gid): Convert UID and GID to
418 integers, if they are real numbers. (Bug#13282)
419
4f752957
MA
420 * net/tramp-sh.el (tramp-sh-handle-set-file-selinux-context):
421 Return `t' on success.
422
96c052a5
SM
423 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
424 Add handler for `set-file-selinux-context'.
4f752957 425
eff2eb58
MA
4262012-12-29 Michael Albinus <michael.albinus@gmx.de>
427
428 * net/tramp-sh.el (tramp-sh-handle-file-acl): Suppress basic attributes.
429 (tramp-sh-handle-set-file-acl): Return `t' on success.
430
ccad023b
EZ
4312012-12-29 Eli Zaretskii <eliz@gnu.org>
432
96c052a5
SM
433 * files.el (backup-buffer-copy, basic-save-buffer-2):
434 If set-file-extended-attributes fails, fall back on set-file-modes
ccad023b 435 instead of signaling an error. (Bug#13298)
7e56b103 436 (basic-save-buffer): Likewise.
ccad023b 437
ccb1c17e
FEG
4382012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
439
440 * progmodes/python.el: Support other commands triggering
441 python-indent-line so indentation cycling continues to work.
442 (python-indent-trigger-commands): New defcustom.
443 (python-indent-line): Use it.
444
16768034
FEG
4452012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
446
447 * progmodes/python.el (python-shell-send-region): Add blank lines
448 for non sent code so backtraces remain correct.
449
66164d2f
FEG
4502012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
451
452 * progmodes/python.el: Remove cl dependency.
453 (python-syntax-count-quotes): Replace incf call.
454 (python-fill-string): Replace setf call.
455
761231d1
DC
4562012-12-29 Damien Cassou <damien.cassou@gmail.com>
457
43ebd12b 458 * info.el (info-other-window): New arg, for consistency with info.
761231d1 459
7c3e220a
MR
4602012-12-28 Martin Rudalics <rudalics@gmx.at>
461
96c052a5
SM
462 * mail/rmail.el (rmail-maybe-display-summary):
463 Rewrite (Bug#13066).
7c3e220a 464
361828b5
AS
4652012-12-28 Andreas Schwab <schwab@linux-m68k.org>
466
467 * epg.el (epg--start): Modify process-environment locally.
468
23bd348c
DU
4692012-12-28 Daiki Ueno <ueno@gnu.org>
470
471 * epg.el: Support pinentry-curses.
472 Suggested by Werner Koch in
473 <http://lists.gnu.org/archive/html/emacs-devel/2007-02/msg00755.html>.
474 (epg-agent-file, epg-agent-mtime): New variable.
475 (epg--start): Record the modified time of gpg-agent socket file,
476 to restore Emacs frame after pinentry-curses termination.
477 (epg-wait-for-completion): Restore Emacs frame here.
478
313f39aa
JL
4792012-12-27 Juri Linkov <juri@jurta.org>
480
481 * info.el (Info-file-completions): New variable.
482 (Info-read-node-name-1): Complete node names in the Info file
483 when a file name is given. Call `Info-build-node-completions'
484 with a file name.
485 (Info-build-node-completions): Add new arg `file'. When it is
486 non-nil, visit it in a temporary buffer and cache its completions in
487 `Info-current-file-completions'. Move most of the function body to
488 `Info-build-node-completions-1'.
489 (Info-build-node-completions-1): New function with the body from
490 `Info-build-node-completions'. (Bug#12456)
491
a45b7647
JL
4922012-12-27 Juri Linkov <juri@jurta.org>
493
494 * frame.el (frame-maximization-style): Remove user option.
495 (cycle-frame-maximized): Remove function.
496 (toggle-frame-maximized): Rewrite and bind to M-<f10>.
497 (toggle-frame-fullscreen): New command bound to <f11> instead of
498 `toggle-frame-maximized'.
499 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00703.html
500
10ffd0be
MA
5012012-12-27 Michael Albinus <michael.albinus@gmx.de>
502
503 * net/tramp.el (tramp-handle-file-accessible-directory-p): New defun.
504
505 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
506 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
507 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
508 for `file-accessible-directory-p'. (Bug#13275)
509
fd146719
SS
5102012-12-27 Sam Steingold <sds@gnu.org>
511
512 * progmodes/cperl-mode.el (cperl-calculate-indent): Do not stagger
513 continuations, see <http://stackoverflow.com/questions/3582436>.
514
82e2a1f0 5152012-12-27 Dmitry Gutov <dgutov@yandex.ru>
db590ef6
DG
516
517 * progmodes/ruby-mode.el (ruby-indent-beg-re): Only allow "class",
96c052a5
SM
518 "module" and "def" to have indentation before them.
519 Regression from 2012-09-07T04:15:56Z!dgutov@yandex.ru (see the new test).
db590ef6 520
ea0857a1
DG
521 * progmodes/ruby-mode.el: Bump the version to 1.2 (Bug#13200).
522
82e2a1f0 5232012-12-27 Alan Mackenzie <acm@muc.de>
3f6b93cd
AM
524
525 Speed up fontification where there's large brace blocks.
526 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Add a limit
527 to a call of c-beginning-of-decl-1.
528
c34339f3
VS
5292012-12-27 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
530
531 * comint.el (comint-adjust-window-point): New function.
96c052a5
SM
532 (comint-postoutput-scroll-to-bottom):
533 Call comint-adjust-window-point (Bug#13248).
c34339f3 534
78269b95
DG
5352012-12-26 Dmitry Gutov <dgutov@yandex.ru>
536
537 * progmodes/ruby-mode.el (auto-mode-alist): `purecopy' the
538 Rakefile regexp.
539 (auto-mode-alist): Associate .gemspec files with ruby-mode
540 (https://bugs.ruby-lang.org/issues/5453).
541
bd8c13f9
JH
5422012-12-26 Jürgen Hötzel <juergen@archlinux.org>
543
96c052a5
SM
544 * net/tramp-adb.el (tramp-adb-get-ls-command): New defun.
545 Suppress coloring, if possible (required for BusyBox based systems like
677d5c92 546 CyanogenMod).
bd8c13f9
JH
547 (tramp-adb-handle-file-attributes)
548 (tramp-adb-handle-insert-directory)
549 (tramp-adb-handle-file-name-all-completions): Use it.
550 (tramp-adb-get-toolbox): New defun. Check for remote shell
551 implementation (BusyBox or Toolbox).
552
dc646358
CK
5532012-12-24 Constantin Kulikov <zxnotdead@gmail.com> (tiny change)
554
555 * startup.el (initial-buffer-choice): Allow function as value
556 (Bug#13251).
557 (command-line-1): Handle case where initial-buffer-choice
558 specifies a function.
559 * server.el (server-execute): Handle case where
560 initial-buffer-choice specifies a function.
561
e7d52a4d
LI
5622012-12-24 Lars Ingebrigtsen <larsi@gnus.org>
563
564 * mail/smtpmail.el (smtpmail-try-auth-method): Refactored out into
565 its own function.
566 (smtpmail-try-auth-methods): Forget the user name/password if the
567 login is unsuccessful (bug#12424).
568
cdb07539
MA
5692012-12-22 Michael Albinus <michael.albinus@gmx.de>
570
1ef5f225
MA
571 * notifications.el (notifications-notify): Protect body with
572 `with-demoted-errors'.
573
96c052a5
SM
574 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
575 Check properties of remote device. Restart connection, if there is a
cdb07539
MA
576 change.
577
594f37aa
CY
5782012-12-21 Chong Yidong <cyd@gnu.org>
579
580 * sort.el (sort-subr): Doc fix (Bug#13056).
581
a4b0cca1 5822012-12-21 Bastien Guerry <bzg@gnu.org>
acc650b8 583
acc650b8
BG
584 * progmodes/etags.el (tags-search): Fix typo. Bug #13232.
585
0e9c7693
MA
5862012-12-21 Michael Albinus <michael.albinus@gmx.de>
587
588 * simple.el (process-file): Overwrite stderr file, if exists.
589
c6609164
DU
5902012-12-21 Daiki Ueno <ueno@gnu.org>
591
592 * epg.el (epg--start): Print GPG_AGENT_INFO in the debug buffer.
3eb05092 593 (epg-error): Set `error-message' property.
c6609164 594
aa26f345
CY
5952012-12-21 Chong Yidong <cyd@gnu.org>
596
34b4b7eb
CY
597 * international/mule-cmds.el (read-char-by-name): Signal an error
598 if the user does not supply a valid character (Bug#13177).
599
aa26f345
CY
600 * simple.el (transpose-subr-1): Preserve marker positions by
601 changing the insertion sequence (Bug#13122).
602
05c22d87
KD
6032012-12-21 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
604
605 * simple.el (kill-region): Deactivate mark even for empty regions
606 (Bug#13169).
607
f5733f87
CY
6082012-12-21 Chong Yidong <cyd@gnu.org>
609
610 * help-fns.el (describe-variable): Make sure we get the right
611 buffer name (Bug#13105). Suggested by Kelly Dean.
612
fab6916d
MM
6132012-12-20 Michael R. Mauger <mmaug@yahoo.com>
614
615 * comint.el (comint-redirect-previous-input-string): New variable.
616 (comint-redirect-setup, comint-redirect-cleanup)
617 (comint-redirect-preoutput-filter): Use it. Fixes redirection bug.
618 (comint-redirect-preoutput-filter): Fix verbose message.
619
91b982a0
MA
6202012-12-20 Michael Albinus <michael.albinus@gmx.de>
621
622 * progmodes/grep.el (rgrep): Escape command line. Sometimes, it
623 is too long for Tramp. See discussion in
624 <http://thread.gmane.org/gmane.emacs.tramp/8233/focus=8244>.
625
626 * progmodes/compile.el (compilation-start): Remove line escape
627 template.
628
87523aed
DA
6292012-12-20 Dmitry Antipov <dmantipov@yandex.ru>
630
631 * vc/ediff-ptch.el (ediff-map-patch-buffer): Use `point-min-marker'.
632 Adjust comment.
633
ee3c0aec
JB
6342012-12-19 Jonas Bernoulli <jonas@bernoul.li>
635
636 * emacs-lisp/lisp-mnt.el (lm-section-end): Always end before the
637 following non-comment text (bug#13207).
638 (lm-header-multiline): Continuation lines need to be indented more than
639 the first line.
640 (lm-homepage): New function.
641 (lm-with-file): Don't be confused if narrowing is in effect.
f4d79bd0 642
4a74c818
SM
6432012-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
644
f4d79bd0
SM
645 * vc/diff-mode.el (diff-post-command-hook): Don't ignore changes at the
646 very beginning of a hunk (e.g. killing the first line).
647
3c532af6
MA
6482012-12-19 Michael Albinus <michael.albinus@gmx.de>
649
650 * net/tramp-sh.el (tramp-sh-handle-file-acl): Delete empty lines
651 and text properties from returned ACL string.
652 (tramp-sh-handle-set-file-acl): Do not use additional parentheses
653 for "setfacl" command.
654
e0d01ef3
MA
6552012-12-18 Michael Albinus <michael.albinus@gmx.de>
656
657 * net/tramp.el (tramp-error-with-buffer): Give a hint to use
658 `tramp-cleanup-this-connection', when the process has died.
659 (Bug#13151)
660
2387610d
SM
6612012-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
662
663 * icomplete.el (icomplete-completions): Also use … to truncate prefix.
664
19156242
KR
6652012-12-17 Kevin Ryde <user42@zip.com.au>
666
667 * files.el (auto-save-file-name-p): Use \` and \' (bug#13186).
668
53b6a8b1
MA
6692012-12-17 Michael Albinus <michael.albinus@gmx.de>
670
671 Add support for preserving ACL entries of files.
672
673 * net/tramp.el (tramp-file-name-for-operation): Add `file-acl' and
674 `set-file-acl' handlers.
675
19156242
KR
676 * net/tramp-adb.el (tramp-adb-handle-copy-file):
677 Handle PRESERVE-EXTENDED-ATTRIBUTES.
53b6a8b1 678
19156242
KR
679 * net/tramp-compat.el (tramp-compat-copy-file):
680 Handle PRESERVE-EXTENDED-ATTRIBUTES.
53b6a8b1 681
19156242
KR
682 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
683 Add `file-acl' and `set-file-acl' handlers.
684 (tramp-gvfs-handle-copy-file):
685 Handle PRESERVE-EXTENDED-ATTRIBUTES.
686 (tramp-gvfs-handle-file-acl, tramp-gvfs-handle-set-file-acl):
687 New defuns.
53b6a8b1 688
19156242
KR
689 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
690 Add `file-acl' and `set-file-acl' handlers.
53b6a8b1
MA
691 (tramp-remote-acl-p, tramp-sh-handle-file-acl)
692 (tramp-sh-handle-set-file-acl): New defuns.
19156242
KR
693 (tramp-sh-handle-copy-file, tramp-do-copy-or-rename-file):
694 Handle PRESERVE-EXTENDED-ATTRIBUTES.
53b6a8b1 695
19156242
KR
696 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
697 Add `file-acl' and `set-file-acl' handlers.
53b6a8b1
MA
698 (tramp-smb-handle-copy-file): Handle PRESERVE-EXTENDED-ATTRIBUTES.
699
6ae57a67
KD
7002012-12-17 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
701
702 * help-macro.el (make-help-screen): Instead of switch-to-buffer
19156242 703 use pop-to-buffer with NORECORD argument t. As buffer name, use
6ae57a67
KD
704 *Metahelp* with a leading space (Bug#13190).
705
7c3d167f
RF
7062012-12-16 Romain Francoise <romain@orebokech.com>
707
708 * files.el (file-extended-attributes)
709 (set-file-extended-attributes): New functions.
710 (backup-buffer): Use them to handle both SELinux context and ACL
711 entries.
712 (backup-buffer-copy): Work with an alist of extended attributes,
713 rather than an SELinux context.
714 (basic-save-buffer-2): Ditto.
715
19b748ad
TM
7162012-12-16 Timo Myyrä <timo.myyra@gmail.com>
717
718 * battery.el (battery-bsd-apm): New function.
719
70042c64
JB
7202012-12-16 Jay Belanger <jay.p.belanger@gmail.com>
721
722 * calc/calc.el (calc-standard-date-formats): Adjust one of the
723 standard date formats.
724
279f9b06
JL
7252012-12-15 Juri Linkov <juri@jurta.org>
726
727 * isearch.el (isearch-mode-map): Bind `C-x 8 RET' to
728 `isearch-insert-char-by-name'.
729 (with-isearch-suspended): New defmacro with body mostly from
730 `isearch-edit-string' except the part that sets
731 `isearch-new-string' and `isearch-new-message'.
732 (isearch-edit-string): Use new macro `with-isearch-suspended' with
733 body that sets `isearch-new-string' and `isearch-new-message'.
734 (isearch-insert-char-by-name): New command.
735 * international/mule-cmds.el (read-char-by-name): Let-bind
736 `enable-recursive-minibuffers' to t.
737 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00234.html
738
8370def5
JL
7392012-12-15 Juri Linkov <juri@jurta.org>
740
741 * isearch.el (isearch-delete-char, isearch-del-char): Doc fix.
742 (Bug#13175)
743
178fb95d
CS
7442012-12-15 Christopher Schmidt <christopher@ch.ristopher.com>
745
746 * dired-x.el (dired-guess-shell-command): Put colon at the end of
747 the prompt. (Bug#13045)
748
a5f74442
GM
7492012-12-14 Glenn Morris <rgm@gnu.org>
750
751 * emacs-lisp/macroexp.el (macroexp--warn-and-return):
752 Try to include filename in non-bytecomp warning. (Bug#13132)
753
97976f9f
PE
7542012-12-14 Paul Eggert <eggert@cs.ucla.edu>
755
756 Fix permissions bugs with setgid directories etc. (Bug#13125)
757 * files.el (backup-buffer): Don't rely on 9th output of
758 file-attributes, as it's now a placeholder. Instead, use the new
759 optional arg of file-ownership-preserved-p.
760 (file-ownership-preserved-p): New optional arg GROUP.
761 Fix mishandling of setuid directories that would cause this
762 function to return t when it should have returned nil.
763 Document what happens if the file does not exist, and when
764 it's not known whether the ownership will be preserved.
765 * net/tramp-sh.el (tramp-sh-handle-file-ownership-preserved-p):
766 Likewise.
767 (tramp-get-local-gid): Use group-gid for integer, as that's
768 faster and more reliable.
769
016b2a42
JD
7702012-12-14 Julien Danjou <julien@danjou.info>
771
19156242
KR
772 * progmodes/sql.el (sql-mode-postgres-font-lock-keywords):
773 Update keywords list, data type and PL/pgSQL.
016b2a42 774
665e5e07
DA
7752012-12-14 Dave Abrahams <dave@boostpro.com>
776
777 * vc/ediff-util.el (ediff-buffer-type): New function.
778 (ediff-clone-buffer-for-current-diff-comparison): Compute the buf-type
779 rather than taking it as as argument.
780 (ediff-inferior-compare-regions): Adjust calls accordingly (bug#11319).
781
d72e9e92
RC
7822012-12-14 Ryan Crum <ryan.crum@eleostech.com>
783
784 * json.el: Add pretty-print option (bug#12634).
785 (json-encoding-separator, json-encoding-default-indentation)
786 (json--encoding-current-indentation, json-encoding-pretty-print)
787 (json-encoding-lisp-style-closings): New vars.
788 (json--with-indentation): New macro.
789 (json-encode-hash-table, json-encode-alist, json-encode-plist)
790 (json-encode-array): Use it to obey json-encoding-pretty-print.
791 (json-pretty-print-buffer, json-pretty-print): New commands.
792
dbb530d9
DG
7932012-12-14 Dmitry Gutov <dgutov@yandex.ru>
794
795 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
796 Extract `ruby-syntax-propertize-expansions'.
797 (ruby-syntax-propertize-expansions): Only change syntax on
798 certain string delimiters, to punctuation. This way the common
799 functions like forward-word and thing-at-point still work.
800 (ruby-match-expression-expansion): Improve readability.
bb808526
DG
801 (ruby-block-contains-point): New function.
802 (ruby-add-log-current-method): Handle several edge cases.
dbb530d9 803
ce0440ff
JB
8042012-12-13 Juanma Barranquero <lekktu@gmail.com>
805
806 * emacs-lisp/edebug.el (edebug-unload-function): Make sure that
807 unload-feature finishes even when aborting an ongoing edebug session.
808 Also, do not worry about edebug-mode, unload-feature takes care of it.
809
f10331bf
AS
8102012-12-13 Andreas Schwab <schwab@suse.de>
811
812 * net/tls.el (tls-program): Update customize type.
813
5f3a3bb1
JB
8142012-12-13 Juanma Barranquero <lekktu@gmail.com>
815
816 * emacs-lisp/edebug.el (edebug--require-cl-read): New function.
817 (edebug-setup-hook, cl-read-load-hooks): Use it.
818 (edebug-unload-function): New function. (Bug#13163)
819
6ce21463
MA
8202012-12-13 Michael Albinus <michael.albinus@gmx.de>
821
822 * net/tramp-adb.el (tramp-adb-file-name-p): Make it a defsubst.
823 Otherwise, there could be errors in autoloading. (Bug#13151)
824
d754b364
JH
8252012-12-13 Jürgen Hötzel <juergen@archlinux.org>
826
827 * net/tramp-adb.el (tramp-adb-wait-for-output): Remove spurious " ^H"
828 sequences.
829
727f9739 8302012-12-13 Alan Mackenzie <acm@muc.de>
14b8c3d9
AM
831
832 Make CC Mode not hang when _some_ lines end in CRLF. Bug #11841.
833 * progmodes/cc-engine.el (c-backward-comments): Add code to work
834 around `forward-comment' not recognizing ^M as whitespace.
835
727f9739 8362012-12-13 Fabián Ezequiel Gallina <fgallina@cuca>
2c43a9ad
FEG
837
838 * progmodes/python.el (python-skeleton-class)
839 (python-skeleton-def): Do not add space after defun name.
840
eb8006c6
SM
8412012-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
842
843 * emacs-lisp/cl.el (letf): Make it an alias of cl-letf.
844 (cl--symbol-function): Remove (now that funbound is like nil).
845
4c74b1e4
GM
8462012-12-12 Glenn Morris <rgm@gnu.org>
847
848 * button.el (button--area-button-p): Fix typo.
849
37f38bca
SS
8502012-12-12 Sam Steingold <sds@gnu.org>
851
852 * frame.el (frame-maximization-style): New user option.
853 (toggle-frame-maximized): Toggle frame maximization according to
854 `frame-maximization-style', bound to <f11>.
855 (cycle-frame-maximized): Cycle between all maximization styles and
856 non-maximized frame, bound to shift-<f11>.
857
fd49a218
DC
8582012-12-12 David Cadé <codename68@gmail.com>
859
860 * mpc.el (mpc-format): Use truncate-string-to-width (bug#13143).
861
69e1c203
JB
8622012-12-12 Jonas Bernoulli <jonas@bernoul.li>
863
864 * lisp/emacs-lisp/eieio.el: Prettier object pretty-printing (bug#13115).
865 (eieio-override-prin1): Don't quote kewords and booleans.
866 (object-write) <eieio-default-superclass>: Don't put closing parens
867 on new line, avoid needless empty lines, align values that are objects
868 with the slot keyword (instead of beginning on the same line).
869 (eieio-list-prin1): Align value with slot keyword; increase
870 eieio-print-depth before printing members of the list.
871
4b0df848
SM
8722012-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
873
030f4af5
SM
874 * mail/emacsbug.el (report-emacs-bug): Move the intangible text to
875 a display text-property.
876 (report-emacs-bug-hook): Don't bother deleting it any more.
877
6ac1f8ca
SM
878 * hilit-chg.el (highlight-save-buffer-state): Delete.
879 Use with-silent-modifications instead.
880 (hilit-chg-set-face-on-change): Only fixup the text that's modified.
881
4b0df848
SM
882 * button.el: Handle buttons in display text-properties.
883 (button--area-button-p, button--area-button-string):
884 Use (STRING . STRING-POS) representation instead of just STRING.
885
d46d2d3a
EZ
8862012-12-11 Eli Zaretskii <eliz@gnu.org>
887
888 * makefile.w32-in (compile4-SH): Fix a typo that caused term
889 subdirectory be skipped.
890
a0099d31
GM
8912012-12-11 Glenn Morris <rgm@gnu.org>
892
36327e4f
GM
893 * net/rcirc.el (rcirc-urls, rcirc-condition-filter): Doc fixes.
894
a0099d31
GM
895 * progmodes/f90.el (f90-line-continued, f90-indent-region):
896 Treat preprocessor lines embedded in continuations like comments.
897 (f90-indent-line): Special-case preprocessor lines. (Bug#13138)
898
ff3f6c26
JB
8992012-12-11 Jay Belanger <jay.p.belanger@gmail.com>
900
901 * calc/calc.el (calc-standard-date-formats): Add more date
902 formats.
903 * calc/calc-forms.el (math-parse-iso-date): New function.
904 (math-parse-date): Use `math-parse-iso-date' when appropriate.
905 (math-parse-iso-date-validate): Add extra error checking.
906 (calc-date-notation): Add ability to access new date formats.
907
ed6f2cd4
SM
9082012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
909
910 * hi-lock.el (hi-lock--regexps-at-point): Fix boundary case for
911 font-lock as well as when there's no text-property.
912
c868b919
J
9132012-12-10 Jambunathan K <kjambunathan@gmail.com>
914
915 * hi-lock.el: Refine the choice of default face.
916 (hi-lock-keyword->face): New function. Use it wherever we used
917 cadadadr instead.
918 (hi-lock--regexps-at-point): Ignore faces that can't come from hi-lock.
919 (hi-lock--last-face): Remove var.
920 (hi-lock--unused-faces): New var to replace it.
921 (hi-lock-read-face-name): Use/maintain it.
922 (hi-lock-unface-buffer): Maintain it. Fix error for the C-u case.
923 (hi-lock-set-pattern): Ignore new rule if it has the same regexp even
924 if it has another face.
925
2b8c9064
EZ
9262012-12-10 Eli Zaretskii <eliz@gnu.org>
927
928 * subr.el (w32notify-handle-event): New function.
929 (inotify-handle-event): Doc fix.
930
81606b10
RS
9312012-12-10 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
932
933 * subr.el (inotify-event-p, inotify-handle-event): New functions.
934
265c2fbf 9352012-12-10 Dani Moncayo <dmoncayo@gmail.com>
6ce49f24
DM
936
937 * simple.el (just-one-space): Doc fix.
938
265c2fbf 9392012-12-10 Eli Zaretskii <eliz@gnu.org>
8d43bd30 940
c868b919 941 * textmodes/texinfo.el (texinfo-enable-quote-envs): Add "smallexample".
8d43bd30 942
265c2fbf 9432012-12-10 Le Wang <l26wang@gmail.com>
3a21537c
LW
944
945 * hilit-chg.el (hilit-chg-set-face-on-change): Don't burp in
946 narrowed buffer (bug#12361).
947
265c2fbf 9482012-12-10 Juanma Barranquero <lekktu@gmail.com>
bf741d33
JB
949
950 * vc/vc-hooks.el (vc-state): Doc fix.
951
265c2fbf 9522012-12-10 Glenn Morris <rgm@gnu.org>
07026166
GM
953
954 * mail/rmail.el (rmail-maybe-display-summary):
955 Preserve buffer, in case select-window changes it. (Bug#13066)
956
265c2fbf 9572012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
82e1f390
SM
958
959 * emacs-lisp/cl.el, emacs-lisp/cl-lib.el: Move cl-unload-function and
960 cl-load-hook where they belong.
961
bad162fd
SM
9622012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
963
964 * emacs-lisp/cl-lib.el (cl-declaim): Paren typo.
965
ca065258
EZ
9662012-12-09 Eli Zaretskii <eliz@gnu.org>
967
968 Parallelize byte compilation on MS-Windows.
969 * makefile.w32-in (WINS_BASIC1, WINS_BASIC2, WINS_BASIC3)
bad162fd 970 (WINS_BASIC4): New variables, subdivide subdirectories into 4 parts.
ca065258
EZ
971 (WINS_BASIC): Define as concatenation of the above.
972 (compile): Subdivide into 4 separate and independent jobs that can
973 be run in parallel.
974 (compile0-CMD, compile0-SH): New targets for compiling
975 COMPILE_FIRST files, which are prerequisites for the rest of the
976 byte-compilation.
bad162fd
SM
977 (compile1-CMD, compile2-CMD, compile3-CMD, compile4-CMD):
978 New targets for parallel compilation with cmd.exe.
ca065258
EZ
979 (compile1-SH, compile2-SH, compile3-SH, compile4-SH): Ditto for
980 compiling under a Unixy shell.
981
5dea55d2
CY
9822012-12-09 Chong Yidong <cyd@gnu.org>
983
984 * simple.el (set-mark-default-inactive): Delete this
985 accidentally-introduced option.
986 (set-mark-command, exchange-point-and-mark): Remove calls.
987
c6c08d3f
GM
9882012-12-09 Glenn Morris <rgm@gnu.org>
989
990 * emacs-lisp/lisp-mode.el (eval-defun-1): Doc fix.
991 Respect a defcustom's :set function, if appropriate. (Bug#109)
992 (eval-defun): Doc fix.
993
858aab4c
JL
9942012-12-08 Juri Linkov <juri@jurta.org>
995
996 * info.el (Info-copy-current-node-name, Info-breadcrumbs)
997 (Info-fontify-node, Info-bookmark-make-record): Remove the
998 file extension from Info-current-file (Bug#13016).
999
2e4ad7e5
SM
10002012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
1001
1002 * hi-lock.el (hi-lock-unface-buffer): If there's no matching regexp at
1003 point, still provide some default.
1004 (hi-lock--regexps-at-point): Don't enforce a "hi-lock-" prefix on face
1005 names, since we don't use it right now. Actually return the list.
1006 (hi-lock-file-patterns, hi-lock-interactive-patterns): Use defvar-local.
1007
75498db0
CY
10082012-12-07 Chong Yidong <cyd@gnu.org>
1009
ffe7ba8f
CY
1010 * novice.el (disabled-command-function): Remove a spurious help
1011 xref (Bug#13043). Suggested by Kelly Dean.
1012
454eb095
CY
1013 * subr.el (text-clone-maintain): Fix clone overlay deletion when a
1014 syntax is specified (Bug#13025).
1015
75498db0
CY
1016 * info.el (Info-set-mode-line): Remove the file extension from
1017 Info-current-file if there is one (Bug#13016).
1018
13a40633
GM
10192012-12-07 Glenn Morris <rgm@gnu.org>
1020
54c8b5ba
GM
1021 * mail/rmail.el (rmail-mime-decoded): New permanent local.
1022 (rmail-show-message-1): Set rmail-mime-decoded when appropriate.
1023 * mail/rmailedit.el (rmail-cease-edit): Respect rmail-mbox-format
1024 and rmail-mime-decoded. (Bug#9841)
1025
13a40633
GM
1026 * mail/unrmail.el (unrmail-mbox-format): New option. (Bug#6574)
1027 (batch-unrmail, unrmail): Doc fixes.
1028 (unrmail): Respect unrmail-mbox-format.
1029 * mail/rmail.el (rmail-mbox-format): New option.
1030 (rmail-show-message-1): Respect rmail-mbox-format.
1031
4611a3cc
SM
10322012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
1033
1034 * emacs-lisp/cl-macs.el (cl-tagbody): New macro.
1035
1812c724
SM
10362012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
1037
338bfefa
SM
1038 Further cleanup of the "cl-" namespace. Fit CL in 80 columns.
1039 * emacs-lisp/cl-macs.el (cl--pop2, cl--optimize-safety)
1040 (cl--optimize-speed, cl--not-toplevel, cl--parse-loop-clause)
1041 (cl--expand-do-loop, cl--proclaim-history, cl--declare-stack)
1042 (cl--do-proclaim, cl--proclaims-deferred): Rename from the "cl-" prefix.
1043 (cl-progv): Don't rely on dynamic scoping to find the body.
1044 * emacs-lisp/cl-lib.el (cl--optimize-speed, cl--optimize-safety)
1045 (cl--proclaims-deferred): Rename from the "cl-" prefix.
1046 (cl-declaim): Use backquotes.
1047 * emacs-lisp/cl-extra.el (cl-make-random-state, cl-random-state-p):
1048 Use "cl--" prefix for the object's tag.
1049
1812c724
SM
1050 * ses.el: Use advice-add/remove.
1051 (ses--advice-copy-region-as-kill, ses--advice-yank): New functions.
1052 (copy-region-as-kill, yank): Use advice-add.
1053 (ses-unload-function): Use advice-remove.
1054
24fc9480
JB
10552012-12-06 Jonas Bernoulli <jonas@bernoul.li>
1056
1057 * button.el: Make them work in header-lines (bug#12817).
1058 (button-map): Add bindings for header-line and mode-line use.
1059 (button-get, button-put, button-label): `button' may now be a string.
1060 (button-activate): Don't make it a defsubst.
1061 (button--area-button-p, button--area-button-string): New functions.
1062 (make-text-button): Fix the return value when `beg' was a string.
1063 (push-button): Handle the mode-line case.
1064
853c1ffc
SM
10652012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
1066
93852cb0
SM
1067 * progmodes/sql.el: Use cl-lib and lexical-binding; various cleanup.
1068 (sql-signum): Remove. Use `cl-signum' instead.
1069 (sql-read-passwd): Remove; use read-passwd instread.
1070 (sql-get-login-ext): Use read-string.
1071 (sql-get-login): Use dolist and pcase.
1072 (sql--completion-table): Rename from sql-try-completion.
1073 Use complete-with-action.
1074 (sql-mode): Don't change abbrev-all-caps globally.
1075 (sql-connect): Don't rely on dynamic scoping for `new-name'.
1076 (sql-postgres-completion-object): Initialize vars in their `let'.
1077 (sql-comint-sybase, sql-comint-sqlite, sql-comint-mysql)
1078 (sql-comint-solid, sql-comint-ms, sql-comint-postgres)
1079 (sql-comint-interbase): Use a single append, without setq.
1080 (sql-comint-linter): Same, and unwind-protect the LINTER_MBX var.
1081
853c1ffc
SM
1082 * hi-lock.el: Rework the default face and the serialize regexp code.
1083 (hi-lock--auto-select-face-defaults): Remove.
1084 (hi-lock-string-serialize-serial): Remove.
1085 (hi-lock--hashcons-hash): Rename from hi-lock-string-serialize-hash;
1086 make weak.
1087 (hi-lock--hashcons): Rename from hi-lock-string-serialize, return an
1088 equal string.
1089 (hi-lock-set-pattern): Adjust accordingly.
1090 (hi-lock--regexps-at-point): Simplify accordingly.
1091 (hi-lock--auto-select-face-defaults): Remove.
1092 (hi-lock--last-face): New var to replace it.
1093 (hi-lock-read-face-name): Rewrite (bug#11095).
1094 (hi-lock-unface-buffer): Arrange for the face to be the next default.
1095
5504e2c7
MA
10962012-12-06 Michael Albinus <michael.albinus@gmx.de>
1097
853c1ffc
SM
1098 * net/tramp.el (tramp-replace-environment-variables):
1099 Hide compiler warning.
5504e2c7
MA
1100 (tramp-file-name-for-operation): Remove `executable-find',
1101 `start-process', `call-process' and `call-process-region'.
1102
853c1ffc 1103 * net/tramp-compat.el (top): Don't require 'tramp-util and 'tramp-vc.
5504e2c7
MA
1104
1105 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Ensure backward
1106 compatibility.
1107
1108 * net/tramp-sh.el (top): Remove `tramp-sh-handle-call-process-region'.
1109
e1d51545
CY
11102012-12-06 Chong Yidong <cyd@gnu.org>
1111
1112 * ffap.el (ffap-replace-file-component): Fix typo.
1113
d8ad4d3f 11142012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
ef54d315
SM
1115
1116 * progmodes/octave-mod.el (octave-mark-block): Move out of tokens and
1117 fix open-paren-like token test (bug#12785).
1118
d8ad4d3f 11192012-12-06 Glenn Morris <rgm@gnu.org>
52d129cd
GM
1120
1121 * mail/rmailsum.el (rmail-new-summary): Tweak for
1122 rmail-maybe-display-summary changing buffer. (Bug#13066)
1123
d8ad4d3f 11242012-12-06 Juri Linkov <juri@jurta.org>
68bf4e09
JL
1125
1126 * info.el (Info-fontify-node): Don't hide the last newline.
1127 (Bug#12272)
1128
9ad948e2
KY
11292012-12-06 Katsumi Yamaoka <yamaoka@jpl.org>
1130
1131 * mail/mailabbrev.el (mail-abbrev-expand-wrapper): Work in minibuffer
1132 so as to enable message-read-from-minibuffer to expand mail aliases.
1133
4b5c89ee
SM
11342012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
1135
1136 * minibuf-eldef.el (minibuf-eldef-update-minibuffer): Don't mess with
1137 the `intangible' property.
1138 Suggested by Christopher Schmidt <christopher@ch.ristopher.com>
1139
5602a53a
DD
11402012-12-05 Deniz Dogan <deniz@dogan.se>
1141
1142 * net/rcirc.el (rcirc-urls): Update documentation.
1143 (rcirc-condition-filter): New function.
1144 (rcirc-browse-url, rcirc-markup-urls): Use only URLs before point
1145 and exclude consecutive duplicate URLs (Bug#6082).
1146
51b890ac
MA
11472012-12-05 Michael Albinus <michael.albinus@gmx.de>
1148
d5f97f62
MA
1149 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
1150 Check return code of copy command.
1151
853c1ffc
SM
1152 * net/tramp-adb.el (tramp-adb-sdk-dir, tramp-adb-prompt):
1153 Use group `tramp'. Add version.
51b890ac 1154
04b14f2b
CY
11552012-12-05 Chong Yidong <cyd@gnu.org>
1156
a3680194
CY
1157 * ffap.el (ffap-url-regexp): Don't require matching at front of
1158 string (Bug#4952).
1159 (ffap-url-p): If only a substring matches, return that.
1160 (ffap-url-at-point): Use the return value of ffap-url-p.
1161 (ffap-read-file-or-url, ffap-read-file-or-url-internal)
1162 (find-file-at-point, dired-at-point, dired-at-point-prompter)
1163 (ffap-guess-file-name-at-point): Likewise.
1164 (ffap-replace-file-component): Fix typo.
1165
04b14f2b
CY
1166 * info.el (info-display-manual): Add existing Info buffers, whose
1167 files may not be in Info-directory-list, to the completion.
1168 (info--manual-names): New helper function.
1169
49596095
GM
11702012-12-05 Glenn Morris <rgm@gnu.org>
1171
1172 * vc/vc-hg.el (vc-hg-resolve-when-done, vc-hg-find-file-hook):
1173 New functions, for detecting and resolving conflicts. (Bug#10709)
1174
b85aec93
J
11752012-12-04 Jambunathan K <kjambunathan@gmail.com>
1176
1177 * hi-lock.el (hi-lock-auto-select-face): New user variable.
1178 (hi-lock-auto-select-face-defaults): New buffer local variable.
1179 (hi-lock-read-face-name): Honor `hi-lock-auto-select-face'.
1180 (hi-lock-unface-buffer): Prompt user with useful defaults.
1181 With prefix arg, unhighlight all hi-lock patterns in buffer.
1182
8515507f
SM
11832012-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
1184
1185 * obsolete/terminal.el, obsolete/longlines.el: Add obsolecence info.
1186
72cebfb7
MA
11872012-12-04 Michael Albinus <michael.albinus@gmx.de>
1188
1189 * Makefile.in (TRAMP_SRC):
1190 * makefile.w32-in (TRAMP_SRC): Add tramp-adb.el.
1191
0ec3f7ea
JH
11922012-12-04 Juergen Hoetzel <juergen@archlinux.org>
1193
1194 * net/tramp-adb.el: New package.
1195
770de7cf
CY
11962012-12-04 Chong Yidong <cyd@gnu.org>
1197
ce3e7725
CY
1198 * terminal.el: Move to obsolete/.
1199
770de7cf
CY
1200 * longlines.el: Move to obsolete/.
1201
1202 * vc/ediff-diff.el (ediff-extract-diffs, ediff-extract-diffs3):
1203 Remove code referring to longlines mode.
1204
c38a186c
JL
12052012-12-03 Juri Linkov <juri@jurta.org>
1206
1207 * sort.el (delete-duplicate-lines): New command. (Bug#13032)
1208
329bfd64
AM
12092012-12-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1210
1211 * textmodes/ispell.el (ispell-init-process)
475eea6f
AM
1212 (ispell-start-process, ispell-internal-change-dictionary):
1213 Make sure personal dictionary name is expanded after initial
1214 `default-directory' value. Use expanded strings for
1215 keep/restart checks and for value (Bug#13019).
329bfd64 1216
77a74935
JB
12172012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
1218
1219 * calc/calc-forms.el (math-date-to-iso-dt): Fix weekday number.
1220
c5bc2d1d 12212012-12-03 Leo Liu <sdl.web@gmail.com>
ff3d86d0
LL
1222
1223 * files.el (dir-locals-read-from-file): Check file non-empty
1224 before reading. (Bug#13038)
1225
c5bc2d1d 12262012-12-03 Glenn Morris <rgm@gnu.org>
6247eff5
GM
1227
1228 * jka-cmpr-hook.el (jka-compr-get-compression-info):
1229 Remove any version extension before checking filename. (Bug#13006)
1230 (jka-compr-compression-info-list): Belated :version bump.
1231
c5bc2d1d 12322012-12-03 Chong Yidong <cyd@gnu.org>
a5bf43ba 1233
8ecba97d
CY
1234 * simple.el (transient-mark-mode): Doc fix (Bug#11523).
1235
a5bf43ba
CY
1236 * buff-menu.el (Buffer-menu-delete-backwards, Buffer-menu-mode)
1237 (buffer-menu): Doc fix (Bug#12294).
1238
c5bc2d1d 12392012-12-03 Roland Winkler <winkler@gnu.org>
34755291
RW
1240
1241 * calendar/diary-lib.el (diary-header-line-format): Use keybinding
1242 of diary-show-all-entries in the diary buffer (Bug#12994).
1243
c5bc2d1d 12442012-12-03 Michael Albinus <michael.albinus@gmx.de>
c2f5b60a
MA
1245
1246 * net/tramp-sh.el (tramp-perl-encode): Use "read STDIN" instead of
1247 "<STDIN>". This is binary safe.
1248
682ceaf8
JB
12492012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
1250
1251 * calc/calc-forms.el (math-absolute-from-iso-dt)
1252 (math-date-to-iso-dt, math-parse-iso-date-validate)
1253 (math-iso-dt-to-date): New functions.
1254 (math-fd-iso-dt, math-fd-isoyear, math-fd-isoweek)
1255 (math-fd-isoweekday): New variables.
1256 (calc-date-notation, math-parse-standard-date, math-format-date)
1257 (math-format-date-part): Add support for more formatting codes.
1258
db47d5e9
DG
12592012-12-02 Dmitry Gutov <dgutov@yandex.ru>
1260
1261 * vc/vc.el (vc-delete-file, vc-rename-file): Default to the
1262 current buffer's file name when called interactively (Bug#12488).
1263
3faf4944
JL
12642012-12-02 Juri Linkov <juri@jurta.org>
1265
1266 * info.el (info-display-manual): Don't clobber an existing Info
010db6da 1267 buffer (Bug#10770). Add completion (Bug#10771).
3faf4944 1268
cb5d51dc
YN
12692012-12-01 Yuya Nishihara <yuya@tcha.org> (tiny change)
1270
1271 * vc/vc-hooks.el (vc-find-file-hook): Expand buffer-file-truename
1272 before using it for comparison (Bug#5297).
1273
f38cd76e
JA
12742012-12-01 Jari Aalto <jari.aalto@cante.net>
1275
1276 * textmodes/css-mode.el (css-current-defun-name): New function.
1277 (css-mode): Use it.
1278
1279 * textmodes/sgml-mode.el (html-current-defun-name): New function.
1280 (html-mode): Use it.
1281
ba03d0d9
CY
12822012-12-01 Chong Yidong <cyd@gnu.org>
1283
1284 Modularize add-log-current-defun (Bug#2224).
1285 Suggested by Jari Aalto.
1286
1287 * vc/add-log.el (add-log-current-defun-function): Doc fix.
1288 (add-log-current-defun): Move mode-specific code to other files.
1289 (add-log-lisp-like-modes, add-log-c-like-modes)
1290 (add-log-tex-like-modes): Variables deleted.
1291
1292 * emacs-lisp/lisp-mode.el (lisp-current-defun-name): New.
1293 (lisp-mode-variables): Use it.
1294
1295 * progmodes/cc-mode.el (c-common-init):
1296 * progmodes/cperl-mode.el (cperl-mode): Set a value for
1297 add-log-current-defun-function.
1298
1299 * progmodes/m4-mode.el (m4-current-defun-name): New function.
1300 (m4-mode): Use it.
1301
1302 * progmodes/perl-mode.el (perl-current-defun-name): New.
1303 (perl-mode): Use it.
1304
853c1ffc
SM
1305 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
1306 Use lisp-current-defun-name.
ba03d0d9
CY
1307
1308 * textmodes/tex-mode.el (tex-current-defun-name): New.
1309 (tex-common-initialization): Use it.
1310
1311 * textmodes/texinfo.el (texinfo-current-defun-name): New.
1312 (texinfo-mode): Use it.
1313
92eadba5
CY
13142012-12-01 Chong Yidong <cyd@gnu.org>
1315
1316 * emacs-lisp/lisp-mode.el (lisp-mode-variables, lisp-mode):
1317 * progmodes/autoconf.el (autoconf-mode):
1318 * progmodes/js.el (js-mode):
1319 * progmodes/make-mode.el (makefile-mode, makefile-makepp-mode)
1320 (makefile-bsdmake-mode, makefile-imake-mode, makefile-browse):
1321 * progmodes/perl-mode.el (perl-mode):
1322 * progmodes/sh-script.el (sh-mode, sh-set-shell):
1323 * textmodes/css-mode.el (css-mode):
1324 * textmodes/sgml-mode.el (html-mode, sgml-mode)
1325 (sgml-tags-invisible, sgml-guess-indent):
1326 * textmodes/tex-mode.el (tex-common-initialization)
1327 (latex-complete-bibtex-keys, tex-shell, tex-main-file)
1328 (doctex-mode, plain-tex-mode, latex-mode):
1329 * textmodes/texinfo.el (texinfo-mode): Use setq-local.
1330
3ddbf803
KK
13312012-12-01 Kirk Kelsey <kirk.kelsey@0x4b.net>
1332
1333 * vc/vc-hg.el (vc-hg-next-revision):
1334 Ensure use of default "tip" output format. (Bug#6968)
1335
f0b6ae63
KS
13362012-12-01 Kim F. Storm <storm@cua.dk>
1337
1338 * startup.el (fancy-startup-tail): Add a clickable link
1339 (Bug#2176).
1340
c01bf73e
CY
13412012-12-01 Chong Yidong <cyd@gnu.org>
1342
1343 * startup.el (fancy-startup-tail): Improve the message about
1344 auto-save files (Bug#2176).
1345
f0b6ae63
KS
1346 * files.el (recover-session): Improve the descriptive message, and
1347 use substitute-command-keys.
1348
a9400458
GM
13492012-12-01 Glenn Morris <rgm@gnu.org>
1350
1351 * ido.el (ido-file-internal):
1352 Handle other-window, other-frame for dired. (Bug#13036)
1353
fb3bf6ce
GM
13542012-11-30 Glenn Morris <rgm@gnu.org>
1355
1356 * icomplete.el (icomplete-separator): Fix :version.
1357
a813fe3f
CY
13582012-11-30 Chong Yidong <cyd@gnu.org>
1359
1360 * shell.el (shell): For C-u M-x shell, use an inactive shell
1361 buffer as the default (Bug#1975).
276479fd
CY
1362 (shell-apply-ansi-color, shell-reapply-ansi-color): New functions.
1363 (shell-mode): Use them to reapply ansi colorization if Shell mode
1364 is re-enabled.
a813fe3f 1365
a8b733a5
CY
13662012-11-30 Yuriy Vostrikov <delamonpansie@gmail.com> (tiny change)
1367
1368 * vc/vc-git.el (vc-git-command): Disable the pager (Bug#6137).
1369
6fccd6e8
SB
13702012-11-30 Samuel Bronson <naesten@gmail.com>
1371
1372 * progmodes/grep.el (grep-compute-defaults): Do not pass the -e
1373 flag to xargs, for compatibility with BSD xargs (Bug#11703).
1374
53c9a337
TT
13752012-11-30 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
1376
1377 * textmodes/fill.el (fill-region-as-paragraph): Handle overshoot
1378 by move-to-column (Bug#3234).
1379
ccf520bb
CY
13802012-11-30 Chong Yidong <cyd@gnu.org>
1381
1382 * longlines.el (longlines-wrap-line, longlines-encode-region):
1383 Preserve text properties (Bug#1425).
1384
171b0949
OT
13852012-11-30 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
1386
1387 * vc/vc.el (vc-register): Allow registering a file which is
1388 already registered with a different backend (Bug#10589).
1389
cc37e70f
J
13902012-11-29 Jambunathan K <kjambunathan@gmail.com>
1391 Stefan Monnier <monnier@iro.umontreal.ca>
1392
1393 * icomplete.el: Change separator; add ido-style commands.
1394 (icomplete-show-key-bindings): Remove custom var.
1395 (icomplete-get-keys): Remove function.
1396 (icomplete-forward-completions, icomplete-backward-completions):
1397 New commands.
1398 (icomplete-minibuffer-map): New var.
1399 (icomplete-minibuffer-setup): Use it.
1400 (icomplete-exhibit): Don't delay if the list of completions is known.
1401 (icomplete-separator): New custom.
1402 (icomplete-completions): Use it.
1403 * minibuffer.el (completion-all-sorted-completions): Delete duplicates.
1404 (minibuffer-force-complete-and-exit): New command.
1405 (minibuffer--complete-and-exit): New function extracted from
1406 minibuffer-complete-and-exit.
1407 (minibuffer-complete-and-exit): Use it.
83e12fe0
SM
1408
1409 * progmodes/etags.el (visit-tags-table-buffer): Give a more precise
1410 error message when the file doesn't exist (bug#12974).
1411
31646597
KD
14122012-11-29 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
1413
1414 * simple.el (activate-mark): Run activate-mark-hook (bug#13027).
1415
e9df8f87
GM
14162012-11-29 Glenn Morris <rgm@gnu.org>
1417
824eefe4
GM
1418 * files.el (hack-dir-local-variables): Warn if try to set
1419 coding via dir-locals, since it doesn't work. (Bug#7169)
1420
4ad900d9
GM
1421 Add desktop support for restoring vc-dir buffers. (Bug#10606)
1422 * vc/vc-dir.el (vc-dir-mode): Autoload it (for desktop restore).
1423 Set buffer-local value of desktop-save-buffer.
1424 (vc-dir-desktop-buffer-misc-data, vc-dir-restore-desktop-buffer):
1425 New functions.
1426 (desktop-buffer-mode-handlers): Add vc-dir-mode entry.
1427 * desktop.el (desktop-save-buffer-p): Treat vc-dir like dired.
1428
e9df8f87
GM
1429 * files.el (inhibit-local-variables-ignore-case): New. (Bug#10610)
1430 (inhibit-local-variables-p): Use inhibit-local-variables-ignore-case.
1431 Doc fix.
1432 (inhibit-local-variables-regexps, inhibit-local-variables-suffixes):
1433 Doc fixes.
1434
e7c8fcc4
JB
14352012-11-28 Jay Belanger <jay.p.belanger@gmail.com>
1436
1437 * calc/calc-forms.el (calc-date-notation): Fix regexp
1438 used to find time codes. Fix symbol for seconds.
1439
48d6d9c0
GM
14402012-11-27 Glenn Morris <rgm@gnu.org>
1441
1442 * emacs-lisp/derived.el (derived-mode-make-docstring):
1443 Don't mention "abbrev" or "syntax" if nil. (Bug#11277)
1444
369f945d
SM
14452012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
1446
1447 * textmodes/table.el (table-insert): Don't use `symbol-name' on
1448 lexically scoped variables (bug#13005).
1449
5c9cf0a3 14502012-11-27 Glenn Morris <rgm@gnu.org>
98f99594 1451
999e745e
GM
1452 * vc/vc-hooks.el (vc-mistrust-permissions):
1453 Default to t, to avoid data-loss. (Bug#11490)
98f99594 1454
5c9cf0a3 14552012-11-27 Fabián Ezequiel Gallina <fgallina@cuca>
207cb73c 1456
999e745e
GM
1457 * progmodes/python.el (python-indent-guess-indent-offset):
1458 If indentation is guessed make python-indent-offset buffer-local.
1459
207cb73c 1460 Fix Imenu regression.
999e745e
GM
1461 * progmodes/python.el (python-nav-beginning-of-defun):
1462 Fix forward movement when statement(s) separates point from defun.
207cb73c
FEG
1463 (python-imenu-prev-index-position): New function.
1464
5c9cf0a3 14652012-11-27 Eli Zaretskii <eliz@gnu.org>
33a488e4
EZ
1466
1467 * subr.el (buffer-file-type): Declare with defvar-local. Doc fix.
1468
1469 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
865f7d8f 1470 Don't set buffer-file-type. Return nil. (Bug#12989)
33a488e4 1471
5c9cf0a3 14722012-11-27 Glenn Morris <rgm@gnu.org>
50207191
GM
1473
1474 * hippie-exp.el (hippie-expand-try-functions-list):
1475 Re-autoload it. (Bug#12982)
1476
5c9cf0a3 14772012-11-27 Eli Zaretskii <eliz@gnu.org>
2147c6ab 1478
369f945d
SM
1479 * descr-text.el (describe-char-padded-string):
1480 Call internal-char-font only on GUI frames. (Bug#11964)
2147c6ab 1481
5c9cf0a3 14822012-11-27 Andreas Schwab <schwab@linux-m68k.org>
58b1ae1e
AS
1483
1484 * buff-menu.el (Buffer-menu-buffer+size-width): Fix customize type
1485 and obsoletion message.
1486
5c9cf0a3 14872012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
35a10516
SM
1488
1489 * emacs-lisp/cl-macs.el (cl--transform-lambda): Add back `declare' in
1490 the constructs to keep outside of the `cl-block' (bug#12977).
1491
5c9cf0a3 14922012-11-27 Chong Yidong <cyd@gnu.org>
0c5ef133
CY
1493
1494 * mouse.el (mouse-drag-line): Even if the line is not draggable,
1495 keep reading until we get the up-event anyway, in order to process
1496 the up-event for mouse-1-click-follows-link (Bug#12971).
1497
848a2dd1
SM
14982012-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
1499
1500 * emacs-lisp/advice.el (ad-should-compile): Don't compile advice if the
1501 base function is not yet defined (bug#12965).
1502 (ad-activate-advised-definition): Use ad-compile-function.
1503 (ad-activate): Use cond.
1504
9ad79506
LL
15052012-11-25 Leo Liu <sdl.web@gmail.com>
1506
1507 * textmodes/sgml-mode.el (sgml-tag): Fix indentation for closing tag.
1508 (Bug#12979)
1509
e2cb57f5
VB
15102012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
1511
1512 * textmodes/reftex-parse.el (reftex-parse-from-file): Use variable
1513 reftex-section-info-function in order to be compatible with
1514 Texinfo integration.
1515
1516 * textmodes/reftex.el (reftex-section-pre-regexp)
848a2dd1
SM
1517 (reftex-section-post-regexp, reftex-section-info-function):
1518 New variable.
1519 (reftex-compile-variables): Use variables reftex-section-pre-regexp,
1520 reftex-section-post-regexp, and reftex-section-info-function in order
1521 to be compatible with Texinfo integration.
1522
1523 * textmodes/reftex-toc.el (reftex-toc-promote-action):
1524 use reftex-section-pre-regexp variable in order to be compatible with
e2cb57f5
VB
1525 Texinfo integration.
1526
1c4f115d
CY
15272012-11-25 Chong Yidong <cyd@gnu.org>
1528
1529 * faces.el: Make face-spec-set more analogous to setq.
1530 (face-spec-set): Change the third arg to specify whether this
1531 function is being called via defface, customize, or a third party.
1532 Set the appropriate symbol properties. Clear the override spec if
1533 setting via Custom. Initialize face if necessary. (Bug#4988)
1534 (face-spec-recalc): Allow theme faces to completely replace the
1535 defface spec, in the same way as custom faces (Bug#8454).
1536
1537 * cus-face.el (custom-declare-face): Move face initialization to
1538 face-spec-set.
1539 (custom-theme-set-faces): Don't initialize the face name here, as
1540 that is now done in face-spec-set.
1541
1542 * cus-edit.el (custom-face-set, custom-face-mark-to-save)
1543 (custom-face-reset-saved, custom-face-mark-to-reset-standard):
1544 Simplify by using the new arg to face-spec-set.
1545
1546 * emacs-lisp/lisp-mode.el (eval-defun-1): When evaluating defface,
1547 reset face-override-spec too, and use custom-declare-face.
1548
c2350548
JD
15492012-11-24 Jan Djärv <jan.h.d@swipnet.se>
1550
1551 * term/ns-win.el (ns-initialize-window-system): Move creation of
1552 fontsets here (Bug#11964).
1553
ecfc364c
VB
15542012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
1555
1556 * ses.el (ses-rename-cell): Correct bug on mode-line update after
1557 cell renaming.
1558
0917cc54
CY
15592012-11-24 Chong Yidong <cyd@gnu.org>
1560
433212bf
CY
1561 * woman.el (woman-default-faces, woman-monochrome-faces): Mark as
1562 obsolete.
1563
0917cc54
CY
1564 * custom.el (custom-theme-set-variables): Use a topological sort
1565 for ordering by custom dependencies (Bug#12952).
1566 (custom--sort-vars, custom--sort-vars-1): New functions.
1567
d125ca15 15682012-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
002c019c
SM
1569
1570 * emacs-lisp/bytecomp.el (byte-compile-file): Setup default value for
1571 lexical-binding (bug#12938).
1572
d125ca15 15732012-11-24 Wolfgang Jenkner <wjenkner@inode.at>
977f9325
WJ
1574
1575 * image-mode.el (image-transform-check-size): Use assertions only
1576 for images of type imagemagick.
1577
1578 Otherwise no error, image-transform-fit-to-{width,height} is
1579 silently ignored, as before. Doc fix.
1580
d125ca15 15812012-11-24 Chong Yidong <cyd@gnu.org>
bccffa83
CY
1582
1583 * faces.el (color-defined-p): Doc fix (Bug#12853).
1584
d125ca15 15852012-11-24 Juri Linkov <juri@jurta.org>
61a2a122
JL
1586
1587 * dired.el (dired-mark): Add optional arg `interactive'.
1588 Check for `use-region-p' if `interactive' is non-nil.
1589 (dired-unmark, dired-flag-file-deletion): Add optional arg
1590 `interactive'. Call `dired-mark' with the arg `interactive'.
1591 (Bug#10624)
1592
cc4c01bd
JL
1593 * wdired.el: Revert 2012-10-17 change partly and replace it with
1594 Patch by Christopher Schmidt <christopher@ch.ristopher.com>.
1595 (wdired-finish-edit): Add marks for new file names to
1596 `wdired-old-marks'. Restore marks using `dired-mark-remembered'
1597 after `revert-buffer'.
1598 (wdired-do-renames): Remove calls to `dired-remove-file',
1599 `dired-add-file', `dired-add-entry'. (Bug#11795)
1600
d125ca15 16012012-11-24 Alan Mackenzie <acm@muc.de>
b03aabda 1602
dc310ed0
AM
1603 * progmodes/cc-defs.el (c-version): Bump to 5.32.4.
1604
b03aabda
AM
1605 Fix bugs in the state cache. Enhance a debugging mechanism.
1606 * progmodes/cc-engine.el (c-parse-state-get-strategy): Don't use
1607 "brace at column zero" strategy for C++.
1608 (c-append-lower-brace-pair-to-state-cache): Repair algorithm.
1609 (c-parse-state-point): New variable.
1610 (c-record-parse-state-state): Record old parse state with
1611 `copy-tree'. Record previous value of point.
1612 (c-debug-parse-state-double-cons): New debugging function.
1613 (c-debug-parse-state): Call the above new function.
1614 (c-toggle-parse-state-debug): Output a confirmatory message.
1615
002c019c
SM
1616 * progmodes/cc-mode.el (c-before-change, c-after-change):
1617 Call c-invalidate-state-cache from `c-before-change' instead of
b03aabda
AM
1618 `c-after-change'.
1619
930a6273
CY
16202012-11-23 Chong Yidong <cyd@gnu.org>
1621
1622 * find-cmd.el (find-constituents): Add executable, ipath,
1623 readable, samefile, writable, daystart, regextype (Bug#12856).
1624
15c9d04e
SM
16252012-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
1626
1627 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: Use cl-lib and lexical-binding.
1628
2ecb2679
PE
16292012-11-22 Paul Eggert <eggert@cs.ucla.edu>
1630
1631 * calc/calc.el (calc-gregorian-switch): Move to after calc-refresh
1632 definition. This fixes a bootstrap failure.
a14a5a40
PE
1633 (calc-gregorian-switch): In menu, put dates before regions.
1634 This is easier to follow, lines up better in the menu, and lets us
1635 coalesce regions that switch at the same time. Give country
15c9d04e
SM
1636 names, not "Vatican", as that's better for non-expert users.
1637 Use names that are stable between the date of switch and now, e.g.,
a14a5a40
PE
1638 Bohemia and Moravia (which existed then and now) and not
1639 Czechoslovakia (which didn't exist then and doesn't exist now).
1640 What is now the U.S. mostly did not switch at the same time as
1641 Britain, so omit the U.S. Correct spelling of "Britain".
1642 Catholic Switzerland was too much of a mess, so omit it.
2ecb2679 1643
723da6aa
JB
16442012-11-22 Jay Belanger <jay.p.belanger@gmail.com>
1645
1646 * calc/calc.el (calc-gregorian-switch): Refresh the Calc buffer
1647 after the variable is changed.
1648
21fa2482
DC
16492012-11-21 Daniel Colascione <dancol@dancol.org>
1650
1651 * progmodes/sql.el (sql-mode-font-lock-object-name): Support IF NOT EXISTS
b6096e85
DC
1652 in SQL declarations for font-lock.
1653 (sql-imenu-generic-expression): Teach imenu about IF NOT EXISTS.
21fa2482 1654
3ca2f1bf
GM
16552012-11-21 Glenn Morris <rgm@gnu.org>
1656
1bf335cf
GM
1657 * faces.el (face-underline-p, face-inverse-video-p, face-bold-p)
1658 (face-italic-p): Add optional argument "inherit".
1659
3ca2f1bf
GM
1660 * faces.el (set-face-inverse-video, set-face-bold, set-face-italic):
1661 Remove -p suffix from names, for consistency with other set-face-*.
1662 (set-face-inverse-video): Fix interactive spec.
1663 * play/gamegrid.el (gamegrid-make-mono-tty-face):
1664 * textmodes/table.el (table--update-cell-face):
1665 Use set-face-inverse-video rather than now obsolete alias.
1666
6ef2e5ef 16672012-11-21 Eli Zaretskii <eliz@gnu.org>
7cf95797
EZ
1668
1669 * simple.el (line-move): Don't call line-move-partial if
1670 scroll-conservatively is in effect. (Bug#12927)
1671
6ef2e5ef 16722012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
63f25172 1673
93b05041
SM
1674 * eshell/em-cmpl.el (eshell-pcomplete): Refine fix for bug#12838:
1675 Fallback on completion-at-point rather than
1676 pcomplete-expand-and-complete, and only if pcomplete actually failed.
1677 (eshell-cmpl-initialize): Setup completion-at-point.
1678
1679 * pcomplete.el (pcomplete--entries): Obey pcomplete-ignore-case.
1680
bc715d67
SM
1681 * emacs-lisp/ert.el (ert--expand-should-1): Adapt to cl-lib.
1682
6ef2e5ef 16832012-11-21 Michael Albinus <michael.albinus@gmx.de>
d7f2a65c
MA
1684
1685 * net/tramp-sh.el (tramp-do-copy-or-rename-file): If both files
1686 are remote, check out-of-band property for both.
1687
6ef2e5ef 16882012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
d1c0cddf
SM
1689
1690 * window.el (switch-to-buffer): Re-add the warning that was lost in the
1691 code rewrite.
1692
6ef2e5ef 16932012-11-21 Paul Eggert <eggert@cs.ucla.edu>
0c93aa38 1694
535efd4a
PE
1695 More minor time fixes.
1696 * calendar/time-date.el: Commentary fix.
1697 * net/tramp-sh.el (tramp-do-file-attributes-with-ls): Undo last change;
1698 too much other code depends on (0 0) time stamps.
1699 * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
1700 Add a couple of FIXME comments.
1701
0c93aa38
PE
1702 Minor cleanup for times as lists of four integers.
1703 * files.el (dir-locals-directory-cache):
1704 * ps-bdf.el (bdf-file-mod-time, bdf-read-font-info):
1705 Doc fixes.
1706 * net/tramp-sh.el (tramp-do-file-attributes-with-ls):
1707 * ps-bdf.el (bdf-file-newer-than-time):
1708 Process four-integers time stamps, not two. Doc fixes.
1709
23ba2705
SM
17102012-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
1711
2e31777b
SM
1712 * uniquify.el (uniquify-managed): Use defvar-local.
1713 (rename-buffer, create-file-buffer): Advise with advice-add.
1714 (uniquify-unload-function): Unadvise accordingly.
1715
8b62d742
SM
1716 * emacs-lisp/trace.el: Rewrite, use nadvice and lexical-binding.
1717 (trace-buffer): Don't purecopy.
1718 (trace-entry-message, trace-exit-message): Add `context' arg.
1719 (trace--timer): New var.
1720 (trace-make-advice): Adjust for use in nadvice.
1721 Add `context' argument. Delay `display-buffer' via a timer.
1722 (trace-function-internal): Use advice-add.
1723 (trace--read-args): New function.
1724 (trace-function-foreground, trace-function-background): Use it.
1725 (trace-function): Rename to trace-function-foreground and redefine as
1726 an alias to that new name.
1727 (untrace-function, untrace-all): Adjust to the use of nadvice.
1728
5d0ccd95
SM
1729 * emacs-lisp/bytecomp.el (byte-compile): Fix handling of closures.
1730
3837d988
SM
1731 * emacs-lisp/byte-run.el (defun-declarations-alist): Fix last change.
1732
23ba2705
SM
1733 * subr.el (called-interactively-p-functions): New var.
1734 (internal--called-interactively-p--get-frame): New macro.
1735 (called-interactively-p, interactive-p): Rewrite in Lisp.
1736 * emacs-lisp/nadvice.el (advice--called-interactively-skip): New fun.
1737 (called-interactively-p-functions): Use it.
1738 * emacs-lisp/edebug.el (edebug--called-interactively-skip): New fun.
1739 (called-interactively-p-functions): Use it.
1740 * allout.el (allout-called-interactively-p): Don't assume
1741 called-interactively-p is a subr.
1742
b0636be7
GM
17432012-11-20 Glenn Morris <rgm@gnu.org>
1744
1745 * profiler.el (profiler-report-mode-map): Add a menu.
1746 No need to bind `q' because we derive from special-mode.
1747 (profiler-report-find-entry): Handle calls from the menu-bar.
1748
855b17af
SM
17492012-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
1750
14146222
SM
1751 * emacs-lisp/byte-run.el (defun-declarations-alist):
1752 Allow a compiler-macro to be a lambda expression.
1753
1754 * progmodes/python.el: Use cl-lib. Move var declarations outside of
1755 eval-when-compile.
1756 (python-syntax-context): Add compiler-macro.
1757 (python-font-lock-keywords): Simplify with De Morgan.
1758
1000d895
SM
1759 * vc/diff-mode.el (diff-hunk): Don't make useless timers.
1760
ac5392dc
SM
1761 * files.el (load-file): Require match in minibuffer selection, as was
1762 the case in Emacs-20 before we changed the spec to allow .elc files
1763 (bug#12935).
1764
19dc7206
SM
1765 * json.el: Don't require cl since we don't use it.
1766 * color.el: Don't require cl.
1767 (color-complement): `caddr' -> `nth 2'.
1768
855b17af
SM
1769 * calendar/time-date.el (time-to-seconds): De-obsolete.
1770
e8909bdc
JB
17712012-11-19 Jay Belanger <jay.p.belanger@gmail.com>
1772
1773 * calc/calc-forms.el (math-leap-year-p): Fix formula for negative
1774 year numbers.
1775 (math-date-to-julian-dt): Adjust the initial approximation for the
1776 year to deal with the new definition of the DATE.
1777
6e9f7997
DC
17782012-11-19 Daniel Colascione <dancol@dancol.org>
1779
855b17af
SM
1780 * term/w32-win.el (cygwin-convert-path-from-windows):
1781 Accomodate rename of cygwin_convert_path* to cygwin_convert_file_name*.
6e9f7997 1782
6a3dd257
CY
17832012-11-18 Chong Yidong <cyd@gnu.org>
1784
1785 * filecache.el (file-cache--read-list): New function.
1786 (file-cache-add-directory-list, file-cache-add-file-list)
1787 (file-cache-delete-file-list, file-cache-delete-directory-list):
1788 Use it to read a list of files or directories (Bug#12846).
1789 (file-cache-add-file, file-cache-add-directory)
1790 (file-cache-delete-file-list, file-cache-delete-file-regexp)
1791 (file-cache-delete-directory): Print an message.
1792
eef97f35
JB
17932012-11-18 Jay Belanger <jay.p.belanger@gmail.com>
1794
1795 * calc/calc-forms.el (math-date-to-dt): Use integer date when
1796 calling `math-date-to-julian-dt' and 'math-date-to-gregorian-dt'.
1797
913c8291
GM
17982012-11-18 Glenn Morris <rgm@gnu.org>
1799
1800 * image.el (insert-image, insert-sliced-image): Doc fix.
1801
2ac9538d 18022012-11-18 Chong Yidong <cyd@gnu.org>
ec6f8ce6
CY
1803
1804 * emacs-lisp/syntax.el (syntax-propertize-function): Doc fix
1805 (Bug#12810).
1806
2ac9538d 18072012-11-18 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
c2d07557
CY
1808
1809 * vc/vc-svn.el (vc-svn-merge-news): Properly parse the merge
1810 response when the target file is in a subdirectory (Bug#12757).
1811
2ac9538d 18122012-11-18 Chong Yidong <cyd@gnu.org>
33f8917c
CY
1813
1814 * filecache.el (file-cache-add-file-list): Doc fix (Bug#12694).
1815
2ac9538d 18162012-11-18 Glenn Morris <rgm@gnu.org>
65463c40 1817
9a5e2ee3
GM
1818 * emacs-lisp/cl-lib.el (face-underline-p):
1819 Use set-face-underline rather than the alias set-face-underline-p.
1820
65463c40 1821 * window.el (with-temp-buffer-window): Doc fix.
95f0501e
GM
1822 * subr.el (with-output-to-temp-buffer):
1823 Add doc xref to with-temp-buffer-window.
65463c40 1824
c9ed8e3d
JB
18252012-11-18 Juanma Barranquero <lekktu@gmail.com>
1826
1827 * woman.el (woman-non-underline-faces): Use `set-face-underline'.
1828 * calc/calc.el (math-format-date-cache): Declare.
1829
310e60d9
PE
18302012-11-17 Paul Eggert <eggert@cs.ucla.edu>
1831
6f6b82d6
PE
1832 Calc by default uses the Gregorian calendar for all dates (Bug#12633).
1833 It also uses January 1, 1 AD as its day number 1.
310e60d9 1834 * calc/calc-forms.el (math-julian-date-beginning)
6f6b82d6 1835 (math-julian-date-beginning-int): Implement this.
310e60d9 1836
d7fe6352
JB
18372012-11-17 Juanma Barranquero <lekktu@gmail.com>
1838
1839 * descr-text.el (quail-find-key):
1840 * dired.el (desktop-file-name):
1841 * dirtrack.el (shell-prefixed-directory-name, shell-process-cd):
1842 * generic-x.el (comint-mode, comint-exec):
1843 * image-dired.el (widget-forward):
1844 * info.el (speedbar-add-expansion-list, speedbar-center-buffer-smartly)
1845 (speedbar-change-expand-button-char)
1846 (speedbar-change-initial-expansion-list, speedbar-delete-subblock)
1847 (speedbar-make-specialized-keymap, speedbar-make-tag-line):
1848 * printing.el (easy-menu-add-item, easy-menu-remove-item)
1849 (widget-field-action, widget-value-set):
1850 * speedbar.el (imenu--make-index-alist):
1851 * term.el (ring-empty-p, ring-ref, ring-insert-at-beginning)
1852 (ring-length, ring-insert):
1853 * vcursor.el (compare-windows-skip-whitespace):
1854 * woman.el (dired-get-filename):
1855 Declare functions.
1856
1857 * term/w32-win.el (cygwin-convert-path-from-windows): Fix declaration.
1858
c9f618db
JB
18592012-11-17 Jay Belanger <jay.p.belanger@gmail.com>
1860
1861 * calc/calc.el (calc-gregorian-switch): New variable.
1862
1863 * calc/calc-forms.el (math-day-in-year, math-dt-before-p)
1864 (math-absolute-from-gregorian-dt, math-absolute-from-julian-dt)
1865 (math-date-to-julian-dt, math-date-to-gregorian-dt): New functions.
1866 (math-leap-year-p): Add option to distinguish between Julian
1867 and Gregorian calendars.
1868 (math-day-number): Use `math-day-in-year' to do the computations.
1869 (math-absolute-from-dt): Rename from `math-absolute-from-date'.
1870 Use `math-absolute-from-gregorian' and `math-absolute-from-julian'
1871 to do the computations.
1872 (math-date-to-dt): Use `math-date-to-julian-dt' and
1873 `math-date-to-gregorian-dt' to do the computations.
1874 (calcFunc-weekday, math-format-date-part): Use the new version of
1875 the DATE to determine the weekday.
1876 (calcFunc-newmonth, calcFunc-newyear): Use `calc-gregorian-switch'
1877 when necessary.
1878
3804f7bc
EZ
18792012-11-17 Eli Zaretskii <eliz@gnu.org>
1880
1881 * term/w32-win.el (w32-handle-dropped-file): Use 'file://' only on
1882 Cygwin; otherwise use 'file:'. (Bug#12914)
1883 (cygwin-convert-path-from-windows): Declare, to avoid
1884 byte-compiler warnings.
1885
de959d4d
AP
18862012-11-17 Andreas Politz <politza@fh-trier.de>
1887
1888 * ibuffer.el (ibuffer-mark-forward, ibuffer-unmark-forward)
1889 (ibuffer-unmark-backward, ibuffer-mark-interactive): Support plain
1890 prefix and negative numeric prefix args (Bug#12795).
1891
e45deaef
SB
18922012-11-17 Stephen Berman <stephen.berman@gmx.net>
1893
1894 * play/gamegrid.el (gamegrid-add-score-with-update-game-score-1):
1895 Don't signal an error with a score that is too low to add to the
1896 list of top scores. (Bug#12779)
1897
ec15e0ff
CY
18982012-11-17 Chong Yidong <cyd@gnu.org>
1899
8e7696a1
CY
1900 * help-mode.el (help-xref-interned): End on point-min (Bug#12737).
1901
ec15e0ff
CY
1902 * filecache.el (file-cache-add-file): Handle relative file name in
1903 the argument (Bug#12694).
1904
60c4ee66
JH
19052012-11-16 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
1906
1907 * eshell/em-unix.el (eshell/mkdir): Handle "--parents" (bug#12897).
1908
cdc5d88c
SM
19092012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
1910
dd0c5bbb
SM
1911 * emacs-lisp/advice.el (ad-make-advised-definition): Improve last fix.
1912
cdc5d88c
SM
1913 * emacs-lisp/cl-lib.el: Set more meaningful version number.
1914
0ff7851c
MR
19152012-11-16 Martin Rudalics <rudalics@gmx.at>
1916
1917 * window.el (enlarge-window, shrink-window): Don't mention return
1918 value in doc-string (Bug#12896).
1919 (window--display-buffer): Don't resize frames - it won't work
1920 with all window managers and defeat pop-up-frame-alist.
1921 (display-buffer-alist): In doc-string explain that CONDITION can
1922 be a function and which arguments are passed to it (Bug#12854).
1923 (display-buffer-assq-regexp): New argument ACTION. Handle lambda
1924 expressions (Bug#12854).
1925 (display-buffer): Pass ACTION argument to
1926 display-buffer-assq-regexp.
1927
dedd1884
GM
19282012-11-16 Glenn Morris <rgm@gnu.org>
1929
7c82753d
GM
1930 * window.el (fit-frame-to-buffer-bottom-margin)
1931 (fit-frame-to-buffer, fit-window-to-buffer): Doc fixes.
1932
dedd1884
GM
1933 * faces.el (face-underline-p): Use face-attribute-specified-or.
1934
96e05507 19352012-11-16 Juanma Barranquero <lekktu@gmail.com>
662b0ee6
JB
1936
1937 * emacs-lisp/cl-macs.el (cl-loop, cl-do, cl-do*): Doc fixes.
1938
96e05507 19392012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
eb31fa40
SM
1940
1941 * emacs-lisp/cl-macs.el (cl-flet, cl-flet*): Fix docstring (bug#12895).
1942
96e05507 19432012-11-16 Glenn Morris <rgm@gnu.org>
e2e13f18 1944
17c083ac
GM
1945 * eshell/em-cmpl.el (eshell-pcomplete): New command. (Bug#12838)
1946 (eshell-cmpl-initialize): Bind eshell-pcomplete to TAB, C-i.
1947
bde3c6c0
GM
1948 * faces.el (face-underline-p): Doc fix. Handle :underline being
1949 things other than `t' (a string, a list).
1950 (face-inverse-video-p): Doc fix.
1951 (set-face-underline): Rename it back from set-face-underline-p.
1952 Doc fix. Allow interactive input of values other than t.
1953 (read-face-attribute): Apply formatting to :underline,
1954 since like :box and :stipple it can take list values.
1955
e2e13f18
GM
1956 * term.el (ansi-term): Don't let C-x escape-char binding
1957 clobber the more standard C-c binding. (Bug#12842)
1958
e0ea8060
GM
1959 * subr.el (set-temporary-overlay-map): Doc fix.
1960
96e05507 19612012-11-16 Martin Rudalics <rudalics@gmx.at>
92346275
MR
1962
1963 * window.el (record-window-buffer)
1964 (display-buffer-record-window): When copying the markers to
1965 window-point preserve window-point-insertion-type. (Bug#12588)
1966
96e05507 19672012-11-16 Glenn Morris <rgm@gnu.org>
7b1bf173
GM
1968
1969 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
1970 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error):
1971 Use new names for hooks rather than obsolete aliases.
1972
faeafc01
DC
19732012-11-15 Daniel Colascione <dancol@dancol.org>
1974
1975 * term/w32-win.el (w32-handle-dropped-file): Use a "file://"
9533048d
DC
1976 prefix instead of "file:" so that when FILE-NAME begins with "//",
1977 as it does when the target file is on a network share, url-handler
1978 isn't confused.
1979
1232d6c2
SM
19802012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
1981
1982 * emacs-lisp/advice.el (ad-definition-type): Make sure we don't use
1983 a preactivated advice from an old advice.el; they're not compatible!
1984
47f01a8a
KY
19852012-11-15 Katsumi Yamaoka <yamaoka@jpl.org>
1986
1987 * emacs-lisp/nadvice.el (advice--make-interactive-form):
1988 Fix string-spec case.
1989
1990 * emacs-lisp/advice.el (ad-make-advised-definition): Fix undefined case.
1991
a61428c4
SM
19922012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
1993
1994 * emacs-lisp/nadvice.el: Add buffer-local support to add-function.
1995 (advice--buffer-local-function-sample): New var.
1996 (advice--set-buffer-local, advice--buffer-local): New functions.
1997 (add-function, remove-function): Use them.
1998
875ce3a7
DA
19992012-11-15 Drew Adams <drew.adams@oracle.com>
2000
2001 * imenu.el (imenu--split-submenus): Use imenu--subalist-p (bug#12717).
2002
589fc479
SM
20032012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
2004
2005 * emacs-lisp/cl-macs.el (cl--transform-lambda): Defend against
2006 potential binding of print-gensym to t, and prettify (back)quotes in
2007 case they appear in args's default values (bug#12884).
2008
1668ea90
SM
20092012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
2010
2011 * emacs-lisp/nadvice.el: Add around advice for interactive specs.
2012 (advice-eval-interactive-spec): New function.
2013 (advice--make-interactive-form): Support around advice (bug#12844).
2014
8619323f
DG
20152012-11-14 Dmitry Gutov <dgutov@yandex.ru>
2016
2017 * progmodes/ruby-mode.el (ruby-expr-beg): Make heredoc detection
2018 more strict. Add docstring.
c62792e7
DG
2019 (ruby-expression-expansion-re): Extract from
2020 `ruby-match-expression-expansion'.
2021 (ruby-syntax-propertize-function): After everything else, search
2022 for expansions in string literals, mark their insides as
2023 whitespace syntax and save match data for font-lock.
2024 (ruby-font-lock-keywords): Use the 2nd group from expression
2025 expansion matches.
2026 (ruby-match-expression-expansion): Use the match data saved to the
2027 text property in ruby-syntax-propertize-function.
8619323f 2028
9c3912d3
SM
20292012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
2030
2031 * emacs-lisp/gv.el (setf): Fix debug spec for multiple assignments
2032 (bug#12879).
2033
5e9419e8
DG
20342012-11-13 Dmitry Gutov <dgutov@yandex.ru>
2035
2036 * progmodes/ruby-mode.el (ruby-move-to-block): Looks for a block
2037 start/end keyword a bit harder. Works with different values of N.
2038 Add more comments.
2039 (ruby-end-of-block): Update accordingly.
2040
3c442f8b
SM
20412012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
2042
fa470af0
SM
2043 * woman.el (woman-file-name): Don't mess with unread-command-events
2044 (bug#12861).
2045
3c442f8b
SM
2046 * emacs-lisp/advice.el: Layer on top of nadvice.el.
2047 Remove out of date self-require hack.
2048 (ad-do-advised-functions): Use simple `dolist'.
2049 (ad-advice-name, ad-advice-protected, ad-advice-enabled)
2050 (ad-advice-definition): Redefine as functions.
2051 (ad-advice-classes): Move before first use.
2052 (ad-make-origname, ad-set-orig-definition, ad-clear-orig-definition)
fa470af0 2053 (ad-make-mapped-call, ad-make-advised-docstring,ad-make-plain-docstring)
3c442f8b 2054 (ad--defalias-fset): Remove functions.
fa470af0 2055 (ad-make-advicefunname, ad-clear-advicefunname-definition): New funs.
3c442f8b
SM
2056 (ad-get-orig-definition): Rewrite.
2057 (ad-make-advised-definition-docstring): Change base docstring.
2058 (ad-real-orig-definition): Rewrite.
2059 (ad-map-arglists): Change name of called function.
2060 (ad--make-advised-docstring): Redirect `function' from ad-Advice-...
2061 (ad-make-advised-definition): Simplify.
2062 (ad-assemble-advised-definition): Tweak for new calling context.
fa470af0 2063 (ad-activate-advised-definition): Setup ad-Advice-* i.s.o ad-Orig-*.
3c442f8b
SM
2064 (ad--defalias-fset): Rename from ad-handle-definition. Make it set the
2065 function and call ad-activate if needed.
2066 (ad-activate, ad-deactivate): Don't call ad-handle-definition any more.
2067 (ad-recover): Clear ad-Advice-* instead of ad-Orig-*.
2068 (ad-compile-function): Compile ad-Advice-*.
2069 (ad-activate-on-top-level, ad-with-auto-activation-disabled): Remove.
2070 (ad-start-advice, ad-stop-advice): Remove.
2071
5745cae6
DG
20722012-11-13 Dmitry Gutov <dgutov@yandex.ru>
2073
2074 * progmodes/ruby-mode.el (ruby-add-log-current-method): Print the
2075 period before class method names, not after. Remove handling of
2076 one impossible case. Add comments.
2077
413d4689
SM
20782012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
2079
7db1bda8
SM
2080 * emacs-lisp/advice.el: Remove support for freezing.
2081 (ad-make-freeze-docstring, ad-make-freeze-definition): Remove functions.
2082 (ad-make-single-advice-docstring, ad-defadvice-flags, defadvice):
2083 Remove support for `freeze'.
2084
413d4689
SM
2085 * emacs-lisp/cl.el (dolist, dotimes, declare): Use advice-add to
2086 override the default.
2087 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Rewrite without using
2088 cl--dotimes/dolist.
2089 * subr.el (dolist, dotimes, declare): Redefine them normally, even when
2090 `cl' is loaded.
2091
2092 * emacs-lisp/nadvice.el (advice--normalize): New function, extracted
2093 from add-advice.
2094 (advice--strip-macro): New function.
2095 (advice--defalias-fset): Use them to handle macros.
2096 (advice-add): Use them.
2097 (advice-member-p): Correctly handle macros.
2098
f178c32d
DG
20992012-11-13 Dmitry Gutov <dgutov@yandex.ru>
2100
7db1bda8
SM
2101 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2102 Never font-lock the beginning of singleton class as heredoc.
f178c32d 2103
f78ee6af 21042012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
f8705f6e
SM
2105
2106 * emacs-lisp/gv.el (gv-define-simple-setter): One more fix (bug#12871).
2107
f78ee6af 21082012-11-13 Wolfgang Jenkner <wjenkner@inode.at>
9db94175
WJ
2109
2110 * ansi-color.el (ansi-color-apply-sequence): Implement SGR codes
f78ee6af
GM
2111 39 and 49 (bug#12792). Also, treat unimplemented parameters as 0,
2112 thereby restoring the behavior of revisions prior to 2012-08-15T03:33:55Z!monnier@iro.umontreal.ca.
9db94175 2113
f78ee6af 21142012-11-13 Fabián Ezequiel Gallina <fgallina@cuca>
2e6625b5
FEG
2115
2116 Fix end-of-defun misbehavior.
2117 * progmodes/python.el (python-nav-beginning-of-defun): Rename from
2118 python-beginning-of-defun-function. Handle nested defuns
2119 correctly.
2120 (python-nav-end-of-defun): Rename from
2121 python-end-of-defun-function. Ensure forward movement.
f8705f6e 2122 (python-info-current-defun): Reimplement to work as intended
2e6625b5
FEG
2123 with new fixed python-nav-{end,beginning}-of-defun. Stop scanning
2124 parent defuns as soon as possible.
2125
f78ee6af 21262012-11-13 Glenn Morris <rgm@gnu.org>
24c38527
GM
2127
2128 * progmodes/flymake.el (flymake-error-bitmap)
2129 (flymake-warning-bitmap, flymake-fringe-indicator-position): Doc fixes.
2130 (flymake-error-bitmap, flymake-warning-bitmap): Fix :types.
2131
f78ee6af 21322012-11-13 Dmitry Gutov <dgutov@yandex.ru>
d1e1e53d
DG
2133
2134 * progmodes/ruby-mode.el (ruby-move-to-block): When moving
2135 backward, always stop at indentation. Reverts the change from
2136 2012-08-12T22:06:56Z!monnier@iro.umontreal.ca (Bug#12851).
2137
f78ee6af 21382012-11-13 Glenn Morris <rgm@gnu.org>
68146aa5 2139
a1d3e07e
GM
2140 * ibuffer.el (ibuffer-mode-map, ibuffer-mode):
2141 Add ibuffer-filter-by-derived-mode.
2142
84acf328
GM
2143 * ibuffer.el (ibuffer-mode-map): Don't have two menu items with
2144 the same name shadowing each other.
2145
38785e75
GM
2146 * window.el (with-temp-buffer-window): Doc tweak.
2147
57fc0fee
GM
2148 * emacs-lisp/debug.el (debugger-bury-or-kill): Doc tweak.
2149
6ba6a3e5
GM
2150 * help.el (temp-buffer-max-height):
2151 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-bottom-margin):
68146aa5
GM
2152 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix :version.
2153
231d8498
SM
21542012-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
2155
2156 * emacs-lisp/nadvice.el: New package.
2157 * subr.el (special-form-p): New function.
2158 * emacs-lisp/elp.el: Use lexical-binding and advice-add.
2159 (elp-all-instrumented-list): Remove var.
2160 (elp-not-profilable): Remove elp-wrapper.
2161 (elp-profilable-p): Use autoloadp and special-form-p.
2162 (elp--advice-name): New const.
2163 (elp-instrument-function): Use advice-add.
2164 (elp--instrumented-p): New predicate.
2165 (elp-restore-function): Use advice-remove.
2166 (elp-restore-all, elp-reset-all): Use mapatoms.
2167 (elp-set-master): Use elp--instrumented-p.
2168 (elp--make-wrapper): Rename from elp-wrapper, return a function
2169 suitable for advice-add. Use cl-inf.
2170 (elp-results): Use mapatoms+elp--instrumented-p.
2171 * emacs-lisp/debug.el: Use lexical-binding and advice-add.
2172 (debug-function-list): Remove var.
2173 (debug): Rename arg, and then let-bind it explicitly inside.
2174 (debugger-setup-buffer): Rename arg.
2175 (debugger-setup-buffer): Adjust counts to new debug-on-entry setup.
2176 (debugger-frame-number): Adjust to new debug-on-entry setup.
2177 (debug--implement-debug-on-entry): Rename from
2178 implement-debug-on-entry, add argument.
2179 (debugger-special-form-p): Remove, use special-form-p instead.
2180 (debug-on-entry): Use advice-add.
2181 (debug--function-list): New function.
2182 (cancel-debug-on-entry): Use it, along with advice-remove.
2183 (debug-arglist, debug-convert-byte-code, debug-on-entry-1): Remove.
2184 (debugger-list-functions): Use debug--function-list instead of
2185 debug-function-list.
2186 * emacs-lisp/advice.el (ad-save-real-definition): Remove, unused.
2187 (ad-special-form-p): Remove, use special-form-p instead.
2188 (ad-set-advice-info): Use add-function and remove-function.
2189 (ad--defalias-fset): Adjust accordingly.
2190
19e09879
GM
21912012-11-10 Glenn Morris <rgm@gnu.org>
2192
714cebd1
GM
2193 * mail/emacsbug.el (report-emacs-bug-tracker-url)
2194 (report-emacs-bug-bug-alist, report-emacs-bug-choice-widget)
2195 (report-emacs-bug-create-existing-bugs-buffer)
2196 (report-emacs-bug-parse-query-results)
2197 (report-emacs-bug-query-existing-bugs): Remove. (Bug#7449)
2198
bf67dafa
GM
2199 * term.el (term-default-fg-color, term-default-bg-color):
2200 Make obsolete, rather than just saying "deprecated" in the doc.
2201
19e09879
GM
2202 * term.el (term): Rename from `term-face'.
2203 (term-current-face, ansi-term-color-vector)
2204 (term-default-fg-color, term-default-bg-color, term-ansi-reset):
2205 Update all users.
2206
6baf66d5 22072012-11-10 Jan Djärv <jan.h.d@swipnet.se>
531bdce6
JD
2208
2209 * server.el (server-create-window-system-frame): Handle Nextstep
2210 specially (Bug#12780).
2211
6baf66d5 22122012-11-10 Glenn Morris <rgm@gnu.org>
fedb154e
GM
2213
2214 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
2215 Unautoload, and make obsolete. (Bug#7449)
2216
6baf66d5 22172012-11-10 Chong Yidong <cyd@gnu.org>
9d9e48d9
CY
2218
2219 * vc/diff-mode.el (diff-delete-trailing-whitespace): Rewrite, and
2220 rename from diff-remove-trailing-whitespace (Bug#12831).
2221
6baf66d5 22222012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
32170f7f
SM
2223
2224 * emacs-lisp/advice.el: Require `cl-lib' at run-time to fix
2225 miscompilation of trace.el.
2226
6baf66d5 22272012-11-10 Glenn Morris <rgm@gnu.org>
26f59676
GM
2228
2229 * vc/diff-mode.el (diff-remove-trailing-whitespace): Doc fix.
2230
6baf66d5 22312012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
41626722
SM
2232
2233 * emacs-lisp/gv.el (gv-define-simple-setter): Fix last change
2234 (bug#12812).
2235
6baf66d5 22362012-11-10 Chong Yidong <cyd@gnu.org>
7d806bfe
CY
2237
2238 * minibuf-eldef.el (minibuffer-eldef-shorten-default): Convert to
2239 a defcustom with an appropriate :set function.
2240 (minibuffer-default--in-prompt-regexps): New function.
2241
6baf66d5 22422012-11-10 Glenn Morris <rgm@gnu.org>
2ee1d59f 2243
031b2ea7
GM
2244 * emacs-lisp/cl.el (define-setf-expander, defsetf)
2245 (define-modify-macro): Doc fixes.
2246
2ee1d59f
GM
2247 * emacs-lisp/gv.el (gv-letplace): Fix doc typo.
2248 (gv-define-simple-setter): Update doc of `fix-return'.
2249
6baf66d5 22502012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
d57c286e 2251
b715ed44
SM
2252 * emacs-lisp/gv.el (gv-define-simple-setter): Don't evaluate `val'
2253 twice when `fix-return' is set (bug#12813).
2254
d57c286e
SM
2255 * emacs-lisp/cl.el (defsetf): Pass the third arg to
2256 gv-define-simple-setter (bug#12812).
2257
c9cac599
SM
2258 * woman.el (woman-decode-region): Disable adaptive-fill when rendering
2259 (bug#12756).
2260
6baf66d5 22612012-11-10 Glenn Morris <rgm@gnu.org>
6b3770fb
GM
2262
2263 * emacs-lisp/gv.el (gv-define-setter): Fix doc typo.
2264
5593ed90
GM
2265 * emacs-lisp/cl-extra.el (cl-prettyexpand):
2266 * emacs-lisp/cl-lib.el (cl-proclaim, cl-declaim):
2267 * emacs-lisp/cl-macs.el (cl-destructuring-bind, cl-locally)
2268 (cl-the, cl-compiler-macroexpand): Add basic doc strings.
2269
2270 * emacs-lisp/cl-extra.el (cl-maplist, cl-mapcan): Doc fix.
2271
05a859c1
LL
22722012-11-10 Leo Liu <sdl.web@gmail.com>
2273
2274 * ido.el (ido-set-matches-1): Improve flex matching performance by
2275 removing backtracking in the regexp (suggested by Stefan). (Bug#12796)
2276
32e5c58c
SM
22772012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
2278
2279 * emacs-lisp/advice.el (ad-set-advice-info): Set defalias-fset-function.
2280 (ad--defalias-fset): New function.
2281 (ad-safe-fset): Remove.
2282 (ad-make-freeze-definition): Use cl-letf*.
2283
f5925cd9
SM
22842012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
2285
da03ef8a
SM
2286 * subr.el (dolist): Don't bind VAR in RESULT.
2287
6858633a
SM
2288 * emacs-lisp/advice.el: Miscellaneous cleanup. Use lexical-binding.
2289 (fset, documentation): Don't save real def since we don't advise.
2290 (ad-do-advised-functions): Remove problematic `result-form'.
2291 (ad-safe-fset): `ad-real-fset' => `fset'.
2292 (ad-read-advised-function): Don't assume that ad-do-advised-functions
2293 uses CL's dolist internally.
2294 (ad-arglist): Remove unused arg `name'.
2295 (ad-docstring, ad-make-advised-docstring):
2296 `ad-real-documentation' => `documentation'.
2297 (warning-suppress-types): Declare.
2298 (ad-set-arguments): Simple CSE.
2299 (ad-recover-normality): Sanity check.
2300
f5925cd9
SM
2301 * emacs-lisp/bytecomp.el (byte-compile-out-toplevel): Don't turn
2302 (funcall '(lambda ..) ..) into ((lambda ..) ..).
2303
93a66b3a
VB
23042012-11-09 Vincent Belaïche <vincentb1@users.sourceforge.net>
2305
2306 * ses.el: symbol to coordinate mapping is made by symbol property
f5925cd9
SM
2307 `ses-cell'. This means that the same mapping is done for all SES
2308 sheets. That is good enough for cells with standard A1 names, but
2309 not for named cell. So a hash map is added for the latter.
2310 (defconst ses-localvars): Add local variable ses--named-cell-hashmap
93a66b3a
VB
2311 (ses-sym-rowcol): Use hashmap for named cell.
2312 (ses-is-cell-sym-p): New defun.
2313 (ses-decode-cell-symbol): New defun.
f5925cd9
SM
2314 (ses-create-cell-variable): Add cell to hashmap when name is not
2315 A1-like.
93a66b3a
VB
2316 (ses-rename-cell): Check that cell new name is not already in
2317 spreadsheet with the use of ses-is-cell-sym-p
2318 (ses-rename-cell): Use hash map for named cells, but accept also
2319 renaming back to A1-like.
2320
67dd8ad1
SM
23212012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
2322
57618ecf
SM
2323 * emacs-lisp/advice.el: Use new dynamic docstrings.
2324 (ad-make-advised-definition-docstring, ad-advised-definition-p):
2325 Use dynamic-docstring-function instead of ad-advice-info.
2326 (ad--make-advised-docstring): New function extracted from
2327 ad-make-advised-docstring.
2328 (ad-make-advised-docstring): Use it.
2329 * progmodes/sql.el (sql--make-help-docstring): New function, extracted
2330 from sql-help.
2331 (sql-help): Use it with dynamic-docstring-function.
2332
67dd8ad1
SM
2333 * env.el (env--substitute-vars-regexp): Don't use rx (for bootstrap).
2334
be883b34
SM
23352012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
2336
d41706aa
SM
2337 * files.el (hack-one-local-variable--obsolete): New function.
2338 (hack-one-local-variable): Use it for obsolete settings.
2339
85e55412
SM
2340 * subr.el (locate-user-emacs-file): If both old and new name exist, use
2341 the new name.
2342
be883b34
SM
2343 * progmodes/js.el (js--filling-paragraph): New var.
2344 (c-forward-sws, c-backward-sws, c-beginning-of-macro): Advise.
2345 (js-c-fill-paragraph): Prefer advice to cl-letf so the rebinding is
2346 less sneaky.
2347
cabc040a
JD
23482012-11-08 Julien Danjou <julien@danjou.info>
2349
2350 * progmodes/ruby-mode.el (auto-mode-alist): Add Rakefile in
2351 `auto-mode-alist' (Bug#12835).
2352
d14bb752
SM
23532012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
2354
79b3e376
SM
2355 * progmodes/perl-mode.el (perl-prettify-symbols): New defcustom.
2356 (perl--prettify-symbols-alist): New const.
2357 (perl--font-lock-compose-symbol, perl--font-lock-symbols-keywords):
2358 New functions.
2359 (perl-font-lock-keywords-2): Use them.
2360 (perl-electric-noindent-p): New function.
2361 (perl-mode): Use it to set up electric-indent-mode.
2362 (perl-electric-terminator, perl-indent-command): Mark obsolete.
2363 (perl-mode-map): Remove bindings for them.
2364 (perl-imenu-generic-expression, perl-outline-level):
2365 Match functions&packages in column>0.
2366
3b11e6ac
SM
2367 * env.el (env--substitute-vars-regexp): New const.
2368 (substitute-env-vars): Use it. Add `only-defined' arg.
2369 * net/tramp.el (tramp-replace-environment-variables): Use it.
2370
784c1a7b
SM
2371 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
2372 Byte-compile *before* eval in eval-and-compile.
2373 (byte-compile-log-warning): Remove redundant inhibit-read-only.
2374 (byte-compile-file-form-autoload): Don't hide actual definition.
2375 (byte-compile-maybe-guarded): Accept `functionp' as well.
2376
d14bb752
SM
2377 * emacs-lisp/gv.el (gv-ref, gv-deref): New function and macro.
2378
499a0f7a
MA
23792012-11-07 Michael Albinus <michael.albinus@gmx.de>
2380
2381 * notifications.el (notifications-get-server-information-method):
2382 New defconst.
2383 (notifications-get-capabilities): Fix docstring.
2384 (notifications-get-server-information): New defun.
2385
f0704a9a
AM
23862012-11-06 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2387
2388 * textmodes/ispell.el (ispell-region): Standard re-indent for better
2389 readability.
2390
b159a1fd
AM
2391 * textmodes/ispell.el: Experimental support for support debugging.
2392 (ispell-create-debug-buffer): Create a `ispell-debug-buffer' debug
2393 buffer for ispell.
2394 (ispell-print-if-debug): New function to print stuff to
2395 `ispell-debug-buffer' if debugging is enabled.
2396 (ispell-region, ispell-process-line): Use `ispell-print-if-debug' to
2397 show some debugging info.
2398 (ispell-buffer-with-debug): New function that creates a debugging
2399 buffer and calls `ispell-buffer' with debugging enabled.
2400
056cb3a1
AM
2401 * textmodes/ispell.el (ispell-region): Do not prefix sent string by
2402 comment in autoconf mode. (Bug#12768)
2403
8e6a67b7
DA
24042012-11-06 Dmitry Antipov <dmantipov@yandex.ru>
2405
2406 * emacs-lisp/byte-opt.el (toplevel): Add compare-window-configurations,
2407 frame-first-window, frame-root-window, frame-selected-window,
2408 minibuffer-selected-window, minibuffer-window,
2409 window-absolute-pixel-edges, window-at, window-body-height,
2410 window-body-width, window-display-table, window-combination-limit,
2411 window-frame, window-fringes, window-inside-absolute-pixel-edges,
2412 window-inside-edges, window-inside-pixel-edges, window-left-child,
2413 window-left-column, window-margins, window-next-buffers,
2414 window-next-sibling, window-new-normal, window-new-total,
2415 window-normal-size, window-parameter, window-parameters, window-parent,
2416 window-pixel-edges, window-point, window-prev-buffers,
2417 window-prev-sibling, window-redisplay-end-trigger, window-scroll-bars,
2418 window-start, window-text-height, window-top-child, window-top-line,
2419 window-total-height, window-total-width and window-use-time to the list
2420 of functions without side-effects.
2421 (toplevel): Add window-valid-p to the list of error-free functions
2422 without side-effects.
2423
53fc914f
AM
24242012-11-05 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2425
f5925cd9
SM
2426 * textmodes/ispell.el (ispell-program-name):
2427 Update spellchecker parameters when customized.
53fc914f 2428
9749e2b0
GM
24292012-11-04 Glenn Morris <rgm@gnu.org>
2430
2431 * vc/vc-svn.el (vc-svn-state-heuristic): Avoid calling svn. (Bug#7850)
2432
2cbafa56
CY
24332012-11-04 Chong Yidong <cyd@gnu.org>
2434
2435 * bookmark.el (bookmark-bmenu-switch-other-window): Avoid binding
2436 same-window-* variables.
2437
85178ca1
JL
24382012-11-04 Juri Linkov <juri@jurta.org>
2439
2440 * isearch.el (isearch-help-for-help, isearch-describe-bindings)
2441 (isearch-describe-key, isearch-describe-mode): Use a display
2442 action instead of binding same-window-* variables (Bug#10040).
2443
5c677d44
GM
24442012-11-03 Glenn Morris <rgm@gnu.org>
2445
49138400
GM
2446 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
2447 Rename handler properties back from cl-- to cl-. (Bug#12788)
2448
5c677d44
GM
2449 * emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string.
2450
1d4341f9
EZ
24512012-11-03 Eli Zaretskii <eliz@gnu.org>
2452
2453 * term/pc-win.el: Don't load term/internal from here.
2454
2455 * loadup.el: Load term/internal from here.
2456
12fd5ee1
FEG
24572012-11-03 Fabián Ezequiel Gallina <fgallina@cuca>
2458
2459 * progmodes/python.el (inferior-python-mode): Fix hang in
2460 jit-lock (Bug#12645).
2461
43bcfda6
MR
24622012-11-03 Martin Rudalics <rudalics@gmx.at>
2463
2464 * window.el (switch-to-visible-buffer)
2465 (switch-to-buffer-preserve-window-point): Fix doc-strings.
2466
376a8e83
GM
24672012-11-03 Glenn Morris <rgm@gnu.org>
2468
2469 * emacs-lisp/cl-lib.el (cl--random-time):
2470 Rename from cl-random-time. (Bug#12773)
2471 (cl--gensym-counter, cl--random-state): Update callers.
2472 * emacs-lisp/cl-extra.el (cl-make-random-state): Update callers.
2473
0f7b074f
CY
24742012-11-03 Chong Yidong <cyd@gnu.org>
2475
2476 * cus-start.el: Make cursor-type customizable (Bug#11633).
2477
3a6851d9
GM
24782012-11-02 Glenn Morris <rgm@gnu.org>
2479
00a3b041
GM
2480 * filecache.el: No need to load find-lisp when compiling.
2481 (find-lisp-find-files): Autoload it.
2482 (file-cache-add-directory-recursively): Don't require find-lisp.
2483
11fef14a
GM
2484 * image.el (image-type-from-file-name): Trivial simplification.
2485
3a6851d9
GM
2486 * emacs-lisp/bytecomp.el (byte-compile-eval):
2487 Decouple "noruntime" and "cl-functions" warnings.
2488
b4b096e4
SB
24892012-11-01 Stephen Berman <stephen.berman@gmx.net>
2490
2491 * play/gomoku.el (gomoku-display-statistics): Update mode line
2492 only if in Gomoku buffer; don't capitalize "won" (Bug#12771).
2493
218e997a
MR
24942012-10-31 Martin Rudalics <rudalics@gmx.at>
2495
2496 * window.el (quit-restore-window): If the window has been
2497 created on an existing frame and ended up as the sole window on
2498 that frame, do not delete it (Bug#12764).
2499
b08b6da7
SM
25002012-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
2501
3618df45
SM
2502 * progmodes/sh-script.el (sh--inside-noncommand-expression):
2503 Rename from sh--inside-arithmetic-expression, handle more cases
2504 (bug#11263).
2505
b08b6da7
SM
2506 * progmodes/sh-script.el (sh--inside-arithmetic-expression): New func.
2507 (sh-font-lock-open-heredoc): Use it (bug#12770).
2508
4ddedf94
GM
25092012-10-30 Glenn Morris <rgm@gnu.org>
2510
f43a5263
GM
2511 * emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie. Doc fix.
2512
4ddedf94
GM
2513 * emacs-lisp/cl.el (letf): Doc fix. (Bug#12760)
2514
748b0d84
CY
25152012-10-29 Chong Yidong <cyd@gnu.org>
2516
b5dd9a77
CY
2517 * isearch.el (isearch-other-meta-char): Ensure that a reprocessed
2518 function key is stored in a keyboard macro (Bug#4894).
2519
748b0d84
CY
2520 * thingatpt.el (number-at-point): Apply a thing-at-point property.
2521
e07fcbdc
SM
25222012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
2523
d7f9cc85
SM
2524 * vc/diff-mode.el (diff-context->unified): Don't get confused by "hunk
2525 header comments".
2526 (diff-unified->context, diff-context->unified)
2527 (diff-reverse-direction, diff-fixup-modifs): Use `use-region-p'.
2528
c606253c
SM
2529 * emacs-lisp/cl.el (letf): Add missing indent rules (bug#12759).
2530
e07fcbdc
SM
2531 * files.el (find-alternate-file): Only ask one question (bug#12487).
2532
894b9dd9
CY
25332012-10-29 Chong Yidong <cyd@gnu.org>
2534
1dc2755a
CY
2535 * vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
2536 Suggested by Dan Nicolaescu (Bug#6326).
2537
329c48d8
CY
2538 * info.el (Info-complete-menu-item): Avoid duplicates (Bug#12705).
2539
2230fa5b 2540 * startup.el (fancy-about-screen): Don't message (Bug#12680).
5c2f2631 2541
e84cad57
CY
2542 * thingatpt.el (thing-at-point): Doc fix (Bug#12691).
2543
1913c5f5
CY
2544 * imenu.el (imenu): Inhibit push-mark message (Bug#12726).
2545
894b9dd9
CY
2546 * face-remap.el (face-remap-add-relative): Handle the case where a
2547 face-remapping-alist entry is a cons cell (Bug#12762).
2548
329c48d8
CY
25492012-10-29 Kevin Ryde <user42@zip.com.au>
2550
2551 * woman.el (woman-parse-numeric-value): Handle picas correctly
2552 (Bug#12639).
2553
a0ccbcbd
GM
25542012-10-29 Glenn Morris <rgm@gnu.org>
2555
2556 * emacs-lisp/cl.el (defsetf): Doc fix.
2557
b3871e59
SM
25582012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
2559
2560 * progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation
2561 syntax to the matching opener, if any (bug#12547).
2562 (sh-smie-sh-forward-token, sh-smie-sh-backward-token): Recognize this
2563 matching open as a "case-(".
2564 (sh-smie-rc-grammar): Add a corresponding rule for it.
2565
cd44022c
DH
25662012-10-28 Daniel Hackney <dan@haxney.org>
2567
2568 * emacs-lisp/package.el (package-generate-autoloads): Kill buffer
2569 "PKGNAME-autoloads.el" in case we created it.
2570
70edffb1
SM
25712012-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
2572
86957a0c
SM
2573 * minibuffer.el (completion--sifn-requote): Rewrite to handle things
2574 like Tramp's "/foo:~bar//baz" -> "/scpc:foo:/baz" mapping (bug#11714).
b9383404 2575 (completion--twq-all): Disable too-strict assertions.
86957a0c 2576
70edffb1
SM
2577 * tmm.el (tmm-prompt): Use map-keymap (bug#12744).
2578
d069271c
EZ
25792012-10-27 Eli Zaretskii <eliz@gnu.org>
2580
2581 * profiler.el (profiler-report-make-entry-part): Fix help-echo
2582 text to match the real keybindings.
2583
e2f022a3
JL
25842012-10-27 Juri Linkov <juri@jurta.org>
2585
2586 * wdired.el (wdired-keep-marker-rename): New defcustom.
2587 (wdired-do-renames): Use it instead of `dired-keep-marker-rename'.
2588 (Bug#11795)
2589
2590 * dired.el (dired-keep-marker-rename): Add reference to
2591 `wdired-keep-marker-rename' in the docstring.
2592 Add default character value ?R to display initially in
2593 Customization UI instead of ?@.
2594
df171c23
MR
25952012-10-27 Martin Rudalics <rudalics@gmx.at>
2596
2597 * window.el (display-buffer): In doc-string describe
2598 window-height and window-width alist entries.
2599
2600 * time.el (display-time-world): Restore fit-window-to-buffer
2601 behavior.
2602
05b621a6
CY
26032012-10-27 Chong Yidong <cyd@gnu.org>
2604
2605 * subr.el (insert-buffer-substring-as-yank): Doc fix.
2606
55f197b2
J
26072012-10-26 Jambunathan K <kjambunathan@gmail.com>
2608
2609 * minibuffer.el (completion-category-overrides): New completion
2610 category `bookmark' (bug#11131).
2611
372212df
SM
26122012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
2613
150f809c
SM
2614 * emacs-lisp/advice.el (ad-assemble-advised-definition):
2615 Silence bogus compiler warnings for ad-do-it.
2616
372212df
SM
2617 * bookmark.el (bookmark-completing-read): Set the completion category
2618 to `bookmark' (bug#11131).
2619
c5772569
B
26202012-10-26 Bastien <bzg@altern.org>
2621 Stefan Monnier <monnier@iro.umontreal.ca>
2622
2623 * face-remap.el: Use lexical-binding.
2624 (text-scale-adjust): Improve docstring. Use itself for the temporary
2625 overlay-map bindings, so as to repeat the "Use..." message each time.
2626
a2be0357
SM
26272012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
2628
63314e57
SM
2629 * emacs-lisp/macroexp.el (macroexp--expand-all):
2630 Obey byte-compile-warning-enabled-p (bug#12486).
2631
a2be0357
SM
2632 * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
2633 (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).
2634
8c7727c3
MR
26352012-10-26 Martin Rudalics <rudalics@gmx.at>
2636
2637 * mouse.el (mouse-drag-line): Move last form into preceding when
2638 clause (Bug#12731).
2639
2640 * help.el (resize-temp-buffer-window): Fix doc-string.
2641
3f2a848d
DE
26422012-10-25 David Engster <deng@randomsample.de>
2643
2644 * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
a2be0357 2645 Remove. This feature is already integrated in imenu.
3f2a848d
DE
2646
2647 * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
2648 always loaded. Require `speedbar' unconditionally.
2649
a7723be6
SM
26502012-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
2651
aaabfc8b
SM
2652 * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
2653
414a8595
SM
2654 * minibuffer.el (minibuffer-force-complete): Fix thinko.
2655
fb5b9475
SM
2656 * net/ldap.el (ldap-search-internal): The official ldif format starts
2657 with a "version: 1" header (bug#12724).
2658
a7723be6
SM
2659 * emacs-lisp/package.el (package-installed-p): Warn if not ready
2660 (bug#12721).
2661
a05cb6e3
GM
26622012-10-25 Glenn Morris <rgm@gnu.org>
2663
2664 * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
2665
3c92de70
SM
26662012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
2667
2668 * minibuffer.el (minibuffer-force-complete): Use one more marker
2669 for the temporary-overlay-map command (bug#12619).
2670
a4b6d7c6
CY
26712012-10-24 Chong Yidong <cyd@gnu.org>
2672
2673 * time.el (display-time-world-mode): Derive from special-mode.
2674 (display-time-world): Use display-buffer (Bug#12708).
2675 (display-time-world-mode-map): Variable deleted.
9321d8d7
CY
2676 (display-time-world-display): Wrap the final delete-char inside
2677 inhibit-read-only.
a4b6d7c6 2678
75e8f9d2
CY
26792012-10-24 Chong Yidong <cyd@gnu.org>
2680
cd996018
CY
2681 * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
2682 Doc fix.
2683
75e8f9d2
CY
2684 * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
2685
d92df117
SM
26862012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
2687
2688 * minibuffer.el (completion--all-sorted-completions-location): New var.
2689 (completion--cache-all-sorted-completions)
2690 (completion--flush-all-sorted-completions): Use it.
2691 (completion-in-region, completion-in-region--postch)
2692 (completion-at-point, completion-help-at-point): Use markers in
2693 completion-in-region--data (bug#12619).
2694
9c3e39f3
SM
26952012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
2696
c79825bd
SM
2697 * progmodes/compile.el (compilation-start): Try to handle common
2698 quoting of `cd' argument (bug#12640).
2699
9c3e39f3
SM
2700 * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
2701 (bug#12671).
2702
a6709bc7
GM
27032012-10-23 Glenn Morris <rgm@gnu.org>
2704
2705 * progmodes/gud.el (gud-menu-map):
2706 Check gdb-active-process is bound. (Bug#12358)
2707
d1069532
SM
27082012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
2709
d20d69c0
SM
2710 * repeat.el (repeat): Set real-this-command (bug#12232).
2711
d1069532
SM
2712 * htmlfontify.el (hfy-post-html-hook):
2713 * filesets.el (filesets-cache-fill-content-hook):
2714 * arc-mode.el (archive-extract-hook):
2715 * progmodes/cc-mode.el (c-prepare-bug-report-hook):
2716 * net/rcirc.el (rcirc-sentinel-functions)
2717 (rcirc-receive-message-functions, rcirc-activity-functions)
2718 (rcirc-print-functions):
2719 * net/dbus.el (dbus-event-error-functions):
2720 * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
2721 * emacs-lisp/checkdoc.el (checkdoc-style-functions)
2722 (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
2723 * term/sun.el (sun-raw-prefix-hooks):
2724 * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
2725
f7eac6d8
MA
27262012-10-23 Michael Albinus <michael.albinus@gmx.de>
2727
d1069532
SM
2728 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
2729 Set `tramp-chunksize' to 1. This improves the performance.
f7eac6d8
MA
2730 (tramp-smb-wait-for-output): Add timeout to
2731 `tramp-accept-process-output' calls.
2732
608d9d7c
CY
27332012-10-23 Chong Yidong <cyd@gnu.org>
2734
49238e7f
CY
2735 * faces.el (font-list-limit): Define as an obsolete variable.
2736
2737 * startup.el (command-line):
2738 * cus-start.el: Don't refer to font-list-limit.
2739
608d9d7c
CY
2740 * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
2741
4ff5b1b2
SM
27422012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
2743
2744 * subr.el (internal-temp-output-buffer-show): Rename from
2745 temp-output-buffer-show, since previously compiled files expect this name.
2746
ea1d4aac
GM
27472012-10-23 Glenn Morris <rgm@gnu.org>
2748
2749 * image.el (image-type-from-file-name): If multiple types match,
2750 return the first one that is supported. (Bug#9045)
2751
eda82a31
GM
27522012-10-22 Glenn Morris <rgm@gnu.org>
2753
2754 * image.el (imagemagick-enabled-types): Doc fix.
2755
4f020bec
TA
27562012-10-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
2757
2758 * progmodes/which-func.el (which-func-current): The hash-table may have
2759 an explicit nil (bug#12338).
2760
c77d37e2
SM
27612012-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
2762
2763 * electric.el (electric-pair-delete-selection-self-insert-function):
2764 Rename to electric-pair-will-use-region, return a boolean.
2765 (electric-pair-mode): Adjust accordingly. Don't require delsel.
2766
2767 * delsel.el (delete-selection-helper): Use a function instead of a hook.
2768 (delete-selection-pre-hook): Use use-region-p.
2769 (delete-selection-self-insert-function): Remove.
2770 (self-insert-command): Obey self-insert-uses-region-functions.
2771 (self-insert-iso): Revert to previous setting, since we don't actually
2772 know what that command does.
2773 (delete-selection-self-insert-hooks): Remove.
2774
b1d39ccc
SL
27752012-10-22 Simon Law <sfllaw@sfllaw.ca> (tiny change)
2776
2777 * delsel.el (delete-selection-helper): New function, extracted from
2778 delete-selection-pre-hook.
2779 (delete-selection-pre-hook): Use it.
2780 (delete-selection-self-insert-function): New function.
2781 (delete-selection-self-insert-hooks): New hook.
2782 (self-insert-command, self-insert-iso): Use it.
2783 * electric.el (electric-pair-syntax): New function, extracted from
2784 electric-pair-post-self-insert-function.
2785 (electric-pair-post-self-insert-function): Use it.
2786 (electric-pair-delete-selection-self-insert-function): New function.
2787 (electric-pair-mode): Require delsel and setup
2788 delete-selection-self-insert-hooks (bug#11520).
2789
045ef729
CY
27902012-10-20 Chong Yidong <cyd@gnu.org>
2791
4c5d08a8
CY
2792 * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
2793 no changes to show (Bug#12586).
2794
045ef729
CY
2795 * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
2796 list explicitly (Bug#12571).
2797
3503c798 27982012-10-20 Arne Jørgensen <arne@arnested.dk>
79e1997a 2799
b1d39ccc
SL
2800 * progmodes/flymake.el (flymake-create-temp-inplace):
2801 Use file-truename.
79e1997a 2802
2068905b
EZ
28032012-10-20 Eli Zaretskii <eliz@gnu.org>
2804
2805 * loadup.el: Update comment about uncompiled Lisp files. (Bug#12395)
2806
4c9e9550
JB
28072012-10-20 Jay Belanger <jay.p.belanger@gmail.com>
2808
2809 * calc/calc-units.el (math-extract-units): Properly extract powers
2810 of units.
2811
1a6e7e38
DC
28122012-10-20 Daniel Colascione <dancol@dancol.org>
2813
2814 * frame.el (make-frame): Set x-display-name as we used to in order
2815 to unbreak creating an X11 frame from an Emacs daemon started
2816 without a display.
2817
8e808318
SM
28182012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
2819
2820 * minibuffer.el (minibuffer-force-complete): Make the next completion use
f5925cd9 2821 the same completion-field (bug#12221).
8e808318 2822
fb0104da
MR
28232012-10-19 Martin Rudalics <rudalics@gmx.at>
2824
2825 * emacs-lisp/debug.el (debug): Record height of debugger window
2826 also when debugger will be back (Bug#8789).
2827
8c27235e
CY
28282012-10-18 Chong Yidong <cyd@gnu.org>
2829
2830 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
2831 Convert to defcustom.
2832 (gdb-get-source-file): Don't bind pop-up-windows.
2833
2834 * progmodes/gud.el (gud-display-line): Don't specially re-use
2835 other frames for the gdb-mi case (Bug#12648).
2836
90eacf99
SM
28372012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
2838
aaf0c300
SM
2839 * emacs-lisp/advice.el: Clean up commentary a bit.
2840 (ad-do-advised-functions, ad-with-originals): Use `declare'.
2841 (byte-code-function-p): Never redefine.
2842
90eacf99
SM
2843 * emacs-lisp/gv.el (cond): Same fix as before for `if'.
2844
281c9d2b
GM
28452012-10-18 Glenn Morris <rgm@gnu.org>
2846
40714e3d
GM
2847 * dired.el (dired-sort-toggle): Some ls implementations only allow
2848 a single option string. (Bug#12666)
2849
281c9d2b
GM
2850 * minibuffer.el (completion-cycle-threshold): Doc fix.
2851
b278604e
KH
28522012-10-17 Kenichi Handa <handa@gnu.org>
2853
90eacf99
SM
2854 * international/mule.el (set-keyboard-coding-system):
2855 Recover input meta mode when the new coding system doesn not use 8-bit.
b278604e
KH
2856 Supply TERMINAL arg to set-input-meta-mode.
2857
df171c23 28582012-10-17 Michael Heerdegen <michael_heerdegen@web.de>
7ebc5f5a
MH
2859
2860 * wdired.el (wdired-old-marks): New variable.
2861 (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
2862 (wdired-do-renames): Move point with renamed file and don't lose
2863 mark status (Bug#11795).
2864
e5a94ec4
JL
28652012-10-16 Juri Linkov <juri@jurta.org>
2866
2867 * replace.el (query-replace-help): Mention multi-buffer replacement
2868 keys in the Help message. (Bug#12655)
2869
d18a0d24
CY
28702012-10-15 Chong Yidong <cyd@gnu.org>
2871
2872 * emacs-lisp/byte-run.el (defsubst): Doc fix.
2873
8111f5e6
EZ
28742012-10-14 Eli Zaretskii <eliz@gnu.org>
2875
7b9abf24
EZ
2876 * window.el (display-buffer): Doc fix.
2877
8111f5e6
EZ
2878 * progmodes/compile.el (compilation-error-regexp-alist-alist):
2879 Adjust the msft regexp to the output of Studio 2010, and move msft
2880 before edg-1. See the discussion on emacs-devel,
2881 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
2882 for the details.
2883
5046ef67
SM
28842012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
2885
9760c73c
SM
2886 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
2887 (oset): Move uses of object-class-fast macro after its definition.
2888
5046ef67
SM
2889 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
2890
0d11ff1c
CY
28912012-10-13 Chong Yidong <cyd@gnu.org>
2892
2893 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
2894 enabled, re-enable it (Bug#11963).
2895
88ded8ac
MR
28962012-10-13 Martin Rudalics <rudalics@gmx.at>
2897
2898 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
2899 non-nil, restore window configuration (Bug#12623).
2900
bd0ffffd
SM
29012012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
2902
06485aa8
SM
2903 * help-fns.el (describe-variable, describe-function-1):
2904 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
2905
bd0ffffd
SM
2906 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
2907
3a989246
GM
29082012-10-12 Glenn Morris <rgm@gnu.org>
2909
2910 * mail/rmailsum.el (rmail-header-summary):
2911 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
2912
55cd00c8
FEG
29132012-10-12 Fabián Ezequiel Gallina <fgallina@cuca>
2914
bd0ffffd
SM
2915 * progmodes/python.el (python-mode-map):
2916 Replace subtitute-key-definition with proper command remapping.
55cd00c8
FEG
2917 (python-nav--up-list): Fix behavior for blocks on the same level.
2918
ac9fc2c7
SM
29192012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
2920
d8cc4c00 2921 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
d8cc4c00 2922
5253a5fd
SM
2923 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
2924 changes to the format of load-history.
2925
ac9fc2c7
SM
2926 * international/mule-cmds.el (read-char-by-name): Move let-binding of
2927 completion-ignore-case in case that var is buffer-local (bug#12615).
2928
cde44a77
KH
29292012-10-11 Kenichi Handa <handa@gnu.org>
2930
2931 * international/eucjp-ms.el: Re-generated.
2932
4ef4a10d
KH
29332012-10-10 Kenichi Handa <handa@gnu.org>
2934
2935 * select.el (xselect--encode-string): If a coding is specified for
2936 selection, and that is compatible with COMPOUND_TEXT, use it.
2937
9d7f027b
MR
29382012-10-10 Martin Rudalics <rudalics@gmx.at>
2939
2940 * window.el (switch-to-buffer-preserve-window-point): New option.
ac9fc2c7
SM
2941 (switch-to-buffer):
2942 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
9d7f027b 2943
238f3a58
SM
29442012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
2945
2946 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
2947 Don't document nil as a useful value (bug#12583).
2948
1d51f99c
MA
29492012-10-09 Michael Albinus <michael.albinus@gmx.de>
2950
238f3a58
SM
2951 * net/tramp.el (tramp-debug-message):
2952 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
1d51f99c
MA
2953 (with-tramp-progress-reporter): Rename from
2954 `tramp-with-progress-reporter'.
238f3a58
SM
2955 (with-tramp-file-property, with-tramp-connection-property):
2956 Move from tramp-cache.el, rename from `with-file-property' and
1d51f99c
MA
2957 `with-connection-property', respectively.
2958
2959 * net/tramp-cache.el: Remove `with-file-property' and
2960 `with-connection-property'.
2961
2962 * net/tramp.el:
2963 * net/tramp-gvfs.el:
2964 * net/tramp-sh.el:
2965 * net/tramp-smb.el: Adapt callees.
2966
2967 * net/trampver.el: Update release number.
2968
26b77251
GM
29692012-10-09 Glenn Morris <rgm@gnu.org>
2970
9a5f296f
GM
2971 * w32-fns.el (set-message-beep):
2972 * term/w32-win.el (set-message-beep): Update declarations.
2973
94c66ce5
SM
29742012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
2975
10766e9e
SM
2976 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
2977 (mode-line-widen, mode-line-input-method-map)
2978 (mode-line-coding-system-map, mode-line-remote)
2979 (mode-line-unbury-buffer, mode-line-bury-buffer)
2980 (mode-line-next-buffer, mode-line-previous-buffer):
2981 Replace save-selected-window+select-window => with-selected-window.
2982
f754db08
SM
2983 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
2984 * progmodes/cc-vars.el (bq-process): Remove, unused.
2985
94c66ce5
SM
2986 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
2987
a4ff7fe1
FEG
29882012-10-09 Fabián Ezequiel Gallina <fgallina@cuca>
2989
2990 Implemented `backward-up-list'-like navigation.
2991 * progmodes/python.el (python-nav-up-list)
2992 (python-nav-backward-up-list): New functions.
2993 (python-mode-map): Define substitute key for backward-up-list to
2994 python-nav-backward-up-list.
2995
24517d82
FEG
29962012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
2997
2998 * progmodes/python.el (python-fill-paragraph): Rename from
2999 python-fill-paragraph-function. Fixed fill-paragraph for
3000 decorators (Bug#12605).
3001
51867ae2
FEG
30022012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
3003
3004 * progmodes/python.el (python-shell-output-filter): Handle extra
3005 carriage return in OSX (Bug#12409).
3006
a5b773c4
FEG
30072012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
3008
3009 Fix shell handling of unbalanced quotes and parens in output.
94c66ce5 3010 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
a5b773c4
FEG
3011 (python-syntax-propertize-function): Use it.
3012 (python-shell-output-syntax-table): New var.
3013 (inferior-python-mode): Prevent unbalanced parens/quotes from
3014 previous output mess with current input context.
3015
13373538
JB
30162012-10-08 Juanma Barranquero <lekktu@gmail.com>
3017
3018 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
3019 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
3020
775a132d
MA
30212012-10-08 Michael Albinus <michael.albinus@gmx.de>
3022
3023 * ffap.el (ffap-replace-file-component): Support Tramp file name
3024 syntax, not only ange-ftp's one.
3025
3ab44929
GM
30262012-10-08 Glenn Morris <rgm@gnu.org>
3027
57f1dee4
GM
3028 * cus-start.el (message-log-max): Set :version.
3029
3ab44929
GM
3030 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
3031
6a088630
MR
30322012-10-08 Martin Rudalics <rudalics@gmx.at>
3033
3034 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
3035 the minibuffer window (Bug#10851).
3036
8dbce54c
FEG
30372012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
3038
3039 Enhancements on forward-sexp movement.
3040 * progmodes/python.el (python-nav-beginning-of-statement)
3041 (python-nav-end-of-statement): Return point-marker.
3042 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
3043 (python-info-current-symbol)
3044 (python-info-statement-starts-block-p): Rename from
3045 python-info-beginning-of-block-p.
3046 (python-info-statement-ends-block-p): Rename from
3047 python-info-end-of-block-p.
3048 (python-info-beginning-of-statement-p)
3049 (python-info-end-of-statement-p)
3050 (python-info-beginning-of-block-p, python-info-end-of-block-p):
3051 New functions.
3052
5acd2b3e
SM
30532012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
3054
3055 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
3056 frame-selected-windows.
3057
e08348a0
DC
30582012-10-08 Daniel Colascione <dancol@dancol.org>
3059
3060 * battery.el (battery-status-function): Check for
3061 w32-battery-status itself, not system-time windows-nt.
3062
3063 * frame.el: Require cl-lib.
3064 (display-format-alist): New variable mapping frame types to
3065 functions that initialize them.
3066 (window-system-for-display): New function: interprets
3067 display-format-alist.
3068 (make-frame-on-display): Remove existing display-selection logic
3069 and just forward to make-frame, which will now DTRT.
3070 (make-frame): Restructure to use window-system-for-display to
3071 figure out how to create a frame on a given display.
3072 (display-mouse-p): Look for frame-type w32, not a particular
3073 system-type.
3074
3075 * loadup.el: Load w32 lisp code when we have the w32 feature.
3076
3077 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
3078 system-type windows-nt.
3079
3080 * server.el (server-create-window-system-frame): Look for window
3081 type.
3082 (server-proces-filter): Only force a window system when windows-nt
3083 _and_ w32. Explain why.
3084
3085 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
3086 of window systems we configure for the mode.
3087
3088 * startup.el (command-line): Mark window system is initialized
3089 after we've done it.
3090
3091 * common-win.el (x-select-text): Look for w32, not windows-nt.
3092
3093 * ns-win.el: Require cl-lib. Add ourselves to
3094 display-format-alist.
3095 (ns-initialize-window-system): Assert we're not initialized twice.
3096
3097 * w32-win.el: Enable lexical binding; require cl-lib; add
3098 ourselves to display-format-alist.
3099 (w32-handle-dropped-file): Convert incoming dropped files from
3100 Windows paths to Cygwin ones before passing them on to the rest of
3101 Emacs.
3102 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
3103 (w32-initialize-window-system): Assert we're not initialized twice.
3104
3105 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
3106 (x-initialize-window-system): Assert we're not initialized twice.
3107
3108 * w32-common-fns.el: New File.
3109 (w32-version, w32-using-nt, w32-get-clipboard-data)
3110 (w32-set-clipboard-data, x-set-selection, x-get-selection)
3111 (w32-charset-info-alist, x-last-selected, text)
3112 (x-get-selection-value, x-selection-value): Move here.
3113
3114 * w32-fns.el: Require w32-common-fns.
3115 (w32-version, w32-using-nt, w32-get-clipboard-data)
3116 (w32-set-clipboard-data, x-set-selection, x-get-selection)
3117 (w32-charset-info-alist, x-last-selected, text)
3118 (x-get-selection-value, x-selection-value): Move to
3119 w32-common-fns.
3120
3121 * w32-vars.el:
3122 (w32-allow-system-shell, w32-system-shells): Define only in
3123 non-cygwin case.
3124
795b1482
SM
31252012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
3126
3127 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
3128 (read-passwd): Remove a few more potential sources of leaks.
3129
f27c99dc
FEG
31302012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
3131
3132 * progmodes/python.el (inferior-python-mode)
795b1482 3133 (python-shell-make-comint): Fix initialization of local
f27c99dc
FEG
3134 variables copied from parent buffer.
3135
fcacb558
JD
31362012-10-07 Jan Djärv <jan.h.d@swipnet.se>
3137
3138 * term/ns-win.el (ns-read-file-name): Update declaration to match
3139 nsfns.m.
3140 (ns-respond-to-change-font): Change fontsize separatly so we are sure
3141 it is set when font is acted upon.
3142
be0d5bae
FEG
31432012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
3144
3145 Enhancements to indentation.
3146 * progmodes/python.el (python-indent-context): Give priority to
3147 inside-string context. Make comments indentation markers.
3148 (python-indent-region): Do not mess with strings, unless it's the
3149 enclosing set of quotes.
3150
13af0d10
SM
31512012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
3152
662a9d0e
SM
3153 * window.el (internal--before-save-selected-window)
3154 (internal--after-save-selected-window): New functions extracted from
3155 save-selected-window. Make sure we return the `alist' we construct.
3156 (save-selected-window): Use them.
3157
3158 * textmodes/tex-mode.el (tex-recenter-output-buffer):
3159 Use with-selected-window.
3160
13af0d10
SM
3161 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
3162 forms that define macros (bug#12593).
3163
6aa75fb6
KH
31642012-10-07 Kenichi Handa <handa@gnu.org>
3165
13af0d10
SM
3166 * international/mule-conf.el (compound-text-with-extensions):
3167 Add :mime-charset property as x-ctext.
6aa75fb6 3168
78d876b9
SM
31692012-10-07 Stefan Merten <smerten@oekonux.de>
3170
3171 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
3172 (rst-indent-literal-normal, rst-indent-literal-minimized)
3173 (rst-indent-comment): Correct :version tag.
557337e9 3174 (rst-official-cvs-rev): Correct version string.
78d876b9 3175
99a1e701
GM
31762012-10-07 Glenn Morris <rgm@gnu.org>
3177
3178 * mail/rmailmm.el (rmail-mime-process-multipart):
3179 Do not confuse a multipart message with an epilogue
3180 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
3181
08f18c3d
FEG
31822012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
3183
3184 Fix shell output retrieval and comint-prompt-regexp init.
3185 * progmodes/python.el (inferior-python-mode):
3186 (python-shell-make-comint): Fix initialization of
3187 comint-prompt-regexp from copied file local variables.
3188 (python-shell-fetched-lines): Remove var.
3189 (python-shell-output-filter-in-progress): Rename from
3190 python-shell-fetch-lines-in-progress.
3191 (python-shell-output-filter-buffer): Rename from
3192 python-shell-fetch-lines-string.
3193 (python-shell-fetch-lines-filter): Delete function.
3194 (python-shell-output-filter): New function.
3195 (python-shell-send-string-no-output): Use them.
3196
82ed3ab4
GM
31972012-10-07 Glenn Morris <rgm@gnu.org>
3198
1595ecfa
GM
3199 * hi-lock.el (hi-lock-process-phrase):
3200 Try to make it less fragile. (Bug#7161)
3201
82ed3ab4
GM
3202 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
3203
f1f4dba0
GM
32042012-10-06 Glenn Morris <rgm@gnu.org>
3205
addc11ed 3206 * ehelp.el (electric-help-mode): Use help-mode rather than
32939005
GM
3207 non-existent mode `help'.
3208 (electric-help-map): Use button-buffer-map. (Bug#10917)
addc11ed 3209
460042b8
GM
3210 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
3211 (reftex-create-bibtex-footer): Fix custom types.
3212
67667c70
GM
3213 * progmodes/sh-script.el (sh-indent-after-continuation):
3214 Add explicit :group.
3215
18dec750
GM
3216 * textmodes/rst.el (rst-preferred-decorations)
3217 (rst-shift-basic-offset): Clarify obsolescence versions.
3218
d1a1c7e6
GM
3219 * profiler.el (profiler): Add missing group :version tag.
3220 * avoid.el (mouse-avoidance-banish-position):
3221 * proced.el (proced-renice-command):
3222 * calc/calc.el (calc-ensure-consistent-units):
3223 * calendar/icalendar.el (icalendar-import-format-uid):
3224 * net/tramp.el (tramp-save-ad-hoc-proxies):
3225 * progmodes/bug-reference.el (bug-reference-bug-regexp):
3226 * progmodes/flymake.el (flymake-error-bitmap)
3227 (flymake-warning-bitmap, flymake-fringe-indicator-position):
3228 * progmodes/sh-script.el (sh-indent-after-continuation):
3229 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
3230 (verilog-before-save-font-hook, verilog-after-save-font-hook):
3231 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
3232 (vhdl-array-index-record-field-in-sensitivity-list)
3233 (vhdl-indent-comment-like-next-code-line):
3234 * textmodes/reftex-vars.el (reftex-ref-style-alist)
3235 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
3236 (reftex-cite-key-separator, reftex-create-bibtex-header)
3237 (reftex-create-bibtex-footer):
3238 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
3239 (rst-indent-literal-normal, rst-indent-literal-minimized)
3240 (rst-indent-comment): Add missing custom :version tags.
3241
ef35abb4
GM
3242 * calendar/timeclock.el (timeclock-modeline-display):
3243 Add missing obsolete alias for renamed user option.
3244
d1aae614
GM
3245 * strokes.el (strokes-modeline-string):
3246 * emulation/crisp.el (crisp-mode-modeline-string):
3247 * eshell/esh-mode.el (eshell-status-in-modeline):
3248 Aliases to defcustoms must come before the defcustom.
3249
f1f4dba0
GM
3250 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
3251 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
3252 (cal-tex-cursor-week-monday): Doc fixes.
3253 (cal-tex-cursor-week2-summary): Doc fix.
3254 Rename from cal-tex-cursor-week-at-a-glance.
3255
3256 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
3257 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
3258
3259 * calendar/calendar.el (calendar-mode-map):
3260 Add cal-tex-cursor-week2-summary.
3261
d39109c3
SM
32622012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
3263
685f87b0
SM
3264 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
3265
d39109c3
SM
3266 * subr.el (read-passwd-map): New var.
3267 (read-passwd): Use `read-string' again.
3268 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
3269
5694896d
J
32702012-10-06 Jambunathan K <kjambunathan@gmail.com>
3271
3272 * register.el (append-to-register, prepend-to-register):
3273 Deactivate mark, as does `copy-to-register' (bug#12389).
3274
9414dd8d
CY
32752012-10-06 Chong Yidong <cyd@gnu.org>
3276
3277 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
3278
2b89bca4
KH
32792012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
3280
3281 * international/characters.el: Fix simple mistake ((car chars) ->
3282 elt), delete duplicated code.
3283
d5acb99a
GM
32842012-10-06 Glenn Morris <rgm@gnu.org>
3285
3286 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
3287
123ec157
JS
32882012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
3289
3290 * color.el (color-hsl-to-rgb): Fix incorrect results for
3291 small and large hue values. (Bug#12559)
3292
7fa36ccb
FEG
32932012-10-05 Fabián Ezequiel Gallina <fgallina@cuca>
3294
3295 Enhancements to docstring formatting when filling paragraphs.
3296 * progmodes/python.el (python-fill-docstring-style): Rename from
3297 python-fill-string-style. Added new style.
3298 (python-fill-string): Use new style. Better checks for
3299 docstrings.
3300
d8788e1e
GM
33012012-10-05 Glenn Morris <rgm@gnu.org>
3302
204f3953
GM
3303 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
3304
d8788e1e
GM
3305 * color.el (color-name-to-rgb, color-rgb-to-hex)
3306 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
3307 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
3308 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
3309 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
3310
8d956cef
GM
3311 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
3312
e8757f09 33132012-10-05 Juanma Barranquero <lekktu@gmail.com>
ea9a3563
JB
3314
3315 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
3316 to get the correct size across symlinks.
3317
e8757f09
GM
3318 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
3319
0e2ae83d
JL
33202012-10-04 Juri Linkov <juri@jurta.org>
3321
3322 * replace.el (query-replace-interactive): Declare obsolete.
3323 (query-replace-read-from): Add the last incremental search string
3324 to the list of default values accessible via M-n.
3325 (map-query-replace-regexp): Use `read-regexp'.
3326 (query-replace, query-replace-regexp, query-replace-regexp-eval)
3327 (map-query-replace-regexp, replace-string, replace-regexp):
3328 Fix docstrings to replace mentions of `query-replace-interactive'
3329 with alternatives. (Bug#12526)
3330
93cacb6d
JL
33312012-10-04 Juri Linkov <juri@jurta.org>
3332
3333 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
3334 (dired-pop-to-buffer): Declare obsolete.
3335 (dired-mark-pop-up): Doc fix.
3336
fc345011
FEG
33372012-10-04 Fabián Ezequiel Gallina <fgallina@cuca>
3338
3339 Allow user to set docstring style for fill-paragraph.
3340 * progmodes/python.el
3341 (python-fill-comment-function, python-fill-string-function)
3342 (python-fill-decorator-function, python-fill-paren-function):
3343 Remove :safe for defcustoms.
3344 (python-fill-string-style): New defcustom
5694896d 3345 (python-fill-paragraph-function): Enhance context detection.
fc345011
FEG
3346 (python-fill-string): Honor python-fill-string-style settings.
3347
6bab5d8b
MR
33482012-10-04 Martin Rudalics <rudalics@gmx.at>
3349
3350 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
3351 after setting its buffer (Bug#10805).
3352
a1a9f411
FEG
33532012-10-03 Fabián Ezequiel Gallina <fgallina@cuca>
3354
3355 Fix cornercase for string syntax.
3356 * progmodes/python.el (python-syntax-propertize-function):
3357 Simplify and enhance the regexp for unescaped quotes. Now it also
3358 matches quotes in weird situations like the single quote in
3359 "something\"'".
3360 (python-syntax-stringify): Simplify num-quotes detecting code.
3361
05e153a6
GM
33622012-10-03 Glenn Morris <rgm@gnu.org>
3363
3364 * help-macro.el (three-step-help):
3365 Revert 2012-09-29 change. (Bug#12567)
3366
2e566ecb
MR
33672012-10-03 Martin Rudalics <rudalics@gmx.at>
3368
96ef9ccd
MR
3369 * menu-bar.el (kill-this-buffer): Don't do anything when
3370 `menu-frame' is not alive or visible (Bug#8184).
3371
2e566ecb
MR
3372 * emacs-lisp/debug.el (debug): When quitting the debugger window
3373 restore current buffer (Bug#12502).
3374
a96e1cb7
CY
33752012-10-02 Chong Yidong <cyd@gnu.org>
3376
5694896d
J
3377 * progmodes/hideif.el (hif-lookup, hif-defined):
3378 Handle semantic-c-takeover-hideif.
a96e1cb7 3379
b3ecad33
PE
33802012-10-02 Paul Eggert <eggert@cs.ucla.edu>
3381
3382 Change sampling interval units from ms to ns.
3383 * profiler.el (profiler-sampling-interval): Change units
3384 from ms to ns, multiplying the default by 1000000 so that
3385 it remains 1 ms.
3386 (profiler-report-cpu-line-format): Give enough room for
3387 the maximum counters on 64-bit hosts.
3388 (profiler-report-render-calltree-1): Call them "CPU samples",
3389 not "Time (ms)", since they are not milliseconds now (and
3390 never really were).
3391
8cb51b66 33922012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
c623f81a 3393
5694896d
J
3394 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
3395 Fix querying BBDB for entries without a last name (Bug#11580).
c623f81a 3396
fd795bf4
CY
33972012-10-02 Chong Yidong <cyd@gnu.org>
3398
3399 * emacs-lisp/eieio.el: Restore Version header.
3400
fe0a74f9
SM
34012012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
3402
6be9197e
SM
3403 * vc/diff-mode.el (diff--auto-refine-data): New var.
3404 (diff-hunk): Use it to delay refinement.
3405 (diff-mode): Remove overlays when we turn off font-lock.
3406
18486139
SM
3407 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
3408 (table-initialize-table-fixed-width-mode)
3409 (table-set-table-fixed-width-mode): Remove functions.
3410 (table-command-list): Move initialization into declaration.
3411 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
3412 (table-with-cache-buffer): Use `declare'.
3413 (table-span-cell): Simplify via CSE.
3414 (table-fixed-width-mode): Use define-minor-mode.
3415 (table-call-interactively, table-funcall, table-apply): Remove.
3416 (table-function): New function, to replace them.
3417
d83ef976
SM
3418 * bookmark.el (bookmark-search-pattern): Remove var.
3419 (bookmark-read-search-input): Remove function.
3420 (bookmark-bmenu-search): Reimplement using a minibuffer.
3421
cd386662
SM
3422 * faces.el (modeline): Remove obsolete face name.
3423
fe0a74f9
SM
3424 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
3425 and give a non-nil default value.
3426 (add-change-log-entry): Simplify accordingly.
3427
9f7b98f8
DG
34282012-10-01 Dmitry Gutov <dgutov@yandex.ru>
3429
3430 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
3431 (vc-git-log-edit-toggle-amend): New function.
3432 (vc-git-log-edit-toggle-signoff): New function.
3433 (vc-git-log-edit-mode): New major mode.
3434 (vc-git-log-edit-mode-map): Keymap for it.
3435 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
3436
3437 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
3438 header names.
3439 (log-edit-toggle-header): New function.
3440 (log-edit-extract-headers): Accept function values in HEADERS alist.
3441
62a81506
CY
34422012-10-01 David Engster <deng@randomsample.de>
3443
3444 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
3445 from symbol property and change message to be more consistent with
3446 Emacs proper.
3447 (eieio-describe-generic): Add filename for each implementation.
3448 Fix indices for generic and normal methods.
3449 (eieio-method-def, eieio-class-def): New buttons.
3450 (eieio-help-find-method-definition)
3451 (eieio-help-find-class-definition): New functions.
3452 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
3453 class, constructor and method definitions.
3454
3455 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
3456 information in symbol property.
3457 (scoped-class): Remove.
3458 (eieio-slot-name-index, call-next-method): Check if it is bound.
3459
34602012-10-01 Leo P. White <lpw25@cam.ac.uk>
3461
3462 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
3463 (eieio-custom-mode): New major mode.
3464 (eieio-customize-object): Use it.
3465
34662012-10-01 Eric Ludlam <zappo@gnu.org>
3467
3468 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
3469 specifying the expected class, and whether subclassing is allowed.
3470 (eieio-persistent-convert-list-to-object):
1f9f395d
JB
3471 (eieio-persistent-validate/fix-slot-value)
3472 (eieio-persistent-slot-type-is-class-p): New functions.
3473 (eieio-named::slot-missing): Doc fix.
62a81506
CY
3474
3475 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
3476 Stop using unused publd variable.
3477
3478 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
3479 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
3480 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
3481 (eieio-speedbar-handle-click): Do not specify a class for the
3482 method. Fixes method invocation order problems with EDE.
3483
375e49d4
SM
34842012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
3485
3486 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
3487 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
3488
16ce6ccd
KF
34892012-10-01 Karl Fogel <kfogel@red-bean.com>
3490
3491 * bookmark.el (bookmark-version-control): Give tags in the
3492 :type choices (Bug#12309), and improve doc string.
e4c4abdd
KF
3493 (bookmark-write-file): Bind `print-circle' to `t' to allow
3494 circular custom bookmark types. (Bug#12503)
16ce6ccd 3495
19e54a4d
PE
34962012-10-01 Paul Eggert <eggert@cs.ucla.edu>
3497
86ec63ba
PE
3498 Revert the FOLLOW-SYMLINKS change for file-attributes.
3499 * files.el (remote-file-name-inhibit-cache, after-find-file):
3500 * time.el (display-time-file-nonempty-p): Undo last change.
3501
19e54a4d
PE
3502 * profiler.el (profiler-sampling-interval): Change default back to 1.
3503 See Stefan Monnier in
3504 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
3505
0478776b
FEG
35062012-10-01 Fabián Ezequiel Gallina <fgallina@cuca>
3507
3508 Shell output catching a la gud-gdb.
3509 * progmodes/python.el (python-shell-fetch-lines-in-progress)
375e49d4
SM
3510 (python-shell-fetch-lines-string, python-shell-fetched-lines):
3511 New Vars.
0478776b
FEG
3512 (python-shell-fetch-lines-filter): New function.
3513 (python-shell-send-string-no-output): Use them.
3514
c22bac2c
TM
35152012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
3516
3517 * profiler.el (profiler-sampling-interval): Rename from
3518 profiler-sample-interval.
3519 (profiler-sampling-interval): Default to 10.
3520 (profiler-find-profile): New command (was profiler-find-log).
3521 (profiler-find-profile-other-window): New command.
3522 (profiler-find-profile-other-frame): New command.
3523 (profiler-profile): Introduce API-level data structure.
3524
e7a2937b
PE
35252012-09-30 Paul Eggert <eggert@cs.ucla.edu>
3526
3527 file-attributes has a new optional arg FOLLOW-SYMLINKS.
3528 * files.el (remote-file-name-inhibit-cache):
3529 * time.el (display-time-file-nonempty-p): Use it.
3530 * files.el (after-find-file): Don't chase links before calling
3531 file-exists-p, as file-exists-p already does the right thing.
3532
4f595e15
RA
35332012-09-30 Ralf Angeli <angeli@caeruleus.net>
3534
3535 Merge from standalone RefTeX repository.
3536
3537 The following ChangeLog entries are shortened versions of the
3538 original ones with file paths adapted. A not so strongly edited
3539 version of the original ChangeLog can be found in the commit log.
3540
3541 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
375e49d4
SM
3542 (reftex-arg-cite): Use `reftex-cite-key-separator'.
3543 Correctly handle new value type returned by `reftex-citation'.
4f595e15
RA
3544
3545 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
375e49d4
SM
3546 that entries with whitespace at various places are found.
3547 Doc fix. Include entries that are cross-referenced from cited entries.
4f595e15
RA
3548 Include @String definitions in the resulting bib file. Add header
3549 and footer defined in `reftex-create-bibtex-header' and
3550 `reftex-create-bibtex-footer'.
3551 (reftex-do-citation): Make it possible again to insert
3552 non-existent entries. Save match data when asking for optional
3553 arguments. Return all keys, not just the first one.
3554 (reftex-all-used-citation-keys): Fix regexp to correctly extract
3555 all citations in the same line.
3556 (reftex-parse-bibtex-entry): Accept additional optional argument
3557 `raw' and keep quotes or braces if it is non-nil. Match fields
3558 containing hyphens besides word constituents.
3559 (reftex-get-string-refs): New function.
3560 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
3561 and ask if it should be reread in case it did.
3562 (reftex-pop-to-bibtex-entry)
3563 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
3564 entries with spaces or tabs in front of arguments.
3565 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
375e49d4
SM
3566 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
3567 Match entries containing numbers and symbol constituents.
3568 (reftex-do-citation, reftex-figure-out-cite-format):
3569 Use `reftex-cite-key-separator'.
4f595e15
RA
3570
3571 * textmodes/reftex-dcr.el: Move provide statement to end of file.
3572 (reftex-mouse-view-crossref): Explain why point is set.
3573
3574 * textmodes/reftex-global.el: Whitespace changes.
3575
3576 * textmodes/reftex-index.el: Move provide statement to end of
3577 file.
3578 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
3579 (reftex-index-visit-phrases-buffer): Set marker when visiting
3580 buffer. This allows for returning from the phrases file to the
3581 file one was just editing instead of the file where the last
3582 phrases was added from.
3583 (reftex-index-phrases-syntax-table): New variable. Give ?\"
3584 punctuation syntax as it usually is not used as string quote in
3585 TeX-related modes and may occur unmatched. The change also
3586 prevents fontification of quoted content.
3587 (reftex-index-phrases-mode): Use it.
3588
375e49d4
SM
3589 * textmodes/reftex-parse.el (reftex-parse-from-file):
3590 Move backward one char if a `\' was matched after a section macro.
4f595e15
RA
3591 (reftex-parse-from-file): Use beginning of match instead of end as
3592 bound.
3593
3594 * textmodes/reftex-ref.el: Adapt creation of
3595 `reftex-<package>-<macro>' functions to new structure of
3596 `reftex-ref-style-alist'.
375e49d4
SM
3597 (reftex-reference): Use `reftex-ref-style-list' function.
3598 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
4f595e15
RA
3599 reference macro if `reftex-ref-macro-prompt' is non-nil.
3600 (reftex-reference): Pass refstyle to `reftex-format-special'.
3601 Determine reference macro by looking at
375e49d4
SM
3602 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
3603 Use only one special format function.
4f595e15
RA
3604 (reftex-varioref-vref, reftex-fancyref-fref)
3605 (reftex-fancyref-Fref): Remove definitions. The functions are now
3606 generated from `reftex-ref-style-alist'.
3607 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
3608 Remove.
3609 (reftex-format-special): New function.
3610
3611 * textmodes/reftex-sel.el
3612 (reftex-select-cycle-ref-style-internal): Adapt to new structure
3613 of `reftex-ref-style-alist'. Remove code for testing macro type.
3614 (reftex-select-toggle-varioref)
3615 (reftex-select-toggle-fancyref): Remove.
3616 (reftex-select-cycle-ref-style-internal)
3617 (reftex-select-cycle-ref-style-forward)
3618 (reftex-select-cycle-ref-style-backward): New functions.
3619 (reftex-select-label-map): Use `v' and `V' for general cycling
3620 through reference styles. Add `p' for switching between number
3621 and page reference types.
3622
375e49d4
SM
3623 * textmodes/reftex-toc.el (reftex-re-enlarge):
3624 Call `enlarge-window' only if there is something to do because in Emacs
4f595e15
RA
3625 the horizontal version throws an error even if the parameter is 0.
3626
3627 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
3628 (reftex-plug-into-AUCTeX): Doc fix.
3629 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
3630 string. Adapt to new name.
3631 (reftex-ref-style-alist): Change structure so that it is not
3632 possible to use multiple different package names within a style.
375e49d4
SM
3633 Remove the symbols for symbols for macro type distinction.
3634 Add characters for macro selection.
4f595e15
RA
3635 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
3636 (reftex-create-bibtex-footer): New variables.
3637 (reftex-format-ref-function): Mention third argument of special
3638 format function.
375e49d4
SM
3639 (reftex-ref-style-alist, reftex-ref-style-default-list):
3640 New variables.
4f595e15
RA
3641 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
3642 to new implementation. Mark as obsolete. Add compatibility code
3643 for honoring the variable values in case they are set.
375e49d4
SM
3644 (reftex-cite-format-builtin, reftex-bibliography-commands):
3645 Add support for ConTeXt.
3646 (reftex-format-ref-function, reftex-format-cite-function):
3647 Fix custom type.
4f595e15
RA
3648 (reftex-cite-key-separator): New variable.
3649
3650 * textmodes/reftex.el (reftex-syntax-table-for-bib)
3651 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
3652 `reftex-syntax-table' because parens have to retain their paren
3653 syntax in order for parsing of BibTeX entries like @book(...) to
3654 work.
3655 (reftex-in-comment): Do not error out if `comment-start-skip' is
3656 not set. Deal correctly with escaped comment characters.
375e49d4
SM
3657 (reftex-tie-multifile-symbols): Add doc string.
3658 Initialize `reftex-ref-style-list'.
4f595e15
RA
3659 (reftex-untie-multifile-symbols): Add doc string.
3660 (reftex-add-index-macros): Doc fix.
3661 (reftex-ref-style-activate, reftex-ref-style-toggle)
3662 (reftex-ref-style-list): New functions.
3663 (reftex-mode-menu): Use them. Adapt to new structure of
3664 `reftex-ref-style-alist'.
3665 (reftex-select-with-char): Kill the RefTeX Select buffer when
3666 done.
3667 (reftex-remove-if): New function.
3668 (reftex-erase-all-selection-and-index-buffers)
3669 (reftex-mode-menu): Reference styles are now computed from
3670 `reftex-ref-style-alist'. Fix typo.
3671 (reftex-report-bug): New function.
3672 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
3673 algorithms with O(n log n). Introduce optional argument SORT (not
3674 yet used).
3675
440ba395
FEG
36762012-09-30 Fabián Ezequiel Gallina <fgallina@cuca>
3677
3678 Enhancements for triple-quote string syntax.
375e49d4
SM
3679 * progmodes/python.el (python-syntax-propertize-function):
3680 Match both quote cases in one regexp.
440ba395
FEG
3681 (python-syntax-stringify): Handle matches properly.
3682
4c478e6b
JL
36832012-09-30 Juri Linkov <juri@jurta.org>
3684
3685 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
93cacb6d 3686 to nil around the call to `insert' to prevent
4c478e6b
JL
3687 directory time modification by lock_file. (Bug#2295)
3688 * tar-mode.el (tar-summarize-buffer): Idem.
3689
d80d54b2
JL
36902012-09-30 Juri Linkov <juri@jurta.org>
3691
3692 * facemenu.el (list-colors-sort): Add option "Luminance".
3693 (list-colors-sort-key): Implement it.
3694
3695 * vc/diff-mode.el (diff-refine-removed):
3696 * vc/ediff-init.el (ediff-fine-diff-A):
3697 * vc/smerge-mode.el (smerge-refined-removed):
3698 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
3699
d7e642cc
JD
37002012-09-30 Jan Djärv <jan.h.d@swipnet.se>
3701
3702 * term/ns-win.el (x-file-dialog): New function.
3703
ee41332b
JB
37042012-09-30 Juanma Barranquero <lekktu@gmail.com>
3705
3706 * ido.el (ido-max-directory-size): Default to nil; the current
3707 default is small for POSIX systems, and impractical on Windows 7
3708 now that lstat returns directory sizes for NTFS.
3709
5938d519
MR
37102012-09-30 Martin Rudalics <rudalics@gmx.at>
3711
3712 In buffer display functions handle window-height/window-width
3713 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
375e49d4
SM
3714 * window.el (window--display-buffer): New argument ALIST.
3715 Obey window-height and window-width alist entries.
3716 (window--try-to-split-window): New argument ALIST.
3717 Bind window-combination-limit to t when the window's size shall be
5938d519
MR
3718 changed and window-combination-limit equals `window-size'.
3719 (display-buffer-in-atom-window)
3720 (display-buffer-in-major-side-window)
3721 (display-buffer-in-side-window, display-buffer-same-window)
3722 (display-buffer-reuse-window, display-buffer-pop-up-frame)
3723 (display-buffer-pop-up-window, display-buffer-below-selected)
3724 (display-buffer-at-bottom, display-buffer-in-previous-window)
3725 (display-buffer-use-some-window): Adjust all callers of
3726 window--display-buffer and window--try-to-split-window.
3727 (fit-frame-to-buffer): New option.
3728 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
3729 is non-nil.
3730 (display-buffer-in-major-side-window): Evaluate window-height /
3731 window-width alist entries.
3732
3733 * help.el (temp-buffer-resize-frames)
3734 (temp-buffer-resize-regexps): Remove options.
3735 (temp-buffer-resize-mode): Adjust doc-string.
3736 (resize-temp-buffer-window): Don't consult
3737 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
3738 temp-buffer-resize-frames.
3739
375e49d4
SM
3740 * dired.el (dired-mark-pop-up):
3741 Call display-buffer-below-selected with a fit-window-to-buffer alist
5938d519
MR
3742 entry.
3743
c4c0c2df
CY
37442012-09-30 Chong Yidong <cyd@gnu.org>
3745
48de8b12
CY
3746 * server.el (server-host): Document the security implications.
3747 (server-auth-key): Doc fix.
3748
3749 * startup.el (initial-buffer-choice): Doc fix.
3750
3751 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
3752
a97dc380
CY
3753 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
3754 restriction change.
3755
d39d3c8e
CY
3756 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
3757
c4c0c2df
CY
3758 * help-fns.el (help-fns--obsolete): Fix last change.
3759
98a5e33b
SM
37602012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
3761
34cf6f39
SM
3762 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
3763 (minor-mode-map-alist): Remove redundant code.
3764
e01c13fe
SM
3765 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
3766 visited in a buffer.
3767 (cvs-insert-visited-file): New function.
3768 (find-file-hook): Use it.
3769
3770 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
3771
02661b3a
SM
3772 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
3773 chose face.
3774 (log-edit-empty-buffer-p): Don't require a space after a header.
3775
43711d4b
SM
3776 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
3777
38a30d64
SM
3778 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
3779
4ffb41a9
SM
3780 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
3781 a proper minor-mode.
3782
98a5e33b
SM
3783 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
3784
de82e29b
GM
37852012-09-29 Glenn Morris <rgm@gnu.org>
3786
5cc2e639
GM
3787 * winner.el (winner-mode): Remove variable (let define-minor-mode
3788 handle it).
3789 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
3790 Doc fixes.
3791 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
3792 (winner-mode): Use define-minor-mode.
3793
7bd302eb
GM
3794 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
3795 the full definition in loaddefs, rather than duplicating it.
3796
2923922f 3797 * help-macro.el (three-step-help): No need to autoload defcustom.
ced08382 3798
0e3e4156
GM
3799 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
3800 (inferior-lisp-program, inferior-lisp-load-command)
3801 (inferior-lisp-prompt, inferior-lisp-mode-hook):
2923922f 3802 No need to autoload defcustoms.
0e3e4156 3803
de82e29b
GM
3804 * hippie-exp.el (hippie-expand-try-functions-list)
3805 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
3806 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
3807 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
2923922f 3808 (hippie-expand-only-buffers): No need to autoload defcustoms.
de82e29b
GM
3809 * progmodes/vhdl-mode.el (vhdl-line-expand):
3810 Explicitly load hippie-exp, so it does not get autoloaded
3811 while hippie-expand-try-functions-list is let-bound.
3812
e60b51ab
GM
38132012-09-28 Glenn Morris <rgm@gnu.org>
3814
277f0cfa
GM
3815 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
3816
e60b51ab
GM
3817 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
3818 Only "cl.el" counts as cl these days.
3819
53baf48a
JL
38202012-09-28 Juri Linkov <juri@jurta.org>
3821
3822 Display archive errors in the echo area instead of inserting
3823 to the file buffer.
3824
3825 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
3826 to STDERR-TEST that can be a regexp matching a successful output.
3827 Create a temporary file and redirect stderr to it. Search for
3828 STDERR-TEST in the stderr output and display it in the echo area
3829 if no match is found.
3830 (archive-extract-by-file): New function like
3831 `archive-extract-by-stdout' but extracting archives to files
3832 and looking for successful matches in stdout. Function body is
3833 mostly copied from `archive-rar-extract'.
3834 (archive-rar-extract): Use `archive-extract-by-file'.
3835 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
3836
9c1228c3
LL
38372012-09-28 Leo Liu <sdl.web@gmail.com>
3838
375e49d4
SM
3839 * pcomplete.el (pcomplete-show-completions):
3840 Use minibuffer-message to make pcomplete usable in minibuffer.
147c0425 3841
9c1228c3
LL
3842 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
3843
7f457c06
SM
38442012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
3845
3df749b0
SM
3846 * type-break.el: Use lexical-binding.
3847 (type-break-mode): Use define-minor-mode.
3848
7f457c06
SM
3849 * emacs-lisp/pcase.el (pcase--mark-used): New.
3850 (pcase--u1): Use it (bug#12512).
3851
3852 * custom.el (load-theme): Set buffer-file-name so the load is recorded
3853 in load-history with the right file name.
3854
c00ebc98
TH
38552012-09-28 Tassilo Horn <tsdh@gnu.org>
3856
3857 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
3858 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
3859 (doc-view-get-bounding-box): Make bounding box slicing work for
3860 ODF and DVI documents.
3861
96fb7170
GM
38622012-09-28 Glenn Morris <rgm@gnu.org>
3863
3864 * type-break.el (type-break-mode, type-break-interval)
3865 (type-break-good-rest-interval, type-break-keystroke-threshold):
3866 No need to autoload.
3867 (type-break-good-rest-interval, type-break-keystroke-threshold):
3868 Add :set-after.
3869
5bc93c67
CY
38702012-09-28 Chong Yidong <cyd@gnu.org>
3871
3872 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
3873 Add :version tag.
3874
9cad61d6
SM
38752012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
3876
e28e67b3 3877 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
9cad61d6 3878
daee954c
GM
38792012-09-27 Glenn Morris <rgm@gnu.org>
3880
a88324d4
GM
3881 * faces.el (x-display-name): Declare (for without-x builds).
3882
8e5064e5
GM
3883 * linum.el (linum-format): Don't autoload it. Improve :type.
3884
cc1783c2
GM
3885 * progmodes/tcl.el: Don't require outline when compiling.
3886 (outline-regexp, outline-level): Declare.
1dddcf4c
GM
3887 * textmodes/sgml-mode.el: Don't require outline when compiling.
3888 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
3889
48c339f2
GM
3890 * term.el (term-ansi-reset):
3891 Try setting term-ansi-face-already-done to nil. (Bug#11785)
3892
daee954c
GM
3893 * vc/vc.el (vc-next-action): Only gripe about committing read-only
3894 files for RCS and SCCS. (Bug#9781)
3895
b7f42161
CY
38962012-09-27 Chong Yidong <cyd@gnu.org>
3897
3898 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
3899 change; value should be t.
3900
a2e770db
SM
39012012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
3902
83600dc8
SM
3903 * image-mode.el: Use lexical-binding.
3904 (image-mode-winprops): Use t to stand for the window of
3905 a buffer that's not displayed.
3906 * doc-view.el (doc-view-new-window-function): Handle the new
3907 t in winprops.
3908 (doc-view-enlarge): Make it a real nop if the size is not changed.
3909 (doc-view-display): Handle the case where the buffer is not (yet?)
3910 displayed in any window.
3911 (doc-view-saved-settings): New var.
3912 (doc-view-mode): Use it.
3913 (doc-view-fallback-mode): Set it.
3914
a2e770db
SM
3915 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
3916 Set lexical-binding.
3917 (minibuffer-eldef-shorten-default): New var.
3918 (minibuffer-default-in-prompt-regexps): Use it for new default.
3919 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
3920
e3b60857
JB
39212012-09-26 Juanma Barranquero <lekktu@gmail.com>
3922
3923 * international/uni-bidi.el:
3924 * international/uni-category.el:
3925 * international/uni-name.el:
3926 * international/uni-numeric.el: Regenerate.
3927
3a880af4
SM
39282012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
3929 Stefan Monnier <monnier@iro.umontreal.ca>
3930
3931 * profiler.el: New file.
3932
07b1a5fb
SM
39332012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
3934
3935 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
3936 (testcover-reinstrument): Simplify with CSE.
3937
42019c2e
JB
39382012-09-26 Juanma Barranquero <lekktu@gmail.com>
3939
3940 * window.el (temp-buffer-window-setup): Fix typo in docstring.
3941
179f044b
WS
39422012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
3943
3944 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
3945 (verilog-auto-input, verilog-auto-insert-lisp)
3946 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
3947 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
3948 (verilog-auto-unused, verilog-auto-wire)
3949 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
3950 newline. Reported by Andrew Jones.
3951 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
3952 Reported by Brad Dobbie.
07b1a5fb
SM
3953 (verilog-batch-delete-trailing-whitespace):
3954 Create verilog-batch-delete-trailing-whitespace.
3955 Reported by Brad Dobbie.
179f044b
WS
3956 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
3957 parameters from another module. Reported by Dan Katz.
3958 (verilog-auto, verilog-auto-assign-modport)
3959 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
3960 AUTOINOUTMODPORT for UVM interface module shell generation.
3961 Reported by Brad Dobbie.
3962 (verilog-auto-inst-interfaced-ports): Make default nil, as more
3963 standard behavior.
3964 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
3965 Reported by Matt Martin.
3966
9c52dd5a
MR
39672012-09-25 Martin Rudalics <rudalics@gmx.at>
3968
3969 * window.el (window--resize-child-windows): When resizing child
3970 windows proportionally, process them in reverse order to
3971 preserve the "when splitting a window the new one gets the odd
3972 line" behavior.
3973 (window--resize-root-window-vertically): When resizing the
3974 minibuffer window try to affect only windows at the bottom of the
3975 frame. (Bug#12419)
3976
863666eb
CY
39772012-09-25 Chong Yidong <cyd@gnu.org>
3978
3979 * subr.el (declare): Doc fix.
3980
3981 * help-fns.el (help-fns--obsolete): Handle macros properly.
3982
59f7af81
CY
39832012-09-25 Chong Yidong <cyd@gnu.org>
3984
3985 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
3986 this function obsolete.
3987
3988 * calendar/cal-x.el (calendar-two-frame-setup)
3989 (calendar-only-one-frame-setup, calendar-one-frame-setup):
3990 * calendar/calendar.el (american-calendar, european-calendar)
3991 (calendar-for-loop):
3992 * comint.el (comint-dynamic-simple-complete)
3993 (comint-dynamic-complete-as-filename, comint-unquote-filename):
3994 * desktop.el (desktop-load-default):
3995 * dired-x.el (dired-omit-here-always)
3996 (dired-hack-local-variables, dired-default-directory):
3997 * emacs-lisp/derived.el (derived-mode-class):
3998 * emacs-lisp/timer.el (timer-set-time-with-usecs):
3999 * emacs-lock.el (toggle-emacs-lock):
4000 * epa.el (epa-display-verify-result):
4001 * epg.el (epg-sign-keys, epg-start-sign-keys)
4002 (epg-passphrase-callback-function):
4003 * eshell/esh-util.el (eshell-for):
4004 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
4005 (eshell-add-to-window-buffer-names):
4006 * files.el (locate-file-completion):
4007 * imenu.el (imenu-example--create-c-index)
4008 (imenu-example--create-lisp-index)
4009 (imenu-example--lisp-extract-index-name)
4010 (imenu-example--name-and-position):
4011 * international/mule-cmds.el (princ-list):
4012 * international/mule-diag.el (decode-codepage-char):
4013 * international/mule-util.el (detect-coding-with-priority):
4014 * iswitchb.el (iswitchb-read-buffer):
4015 * mail/mailalias.el (mail-complete):
4016 * mail/sendmail.el (mail-sent-via):
4017 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
4018 (mouse-major-mode-menu):
4019 * password-cache.el (password-read-and-add):
4020 * pcomplete.el (pcomplete-parse-comint-arguments):
4021 * progmodes/sh-script.el (sh-maybe-here-document):
4022 * replace.el (query-replace-regexp-eval):
4023 * savehist.el (savehist-load):
4024 * simple.el (choose-completion-delete-max-match):
4025 * term.el (term-dynamic-simple-complete):
4026 * vc/ediff-init.el (ediff-check-version):
4027 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
4028 * vc/vc.el (vc-diff-switches-list):
4029 * view.el (view-return-to-alist-update): Likewise.
4030
4031 * subr.el (eval-next-after-load, makehash, insert-string)
4032 (assoc-ignore-representation, assoc-ignore-case): Use declare to
4033 mark obsolete.
4034 (mode-line-inverse-video): Variable deleted.
4035
4036 * international/mule-util.el (string-to-sequence): Remove.
4037
4038 * calendar/calendar.el (calendar-version):
4039 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
4040 (icalendar-convert-diary-to-ical):
4041 * cus-edit.el (custom-mode):
4042 * ansi-color.el (ansi-color-unfontify-region):
4043 * international/latin1-disp.el (latin1-char-displayable-p):
4044 * progmodes/cwarn.el (turn-on-cwarn-mode):
07b1a5fb
SM
4045 * progmodes/which-func.el (which-func-update-1):
4046 Use define-obsolete-function-alias.
59f7af81
CY
4047
4048 * net/newst-backend.el (newsticker-cache-filename):
07b1a5fb
SM
4049 * net/newst-treeview.el (newsticker-groups-filename):
4050 Fix incorrect obsolescence declaration.
59f7af81
CY
4051
4052 * allout.el (allout-passphrase-hint-string): Likewise.
4053 (allout-init): Use a declare form to mark obsolete.
4054
4055 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
4056 this applies to functions.
4057
4058 * iswitchb.el (iswitchb-read-buffer): Move code of
4059 iswitchb-define-mode-map here, and delete that obsolete function.
4060
4061 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
4062 font-lock-reference-face.
4063
cca96c97
GM
40642012-09-25 Glenn Morris <rgm@gnu.org>
4065
b06eeda8
GM
4066 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
4067 Doc fixes.
4068
cca96c97
GM
4069 * eshell/em-term.el (eshell-term-name):
4070 Default to term-term-name. (Bug#12485)
4071
dc4f818b
FEG
40722012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
4073
cca96c97
GM
4074 * progmodes/python.el (python-shell-send-buffer): Better handling
4075 of "if __name__ == '__main__':" conditionals when sending the buffer.
dc4f818b 4076
289c24bd
GM
40772012-09-24 Glenn Morris <rgm@gnu.org>
4078
4079 * eshell/esh-cmd.el (eshell-find-alias-function):
4080 Tighten up file-name regexp. (Bug#12499)
4081
8fb8b88f
FEG
40822012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
4083
4084 Enhancements for triple-quote string syntax.
4085 * progmodes/python.el (python-quote-syntax): Remove.
4086 (python-syntax-propertize-function): New value.
07b1a5fb
SM
4087 (python-syntax-count-quotes, python-syntax-stringify):
4088 New functions.
8fb8b88f 4089
6c27f0f8
CY
40902012-09-24 Chong Yidong <cyd@gnu.org>
4091
a5f2b6ec
CY
4092 * mail/supercite.el (sc-version): Remove obsolete function.
4093 (sc-describe): Don't mark as obsolete, since it is bound.
4094 (sc-submit-bug-report): Remove.
4095
4096 * vc/log-edit.el (cvs-changelog-full-paragraphs)
4097 (cvs-commit-buffer-require-final-newline): Remove.
0c765e5f
CY
4098 (log-edit-require-final-newline)
4099 (log-edit-changelog-full-paragraphs): Default to t.
a5f2b6ec
CY
4100
4101 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
4102 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
4103 * vc/vc.el (vc-checkout-carefully): Likewise.
4104
4105 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
4106 (emerge-version): Remove.
4107
4108 * progmodes/compile.el (compile-internal): Remove.
4109 (compilation-parse-errors-function): Fix typo.
4110
4111 * international/mule.el (set-char-table-default): Remove.
4112 (set-coding-priority, make-coding-system, generic-char-p)
4113 (charset-list, charset-bytes, charset-id): Use declare to mark
4114 functions as obsolete.
4115
4116 * vc/pcvs-defs.el (cvs-buffer-name-alist)
4117 (cvs-invert-ignore-marks): Remove references to obsolete vars.
4118 * vc/vc-hooks.el (vc-default-registered): Don't use
4119 vc-master-templates.
4120
07b1a5fb
SM
4121 * font-lock.el (font-lock-reference-face):
4122 Use define-obsolete-variable-alias.
6c27f0f8
CY
4123
4124 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
4125 * calendar/calendar.el (calendar-font-lock-keywords):
4126 * calendar/diary-lib.el (diary-font-lock-keywords)
4127 (diary-fancy-font-lock-keywords):
4128 * textmodes/reftex-sel.el (reftex-insert-docstruct):
4129 * textmodes/reftex-index.el (reftex-insert-index):
4130 * textmodes/reftex-cite.el (reftex-format-bib-entry):
4131 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
4132 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
4133 * progmodes/prolog.el (prolog-font-lock-keywords):
4134 * progmodes/idlwave.el (idlwave-idl-keywords):
4135 * progmodes/ada-mode.el (ada-font-lock-keywords):
4136 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
4137
bcc0adbf
GM
41382012-09-24 Glenn Morris <rgm@gnu.org>
4139
4140 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
4141
095bb823
FEG
41422012-09-23 Fabián Ezequiel Gallina <fgallina@cuca>
4143
4144 * progmodes/python.el (python-indent-line): More consistent cursor
4145 movement behavior.
4146
70efc5c9
SM
41472012-09-23 Stefan Merten <smerten@oekonux.de>
4148
4149 * textmodes/rst.el: Fix compiler warning.
4150
2f438239
RW
41512012-09-23 Roland Winkler <winkler@gnu.org>
4152
07b1a5fb
SM
4153 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
4154 Transcribe also LaTeX hyphenation.
2f438239
RW
4155 (bibtex-reformat): Bug fix. Do not quote twice the elements of
4156 bibtex-reformat-previous-options.
4157
936ad041
RW
41582012-09-23 Roland Winkler <winkler@gnu.org>
4159
4160 * proced.el (proced-renice-command): New variable.
4161 (proced-marked-processes): New function.
4162 (proced-with-processes-buffer): New macro.
4163 (proced-send-signal): Use them.
4164 (proced-renice): New command bound to r.
4165
6fab0274
RW
41662012-09-23 Roland Winkler <winkler@gnu.org>
4167
4168 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
4169 ibuffer-saved-filter-groups has one element, shortcut the call of
4170 completing-read. (Bug#12331)
4171
9a930676
CY
41722012-09-23 Chong Yidong <cyd@gnu.org>
4173
4174 * bindings.el (mode-line-toggle-read-only):
4175 * bs.el (bs-toggle-readonly):
4176 * buff-menu.el (Buffer-menu-toggle-read-only):
4177 * dired.el (dired-toggle-read-only):
4178 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
4179
d07ff9db
CY
41802012-09-23 Chong Yidong <cyd@gnu.org>
4181
4182 * image.el (image-type-available-p): Adapt to init-image-library
4183 argument changes.
4184
51c4474e
JL
41852012-09-22 Juri Linkov <juri@jurta.org>
4186
4187 * dired.el (dired-mode-map): Add [remap read-only-mode] for
4188 `dired-toggle-read-only'. (Bug#12462)
4189
43bf5e8e
MR
41902012-09-22 Martin Rudalics <rudalics@gmx.at>
4191
4192 * subr.el (temp-output-buffer-show): New function.
4193 (with-output-to-temp-buffer): Call temp-output-buffer-show
4194 instead of internal-temp-output-buffer-show.
4195
c88b867f
CY
41962012-09-22 Chong Yidong <cyd@gnu.org>
4197
3df47cd5
CY
4198 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
4199 (Bug#12462).
4200
c88b867f
CY
4201 * repeat.el (repeat): Doc fix (Bug#12348).
4202
4203 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
4204 (Bug#10909).
4205
4206 * simple.el (shell-command-on-region): Doc fix.
3171e303 4207 (read-only-mode): Doc fix.
c88b867f 4208
df9685f3
EZ
42092012-09-22 Eli Zaretskii <eliz@gnu.org>
4210
4211 * emacs-lisp/timer.el (run-with-idle-timer)
4212 (timer-activate-when-idle): Warn against reinvoking an idle timer
4213 from within its own timer action. (Bug#12447)
4214
8e17c9ba
MR
42152012-09-22 Martin Rudalics <rudalics@gmx.at>
4216
4217 * cus-start.el (window-combination-limit): Add new optional
4218 values.
4219 * window.el (temp-buffer-window-show)
4220 (window--try-to-split-window): Handle new values of
4221 window-combination-limit (Bug#1806).
4222 (split-window): Test window-combination-limit for t instead of
4223 non-nil.
4224 (display-buffer-at-bottom): New buffer display action function.
4225 * help.el (temp-buffer-resize-regexps): New option.
4226 (temp-buffer-resize-mode): Rewrite doc-string.
4227 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
bd909927 4228 Don't resize reused window. Suggested by Glenn Morris.
8e17c9ba 4229
48a24920
SM
42302012-09-22 Stefan Merten <smerten@oekonux.de>
4231
70efc5c9 4232 * textmodes/rst.el: Revamp section title faces.
48a24920
SM
4233 (rst-official-version)
4234 (rst-package-emacs-version-alist): Sync with official version
4235 V1.4.0.
4236 (rst-faces-defaults, rst-set-level-default)
4237 (rst-level-face-max, rst-level-face-base-color)
4238 (rst-level-face-base-light, rst-level-face-format-light)
4239 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
4240 (rst-adornment-faces-alist): Match new setup.
4241 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
4242 (rst-level-5, rst-level-6): New faces.
4243
82f8cd94
CY
42442012-09-22 Chong Yidong <cyd@gnu.org>
4245
4246 * simple.el (undo): Handle indirect buffers (Bug#8207).
4247
acfa068f 42482012-09-21 Leo Liu <sdl.web@gmail.com>
a8c14da8
LL
4249
4250 IDO: Disable match re-ordering for buffer switching.
2bc9406c 4251 * ido.el (ido-buffer-disable-smart-matches): New variable.
a8c14da8
LL
4252 (ido-set-matches-1): Use it. (Bug#2042)
4253
acfa068f 42542012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
a316d229
JM
4255
4256 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
4257 Fix 2011-05-17 change. (Bug#12418)
4258
acfa068f 42592012-09-21 Leo Liu <sdl.web@gmail.com>
d02e58f8
LL
4260
4261 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
4262
acfa068f 42632012-09-21 Glenn Morris <rgm@gnu.org>
511fd0b2
GM
4264
4265 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
4266 Be more robust about locating simple.el.
4267
acfa068f 42682012-09-21 Glenn Morris <rgm@gnu.org>
fa05bfe0
GM
4269
4270 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
4271
acfa068f
CY
42722012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
4273
4274 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
4275
41a97e6f
JL
42762012-09-20 Juri Linkov <juri@jurta.org>
4277
eb2deaff
JL
4278 * replace.el (query-replace-read-from): Use `read-regexp' instead
4279 of `read-from-minibuffer' when `regexp-flag' is non-nil.
4280 (occur-read-primary-args): Use `read-regexp' instead of
4281 `read-string'.
4282 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
4283 `read-from-minibuffer'.
4284 * isearch.el (isearch-occur): Use `read-regexp' instead of
4285 `read-string'.
4286 * dired.el (dired-read-regexp): Use `read-regexp' instead of
4287 `read-from-minibuffer'.
4288 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
4289 of `read-string'. (Bug#7567)
4290
5825610b
JL
4291 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
4292 and allow accepting a list of strings prepended to a list of
4293 standard default values. Doc fix. (Bug#12321)
4294
eebbf404
JL
4295 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
4296
41a97e6f
JL
4297 * replace.el (read-regexp): Don't add ": " when PROMPT already
4298 ends with a colon and space. (Bug#12321)
4299
c9e452d3
TH
43002012-09-20 Tassilo Horn <tsdh@gnu.org>
4301
4302 * doc-view.el (doc-view-display): Better fix for the cl-assertion
4303 error.
4304
ee97deee
SM
43052012-09-20 Stefan Merten <smerten@oekonux.de>
4306
70efc5c9 4307 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
ee97deee
SM
4308 Fixes feature request bug#11711.
4309 (rst-mode): Create `imenu-create-index-function'.
4310 (rst-get-stripped-line): Delete after refactoring.
4311 (rst-section-tree, rst-section-tree-rec)
4312 (rst-section-tree-point): Refactor and document properly.
4313 (rst-imenu-find-adornments-for-position)
07b1a5fb
SM
4314 (rst-imenu-convert-cell, rst-imenu-create-index):
4315 New function.
ee97deee 4316
f490dab9
SM
43172012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
4318
95b9712e
SM
4319 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
4320 (macroexp--expand-all): Use it.
4321 (macroexp--funcall-and-return): Remove by folding it into its sole
4322 caller (macroexp--warn-and-return).
4323 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
4324 Use macroexp--obsolete-warning.
4325
f490dab9
SM
4326 * calc/calc.el: Fix last change by removing the whole chunk, since it
4327 was only needed back when Calc was not bundled.
4328
96e8d411
MR
43292012-09-20 Martin Rudalics <rudalics@gmx.at>
4330
4331 * emacs-lisp/debug.el (debug): Restore assignment to
4332 debugger-old-buffer removed on 2012-09-08.
4333
0876a82d
JL
43342012-09-20 Juri Linkov <juri@jurta.org>
4335
4336 * dired-aux.el (dired-diff): Remove (require 'diff) since
4337 `diff-latest-backup-file' is now autoloaded.
4338
9f7c28f0
CY
43392012-09-20 Chong Yidong <cyd@gnu.org>
4340
4341 * vc/diff.el (diff-latest-backup-file): Autoload.
4342
7a04bee9
SM
43432012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
4344
e6f0a80d
SM
4345 * calc/calc.el: Remove redundant autoload shape check.
4346 (sel-mode): Don't defvar.
4347 (calc-get-stack-element): Add `sel-mode' arg instead.
4348 (calc-top, calc-top-list): Pass it this additional argument.
4349 * calc/calc-store.el (calc-store-map):
4350 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
4351 (calc-map-equation, calc-outer-product, calc-inner-product):
4352 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
4353
7a04bee9
SM
4354 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
4355
12734222
JL
43562012-09-19 Juri Linkov <juri@jurta.org>
4357
4358 * dired-aux.el (dired-diff): Add (require 'diff) because
4359 `diff-latest-backup-file' is not autoloaded.
4360 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
4361 of `dired-get-filename' to t to not report error when there is
4362 no default file on the current line.
4363
46624b4f
SM
43642012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
4365
ce97595b
SM
4366 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
4367 macroexp--eval-if-compile.
4368 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
4369 (macroexp--expand-all): Use them (bug#12371).
4370
46624b4f
SM
4371 * doc-view.el (doc-view-guess-paper-size)
4372 (doc-view-scale-bounding-box): Fix unbound `caddr'.
4373
db8a5a18
TH
43742012-09-19 Tassilo Horn <tsdh@gnu.org>
4375
4376 New feature: set optimal slice from BoundingBox information.
4377 * doc-view.el (doc-view-mode-map): Add keybinding.
4378 (doc-view-menu): Add menu entry.
4379 (doc-view-set-slice): Adapt docstring.
4380 (doc-view-get-bounding-box, doc-view-guess-paper-size)
4381 (doc-view-scale-bounding-box)
4382 (doc-view-set-slice-from-bounding-box): New functions.
4383 (doc-view-paper-sizes): New defvar.
4384
69f6644c
GM
43852012-09-19 Glenn Morris <rgm@gnu.org>
4386
35f5b19d
GM
4387 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
4388 (byte-compile-log-warning): Autoload. (Bug#12371)
4389
69f6644c
GM
4390 * calendar/calendar.el (calendar-american-month-header)
4391 (calendar-european-month-header, calendar-iso-month-header)
4392 (calendar-month-header): New options.
4393 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
4394 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
4395
e543ae91
JD
43962012-09-19 Jan Djärv <jan.h.d@swipnet.se>
4397
4398 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
4399
2fd5e67d
JL
44002012-09-18 Juri Linkov <juri@jurta.org>
4401
4402 * dired-aux.el (dired-diff): Restore original functionality of
4403 getting the default value, but keep new feature of using the
4404 latest existing backup file (`diff-latest-backup-file').
4405
42917e79
JL
44062012-09-18 Juri Linkov <juri@jurta.org>
4407
4408 * dired.el (dired-mark): If the region is active in Transient Mark
4409 mode, mark all files in the active region. Doc fix.
4410 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
4411 Doc fix. (Bug#10624)
4412
20f70ede
JL
44132012-09-18 Juri Linkov <juri@jurta.org>
4414
4415 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
4416 attributes for M-n are pulled from the file at point.
4417 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
4418 Suggested by Drew Adams. (Bug#10624)
4419
32fb8162
DG
44202012-09-18 Dmitry Gutov <dgutov@yandex.ru>
4421
4422 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
4423 whitespace after "end".
4424 (ruby-do-end-to-brace): Collapse block to one line if it fits
4425 within fill-column.
4426
37ab5092
MR
44272012-09-18 Martin Rudalics <rudalics@gmx.at>
4428
4429 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
4430 value.
4431 (debug): Don't remove debugger window when debugger is expected
4432 to be back.
4433
ed1f0bd3
CY
44342012-09-18 Chong Yidong <cyd@gnu.org>
4435
4436 * custom.el (defface): Doc fix.
4437
4438 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
4439
a11035b8
MB
44402012-09-18 Martin Blais <blais@furius.ca> (tiny change)
4441
4442 * progmodes/compile.el (compilation-start): Use compilation-always-kill
4443 to initialize query-on-exit; then test that instead (bug#12288).
4444
64f6a736
SM
44452012-09-17 Stefan Merten <smerten@oekonux.de>
4446
70efc5c9 4447 * textmodes/rst.el: Add support for `testcover'.
64f6a736
SM
4448 (rst-defcustom-testcover, rst-testcover-add-compose)
4449 (rst-testcover-add-1value): New functions.
4450 (rst-portable-mark-active-p): Replace by `use-region-p'.
4451 (rst-update-section, rst-classify-adornment)
4452 (rst-find-title-line): Mark `1value' forms.
4453 (rst-classify-adornment): Remove superfluous form.
4454 (rst-update-section, rst-get-adornments-around)
4455 (rst-adornment-complete-p, rst-get-next-adornment)
4456 (rst-adjust, rst-promote-region)
4457 (rst-display-adornments-hierarchy, rst-straighten-adornments)
4458 (rst-find-pfx-in-region, rst-section-tree-rec)
4459 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
4460 (rst-toc-node, rst-toc, rst-forward-section)
4461 (rst-iterate-leftmost-paragraphs)
4462 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
4463 (rst-bullet-list-region)
4464 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
4465 (rst-compile-find-conf, rst-compile)
4466 (rst-repeat-last-character): Fix style.
4467
580bd868
CY
44682012-09-17 Chong Yidong <cyd@gnu.org>
4469
4470 * comint.el (comint--complete-file-name-data): Don't add a space
4471 if the status is `sole'; that adds a gratuitous space in the
4472 completion-cycling case (Bug#12092).
4473
4474 * pcomplete.el (pcomplete-completions-at-point): Likewise.
4475
69de3ec6
RS
44762012-09-17 Richard Stallman <rms@gnu.org>
4477
0dee970c
RS
4478 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
4479 only in the mime-shown mode, not in raw mode.
4480 (rmail-mime): Toggle off mime by displaying the message without
6b250df6 4481 mime processing. (Bug#12305)
0dee970c 4482
6b250df6
GM
4483 * mail/rmail.el (rmail-retry-failure):
4484 Turn off mime processing first. (Bug#12037)
acb1c47b 4485
69de3ec6
RS
4486 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
4487
d079ee5f
CY
44882012-09-17 Chong Yidong <cyd@gnu.org>
4489
4490 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
4491 (shell-dynamic-complete-functions): Convert to defcustom.
4492 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
4493
865fe16f
CY
4494 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
4495 * comint.el (comint-prompt-read-only):
4496 * custom.el (defcustom):
4497 * hi-lock.el (hi-lock-mode):
4498 * ibuffer.el (ibuffer-formats):
4499 * ielm.el (ielm-prompt-read-only):
4500 * novice.el (disable-command):
4501 * saveplace.el (toggle-save-place):
4502 * speedbar.el (speedbar-supported-extension-expressions):
4503 * startup.el (auto-save-list-file-prefix, init-file-user)
4504 (after-init-hook, inhibit-startup-echo-area-message):
4505 * strokes.el (strokes-help):
4506 * time-stamp.el (time-stamp):
4507 * calendar/calendar.el (calendar, diary-file):
4508 * calendar/diary-lib.el (diary-mail-entries, diary)
4509 (diary-list-entries-hook):
4510 * calendar/holidays.el (holidays, calendar-holidays):
4511 * calendar/lunar.el (lunar-phases):
4512 * calendar/solar.el (sunrise-sunset):
4513 * emulation/edt.el (edt-load-keys):
4514 * emulation/viper.el (viper-mode):
4515 * eshell/em-alias.el (eshell-command-aliases-list):
4516 * eshell/esh-util.el (eshell-convert-numeric-arguments):
4517 * international/ogonek.el (ogonek-information):
4518 * net/tramp-cmds.el (tramp-bug):
4519 * net/quickurl.el (quickurl-reread-hook-postfix):
4520 * play/decipher.el (decipher-font-lock-keywords):
4521 * progmodes/cc-styles.el (c-set-style):
4522 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
4523 * progmodes/inf-lisp.el (inferior-lisp-prompt):
4524 * progmodes/octave-mod.el (octave-mode):
4525 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
4526 * progmodes/verilog-mode.el (verilog-read-defines):
4527 * textmodes/two-column.el (2C-mode): Likewise.
4528
48093eb9
KY
45292012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
4530
4531 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
4532 that holds many addresses.
4533
c584eaf9
CY
45342012-09-16 Chong Yidong <cyd@gnu.org>
4535
40d70ecb
CY
4536 * align.el (align-areas): Call the indication function with
4537 positions instead of markers for arguments (Bug#12343).
4538
1667e065
CY
4539 * files.el (parse-colon-path): Use split-string (Bug#12351).
4540
fdc2806d 4541 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
71ce58e7 4542 (display-buffer-function): Mark as obsolete.
fdc2806d 4543
f1be615c 4544 * progmodes/compile.el (compilation-parse-errors): Accept list
ce97595b
SM
4545 values similar to font-lock-keywords (Bug#12136).
4546 Suggested by Oleksandr Manzyuk.
c584eaf9
CY
4547 (compilation-error-regexp-alist): Doc fix.
4548
f40a9709
GM
45492012-09-15 Glenn Morris <rgm@gnu.org>
4550
72aa16e1
GM
4551 * version.el (emacs-bzr-version-bzr): New function.
4552 (emacs-bzr-get-version): Add optional EXTERNAL argument.
4553
82375160
GM
4554 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
4555 checkouts, check the parent dirstate matches the branch.
4556 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
4557 empty string.
4558
f40a9709
GM
4559 * version.el (emacs-bzr-version): Doc fix.
4560 (emacs-bzr-version-dirstate): New function.
4561 (emacs-bzr-get-version): For lightweight checkouts, if the parent
4562 is local try and check that it matches the branch. If not, just
4563 use dirstate information. (Bug#12441)
4564
cb26b7f5
JL
45652012-09-14 Juri Linkov <juri@jurta.org>
4566
4567 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
4568 (Bug#12399)
4569
2de39f08
SM
45702012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
4571
0fb3cb7c
SM
4572 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
4573
2de39f08
SM
4574 * emacs-lisp/edebug.el: Miscellaneous cleanup.
4575 Remove obsolete byte-compiler hack that tried to silence some warnings.
4576 (edebug-submit-bug-report): Remove.
4577 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
4578 Remove aliases, use the un-prefixed name instead.
4579 (edebug-pop-to-buffer): Consider other frames.
4580 (edebug-original-read):: Make it more obvious that it's always defined.
4581 (edebug--make-form-data-entry, edebug--form-data-name)
4582 (edebug--form-data-begin, edebug--form-data-end): Rename from the
4583 single-dashed name, and implement with cl-defstruct.
4584 (edebug-set-form-data-entry): Use the standard accessors.
4585 (edebug-make-top-form-data-entry): Use push.
4586 (edebug-no-match): Drop useless `funcall'.
4587 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
4588 to functions.
4589 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
4590 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
4591 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
4592 (easy-menu-define, with-custom-print): Remove redundant specs.
4593 (edebug-outside-overriding-local-map)
4594 (edebug-outside-overriding-terminal-local-map): Remove, unused.
4595 (edebug--display): Bind unread-command-events directly to nil rather
4596 than binding it to unread-command-events and later setting it to nil.
4597 (edebug--display): Kill edebug-eval-buffer here...
4598 (edebug--recursive-edit): ...rather than here.
4599 Bind standard-output and standard-input.
4600 (edebug-eval): Check cl-macroexpand-all is fboundp.
4601 (edebug-temp-display-freq-count): Fix last change.
4602
4603 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
4604 * subr.el (noreturn, 1value): Add `debug' spec.
4605 * emacs-lisp/advice.el: Require cl-lib.
4606 (ad-copy-tree): Remove, use copy-tree instead.
4607 (ad-dolist): Remove use dolist or cl-dolist instead.
4608 (ad-do-return): Remove, use cl-return instead.
4609 (defadvice): Add `debug' spec.
4610
5b68b333
JL
46112012-09-13 Juri Linkov <juri@jurta.org>
4612
4613 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
4614 (Bug#12399)
4615
b9800ec4
GM
46162012-09-13 Glenn Morris <rgm@gnu.org>
4617
6a2e6868
GM
4618 * calc/calc.el (math-compose-expr):
4619 * calc/calc-ext.el (math-compose-expr):
4620 * progmodes/cc-defs.el (cl-macroexpand-all):
4621 * progmodes/cc-langs.el (delete-duplicates, mapcan)
4622 (cl-macroexpand-all): Update declarations.
4623
b9800ec4
GM
4624 * vc/vc.el: No need to require ediff.
4625 (ediff-load-version-control): Declare.
4626 (ediff-vc-internal): Fix declaration.
4627 (vc-version-ediff): Require ediff.
4628
c18e885b
PE
46292012-09-13 Paul Eggert <eggert@cs.ucla.edu>
4630
4631 Use a more backwards-compatible timer format (Bug#12430).
4632 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
4633 being right after USECS, as that better supports old code that
4634 inadvisedly looked directly at the timer vector.
4635
d607d303
KH
46362012-09-13 Kenichi Handa <handa@gnu.org>
4637
4638 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
4639 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
4640 `coding-priority' property of these language environment.
4641
72eac303
PE
46422012-09-13 Paul Eggert <eggert@cs.ucla.edu>
4643
4644 Fix glitches caused by addition of psec to timers (Bug#12430).
4645 * image.el (image-animate-timer):
4646 * time.el (display-time-world-timer):
4647 Use timer--function and timer--args rather than raw access to
4648 timer vector.
4649
2168fe4f
GM
46502012-09-13 Glenn Morris <rgm@gnu.org>
4651
4652 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
4653 If not compiling a file, try using load-file-name.
4654
bd8d6108
SM
46552012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
4656
c0c54fbd
SM
4657 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
4658 Fix last change.
4659 (edebug-update-eval-list): Use `push'.
4660
bd8d6108
SM
4661 * emacs-lisp/edebug.el: Use lexical-binding.
4662 Remove the "edebug-" prefix from non-dynamically-scoped variables.
4663 Mark unused args with underscore.
4664 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
4665 (edebug-form-data): Use defvar-local.
4666 (edebug-make-before-and-after-form, edebug-make-after-form):
4667 Use backquote.
4668 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
4669 Not dynamically scoped any more.
4670 (edebug--enter-trace): Add arguments `function' and `args'.
4671 Rename from edebug-enter-trace.
4672 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
4673 (edebug--update-coverage): Add `after-index' and `value' args.
4674 Rename from edebug-update-coverage.
4675 (edebug-slow-after): Call it accordingly.
4676 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
4677 edebug-recursive-edit.
4678 (edebug--display): Call it accordingly. Add args `value',
4679 `offset-index', and `arg-mode'. Rename from edebug-display.
4680 (edebug-debugger, edebug): Call it accordingly.
4681 (edebug-eval-display-list): Use dolist.
4682
a9f9d9de
JL
46832012-09-12 Juri Linkov <juri@jurta.org>
4684
4685 * info.el (Info-search): Don't check for isearch-mode and
4686 isearch-regexp before let-binding search-spaces-regexp to
4687 Info-search-whitespace-regexp.
4688 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
4689 search-whitespace-regexp if isearch-lax-whitespace or
4690 isearch-regexp-lax-whitespace is non-nil.
4691 (Info-mode): Don't set local variable search-whitespace-regexp.
4692 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
4693
bfeae2cf
SM
46942012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
4695
4696 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
4697 (debugger-env-macro): Remove support for unread-command-char.
4698
4699 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
4700 the temporary map re-appearing on emulation-mode-map-alists.
4701
4702 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
4703 since 22.1.
4704
4705 * ehelp.el (with-electric-help): Accept functions in
4706 electric-help-form-to-execute.
4707 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
4708 And replace unread-command-char -> unread-command-events.
4709
fbbcaf1b
MA
47102012-09-12 Michael Albinus <michael.albinus@gmx.de>
4711
4712 Sync with Tramp 2.2.6.
4713
4714 * net/tramp.el (tramp-accept-process-output): Don't use
4715 JUST-THIS-ONE in the XEmacs case.
4716
4717 * net/trampver.el: Update release number.
4718
4dece104
MR
47192012-09-12 Martin Rudalics <rudalics@gmx.at>
4720
bfeae2cf
SM
4721 * emacs-lisp/debug.el (debugger-previous-window-height):
4722 New variable.
4dece104
MR
4723 (debug): When debugger-jumping-flag is non-nil try to restore
4724 height of debugger window. (Bug#8789)
4725
45b82ad0
SM
47262012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
4727
60c49c0f
SM
4728 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
4729 overriding-local-map and pre/post-command-hook here.
4730 (edebug-recursive-edit): Do it here instead (bug#12345).
4731 (edebug-outside-unread-command-char): Remove all uses of
4732 unread-command-char.
4733
45b82ad0
SM
4734 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
4735 inhibit-debugger is bound instead.
4736
baa26ea0
BG
47372012-09-11 Bastien Guerry <bzg@gnu.org>
4738
4739 * subr.el (set-temporary-overlay-map): Add a docstring.
fc0c31f8 4740 (Bug#12346)
baa26ea0 4741
04e8abfa
BG
47422012-09-11 Bastien Guerry <bzg@gnu.org>
4743
96d03571 4744 * minibuffer.el (completion-table-subvert): Fix docstring.
fc0c31f8 4745 (Bug#12347)
96d03571
BG
4746
47472012-09-11 Bastien Guerry <bzg@gnu.org>
4748
fc0c31f8 4749 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
04e8abfa 4750
04e082b0
MM
47512012-09-10 Michael R. Mauger <mmaug@yahoo.com>
4752
4753 * progmodes/sql.el: Version 3.1
4754 (sql-db2-escape-newlines): New variable.
4755 (sql-escape-newlines-filter): Use it.
4756
399a361b
JB
47572012-09-10 Juanma Barranquero <lekktu@gmail.com>
4758
4759 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
4760
0780c517
DN
47612012-09-10 Dan Nicolaescu <dann@gnu.org>
4762
45b82ad0
SM
4763 * vc/diff-mode.el (diff-mode-menu):
4764 Bind diff-remove-trailing-whitespace.
0780c517 4765
9b851e25
SM
47662012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
4767
4768 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
fc0c31f8
JB
4769 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
4770 (emacs-lisp-byte-code-mode): New functions.
9b851e25
SM
4771 (eval-sexp-add-defvars): Don't skip defvars in column >0.
4772 (eval-defun-2): Remove bogus interactive spec.
4773 (lisp-indent-line): Remove redundant whole-exp code, now done in
4774 indent-according-to-mode.
4775 (save-match-data): Remove redundant indent data.
4776
4777 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
4778 Use `declare'.
4779
3231d532
JL
47802012-09-09 Juri Linkov <juri@jurta.org>
4781
4782 * replace.el (replace-regexp-lax-whitespace): New defcustom.
4783 (replace-lax-whitespace, query-replace-regexp)
4784 (query-replace-regexp-eval, replace-regexp): Doc fix.
4785 (perform-replace, replace-highlight): Let-bind
4786 isearch-lax-whitespace to replace-lax-whitespace and
4787 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
4788
4789 * isearch.el (isearch-query-replace): Let-bind
4790 replace-lax-whitespace to isearch-lax-whitespace and
4791 replace-regexp-lax-whitespace to
4792 isearch-regexp-lax-whitespace. (Bug#10885)
4793
70fe8236
SM
47942012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
4795
4796 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
4797
8ed43f15
AM
47982012-09-09 Alan Mackenzie <acm@muc.de>
4799
70fe8236
SM
4800 * progmodes/cc-engine.el (c-state-cache-init):
4801 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
4802 (c-record-parse-state-state):
4803 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
8ed43f15 4804
bfabf70a
AS
48052012-09-09 Andreas Schwab <schwab@linux-m68k.org>
4806
4807 * register.el (register-separator): Rename from
4808 separator-register. All uses changed. Doc fix.
4809 (register): Fix version.
4810
011474aa
CY
48112012-09-09 Chong Yidong <cyd@gnu.org>
4812
4813 * replace.el (query-replace-map): Bind four new symbols for
4814 requesting window scrolling.
4815
4816 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
4817 query-replace-map (Bug#8948).
4818
4819 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
4820
4821 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
4822 since they are now in query-replace-map.
4823
4824 * window.el (scroll-other-window-down): Make the arg optional.
4825
a8b7cd8d
CY
48262012-09-09 Chong Yidong <cyd@gnu.org>
4827
4828 * files.el (hack-local-variables-confirm): Use quit-window to kill
4829 the *Local Variables* buffer.
4830
c3268831
DG
48312012-09-08 Dmitry Gutov <dgutov@yandex.ru>
4832
4833 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
4834 not just expect to be at its beginning. Adjust callees.
4835 Succeed when do-end block has no space before the pipe character.
4836 (ruby-brace-to-do-end): When the original block is one-liner,
4837 convert to multiline. Reindent the result.
4838
0979429b
J
48392012-09-08 Jambunathan K <kjambunathan@gmail.com>
4840
4841 * register.el (register): New group.
27359e99 4842 (separator-register): New user option.
0979429b
J
4843 (increment-register): Route it to `append-to-register', if
4844 register contains text. Implication is that `C-x r +' can now be
4845 used for appending to a text register (bug#12217).
4846 (append-to-register, prepend-to-register): Add separator based on
5b9c45a6 4847 `separator-register'.
0979429b 4848
ace2989a
AM
48492012-09-08 Alan Mackenzie <acm@muc.de>
4850
4851 AWK Mode: make auto-newline work when there's "==" in the pattern.
4852 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
4853 correctly.
0979429b
J
4854 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
4855 Test more rigorously for "=" token.
ace2989a 4856
616c6c36
DG
48572012-09-08 Dmitry Gutov <dgutov@yandex.ru>
4858
0979429b
J
4859 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
4860 Only fail when reached LIMIT.
616c6c36 4861
35d98877
CY
48622012-09-08 Chong Yidong <cyd@gnu.org>
4863
4864 * dired.el (dired-mode-map): Don't bind M-=.
4865
4866 * dired-aux.el (dired-diff): Use backup file as default.
4867
1715f2db
DA
48682012-09-08 Drew Adams <drew.adams@oracle.com>
4869
4870 * subr.el (add-to-history): Fix delete usage (Bug#12314).
4871
6dcef6ec
CY
48722012-09-08 Chong Yidong <cyd@gnu.org>
4873
4874 * subr.el (syntax-after, syntax-class): Doc fix.
4875
fa2bcf43
MR
48762012-09-08 Martin Rudalics <rudalics@gmx.at>
4877
4878 * window.el (display-buffer-in-previous-window): New buffer
4879 display action function.
4880
4881 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
4882 (debugger-previous-window): New variable.
4883 (debug): Rewrite using display-buffer-in-previous-window,
4884 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
4885
daac280a
SM
48862012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
4887
4888 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
4889
9dd40b00
MM
48902012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
4891
daac280a
SM
4892 * progmodes/python.el (python-shell-send-string):
4893 When default-directory is remote, create temp file on remote
9dd40b00
MM
4894 filesystem.
4895 (python-shell-send-file): When file is remote, pass local view of
4896 file paths to remote Python interpreter. (Bug#12340)
4897
145823ec
CY
48982012-09-07 Chong Yidong <cyd@gnu.org>
4899
cee2e90d
CY
4900 * window.el (switch-to-buffer): Doc fix (Bug#12181).
4901
0d7eb2ea
CY
4902 * files.el (after-find-file): Don't fail on a read-only buffer if
4903 require-final-newline is `visit' or `visit-save' (Bug#11156).
4904
145823ec
CY
4905 * subr.el (read-char-choice): Allow quitting via ESC ESC.
4906
daac280a
SM
4907 * userlock.el (ask-user-about-supersession-threat):
4908 Use read-char-choice (Bug#12093).
145823ec 4909
74c582e6
CY
49102012-09-07 Chong Yidong <cyd@gnu.org>
4911
e5c2edf7
CY
4912 * subr.el (buffer-narrowed-p): New function.
4913
4914 * ses.el (ses-widen):
4915 * simple.el (count-words--buffer-message):
1f9f395d 4916 * net/browse-url.el (browse-url-of-buffer): Use it.
e5c2edf7
CY
4917
4918 * simple.el (count-words-region): Don't signal an error if there
4919 is a non-nil prefix arg and the mark is not set.
c640e87d 4920
74c582e6
CY
4921 * help.el (describe-key-briefly): Allow the message to be seen
4922 when invoked from the minibuffer (Bug#7014).
4923
d81ceaaf
DG
49242012-09-07 Dmitry Gutov <dgutov@yandex.ru>
4925
4926 * progmodes/ruby-mode.el (ruby-end-of-defun)
4927 (ruby-beginning-of-defun): Simplify, allow indentation before
4928 block beginning and end keywords.
8f06acce
DG
4929 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
4930 (ruby-end-of-defun): Expect that the point is at the beginning of
4931 the defun.
d81ceaaf 4932
d458ef98
SM
49332012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4934
4935 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
4936 (bug#12367).
4937 (cl--make-usage-args): Strip _ from argument names.
4938
20367d28
RS
49392012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4940
4941 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
4942 obsolete alias speedbar-key-map.
4943 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
4944 (vhdl-index-menu-init): Don't use obsolete variable
4945 font-lock-maximum-size.
4946
3424a4f6
CY
49472012-09-06 Chong Yidong <cyd@gnu.org>
4948
4949 * frame.el (window-system-version): Mark as obsolete.
4950
fcbfbdea
CY
4951 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
4952 of obsolete variable speedbar-key-map.
4953
826b3235
JL
49542012-09-06 Juri Linkov <juri@jurta.org>
4955
4956 * replace.el (replace-lax-whitespace): New defcustom.
4957 (query-replace, query-replace-regexp, query-replace-regexp-eval)
4958 (replace-string, replace-regexp): Mention it in docstrings.
4959 (perform-replace, replace-highlight): Let-bind
4960 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
4961 to the values of replace-lax-whitespace and regexp-flag.
4962 Don't let-bind search-whitespace-regexp. (Bug#10885)
4963
4964 * isearch.el (isearch-query-replace): Let-bind
4965 replace-lax-whitespace instead of let-binding
4966 replace-search-function and replace-re-search-function.
4967 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
4968 and isearch-regexp-lax-whitespace to lazy-highlight variables.
4969 (isearch-toggle-symbol): Set isearch-regexp to nil
4970 in isearch-word mode (like in isearch-toggle-word).
4971
1ec5e41d
JL
49722012-09-06 Juri Linkov <juri@jurta.org>
4973
4974 * replace.el (replace-search-function)
4975 (replace-re-search-function): Set default values to nil.
4976 (perform-replace): Let-bind isearch-related variables based on
4977 replace-related values, call `isearch-search-fun' and let-bind
4978 the result to `search-function'. Remove code that sets
4979 `search-function' and `search-string' separately for
4980 `delimited-flag'.
4981 (replace-highlight): Add new argument `delimited-flag' and
4982 rename other arguments to the names used in `perform-replace'.
4983 Let-bind `isearch-word' to the argument `delimited-flag'.
4984 (Bug#10885, bug#10887)
4985
0ba2d4b6
DG
49862012-09-07 Dmitry Gutov <dgutov@yandex.ru>
4987
4988 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
4989 ruby-beginning-of-indent, simplify, allow all keywords to have
4990 indentation before them.
4991 (ruby-beginning-of-indent): Adjust for above. Search until the
4992 found point is not inside a string or comment.
4993 (ruby-font-lock-keywords): Allow symbols to start with "@"
4994 character, give them higher priority than variables.
4995 (ruby-syntax-propertize-function)
4996 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
4997 matchers. Expression expansions are not comments when inside a
4998 string, and there comment syntax status is irrelevant.
4999 (ruby-match-expression-expansion): New function. Check that
5000 expression expansion is inside a string, and it's not escaped.
5001 (ruby-font-lock-keywords): Use it.
5002
ef654460
MR
50032012-09-05 Martin Rudalics <rudalics@gmx.at>
5004
5005 * help.el (temp-buffer-max-height): New default value.
5006 (temp-buffer-resize-frames): New option.
5007 (resize-temp-buffer-window): Optionally resize frame.
5008
5009 * window.el (fit-frame-to-buffer-bottom-margin): New option.
5010 (fit-frame-to-buffer): New function.
5011
7e570fbf 50122012-09-05 Glenn Morris <rgm@gnu.org>
72308848
GM
5013
5014 * emulation/cua-rect.el (cua--init-rectangles):
5015 * textmodes/picture.el (picture-mode-map):
5016 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
5017 like forward-char and backward-char. (Bug#12317)
5018
7e570fbf 50192012-09-05 Leo Liu <sdl.web@gmail.com>
3aca1291
LL
5020
5021 * progmodes/flymake.el (flymake-warning-re): New variable.
5022 (flymake-parse-line): Use it.
5023
7e570fbf 50242012-09-05 Glenn Morris <rgm@gnu.org>
b6683353
GM
5025
5026 * calendar/holidays.el (holiday-christian-holidays):
5027 Rename an entry. (Bug#12289)
5028
7e570fbf 50292012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
64f8c4bd
SM
5030
5031 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
5032 (bug#12222).
5033
972debf2
SM
50342012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
5035
5036 * loadup.el: Load macroexp. Remove hack.
5037 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
5038 (macroexp--expand-all): Use it to get better warnings.
5039 (macroexp--backtrace, macroexp--trim-backtrace-frame)
5040 (internal-macroexpand-for-load): New functions.
5041 (macroexp--pending-eager-loads): New var.
5042 (emacs-startup-hook): New hack to replace one in loadup.el.
5043 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
5044 (cl--compiler-macro-cXXr): Move to top, before they can be used.
5045 (cl-psetf): Simplify.
5046 (cl-defstruct): Add indent rule.
5047
8ce192e3
LI
50482012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
5049
5050 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
5051 over `user-mail-address' for the SMTP MAIL FROM envelope.
5052 (smtpmail-via-smtp): Ditto.
5053
6578b4d8
DG
50542012-09-04 Dmitry Gutov <dgutov@yandex.ru>
5055
5056 * progmodes/ruby-mode.el: Clean up keybindings.
5057 (ruby-mode-map): Don't bind ruby-electric-brace,
5058 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
5059 backward-kill-word, reindent-then-newline-and-indent.
5060 (ruby-mark-defun): Remove.
5061 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
5062 (ruby-mode): Set local beginning-of-defun-function and
5063 end-of-defun-function values.
5064
c5e28e39
MR
50652012-09-03 Martin Rudalics <rudalics@gmx.at>
5066
5067 * window.el (temp-buffer-window-setup-hook)
5068 (temp-buffer-window-show-hook): New hooks.
5069 (temp-buffer-window-setup, temp-buffer-window-show)
5070 (with-temp-buffer-window): New functions.
972debf2
SM
5071 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
5072 (special-display-popup-frame): Make sure the window used shows BUFFER.
c5e28e39
MR
5073
5074 * help.el (temp-buffer-resize-mode): Fix doc-string.
5075 (resize-temp-buffer-window): New optional argument WINDOW.
5076
5077 * files.el (recover-file, save-buffers-kill-emacs):
5078 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
5079
73406194
MA
50802012-09-02 Michael Albinus <michael.albinus@gmx.de>
5081
5082 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
5083 remote definition of `default-directory', ensure we can connect.
5084
63dd1c6f
JL
50852012-09-02 Juri Linkov <juri@jurta.org>
5086
5087 Toggle whitespace matching mode with M-s SPC.
5088 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
5089
5090 * isearch.el (search-whitespace-regexp): Doc fix.
5091 Remove cons cell customization.
5092 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
5093 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
5094 New variables.
5095 (isearch-forward, isearch-forward-regexp): Doc fix.
5096 (isearch-toggle-lax-whitespace): New command.
5097 (search-forward-lax-whitespace, search-backward-lax-whitespace)
5098 (re-search-forward-lax-whitespace)
5099 (re-search-backward-lax-whitespace): New functions.
5100 (isearch-whitespace-regexp): Remove function.
5101 (isearch-query-replace): Let-bind replace-search-function and
5102 replace-re-search-function.
5103 (isearch-occur): Let-bind search-spaces-regexp according to the
5104 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
5105 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
5106 condition for C-q SPC.
5107 (isearch-search-fun-default): Use new functions mentioned above.
5108 (isearch-search-forward, isearch-search-backward): Remove functions.
5109 (isearch-search): Don't let-bind search-spaces-regexp.
5110 (isearch-lazy-highlight-space-regexp): Remove variable.
5111 (isearch-lazy-highlight-lax-whitespace)
5112 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
5113 (isearch-lazy-highlight-new-loop): Use them.
5114 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
5115
af7dda05
CY
51162012-09-02 Chong Yidong <cyd@gnu.org>
5117
5118 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
5119
d67d3afd
GM
51202012-09-02 Glenn Morris <rgm@gnu.org>
5121
5122 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
5123
69678719
GM
51242012-09-01 Glenn Morris <rgm@gnu.org>
5125
5126 * term.el: Tidy up menu definitions.
5127 (term-mode-map): Use easymenu for In/Out, Complete menus.
5128 (term-pager-break-map): Initialize in the defvar.
5129 (term-terminal-menu, term-signals-menu): Define with easymenu.
5130 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
5131 (term-pager-menu): New, extracted from term-process-pager.
5132 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
5133 (term-update-mode-line): Propertize line/char and page items.
5134 (term-process-pager): Move keymap initialization elsewhere.
5135
78dd6ab1
MR
51362012-09-01 Martin Rudalics <rudalics@gmx.at>
5137
5138 * window.el (switch-to-prev-buffer): Handle additional values of
5139 BURY-OR-KILL argument. Don't switch in minibuffer window.
5140 (switch-to-next-buffer): Don't switch in minibuffer window.
5141 (quit-restore-window): New function based on quit-window.
5142 Handle additional values of former KILL argument.
5143 (quit-window): Call quit-restore-window with appropriate
5144 interpretation of KILL argument.
5145 (display-buffer-below-selected): New buffer display action
5146 function.
5147
3d10e134
SM
51482012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
5149
5150 * minibuffer.el (completion-at-point-functions): Complete docstring
5151 (bug#12254).
5152
0e23ef9d
PE
51532012-09-01 Paul Eggert <eggert@cs.ucla.edu>
5154
5155 Better seed support for (random).
5156 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
5157 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
5158 * play/mpuz.el, play/tetris.el, play/zone.el:
5159 * calc/calc-comb.el (math-init-random-base):
5160 * play/blackbox.el (bb-init-board):
5161 * play/life.el (life):
5162 * server.el (server-use-tcp):
5163 * type-break.el (type-break):
5164 Remove unnecessary call to (random t).
5165 * net/sasl.el (sasl-unique-id-function):
5166 Change (random t) to (random), now that the latter is more random.
5167 * play/life.el (life-initialized): Remove no-longer-needed var.
5168
862382df
MR
51692012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
5170
5171 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
5172 Consider frame's buffer predicate when choosing the buffer.
5173 (Bug#12081)
5174
262a66e1
RS
51752012-08-30 Richard Stallman <rms@gnu.org>
5176
5177 * simple.el (special-mode-map): Delete binding for `z'.
5178
f17e1d00
AS
51792012-08-30 Andreas Schwab <schwab@linux-m68k.org>
5180
5181 * progmodes/compile.el (compilation-always-kill): Doc fix.
5182
24777832
CY
51832012-08-30 Chong Yidong <cyd@gnu.org>
5184
5185 * window.el (display-buffer-reuse-frames): Make the obsolescence
5186 message more informative.
5187
69ba1f04
GM
51882012-08-30 Glenn Morris <rgm@gnu.org>
5189
5190 * paren.el (show-paren-delay):
5191 Add a :set function. Doc fix. (Bug#12297)
5192
f0019ede
MB
51932012-08-29 Martin Blais <blais@furius.ca> (tiny change)
5194
5195 * progmodes/compile.el (compilation-always-kill): New var.
5196 (compilation-start): Use it.
5197
35e62fc9
SM
51982012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
5199
af070a1c
SM
5200 * simple.el (read-only-mode): Move from files.el for bootstrapping.
5201 * files.el (read-only-mode): Move to simple.el.
5202
35e62fc9
SM
5203 * files.el (read-only-mode): New minor mode.
5204 (toggle-read-only): Use it and mark obsolete.
5205 (find-file--read-only):
5206 * vc/vc.el (vc-next-action, vc-checkout):
5207 * vc/vc-cvs.el (vc-cvs-checkout):
5208 * obsolete/vc-mcvs.el (vc-mcvs-update):
5209 * ffap.el (ffap--toggle-read-only): Update callers.
5210
c2c43c23
MA
52112012-08-29 Michael Albinus <michael.albinus@gmx.de>
5212
5213 * eshell/esh-ext.el (eshell-external-command): Do not examine
972debf2
SM
5214 remote shell scripts.
5215 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
c2c43c23
MA
5216
5217 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
5218 "/usr/local/sbin".
5219
9fba804b
SM
52202012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
5221
5222 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
5223
eada0861 52242012-08-28 Leo Liu <sdl.web@gmail.com>
22ab32ef 5225
806f0cc7
LL
5226 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
5227 completion-at-point. (Bug#12220)
5228
3bb213b9
LL
5229 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
5230
22ab32ef
LL
5231 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
5232
eada0861 52332012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
db148c21 5234
19c17fc1
CY
5235 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
5236 be buffer-local; add delete-trailing-whitespace (bug#12259).
db148c21 5237
eada0861 52382012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
ffe6eaf1
JM
5239
5240 * progmodes/hideif.el (hif-compress-define-list):
5241 Fix typo. (Bug#11951)
5242
eada0861 52432012-08-28 Dan Nicolaescu <dann@gnu.org>
d30aca1b
DN
5244
5245 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
5246 buffer local setting.
5247
27d6c5a8
LL
5248 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
5249 rcirc-encode-coding-system.
5250
eada0861 52512012-08-28 Leo Liu <sdl.web@gmail.com>
4432d2e2
LL
5252
5253 * net/rcirc.el (rcirc-split-message): New function.
5254 (rcirc-send-message): Use it. (Bug#12051)
5255
d44688e4
JL
52562012-08-28 Juri Linkov <juri@jurta.org>
5257
5258 * info.el (Info-fontify-node): Hide empty lines at the end of
5259 the node. (Bug#12272)
5260
34f10d41
MR
52612012-08-27 Drew Adams <drew.adams@oracle.com>
5262
5263 * dired.el (dired-pop-to-buffer): Make window start at beginning
5264 of buffer (Bug#12281).
5265
77f1f99c
CY
52662012-08-26 Chong Yidong <cyd@gnu.org>
5267
5268 * window.el (special-display-regexps, special-display-frame-alist)
5269 (special-display-buffer-names, special-display-function)
5270 (display-buffer-reuse-frames): Mark as obsolete.
5271
5272 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
5273
5274 * help.el (help-print-return-message): Don't treat
5275 display-buffer-reuse-frames specially.
5276
d97af5a0
CY
52772012-08-26 Chong Yidong <cyd@gnu.org>
5278
9fba804b
SM
5279 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
5280 New variable, replacing gdb-frame-parameters.
d97af5a0
CY
5281 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
5282 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
5283 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
5284 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
5285 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
5286 the functions directly with gdb-display-buffer-other-frame-action.
5287 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
5288 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
5289 (gdb-display-stack-buffer, gdb-display-locals-buffer)
5290 (gdb-display-registers-buffer): Define directly.
5291 (def-gdb-display-buffer): Macro deleted.
5292 (gdb-display-buffer): Remove second and third args, callers don't
5293 use them. Defer to the default display-buffer behavior, apart
5294 from making windows dedicated.
5295 (gdb-setup-windows): Don't call display-buffer unnecessarily.
5296
5297 * progmodes/gud.el (gud-display-line): Just use display-buffer.
5298
5299 * window.el (display-buffer-pop-up-frame): Handle a
5300 pop-up-frame-parameters alist entry.
5301 (display-buffer): Document it.
5302
dd7ffad6
CY
53032012-08-26 Chong Yidong <cyd@gnu.org>
5304
5305 * isearch.el (search-whitespace-regexp): Make string and nil
5306 values apply to both ordinary and regexp search. Allow a cons
5307 cell value to distinguish between the two.
5308 (isearch-whitespace-regexp, isearch-search-forward)
5309 (isearch-search-backward): New functions.
5310 (isearch-occur, isearch-search-fun-default, isearch-search)
5311 (isearch-lazy-highlight-new-loop): Use them.
5312 (isearch-forward, isearch-forward-regexp): Doc fix.
5313
4c47bd1e
CY
53142012-08-26 Chong Yidong <cyd@gnu.org>
5315
5316 * faces.el (help-argument-name): Always inherit from italic
5317 (Bug#12213).
5318
9aba119d
MR
53192012-08-25 Martin Rudalics <rudalics@gmx.at>
5320
5321 * window.el (window--even-window-heights): Even heights when
5322 WINDOW and the selected window form a vertical combination.
5323 (display-buffer-use-some-window): Provide that window used gets
5324 sized back by quit-window. (Bug#11880) and (Bug#12091)
5325
ca5256ad
PE
53262012-08-24 Paul Eggert <eggert@cs.ucla.edu>
5327
5328 Fix file time stamp problem with bzr and CVS (Bug#12001).
5329 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
5330 in the file's time stamp, since the version control system loses
5331 that information.
5332
d1c0d176
JL
53332012-08-22 Juri Linkov <juri@jurta.org>
5334
5335 * info.el (Info-fontify-node): Hide the suffix of the
5336 Info file name in the header line. (Bug#12187)
5337
141562ff
GM
53382012-08-22 Glenn Morris <rgm@gnu.org>
5339
5340 * calendar/cal-tex.el (cal-tex-weekly-common):
5341 Restore leading blank page.
5342
3a21537c 53432012-08-22 Le Wang <l26wang@gmail.com>
add9ca2d
BG
5344
5345 * misc.el (forward-to-word, backward-to-word): Activate or extend
61a48e19
GM
5346 the region under `shift-select-mode'. (Bug#12231)
5347
53482012-08-22 Bastien Guerry <bzg@gnu.org>
0fcd3d9f
BG
5349
5350 * progmodes/executable.el (executable-prefix): Set to "#!" instead
5351 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
5352 gives details on why the space is never needed.
5353
ea95074e
MR
53542012-08-22 Martin Rudalics <rudalics@gmx.at>
5355
9fba804b
SM
5356 * window.el (walk-window-tree, window-with-parameter):
5357 New optional argument MINIBUF to control whether these functions
ea95074e
MR
5358 should run on the minibuffer window.
5359 (window-at-side-list): Don't operate on minibuffer window.
5360 (window-in-direction): Simplify and rewrite doc-string.
9fba804b
SM
5361 (window--size-ignore): Rename to window--size-ignore-p.
5362 Update callers.
caceae25
MR
5363 (display-buffer-in-atom-window, window--major-non-side-window)
5364 (window--major-side-window, display-buffer-in-major-side-window)
9fba804b
SM
5365 (delete-side-window, display-buffer-in-side-window):
5366 New functions.
caceae25
MR
5367 (window--side-check, window-deletable-p, delete-window)
5368 (delete-other-windows, split-window): Handle side windows and
5369 atomic windows appropriately.
5370 (window--display-buffer): Call display-buffer-record-window also
5371 when the window buffer did not change.
ea95074e 5372
80a51fa0
CS
53732012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
5374
5375 * help-fns.el (help-fns--key-bindings):
5376 Abbreviate non-symbol remap targets. (Bug#12174)
5377
fbb6300b
MR
53782012-08-22 Martin Rudalics <rudalics@gmx.at>
5379
5380 * dired.el (dired-mark-remembered): Don't clobber point.
5381 (Bug#11795)
5382
2b2c0794
GM
53832012-08-22 Glenn Morris <rgm@gnu.org>
5384
5385 * progmodes/bug-reference.el (bug-reference): New custom group.
5386 (bug-reference-bug-regexp): Make it a defcustom.
5387
37219830
DU
53882012-08-22 Daiki Ueno <ueno@unixuser.org>
5389
5390 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
5391 (js-paren-indent-offset, js-square-indent-offset)
5392 (js-curly-indent-offset): Add :safe (Bug#12257).
5393
94e0e559
EC
53942012-08-22 Edward O'Connor <hober0@gmail.com>
5395
5396 * json.el (json-key-format): Add error properties.
5397 (json-encode-key): New function.
5398 (json-encode-hash-table, json-encode-alist, json-encode-plist):
5399 Use json-encode-key.
5400
da485f5e
GM
54012012-08-22 Glenn Morris <rgm@gnu.org>
5402
5403 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
5404 (cal-tex-leftday, cal-tex-rightday): Remove functions.
5405 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
5406 Update for above change.
5407
c6cc78b8
AS
54082012-08-21 Andreas Schwab <schwab@linux-m68k.org>
5409
5410 * cus-face.el (custom-face-attributes): Fix customize type for the
5411 :underline attribute. (Bug#11805)
5412
5481664a
MR
54132012-08-21 Martin Rudalics <rudalics@gmx.at>
5414
5415 * window.el (window-point-1, set-window-point-1): Remove.
5416 (window-in-direction, record-window-buffer)
5417 (set-window-buffer-start-and-point, split-window-below)
9fba804b
SM
5418 (window--state-get-1, display-buffer-record-window):
5419 Replace calls to window-point-1 and set-window-point-1 by calls to
5481664a
MR
5420 window-point and set-window-point respectively.
5421
6d74698e
GM
54222012-08-21 Glenn Morris <rgm@gnu.org>
5423
b7fa2691
GM
5424 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
5425 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
5426 Use it.
5427
52f56d5a
GM
5428 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
5429 (cal-tex-shortday): New function.
5430 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
5431 (cal-tex-cursor-filofax-daily): Use the above.
5432
9f1ee09e
GM
5433 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
5434 New functions.
5435 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
5436 (cal-tex-cursor-filofax-week): Use them.
5437
79858159
GM
5438 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
5439 New constants.
5440 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
5441 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
5442
d346b2b4
GM
5443 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
5444 (cal-tex-end-document): Don't rely on buffer name.
5445
b2403709
GM
5446 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
5447 Use cal-tex-vspace.
5448 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
5449 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
2d225a3a
GM
5450 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
5451 Use cal-tex-arg.
b2403709 5452
1cebb5c0
GM
5453 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
5454 (cal-tex-cursor-week, cal-tex-cursor-week2)
5455 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
5456 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
5457 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
5458 (cal-tex-insert-preamble, cal-tex-b-document)
5459 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
5460 Improve cal-tex-cmd usage.
5461
c68cd5d4
GM
5462 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
5463 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
5464 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
5465 (cal-tex-weekly-paper): New function.
5466 (cal-tex-cursor-week, cal-tex-cursor-week2)
5467 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
5468 (cal-tex-cursor-day): Use it.
5469
9dca4801
GM
5470 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
5471 (cal-tex-cursor-filofax-week): Remove leading blank page.
5472
1941e134
GM
5473 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
5474 Add autoload cookie. For now at least, don't use color, since
5475 no other cal-tex function does.
5476
6d74698e
GM
5477 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
5478 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
5479 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
5480
64cde199
JL
54812012-08-21 Juri Linkov <juri@jurta.org>
5482
5483 * info.el (Info-file-attributes): New variable.
5484 (info-insert-file-contents): Add file attributes to
5485 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
5486 `Info-toc-nodes' when previous modtime of the Info file is less
5487 than new modtime.
5488 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
5489 of info.el. (Bug#12230)
5490
32757648
GM
54912012-08-20 Glenn Morris <rgm@gnu.org>
5492
5493 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
5494 * calendar/holidays.el (calendar-holiday-list):
5495 Report errors with display-warning rather than beep'n'sleep.
5496
a32fbbcf
MA
54972012-08-20 Michael Albinus <michael.albinus@gmx.de>
5498
5499 * net/tramp.el (tramp-accept-process-output): Accept only output
5500 from PROC. Otherwise, process filters and sentinels might be
5501 confused. (Bug#12145)
5502
a05731a0
CY
55032012-08-20 Chong Yidong <cyd@gnu.org>
5504
5505 * descr-text.el (describe-text-properties-1): Use overlays-in to
5506 report on empty overlays (Bug#3322).
5507
36e8d1eb
GM
55082012-08-20 Glenn Morris <rgm@gnu.org>
5509
3d300447
GM
5510 * mail/rmailout.el (rmail-output-read-file-name):
5511 Trap and report errors in rmail-output-file-alist elements.
5512
36e8d1eb
GM
5513 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
5514 since most non-font-lock faces are not also variables).
5515
b96e5814
ER
55162012-08-20 Edward Reingold <reingold@iit.edu>
5517
5518 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
5519 New function. (Bug12160)
5520
7cef3569
GM
55212012-08-19 Glenn Morris <rgm@gnu.org>
5522
5523 * mail/rmailout.el (rmail-output-read-file-name):
5524 Fix previous change (when the alist is nil or does not match).
5525
17975d7f
CY
55262012-08-19 Chong Yidong <cyd@gnu.org>
5527
5528 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
5529 (Bug#12228).
5530
2170b1bd
CY
55312012-08-18 Chong Yidong <cyd@gnu.org>
5532
5533 * simple.el (yank-handled-properties): New defcustom.
5534 (yank-excluded-properties): Add font-lock-face and category.
5535 (yank): Doc fix.
5536
9fba804b
SM
5537 * subr.el (remove-yank-excluded-properties):
5538 Obey yank-handled-properties. The special handling of font-lock-face
2170b1bd
CY
5539 and category is now done this way, instead of being hard-coded.
5540 (insert-for-yank-1): Remove font-lock-face handling.
5541 (yank-handle-font-lock-face-property)
5542 (yank-handle-category-property): New function.
5543
ee218151
GM
55442012-08-17 Glenn Morris <rgm@gnu.org>
5545
5546 * mail/rmailout.el (rmail-output-read-file-name):
5547 Check rmail-output-file-alist against the full message body
5548 in the correct rmail buffer. (Bug#12214)
5549
4a6bc3fd
MA
55502012-08-17 Michael Albinus <michael.albinus@gmx.de>
5551
9fba804b
SM
5552 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
5553 Eliminate superfluous prompt. (Bug#12203)
4a6bc3fd 5554
383dcbf9
CY
55552012-08-17 Chong Yidong <cyd@gnu.org>
5556
5557 * mouse.el (mouse-appearance-menu): If x-select-font returns a
5558 font spec, set the font directly (Bug#3228).
5559
998c4a6a
MR
55602012-08-17 Martin Rudalics <rudalics@gmx.at>
5561
5562 * window.el (delete-window): Fix last fix.
5563
52162052
MR
55642012-08-16 Martin Rudalics <rudalics@gmx.at>
5565
5566 * window.el (window-valid-p): Move to window.c.
85c2386b
MR
5567 (window-child, window-child-count, window-last-child)
5568 (window-normalize-window, window-combined-p)
5569 (window-combinations, window-atom-root, window-min-size)
5570 (window-sizable, window-sizable-p, window-size-fixed-p)
5571 (window-min-delta, window-max-delta, window--resizable)
5572 (window--resizable-p, window-resizable, window-total-size)
5573 (window-full-height-p, window-full-width-p, window-body-size)
5574 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
5575 (minimize-window, window-deletable-p, delete-window)
5576 (delete-other-windows, set-window-buffer-start-and-point)
5577 (next-buffer, previous-buffer, split-window, balance-windows-2)
5578 (set-window-text-height, window-buffer-height)
5579 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
9fba804b
SM
5580 (truncated-partial-width-window-p): Minor code adjustments.
5581 In doc-strings state whether the argument window has to denote a
85c2386b 5582 live, valid or any window.
52162052 5583
1c308380
PS
55842012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
5585
5586 * progmodes/subword.el (subword-forward-function)
5587 (subword-backward-function, subword-forward-regexp)
5588 (subword-backward-regexp): New variables.
5589 (subword-forward, subword-forward-internal, subword-backward-internal):
5590 Use new variables, eg so that different "word" definitions
5591 can be easily used. (Bug#11411)
5592
94c9ece1
SM
55932012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
5594
5595 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
5596 for composite selectors.
5597 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
5598 operation just because we can't find a previous revision.
5599
f2045622
CY
56002012-08-15 Chong Yidong <cyd@gnu.org>
5601
5602 * frame.el (set-frame-font): Accept font objects.
5603
582db660
SM
56042012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
5605
5606 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
5607
2f29c200
WJ
56082012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
5609
456e62c2
WJ
5610 * man.el (Man-overstrike-face, Man-underline-face)
5611 (Man-reverse-face): Remove variables.
5612 (Man-overstrike, Man-underline, Man-reverse): New faces.
5613 (Man-fontify-manpage): Use them instead of the variables.
5614 (Man-cleanup-manpage): Comment change.
5615 (Man-ansi-color-map): New variable.
5616 (Man-fontify-manpage): Use it.
5617 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
5618
2f29c200
WJ
5619 Implement ANSI SGR parameters 22-27 (bug#12146).
5620 * ansi-color.el (ansi-colors): Doc fix.
5621 (ansi-color-context, ansi-color-context-region): Doc fix.
5622 (ansi-color--find-face): New function.
5623 (ansi-color-apply, ansi-color-apply-on-region): Use it.
5624 Rename the local variable `face' to `codes' since it is now a list of
5625 ansi codes. Doc fix.
5626 (ansi-color-get-face): Remove.
5627 (ansi-color-parse-sequence): New function, derived from
5628 ansi-color-get-face.
5629 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
5630 codes 22-27.
5631
b4f5e9df
SM
56322012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
5633
5634 * subr.el (read-passwd): Allow use from a minibuffer.
5635
ba025fbd
EZ
56362012-08-14 Eli Zaretskii <eliz@gnu.org>
5637
5638 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
5639 inside comments and strings as identifiers.
5640
5641 * progmodes/gud.el (gud-tooltip-print-command): Quote the
5642 expression to evaluate. This allows to evaluate expressions with
5643 embedded whitespace.
5644 (gud-tooltip-tips): Add a blank before the newline in the
5645 message-box text, for the benefit of message-box emulation on
5646 MS-Windows.
5647
5648 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
5649 messages from GDB, pop them up in a tooltip to give feedback to
5650 user.
b4f5e9df
SM
5651 (gdb-tooltip-print-1): Quote the expression to evaluate.
5652 This allows to evaluate expressions with embedded whitespace.
ba025fbd
EZ
5653 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
5654 if the TTY name is nil or empty (which happens when communicating
5655 with the inferior via pipes, e.g. on MS-Windows).
5656 (gdb-internals): If GDB sends a "&\n" empty debugging message,
5657 don't send that to the GUD buffer.
5658
c548f821
GM
56592012-08-14 Glenn Morris <rgm@gnu.org>
5660
5661 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
5662 Optimize away setq-default with no args, as for setq. (Bug#12195)
5663
55802e4a
CY
56642012-08-14 Chong Yidong <cyd@gnu.org>
5665
4abcdac8
CY
5666 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
5667
55802e4a
CY
5668 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
5669 (Bug#12085).
5670
3c3cda1a
GM
56712012-08-14 Glenn Morris <rgm@gnu.org>
5672
5673 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
5674
e1873bd0
MA
56752012-08-14 Michael Albinus <michael.albinus@gmx.de>
5676
5677 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
5678 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
5679 Use cached shell name.
5680
925411b4
FEG
56812012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
5682
5683 * progmodes/python.el (python-shell-send-string):
3c3cda1a 5684 (python-shell-send-setup-code): Do not use `format' with `message'.
925411b4 5685
e636fafe
DG
56862012-08-14 Dmitry Gutov <dgutov@yandex.ru>
5687
5688 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
5689 (ruby-percent-literal-beg-re): New constant.
5690 (ruby-syntax-general-delimiters-goto-beg): Rename to
5691 `ruby-syntax-enclosing-percent-literal', improve literal type check.
5692 (ruby-syntax-propertize-general-delimiters): Rename to
5693 `ruby-syntax-propertize-percent-literal', it's a shorter and more
5694 popular term. Adjust comments everywhere.
5695 (ruby-syntax-propertize-percent-literal): Only propertize when not
5696 inside a simple string or comment. When the literal is unclosed,
5697 leave the text after it unpropertized.
f063063a
DG
5698 (ruby-syntax-methods-before-regexp): New constant.
5699 (ruby-syntax-propertize-function): Use it to recognize regexps.
5700 Don't look at the text after regexp, just use the whitelist.
e636fafe 5701
e5b19827
AS
57022012-08-14 Andreas Schwab <schwab@linux-m68k.org>
5703
5704 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
5705 non-nil always load the compiled file if it exists. (Bug#12197)
5706
a9f6f311
CY
57072012-08-14 Chong Yidong <cyd@gnu.org>
5708
5709 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
5710 (hi-lock-set-pattern): When deciding whether to use font lock or
5711 overlays, look at font-lock-mode instead of font-lock-fontified
5712 (Bug#12168).
5713 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
5714 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
5715
7d806b1e
DU
57162012-08-14 Daiki Ueno <ueno@unixuser.org>
5717
5718 * subr.el (internal--after-with-selected-window): Fix typo
5719 (Bug#12193).
5720
5beed586
FEG
57212012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
5722
5723 Use `completion-table-dynamic' for completion functions.
5724 * progmodes/python.el
5725 (python-shell-completion--do-completion-at-point)
e636fafe
DG
5726 (python-shell-completion--get-completions):
5727 Remove functions.
5beed586
FEG
5728 (python-shell-completion-complete-at-point): New function.
5729 (python-completion-complete-at-point): Use it.
5730
92cb3b04
J
57312012-08-13 Jambunathan K <kjambunathan@gmail.com>
5732
5733 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
5734 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
5735
89660017
SM
57362012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
5737
3c98c962
SM
5738 * subr.el (function-get): Refine `autoload' arg so it can also
5739 autoload functions for gv.el (bug#12191).
5740 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
5741 autoloads macros.
5742
aa7c6dbe
SM
5743 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
5744 Prefer pcase-let over destructuring-bind.
5745 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
5746 Also, remove whitespace as we go, rather than after accumulating the
5747 various places.
5748
89660017
SM
5749 * subr.el (internal--before-with-selected-window)
5750 (internal--after-with-selected-window): Fix typo seleted->selected.
5751 (with-selected-window): Adjust callers.
5752 Reported by Dmitry Gutov <dgutov@yandex.ru>.
5753
31cd32c9
BG
57542012-08-13 Bastien Guerry <bzg@gnu.org>
5755
0fcd3d9f 5756 * window.el (special-display-popup-frame): Minor docstring
31cd32c9
BG
5757 enhancement. (Bug#12172)
5758
1b15d8ad
AS
57592012-08-13 Andreas Schwab <schwab@linux-m68k.org>
5760
31e54db0
AS
5761 * tar-mode.el (tar-header-data-end): Only ignore size for files of
5762 type 1-6.
5763 (tar-header-block-summarize, tar-get-descriptor): Handle pax
5764 extended headers.
5765
1b15d8ad
AS
5766 * files.el (hack-local-variables-filter): Remove useless eval.
5767
35cb9c06
MR
57682012-08-13 Martin Rudalics <rudalics@gmx.at>
5769
5770 * subr.el (with-selected-window): Fix last change.
5771
1439443b
SM
57722012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
5773
5774 * subr.el (internal--before-with-seleted-window)
5775 (internal--after-with-seleted-window): New functions.
1b15d8ad
AS
5776 (with-selected-window): Use them, to replace dependency on
5777 tty-top-frame.
1439443b 5778
0d9e2599
NN
57792012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
5780
5781 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
5782 binding for `newline'.
5783 (ruby-move-to-block): When moving backward, stop at block opening,
5784 not indentation.
5785 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
5786 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
5787 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
5788 `ruby-toggle-block'.
5789
ba10c48c
SM
57902012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
5791
5792 * ibuffer.el (ibuffer-do-toggle-read-only):
5793 * dired.el (dired-toggle-read-only):
5794 * buff-menu.el (Buffer-menu-toggle-read-only):
5795 * bindings.el (mode-line-toggle-read-only):
5796 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
5797
9229c658
AS
57982012-08-12 Andreas Schwab <schwab@linux-m68k.org>
5799
5800 * descr-text.el (describe-char): Put the overlays over the
5801 "displayed as" character.
5802
0fd09128
JB
58032012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
5804
5805 * calc/calc-units.el (math-default-units-table): Give an
5806 initial value.
5807 (math-put-default-units): Add options to put composite units and
5808 unit systems in the default units table.
5809 (calc-convert-units): Send composite units to
5810 `math-put-default-units' when appropriate.
5811
9ff9402d 58122012-08-11 Glenn Morris <rgm@gnu.org>
7aacaf15 5813
fbb5e336
GM
5814 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
5815
7aacaf15
GM
5816 * tutorial.el (help-with-tutorial):
5817 * emacs-lisp/copyright.el (copyright-update-directory):
5818 * emacs-lisp/autoload.el (autoload-find-generated-file)
5819 (autoload-find-file): Disable local eval: (for insurance).
5820
f40b9f10
GM
5821 * files.el (hack-local-variables-filter): If an eval: form is not
5822 known to be safe, and enable-local-variables is :safe, then ignore
5823 the form totally, as is done for non-eval forms. (Bug#12155)
6f97980a 5824 This is CVE-2012-3479.
f40b9f10 5825
daa9f1a6
SM
58262012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
5827
5828 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
5829 (rx-form): Simplify.
5830
9cd80478
DG
58312012-08-09 Dmitry Gutov <dgutov@yandex.ru>
5832
0d9e2599
NN
5833 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
5834 ?, _, and : are symbol constituents, ! is not (but kinda should be).
5835 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
5836 (ruby-syntax-propertize-function): Adjust for changes in
5837 `ruby-syntax-propertize-heredoc'.
5838
58392012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
5840
9cd80478
DG
5841 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
5842 binding (use `M-;' instead).
9cd80478 5843 (ruby-singleton-class-p): New function.
0d9e2599 5844 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
9cd80478 5845
d301b413
SM
58462012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
5847
5848 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
5849
1530c98e
CY
58502012-08-10 Chong Yidong <cyd@gnu.org>
5851
5852 * progmodes/python.el (python-shell-get-process-name): Don't mess
5853 with same-window-buffer-names.
5854
5855 * eshell/eshell.el (eshell-add-to-window-buffer-names)
5856 (eshell-remove-from-window-buffer-names): Make obsolete.
5857 (eshell-buffer-name, eshell-unload-hook): Don't use them.
5858 (eshell): Just use pop-to-buffer-same-window instead.
5859
e1293765
CY
58602012-08-10 Chong Yidong <cyd@gnu.org>
5861
5862 * bindings.el: Bind M-= back to count-words-region.
5863
5864 * simple.el (count-words-region): Accept a prefix arg for acting
5865 on the entire buffer.
5866 (count-words--buffer-message): New helper function.
5867
e1894109
SM
58682012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
5869
5870 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
5871 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
5872 (event-start, event-end): Use posn-at-point to return a more
5873 informative posn.
5874 (posnp): New function.
5875 * mouse.el (popup-menu-normalize-position): Use it.
5876
c69f56a2
MY
58772012-08-10 Masatake YAMATO <yamato@redhat.com>
5878
5879 * mouse.el (popup-menu-normalize-position): New function.
5880 (popup-menu): Use `popup-menu-normalize-position' to normalize
5881 the form for POSITION argument.
5882
5883 * term/x-win.el (x-menu-bar-open):
5884 Use the value returend from (posn-at-point) as position
5885 passed to `popup-menu'.
5886
31673780
JB
58872012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
5888
5889 * calc/calccomp.el (math-compose-expr): Add extra argument
5890 indicating that parentheses should be put around products in
5891 denominators. Give multiplication precedence over division during
5892 composition.
5893
dab7711b
CY
58942012-08-09 Chong Yidong <cyd@gnu.org>
5895
dee4ef93
CY
5896 * man.el (Man-switches, Man-sed-command, Man-awk-command)
5897 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
5898 (Man-untabify-command, manual-program): Convert to defcustom
5899 (Bug#10429).
5900
73e2bbc5
CY
5901 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
5902
3e861c8a
CY
5903 * descr-text.el (describe-char): Don't insert extra newlines
5904 (Bug#10127).
5905
a9f5a649
CY
5906 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
5907 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
5908
dab7711b
CY
5909 * align.el (align-region): Delete temporary markers (Bug#10047).
5910 Plus some code cleanups.
5911
e0cc4efa
FEG
59122012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
5913
5914 * progmodes/python.el (python-pdbtrack-tracked-buffer)
5915 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
5916 (python-shell-internal-last-output): Use make-local-variable
5917 instead of make-variable-buffer-local.
5918
489af14f
FEG
59192012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
5920
5921 * progmodes/python.el: Enhancements to forward-sexp.
5922 (python-nav-forward-sexp): Rename from
5923 python-nav-forward-sexp-function.
c69f56a2
MY
5924 (python-nav--forward-sexp, python-nav--backward-sexp):
5925 New functions.
489af14f 5926
0fc50303
JB
59272012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
5928
5929 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
5930 modes and simplification modes.
5931
5d65606a
SM
59322012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
5933
5934 * delsel.el (delete-selection-pre-hook): Don't propagate the
5935 file-supersession signals (bug#12161).
5936
4250fdf5
SM
59372012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
5938
5939 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
5940 (cl-map-extents): Add compatibility aliases (bug#12135).
5941
d9f9b465
MA
59422012-08-08 Michael Albinus <michael.albinus@gmx.de>
5943
5944 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
5945 tests by `ignore-error'.
5946 (tramp-find-shell): Open also a new shell, when cache is already
5947 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
5948
ce0fcefa
JL
59492012-08-08 Juri Linkov <juri@jurta.org>
5950
5951 * bookmark.el: Add `defaults' property to the bookmark record.
5952 (bookmark-current-buffer): Doc fix.
5953 (bookmark-make-record): Add `defaults' property with default values
5954 to the bookmark record.
5955 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
5956 with `bookmark-insert-current-bookmark'.
5957 (bookmark-set): Get `defaults' property from the bookmark record
5958 and use it in `read-from-minibuffer'.
5959 (bookmark-insert-current-bookmark): Remove function.
5960
5961 * info.el (Info-bookmark-make-record): Add `defaults' property
5962 with values of canonical Info node name, the current Info file
5963 name and the current Info node name. (Bug#12107)
5964
53fa8652
JL
59652012-08-08 Juri Linkov <juri@jurta.org>
5966
5967 * files.el (basic-save-buffer): Use `buffer-name' as the default
5968 of `read-file-name' when buffer is not visiting a file (bug#12128).
5969
242c0a95
JL
59702012-08-08 Juri Linkov <juri@jurta.org>
5971
5972 * info.el (Info-isearch-search): Doc fix.
5973 (Info-search): Change search-failed message from "initial node" to
5974 "end of node" (bug#12078).
5975 (Info-isearch-search): Change `isearch-string-state' to
5976 `isearch--state-string'.
5977
32ac3a6b
GM
59782012-08-08 Glenn Morris <rgm@gnu.org>
5979
5980 * language/persian.el: Remove file.
f8c1afd5 5981 * language/misc-lang.el: Move unique part of persian.el here.
32ac3a6b
GM
5982 * loadup.el: Remove language/persian.
5983
2c2d9c9c
OF
59842012-08-08 Óscar Fuentes <ofv@wanadoo.es>
5985
5986 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
5987
2d79ec42
FEG
59882012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
5989
3c855b96 5990 * progmodes/python.el: Fix defsubst warning.
2d79ec42
FEG
5991 (python-syntax-context) Rename from python-info-ppss-context.
5992 (python-syntax-context-type): Rename from
5993 python-info-ppss-context-type.
5994 (python-syntax-comment-or-string-p): Rename from
5995 python-info-ppss-comment-or-string-p.
5996
2bd255dd
JB
59972012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
5998
5999 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
6000
c395097f
AS
60012012-08-07 Andreas Schwab <schwab@linux-m68k.org>
6002
6125983e
AS
6003 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
6004 a defcustom that is quoted with backquote.
6005
4250fdf5
SM
6006 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
6007 Fix handling of interactive spec when the body uses return.
651eaf36
AS
6008 (math-do-arg-check, math-define-function-body): Use backquote forms.
6009 * calc/calc-ext.el (math-defcache): Likewise.
6010 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
6011 * allout.el (allout-new-exposure): Likewise.
6012 * calc/calcalg2.el (math-tracing-integral): Likewise.
6013 * info.el (Info-last-menu-item): Likewise.
6014 * emulation/vip.el (vip-loop): Likewise.
6015 * textmodes/artist.el (artist-funcall): Likewise.
6016 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
6017 Construct menu-item directly.
6018
4250fdf5
SM
6019 * progmodes/autoconf.el (font-lock-syntactic-keywords):
6020 Don't declare.
c395097f 6021
5fb50dd3
CY
60222012-08-07 Chong Yidong <cyd@gnu.org>
6023
6024 * simple.el (deactivate-mark): Preserve text properties when
6025 saving the primary selection (Bug#8384).
6026
54eea618
KR
60272012-08-07 Kevin Ryde <user42@zip.com.au>
6028
6029 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
6030 (woman-parse-numeric-value): On a bad .IP line, issue a warning
6031 and continue processing (Bug#12110).
6032
638eaeb9
SM
60332012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
6034
6035 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
6036 syntax-propertize-function (bug#10095).
6037
ea376861
SM
60382012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
6039
f91b35be
SM
6040 * help-fns.el (help-fns--key-bindings, help-fns--signature)
6041 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
6042 describe-function-1.
6043 (describe-function-1): Use them. Move compiler macro after sig.
6044 (help-fns--compiler-macro): Use function-get. Assume we're already in
6045 standard-output. Adjust layout to new call order.
6046
ea376861
SM
6047 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
6048 re-binding a symbol that has a symbol-macro (bug#12119).
6049
d5be7bd0
MB
60502012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
6051
6052 * language/persian.el: New file. (Bug#11812)
6053 * loadup.el: Add language/persian.el.
6054
90749b53
CY
60552012-08-06 Chong Yidong <cyd@gnu.org>
6056
6057 * window.el (window--maybe-raise-frame): New function.
6058 (window--display-buffer): Split off from here.
6059 (display-buffer-reuse-window, display-buffer-pop-up-frame)
6060 (display-buffer-pop-up-window, display-buffer-use-some-window):
6061 Obey an inhibit-switch-frame action alist entry.
6062 (display-buffer): Update doc.
6063
6064 * replace.el (occur-after-change-function): Avoid losing focus by
6065 using the inhibit-switch-frame display parameter (Bug#12139).
6066
ba7b0154
FEG
60672012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
6068
6069 Make internal shell process buffer names start with space.
6070 * progmodes/python.el (python-shell-make-comint): Add optional
6071 argument INTERNAL.
6072 (run-python-internal): Use it.
6073 (python-shell-internal-get-or-create-process): Check for new
6074 internal buffer names.
6075
5eaeacb5
GM
60762012-08-06 Glenn Morris <rgm@gnu.org>
6077
e296d94b 6078 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
5eaeacb5
GM
6079 Do less getting and setting of environment variables.
6080
b7ccbdc2
CY
60812012-08-05 Chong Yidong <cyd@gnu.org>
6082
777fe95e
CY
6083 * proced.el (proced): Add substitution string to docstring to
6084 trigger autoloading of the proced library on C-h f (Bug#1768).
6085
4250fdf5
SM
6086 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
6087 Don't show defvars which have no second argument (Bug#8638).
b7ccbdc2
CY
6088
6089 * imenu.el (imenu-generic-expression): Move documentation here
6090 from imenu--generic-function.
6091 (imenu--generic-function): Refer to imenu-generic-expression.
6092
9e3b7800 60932012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
d5c31f1d
6094
6095 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
6096 indentation declaration.
6097 (viper-loop): Add indentation declaration (Bug#7025).
6098
e5d9c0d1
CY
60992012-08-05 Chong Yidong <cyd@gnu.org>
6100
f0422feb
CY
6101 * help-fns.el (describe-variable): Add hyperlink for
6102 directory-local variables files. Improve buffer-local and
6103 permanent-local reporting; suggested by MON KEY (Bug#6644).
6104
6105 * help-mode.el (help-dir-local-var-def): New button type.
6106
e5d9c0d1
CY
6107 * files.el (kill-buffer-hook): Provide a defvar.
6108
a4f2deaa
GM
61092012-08-05 Glenn Morris <rgm@gnu.org>
6110
6111 * eshell/esh-ext.el (eshell/addpath):
6112 Also update eshell-path-env. (Bug#12013)
6113
a9dd5754
CY
61142012-08-05 Chong Yidong <cyd@gnu.org>
6115
a4f2deaa 6116 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
615b0bf0 6117
d014c740
CY
6118 * fringe.el (fringe-styles): Add docstring.
6119 (fringe--check-mode): New function.
6120 (set-fringe-mode, set-fringe-style): Use it.
6121 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
6122
a9dd5754
CY
6123 * files.el (set-auto-mode): Fix invalid setq call.
6124
7c2dc8bd
SM
61252012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
6126
6127 * isearch.el: Misc simplification; use defstruct.
6128 (isearch-mode-map): Dense maps now work like sparse ones.
6129 (isearch--state): New defstruct.
6130 (isearch-string-state, isearch-message-state, isearch-point-state)
6131 (isearch-success-state, isearch-forward-state)
6132 (isearch-other-end-state, isearch-word-state, isearch-error-state)
6133 (isearch-wrapped-state, isearch-barrier-state)
6134 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
6135 replaced by defstruct's accessors.
6136 (isearch--set-state): Rename from isearch-top-state and change
6137 calling convention.
6138 (isearch-push-state): Use new isearch--get-state.
6139 (isearch-toggle-word): Disable regexp when enabling word.
6140 (isearch-message-prefix): Remove unused arg _c-q-hack.
6141 (isearch-message-suffix): Remove unused arg _ellipsis.
6142
7fcc0070
AS
61432012-08-04 Andreas Schwab <schwab@linux-m68k.org>
6144
6145 * simple.el (list-processes--refresh): For a server use :host or
6146 :local as the address.
97ad0769 6147 (list-processes): Doc fix.
7fcc0070 6148
a11035b8 61492012-08-04 Michal Nazarewicz <mina86@mina86.com>
00340faf
MN
6150
6151 * lisp/mpc.el: Support password in host argument.
6152 (mpc--proc-connect): Parse and use new password element.
6153 Set mpc-proc variable instead of returning process.
6154 (mpc-proc): Adjust accordingly.
6155
6dad7178
EZ
61562012-08-03 Eli Zaretskii <eliz@gnu.org>
6157
18949c2f
EZ
6158 * whitespace.el (whitespace-display-mappings): Use Unicode
6159 codepoints, instead of emacs-mule codepoints. See
6160 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
6161 for the details.
6162
6dad7178
EZ
6163 * files.el (file-truename): Don't skip symlink-chasing part on
6164 windows-nt. Incorporate the resolution of 8+3 short aliases on
4250fdf5
SM
6165 Windows into the loop that recursively chases symlinks.
6166 Compare directory and its parent case-insensitively on MS-Windows and
6dad7178
EZ
6167 MS-DOS.
6168
385b0198
CY
61692012-08-03 Chong Yidong <cyd@gnu.org>
6170
6200f3c4
CY
6171 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
6172
385b0198
CY
6173 * sort.el (sort-regexp-fields): Doc fix.
6174
b9e74744
TH
61752012-08-03 Tassilo Horn <tsdh@gnu.org>
6176
6177 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
6178 labels regex position point at the expected place.
6179
41013cb4
MK
61802012-08-03 MON KEY <monkey@sandpframing.com>
6181
6182 * net/imap.el (imap-interactive-login, imap-authenticate)
6183 (imap-mailbox-lsub, imap-mailbox-list)
6184 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
6185 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
6186 (imap-parse-response): Doc fix.
6187
0ffee616
JT
61882012-08-03 João Távora <joaotavora@gmail.com>
6189
6190 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
6191 if sexp scanning does not move point (Bug#5734).
6192
cfcc9cc8
TH
61932012-08-02 Tassilo Horn <tsdh@gnu.org>
6194
6195 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
6196 Add listings, minted, and ctable packages.
6197 (reftex-label-alist-builtin): Move listings, minted, and ctable
6198 entries before LaTeX.
a01bbb84 6199 (reftex-label-alist): Docfix.
cfcc9cc8 6200
66ec2442
BG
62012012-08-02 Bastien Guerry <bzg@gnu.org>
6202
6203 * replace.el (occur): Fix docstring (bug#12122).
6204
837b365b
GM
62052012-08-02 Glenn Morris <rgm@gnu.org>
6206
6207 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
6208
e098de97
PE
62092012-08-02 Paul Eggert <eggert@cs.ucla.edu>
6210
6211 Obsolete alias inactivate-current-input-method-function (Bug#10150).
6212 * international/mule-cmds.el: Create
6213 inactivate-current-input-method-function as an obsolete alias for
6214 deactivate-current-input-method-function. See Katsumi Yamaoka in
6215 <http://bugs.gnu.org/10150#46>.
6216
a0f95636
JB
62172012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
6218
6219 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
6220 of nested `if's.
6221
0d26d7c4
GM
62222012-08-01 Glenn Morris <rgm@gnu.org>
6223
6224 * progmodes/autoconf.el (autoconf-definition-regexp):
6225 Add AH_TEMPLATE, adjust submatch numbering.
6226 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
6227 (autoconf-current-defun-function): Update for above change.
6228 (autoconf-current-defun-function): First skip to end of current word.
6229
b686ba06
RS
62302012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
6231
6232 * calendar/cal-html.el (cal-html-insert-agenda-days):
6233 Fix typo. (Bug#12018)
6234
0d49da68
FEG
62352012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
6236
6237 Shell processes: enhancements to startup and CEDET compatibility.
6238 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
6239 (python-shell-make-comint): accept-process-output at startup.
6240 (run-python-internal): Set inferior-python-mode-hook to nil.
6241 (python-shell-internal-get-or-create-process): call sit-for.
6242 (python-preoutput-result): Add obsolete alias.
6243 (python-shell-internal-send-string): Use it.
6244 (python-shell-send-setup-code): Remove call to
6245 accept-process-output.
6246
f1a71c6e
AS
62472012-07-31 Andreas Schwab <schwab@linux-m68k.org>
6248
6249 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
6250 (Bug#12108)
6251
d2605269
JB
62522012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
6253
6254 * calc-mode.el (calc-basic-simplification-mode): Rename from
6255 `calc-limited-simplification-mode'.
6256 (calc-alg-simplification-mode): New function.
fc0c31f8 6257 (calc-set-simplify-mode): Adjust message.
f1a71c6e 6258
d2605269
JB
6259 * calc.el (calc-set-mode-line): Adjust mode line display for
6260 basic simplification mode.
6261
6262 * calc-help.el (calc-m-prefix-help): Update help message.
6263
6264 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
6265 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
6266
a3827a43
BG
62672012-07-31 Bastien Guerry <bzg@gnu.org>
6268
6269 * man.el (man): Fix comment. (bug#12101)
6270
502e3f89
MR
62712012-07-31 Martin Rudalics <rudalics@gmx.at>
6272
6273 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
6274 Don't return a non-nil value when no suitable buffer was found.
6275
d7714961
FEG
62762012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
6277
6278 * progmodes/python.el (run-python-internal): Disable font lock for
6279 internal shells.
6280
1f45e27e
SM
62812012-07-30 Stefan Merten <smerten@oekonux.de>
6282
70efc5c9 6283 * textmodes/rst.el: Silence `checkdoc-ispell'.
1f45e27e
SM
6284 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
6285 (rst-official-version, rst-official-cvs-rev)
6286 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
6287 (rst-mode-map): New key binding.
6288
0aee6912
PE
62892012-07-30 Paul Eggert <eggert@cs.ucla.edu>
6290
6291 Update .PHONY listings in makefiles.
6292 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
6293 autoloads, update-subdirs, updates, bzr-update, update-authors,
6294 compile-onefile, compile-calc, backup-compiled-files,
6295 compile-after-backup, compile-one-process, mh-autoloads,
6296 bootstrap-clean, distclean, maintainer-clean.
6297
9052f9f0
JB
62982012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
6299
1823ac5a
JB
6300 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
6301 (calc-set-mode-line): Don't display "AlgSimp ".
6302
6303 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
6304 (calc-lim-simplify-mode): New function.
6305 (calc-set-simplify-mode): Default to 'alg.
6306 (calc-default-simplify-mode): Make algebraic simplifications
6307 the default.
6308
6309 * calc/calc-ext.el (calc-init-extensions): Remove binding for
6310 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
6311
8d7c7eed 6312 * calc/calc-help.el (calc-m-prefix-help): Change messages to
4b337409
JB
6313 indicate new simplification modes.
6314
1823ac5a
JB
6315 * calc/README: Mention new default simplification mode.
6316
9052f9f0
JB
6317 * calc/calc.el (math-normalize-error): New variable.
6318 (math-normalize): Set `math-normalize-error' to t
6319 when there's an error.
6320
6321 * calc/calc-alg.el (math-simplify): Don't simplify when
6322 `math-normalize' returns an error.
6323
20ba0cb4
EZ
63242012-07-29 Eli Zaretskii <eliz@gnu.org>
6325
6326 * international/mule-cmds.el (set-locale-environment): Revert last
6327 change, since display-graphic-p returns nil when this function is
6328 called during startup. Instead...
6329
6330 * term/w32console.el (terminal-init-w32console): ...setup the
6331 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
6332
a5dcc929
JL
63332012-07-29 Juri Linkov <juri@jurta.org>
6334
6335 * simple.el (goto-line): Don't display default line number in the
6336 prompt because it should be displayed by `read-number' (bug#9952).
6337 Add the current line number to the defaults of `goto-line' to
6338 allow its easier modification by users with `M-n' (bug#9201).
6339
6340 * subr.el (read-number): Support multiple default values like in
6341 other minibuffer reading functions. Replace `read' with
6342 `string-to-number' for consistency with `number-to-string'.
6343
72b255c7
PE
63442012-07-29 Paul Eggert <eggert@cs.ucla.edu>
6345
6346 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
6347 * emulation/viper-init.el (viper-deactivate-input-method-action):
6348 Rename from viper-inactivate-input-method-action.
6349 (viper-deactivate-input-method):
6350 Rename from viper-inactivate-input-method.
6351 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
6352 * international/mule-cmds.el (deactivate-input-method):
6353 Rename from inactivate-input-method.
6354 Also run input-method-deactivate-hook.
6355 (deactivate-current-input-method-function):
6356 Rename from inactivate-current-input-method-function.
6357 (input-method-deactivate-hook): New hook.
6358 (input-method-inactivate-hook): Mark obsolete.
bb6eb9fc
PE
6359 (inactivate-input-method): Mark obsolete.
6360
72b255c7
PE
6361 * international/quail.el (quail-activate):
6362 Also run quail-deactivate-hook.
6363 (quail-deactivate): Rename from quail-inactivate.
6364 * international/robin.el (robin-activate):
6365 Also run robin-deactivate-hook.
6366 (robin-deactivate): Rename from robin-inactivate.
6367
2549c068
CY
63682012-07-29 Chong Yidong <cyd@gnu.org>
6369
6370 * simple.el (indicate-copied-region): New function.
6371 (kill-ring-save): Split off from here.
6372
6373 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
6374 (kill-rectangle): Set deactivate-mark to t on read-only error.
6375
6376 * register.el (copy-to-register, copy-rectangle-to-register):
6377 Deactivate the mark, and use indicate-copied-region (Bug#10056).
4c478e6b
JL
6378 (append-to-register, prepend-to-register): Call indicate-copied-region.
6379
63802012-07-29 Juri Linkov <juri@jurta.org>
17711ed9
JL
6381
6382 * simple.el (async-shell-command-buffer): New defcustom.
6383 (shell-command): Use it. (Bug#4719)
6384
01bd1b0d
EZ
63852012-07-28 Eli Zaretskii <eliz@gnu.org>
6386
6387 * international/mule-cmds.el (set-locale-environment): In a
6388 console session on MS-Windows, set up keyboard and terminal
6389 encoding from the OEM codepage, not the ANSI codepage.
6390 (Bug#12055)
6391
a55739d3
CY
63922012-07-28 Chong Yidong <cyd@gnu.org>
6393
6394 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
6395 gdb-get-location.
6396
0e1a094f 63972012-07-28 Leo Liu <sdl.web@gmail.com>
9a0f8f2e
LL
6398
6399 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
6400 the alist (bug#12029).
6401
20329d73
EZ
64022012-07-28 Eli Zaretskii <eliz@gnu.org>
6403
6404 * makefile.w32-in (custom-deps, finder-data, updates, compile)
6405 (compile-always, compile-first)
6406 ($(lisp)/calendar/cal-loaddefs.el)
6407 ($(lisp)/calendar/diary-loaddefs.el)
6408 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
6409 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
6410 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
6411 instead of on update-subdirs.
6412 (bootstrap-clean): Delete $(lisp)/subdirs.el.
6413
345a2258
CY
64142012-07-28 Chong Yidong <cyd@gnu.org>
6415
1eee6341
CY
6416 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
6417 directory if vc-deduce-backend returns nil (Bug#7350).
6418
345a2258
CY
6419 * simple.el (delete-trailing-lines): New option.
6420 (delete-trailing-whitespace): Obey it (Bug#11879).
6421
049a0936
DE
64222012-07-28 David Engster <deng@randomsample.de>
6423
6424 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
6425 Explanation of new 'symbol-qnames feature in doc-strings.
6426 (xml-maybe-do-ns): Return expanded names as plain symbols if
6427 'symbol-qnames was provided in XML-NS argument (Bug#11916).
6428 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
6429
aa81af71
FEG
64302012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
6431
6432 Consistent completion in inferior python with emacs -nw.
6433 * progmodes/python.el (inferior-python-mode): replace "<tab>"
6434 binding in inferior-python-mode-map with "\t".
6435 (python-shell-completion-complete-at-point)
6436 (python-completion-complete-at-point): Remove interactive spec.
6437
e827b1eb
JB
64382012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
6439
6440 * calc/calccomp.el (math-compose-expr): Undo previous change.
6441
a90dfb95
FEG
64422012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
6443
4250fdf5 6444 * progmodes/python.el (python-mode-map): Add keybinding for
a90dfb95
FEG
6445 run-python.
6446 (python-shell-make-comint): Fix pop-to-buffer call.
6447 (run-python): Autoload. New arg SHOW.
6448 (python-shell-get-or-create-process): Do not pop python process
6449 buffer.
6450
32770973 64512012-07-27 Michael Albinus <michael.albinus@gmx.de>
1c6ef030
MA
6452
6453 * notifications.el (notifications-on-action-signal)
6454 (notifications-on-closed-signal): Use also the bus address for the map.
6455 (notifications-notify, notifications-close-notification)
fc0c31f8 6456 (notifications-get-capabilities): Add optional argument BUS.
1c6ef030 6457
86332df2
TH
64582012-07-27 Tassilo Horn <tsdh@gnu.org>
6459
4250fdf5
SM
6460 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
6461 Add support for the lstlisting and minted environments, and for the
86332df2
TH
6462 ctable macro.
6463 * textmodes/reftex.el (reftex-compile-variables): Also recognize
6464 labels written in keyvals syntax.
6465
ca1302a4
JB
64662012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
6467
6468 * calc/calccomp.el (math-compose-expr): Use parentheses when
6469 there is a product in the denominator of a fraction.
6470
f8b91036
EZ
64712012-07-26 Eli Zaretskii <eliz@gnu.org>
6472
6473 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
6474 ($(lisp)/calendar/diary-loaddefs.el)
6475 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
4250fdf5
SM
6476 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
6477 Fixes failures in parallel bootstrap because subdirs.el is being
f8b91036
EZ
6478 rewritten while the autoload files are built at the same time,
6479 which needs to load subdirs.el.
6480
c8e5a42c
MR
64812012-07-26 Martin Rudalics <rudalics@gmx.at>
6482
6483 * mouse.el (popup-menu): Fix doc-string and re-indent code.
6484 (mouse-drag-line): Don't exit tracking when a switch-frame or
6485 switch-window event occurs (Bug#12006).
6486
670d85ea
SM
64872012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6488
6489 * mouse.el (popup-menu): Fix last change.
6490
7abaf5cc
SM
64912012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6492
6493 Autoload from Lisp with more care. Follow aliases when looking for
6494 function properties.
6495 * subr.el (autoloadp): New function.
6496 (symbol-file): Use it.
6497 (function-get): New function.
6498 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
6499 autoload-do-load.
6500 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
6501 (lisp-indent-function):
6502 * emacs-lisp/gv.el (gv-get):
6503 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
6504 * emacs-lisp/byte-opt.el (byte-optimize-form):
6505 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
6506 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
6507 Use function-get.
6508 * emacs-lisp/cl.el: Don't propagate function properties any more.
6509
6510 * speedbar.el (speedbar-add-localized-speedbar-support):
6511 * emacs-lisp/disass.el (disassemble-internal):
6512 * desktop.el (desktop-load-file):
6513 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
6514 (describe-function-1):
6515 * emacs-lisp/find-func.el (find-function-noselect):
6516 * emacs-lisp/elp.el (elp-instrument-function):
6517 * emacs-lisp/advice.el (ad-has-proper-definition):
6518 * apropos.el (apropos-safe-documentation, apropos-macrop):
6519 * emacs-lisp/debug.el (debug-on-entry):
6520 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
6521 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
6522 * calc/calc.el (name): Use autoloadp & autoload-do-load.
6523
b1364986
AA
65242012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
6525
6526 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
6527 function, not an obsolete variable (Bug#12046).
6528
67ada220
AS
65292012-07-25 Andreas Schwab <schwab@linux-m68k.org>
6530
6531 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
6532
f08088e3
CS
65332012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
6534
6535 * emacs-lisp/pp.el (pp-display-expression): Select old selected
6536 window only if it is still live (Bug#12034).
6537
8137e7b3
MR
65382012-07-25 Martin Rudalics <rudalics@gmx.at>
6539
6540 * subr.el (redirect-frame-focus): Add advertised calling
6541 convention (Bug#12030).
6542
09ae5da1
PE
65432012-07-25 Paul Eggert <eggert@cs.ucla.edu>
6544
6545 Prefer typical American spelling for "acknowledgment".
6546 * vc/add-log.el (change-log-acknowledgment): Rename from
6547 change-log-acknowledgement, with an alias for the old name.
6548
3cc5a3a8
JB
65492012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
6550
6551 * calc-alg.el (math-simplify-divide): Don't cross multiply
6552 in an equation when the lhs is a variable.
6553
b7af7f62
JD
65542012-07-24 Julien Danjou <julien@danjou.info>
6555
6556 * net/netrc.el (netrc-find-service-number, netrc-store-data):
6557 Remove, unused.
6558
ec1b09b1
EZ
65592012-07-23 Eli Zaretskii <eliz@gnu.org>
6560
6561 * startup.el (command-line): Don't display an empty user name in
6562 the error message about non-existent home directory, when
6563 init-file-user was set to an empty string. See
6564 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
6565 for the details and context.
6566
b525fd8a
VB
65672012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
6568
6569 * ses.el (ses-cell-formula-aset): New macro.
6570 (ses-cell-references-aset): New macro.
6571 (ses-cell-p): New function.
6572 (ses-rename-cell): Do no longer rely on complex operations like
6573 ses-cell-set-formula or ses-set-cell to change the cell and handle
6574 the undo at the same time, but rather use lower level new macros
6575 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
fc0c31f8 6576 the undo directly. Refresh the mode line.
b525fd8a 6577
2c73e345
LL
65782012-07-21 Leo Liu <sdl.web@gmail.com>
6579
670d85ea
SM
6580 * progmodes/cc-cmds.el (c-defun-name):
6581 Use match-string-no-properties instead for consistency.
2c73e345 6582
542dfbde
LL
65832012-07-20 Leo Liu <sdl.web@gmail.com>
6584
3646bcd6
LL
6585 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
6586 (Bug#7879)
6587
542dfbde
LL
6588 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
6589
25721031
CY
65902012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
6591
6592 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
6593 * progmodes/bug-reference.el, misearch.el: Provide themselves
6594 (bug#11915).
6595
6596 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
6597 of narrowed buffer (bug#11966).
6598
316e68a7
VB
65992012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
6600
6601 * ses.el (ses-rename-cell): Set new name also in reference list of
6602 cells of which the renamed cell depends.
6603
bbf0e7d9
MY
66042012-07-20 Masatake YAMATO <yamato@redhat.com>
6605
6606 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
6607 to check whether menu-bar is shown or not. If not shown,
6608 show the menu-bar as a popup menu instead of using tmm.
6609 * mouse.el (popup-menu): Accept `point' as `position' argument.
6610
c28662a8
DG
66112012-07-20 Dmitry Gutov <dgutov@yandex.ru>
6612
6613 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
6614 up inside string symbol literal (bug#11923).
6615
87ab808f
EZ
66162012-07-20 Eli Zaretskii <eliz@gnu.org>
6617
6618 * startup.el (fancy-startup-text): Read the whole tutorial, not
6619 just its first 256 bytes. Prevents gibberish in display of the
6620 tutorial title.
6621
89dea803
DA
66222012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
6623
6624 Drop idle buffer compaction due to an absence of the
6625 proved efficiency.
6626 * compact.el: Remove.
6627
8a4e6db8
SS
66282012-07-19 Sam Steingold <sds@gnu.org>
6629
6630 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
6631 vc-bzr-pull & vc-bzr-merge-branch.
6632 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
6633 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
6634 for consistency with compilation-error-regexp-alist.
6635 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
6636 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
6637 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
6638 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
6639
5db81e33
SM
66402012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
6641
6642 * emacs-lisp/chart.el: Use lexical-binding.
6643 (chart-emacs-storage): Don't hardcode the list of entries.
6644
5b835e1d
DA
66452012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
6646
6647 Next round of tweaks caused by Fgarbage_collect changes.
6648 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
6649
9cd47b72
DA
66502012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
6651
6652 Compact buffers when idle.
6653 * compact.el: New file.
6654
1d6fc0df
SM
66552012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
6656
6657 * subr.el (eventp): Presume that if it looks vaguely like an event,
6658 it's an event (bug#10190).
6659
1d29cc7d
FEG
66602012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
6661
6662 Enhancements to ppss related code (thanks Stefan).
6663 * progmodes/python.el (python-indent-context)
6664 (python-indent-calculate-indentation, python-indent-dedent-line)
6665 (python-indent-electric-colon, python-nav-forward-block)
6666 (python-mode-abbrev-table)
1d6fc0df 6667 (python-info-assignment-continuation-line-p): Simplify checks
1d29cc7d
FEG
6668 for ppss context.
6669 (python-info-continuation-line-p): Cleanup.
6670 (python-info-ppss-context): Do not catch 'quote.
6671 (python-info-ppss-context-type)
6672 (python-info-ppss-comment-or-string-p): Simplify.
6673
d583cbe6
FEG
66742012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
6675
6676 * progmodes/python.el: Enhancements to eldoc support.
6677 (python-info-current-symbol): New function.
6678 (python-eldoc-at-point): Use python-info-current-symbol.
6679 (python-info-current-defun): Fix cornercase on first defun scan.
6680 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
6681 and signal error when no inferior python process is available.
6682
eceb6feb
DG
66832012-07-18 Dmitry Gutov <dgutov@yandex.ru>
6684
6685 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
6686 assume it's always t.
6687 (vc-git-registered): Remove caching, the function is only called
6688 once.
6689 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
6690
4c8ff0fe
CY
66912012-07-18 Chong Yidong <cyd@gnu.org>
6692
19fb7186
CY
6693 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
6694
9587c688
CY
6695 * simple.el (count-words): Report on narrowing (Bug#9959).
6696
0fe776a1
CY
6697 * bindings.el: Bind M-= to count-words.
6698
4c8ff0fe
CY
6699 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
6700
7f5331cc
MY
67012012-07-18 Masatake YAMATO <yamato@redhat.com>
6702
6703 * progmodes/sh-script.el (sh-imenu-generic-expression):
6704 Capture a function with `function' keyword and without parentheses
6705 like "function FOO" (bug#11856).
6706
2dc2a609
TH
67072012-07-18 Tassilo Horn <tassilo@member.fsf.org>
6708
6709 * window.el (split-window-sensibly): Make WINDOW argument
6710 optional.
6711
439f7677
CY
67122012-07-18 Chong Yidong <cyd@gnu.org>
6713
9aeb25a6
CY
6714 * subr.el (keyboard-translate): Doc fix (Bug#7261).
6715
439f7677
CY
6716 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
6717 and make C-x 8 RET exit isearch (Bug#11439).
6718
6719 * international/iso-transl.el: Move isearch-mode-map key
6720 definitions to isearch.el.
6721
12999ea8
SM
67222012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
6723
6724 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
6725 (eieio-defclass): Use gv-define-setter when possible.
6726
3ab6e069
DA
67272012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
6728
6729 Reflect recent changes in Fgarbage_collect.
6730 * emacs-lisp/chart.el (chart-emacs-storage): Change to
6731 reflect new format of data returned by Fgarbage_collect.
6732
0a60bc10
FEG
67332012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
6734
6735 New utility functions + python-info-ppss-context fix (Bug#11910).
6736 * progmodes/python.el (python-info-beginning-of-block-statement-p)
6737 (python-info-ppss-comment-or-string-p): New functions.
6738 (python-info-ppss-context): Small fix for string check.
6739
6dafa0d5
JL
67402012-07-17 Juri Linkov <juri@jurta.org>
6741
6742 * dired-aux.el (dired-do-async-shell-command): Doc fix.
6743 (dired-do-async-shell-command): Don't add `*' at the end of the
6744 command (Bug#11815).
6745 (dired-do-shell-command): Doc fix.
6746 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
6747 Join the individual commands using either "&" or ";" as the
6748 separator depending on the values of these trailing characters.
6749 At the end re-add the trailing "&". (Bug#10598)
6750
6751 * simple.el (async-shell-command): Sync the interactive spec with
6752 `shell-command'. Doc fix.
6753 (shell-command): Doc fix.
6754
b19dd9d1
JL
67552012-07-17 Juri Linkov <juri@jurta.org>
6756
6757 * descr-text.el (describe-char): Fix format args. (Bug#10129)
6758
bcdc27d7 67592012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
7f5331cc 6760
bcdc27d7 6761 Final renames and doc fixes for movement commands (bug#11899).
7f5331cc
MY
6762 * progmodes/python.el (python-nav-beginning-of-statement):
6763 Rename from python-nav-statement-start.
bcdc27d7
FEG
6764 (python-nav-end-of-statement): Rename from
6765 python-nav-statement-end.
6766 (python-nav-beginning-of-block): Rename from
6767 python-nav-block-start.
6768 (python-nav-end-of-block): Rename from python-nav-block-end.
6769
191da00e
FEG
67702012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
6771
7f5331cc
MY
6772 * progmodes/python.el (python-shell-send-string-no-output):
6773 Allow accept-process-output to quit, keeping shell process ready for
191da00e
FEG
6774 future interactions (Bug#11868).
6775
4dc7c8d5 67762012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
aa7aaf8f 6777
88ecaf8f
SM
6778 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
6779
ef501ef0
SM
6780 * emacs-lisp/elint.el (elint-find-args-in-code):
6781 Use help-function-arglist, so as to handle lexical byte-code.
6782
aa7aaf8f
SM
6783 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
6784 change (bug#11826).
6785
45fd731c
SM
67862012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
6787
2143fa32
SM
6788 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
6789 Avoid spuriously marking the buffer as modified because of c-is-sws.
6790
efc26dbe
SM
6791 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
6792 as not-a-comment (bug#11946).
6793
f5695c9a
SM
6794 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
6795 for uninterned vars.
6796
6797 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
6798 Use read-event since we don't really want to read chars but bytes.
6799
45fd731c
SM
6800 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
6801 $$..$$ but also $..$ using regexps (bug#11953).
6802 Use tex-verbatim for \url and \path.
6803 (tex-font-lock-keywords): Define as defconst like the others.
6804 (tex-common-initialization): Don't use font-lock-syntax-table any more.
6805
ddfc8813
RK
68062012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
6807
6808 * international/mule-cmds.el (ucs-insert): Make it an obsolete
6809 alias for insert-char.
6810
758e556a
FEG
68112012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
6812
6813 * progmodes/python.el: Simplified imenu implementation.
6814 (python-nav-jump-to-defun): Remove command.
6815 (python-mode-map): Use `imenu' instead.
6816 (python-nav-list-defun-positions-cache)
6817 (python-imenu-include-defun-type, python-imenu-make-tree)
6818 (python-imenu-subtree-root-label, python-imenu-index-alist):
6819 Remove vars.
6820 (python-nav-list-defun-positions, python-nav-read-defun)
6821 (python-imenu-tree-assoc, python-imenu-make-element-tree)
45fd731c
SM
6822 (python-imenu-make-tree, python-imenu-create-index):
6823 Remove functions.
758e556a
FEG
6824 (python-mode): Update to interact with imenu by setting
6825 `imenu-extract-index-name-function' only.
6826
032d23ab
FEG
68272012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
6828
6829 * progmodes/python.el: Enhancements to navigation commands.
6830 (python-nav-backward-sentence)
6831 (python-nav-forward-sentence): Remove.
6832 (python-nav-backward-statement, python-nav-forward-statement)
6833 (python-nav-statement-start, python-nav-statement-end)
6834 (python-nav-backward-block, python-nav-forward-block)
6835 (python-nav-block-start, python-nav-block-end)
6836 (python-nav-forward-sexp-function)
6837 (python-info-current-line-comment-p)
6838 (python-info-current-line-empty-p): New functions.
6839 (python-indent-context): Use `python-nav-statement-start'.
6840
01795a1b
MA
68412012-07-16 Michael Albinus <michael.albinus@gmx.de>
6842
9328d9aa
MA
6843 * eshell/em-ls.el (eshell/ls): Use `apply'.
6844
6845 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
6846 multi-hops, instead of Tramp internals.
6847
01795a1b
MA
6848 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
6849
6850 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
6851 when F1 and F2 are located on different hosts.
6852
63408057
CY
68532012-07-14 Chong Yidong <cyd@gnu.org>
6854
6855 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
6856 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
6857 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
6858 (xterm-mouse--read-event-sequence-1000)
6859 (xterm-mouse--read-event-sequence-1006): New functions. For old
6860 mouse protocol, handle M-mouse-X events correctly.
6861 (xterm-mouse-event): New arg specifying mouse protocol.
6862 (turn-on-xterm-mouse-tracking-on-terminal)
6863 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
45fd731c
SM
6864 sequence to toggle extended coordinates on newer XTerms.
6865 This appears to be harmless on terminals which do not support this.
63408057 6866
cd276f6e
LL
68672012-07-14 Leo Liu <sdl.web@gmail.com>
6868
28ca98ac
LL
6869 Add fringe bitmap indicators for flymake. (Bug#11253)
6870 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
6871 (flymake-make-overlay): New arg BITMAP.
6872 (flymake-error-bitmap, flymake-warning-bitmap)
6873 (flymake-fringe-indicator-position): New user variables.
6874
cd276f6e
LL
6875 * fringe.el: New bitmap exclamation-mark.
6876
04408072
JD
68772012-07-14 Jan Djärv <jan.h.d@swipnet.se>
6878
6879 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
6880 also (Bug#7879).
6881
b5cf7fc4
CY
68822012-07-14 Chong Yidong <cyd@gnu.org>
6883
6884 * electric.el (electric-pair-post-self-insert-function): Fix pair
6885 insertion in empty-region case (Bug#11520).
6886
be755c79
RT
68872012-07-14 Chong Yidong <cyd@gnu.org>
6888
45fd731c
SM
6889 * bindings.el: Consolidate ctl-x-r-map bindings.
6890 Bind copy-rectangle-as-kill to C-x r w.
be755c79
RT
6891
6892 * rect.el, register.el: Move bindings to bindings.el.
6893
68942012-07-14 Reuben Thomas <rrt@sc3d.org>
6895
6896 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
6897
7f5b3198
AS
68982012-07-13 Andreas Schwab <schwab@linux-m68k.org>
6899
6900 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
6901
97662200
JB
69022012-07-13 Juanma Barranquero <lekktu@gmail.com>
6903
80185fed
JB
6904 * bindings.el (top): Use `mapc' instead of `mapcar'.
6905
97662200
JB
6906 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
6907
2bb1ae55
MA
69082012-07-13 Michael Albinus <michael.albinus@gmx.de>
6909
6910 * progmodes/sql.el (sql-comint): Suppress the check for program on
6911 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
6912 (Bug#11908)
6913
dea31bd3
CY
69142012-07-13 Chong Yidong <cyd@gnu.org>
6915
6916 * bindings.el: Assign a non-nil permanent-local property to
6917 per-buffer variables which lack a default value (Bug#11930).
6918
6919 * help-fns.el (describe-variable): In the "automatically becomes
6920 local" notice, take note of permanent-local variables.
6921
b68b3337
CY
69222012-07-13 Chong Yidong <cyd@gnu.org>
6923
6924 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
6925 to allow printing the message when called from Lisp.
6926
6927 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
6928 Remove toggle-read-only.
6929
6930 * bs.el (bs-toggle-readonly):
45fd731c
SM
6931 * buff-menu.el (Buffer-menu-toggle-read-only):
6932 Remove with-no-warnings around toggle-read-only.
b68b3337
CY
6933
6934 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
6935 Remove with-no-warnings around toggle-read-only.
6936 (ffap-read-only, ffap-read-only-other-window)
6937 (ffap-read-only-other-frame): Callers changed.
6938
6939 * help-mode.el: Don't require view package.
6940 (help-mode-finish): Set buffer-read-only instead of calling
6941 toggle-read-only.
6942
6943 * bindings.el (mode-line-toggle-read-only):
6944 * dired.el (dired-toggle-read-only):
6945 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
6946 with non-nil second arg.
6947
6948 * emacs-lisp/eieio-custom.el (eieio-customize-object):
6949 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
6950 directly.
6951
56bc1586
EZ
69522012-07-12 Eli Zaretskii <eliz@gnu.org>
6953
6954 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
6955 not incf.
6956
a464a6c7
SM
69572012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
6958
6959 More CL cleanups and reduction of use of cl.el.
6960 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
6961 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
6962 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
6963 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
6964 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
6965 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
6966 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
6967 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
6968 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
6969 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
6970 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
6971 * eshell/em-cmpl.el, eshell/em-banner.el:
6972 * calendar/parse-time.el: Use cl-lib.
6973 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
6974 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
6975 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
6976 * term/ns-win.el, term.el, shell.el, ps-samp.el:
6977 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
6978 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
6979 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
6980 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
6981 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
6982 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
6983 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
6984 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
6985 `lambda' rather than with `quote'.
6986 (eshell-do-opt): Adjust accordingly.
6987 (eshell-process-option): Simplify.
6988 * eshell/esh-var.el:
6989 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
6990 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
6991 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
6992 to `pcase--dontcare'.
6993 * emacs-lisp/cl.el (labels): Mark obsolete.
6994 (cl--letf, letf): Move to cl-lib.
6995 (cl--letf*, letf*): Remove.
6996 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
6997 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
6998 (cl-progv): Rewrite.
6999 (cl--letf, cl-letf): Move from cl.el.
7000 (cl-letf*): New macro.
7001 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
7002
7ad4afe1
MA
70032012-07-11 Michael Albinus <michael.albinus@gmx.de>
7004
7005 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
7006
9af57756
CY
70072012-07-11 Chong Yidong <cyd@gnu.org>
7008
7009 * vc/log-edit.el (log-edit-vc-backend): New variable.
7010 (log-edit): Doc fix.
7011
7012 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
7013 argument of log-edit to set up all local variables.
7014 (vc-start-logentry): New optional arg specifying VC backend.
7015
7016 * vc/vc.el (vc-checkin): Use it.
7017 (vc-deduce-fileset): Handle Log Edit buffers.
7018 (vc-diff): Make first argument optional too.
7019
7020 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
7021
8477cc7a
MA
70222012-07-10 Michael Albinus <michael.albinus@gmx.de>
7023
7024 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
7025 command, just in case. The function is not needed anymore.
7026 (eshell-external-command): Do not call `eshell-remote-command'.
7027
19faa8e8
SM
70282012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
7029
f58e0fd5
SM
7030 Reduce use of (require 'cl).
7031 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
7032 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
7033 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
7034 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
7035 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
7036 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
7037 * battery.el, avoid.el, abbrev.el: Use cl-lib.
7038 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
7039 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
7040 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
7041 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
7042 * calculator.el, autorevert.el, apropos.el: Don't require CL.
7043 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
7044 (byte-compile-unfold-bcf, byte-compile-check-variable):
7045 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
7046 (byte-compile-nilconstp):
7047 * emacs-lisp/autoload.el (make-autoload): Use pcase.
7048 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
7049
2519d43a
SM
7050 * emacs-lisp/gv.el (cond): Make it a valid place.
7051 (if): Simplify slightly.
7052
19faa8e8
SM
7053 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
7054 (pcase--self-quoting-p): New function.
7055 (pcase--u1): Use it.
7056
c4907a5e
GM
70572012-07-10 Glenn Morris <rgm@gnu.org>
7058
7059 * emacs-lisp/authors.el (authors-fixed-entries):
7060 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
7061
c4444d16
PE
70622012-07-09 Paul Eggert <eggert@cs.ucla.edu>
7063
7064 Rename configure.in to configure.ac (Bug#11603).
7065 * emacs-lisp/authors.el (authors-canonical-file-name):
7066 * progmodes/autoconf.el (autoconf-mode):
7067 Prefer configure.ac to configure.in.
7068
d75be97d
CY
70692012-07-08 Chong Yidong <cyd@gnu.org>
7070
01ac65bd
CY
7071 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
7072 Implement the mouse-1-click-follows-link handling properly.
7073
7074 * info.el (Info-link-keymap): Use follow-link mechanism for
7075 header-line links (Bug#374).
7076
d75be97d
CY
7077 * simple.el (deactivate-mark): Do not set the primary selection
7078 if another program has acquired it (Bug#11772).
7079
87a92845 70802012-07-07 Kevin Ryde <user42@zip.com.au>
f0ecdfea
KR
7081
7082 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
7083 (woman-decode-region): Replace escaped-escapes without destroying
7084 bold or underline (Bug#11552).
87a92845 7085 (woman2-process-escapes): Handle nofill regions (Bug#11591).
f0ecdfea 7086
621b9d6c
CY
70872012-07-07 Chong Yidong <cyd@gnu.org>
7088
7089 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
19faa8e8
SM
7090 (interprogram-cut-function, interprogram-paste-function):
7091 Mention that we typically mean the clipboard.
621b9d6c 7092
133a11fc
GM
70932012-07-06 Glenn Morris <rgm@gnu.org>
7094
0d27a45e
GM
7095 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
7096
133a11fc
GM
7097 * files.el (toggle-read-only): Restrict message to interactive use.
7098
07b151f1
MA
70992012-07-06 Michael Albinus <michael.albinus@gmx.de>
7100
7101 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
7102
7103 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
7104
211b896b
GM
71052012-07-06 Glenn Morris <rgm@gnu.org>
7106
50394322
GM
7107 * Makefile.in (compile-one-process): Rename from "recompile".
7108
211b896b
GM
7109 * Makefile.in (bzr-update): "compile" is the same as "recompile
7110 autoloads", but parallelizable, so use that instead.
7111
4737eec9
DG
71122012-07-06 Dmitry Gutov <dgutov@yandex.ru>
7113
7114 * window.el (quit-window): Always restore window height when
8137e7b3 7115 it's saved in quit-restore parameter (Bug#11810).
4737eec9 7116
226c3633 71172012-07-06 Glenn Morris <rgm@gnu.org>
cb442973
GM
7118
7119 * simple.el (kill-whole-line): Doc tweak.
7120
226c3633 71212012-07-06 Eli Zaretskii <eliz@gnu.org>
93842198
EZ
7122
7123 * files.el (file-relative-name): Compare file names
7124 case-insensitively if on MS-Windows or MS-DOS, or if
7125 read-file-name-completion-ignore-case is non-nil. Don't use
7126 case-fold-search for this purpose. (Bug#11827)
7127
4dc7c8d5
SM
71282012-07-17 Andreas Schwab <schwab@linux-m68k.org>
7129
7130 * calendar/cal-dst.el (calendar-current-time-zone):
7131 Return calendar-current-time-zone-cache if non-nil.
7132
71332012-07-17 Masatake YAMATO <yamato@redhat.com>
226c3633 71342012-07-06 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 7135
19faa8e8
SM
7136 * calendar/cal-dst.el (calendar-current-time-zone):
7137 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 7138
60198fc9
GM
71392012-07-06 Glenn Morris <rgm@gnu.org>
7140
7141 * Makefile.in (cvs-update): Remove old alias.
7142
957b3189
MA
71432012-07-05 Michael Albinus <michael.albinus@gmx.de>
7144
7145 Sync with Tramp 2.2.6-pre.
7146
7147 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
7148 compatible declaration.
7149
19faa8e8
SM
7150 * net/tramp-cmds.el (tramp-append-tramp-buffers):
7151 Protect `list-load-path-shadows' call.
957b3189
MA
7152
7153 * net/tramp-compat.el (top): Require packages, which aren't
7154 autoloaded anymore for XEmacs. Protect call of
7155 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
7156 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
7157 it hurts at least for SXEmacs.
7158 (tramp-compat-temporary-file-directory): In XEmacs, there is no
7159 standard-value for `temporary-file-directory'.
7160
7161 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
7162 Redirect stderr to /dev/null.
7163 (tramp-sh-handle-write-region): uid and gid can be floats.
7164 Reported by Russell Sim <russell.sim@gmail.com>.
7165 (tramp-sh-handle-vc-registered): Hide errors.
7166 (tramp-vc-file-name-handler): Use dummy results for `process-file'
7167 and `start-file-process'.
7168 (tramp-maybe-open-connection): Check also whether `non-essential'
7169 is bound.
7170
566df3fc
CY
71712012-07-04 Chong Yidong <cyd@gnu.org>
7172
7173 * xml.el (xml--parse-buffer): Use xml-syntax-table.
7174 (xml-parse-tag): Likewise, and avoid changing entity tables.
7175 (xml-syntax-table): Define from scratch, making sure not to give
7176 x2000 and other Unicode spaces whitespace syntax, since those are
7177 not spaces in XML.
7178 (xml-parse-fragment): Delete unused function.
7179 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
7180 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
7181 (xml-entity-ref, xml-pe-reference-re)
7182 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
7183 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
7184 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
7185 (xml-entity-value-re): Use syntax references in regexps where
7186 possible; no need to define inside a let-binding.
7187 (xml-parse-dtd): Use xml-pe-reference-re.
7188 (xml-entity-or-char-ref-re): New defconst.
7189 (xml-parse-string, xml-substitute-special): Use it.
7190
30eabd7a
SM
71912012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
7192
0781098a
SM
7193 * files.el (locate-dominating-file): Allow `name' to be a predicate.
7194 (find-file--read-only): New function.
7195 (find-file-read-only, find-file-read-only-other-window)
7196 (find-file-read-only-other-frame): Use it.
7197 (insert-file-contents-literally): Don't `fset'.
7198 (get-free-disk-space): Use locate-dominating-file.
7199
b5771c0d
SM
7200 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
7201 function is already compiled.
7202
30eabd7a
SM
7203 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
7204
b4886f6e
MA
72052012-07-03 Michael Albinus <michael.albinus@gmx.de>
7206
7207 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
7208 files on the same host.
7209
b9d82339
AS
72102012-07-03 Andreas Schwab <schwab@linux-m68k.org>
7211
7212 * help-fns.el (describe-function-1): Only call
7213 help-fns--autoloaded-p when we have a file name. (Bug#11848)
7214
a76e6535
CY
72152012-07-03 Chong Yidong <cyd@gnu.org>
7216
7217 * xml.el: Protect parser against XML bombs.
7218 (xml-entity-expansion-limit): New variable.
7219 (xml-parse-string, xml-substitute-special): Use it.
7220 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
7221
b544fef2
GM
72222012-07-03 Glenn Morris <rgm@gnu.org>
7223
7224 * progmodes/bug-reference.el (bug-reference-bug-regexp):
7225 Allow linking to specific messages in debbugs reports (eg 123#5).
7226
a7aef6f5
CY
72272012-07-02 Chong Yidong <cyd@gnu.org>
7228
7229 * xml.el: Fix entity and character reference expansion, allowing
7230 them to expand into markup as per XML spec.
7231 (xml-default-ns): New variable.
7232 (xml-entity-alist): Use XML spec definitions for lt and amp.
30eabd7a
SM
7233 (xml-parse-region): Make first two arguments optional.
7234 Discard text properties.
7235 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
7236 All callers changed.
a7aef6f5
CY
7237 (xml-parse-tag): Call xml-parse-tag-1. For backward
7238 compatibility, this function should not modify buffer contents.
7239 (xml-parse-tag-1): Fix opening-tag regexp.
7240 (xml-parse-string): Rewrite, handling entity and character
7241 references properly.
7242 (xml--entity-replacement-text): Signal an error if a parameter
7243 entity is undefined.
7244
3df31c9f
SM
72452012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
7246
2b5208f1
SM
7247 * comint.el (comint-output-filter): Filter out repeated prompts.
7248
3df31c9f
SM
7249 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
7250 and file-name-absolute-p.
7251 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
7252 internal calls.
7253
e3ac1281
PE
72542012-07-02 Paul Eggert <eggert@cs.ucla.edu>
7255
7256 Spelling fixes.
7257 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
7258 Rename from byte-compile--refiy-function. All uses changed.
7259
fbf2e7ad
CY
72602012-07-01 Chong Yidong <cyd@gnu.org>
7261
7262 * xml.el (xml--parse-buffer): New function. Move most of
7263 xml-parse-region here.
7264 (xml-parse-region): Copy region into a temporary buffer, since
7265 parameter entity substitution requires changing buffer contents.
7266 Use xml--parse-buffer.
7267 (xml-parse-file): Use xml--parse-buffer.
7268 (xml-parse-dtd): Make parameter entity substitution work right.
6fe566a7 7269 Use proper regexps for ELEMENT declarations (Bug#7172).
fbf2e7ad 7270
9bf0aa15
GM
72712012-06-30 Glenn Morris <rgm@gnu.org>
7272
bbce2853
GM
7273 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
7274
9bf0aa15
GM
7275 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
7276 Remove outdated and unnecessary dbus declarations.
7277
0d23c240
EZ
72782012-06-30 Eli Zaretskii <eliz@gnu.org>
7279
7280 * emacs-lisp/timer.el (timer-until): Subtract results of
7281 float-time, instead of taking float-time of the result of
7282 time-subtract, since float-time signals an error for negative time
7283 arguments.
7284
b3218de1
CY
72852012-06-30 Chong Yidong <cyd@gnu.org>
7286
7287 * xml.el (xml-*-re): Convert defvars into defconsts, and
7288 eval-and-compile them so eval-and-compile works on derivatives.
7289 (xml--entity-replacement-text): Use eval-and-comple.
7290
a40c87a0
MA
72912012-06-30 Michael Albinus <michael.albinus@gmx.de>
7292
7293 * vc/vc-git.el (vc-git-registered): Use cache property
7294 `git-registered'.
7295 (vc-git-mode-line-string): Call `vc-working-revision' instead of
7296 `vc-git-working-revision' in order to benefit from the cache.
2bb1ae55 7297 (vc-git-root): Use cache property `git-root'. (Bug#11757)
a40c87a0 7298
ac87de97
DG
72992012-06-30 Dmitry Gutov <dgutov@yandex.ru>
7300
7301 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
2bb1ae55 7302 removed (likely outside Emacs). (Bug#11757)
ac87de97 7303
ac10fe06
SM
73042012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
7305
3df31c9f 7306 * emacs-lisp/cl-lib.el: Require macroexp.
ac10fe06 7307
7f3fbd5d
CY
73082012-06-30 Chong Yidong <cyd@gnu.org>
7309
7310 * xml.el: Implement XML parameter entities.
7311 (xml-parameter-entity-alist): New variable.
7312 (xml-parse-region, xml-parse-fragment): Preserve previous values
7313 of xml-entity-alist and xml-parameter-entity-alist, so that
7314 repeated calls on different documents do not change them.
7315 (xml-parse-tag): Fix doctype regexp.
7316 (xml--entity-replacement-text): New function.
7317 (xml-parse-dtd): Use it. Don't handle system entities; doing that
7318 properly requires url retrieval which is unimplemented.
7319 (xml-escape-string): Doc fix.
7320
3cfbebba
SM
73212012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
7322
7323 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
7324
2af3565e
DA
73252012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
7326
7327 * fringe.el (fringe-mode): Doc fix.
7328
929df0e7
MA
73292012-06-29 Michael Albinus <michael.albinus@gmx.de>
7330
7331 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
7332 is non-nil.
7333 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
7334 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
7335
c8d3a25c 73362012-06-29 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 7337
c8d3a25c
GM
7338 * calendar/cal-dst.el (calendar-current-time-zone):
7339 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 7340
c8d3a25c 73412012-06-29 Masatake YAMATO <yamato@redhat.com>
26e8548e
MY
7342
7343 * progmodes/which-func.el (which-func-format):
7344 Add mouse-face. (Bug#11698)
7345
c8d3a25c
GM
73462012-06-29 Leo Liu <sdl.web@gmail.com>
7347
7348 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
7349
73502012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
7351
7352 * minibuffer.el (minibuffer-confirm-exit-commands):
7353 Add completion-at-point (bug#11725).
7354
73552012-06-29 Glenn Morris <rgm@gnu.org>
7356
7357 * progmodes/f90.el (f90-font-lock-keywords-2):
7358 Add some preprocessor elements. (Bug#10499)
7359
73602012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
7361
7362 * progmodes/cperl-mode.el (cperl-update-syntaxification):
7363 Use syntax-propertize (bug#11739).
7364
2badeec4
JB
73652012-06-28 Juanma Barranquero <lekktu@gmail.com>
7366
7367 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
7368
ae4969c2
JD
73692012-06-28 Julien Danjou <julien@danjou.info>
7370
7371 * term.el (term-handle-colors-array): Use a set of new faces to
7372 color the terminal. Also uses :inverse-video property.
7373 (term-default-fg-color): Set to nil by default, deprecate in favor
7374 of `term-face'.
7375 (term-default-bg-color): Set to nil by default, deprecate in favor
7376 of `term-face'.
7377 (term-current-face): Use `term-face' by default.
7378 (term-bold-attribute): Variable deleted.
7379
1c9bd870
GM
73802012-06-28 Glenn Morris <rgm@gnu.org>
7381
7382 * simple.el (completion-list-mode-finish):
7383 Don't use toggle-read-only. (Since completion-list-mode has
7384 a special mode-class, it wasn't doing anything extra anyway.)
7385
c207708c
SM
73862012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
7387
7388 Make inlining of other-mode interpreted functions work (bug#11799).
7389 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
7390 (byte-compile): Use it to fix compilation of lexical-binding closures.
7391 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
7392 function, if needed.
7393
3fd56834
SM
73942012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
7395
04901786
SM
7396 * help-mode.el (help-make-xrefs): Don't just withstand
7397 cyclic-variable-indirection but any error in documentation-property.
7398
1ec4b7b2
SM
7399 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
7400 memory use.
7401 * bindings.el (bindings--define-key): New function.
7402 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
7403 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
7404 * bindings.el: Use it to purecopy define-key bindings.
7405
e309e2a5
SM
7406 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
7407
d5c6faf9
SM
7408 * emacs-lisp/cl.el (flet): Mark obsolete.
7409 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
7410 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
7411 * progmodes/js.el (js-c-fill-paragraph):
7412 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
7413 (ebrowse-switch-member-buffer-to-derived-class):
7414 * play/5x5.el (5x5-solver): Use cl-flet.
7415
6e9590e2
SM
7416 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
7417 (cl--symbol-function): New macro.
7418 (cl--letf, cl--letf*): Use it.
7419
3fd56834
SM
7420 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
7421 Strip "toggle-" if any.
7422
35ff222c
GM
74232012-06-27 Glenn Morris <rgm@gnu.org>
7424
1ba6038a
GM
7425 * info.el (Info-default-directory-list): Move here from paths.el.
7426 * paths.el: Remove file, which is now empty.
7427 * loadup.el: No longer load "paths".
7428
0ea0e51b
GM
7429 * custom.el (custom-initialize-delay): Doc fix.
7430
35ff222c
GM
7431 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
7432 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
7433 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
7434 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
7435 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
7436 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
7437 * eshell/eshell.el (eshell-defgroup): Remove alias.
7438
c89926a5
CY
74392012-06-27 Chong Yidong <cyd@gnu.org>
7440
7441 * help.el (help-enable-auto-load): New variable.
7442
7443 * help-fns.el (help-fns--autoloaded-p): New function.
7444 (describe-function-1): Refer to a function as "autoloaded" if it
7445 was autoloaded at any time in the past. Perform autoloading if
7446 help-enable-auto-load is non-nil.
7447
cc06e7e7
EZ
74482012-06-26 Eli Zaretskii <eliz@gnu.org>
7449
7450 * makefile.w32-in (compile, compile-always): Depend on
7451 update-subdirs, not on subdirs.el. Otherwise, several different
7452 sub-targets of 'bootstrap' running in parallel could
7453 simultaneously write to subdirs.el, producing a garbled file.
7454
d2c32364
SS
74552012-06-26 Sam Steingold <sds@gnu.org>
7456
7457 * files.el (file-name-base): New convenience function.
0d14cc21
GM
7458 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
7459 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
7460 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
7461 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
7462 * textmodes/ispell.el, textmodes/reftex-ref.el:
d2c32364
SS
7463 * textmodes/tex-mode.el: Use it.
7464 Did not touch cedet and org because they are maintained elsewhere.
7465
5cf983b2
MR
74662012-06-26 Martin Rudalics <rudalics@gmx.at>
7467
7468 * calendar/calendar.el (calendar-exit): Don't try to delete or
7469 iconify last frame. See:
7470 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
7471
8c4f2952
JD
74722012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
7473
7474 * server.el (server-process-filter): Remember dir in the
7475 process's `server-client-directory' properties.
7476
772b2e2c
CY
74772012-06-24 Chong Yidong <cyd@gnu.org>
7478
7479 * xml.el (xml-parse-tag): Correctly handle comment embedded in
7480 non-tag text.
7481
711b11e1
JB
74822012-06-23 Juanma Barranquero <lekktu@gmail.com>
7483
7484 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
7485
dc5d230c
SM
74862012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
7487
7488 * help-fns.el (describe-variable): Don't croak when doc is not found.
7489 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
7490 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
7491 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
7492 * emacs-lisp/smie.el (smie-next-sexp): CSE.
7493 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
7494 ((lambda ..) ..).
7495 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
7496
136e1c1d
CY
74972012-06-23 Chong Yidong <cyd@gnu.org>
7498
e8c1cabf
CY
7499 * info.el (Info-mouse-follow-link): Accept symbol values of
7500 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
136e1c1d
CY
7501 (Info-fontify-node): Use Info-link-keymap for all navigation
7502 buttons, with link-args property to perform the desired action.
7503 (Info-link-keymap): Doc fix.
7504 (Info-next-link-keymap, Info-prev-link-keymap)
7505 (Info-up-link-keymap): Delete now-unused keymaps.
7506
0e9e6c6a
CY
75072012-06-23 Chong Yidong <cyd@gnu.org>
7508
05e89fea
CY
7509 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
7510
0e9e6c6a
CY
7511 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
7512 system abbrevs.
7513
7514 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
7515
e33c6771
SM
75162012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
7517
b68581e2
SM
7518 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
7519 (bug#11719).
7520
e33c6771
SM
7521 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
7522 the requote function doesn't work properly (bug#11714).
7523
7117e105
GM
75242012-06-23 Glenn Morris <rgm@gnu.org>
7525
7526 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
7527
36cec983
SM
75282012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
7529
7530 Further GV/CL cleanups.
7531 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
7532 gv-expander.
7533 (gv--defun-declaration): New function.
7534 (defun-declarations-alist): Use it.
7535 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
7536 (gv-place): Autoload.
7537 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
7538 original definition of dotimes and dolist.
7539 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
7540 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
7541 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
7542 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
7543 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
7544 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
7545 to the function's definition.
7546 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
7547 * window.el:
7548 * files.el:
7549 * faces.el:
7550 * env.el: Don't use CL.
7551
d35af63c
PE
75522012-06-22 Paul Eggert <eggert@cs.ucla.edu>
7553
7554 Support higher-resolution time stamps (Bug#9000).
7555
7556 * calendar/time-date.el (with-decoded-time-value): New arg
7557 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
7558 (encode-time-value): New optional arg PICO. New type 3.
7559 (time-to-seconds) [!float-time]: Support the new picoseconds
7560 component if it's used.
7561 (seconds-to-time, time-subtract, time-add):
7562 Support ps-resolution time stamps as well.
7563
7564 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
7565 (timerp): Timer vectors now have length 9, not 8.
7566 (timer--time): Support new-style (4-part) time stamps.
7567 (timer-next-integral-multiple-of-time): Time stamps now have
7568 picosecond resolution, so take a bit more care about rounding.
7569 (timer-relative-time, timer-inc-time): New optional arg psecs.
7570 (timer-set-time-with-usecs): Set psecs to 0.
7571 (timer--activate): Check psecs component, too.
7572
7573 * proced.el (proced-time-lessp): Support ps-resolution stamps.
7574
ac77b21a
SM
75752012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
7576
f143bfe3
SM
7577 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
7578 Move the non-essential binding to the post/pre-command-hook where it is
7579 more obviously correct.
7580
ac77b21a
SM
7581 * subr.el (read-passwd): Don't use a history at all.
7582 * savehist.el (savehist-save): Remove password saved accidentally
7583 because of the above bug.
7584
76386c5a
BG
75852012-06-22 Bastien Guerry <bzg@gnu.org>
7586
7587 * files.el (toggle-read-only): Display a message telling whether
7588 the buffer is read-only or not (bug#11726).
7589
2ee3d7f0
SM
75902012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
7591
7592 * emacs-lisp/gv.el: New file.
7593 * subr.el (push, pop): Extend to generalized variables.
7594 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
7595 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
7596 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
7597 gv-define-simple-setter, and gv-define-expander.
7598 Remove setf-methods defined in gv. Rename cl-setf -> setf.
7599 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
7600 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
7601 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
7602 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
7603 gv-letplace.
7604 (cl-defstruct): Don't define setf-method any more.
7605 * emacs-lisp/cl.el (flet): Don't autoload.
7606 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
7607 (define-setf-expander, defsetf, define-modify-macro)
7608 (cl-struct-setf-expander): Move from cl-lib.el.
7609 * emacs-lisp/syntax.el:
7610 * emacs-lisp/ewoc.el:
7611 * emacs-lisp/smie.el:
7612 * emacs-lisp/cconv.el:
7613 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
7614 (timer--time): Use gv-define-simple-setter.
7615 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
7616 to avoid coding-system problems in subr.el. Adjust all users.
7617 (macroexp--maxsize, macroexp-small-p): New functions.
7618 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
7619 * scroll-bar.el (scroll-bar-mode):
7620 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
7621 (normal-erase-is-backspace-mode): Don't use the `eq' place.
7622 * winner.el (winner-configuration, winner-make-point-alist)
7623 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
7624 * files.el (locate-file-completion-table): Avoid list*.
7625
c5695d1d
CY
76262012-06-22 Chong Yidong <cyd@gnu.org>
7627
7628 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
7629 (dired-create-files): Doc fix (Bug#11329).
7630 (dired-do-copy): Doc fix (Bug#11334).
7631 (dired-mark-read-string): Doc fix (Bug#11553).
7632
2ee3d7f0
SM
7633 * dired.el (dired-recursive-copies, dired-recursive-deletes):
7634 Doc fix (Bug#11326).
c5695d1d
CY
7635 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
7636 (dired-dwim-target): Doc fix.
7637
7638 * wdired.el (wdired-mode): Doc fix.
7639
89b5595a
GM
76402012-06-22 Glenn Morris <rgm@gnu.org>
7641
575db3f1
GM
7642 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
7643 (pcmpl-rpm-cache-stamp-file): New constant.
7644 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
7645 (pcmpl-rpm-packages): Optionally cache list of packages.
7646
a4c8dd51
GM
7647 * pcmpl-rpm.el (pcmpl-rpm): New group.
7648 (pcmpl-rpm-query-options): New option.
7649 (pcmpl-rpm-packages): No need to inline it.
7650 Use pcmpl-rpm-query-options.
7651
89b5595a
GM
7652 * calendar/calendar.el (calendar-in-read-only-buffer):
7653 Avoid some needless mode changes.
7654
e76f0800
CY
76552012-06-21 Chong Yidong <cyd@gnu.org>
7656
7657 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
7658 (desktop-path): Remove . from the default value (Bug#10977).
6b67c0d4 7659 (desktop-read): Use user-emacs-directory if desktop-path is nil.
e76f0800 7660
297a8f1d
CY
76612012-06-20 Chong Yidong <cyd@gnu.org>
7662
7663 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
7664
d34c18b1
DR
76652012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
7666
7667 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
7668 (bug#11201).
7669
32f7f28e
CY
76702012-06-20 Chong Yidong <cyd@gnu.org>
7671
7672 * term.el (term-window-width): Handle the case of a missing right
7673 fringe (Bug#8837).
7674 (term-check-size): Use window-text-height (Bug#5445).
d34c18b1
DR
7675 (term-mode): Use define-derived-mode. Minor cleanups.
7676 Set font-lock-defaults (Bug#7692).
6ff7caa8
CY
7677 (term-move-columns, term-insert-char, term-emulate-terminal)
7678 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
32f7f28e 7679
493c6688
MA
76802012-06-20 Michael Albinus <michael.albinus@gmx.de>
7681
d34c18b1
DR
7682 * net/ange-ftp.el (ange-ftp-get-passwd):
7683 Bind `enable-recursive-minibuffers'.
493c6688
MA
7684 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
7685
3f06ecf4
DR
76862012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
7687
7688 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
7689
68f12411
GM
76902012-06-19 Glenn Morris <rgm@gnu.org>
7691
7692 * progmodes/python.el (python-mode): Derive from prog-mode.
7693
b3820318
KG
76942012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
7695
7696 * emulation/edt.el (edt-default-menu-bar-update-buffers)
7697 (edt-user-menu-bar-update-buffers): New functions.
7698 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
7699
c6bf3022
CY
77002012-06-19 Chong Yidong <cyd@gnu.org>
7701
7702 * subr.el (with-selected-window): Preserve the selected window's
7703 terminal's top-frame (Bug#4702).
7704
7705 * window.el (save-selected-window): Likewise.
7706
25f09295
SM
77072012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
7708
7709 * progmodes/python.el (python-rx-constituents): Move backquote.
7710 (python-skeleton-define, python-define-auxiliary-skeleton):
7711 Use `declare'.
7712
6b11952a
MA
77132012-06-18 Michael Albinus <michael.albinus@gmx.de>
7714
7715 * minibuffer.el (read-file-name-default): Revert the patch from
7716 2012-06-17.
7717
ee4b1330
SM
77182012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
7719
7720 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
7721 (pcase--u1, pcase--q1): Don't use apply-partially.
7722
35647f79
GM
77232012-06-18 Glenn Morris <rgm@gnu.org>
7724
7725 * progmodes/python.el (python-proc, python-buffer)
7726 (python-send-receive, python-send-string): Fix obsolete versions.
7727
24b0cff0
MR
77282012-06-18 Martin Rudalics <rudalics@gmx.at>
7729
7730 * window.el (special-display-p): Completely remove stringp
7731 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
7732
29855149
MA
77332012-06-17 Michael Albinus <michael.albinus@gmx.de>
7734
7735 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
7736
7737 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
7738
7739 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
7740 * net/tramp-sh.el (tramp-maybe-open-connection):
7741 Throw if `non-essential' is non-nil.
7742
07463363
MR
77432012-06-17 Martin Rudalics <rudalics@gmx.at>
7744
7745 * window.el (special-display-p): Signal an error if BUFFER-NAME
7746 is not a string (Bug#11713).
7747
48d1354e
PE
77482012-06-17 Paul Eggert <eggert@cs.ucla.edu>
7749
7750 * progmodes/python.el (python-info-beginning-of-backslash):
7751 Rename from python-info-beginning-of-backlash, as a spelling fix.
7752
eb4a8a9a
CY
77532012-06-17 Chong Yidong <cyd@gnu.org>
7754
7755 * term.el (term-emulate-terminal): If term-check-size is called,
7756 move point to the process mark without resetting point (Bug#4635).
7757
ddfbf826 77582012-06-17 Glenn Morris <rgm@gnu.org>
9c758578
GM
7759
7760 * international/mule-cmds.el (mule-menu-keymap)
7761 (set-language-environment, set-locale-environment): Doc tweaks.
7762
9b0e3eba
AA
77632012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
7764
7765 * cus-face.el (custom-face-attributes): Add wave-style underline
7766 attribute.
7767 * faces.el (set-face-attribute): Update docstring to describe
7768 wave-style underline attribute.
7769
771e3eae
CY
77702012-06-16 Chong Yidong <cyd@gnu.org>
7771
7772 * term/xterm.el (terminal-init-xterm): Discard input before
7773 querying background mode (Bug#10959).
7774
7ae2ea10
SM
77752012-06-16 Stefan Merten <smerten@oekonux.de>
7776
7777 * textmodes/rst.el: Added and corrected some comments.
7778 (rst-re-alist-def): Improve symbol syntax.
7779 (rst-mode-syntax-table): Correct syntax entries.
6665a6fd
SM
7780 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
7781 (rst-official-version, rst-official-cvs-rev): Update version
7782 information.
7ae2ea10 7783
b6974efa
JB
77842012-06-15 Juanma Barranquero <lekktu@gmail.com>
7785
7786 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
7787 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
7788
8826d473
GM
77892012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
7790
7791 * progmodes/python.el: New python.el merge.
7792 (python-guess-indent): Obsolete var.
7793 (python-indent-guess-indent-offset): New defcustom.
7794 (python-indent): Obsolete var.
7795 (python-indent-offset): New defcustom.
7796 (python-python-command, python-jython-command): Delete var.
7797 (python-shell-interpreter): New defcustom.
7798 (python-pdbtrack-do-tracking-p): Delete var.
7799 (python-pdbtrack-activate): New defcustom.
7800 (python-use-skeletons): Obsolete var.
7801 (python-skeleton-autoinsert): New defcustom.
7802 (inferior-python-filter-regexp, python-continuation-offset)
7803 (python-honour-comment-indentation, python-indent-string-contents)
7804 (python-jython-packages, python-mode-hook)
7805 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
7806 (python-shell-prompt-alist)
7807 (python-source-modes): Delete defcustoms.
7808 (python-check-buffer-name, python-eldoc-setup-code)
7809 (python-eldoc-string-code, python-ffap-setup-code)
7810 (python-ffap-string-code, python-fill-comment-function)
7811 (python-fill-decorator-function, python-fill-paren-function)
7812 (python-fill-string-function, python-imenu-include-defun-type)
7813 (python-imenu-make-tree, python-imenu-subtree-root-label)
7814 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
7815 (python-shell-compilation-regexp-alist)
7816 (python-shell-completion-module-string-code)
7817 (python-shell-completion-pdb-string-code)
7818 (python-shell-completion-setup-code)
7819 (python-shell-completion-string-code)
7820 (python-shell-enable-font-lock, python-shell-exec-path)
7821 (python-shell-extra-pythonpaths)
7822 (python-shell-internal-buffer-name, python-shell-interpreter-args)
7823 (python-shell-process-environment)
7824 (python-shell-prompt-block-regexp)
7825 (python-shell-prompt-output-regexp)
7826 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
7827 (python-shell-send-setup-max-wait, python-shell-setup-codes)
7828 (python-shell-virtualenv-path): New defcustoms.
7829 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
7830 (inferior-python-mode-syntax-table, python--prompt-regexp)
7831 (python-buffer, python-command python-python-command)
7832 (python-default-template, python-imports, python-indent-index)
7833 (python-indent-list, python-indent-list-length)
7834 (python-mode-running, python-pdbtrack-is-tracking-p)
7835 (python-preoutput-continuation, python-preoutput-leftover)
7836 (python-preoutput-result, python-preoutput-skip-next-prompt)
7837 (python-prev-dir/file, python-recursing)
7838 (python-saved-check-command, python-version-checked)
7839 (python-which-func-length-limit)
7840 (view-return-to-alist): Delete vars.
7841 (python-check-custom-command, python-dotty-syntax-table)
7842 (python-imenu-index-alist, python-indent-current-level)
7843 (python-indent-dedenters, python-indent-levels)
7844 (python-nav-beginning-of-defun-regexp)
7845 (python-nav-list-defun-positions-cache)
7846 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
7847 (python-shell-internal-buffer)
7848 (python-skeleton-available): New vars.
7849 (def-python-skeleton): Delete macro.
7850 (python-skeleton-define): New macro.
7851 (python-define-auxiliary-skeleton, python-rx): New macros.
7852 (python-insert-class): Delete command.
7853 (python-skeleton-class): New command.
7854 (python-insert-def): Delete command.
7855 (python-skeleton-def): New command.
7856 (python-insert-for): Delete command.
7857 (python-skeleton-for): New command.
7858 (python-insert-if): Delete command.
7859 (python-skeleton-if): New command.
7860 (python-insert-try/except, python-insert-try/finally): Delete commands.
7861 (python-skeleton-try): New command.
7862 (python-insert-while): Delete command.
7863 (python-skeleton-while): New command.
7864 (python-backspace): Delete command.
7865 (python-indent-dedent-line-backspace): New command.
7866 (python-electric-colon): Delete command.
7867 (python-indent-electric-colon): New command.
7868 (python-guess-indent): Delete command.
7869 (python-indent-guess-indent-offset): New command.
7870 (python-shift-left): Delete command.
7871 (python-indent-shift-left): New command.
7872 (python-shift-right): Delete command.
7873 (python-indent-shift-right): New command.
7874 (python-find-function): Delete command.
7875 (python-nav-jump-to-defun): New command.
7876 (python-next-statement): Delete command.
7877 (python-nav-forward-sentence): New command.
7878 (python-previous-statement): Delete command.
7879 (python-nav-backward-sentence): New command.
7880 (python-fill-paragraph): Delete command.
7881 (python-fill-paragraph-function): New command.
7882 (python-send-buffer): Delete command.
7883 (python-shell-send-buffer): New command.
7884 (python-send-defun): Delete command.
7885 (python-shell-send-defun): New command.
7886 (python-send-region, python-send-region-and-go): Delete commands.
7887 (python-shell-send-region)
7888 (python-shell-switch-to-shell): New commands.
7889 (python-send-string): Delete command.
7890 (python-shell-send-string): New command.
7891 (python-switch-to-python): Delete command.
7892 (python-shell-switch-to-shell): New command.
7893 (python-describe-symbol): Delete command.
7894 (python-eldoc-at-point): New command.
7895 (python--set-prompt-regexp, python-args-to-list)
7896 (python-after-info-look, python-check-version)
7897 (python-check-comint-prompt, python-find-imports)
7898 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
7899 (python-unload-function, python-expand-template)
7900 (python-maybe-jython, python-preoutput-filter)
7901 (python-pdbtrack-get-source-buffer)
7902 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
7903 (python-pdbtrack-toggle-stack-tracking)
7904 (python-pdbtrack-track-stack-file, python-initial-text)
7905 (python-first-word, python-comment-line-p, python-send-command)
7906 (python-setup-brm, python-sentinel, python-set-proc)
7907 (python-skip-out, python-input-filter, python-outdent-p)
7908 (python-outline-level, python-backslash-continuation-line-p)
7909 (python-end-of-block, python-end-of-statement, python-mark-block)
7910 (python-beginning-of-block, python-beginning-of-statement)
7911 (python-blank-line-p, python-beginning-of-string)
7912 (python-open-block-statement-p): Delete functions.
7913 (python-indent-line, python-indent-line-1): Delete functions.
7914 (python-indent-line): New function.
7915 (python-indentation-levels): Delete function.
7916 (python-indent-calculate-levels): New function.
7917 (python-proc): Delete function.
7918 (python-shell-get-process): New function.
7919 (python-send-receive): Delete function.
7920 (python-shell-send-string-no-output): New function.
7921 (python-module-path): Delete function.
7922 (python-ffap-module-path): New function.
7923 (python-completion-at-point)
7924 (python-symbol-completions): Delete functions.
7925 (python-completion-complete-at-point): New function.
7926 (python-load-file): Delete function.
7927 (python-shell-send-file): New function.
7928 (python-calculate-indentation): Delete function.
7929 (python-indent-calculate-indentation): New function.
7930 (python-skip-comments/blanks): Delete function.
7931 (python-util-forward-comment): New function.
7932 (python-continuation-line-p): Delete function.
7933 (python-info-continuation-line-p): New function.
7934 (python-which-func, python-current-defun): Delete function.
7935 (python-info-current-defun): New function.
7936 (python-beginning-of-defun): Delete function.
7937 (python-nav-beginning-of-defun): New function.
7938 (python-close-block-statement-p)
7939 (python-block-end-p): Delete function.
7940 (python-info-closing-block): New function.
7941 (python-comint-output-filter-function)
7942 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
7943 (python-fill-comment, python-fill-decorator, python-fill-paren)
7944 (python-fill-string, python-imenu-make-element-tree)
7945 (python-imenu-make-tree, python-imenu-tree-assoc)
7946 (python-indent-context, python-indent-dedent-line)
7947 (python-indent-line-function)
7948 (python-indent-post-self-insert-function)
7949 (python-indent-toggle-levels)
7950 (python-info-assignment-continuation-line-p)
7951 (python-info-beginning-of-backlash)
7952 (python-info-block-continuation-line-p)
7953 (python-info-closing-block-message)
7954 (python-info-line-ends-backslash-p)
7955 (python-info-looking-at-beginning-of-defun)
7956 (python-info-ppss-context, python-info-ppss-context-type)
7957 (python-nav-list-defun-positions, python-nav-read-defun)
7958 (python-nav-sentence-end, python-nav-sentence-start)
7959 (python-pdbtrack-comint-output-filter-function)
7960 (python-pdbtrack-set-tracked-buffer)
7961 (python-shell-calculate-exec-path)
7962 (python-shell-calculate-process-environment)
7963 (python-shell-completion--do-completion-at-point)
7964 (python-shell-completion--get-completions)
7965 (python-shell-completion-complete-at-point)
7966 (python-shell-completion-complete-or-indent)
7967 (python-shell-get-or-create-process)
7968 (python-shell-get-process-name)
7969 (python-shell-internal-get-or-create-process)
7970 (python-shell-internal-get-process-name)
7971 (python-shell-internal-send-string, python-shell-make-comint)
7972 (python-shell-parse-command, python-shell-send-setup-code)
7973 (python-skeleton-add-menu-items)
7974 (python-util-clone-local-variables, python-util-position)
7975 (run-python-internal, python-indentation-levels)
7976 (python-nav-beginning-of-defun)
7977 (python-completion-complete-at-point): New functions.
7978 (run-python): Change arguments. New API requirements.
7979
4302f5ba
SM
79802012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
7981
f38ea36d
SM
7982 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
7983 (bug#11649).
7984
7985 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
7986 (macroexp--expand-all): Use it.
7987
4302f5ba
SM
7988 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
7989 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
7990 Use `cl-function' instead.
7991
33377562
JB
79922012-06-14 Juanma Barranquero <lekktu@gmail.com>
7993
7994 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
7995 Suggested by Stefan Monnier while discussing bug#11657.
7996
54c5ba1a
SS
79972012-06-14 Sam Steingold <sds@gnu.org>
7998
7999 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
8000
f9f1b1fe
AS
80012012-06-14 Andreas Schwab <schwab@linux-m68k.org>
8002
8003 * play/doctor.el (doctor-doc): Remove parameter and use
8004 doctor-sent instead of sent.
8005 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
8006
a81068ba
SM
80072012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
8008
5a315f9c
SM
8009 * files.el: Require cl-lib.
8010 (file-name-non-special): Replace case -> cl-case.
8011
8012 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
8013
a81068ba
SM
8014 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
8015 mapping from #' to function*.
8016
8cca9703
CY
80172012-06-13 Chong Yidong <cyd@gnu.org>
8018
8019 * mouse.el (mouse-drag-track): Do not set the mark if the user
8020 releases the mouse without selecting anything (Bug#11588).
8021
a12ac9d7
SM
80222012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
8023
ccf1dc18
SM
8024 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
8025 as well (bug#11646).
8026
ef62b23d
SM
8027 * loadup.el: Count byte-code functions as well.
8028
c4c8444a
SM
8029 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
8030 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
8031
a12ac9d7
SM
8032 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
8033 (bug#11649). Add cl-defun and cl-defmacro.
8034
87e6e64f
DA
80352012-06-13 Drew Adams <drew.adams@oracle.com>
8036
8037 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
8038 Fix last change.
8039
682cefaf
MA
80402012-06-13 Michael Albinus <michael.albinus@gmx.de>
8041
8042 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
8043 Otherwise, it blocks in batch mode.
8044
773e1f08
JB
80452012-06-13 Juanma Barranquero <lekktu@gmail.com>
8046
8047 * help-mode.el (bookmark-make-record-default): Declare.
8048
60057926
CY
80492012-06-13 Chong Yidong <cyd@gnu.org>
8050
8051 * emacs-lisp/package.el (list-packages): Compute a list of
8052 packages that are newly-available since the last list-packages
8053 invocation.
8054 (package-menu--new-package-list): New var.
8055 (package-menu--generate, package-menu--print-info)
8056 (package-menu--status-predicate, package-menu-mark-install):
8057 Handle new status label "new".
8058
ad4d226c
SM
80592012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
8060
8061 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
8062 conversion to backquotes.
8063
f1a4e679
CY
80642012-06-12 Chong Yidong <cyd@gnu.org>
8065
8066 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
8067 Rename from gud-inhibit-global-bindings.
8068
8069 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
8070
8071 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
8072 hook from nxml-glyph-set-hook.
8073
8074 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
8075 declaration.
8076
8077 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
8078
8079 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
8080 Convert to defcustom.
8081
0c9e42b5
DA
80822012-06-12 Drew Adams <drew.adams@oracle.com>
8083
8084 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
8085 New functions.
8086 (help-mode): Use them.
8087
09e06855
GM
80882012-06-11 Glenn Morris <rgm@gnu.org>
8089
8090 * progmodes/fortran.el (fortran-font-lock-keywords-3):
8091 Use preprocessor face for directives.
8092 (fortran-directive-re): Doc fix.
8093
71adb94b
SM
80942012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
8095
2eb87922
SM
8096 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
8097 conversion to backquotes (bug#11652).
8098
71adb94b
SM
8099 Fix compiler-expansion of CL's cXXr functions (bug#11673).
8100 * emacs-lisp/cl-lib.el (cl--defalias): New function.
8101 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
8102 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
8103 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
8104 (cl-ninth, cl-tenth): Mark them as inlinable.
8105 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
8106 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
8107 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
8108 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
8109 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
8110 (cl-list*, cl-adjoin): Don't put an autoload manually.
8111 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
8112 (cl--compiler-macro-list*): Add autoload cookie.
8113 (cl--compiler-macro-cXXr): New function.
2eb87922 8114
71adb94b
SM
8115 * help-fns.el (help-fns--compiler-macro): New function extracted from
8116 describe-function-1; follow aliases and use `compiler-macro' property.
8117 (describe-function-1): Use it.
8118
a6674402
CY
81192012-06-11 Chong Yidong <cyd@gnu.org>
8120
8121 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
8122 is uninstalled, if imagemagick is installed.
8123
bb3faf5b
SM
81242012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
8125
8126 * emacs-lisp/cl-lib.el: Use lexical-binding.
8127 (cl-map-extents, cl-maclisp-member): Remove.
8128 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
8129 (cl--set-substring, cl--block-wrapper, cl--block-throw)
8130 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
8131 * emacs-lisp/cl-extra.el: Use lexical-binding.
8132 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
8133 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
8134 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
8135 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
8136 * emacs-lisp/cl-seq.el: Use lexical-binding.
8137 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
8138 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
8139 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
8140 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
8141 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
8142 CL's internals.
8143
2fe4b125
MA
81442012-06-11 Michael Albinus <michael.albinus@gmx.de>
8145
8146 Sync with Tramp 2.2.6-pre.
8147
8148 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
8149 `print-length' and `print-level' to nil, in order to avoid
8150 truncation. Reported by Christopher Schmidt
8151 <christopher@ristopher.com>.
8152
8153 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
8154
8155 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
8156 New defmacro.
8157 (tramp-compat-copy-directory): Add optional argument
8158 COPY-CONTENTS. It is not handled yet.
8159
8160 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
8161 (tramp-ftp-file-name-p): Simplify.
8162
8163 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
8164 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
8165 connection vector.
8166
8167 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
8168 (tramp-methods): Do not use `tramp-password-end-of-line'.
8169 (tramp-completion-function-alist-putty): Handle UNIX case.
8170 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
8171 (tramp-do-file-attributes-with-stat)
8172 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
8173 gid as real numbers. They could run out of integer range on cygwin.
8174 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
8175 (tramp-sh-handle-expand-file-name): Handle hops.
87e6e64f
DA
8176 (tramp-open-connection-setup-interactive-shell):
8177 Use `tramp-cleanup'. Move check for busyboxes ...
8178 (tramp-find-shell): ... here. Simplify implementation.
8179 Set "remote-shell" property also for alternative shells.
8180 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
8181 If failing, a regular file would be written otherwise.
8182 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
2fe4b125
MA
8183 (tramp-find-inline-encoding): Cache the coding commands in the
8184 process cache. Apply test command on the remote side, if defined.
8185 (tramp-find-inline-compress): Cache the compress commands in the
8186 process cache.
8187 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
8188 when requested. Handle hops.
8189 (tramp-current-connection): New defvar.
87e6e64f
DA
8190 (tramp-maybe-open-connection): Use `tramp-cleanup'.
8191 Throw `suppress', if there was a failed connection shortly before.
2fe4b125 8192 Handle user interrupt. (Bug#10187)
87e6e64f
DA
8193 (tramp-get-inline-compress, tramp-get-inline-coding):
8194 Read connection properties from the process cache.
2fe4b125
MA
8195
8196 * net/tramp-smb.el (tramp-smb-server-version)
87e6e64f
DA
8197 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
8198 New defconsts.
2fe4b125
MA
8199 (tramp-smb-prompt): Extend for powershell prompt.
8200 (tramp-smb-file-name-handler-alist): Add handlers for
8201 `process-file', `shell-command' and `start-file-process'.
8202 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
8203 (tramp-smb-winexe-shell-command-switch): New defcustoms.
8204 (tramp-smb-file-name-p): Simplify.
8205 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
8206 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
8207 (tramp-smb-shell-quote-argument): New defuns.
8208 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
8209 Implement using "tar". By this, time-stamps are preserved.
8210 (tramp-smb-handle-copy-file): Handle also the case of directories.
8211 (tramp-smb-do-file-attributes-with-stat)
87e6e64f
DA
8212 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
8213 Use `tramp-get-connection-buffer').
2fe4b125
MA
8214 (tramp-smb-handle-rename-file): Use "rename", when source and
8215 target are on the same share.
87e6e64f
DA
8216 (tramp-smb-maybe-open-connection): Handle wrong passwords.
8217 Use `tramp-smb-server-version'.
2fe4b125
MA
8218 (tramp-smb-wait-for-output): Remove prompt.
8219
8220 * net/tramp.el (top): Require 'cl.
87e6e64f
DA
8221 (tramp-methods, tramp-rsh-end-of-line):
8222 Remove `tramp-password-end-of-line' from docstring.
2fe4b125
MA
8223 (tramp-save-ad-hoc-proxies): New defcustom.
8224 (tramp-completion-function-alist): Adapt docstring.
8225 (tramp-default-password-end-of-line): Remove defcustom.
8226 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
8227 (tramp-user-regexp, tramp-file-name-regexp-unified)
8228 (tramp-file-name-regexp-url): Extend regexp by hop separator.
8229 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
8230 (tramp-remote-file-name-spec-regexp): New defconst.
8231 (tramp-file-name-structure): Extend structure for hops.
8232 (tramp-get-method-parameter): Move up.
8233 (tramp-file-name-p, tramp-dissect-file-name)
8234 (with-parsed-tramp-file-name): Handle hops.
8235 (tramp-file-name-hop): New defun.
8236 (tramp-make-tramp-file-name): New optional arg HOP.
8237 (tramp-message-show-progress-reporter-message): New defvar.
8238 (tramp-with-progress-reporter): Use it. We cannot use
8239 `tramp-message-show-message' here, because this suppresses also
8240 error buffers.
8241 (tramp-error-with-buffer): Suppress buffer view, if
87e6e64f
DA
8242 `tramp-message-show-message' is nil.
8243 Use `tramp-get-connection-buffer'.
2fe4b125
MA
8244 (tramp-cleanup): New defun.
8245 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
8246 (tramp-file-name-handler): If `debug-on-error' is set, propagate
8247 an error unchanged.
8248 (tramp-completion-handle-file-name-all-completions): Handle hops.
8249 Fix an error when called from ido.
8250 (tramp-completion-dissect-file-name): Use better local variable
8251 name. Add hop to the vector.
8252 (tramp-handle-insert-file-contents): Use progress-reporter for the
8253 whole scenario.
8254 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
8255 to `t'.
8256 (tramp-check-for-regexp): Simplify search.
8257 (tramp-enter-password): Remove it. Move implementation ...
8258 (tramp-action-password): ... here.
8259 (tramp-mode-string-to-int, tramp-local-host-p)
8260 (tramp-make-tramp-temp-file, tramp-read-passwd)
87e6e64f
DA
8261 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
8262 Set tramp-autoload cookie.
2fe4b125
MA
8263
8264 * net/trampver.el: Update release number.
8265
82662012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8267 Michael Albinus <michael.albinus@gmx.de>
8268
8269 * net/tramp.el (tramp-set-completion-function): Fix docstring.
8270 (tramp-parse-group, tramp-parse-file)
8271 (tramp-parse-shostkeys-sknownhosts): New defuns.
8272 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
8273 (tramp-parse-shosts-group, tramp-parse-sconfig)
8274 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
8275 (tramp-parse-sknownhosts, tramp-parse-hosts)
8276 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
8277 Use them.
8278 (tramp-parse-passwd-group, tramp-parse-netrc-group)
8279 (tramp-parse-putty-group): Don't narrow.
8280 (tramp-parse-putty): Make a loop.
8281 (tramp-file-name-handler): Catch the `suppress' signal.
8282
72834e10
CY
82832012-06-11 Chong Yidong <cyd@gnu.org>
8284
8285 * image.el (imagemagick-register-types): Put the ImageMagick entry
8286 at the end of image-type-file-name-regexps.
8287
a4712e11
JB
82882012-06-11 Johan Bockgård <bojohan@gnu.org>
8289
8290 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
8291 (pcase, pcase-let*, pcase-dolist): Use them.
8292
82ad98e3
SM
82932012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
8294
8295 * emacs-lisp/pcase.el (pcase--let*): New function.
8296 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
8297 (pcase--expand): Use macroexp-let².
8298
f80efb86
SM
82992012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
8300
8301 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
8302 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
8303 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
8304 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
8305 * emacs-lisp/derived.el: Use pcase instead of `cl'.
8306 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
8307
31ca4639 83082012-06-10 Glenn Morris <rgm@gnu.org>
94f0aa34 8309
31ca4639
CY
8310 * mail/rmail.el (rmail-yank-current-message): Leave point at
8311 correct position. (Bug#11660)
94f0aa34 8312
31ca4639 83132012-06-10 Chong Yidong <cyd@gnu.org>
9e1b8ec4 8314
31ca4639 8315 * allout-widgets.el: Fix code header.
9e1b8ec4 8316
31ca4639 83172012-06-10 Chong Yidong <cyd@gnu.org>
00cd0305 8318
f80efb86
SM
8319 * cus-edit.el (customize-changed-options-previous-release):
8320 Bump to 24.1.
31ca4639 8321
642b6d30
AS
83222012-06-09 Andreas Schwab <schwab@linux-m68k.org>
8323
8324 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
8325
4f5d2ba1
CY
83262012-06-09 Chong Yidong <cyd@gnu.org>
8327
8328 * ebuff-menu.el (electric-buffer-list): Preserve header line.
8329
e75852fd
MR
83302012-06-09 Martin Rudalics <rudalics@gmx.at>
8331
8332 * window.el (special-display-popup-frame): Don't use
8333 window--display-buffer (Bug#11651).
8334
1e48e282
EZ
83352012-06-09 Eli Zaretskii <eliz@gnu.org>
8336
8a26b487
EZ
8337 Fix parallel builds: make sure loaddefs.el is not being written
8338 while Lisp files are compiled.
8339 (compile): Don't depend on 'mh-autoloads'.
8340 (compile-CMD, compile-SH): Depend on 'autoloads'.
8341 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
8342
1e48e282
EZ
8343 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
8344
6175e34b
CY
83452012-06-09 Chong Yidong <cyd@gnu.org>
8346
8347 * face-remap.el (face-remap-add-relative, face-remap-set-base)
8348 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
8349 Doc fixes (Bug#11225).
8350
d9857e53
SM
83512012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
8352
8353 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
8354 a function if there's a clear indication that it has a compiler-macro.
8355 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
8356 (macro-declarations-alist): Add arglist to declaration functions.
8357 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
8358 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
8359 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
8360 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
8361 Also add autoload to find the compiler macro.
8362 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
8363 (cl--compiler-macro-member, cl--compiler-macro-assoc)
8364 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
8365 (cl--compiler-macro-get): New functions, replacing calls to
8366 cl-define-compiler-macro.
8367 (cl-typep) [compiler-macro]: Use macroexp-let².
8368
f81298f8 83692012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
ee574791
UJ
8370
8371 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
8372 string properly, fixes Bug#11473.
8373
4b56d0fe
CY
83742012-06-08 Chong Yidong <cyd@gnu.org>
8375
8376 * faces.el (set-face-attribute): Doc fix.
8377 (modify-face): Don't use :bold and :italic.
8378 (error, warning, success): Tweak definitions.
8379
8380 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
8381 (custom-modified, custom-set, custom-changed, custom-themed)
8382 (custom-saved, custom-button, custom-button-mouse)
8383 (custom-button-pressed, custom-state, custom-comment-tag)
8384 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
8385 (custom-group-subtitle): Use new-style face specs.
8386 (custom-invalid-face, custom-rogue-face, custom-modified-face)
8387 (custom-set-face, custom-changed-face, custom-saved-face)
8388 (custom-button-face, custom-button-pressed-face)
8389 (custom-documentation-face, custom-state-face)
8390 (custom-comment-face, custom-comment-tag-face)
8391 (custom-variable-tag-face, custom-variable-button-face)
8392 (custom-face-tag-face, custom-group-tag-face-1)
8393 (custom-group-tag-face): Remove obsolete face alias.
8394
8395 * epa.el (epa-validity-high, epa-validity-medium)
8396 (epa-validity-low, epa-mark, epa-field-name, epa-string)
8397 (epa-field-name, epa-field-body):
8398 * font-lock.el (font-lock-comment-face, font-lock-string-face)
8399 (font-lock-keyword-face, font-lock-builtin-face)
8400 (font-lock-function-name-face, font-lock-variable-name-face)
8401 (font-lock-type-face, font-lock-constant-face):
8402 * ido.el (ido-first-match, ido-only-match, ido-subdir)
8403 (ido-virtual, ido-indicator, ido-incomplete-regexp):
8404 * speedbar.el (speedbar-button-face, speedbar-file-face)
8405 (speedbar-directory-face, speedbar-tag-face)
8406 (speedbar-selected-face, speedbar-highlight-face)
8407 (speedbar-separator-face):
8408 * whitespace.el (whitespace-newline, whitespace-space)
8409 (whitespace-hspace, whitespace-tab, whitespace-trailing)
8410 (whitespace-line, whitespace-space-before-tab)
8411 (whitespace-space-after-tab, whitespace-indentation)
8412 (whitespace-empty):
8413 * emulation/cua-base.el (cua-global-mark):
8414 * eshell/em-prompt.el (eshell-prompt):
8415 * net/newst-plainview.el (newsticker-new-item-face)
8416 (newsticker-old-item-face, newsticker-immortal-item-face)
8417 (newsticker-obsolete-item-face, newsticker-date-face)
8418 (newsticker-statistics-face, newsticker-default-face):
8419 * net/newst-reader.el (newsticker-feed-face)
8420 (newsticker-extra-face, newsticker-enclosure-face):
8421 * net/newst-treeview.el (newsticker-treeview-face)
8422 (newsticker-treeview-new-face, newsticker-treeview-old-face)
8423 (newsticker-treeview-immortal-face)
8424 (newsticker-treeview-obsolete-face)
8425 (newsticker-treeview-selection-face):
8426 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
8427 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
8428 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
8429 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
8430 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
8431 (nxml-outline-active-indicator, nxml-outline-ellipsis):
8432 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
8433 (mpuz-text):
8434 * progmodes/vera-mode.el (vera-font-lock-number)
8435 (vera-font-lock-function, vera-font-lock-interface):
8436 * textmodes/table.el (table-cell): Use new-style face specs, and
8437 don't use the old :bold and :italic attributes.
8438
8439 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
8440 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
8441 (ebrowse-member-class, ebrowse-progress): Likewise.
8442 (ebrowse-tree-mark-face, ebrowse-root-class-face)
8443 (ebrowse-file-name-face, ebrowse-default-face)
8444 (ebrowse-member-attribute-face, ebrowse-member-class-face)
8445 (ebrowse-progress-face): Remove obsolete faces.
8446
8447 * progmodes/flymake.el (flymake-errline, flymake-warnline):
8448 Inherit from error and warning faces respectively.
8449
8450 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
8451 Likewise.
f80efb86
SM
8452 (flyspell-incorrect-face, flyspell-duplicate-face):
8453 Remove obsolete aliases.
4b56d0fe 8454
03310646
MA
84552012-06-08 Michael Albinus <michael.albinus@gmx.de>
8456
8457 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
8458 Avoid infloop.
8459
513749ee
SM
84602012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
8461
8462 * startup.el (argv, argi): Make lexically scoped.
8463 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
8464 * emacs-lisp/cl-macs.el: Use lexical-binding.
8465 Rename cl-bind-* to cl--bind-*.
8466 * files.el: Don't require `cl' since it doesn't use it.
8467 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
8468
595ef4ad
JB
84692012-06-08 Juanma Barranquero <lekktu@gmail.com>
8470
8471 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
8472 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
8473 instead of calling external sort utility.
8474 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
8475
e9f66fcb
EZ
84762012-06-08 Eli Zaretskii <eliz@gnu.org>
8477
8478 * descr-text.el (describe-char): Mention how to insert the
8479 character, if the current input method doesn't support it.
8480 See the discussion in this thread for the details:
8481 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
8482
3d10db47
SS
84832012-06-08 Sam Steingold <sds@gnu.org>
8484
8485 * bindings.el (global-map): Bind XF86Forward to next-buffer and
8486 XF86Back to previous-buffer.
8487 (minibuffer-local-map): Bind them to next-history-element and
8488 previous-history-element respectively.
8489 * help-mode.el (help-mode-map): Bind them to help-go-forward and
8490 help-go-back respectively.
8491 * info.el (Info-mode-map): Bind them to Info-history-forward and
8492 Info-history-back respectively.
8493 These are the keys next to Up on the ThinkPad keyboard.
8494
de7e2b36
SM
84952012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
8496
8497 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
8498 * emacs-lisp/cl-macs.el: Provide itself.
8499 (cl--labels-convert-cache): New var.
8500 (cl--labels-convert): New function.
8501 (cl-flet, cl-labels): New implementation with new semantics, relying on
8502 lexical-binding.
8503 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
8504 (cl-closure-vars, cl--function-convert-cache)
8505 (cl--function-convert): Move from cl-macs.el.
8506 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
8507 rename by removing the "cl-" prefix.
8508 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
8509
6fa6c4ae
SM
85102012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
8511
8512 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
8513 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
8514 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
8515 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
8516 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
8517 (cl-hash-table-count): Add old compatibility aliases.
8518
8519 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
8520 Use macroexpand-all-environment instead.
8521 (cl--old-macroexpand): New var.
8522 (cl--sm-macroexpand): New function.
8523 (cl-symbol-macrolet): Use it during macro expansion.
8524 (cl--function-convert-cache): New var.
8525 (cl--function-convert): New function, extracted from
8526 cl-macroexpand-all.
8527 (cl-lexical-let): Use it.
8528
8529 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
8530 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
8531 (cl-member): Remove old alias.
8532
8533 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
8534 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
8535 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
8536 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
8537 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
8538 (cl-macroexpand-cmacs): Remove var.
8539 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
8540 Use macroexpand-all instead.
8541
4dd1c416
SM
85422012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
8543
8544 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
8545 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
8546 (macroexp-copyable-p): New functions and macros.
8547 * emacs-lisp/edebug.el (edebug-unwrap):
8548 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
8549 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
8550 (pcase--let*): Remove.
8551 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
8552 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
8553 macroexp-const-p instead.
8554 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
8555
8556 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
8557 instead of "cl-" for internal definitions. Use macroexp-const-p.
8558 (cl-old-bc-file-form): Remove var.
8559 (cl-const-exprs-p): Remove fun.
8560 (cl-labels, cl-macrolet): Use backquote.
8561 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
8562 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
8563 (cl-define-setf-expander): Rename from cl-define-setf-method.
8564 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
8565
8566 * international/mule-cmds.el: Don't require CL.
8567 (view-hello-file): Don't use `letf'.
8568
ed8bd4d7
SM
85692012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
8570
7287f2f3
SM
8571 * tmm.el (tmm-prompt): Use string-prefix-p.
8572 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
8573 (tmm-add-prompt): Use minibuffer-completion-help.
8574 (tmm-delete-map): Remove.
8575
ed8bd4d7
SM
8576 * subr.el (kbd): Make it its own function.
8577
7b4cdbf4
SM
85782012-06-07 Stefan Merten <smerten@oekonux.de>
8579
8580 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
8581 Silence compiler warnings. Fix versions.
ed8bd4d7 8582 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
7b4cdbf4 8583 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
ed8bd4d7 8584 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
7b4cdbf4
SM
8585 (rst-package-emacs-version-alist): Correct Emacs version to
8586 represent major merge with upstream.
ed8bd4d7 8587 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
7b4cdbf4 8588
2b48d721
GM
85892012-06-06 Glenn Morris <rgm@gnu.org>
8590
8591 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
8592 Only print environment variables if set.
8593
fa779ab0
SM
85942012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
8595
8596 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
8597 (macroexp--cons): Rename from maybe-cons.
8598 (macroexp--accumulate): Rename from macroexp-accumulate.
8599 (macroexp--all-forms): Rename from macroexpand-all-forms.
8600 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
8601 (macroexp--expand-all): Rename from macroexpand-all-1.
8602
628299e0
SS
86032012-06-06 Sam Steingold <sds@gnu.org>
8604
8605 * calendar/calendar.el (calendar-in-read-only-buffer):
8606 Call `special-mode' to enable the standard read-only keybindings.
8607
b7bb5838
SM
86082012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
8609
8610 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
8611 with "loading" messages (bug#11635).
8612
dfb308ba
MA
86132012-06-06 Michael Albinus <michael.albinus@gmx.de>
8614
8615 * files.el (enable-remote-dir-locals): New option.
8616 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
8617
0372ee92
MA
8618 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
8619 Ensure, that the temp directory is local.
8620
8621 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
8622 `temporary-file-directory'.
8623
eed0bb91
MA
8624 * progmodes/python.el (python-send-region): Ensure, that the
8625 temporary file is created also in the remote case.
8626
7a58f64d
GM
86272012-06-06 Glenn Morris <rgm@gnu.org>
8628
f7dd4e98
GM
8629 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
8630 (vc-rcs-update-changelog): Use it.
8631
090bd7cb 8632 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
276d5f5d 8633
7a58f64d
GM
8634 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
8635 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
8636 (vc-sccs-diff): Replace use of the external vcdiff script.
8637
daed4003
GM
86382012-06-05 Glenn Morris <rgm@gnu.org>
8639
8640 * ledit.el: Move to obsolete/.
8641
48c455c7
SS
86422012-06-05 Sam Steingold <sds@gnu.org>
8643
ed9265fc 8644 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
48c455c7
SS
8645 patch (Bug#11140).
8646
57a7d507
SM
86472012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8648
090bd7cb 8649 * emacs-lisp/cust-print.el: Move to obsolete.
d32926ff 8650
53aacf21
SM
8651 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
8652 compiler-macro expansion.
8653
57a7d507
SM
8654 Add native compiler-macro support.
8655 * emacs-lisp/macroexp.el (macroexpand-all-1):
8656 Support compiler-macros directly. Properly follow aliases and apply
8657 the compiler macros more thoroughly.
8658 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
8659 macroexpand now properly follows aliases.
8660 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
8661 (cl-compiler-macroexpand): Use new prop.
8662 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
8663
8664 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
8665
51a5f9d8
MR
86662012-06-05 Martin Rudalics <rudalics@gmx.at>
8667
8668 * window.el (get-lru-window, get-mru-window, get-largest-window):
8669 New argument NOT-SELECTED to avoid picking the selected window.
8670 (window--display-buffer-1, window--display-buffer-2): Replace by
8671 new function window--display-buffer
8672 (display-buffer-same-window, display-buffer-reuse-window)
57a7d507
SM
8673 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
8674 Use window--display-buffer.
51a5f9d8
MR
8675 (display-buffer-use-some-window): Remove temporary dedication
8676 hack by calling get-lru-window and get-largest-window with
8677 NOT-SELECTED argument non-nil. Call window--display-buffer.
8678
08f9f738
GM
86792012-06-05 Glenn Morris <rgm@gnu.org>
8680
8681 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
8682 Replace external vcdiff script.
8683
e364a2b7
SM
86842012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
8685
8686 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
8687
041df390
CY
86882012-06-04 Chong Yidong <cyd@gnu.org>
8689
e364a2b7
SM
8690 * image.el (imagemagick-types-inhibit): Revert last change.
8691 Add INFO and M.
47b36b94 8692 (imagemagick-enabled-types): Remove CIN and EPS*.
041df390 8693
7c1898a7
SM
86942012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
8695
8696 * emacs-lisp/cl-lib.el: Rename from cl.el.
8697 * emacs-lisp/cl.el: New compatibility file.
8698 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
8699 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
8700 to obey the "cl-" prefix.
8701 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
8702
0c3461de
GM
87032012-06-03 Glenn Morris <rgm@gnu.org>
8704
1e266c88
GM
8705 * emacs-lisp/authors.el (authors-aliases): Addition.
8706
0c3461de
GM
8707 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
8708 Fix :version.
8709
d8a52e15
SM
87102012-06-03 Stefan Merten <smerten@oekonux.de>
8711
8712 * textmodes/rst.el: Add comments.
8713 (rst-transition, rst-adornment): New faces.
8714 (rst-adornment-faces-alist): Make default safe to reevaluate.
8715 Fixes
8716 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
8717 Improve customization tags.
8718 (rst-define-level-faces): Clarify meaning.
8719
5205d6f6
CY
87202012-06-03 Chong Yidong <cyd@gnu.org>
8721
8722 * progmodes/compile.el (compilation-mode-line-fail)
7c1898a7
SM
8723 (compilation-mode-line-run, compilation-mode-line-exit):
8724 New faces.
5205d6f6
CY
8725 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
8726
757ee657
JD
87272012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
8728
7c1898a7
SM
8729 * progmodes/which-func.el (which-func-update-ediff-windows):
8730 New function. Use it in ediff-select-hook (Bug#11478).
757ee657 8731
5f2c76c6
CY
87322012-06-03 Chong Yidong <cyd@gnu.org>
8733
8734 * bindings.el: Remove explicit help text from format-mode-line.
8735 It is now supplied by mode-line-default-help-echo.
8736 (mode-line-front-space, mode-line-end-spaces)
8737 (mode-line-misc-info): New variables.
8738 (mode-line-modes, mode-line-position): Move the default value to
8739 the variable definition.
8740 (mode-line-default-help-echo): New defcustom.
383f7350
CY
8741 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
8742 (mode-line-modified-help-echo): New functions.
8743 (mode-line-mule-info, mode-line-modified): Use them.
8744 (mode-line-eol-desc, propertized-buffer-identification):
8745 Consistency fixes for help text.
cbe46e5f
CY
8746 (mode-line-coding-system-map): Allow using mouse-3 to invoke
8747 set-buffer-file-coding-system (Bug#289).
8748 (mode-line-mule-info-help-echo): Update help text.
5f2c76c6 8749
f2d6a3df
SM
87502012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
8751
8752 * simple.el (execute-extended-command): Set real-this-command
8753 (bug#11506).
8754
37269466
CY
87552012-06-02 Chong Yidong <cyd@gnu.org>
8756
8757 Remove incorrect uses of "modeline" in comments, docstrings, and
8758 function/variable names (Bug#10329).
8759
8760 * cus-edit.el (mode-line):
8761 * dframe.el (dframe-mouse-hscroll):
8762 * emacs-lisp/re-builder.el:
8763 * emacs-lisp/easy-mmode.el (define-minor-mode):
8764 * frame.el (set-frame-name):
8765 * help.el (lookup-minor-mode-from-indicator):
8766 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
8767 * progmodes/cc-cmds.el (c-toggle-auto-newline)
8768 (c-toggle-hungry-state):
8769 * progmodes/antlr-mode.el (antlr-language-alist):
8770 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
8771 * progmodes/vhdl-mode.el (vhdl-mode):
8772 * progmodes/which-func.el (which-func, which-func-cleanup-function):
8773 * term/ns-win.el (ns-face-at-pos):
8774 * term/sup-mouse.el (sup-mouse-report):
8775 * textmodes/flyspell.el (flyspell-mode-line-string):
8776 * textmodes/ispell.el (ispell-highlight-face):
8777 * textmodes/reftex-global.el:
8778 * vc/vc-arch.el (vc-arch-mode-line-string):
8779 * vc/vc-cvs.el (vc-cvs-mode-line-string):
8780 * vc/vc-git.el (vc-git-mode-line-string):
8781 * vc/vc-hooks.el (vc-display-status)
8782 (vc-default-mode-line-string):
8783 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
8784
8785 * ansi-color.el (ansi-color-faces-vector): Change default faces.
8786
8787 * dired.el (dired-sort-set-mode-line): Rename from
8788 dired-sort-set-modeline. All callers changed.
8789
8790 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
8791 eshell-status-in-modeline.
8792
8793 * foldout.el (foldout-mode-line-string): Rename from
8794 foldout-modeline-string. All callers changed.
8795 (foldout-update-mode-line): Rename from foldout-update-modeline.
8796
8797 * subr.el (redraw-modeline): Make into obsolete alias.
8798
8799 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
8800 timeclock-modeline-display. Make old name an alias.
8801 (timeclock-update-mode-line): Likewise. All callers changed.
8802 (timeclock-mode-line-display): No need to check before using
8803 add-hook.
8804 (timeclock-relative, timeclock-day-over-hook)
8805 (timeclock-use-elapsed, timeclock-mode-string)
8806 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
8807
8808 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
8809 crisp-mode-modeline-string.
8810
8811 * play/solitaire.el (solitaire-build-mode-line): Rename from
8812 solitaire-build-modeline. All callers changed.
8813
8814 * play/zone.el (zone-hiding-mode-line): Rename from
8815 zone-hiding-modeline. All callers changed.
8816 (zone): Remove unusued `modeline-hidden-level' property.
8817
8818 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
8819 xscheme-modeline-initialize. All callers changed.
8820
8821 * strokes.el (strokes-lighter): Rename from
8822 strokes-modeline-string.
8823
8824 * textmodes/sgml-mode.el (html-face-tag-alist)
8825 (html-tag-face-alist): Use mode-line face instead of obsolete
8826 alias modeline.
8827
42152ee4
SM
88282012-06-02 Stefan Merten <smerten@oekonux.de>
8829
8830 * textmodes/rst.el: Always require `cl'.
4cf9b38d 8831 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
42152ee4 8832
95f520b5
CY
88332012-06-02 Chong Yidong <cyd@gnu.org>
8834
8835 * image.el (imagemagick-enabled-types): Rename from
8836 imagemagick-types-enable. Add many more types.
8837 (imagemagick-types-inhibit): Change default to nil.
8838 (imagemagick-filter-types): Caller changed.
8839
4a5f187a
SM
88402012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
8841
03fef3e6
SM
8842 * emacs-lisp/cl-macs.el: Use backquotes.
8843 (cl-transform-function-property): Use eval-and-compile rather than
8844 abusing `require'.
8845 (defstruct): Use declare-function instead of with-no-warnings.
8846
4a5f187a
SM
8847 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
8848 (byte-compile-output-docform): Re-add the print-circle bindings.
8849 (byte-compile-fix-header): Use #$ just because it's shorter.
8850 (byte-compile-output-file-form): Remove defun/defmacro.
8851
bd56924f
MR
88522012-06-01 Martin Rudalics <rudalics@gmx.at>
8853
8854 * simple.el (choose-completion): Remove now obsolete binding for
8855 owindow.
8856
046e38ce
MA
88572012-06-01 Michael Albinus <michael.albinus@gmx.de>
8858
8859 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
8860 in order to avoid "Stack overflow in regexp matcher".
8861
32d72c2f
GM
88622012-05-31 Glenn Morris <rgm@gnu.org>
8863
8864 * image.el: For clarity, call imagemagick-register-types at
8865 top-level, rather than relying on a custom :initialize.
8866 (imagemagick-types-enable): New option. (Bug#11557)
60b5f187
GM
8867 (imagemagick-filter-types): New function. (Bug#7406)
8868 (imagemagick-register-types): Use imagemagick-filter-types.
32d72c2f
GM
8869 If disabling support, remove elements altogether rather
8870 than using an impossible regexp.
8871 (imagemagick-types-inhibit): Give it the default init function.
8872
dd41169b
SM
88732012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
8874
4a5f187a
SM
8875 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
8876 Handle arbitrary file name lengths (Bug#11585).
dd41169b 8877
efc00ab1 88782012-05-31 Martin Rudalics <rudalics@gmx.at>
5221ccb9
MR
8879
8880 * desktop.el (desktop-read): Clear previous and next buffers for
8881 all windows and bury *Messages* buffer (bug#11556).
8882
500fcedc
SM
88832012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
8884
8885 Add `declare' for `defun'. Align `defmacro's with it.
8886 * emacs-lisp/easy-mmode.el (define-minor-mode)
8887 (define-globalized-minor-mode): Don't autoload the var definitions.
8888 * emacs-lisp/byte-run.el: Use lexical-binding.
8889 (defun-declarations-alist, macro-declarations-alist): New vars.
8890 (defmacro, defun): Use them.
8891 (make-obsolete, define-obsolete-function-alias)
8892 (make-obsolete-variable, define-obsolete-variable-alias):
8893 Use `declare'.
8894 (macro-declaration-function): Mark obsolete.
8895 * emacs-lisp/autoload.el: Use lexical-binding.
8896 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
8897
6e8a1786
AM
88982012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8899
8900 * textmodes/ispell.el (ispell-with-no-warnings):
8901 Define as a macro.
500fcedc
SM
8902 (ispell-kill-ispell, ispell-change-dictionary):
8903 Use `called-interactively-p' for Emacs instead of obsolete
6e8a1786
AM
8904 `interactive-p'.
8905
61b108cc
SM
89062012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
8907
8908 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
8909 (macro-declaration-function): Move var from C code.
8910 (macro-declaration-function): Define function with defalias.
8911 * emacs-lisp/macroexp.el (macroexpand-all-1):
8912 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
8913 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
8914 defun/defmacro any more.
8915 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
8916 Provide fallback for unknown arglist.
8917 (byte-compile-arglist-warn): Change calling convention.
8918 (byte-compile-output-file-form): Move print-vars binding.
8919 (byte-compile-output-docform): Simplify accordingly.
8920 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
8921 (byte-compile-defmacro-declaration): Remove.
8922 (byte-compile-file-form-defmumble): Generalize to defalias.
8923 (byte-compile-output-as-comment): Return byte-positions.
8924 Simplify callers accordingly.
8925 (byte-compile-lambda): Use `assert'.
8926 (byte-compile-defun, byte-compile-defmacro): Remove.
8927 (byte-compile-file-form-defalias):
8928 Use byte-compile-file-form-defmumble.
8929 (byte-compile-defalias-warn): Remove.
8930
6d3f7c2f
SM
89312012-05-29 Stefan Merten <smerten@oekonux.de>
8932
8933 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
61b108cc 8934 possible. Fix authors. Improve comments. Improve loading of `cl'.
6d3f7c2f
SM
8935
8936 (rst-mode-abbrev-table): Merge definition.
8937 (rst-mode): Make sure `font-lock-defaults' is buffer local.
8938 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
8939
6dbaa1c7
UJ
89402012-05-29 Ulf Jasper <ulf.jasper@web.de>
8941
8942 * calendar/icalendar.el
8943 (icalendar-export-region): Export UID properly.
8944
d209e2fb 89452012-05-29 Leo Liu <sdl.web@gmail.com>
61b108cc
SM
8946 * calendar/icalendar.el (icalendar-import-format):
8947 Add `icalendar-import-format-uid' (Bug#11525).
6dbaa1c7
UJ
8948 (icalendar-import-format-uid): New.
8949 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
8950 Export UID.
8951
6876a58d
SM
89522012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
8953
8954 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
8955 different alternative patterns.
8956 (pcase-codegen): Be more careful to preserve identity.
8957 (pcase--u1): Don't forget to mark vars as used.
8958
8959 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
8960 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
8961 (byte-compile-from-buffer): ...rather than here.
8962
8963 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
8964 functions from byte-compile-function-environment.
8965
46b7967e
TN
89662012-05-29 Troels Nielsen <bn.troels@gmail.com>
8967
8968 * window.el (window-deletable-p): Avoid deleting the root window
8969 of a frame with an active minibuffer.
8970
69d565e2
MR
89712012-05-29 Martin Rudalics <rudalics@gmx.at>
8972
8973 * simple.el (choose-completion): Use quit-window (Bug#11567).
8974
a149fa51
CY
89752012-05-29 Chong Yidong <cyd@gnu.org>
8976
8977 * whitespace.el (whitespace-cleanup): Fix usage of
8978 whitespace-empty-at-bob-regexp (Bug#11492).
8979
2b311310
AH
89802012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
8981
8982 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
8983 revert (Bug#11488).
8984
b9cb2387
JL
89852012-05-29 Juri Linkov <juri@jurta.org>
8986
8987 * isearch.el (isearch-mode-map): Bind `M-s _' to
8988 `isearch-toggle-symbol'. Bind `M-s c' to
8989 `isearch-toggle-case-fold'.
8990 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
8991 (isearch-forward): Add `M-s _' to the docstring.
8992 (isearch-forward-symbol, isearch-toggle-case-fold)
8993 (isearch-symbol-regexp): New functions. (Bug#11381)
8994
d5e61c1c
JL
89952012-05-29 Juri Linkov <juri@jurta.org>
8996
8997 * isearch.el (isearch-word): Add docstring. (Bug#11381)
8998 (isearch-occur, isearch-search-and-update): If `isearch-word' is
8999 a function, call it to get the regexp.
9000 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
9001 property `isearch-message-prefix' instead of the string "word ".
9002 (isearch-search-fun-default): For the case of `isearch-word',
9003 return a lambda that calls re-search-forward/re-search-backward
9004 with a regexp returned by `word-search-regexp' or by the function
9005 in `isearch-word'.
9006
8cbd80f7
JL
90072012-05-29 Juri Linkov <juri@jurta.org>
9008
9009 * isearch.el (isearch-search-fun-default): New function.
9010 (isearch-search-fun): Move default part to the new function
9011 `isearch-search-fun-default'.
9012 (isearch-search-fun-function): Set the default value to
9013 `isearch-search-fun-default'. (Bug#11381)
9014
9015 * comint.el (comint-history-isearch-end):
9016 Use `isearch-search-fun-default'.
9017 (comint-history-isearch-search): Use `isearch-search-fun-default'
9018 and remove spacial case for `isearch-word'.
9019 (comint-history-isearch-wrap): Remove spacial case for
9020 `isearch-word'.
9021
9022 * hexl.el (hexl-isearch-search-function):
9023 Use `isearch-search-fun-default'.
9024
9025 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
9026 Use `word-search-regexp' for `isearch-word'.
9027
9028 * misearch.el (multi-isearch-search-fun):
9029 Use `isearch-search-fun-default'.
9030
9031 * simple.el (minibuffer-history-isearch-search):
9032 Use `isearch-search-fun-default' and remove spacial case for
9033 `isearch-word'.
9034 (minibuffer-history-isearch-wrap): Remove spacial case for
9035 `isearch-word'.
9036
9037 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
9038 Remove spacial case for `isearch-word'.
9039 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
9040
85c8c5b6
AM
90412012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9042
9043 Decrease XEmacs incompatibilities.
9044 * textmodes/flyspell.el (flyspell-check-pre-word-p):
9045 Use `string-match'.
9046 (flyspell-delete-region-overlays): Use alternative definition for
9047 XEmacs.
9048 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
9049 (flyspell-word): Use `process-kill-without-query' if XEmacs.
9050 (flyspell-mode-on): Use `interactive-p' if XEmacs.
9051 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
9052 `define-obsolete-face-alias' under XEmacs, but old method.
9053
9054 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
9055 `with-no-warnings' definition or Emacs alias.
9056 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
9057 (ispell-word): Do not use `region-p' if XEmacs.
9058
8cab9efc
AM
90592012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9060
9061 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
9062 Check for `ispell-dictionary-base-alist' instead of full
9063 `ispell-dictionary-alist'.
9064 (ispell-init-process): Show spellchecker when starting new Ispell
9065 process.
9066
fda91268
RZ
90672012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
9068
9069 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
9070 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
9071
694ea8e3
JB
90722012-05-27 Juanma Barranquero <lekktu@gmail.com>
9073
9074 * version.el (motif-version-string, gtk-version-string)
9075 (ns-version-string): Declare.
9076
e4d4f539
JL
90772012-05-27 Juri Linkov <juri@jurta.org>
9078
9079 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
9080 after the `eval-defun-1' specialcaseing
9081 like in `edebug-eval-defun' (bug#10181).
9082
9083 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
9084 like in `eval-defun-1'.
9085
33017faf 90862012-05-27 Eli Zaretskii <eliz@gnu.org>
b30b64b9 9087
fda91268
RZ
9088 * mail/sendmail.el (mail-yank-region):
9089 Recognize rmail-yank-current-message in addition to insert-buffer.
9090 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
b30b64b9
EZ
9091 a *mail* buffer created through rmail-start-mail with sendmail as
9092 mail-user-agent.
9093
33017faf
GM
90942012-05-27 Chong Yidong <cyd@gnu.org>
9095
9096 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
9097 Default to 256 (Bug#11267).
9098
9099 * help.el (describe-mode): Doc fix.
9100
04188bb9
GM
91012012-05-26 Glenn Morris <rgm@gnu.org>
9102
38264cc9
GM
9103 * w32-fns.el (w32-init-info): Remove.
9104 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
9105
eb7afdad
GM
9106 * info.el (info-initialize): For self-contained NS builds, put the
9107 included info/ directory at the front. (Bug#2791)
9108
04188bb9
GM
9109 * paths.el (Info-default-directory-list): Make it a defcustom,
9110 mainly so that we can use custom-initialize-delay.
9111
a179e3f7
SM
91122012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
9113
43416392
SM
9114 * subr.el (buffer-has-markers-at): Mark obsolete.
9115
a179e3f7 9116 * subr.el (lambda): Use declare.
43416392 9117
a179e3f7
SM
9118 * emacs-lisp/lisp-mode.el (lambda):
9119 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
9120
34a008d9
AH
91212012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
9122
9123 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
9124
0a3b289f
GM
91252012-05-26 Glenn Morris <rgm@gnu.org>
9126
9127 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
9128
758c81e8
GM
91292012-05-25 Glenn Morris <rgm@gnu.org>
9130
f9f334f0
GM
9131 * paths.el: Remove no-byte-compile.
9132 * loadup.el: No need to load paths.el uncompiled.
9133
87eb79c2
GM
9134 * image.el (imagemagick-types-inhibit): Doc fix.
9135
758c81e8
GM
9136 * version.el: Remove no-byte-compile and associated formatting.
9137 * loadup.el: No need to load version.el uncompiled. AFAICS, this
9138 is ancient code from when there was an "inc-vers.el".
9139
e7e85dc0
SM
91402012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
9141
9142 * progmodes/gdb-mi.el: Minor style changes.
9143 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
9144 Turn into minor modes.
9145 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
9146 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
9147 (gdb-shell): Remove unneeded let-binding.
9148 (gdb-get-many-fields): Eliminate O(n²) behavior.
9149
f31237a4
EZ
91502012-05-25 Eli Zaretskii <eliz@gnu.org>
9151
9152 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
9153 platforms that don't link in fontset.c.
9154
bc1b21bb
JL
91552012-05-25 Juri Linkov <juri@jurta.org>
9156
9157 Use the same diff color scheme as in modern VCSes (bug#10181).
9158
9159 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
9160 to avoid confusion with `diff-added' that now uses green colors.
9161 (diff-removed): Use shades of red.
9162 (diff-added): Use shades of green.
9163 (diff-changed): Leave just the yellow color.
9164 (diff-use-changed-face): New variable.
9165 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
9166 how to highlight context diff changes.
9167 (diff-refine-change): Use shades of yellow.
9168 (diff-refine-removed): New face that uses shades of red.
9169 (diff-refine-added): New face that uses shades of green.
9170 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
9171 `diff-refine-removed' in the call to `smerge-refine-subst'
9172 depending on the value of `diff-use-changed-face'.
9173
9174 * vc/smerge-mode.el (smerge-mine): Use shades of red.
9175 (smerge-other): Use shades of green.
9176 (smerge-base): Use shades of yellow.
9177 (smerge-refined-change): Empty face.
9178 (smerge-refined-removed): New face that uses shades of red.
9179 (smerge-refined-added): New face that uses shades of green.
9180 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
9181 args `props-r' and `props-a', and use them. Doc fix.
9182 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
9183 on its value use different faces `smerge-refined-change',
9184 `smerge-refined-removed', `smerge-refined-added' in the call to
9185 `smerge-refine-subst'.
9186
9187 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
9188 Add face condition `min-colors 88' with shades of red.
9189 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
9190 `min-colors 88' with shades of green.
9191 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
9192 `min-colors 88' with shades of yellow.
9193
6df9112c
GM
91942012-05-24 Glenn Morris <rgm@gnu.org>
9195
ead5edc0
GM
9196 * paths.el (prune-directory-list, remote-shell-program): Move to...
9197 * files.el (prune-directory-list, remote-shell-program): ...here.
9198 For the latter, delay initialization, prefer ssh, just search PATH.
9199
f18b81e6
GM
9200 * paths.el (term-file-prefix): Move to faces.el (the only user).
9201 * faces.el (term-file-prefix): Move here, make it a defcustom.
9202
ee2f89a6
GM
9203 * paths.el (news-directory, news-path, news-inews-program):
9204 Move to gnus/nnspool.el.
61a583ca 9205
f8815e4c
GM
9206 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
9207
c8f3b42c
GM
9208 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
9209 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
9210 Make the latter a defcustom, with a delayed initialization.
9211
6df9112c
GM
9212 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
9213 These were deleted from Gnus itself late 2010.
9214
5dadff36
JB
92152012-05-22 Juanma Barranquero <lekktu@gmail.com>
9216
9e1701c6
JB
9217 * progmodes/which-func.el (which-func-ff-hook):
9218 Check against user-error, not error.
9219
bd7239f5 9220 * emacs-lisp/edebug.el (top): Do not load or set up loading of
5dadff36
JB
9221 cl-specs.el, which no longer exists.
9222
3290526d
GM
92232012-05-22 Glenn Morris <rgm@gnu.org>
9224
9225 * info.el (info-emacs-bug): New command.
9226 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
9227 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
9228
ff0c3cfb
GM
92292012-05-21 Glenn Morris <rgm@gnu.org>
9230
9231 * makefile.w32-in (update-subdirs-SH):
9232 * Makefile.in (update-subdirs): Update for moved update-subdirs.
9233
5814f126
SM
92342012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
9235
a52c0aa0
SM
9236 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
9237
5814f126
SM
9238 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9239 Simplify Maven regexp, and make sure the file can't start with a space
9240 (bug#11517).
9241
b847032c
GM
92422012-05-21 Glenn Morris <rgm@gnu.org>
9243
9244 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
9245 Scrap superfluous subshells.
9246
3858bfe7
SM
92472012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
9248
9249 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
9250 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
9251
d14b0029
JB
92522012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
9253
9254 * calc/calc.el (calc-ensure-consistent-units): New variable.
9255
a52c0aa0
SM
9256 * calc/calc-units.el (math-consistent-units-p)
9257 (math-check-unit-consistency): New functions.
9258 (calc-quick-units, calc-convert-units):
9259 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
9260 is non-nil.
d14b0029
JB
9261 (calc-extract-units): Fix typo.
9262
60c4db3a
SM
92632012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
9264
77f3b62e
SM
9265 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
9266
60c4db3a
SM
9267 * textmodes/flyspell.el: Commenting style, plus code simplifications.
9268 (flyspell-default-deplacement-commands): Don't spell check after
9269 repeated window/frame switches (e.g. triggered by mouse-movement).
9270 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
9271 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
9272 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
9273 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
9274 Remove unused vars.
9275 (flyspell-get-casechars, flyspell-get-not-casechars):
9276 Simplify; Don't bother removing a ] just to add it back.
9277 * textmodes/ispell.el (ispell-program-name): Use executable-find.
9278
d209e2fb 92792012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
b1a10716
RS
9280
9281 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
9282 New functions.
bd7239f5 9283 (math-function-table): Add support for more C functions.
b1a10716 9284
3f1b25b5
AM
92852012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9286
090bd7cb
JB
9287 * textmodes/flyspell.el (flyspell-check-pre-word-p)
9288 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
9289 Protect delay handling for otherchars against empty otherchars.
3f1b25b5 9290
b581bb5c
SM
92912012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
9292
9293 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
9294 their respective macro declarations.
9295 * skeleton.el (define-skeleton):
9296 * progmodes/compile.el (define-compilation-mode):
9297 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
9298 (define-ibuffer-filter):
9299 * emacs-lisp/generic.el (define-generic-mode):
9300 * emacs-lisp/easy-mmode.el (define-minor-mode)
9301 (define-globalized-minor-mode):
9302 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
9303 * emacs-lisp/byte-run.el (defsubst):
9304 * custom.el (deftheme): Add doc-string metadata.
9305
70b8ef8f
SM
93062012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
9307
9308 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
9309
b1198e17
SM
93102012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
9311
9abdc45d
SM
9312 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
9313
b1198e17
SM
9314 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
9315 * emacs-lisp/cl-macs.el: Idem.
9316 * emacs-lisp/cl-specs.el: Remove.
9317
4735906a
SM
93182012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
9319
9320 Minor renaming of internal CL functions and variables.
9321 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
9322 (cl--position): Rename from cl-position.
9323 (cl--delete-duplicates): Rename from cl-delete-duplicates.
9324 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
9325 (cl--random-state): Rename from *random-state*.
9326
ac348012
SM
93272012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
9328
9329 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
9330 parens around the arg list (bug#11499).
9331
a0a79cde
JL
93322012-05-17 Juri Linkov <juri@jurta.org>
9333
9334 * isearch.el (word-search-regexp, word-search-backward)
9335 (word-search-forward, word-search-backward-lax)
9336 (word-search-forward-lax): Move functions from search.c
9337 (bug#10145, bug#11381).
9338
65034a51
AM
93392012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9340
090bd7cb
JB
9341 * textmodes/flyspell.el (flyspell-check-pre-word-p)
9342 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
9343 Delay for otherchars as for normal word components.
65034a51 9344
1a72a195
SM
93452012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
9346
9347 * minibuffer.el (completion--sifn-requote): Fix last change.
9348 (minibuffer-local-must-match-filename-map):
9349 Move define-obsolete-variable-alias before its var.
9350
fdb058c2
SM
93512012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
9352
c41045e6
SM
9353 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
9354
036dfb8b
SM
9355 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
9356 behavior.
9357 (completion--string-equal-p): New function.
9358 (completion--twq-all): Use it to get better assertion failure data.
9359
2473256d
SM
9360 Only handle ".." and '..' quoting in shell-mode (bug#11466).
9361 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
9362 (shell--requote-argument): New functions.
9363 (shell-completion-vars): Use them.
9364 (shell--parse-pcomplete-arguments): Rename from
9365 shell-parse-pcomplete-arguments.
9366 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
9367 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
9368 Obey comint-file-name-quote-list.
9369
fdb058c2
SM
9370 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
9371 (smie-indent-keyword): Use it.
9372
51fa99f1
SM
93732012-05-14 Stefan Merten <smerten@oekonux.de>
9374
9375 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
9376
e18afed7 93772012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
d9d1dfef
SM
9378
9379 * net/rlogin.el (rlogin-mode-map): Fix last change.
9380
e18afed7 93812012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
8633b1f4
JW
9382
9383 * mail/smtpmail.el (smtpmail-send-command): Send the command and
9384 the following \r\n using a single `process-send-string', since the
9385 Lotus SMTP server refuses to accept any commands if they are sent
e18afed7 9386 with two `process-send-string's (Bug#11444).
8633b1f4 9387
e18afed7 93882012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
fe263b8f 9389
fdb058c2
SM
9390 * shell.el (shell-parse-pcomplete-arguments):
9391 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
e18afed7 9392
2d21d7f6
WJ
93932012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
9394
e18afed7 9395 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
2d21d7f6
WJ
9396 (image-transform-scale, image-transform-right-angle-fudge): New vars.
9397 (image-transform-width, image-transform-fit-width): New functions.
9398 (image-transform-properties): Use them.
9399 (image-transform-check-size): New function.
9400 (image-toggle-display-image): Use it (for testing).
9401 (image-transform-set-rotation): Reduce angle mod 360.
9402 Delete obsolete comment.
9403
7102e6d0
WJ
94042012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
9405
9406 * image-mode.el: Fix scaling (bug#11399).
9407 (image-transform-resize): Doc fix.
9408 (image-transform-properties): Default scale is 1 and height should
9409 be an integer.
9410
06bc5e6e
SM
94112012-05-13 Johan Bockgård <bojohan@gnu.org>
9412
9413 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
9414 than hard-coding `car', to fix misbehavior when moving forward.
9415
0ae03b6a
CY
94162012-05-13 Chong Yidong <cyd@gnu.org>
9417
9418 * emacs-lisp/tabulated-list.el (tabulated-list-format)
9419 (tabulated-list-entries, tabulated-list-padding)
9420 (tabulated-list-sort-key): Make permanent-local.
9421
9422 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
9423 (electric-buffer-list): Put electric buffer menu
9424 command descriptions in this docstring, instead of the docstring
9425 of electric-buffer-menu-mode. Code cleanups.
9426 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
9427 Electric-buffer-menu-mode.
9428 (electric-buffer-update-highlight): Minor code cleanup.
9429
205a7391
MA
94302012-05-13 Michael Albinus <michael.albinus@gmx.de>
9431
9432 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
9433 (Bug#11447)
9434
e5bd0a28
SM
94352012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
9436
9437 Move define-obsolete-variable-alias before the var's definition.
9438 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
9439 * tooltip.el (tooltip-hook):
9440 * textmodes/reftex-toc.el (reftex-toc-map):
9441 * textmodes/reftex-sel.el (reftex-select-label-map)
9442 (reftex-select-bib-map):
9443 * textmodes/reftex-index.el (reftex-index-map)
9444 (reftex-index-phrases-map):
9445 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
9446 * progmodes/meta-mode.el (meta-mode-map):
9447 * novice.el (disabled-command-hook):
9448 * loadhist.el (unload-hook-features-list):
9449 * frame.el (blink-cursor):
9450 * files.el (find-file-not-found-hooks, write-file-hooks)
9451 (write-contents-hooks):
9452 * emulation/tpu-edt.el (GOLD-map):
9453 * emacs-lock.el (emacs-lock-from-exiting):
9454 * emacs-lisp/generic.el (generic-font-lock-defaults):
9455 * emacs-lisp/chart.el (chart-map):
9456 * dos-fns.el (register-name-alist):
9457 * dired-x.el (dired-omit-files-p):
9458 * desktop.el (desktop-enable):
9459 * cus-edit.el (custom-mode-hook):
9460 * buff-menu.el (buffer-menu-mode-hook):
9461 * bookmark.el (bookmark-read-annotation-text-func)
9462 (bookmark-exit-hooks):
9463 * allout.el (allout-mode-deactivate-hook)
9464 (allout-exposure-change-hook, allout-structure-added-hook)
9465 (allout-structure-deleted-hook, allout-structure-shifted-hook):
9466 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
9467 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
9468 comes before the corresponding variable's definition.
9469
ac59c2f6
CY
94702012-05-12 Chong Yidong <cyd@gnu.org>
9471
9472 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
0d909786
CY
9473 (Buffer-menu-mouse-select): Restore function (Bug#11459).
9474 (Buffer-menu-mode-map): Bind it.
9475 (Buffer-menu--pretty-name): Add a mouse-face property.
ac59c2f6 9476
dee6c9a3
SM
94772012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
9478
2171cea5
SM
9479 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
9480 (prolog-upper-case-string, prolog-lower-case-string)
9481 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
9482 (prolog-use-smie, prolog-smie-grammar): New vars.
9483 (prolog-smie-forward-token, prolog-smie-backward-token)
9484 (prolog-smie-rules): New funs.
9485 (prolog-comment-indent): Remove.
9486 (prolog-mode-variables): Use default comment indentation instead.
9487 Setup SMIE.
9488 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
9489 (prolog-mode): Don't call them any more.
9490 (prolog-electric-colon, prolog-electric-dash)
9491 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
9492
aa0382bd
SM
9493 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
9494
dbacb4bd
SM
9495 * minibuffer.el (completion--twq-all): Again, allow case differences.
9496
13bdd94c
SM
9497 * term.el: Move keymap initialization code to be more idiomatic.
9498 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
9499 (term-terminal-menu): Move initialization into declaration.
9500 (term-escape-char): Let the user set it in her .emacs.
9501
ff46c759
SM
9502 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
9503 Provide SMIE-based indentation (not enabled by default yet).
9504 (sh-mode-map): Don't bind electric keys.
9505 Use electric-pair-mode instead of skeleton-pair.
9506 (sh-assignment-regexp): Fit within 80 columns.
9507 (sh-indent-supported): Specify actual shell name instead of boolean.
9508 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
9509 (sh-maybe-here-document): Use it. Make obsolete.
9510 (sh-electric-here-document-mode) New minor mode.
9511 (sh-mode): Use it. Don't set sh-indent-supported-here here.
9512 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
9513 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
9514 (sh-smie-rc-grammar, sh-use-smie): New vars.
9515 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
9516 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
9517 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
9518 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
9519 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
9520 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
9521 (sh-set-shell): Use smie-setup if requested.
9522
dee6c9a3
SM
9523 * term.el (term-set-escape-char): Properly set term-escape-char.
9524 See http://stackoverflow.com/questions/10524656.
9525
9f9aa044
CY
95262012-05-10 Chong Yidong <cyd@gnu.org>
9527
9528 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
9529 Use url-generic-parse-url, and handle host names and Windows
9530 filenames properly.
9531 (ffap-url-unwrap-remote): Use url-generic-parse-url.
9532 (ffap-url-unwrap-remote): Accept list values, specifying a list of
9533 URL schemes to work on.
9534 (ffap--toggle-read-only): New function.
9535 (ffap-read-only, ffap-read-only-other-window)
9536 (ffap-read-only-other-frame): Use it.
9537 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
9538 necessary for ffap-url-unwrap-remote.
9539
836d29b3
DA
95402012-05-10 Dave Abrahams <dave@boostpro.com>
9541
9542 * cus-start.el (create-lockfiles): Add it.
9543
00fd78ed
CY
95442012-05-09 Chong Yidong <cyd@gnu.org>
9545
9546 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
9547 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
9548
666b903b 95492012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1cb51c12
SM
9550
9551 * shell.el (shell-completion-vars): Fix last change (bug#11348).
9552
666b903b 95532012-05-09 Chong Yidong <cyd@gnu.org>
18f00515
CY
9554
9555 * ansi-color.el (ansi-color-process-output): Check for validity of
9556 comint-last-output-start before using it. This avoids a bad
9557 interaction with gdb-mi's input/output buffer.
9558
666b903b 95592012-05-09 Glenn Morris <rgm@gnu.org>
fd075e7b
GM
9560
9561 * files.el (dir-locals-read-from-file):
9562 Mention dir-locals in any error message.
9563
666b903b 95642012-05-09 Chong Yidong <cyd@gnu.org>
25f292cd
CY
9565
9566 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
9567 package (Bug#11410).
9568
f677562b
CY
9569 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
9570 variables into description.
9571
666b903b 95722012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3d53ee1b
SM
9573
9574 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
9575 shell-delimiter-argument-list (bug#11348).
9576 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
9577
b499d8d0
JB
95782012-05-09 Juanma Barranquero <lekktu@gmail.com>
9579
8f6b6da8
JB
9580 * textmodes/rst.el: Silence byte-compiler warnings.
9581 (rst-re-alist, rst-reset-section-caches): Move around.
9582 (rst-re): Use `characterp', not `char-valid-p'.
9583 (font-lock-beg, font-lock-end): Declare.
9584
4824146a
JB
9585 * progmodes/idlw-shell.el (specs): Remove reference to deleted
9586 variable `idlwave-shell-activate-alt-keybindings' and simplify.
9587
b499d8d0
JB
9588 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
9589
ad89bb83
GM
95902012-05-08 Glenn Morris <rgm@gnu.org>
9591
9592 * files.el (auto-mode-alist): Treat ".make" like ".mk".
9593
8bba5a75
SM
95942012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9595
49ed9c8e
SM
9596 * vc/log-edit.el: Add GNU coding standards highlighting.
9597 (log-edit-font-lock-gnu-style)
9598 (log-edit-font-lock-gnu-keywords): New vars.
9599 (log-edit-font-lock-keywords): New fun.
9600 (log-edit-mode): Don't fold case in font-lock.
9601 (log-edit-font-lock-keywords): Do not assume case-folding.
9602
07d00b56
SM
9603 * imenu.el: Misc cleanup. Make docstrings out of comments.
9604 Use lexical-binding.
9605 (imenu--index-alist, imenu--last-menubar-index-alist)
9606 (imenu-menubar-modified-tick): Use defvar-local.
9607 (imenu--split-menu): Remove unused var.
9608 (imenu--cleanup-seen): Declare as global.
9609 (imenu--cleanup): Use dolist.
9610
8bba5a75
SM
9611 * subr.el (defvar-local): Add debug spec and doc-string position.
9612
5075bdb5
GM
96132012-05-08 Glenn Morris <rgm@gnu.org>
9614
090bd7cb 9615 * language/burmese.el, language/cham.el, language/czech.el:
c052c904
GM
9616 * language/english.el, language/georgian.el, language/greek.el:
9617 * language/japanese.el, language/khmer.el, language/korean.el:
9618 * language/lao.el, language/misc-lang.el, language/romanian.el:
9619 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
9620 * language/thai.el, language/utf-8-lang.el:
9621 Remove no-byte-compile setting.
9622
5075bdb5
GM
9623 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
9624
06f679a7
AH
96252012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
9626
9627 * progmodes/make-mode.el (makefile-browse):
9628 Remove unnecessary interactive. (Bug#11324)
9629
03794570
GM
96302012-05-07 Glenn Morris <rgm@gnu.org>
9631
af8630f4
GM
9632 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
9633
03794570
GM
9634 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
9635
f0809a9d
SM
96362012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
9637
28be5ce7
SM
9638 * loadup.el: Preload newcomment.el.
9639 * newcomment.el: Move autoload-only code to toplevel.
9640
f0809a9d
SM
9641 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
9642 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
9643 Handle new :right-align column property.
9644 (tabulated-list-print-col): Idem, plus use `display' text-property to
9645 try and preserve alignment for variable pitch fonts.
9646
1241b724
CY
96472012-05-07 Chong Yidong <cyd@gnu.org>
9648
9649 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
9650 (tabulated-list-use-header-line): New var.
9651 (tabulated-list-init-header): Use it.
9652 (tabulated-list-print-fake-header): New function.
9653 (tabulated-list-print): Use it.
9654 (tabulated-list-sort-button-map): Add non-header-line commands.
9655 (tabulated-list-init-header): Add column name property to basic
9656 labels as well.
9657 (tabulated-list-col-sort): Handle non-header-line button case.
9658 (tabulated-list--sort-by-column-name): Fix a corner case.
9659
f0809a9d
SM
9660 * buff-menu.el (list-buffers--refresh):
9661 Handle Buffer-menu-use-header-line.
1241b724 9662
e5f9458f
CY
96632012-05-06 Chong Yidong <cyd@gnu.org>
9664
9665 * buff-menu.el: Convert to Tabulated List mode.
9666 (Buffer-menu-buffer+size-width): Make obsolete.
9667 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
9668 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
9669 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
9670 documentation into docstring of buffer-menu.
9671 (Buffer-menu-toggle-files-only): Add an informative message.
9672 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
9673 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
9674 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
9675 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
9676 (Buffer-menu-execute, Buffer-menu-select)
9677 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
9678 (Buffer-menu-bury): Use Tabulated List machinery.
9679 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
9680 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
f0809a9d 9681 Delete.
e5f9458f
CY
9682 (list-buffers--refresh): New function.
9683 (list-buffers-noselect): Use it.
9684 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
9685 (Buffer-menu--pretty-file-name): New helper functions.
9686
9687 * loadup.el: Preload tabulated-list.
9688
9689 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
9690 tabulated-list-sort-column.
9691 (tabulated-list-init-header): Add the initial aligning space even
9692 if tabulated-list-padding is zero.
9693
e129292c
CS
96942012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
9695
9696 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
9697 whose cdr is not a cons cell correctly (bug#11038).
9698
6632d361
CY
96992012-05-06 Chong Yidong <cyd@gnu.org>
9700
e129292c
CS
9701 * emacs-lisp/tabulated-list.el (tabulated-list-format):
9702 Accept additional plist in column descriptors.
6632d361
CY
9703 (tabulated-list-init-header): Obey it.
9704 (tabulated-list-get-entry): New function.
9705 (tabulated-list-put-tag): Use it. Use string-width instead of
9706 length.
9707 (tabulated-list--column-number): New function.
9708 (tabulated-list-print): Use it.
e129292c
CS
9709 (tabulated-list-print-col): New function.
9710 Set `tabulated-list-column-name' property on each column's text.
6632d361 9711 (tabulated-list-print-entry): Use it.
e129292c
CS
9712 (tabulated-list-delete-entry, tabulated-list-set-col):
9713 New functions.
6632d361
CY
9714 (tabulated-list-sort-column): New command (Bug#11337).
9715
3cc99f68
CY
9716 * buff-menu.el (list-buffers): Move C-x C-b binding from
9717 buff-menu.el to bindings.el.
9718
9719 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
9720 :advertised-binding feature.
9721
52b61776
TN
97222012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
9723
9724 * progmodes/compile.el (compilation-internal-error-properties):
9725 Calculate start position correctly when end-col is set but
9726 end-line is not (Bug#11382).
9727
ebfe2597
WJ
97282012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
9729
9730 * man.el (Man-unindent): Use text-property-default-nonsticky to
9731 prevent untabify from inheriting face properties (Bug#11408).
9732
6d3f7c2f
SM
97332012-05-05 Stefan Merten <smerten@oekonux.de>
9734
9735 * textmodes/rst.el: Major merge with upstream development up to
9736 Docutils SVN r7399 / rst.el V1.2.1.
9737
9738 Clarify maintainership and authors.
9739
9740 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
9741 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
9742 (rst-official-version, rst-official-cvs-rev, rst-version)
9743 (rst-package-emacs-version-alist): New functions and variables
9744 for version information.
9745
9746 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
9747 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
9748 (rst-mode-syntax-table, rst-mode): New and corrected functions
9749 and variables representing reStructuredText features.
9750
9751 (rst-re): New function for reStructuredText regexes. Use in
9752 many places.
9753
9754 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
9755 (rst-mode-map): Rebind keys.
9756
9757 (rst-mode-lazy, rst-font-lock-keywords)
9758 (rst-font-lock-extend-region)
9759 (rst-font-lock-extend-region-internal)
9760 (rst-font-lock-extend-region-extend)
9761 (rst-font-lock-find-unindented-line-limit)
9762 (rst-font-lock-find-unindented-line-match)
9763 (rst-adornment-level, rst-font-lock-adornment-level)
9764 (rst-font-lock-adornment-match)
9765 (rst-font-lock-handle-adornment-pre-match-form)
9766 (rst-font-lock-handle-adornment-matcher): Major revision of
9767 font-locking. Integrate with other code. Use `jit-lock-mode'.
9768
9769 (rst-preferred-adornments, rst-adjust-hook)
9770 (rst-new-adornment-down, rst-preferred-bullets)
9771 (rst-preferred-bullets, rst-indent, rst-indent-width)
9772 (rst-indent-field, rst-indent-literal-normal)
9773 (rst-indent-literal-minimized, rst-indent-comment): Change,
9774 extend and improve customization.
9775
9776 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
9777 (rst-normalize-cursor-position, rst-get-decoration)
9778 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
9779 (rst-rstrip, rst-toc-insert-find-delete-contents)
9780 (rst-shift-fill-region, rst-compute-bullet-tabs)
9781 (rst-debug-print-tabs, rst-debug-mark-found)
9782 (rst-shift-region-guts, rst-shift-region-right)
9783 (rst-shift-region-left, rst-use-char-classes)
9784 (rst-font-lock-keywords-function)
9785 (rst-font-lock-indentation-point)
9786 (rst-font-lock-find-unindented-line-begin)
9787 (rst-font-lock-find-unindented-line-end)
9788 (rst-font-lock-find-unindented-line)
9789 (rst-font-lock-adornment-point, rst-font-lock-level)
9790 (rst-adornment-level-alist): Remove functions and variables.
9791
9792 (rst-compare-adornments, rst-get-adornment-match)
9793 (rst-suggest-new-adornment, rst-get-adornments-around)
9794 (rst-adornment-complete-p, rst-get-next-adornment)
9795 (rst-adjust-adornment, rst-display-adornments-hierarchy)
9796 (rst-straighten-adornments): Standardize function names to
9797 use "adornment" instead of "decoration". Correct callers.
9798 Similar standardizing in many places.
9799
9800 (rst-update-section, rst-adjust, rst-promote-region)
9801 (rst-enumerate-region, rst-bullet-list-region)
9802 (rst-repeat-last-character): Correct use of `interactive'.
9803
9804 (rst-classify-adornment, rst-find-all-adornments)
9805 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
9806 (rst-find-leftmost-column, rst-repeat-last-character):
9807 Refactor functions.
9808
9809 (rst-find-title-line, rst-reset-section-caches)
9810 (rst-get-adornments-around, rst-adjust-adornment-work)
9811 (rst-arabic-to-roman, rst-roman-to-arabic)
9812 (rst-insert-list-pos, rst-insert-list-new-item)
9813 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
9814 New functions.
9815
9816 (rst-all-sections, rst-section-hierarchy)
9817 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
9818 New variables.
9819
9820 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
9821 configuration instead of only buffer. Change where necessary.
9822
9823 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
9824 (rst-shift-region, rst-adaptive-fill): New functions for
9825 indentation and filling.
9826
9827 (rst-comment-line-break, rst-comment-indent)
9828 (rst-comment-insert-comment, rst-comment-region)
9829 (rst-uncomment-region): New functions for handling comments.
9830
9831 (rst-compile): Quote shell arguments.
9832
9833 (rst-compile-pdf-preview, rst-compile-slides-preview):
9834 Delete temporary files after use.
9835
a43f98b3
GM
98362012-05-05 Glenn Morris <rgm@gnu.org>
9837
48176e8b
GM
9838 * calendar/cal-html.el: Optionally include holidays in the output.
9839 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
9840 (cal-html-holidays): New option.
9841 (cal-html-css-default): Add holiday entry.
9842 (holiday-in-range): Autoload it.
9843 (cal-html-htmlify-entry): Add optional class argument.
9844 (cal-html-htmlify-list): Add optional holidays argument.
9845 (cal-html-insert-agenda-days): Include holidays in the output.
9846 (cal-html-one-month): Maybe include holidays.
9847
a43f98b3
GM
9848 * calendar/holidays.el (holiday-in-range):
9849 Move here from cal-tex-list-holidays.
9850 * calendar/cal-tex.el (cal-tex-list-holidays):
9851 Make it an obsolete alias for holiday-in-range. Update all callers.
9852
fef9d149 98532012-05-05 Chong Yidong <cyd@gnu.org>
eceeb5fc
CY
9854
9855 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
9856 Nextstep.
9857
248da2f4
RW
98582012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
9859
9860 * files.el (file-auto-mode-skip): New var.
9861 (set-auto-mode-1): Use it.
9862
f95e9344
SM
98632012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
9864
df96ab1e
SM
9865 * repeat.el: Use lexical-binding.
9866 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
9867 (repeat-undo-count): Remove.
9868 (repeat):
9869 * progmodes/octave-mod.el (octave-abbrev-start):
9870 * progmodes/f90.el (f90-abbrev-start):
9871 * face-remap.el (text-scale-adjust):
9872 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
9873
5342bb06
SM
9874 * emacs-lisp/pcase.el (pcase--let*): New function.
9875 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
9876 a bit more.
9877 (pcase--split-pred): Be more clever about ruling out overlap between
9878 a predicate and some constant pattern.
9879 (pcase--q1): Use `null' instead of (eq foo nil).
9880
f95e9344
SM
9881 * subr.el (setq-local, defvar-local): New macros.
9882 (kbd): Redefine as an alias.
9883 (with-selected-window): Leave unrelated frames alone.
9884 (set-temporary-overlay-map): New function.
9885
71873e2b
SM
98862012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
9887
9888 * subr.el (user-error): New function.
9889 * window.el (switch-to-buffer):
9890 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
9891 (smerge-match-conflict):
9892 * simple.el (previous-matching-history-element)
9893 (next-matching-history-element, goto-history-element, undo-more)
9894 (undo-start):
9895 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
9896 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
9897 (next-file, tags-loop-scan, list-tags, complete-tag):
9898 * progmodes/compile.el (compilation-loop):
9899 * mouse.el (mouse-minibuffer-check):
9900 * man.el (Man-bgproc-sentinel, Man-goto-page):
9901 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
9902 (Info-history-forward, Info-follow-reference, Info-menu)
9903 (Info-extract-menu-item, Info-extract-menu-counting)
9904 (Info-forward-node, Info-backward-node, Info-next-menu-item)
9905 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
9906 (Info-next-reference, Info-prev-reference, Info-index)
9907 (Info-index-next, Info-follow-nearest-node)
9908 (Info-copy-current-node-name):
9909 * imenu.el (imenu--make-index-alist)
9910 (imenu-default-create-index-function, imenu-add-to-menubar):
9911 * files.el (basic-save-buffer, recover-file):
9912 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
9913 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
9914 (checkdoc-message-text, checkdoc-defun):
9915 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
9916 * cus-edit.el (customize-changed-options, customize-rogue)
9917 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
9918 (custom-variable-mark-to-reset-standard)
9919 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
9920 (custom-file):
9921 * completion.el (check-completion-length):
9922 * comint.el (comint-search-arg)
9923 (comint-previous-matching-input-string-position)
9924 (comint-previous-matching-input)
9925 (comint-replace-by-expanded-history-before-point, comint-send-input)
9926 (comint-copy-old-input, comint-backward-matching-input)
9927 (comint-goto-process-mark, comint-set-process-mark):
9928 * calendar/calendar.el (calendar-cursor-to-date): Use it.
9929 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
9930
8a61ee22
SM
99312012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
9932
66408d1e
SM
9933 * dabbrev.el (dabbrev--ignore-case-p): New function.
9934 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
9935 Use it.
9936
8a61ee22
SM
9937 * files.el (automount-dir-prefix): Mark as obsolete.
9938
3c74813a
GM
99392012-05-04 Glenn Morris <rgm@gnu.org>
9940
9941 * patcomp.el, play/bruce.el: Move to obsolete/.
9942
0bfcf5c5
PE
99432012-05-04 Paul Eggert <eggert@cs.ucla.edu>
9944
9945 Fix minor Y10k bugs.
9946 * arc-mode.el (archive-unixdate):
9947 * autoinsert.el (auto-insert-alist):
9948 * calc/calc-forms.el (math-this-year):
9949 * emacs-lisp/copyright.el (copyright-current-year)
9950 (copyright-update-year, copyright):
9951 * tar-mode.el (tar-clip-time-string):
9952 * time.el (display-time-update):
9953 Don't assume years have 4 digits.
9954
78f3273a
CY
99552012-05-04 Chong Yidong <cyd@gnu.org>
9956
9957 * dos-w32.el (file-name-buffer-file-type-alist)
9958 (direct-print-region-use-command-dot-com):
9959 * ffap.el (ffap-menu-regexp):
9960 * find-file.el (ff-special-constructs):
9961 * follow.el (follow-debug):
9962 * forms.el (forms--debug):
9963 * iswitchb.el (iswitchb-all-frames):
9964 * ido.el (ido-all-frames):
9965 * emacs-lisp/timer.el (timer-max-repeats):
9966 * mail/feedmail.el (feedmail-mail-send-hook)
9967 (feedmail-mail-send-hook-queued):
9968 * mail/footnote.el (footnote-signature-separator):
9969 * mail/mailabbrev.el (mail-alias-separator-string)
9970 (mail-abbrev-mode-regexp):
9971 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
9972 * progmodes/idlwave.el (idlwave-libinfo-file)
9973 (idlwave-default-completion-case-is-down)
9974 (idlwave-library-routines): Convert defvars to defcustoms.
9975
9976 * mail/rmail.el (rmail-decode-mime-charset):
9977 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
9978 (idlwave-shell-fix-inserted-breaks)
9979 (idlwave-shell-activate-alt-keybindings)
9980 (idlwave-shell-use-breakpoint-glyph):
9981 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
9982
f7ae6719
SM
99832012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
9984
9985 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
9986
47086495
WS
99872012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
9988
9989 * progmodes/verilog-mode.el (font-lock-keywords):
9990 Fix mis-highligting auto. Reported by Craig Barner.
9991 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
fc0c31f8 9992 defines from global name space. Reported by Dan Dever.
47086495
WS
9993 (verilog-auto-reset, verilog-auto-reset-widths)
9994 (verilog-auto-tieoff): Support using unbased numbers for
9995 AUTORESET and AUTOTIEOFF.
9996 (verilog-submit-bug-report): Update variable list.
9997 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
fc0c31f8 9998 parenthesis from not matching. Reported by Michael Rytting.
47086495
WS
9999 (verilog-auto-template-lint): Fix hash error when linting modules
10000 with no used templates.
10001 (verilog-warn, verilog-warn-error)
10002 (verilog-warn-fatal): When non-interactive report multiple
10003 warnings before exiting. Suggested by Brad Dobbie.
10004 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
10005 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
10006 to report unused template errors. Reported by Brad Dobbie.
10007 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
fc0c31f8 10008 nets, bug438. Reported by Vns Blore.
47086495
WS
10009 (verilog-auto-inout-module, verilog-auto-reg)
10010 (verilog-read-decls, verilog-read-sub-decls-sig)
10011 (verilog-signals-edit-wire-reg, verilog-signals-with):
10012 Fix passing of Verilog data types in ANSI input/output ports
fc0c31f8 10013 such as "output logic" into the AUTOs. Special case "wire" and
47086495
WS
10014 "reg" for backwards compatibility presuming Verilog 2001.
10015 (verilog-auto-ascii-enum): Add "auto enum" as alias.
10016 (verilog-preprocess): Fix replication of preprocess output.
10017 Reported by Brad Dobbie.
10018 (verilog-auto-inst-interfaced-ports):
10019 Create verilog-auto-inst-interfaced-ports, bug429.
10020 Reported by Julian Gorfajn.
10021 (verilog-after-save-font-hook)
10022 (verilog-before-save-font-hook): New variable.
10023 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
10024 (verilog-save-font-mods): Wrap disabling fontification, reported
10025 by David Rogoff.
10026 (verilog-do-indent, verilog-pretty-declarations-auto)
10027 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
10028 Reported by Pierre-David Pfister.
10029 (verilog-set-auto-endcomments): Fix endtask auto comments outside
10030 of class declarations, bug292. Reported by Kevin Heilman.
10031 (verilog-read-decls): Fix 'parameter type' not appearing in
10032 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
10033 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
fc0c31f8 10034 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
47086495
WS
10035 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
10036 Reported by David Kravitz.
10037
100382012-05-03 Michael McNamara <mac@mail.brushroad.com>
10039
10040 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
10041 assignment with tests in ifs and for loops.
10042 (verilog-extended-complete-re, verilog-complete-reg): Change so
10043 that DPI inport functions don't look like fuction declarations.
10044 (verilog-pretty-expr): Don't line up assignment
10045 operations to the test and increment in if and for loops
10046 (verilog-extended-complete-re, verilog-complete-reg): Change so
090bd7cb 10047 that DPI inport functions don't look like fuction declarations.
47086495 10048
2e51d4b5
KH
100492012-05-03 Kenichi Handa <handa@m17n.org>
10050
10051 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
c846da43 10052 decoding, and show a warning message without signaling an error
2e51d4b5
KH
10053 (Bug#11282).
10054
2bd785a2
SM
100552012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
10056
10057 * emacs-lisp/bytecomp.el
10058 (byte-compile-file-form-custom-declare-variable): Compile all elements,
10059 since cconv.el might have introduced :fun-body, internal-make-closure,
10060 and friends for bytecomp to handle (bug#11391).
10061 * custom.el (defcustom): Avoid ((λ ..) ..).
10062
99d27583
SM
100632012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
10064
10065 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
10066
55a71479
JB
100672012-05-02 Juanma Barranquero <lekktu@gmail.com>
10068
10069 * notifications.el (dbus-debug):
10070 * term/linux.el (gpm-mouse-enable):
10071 * term/screen.el (xterm-register-default-colors): Declare.
10072
7b97c764
CY
100732012-05-02 Chong Yidong <cyd@gnu.org>
10074
2bc356d7
CY
10075 * cus-start.el (gc-cons-percentage, exec-suffixes)
10076 (dos-display-scancodes, dos-hyper-key, dos-super-key)
10077 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
10078 (make-cursor-line-fully-visible, void-text-area-pointer)
10079 (font-list-limit): Add customization data.
10080
7b97c764
CY
10081 * allout.el (allout-exposure-change-functions)
10082 (allout-structure-added-functions)
10083 (allout-structure-deleted-functions)
10084 (allout-structure-shifted-functions): Rename abnormal hooks from
10085 *-hook, and convert to defcustoms.
5d3385a0
JB
10086 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
10087 Convert to defcustoms.
7b97c764
CY
10088 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
10089
10090 * allout-widgets.el: Hook callers changed.
10091
90207a15 100922012-05-02 Eli Zaretskii <eliz@gnu.org>
91af76bf
EZ
10093
10094 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
10095 the yanked message in preference to the default value of
10096 buffer-file-coding-system.
10097
90207a15 100982012-05-02 Martin Rudalics <rudalics@gmx.at>
d9558cad 10099
5d3385a0
JB
10100 * window.el (display-buffer--action-function-custom-type):
10101 Fix entry.
d9558cad 10102
90207a15 101032012-05-02 Alan Mackenzie <acm@muc.de>
09affde0
AM
10104
10105 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
10106
d80ac57b
GM
101072012-05-01 Glenn Morris <rgm@gnu.org>
10108
976f7668
GM
10109 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
10110
beb83b5a
GM
10111 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
10112
d80ac57b
GM
10113 * cus-edit.el (custom-variable-documentation): Simplify with format.
10114
b593d6a9 101152012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
f1a71c6e 10116 Stefan Monnier <monnier@iro.umontreal.ca>
b593d6a9
AH
10117
10118 * simple.el (suggest-key-bindings, execute-extended-command):
10119 Move from keyboard.c.
10120
782fbf2a
CY
101212012-05-01 Chong Yidong <cyd@gnu.org>
10122
10123 * follow.el: Eliminate advice.
10124 (set-process-filter, process-filter, sit-for): Advice deleted.
10125 (follow-mode-off-hook): Obsolete hook removed.
b593d6a9
AH
10126 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
10127 Vars deleted.
782fbf2a
CY
10128 (follow-auto): Use a :set function.
10129 (follow-mode): Rewritten. Don't advise process filters.
10130 (follow-switch-to-current-buffer-all, follow-scroll-up)
10131 (follow-scroll-down): Assume follow-mode is bound.
10132 (follow-comint-scroll-to-bottom)
10133 (follow-align-compilation-windows): New functions.
10134 (follow--window-sorter): New function.
10135 (follow-all-followers): Use it to explicitly sort windows by their
10136 positions; don't make assumptions about next-window order.
10137 (follow-windows-start-end, follow-delete-other-windows-and-split)
10138 (follow-calc-win-start): Doc fix.
10139 (follow-windows-aligned-p, follow-select-if-visible): Don't call
10140 vertical-motion unnecessarily.
10141 (follow-adjust-window): New function.
10142 (follow-post-command-hook): Use it.
10143 (follow-call-set-process-filter, follow-call-process-filter)
10144 (follow-intercept-process-output, follow-tidy-process-filter-alist)
10145 (follow-stop-intercept-process-output, follow-generic-filter):
10146 Functions deleted.
10147 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
b593d6a9
AH
10148 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
10149 New functions, replacing advice on scroll-bar-* commands.
87233a14 10150 (follow-mwheel-scroll): New function (Bug#4112).
782fbf2a
CY
10151
10152 * comint.el (comint-adjust-point): New function.
b593d6a9
AH
10153 (comint-postoutput-scroll-to-bottom): Use it.
10154 Call follow-comint-scroll-to-bottom for Follow mode buffers.
782fbf2a 10155
290af740
GM
101562012-05-01 Glenn Morris <rgm@gnu.org>
10157
10158 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
10159 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
10160 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
10161 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
10162 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
10163 Remove no-byte-compile setting.
10164
6eac8dc9
SM
101652012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
10166
10167 * minibuffer.el (completion-table-with-quoting): Fix compatibility
10168 all-completions code to not return a number in the last cdr.
10169
9cc7819c
LL
101702012-04-30 Leo Liu <sdl.web@gmail.com>
10171
10172 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
10173 read-only error.
10174
c93b886f
CY
101752012-04-29 Chong Yidong <cyd@gnu.org>
10176
10177 * follow.el (follow-calc-win-end): Rewrite to handle partial
10178 screen lines correctly (Bug#8390).
10179 (follow-avoid-tail-recenter): Minor cleanup.
10180
8b6c19f4
SM
101812012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
10182
10183 Avoid the obsolete `assoc' package.
10184 * speedbar.el (speedbar-refresh): Avoid adelete.
10185 (speedbar-file-lists): Simplify and avoid aput.
10186 * man.el (Man--sections, Man--refpages): New vars, replacing
10187 Man-sections-alist and Man-refpages-alist.
10188 (Man-build-section-alist, Man-build-references-alist):
10189 Use them; avoid aput.
10190 (Man--last-section, Man--last-refpage): New vars.
10191 (Man-follow-manual-reference): Use them.
10192 Use the `default' arg of completing-read.
10193 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
10194
c5bb7569
CY
101952012-04-27 Chong Yidong <cyd@gnu.org>
10196
d1d2e2e8
CY
10197 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
10198
15cd8efd
CY
10199 * startup.el (x-apply-session-resources): New function.
10200
10201 * term/ns-win.el (ns-initialize-window-system):
10202 * term/w32-win.el (w32-initialize-window-system):
10203 * term/x-win.el (x-initialize-window-system): Use it to properly
10204 set menu-bar-mode and other vars from X resources, even if the
10205 initial frame is not a window-system frame (Bug#2299).
10206
c5bb7569
CY
10207 * subr.el (read-key): Avoid running filter function when setting
10208 up temporary tool bar entries (Bug#9922).
10209
a8e7d6d7 102102012-04-27 Andreas Schwab <schwab@linux-m68k.org>
c4347ab9
AS
10211
10212 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
10213 (Bug#11344)
10214
a8e7d6d7 102152012-04-27 Chong Yidong <cyd@gnu.org>
acb71f1d
CY
10216
10217 * select.el (xselect--encode-string): New function, split from
10218 xselect-convert-to-string.
10219 (xselect-convert-to-string): Use it.
10220 (xselect-convert-to-filename, xselect-convert-to-os)
10221 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
10222 returned strings are properly encoded (Bug#11315).
10223
a8e7d6d7 102242012-04-27 Chong Yidong <cyd@gnu.org>
d55486c7
CY
10225
10226 * simple.el (delete-active-region): Move to killing custom group.
10227
a8e7d6d7 102282012-04-27 Andreas Schwab <schwab@linux-m68k.org>
581b6788
AS
10229
10230 * progmodes/which-func.el (which-func-current): Quote %
10231 characters for mode-line processing.
10232
578c1d4b 102332012-04-27 Chong Yidong <cyd@gnu.org>
18edb22d
CY
10234
10235 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
10236 reaching eob (Bug#11286).
10237
a8e7d6d7 102382012-04-27 Eli Zaretskii <eliz@gnu.org>
9ee9f470
EZ
10239
10240 * progmodes/gdb-mi.el (gdb-control-level): New variable.
10241 (gdb): Make it buffer-local and init to zero.
10242 (gdb-control-commands-regexp): New variable.
10243 (gdb-send): Don't wrap in "-interpreter-exec console" if
10244 gdb-control-level is positive. Increment gdb-control-level
10245 whenever the command matches gdb-control-commands-regexp, and
10246 decrement it each time the command is "end". (Bug#11279)
10247
a8e7d6d7 102482012-04-27 Martin Rudalics <rudalics@gmx.at>
41cfe0cb
MR
10249
10250 * window.el (adjust-window-trailing-edge, enlarge-window)
10251 (shrink-window, window-resize):
10252 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
10253 windows (Bug#11276).
10254
b3608390
CY
102552012-04-27 Chong Yidong <cyd@gnu.org>
10256
10257 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
a8e7d6d7 10258 fix "missing prefix" warning. All callers changed.
b3608390 10259
797e6e88
SM
102602012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
10261
10262 * emacs-lisp/assoc.el: Move to obsolete/.
10263
e95a67dc
SM
102642012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
10265
657c21e4 10266 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
e95a67dc
SM
10267
10268 * term/ns-win.el (ns-define-service):
10269 * progmodes/pascal.el (pascal-goto-defun):
10270 * progmodes/js.el (js--read-tab):
10271 * progmodes/etags.el (tags-lazy-completion-table):
10272 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
10273 * emacs-lisp/ewoc.el (ewoc--wrap):
10274 * emacs-lisp/assoc.el (aput, adelete, amake):
10275 * doc-view.el (doc-view-convert-current-doc):
10276 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
10277
cb3e7ae0
CY
102782012-04-26 Chong Yidong <cyd@gnu.org>
10279
dce04f7f
CY
10280 * image.el (image-type-from-buffer): Only return supported image
10281 type (Bug#9045).
10282
cb3e7ae0
CY
10283 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
10284 value, for symmetry with diff-end-of-hunk.
10285 (diff-split-hunk, diff-find-source-location)
10286 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
10287 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
10288 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
10289 compute the relevant hunk or file properly (Bug#6005).
10290 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
10291
0d42eb3e
SM
102922012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
10293
10294 * vc/vc-mtn.el:
10295 * vc/vc-hg.el:
10296 * vc/vc-git.el:
10297 * vc/vc-dir.el:
10298 * vc/vc-cvs.el:
10299 * vc/vc-bzr.el:
10300 * vc/vc-arch.el:
10301 * vc/vc.el: Replace lexical-let by lexical-binding.
10302 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
10303 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
10304 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
10305
f08ae1c9
CY
103062012-04-26 Chong Yidong <cyd@gnu.org>
10307
8b71081d
CY
10308 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
10309 (diff-mode-shared-map): Bind it to / and [remap undo].
10310
f08ae1c9
CY
10311 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
10312 (ediff-window-setup-function): Use it as the default, to set up
10313 windows based on whether the current frame is graphical (Bug#2138).
10314 (ediff-choose-window-setup-function-automatically): Make obsolete.
10315
10316 * vc/ediff-init.el: Always define ediff-pixel-width/height.
10317
ef24141c
SM
103182012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10319
cc356a5d
SM
10320 * ffap.el: Remove old code for obsolete package.
10321 (ffap-complete-as-file-p): Remove.
10322
b4ff4f1f
SM
10323 Use completion-table-with-quoting for comint and pcomplete.
10324 * comint.el (comint--unquote&requote-argument)
10325 (comint--unquote-argument, comint--requote-argument): New functions.
10326 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
10327 (comint-quote-filename): Use regexp-opt-charset.
10328 (comint--common-suffix, comint--common-quoted-suffix)
10329 (comint--table-subvert): Remove.
10330 (comint-unquote-function, comint-requote-function): New vars.
10331 (comint--complete-file-name-data): Use them with
10332 completion-table-with-quoting.
10333 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
10334 * pcomplete.el (pcomplete-arg-quote-list)
10335 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
10336 (pcomplete-unquote-argument-function): Default to non-nil.
10337 (pcomplete-unquote-argument): Simplify.
10338 (pcomplete--common-quoted-suffix): Remove.
10339 (pcomplete-requote-argument-function): New var.
10340 (pcomplete--common-suffix): New function.
10341 (pcomplete-completions-at-point): Use completion-table-with-quoting
10342 and completion-table-subvert.
10343
79c4eeb4
SM
10344 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
10345 (minibuffer--double-dollars): Preserve properties.
10346 (completion--sifn-requote): New function.
10347 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
10348
ef24141c
SM
10349 * minibuffer.el: Add support for completion of quoted/escaped data.
10350 (completion-table-with-quoting, completion-table-subvert): New funs.
10351 (completion--twq-try, completion--twq-all): New functions.
10352 (completion--nth-completion): New function.
10353 (completion-try-completion, completion-all-completions): Use it.
10354
784e7d6e
LL
103552012-04-25 Leo Liu <sdl.web@gmail.com>
10356
dd2ac746
SM
10357 * progmodes/python.el (python-pdbtrack-get-source-buffer):
10358 Use compilation-message if available to find real filename.
784e7d6e 10359
07875ee7
CY
103602012-04-25 Chong Yidong <cyd@gnu.org>
10361
10362 * vc/diff-mode.el (diff-setup-whitespace): New function.
10363 (diff-mode): Use it.
10364
10365 * vc/diff.el (diff-sentinel):
10366 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
10367 Whitespace mode variables based on diff style (Bug#8612).
10368
5055880d
LL
103692012-04-25 Leo Liu <sdl.web@gmail.com>
10370
daf75653
LL
10371 * progmodes/python.el (python-send-region): Add suffix .py to the
10372 temp file.
10373
5055880d
LL
10374 * files.el (auto-mode-alist): Use javascript-mode instead.
10375
db9b177b
AH
103762012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
10377
ef24141c 10378 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b 10379
090bd7cb 10380 * net/soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 10381 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 10382 references, see Bug#9.
ef24141c 10383 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 10384 when receiving a fault reply.
ef24141c 10385 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b 10386
090bd7cb 10387 * net/soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 10388 (soap-inspect-simple-type): New function.
db9b177b 10389
090bd7cb 10390 * net/soap-client.el (soap-simple-type): New struct.
db9b177b 10391 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
10392 (soap-decode-basic-type, soap-encode-basic-type):
10393 support unsignedInt and double basic types.
db9b177b 10394 (soap-resolve-references-for-simple-type)
ef24141c
SM
10395 (soap-parse-simple-type, soap-encode-simple-type): New function.
10396 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b 10397
090bd7cb 10398 * net/soap-client.el (soap-default-xsd-types)
ef24141c
SM
10399 (soap-default-soapenc-types): Add integer, byte and anyURI types.
10400 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
10401 the local name of "soapenc:Array".
10402 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
db9b177b
AH
10403 decoding integer, byte and anyURI xsd types.
10404
1fc6097b
CY
104052012-04-25 Chong Yidong <cyd@gnu.org>
10406
10407 * cus-edit.el (custom-buffer-create-internal): Update header text.
10408
afc6df87
EZ
104092012-04-25 Eli Zaretskii <eliz@gnu.org>
10410
10411 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
10412 settings on 'system-type', not on 'window-system'. On MS-Windows,
10413 set interactive-mode on in GDB.
10414
dfbd787f
SM
104152012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
10416
10417 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
10418 (ruby-syntax-propertize-regexp): Remove.
10419 (ruby-syntax-propertize-function): Split regexp into chunks.
10420 Match following code directly.
10421
85222d44
DG
104222012-04-24 Dmitry Gutov <dgutov@yandex.ru>
10423
51a8ea2a
DG
10424 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
10425 (ruby-syntax-propertize-regexp): New function.
10426 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
10427 by a special keyword.
10428
85222d44
DG
10429 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
10430 (ruby-syntax-general-delimiters-goto-beg)
10431 (ruby-syntax-propertize-general-delimiters): New functions.
10432 (ruby-syntax-propertize-function): Use them to handle GDL.
10433 (ruby-font-lock-keywords): Move old handling of GDL...
10434 (ruby-font-lock-syntactic-keywords): .. to here.
10435 (ruby-calculate-indent): Adjust indentation for GDL.
10436
b613912b
MA
104372012-04-24 Michael Albinus <michael.albinus@gmx.de>
10438
b5380639
MA
10439 * notifications.el (top): Remove unneeded declarations.
10440 (notifications-specification-version): Change to "1.2".
e43042fe 10441 (notifications-interface, notifications-notify-method)
b613912b
MA
10442 (notifications-close-notification-method): Fix docstring.
10443 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
10444 (notifications-notify): Add :action-items, :resident and
10445 :transient hints. Change "image_data" to "image-data" and
10446 "image_path" to "image-path".
b613912b
MA
10447 (notifications-get-capabilities): New defun.
10448
257440aa
LL
104492012-04-24 Leo Liu <sdl.web@gmail.com>
10450
10451 * progmodes/python.el: Move hideshow setup to the end.
10452
b1bac16e
MR
104532012-04-24 Martin Rudalics <rudalics@gmx.at>
10454
10455 * window.el (handle-select-window): Clear echo area since this is
10456 no more done by read_char (Bug#11304).
10457
d81bd059
SM
104582012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
10459
10460 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
10461 and `/ M' to filter-derived-mode.
10462 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
10463 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
10464 (ibuffer-mark-by-mode): Use default rather than initial-input.
10465 (ibuffer-filter-by-derived-mode): Autoload and require-match.
10466
c4cf6d91
IA
104672012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
10468
10469 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
10470 (ibuffer-filter-by-derived-mode): New filter.
10471 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
10472
7511ded8
CY
104732012-04-23 Andreas Politz <politza@fh-trier.de>
10474
10475 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
10476
775c916b
CY
104772012-04-23 Chong Yidong <cyd@gnu.org>
10478
10479 * cus-edit.el (customize-apropos, customize-apropos-options):
10480 Disable matching of non-option variables (Bug#11176).
10481 (customize-option, customize-option-other-window)
10482 (customize-changed-options): Doc fix.
10483 (customize-apropos-options, customize-apropos-faces)
10484 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
10485
10486 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 10487 Fix word list splitting (Bug#11132).
46c71e23
CY
10488 (apropos-symbol, apropos-keybinding, apropos-label)
10489 (apropos-property, apropos-function-button)
10490 (apropos-variable-button, apropos-misc-button): New faces.
10491 (apropos-symbol-face, apropos-keybinding-face)
10492 (apropos-label-face, apropos-property-face, apropos-match-face):
10493 Variables removed (Bug#8396).
10494 (apropos-library-button, apropos-format-plist, apropos-print)
10495 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 10496
2df41f9c
MA
104972012-04-23 Michael Albinus <michael.albinus@gmx.de>
10498
10499 * net/xesam.el (xesam-mode-map): Use let-bound map in
10500 initialization. (Bug#11292)
10501
da00640a
AM
105022012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10503
10504 Preserve ispell session localwords when switching back to
10505 original buffer.
10506
090bd7cb
JB
10507 * textmodes/ispell.el (ispell-buffer-session-localwords):
10508 New buffer-local variable to hold buffer session localwords.
ed9265fc 10509 (ispell-kill-ispell): Add option 'clear to delete session
da00640a
AM
10510 localwords.
10511 (ispell-command-loop, ispell-change-dictionary)
10512 (ispell-buffer-local-words): Preserve session localwords when
10513 needed.
10514
090bd7cb
JB
10515 * textmodes/flyspell.el (flyspell-process-localwords)
10516 (flyspell-do-correct): Preserve session localwords when needed.
da00640a 10517
f621ccf5
AM
105182012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10519
090bd7cb
JB
10520 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
10521 using obsolete `translation-table-for-input'.
ef24141c
SM
10522 (ispell-word, ispell-process-line, ispell-complete-word):
10523 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 10524
c2d1019e
CY
105252012-04-22 Chong Yidong <cyd@gnu.org>
10526
10527 * cus-edit.el (custom-variable-menu)
10528 (custom-variable-reset-saved, custom-face-menu)
10529 (custom-face-reset-saved): If there is no saved value, make the
10530 "reset-saved" operation bring back the default (Bug#9509).
10531 (custom-face-state): Properly detect themed faces.
10532
eeddc531
CY
10533 * faces.el (face-spec-set): Stop supporting deprecated form of
10534 third arg.
10535
dcbf5805
MA
105362012-04-22 Michael Albinus <michael.albinus@gmx.de>
10537
10538 Move functions from C to Lisp. Make non-blocking method calls
10539 the default. Implement further D-Bus standard interfaces.
10540
ef24141c
SM
10541 * net/dbus.el (dbus-message-internal): Declare function.
10542 Remove unneeded function declarations.
dcbf5805
MA
10543 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
10544 (dbus-message-type-method-return, dbus-message-type-error)
10545 (dbus-message-type-signal): Declare variables. Remove local
10546 definitions.
10547 (dbus-interface-dbus, dbus-interface-peer)
10548 (dbus-interface-introspectable, dbus-interface-properties)
10549 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
10550 Adapt docstring.
10551 (dbus-interface-objectmanager): New defconst.
10552 (dbus-call-method, dbus-call-method-asynchronously)
10553 (dbus-send-signal, dbus-method-return-internal)
10554 (dbus-method-error-internal, dbus-register-service)
10555 (dbus-register-signal, dbus-register-method): New defuns, moved
10556 from dbusbind.c
10557 (dbus-call-method-handler, dbus-setenv)
ef24141c
SM
10558 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
10559 New defuns.
dcbf5805
MA
10560 (dbus-call-method-non-blocking): Make it an obsolete function.
10561 (dbus-unregister-object, dbus-unregister-service)
10562 (dbus-handle-event, dbus-register-property)
10563 (dbus-property-handler): Obey the new structure of
10564 `bus-registered-objects'.
10565 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
10566 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
10567 Use `dbus-call-method'.
10568
cf20dee0
CY
105692012-04-22 Chong Yidong <cyd@gnu.org>
10570
10571 * cus-edit.el (custom-commands, custom-reset-menu)
10572 (Custom-reset-standard): Tweak labels.
10573 (custom-reset-button-menu): Change default to t.
10574 (custom-buffer-create-internal): For the custom-reset-button-menu
10575 case, put the revert button first.
10576 (custom-group-subtitle): New face.
10577 (custom-group-value-create): Align docstring to a specific column.
10578
10579 * wid-edit.el (widget-documentation-link-add): Don't handle
10580 indentation in this function.
10581 (widget-documentation-string-indent-to): New function.
10582 (widget-documentation-string-value-create): Use it.
10583
10584 * autorevert.el (auto-revert):
10585 * epg-config.el (epg):
10586 * ibuffer.el (ibuffer):
10587 * mpc.el (mpc):
10588 * ses.el (ses):
10589 * eshell/eshell.el (eshell):
10590 * net/ange-ftp.el (ange-ftp):
10591 * progmodes/ebnf2ps.el (postscript):
10592 * progmodes/flymake.el (flymake):
10593 * progmodes/prolog.el (prolog):
10594 * progmodes/verilog-mode.el (verilog-mode):
10595 * progmodes/which-func.el (which-func):
10596 * term/xterm.el (xterm):
10597 * textmodes/picture.el (picture):
10598 * textmodes/tildify.el (tildify):
10599 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
10600 customization buffers.
10601
583e23bd
AM
106022012-04-22 Alan Mackenzie <acm@muc.de>
10603
10604 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
10605 Adding a ) can hide the resulting (..) from searches. Fix it.
10606 Bound the backward search to the position of the existing (.
10607
7dd51bf1
JB
106082012-04-21 Juanma Barranquero <lekktu@gmail.com>
10609
10610 * progmodes/verilog-mode.el (verilog-mode): Check whether
10611 which-func-modes is t before adding verilog-mode.
10612 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
10613
d64a438f
LL
106142012-04-21 Leo Liu <sdl.web@gmail.com>
10615
7dd51bf1 10616 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 10617
081e8d65
MV
106182012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
10619
10620 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
10621 filling of the last column of a table (Bug#5635).
10622 (woman-find-next-control-line): New arg, specifying an additional
10623 regexp component for the control line.
10624 (woman2-roff-buffer): Use it.
10625 (woman-break-table): New function.
10626 (woman2-TS): Use it.
10627
106282012-04-21 Chong Yidong <cyd@gnu.org>
10629
10630 * woman.el (woman-set-buffer-display-table, woman-decode-region)
10631 (woman-horizontal-escapes, woman-negative-vertical-space)
10632 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
10633 (WoMan-warn-ignored): Use ?\s instead of ?\ .
10634
ed571ccb
SM
106352012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
10636
10637 * minibuffer.el (completion-file-name-table): Complete user names.
10638
39773899
LL
106392012-04-20 Leo Liu <sdl.web@gmail.com>
10640
10641 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
10642 and pcase-let*.
10643
de6ff46d
CY
106442012-04-20 Chong Yidong <cyd@gnu.org>
10645
10646 * server.el (server-execute): Respect initial-buffer-choice if it
10647 is a string and there are no files to open (Bug#2825).
10648 (server-create-window-system-frame, server-create-tty-frame):
10649 Don't switch buffers here.
2d0e8e61
CY
10650 (server-process-filter): Only try to open a window system frame if
10651 compiled with graphical support (Bug#8314).
de6ff46d 10652
54071013
DN
106532012-04-20 Dan Nicolaescu <dann@gnu.org>
10654
10655 * battery.el (battery-echo-area-format): Display remaining time
10656 for sysfs backend too (Bug#11269).
10657 (battery-linux-sysfs): Fix conditional for the charge.
10658
f30d612a
CY
106592012-04-20 Chong Yidong <cyd@gnu.org>
10660
c07a4c0b 10661 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
10662 (gdb-inferior-io--init-proc): New function.
10663 (gdb-init-1): Use it.
10664 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
10665 responsible for allocating a new pty and hooking it to gdb when
10666 the old pty gets an EIO due to process exit.
10667 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
10668 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
10669 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
10670
2116e93c
EZ
106712012-04-20 Eli Zaretskii <eliz@gnu.org>
10672
10673 * window.el (window-min-size, window-sizable, window-min-delta)
10674 (window-max-delta, window--resizable, window-resizable)
10675 (window-total-size, window-full-height-p, window-full-width-p)
10676 (window-in-direction, window--resize-mini-window, window-resize)
10677 (window--resize-child-windows-normal)
10678 (window--resize-child-windows, window--resize-siblings)
10679 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 10680 (enlarge-window, shrink-window): Doc fixes.
2116e93c 10681
c07a4c0b 106822012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 10683
ef24141c
SM
10684 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
10685 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
10686 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
10687 pty process (Bug#11273).
10688 (gdb-update): New arg to suppress talking to the gdb process.
10689 (gdb-done-or-error): Use it.
10690 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
10691 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
10692 sentinel not being called.
10693
10694 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
10695
d02766ab
CY
10696 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
10697
c07a4c0b 106982012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
10699
10700 * net/network-stream.el (open-network-stream): Doc fix.
10701
c07a4c0b 107022012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
10703
10704 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
10705
c07a4c0b 107062012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
10707
10708 Ensure searching for keywords is case sensitive.
10709
10710 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
10711 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
10712 (c-defun-name, c-mark-function, c-cpp-define-name)
10713 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 10714 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 10715
ef24141c
SM
10716 * progmodes/cc-mode.el (c-font-lock-fontify-region):
10717 Bind case-fold-search to nil.
f0f6bc35 10718
c07a4c0b 107192012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
10720
10721 * mail/sendmail.el (mail-bury): Call return action with the right
10722 Rmail buffer (Bug#11242).
10723
9a864fa2
CY
10724 * server.el (server-process-filter): Handle corner case where both
10725 tty and nowait options are present (Bug#11102).
10726
539aa513
EZ
107272012-04-20 Eli Zaretskii <eliz@gnu.org>
10728
10729 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
10730 (top level): Put into the executable the ident-style '$Id:' tag on
10731 windows-nt as well.
539aa513 10732
cfc7d5da
SM
107332012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
10734
10735 * electric.el (electric-indent-post-self-insert-function): Check that
10736 electric-indent-mode is enabled in current buffer.
10737
5b01685c
JB
107382012-04-19 Juanma Barranquero <lekktu@gmail.com>
10739
10740 * imenu.el (imenu-progress-message): Restore; it is "used" in
10741 erc/erc-imenu.el and net/snmp-mode.el.
10742
4d6769e1
JB
107432012-04-19 Juanma Barranquero <lekktu@gmail.com>
10744
10745 * avoid.el (mouse-avoidance-mode): Mark unused arg.
10746 (mouse-avoidance-nudge-mouse): Remove unused binding.
10747
10748 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
10749
10750 * descr-text.el (describe-char):
10751 * progmodes/python.el (python-describe-symbol):
10752 Don't call `toggle-read-only', set `buffer-read-only'.
10753
10754 * imenu.el (imenu-default-goto-function): Mark unused args.
10755 (imenu-progress-message): Remove obsolete macro; all callers changed.
10756
10757 * subr.el (keymap-canonicalize): Remove unused binding.
10758 (read-passwd): Mark unused arg.
10759
10760 * tutorial.el (tutorial--display-changes): Remove unused binding.
10761 (tutorial--save-tutorial-to): Remove unused variable.
10762
10763 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
10764 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
10765 (package-generate-autoloads, package-menu--generate)
10766 (package-menu--find-upgrades): Remove unused bindings.
10767
10768 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
10769 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
10770 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
10771 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
10772 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
10773 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
10774 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
10775 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
10776 (cua-delete-char-rectangle): Mark unused args.
10777 (cua-align-rectangle): Remove unused binding.
10778
10779 * mail/rmail.el (compilation--message->loc)
10780 (epa--find-coding-system-for-mime-charset): Declare.
10781
10782 * net/dbus.el (dbus-register-service): Declare.
10783 (dbus-name-owner-changed-handler): Remove unused binding.
10784
10785 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
10786 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
10787 (nxml-scan-backward-within): Mark unused arg.
10788 (nxml-dynamic-markup-word): Remove unused binding.
10789
10790 * mouse.el (mouse-menu-major-mode-map):
10791 * emacs-lisp/authors.el (authors-scan-change-log)
10792 (authors-add-to-author-list):
10793 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
10794 * emacs-lisp/smie.el (smie-auto-fill):
10795 * mail/sendmail.el (mail-bury):
10796 * mail/unrmail.el (unrmail):
10797 * net/tls.el (open-tls-stream):
10798 * textmodes/picture.el (picture-mouse-set-point):
10799 Remove unused bindings.
10800
8c8fc5df
MA
108012012-04-19 Michael Albinus <michael.albinus@gmx.de>
10802
10803 * net/tramp.el (tramp-action-password): Let-bind
10804 `enable-recursive-minibuffers' to t.
10805
a77b0ac9
SS
108062012-04-18 Sam Steingold <sds@gnu.org>
10807
10808 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
10809 instead of 'string to accommodate values like [f11].
10810 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
10811 * progmodes/gdb-mi.el: Likewise.
10812
12a106a9
LL
108132012-04-18 Leo Liu <sdl.web@gmail.com>
10814
10815 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
10816 current buffer.
10817 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
10818 LOCAL is nil.
10819
bc6494ef
CY
108202012-04-18 Chong Yidong <cyd@gnu.org>
10821
10822 * simple.el (line-move): Use forward-line if in batch mode
10823 (Bug#11053).
10824
c09c46b2
CS
108252012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
10826
10827 * files.el (after-find-file): Do not try to add a final newline if
10828 the buffer is read-only (Bug#11156).
10829
5f6530ea
RS
108302012-04-17 Richard Stallman <rms@gnu.org>
10831
10832 * mail/rmail.el (rmail-start-mail):
10833 Pass (rmail-mail-return...) for the return-action.
10834 Pass (rmail-yank-current-message...) for the yank-action.
10835 (rmail-yank-current-message): New function.
10836 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
10837 (rmail-reply): Likewise.
10838 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
10839
10840 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 10841 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
10842 buffer, not newbuf.
10843
197b6f3c
JB
108442012-04-17 Juanma Barranquero <lekktu@gmail.com>
10845
10846 * server.el (server-ensure-safe-dir): Simplify.
10847
2311d8e5 108482012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 10849
2311d8e5
GM
10850 * emacs-lisp/smie.el: Provide smarter auto-filling.
10851 (smie-auto-fill): New function.
10852 (smie-setup): Use it.
98fb480e 10853
2311d8e5
GM
10854 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
10855
108562012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
10857
10858 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
10859 (comment-indent): Use it.
10860
2311d8e5 108612012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
10862
10863 * ses.el: The overall change is to add cell renaming, that is
10864 setting fancy names for cell symbols other than name matching
10865 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 10866 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 10867 (ses-create-cell-variable): New defun.
2311d8e5 10868 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
10869 (ses-relocate-formula): Relocate formulas only for cells the
10870 symbols of which are not renamed, i.e. symbols whose names do not
10871 match regexp "\\`[A-Z]+[0-9]+\\'".
10872 (ses-relocate-all): Relocate values only for cells the symbols of
10873 which are not renamed.
10874 (ses-load): Create cells variables as the (ses-cell ...) are read,
10875 in order to check row col consistency with cell symbol name only
10876 for cells that are not renamed.
10877 (ses-replace-name-in-formula): New defun.
10878 (ses-rename-cell): New defun.
4bdf2ad2 10879
fc72b15c
PO
108802012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
10881
10882 * progmodes/perl-mode.el (perl-indent-parens-as-block):
10883 New option (bug#11118).
10884 (perl-calculate-indent): Respect it.
10885
12e10e61
GM
108862012-04-17 Glenn Morris <rgm@gnu.org>
10887
10888 * dired-aux.el (dired-mark-read-string): Doc fix.
10889
30009afd
DA
108902012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
10891
10892 * dired-aux.el (dired-mark-read-string): Offer optional completion.
10893 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
10894
41f03f4d
GM
108952012-04-17 Glenn Morris <rgm@gnu.org>
10896
10897 * mouse.el (mouse-drag-track):
10898 * speedbar.el (speedbar-frame-mode):
10899 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
10900
f45f90f3
LL
109012012-04-16 Leo Liu <sdl.web@gmail.com>
10902
10903 * progmodes/python.el: Trivial cleanup.
10904
94ee8db5
GM
109052012-04-16 Glenn Morris <rgm@gnu.org>
10906
121b8917
GM
10907 * vc/vc.el (vc-string-prefix-p):
10908 * vc/pcvs-util.el (cvs-string-prefix-p):
10909 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
10910 * mpc.el (mpc-string-prefix-p):
10911 Make all of these into obsolete aliases for string-prefix-p.
10912 Update callers.
10913 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
10914
1197ecfa
GM
10915 * textmodes/two-column.el: Move custom options to the start.
10916 (frame-width): Remove compat definition.
10917 (2C-associate-buffer, 2C-dissociate):
10918 Use with-current-buffer rather than save-excursion.
10919 (2C-dissociate): Force a mode-line update.
10920 (2C-autoscroll): Use ignore-errors.
10921
099e7202
GM
10922 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
10923 Autoload trivia.
10924
bf350d6a
GM
10925 * emacs-lisp/cl-extra.el (*random-state*):
10926 Remove unnecessary declaration.
10927
0e829eab
GM
10928 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
10929
e3ad7552
GM
10930 * play/cookie1.el (cookie-snarf):
10931 Give an explicit error if input file cannot be read.
10932
68892d27
GM
10933 * play/yow.el (yow-file): Use expand-file-name rather than concat.
10934
20f0c46d
GM
10935 * progmodes/perl-mode.el (c-macro-expand):
10936 Remove unnecessary autoload (it is in loaddefs.el).
10937
5a0978ce
GM
10938 * textmodes/picture.el (picture-desired-column)
10939 (picture-update-desired-column): Convert comments to doc-strings.
10940 (picture-substitute): Remove function.
10941 (picture-mode-map): Initialize in the defvar.
10942
6b955486
GM
10943 * woman.el: Remove eval-after-load for tar-mode.
10944 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
10945 (woman-tar-extract-file): Autoload it.
10946
94ee8db5
GM
10947 * frame.el (automatic-hscrolling): Make this alias obsolete.
10948
177eca34
AM
109492012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10950
090bd7cb 10951 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 10952 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
10953 (ispell-dictionary-base-alist): Revert to original XEmacs
10954 friendly version for default. [:alpha:] will be added in
090bd7cb 10955 `ispell-set-spellchecker-params' if needed.
177eca34 10956
c505aaeb
CY
109572012-04-16 Chong Yidong <cyd@gnu.org>
10958
b19dd9d1 10959 * image.el (imagemagick--file-regexp): New variable.
c505aaeb
CY
10960 (imagemagick-register-types): Use it.
10961 (imagemagick-types-inhibit): Add :set function. Allow new value
10962 of t to inhibit all types.
10963
10964 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
10965 so we can preload it.
10966
10967 * loadup.el (fboundp): Preload regexp-opt, needed by
10968 imagemagick-register-types.
10969
60efac0f
CY
109702012-04-15 Chong Yidong <cyd@gnu.org>
10971
10972 * frame.el (scrolling): Remove nearly unused customization group.
10973
10974 * scroll-all.el (scroll-all-mode): Move to windows group.
10975
5dd1713e
CY
109762012-04-15 Chong Yidong <cyd@gnu.org>
10977
10978 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
10979
e6fd457e
CY
109802012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
10981
10982 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 10983 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 10984
e153c136
GM
109852012-04-15 Glenn Morris <rgm@gnu.org>
10986
10987 * simple.el (process-file-side-effects): Doc fix.
10988
e6fd457e 109892012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
10990
10991 * international/mule-cmds.el (set-language-environment): Doc fix.
10992
3603c3b1
JB
109932012-04-14 Juanma Barranquero <lekktu@gmail.com>
10994
10995 * server.el (server-auth-key, server-generate-key): Doc fixes.
10996 (server-get-auth-key): Doc fix. Use `string-match-p'.
10997 (server-start): Reflow docstring.
10998
e6de100c
LI
109992012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
11000
11001 * server.el (server-generate-key): `called-interactively-p'
11002 requires a parameter.
11003
29734c21
MN
110042012-04-14 Michal Nazarewicz <mina86@mina86.com>
11005
11006 * server.el (server-auth-key): New variable.
75f1671a 11007 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
11008 (server-start): Use the new variable and functions to allow
11009 setting a permanent server key (bug#9423).
11010
d65c9521
LL
110112012-04-14 Leo Liu <sdl.web@gmail.com>
11012
11013 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
11014
5ae255c7
PE
110152012-04-14 Paul Eggert <eggert@cs.ucla.edu>
11016
11017 Spelling fixes.
11018 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
11019 Emacs uses American spelling.
11020
d5e6342e
JB
110212012-04-14 Juanma Barranquero <lekktu@gmail.com>
11022
11023 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
11024 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
11025 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
11026 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
11027
ab036cd7
SM
110282012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
11029
11030 * progmodes/which-func.el (which-func-modes): Change default.
11031
35dc09a1 110322012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
11033
11034 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
11035 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
11036
35dc09a1 110372012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
11038
11039 * custom.el (custom-theme-set-variables): Doc fix.
11040
35dc09a1 110412012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
11042
11043 * international/mule.el (set-auto-coding-for-load): Doc fix.
11044
35dc09a1 110452012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 11046
35dc09a1
GM
11047 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
11048 imenu work again for Objective C Mode. Correct the *-index values,
11049 these having been disturbed by a previous change in 2011-08.
57f845ee 11050
0de3da9f
AM
11051 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
11052 Correct two search limits.
11053
35dc09a1 110542012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
11055
11056 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
11057
35dc09a1 110582012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
11059
11060 * international/characters.el: Fix sorting.
11061
35dc09a1 110622012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
11063
11064 * international/characters.el: Add more missing Latin case pairs.
11065
35dc09a1 110662012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
11067
11068 * files.el (dir-locals-set-class-variables): Doc fix.
11069
35dc09a1 110702012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 11071
3f1b5bf8
EZ
11072 * international/characters.el: Add set-case-syntax-pair call for
11073 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
11074 counterpart. (Bug#11209)
11075
9f847f41
EZ
11076 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
11077
35dc09a1 110782012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
11079
11080 * calendar/holidays.el (calendar-check-holidays): Doc fix.
11081
35dc09a1 110822012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 11083
35dc09a1
GM
11084 * textmodes/ispell.el (ispell-dictionary-base-alist):
11085 Add data for Hebrew.
e2627d21 11086
35dc09a1 110872012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 11088
35dc09a1
GM
11089 * net/rcirc.el (rcirc-cmd-quit):
11090 Revert 2012-03-18 change (Bug#11192).
5c14e333 11091
35dc09a1 110922012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
11093
11094 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
11095
35dc09a1 110962012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 11097
4517fe3a
SM
11098 * minibuffer.el (completion-in-region-mode-map):
11099 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 11100
b472a594
VD
111012012-04-13 Vivek Dasmohapatra <vivek@etla.org>
11102
11103 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
11104
09b95ce3
MY
111052012-04-13 Masatake YAMATO <yamato@redhat.com>
11106
11107 * minibuffer.el (minibuffer-local-filename-syntax): New variable
11108 to allow `C-M-f' and `C-M-b' to move to the nearest path
11109 separator (bug#9511).
11110
4b63a9ca
LI
111112012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
11112
11113 * avoid.el: Require cl when compiling. And also move the
11114 `provide' to the end.
11115
7b55b8bf
TV
111162012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11117
11118 * avoid.el (mouse-avoidance-banish-position): New variable.
11119 (mouse-avoidance-banish-destination): Use it (bug#10165).
11120
adedaa1f
LL
111212012-04-13 Leo Liu <sdl.web@gmail.com>
11122
11123 * progmodes/which-func.el (which-func-modes): Add objc-mode.
11124
70e74021
KB
111252012-04-13 Ken Brown <kbrown@cornell.edu>
11126
11127 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 11128 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
11129 (browse-url-filename-alist): For the same reason, don't modify
11130 file:// URLs on Cygwin.
11131
e75e89ba
SM
111322012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
11133
11134 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
11135 the region on shift if the binding is already shifted (bug#11221).
11136
82f289a4
GM
111372012-04-12 Glenn Morris <rgm@gnu.org>
11138
11139 * mail/mailpost.el: Move to obsolete/.
11140
d333dc4c
DA
111412012-04-12 Drew Adams <drew.adams@oracle.com>
11142
11143 * imenu.el (imenu--generic-function): Ignore invisible definitions
11144 (bug#10123).
11145
0d15b5ba
VD
111462012-04-12 Vivek Dasmohapatra <vivek@etla.org>
11147
11148 * hexl.el (hexl-bits): New variable.
11149 (hexl-options): Mention the variable in the doc string.
75f1671a 11150 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 11151 (hexl-mode): Mention the new variable.
75f1671a
JB
11152 (hexl-mode, hexl-current-address, hexl-current-address):
11153 Use the displen.
0d15b5ba
VD
11154 (hexl-ascii-start-column): New function.
11155 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
11156 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
11157
64a440db
AM
111582012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11159
11160 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
11161 '("-i" ENCODING), in 2 separate command-line arguments, to specify
11162 the encoding, as expected by hunspell.
11163
6decb6c2
SM
111642012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
11165
11166 * battery.el (battery--linux-sysfs-regexp): New const.
11167 (battery-status-function): Use it. Remove yeeloong special case.
11168 (battery-yeeloong-sysfs): Remove.
11169 (battery-echo-area-format): Remove yeeloong special case.
11170
088be6fb
SM
111712012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
11172
6622e416
SM
11173 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
11174 Reported by Noah Friedman.
11175
088be6fb
SM
11176 * subr.el (read-passwd): Use read-string.
11177
b49f886e
LMI
111782012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
11179
11180 * vcursor.el (vcursor-move): Increase the priority of the overlay
11181 (bug#9663).
11182
a63067fc
DD
111832012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
11184
11185 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
11186 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
11187
ac3cf14a
WS
111882012-04-11 William Stevenson <yhvh2000@gmail.com>
11189
11190 * textmodes/artist.el (artist-mode): Convert artist-mode to use
11191 define-minor-mode (bug#10760).
11192
c4fc691b 111932012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 11194
4d6769e1 11195 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
11196 that directories matching `grep-find-ignored-files' won't be
11197 pruned (bug#10351).
11198
af23e2e5
CY
111992012-04-11 Chong Yidong <cyd@gnu.org>
11200
11201 * startup.el (command-line): Remove support for long-obsolete
11202 variable font-lock-face-attributes.
11203
ab7ce8c1
GM
112042012-04-11 Glenn Morris <rgm@gnu.org>
11205
11206 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
11207
de8c03dc
SM
112082012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
11209
11210 * window.el (window--state-get-1): Obey window-point-insertion-type.
11211
050cc68b
LB
112122012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
11213
11214 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
11215 to previous function when point is on the first character of a
75f1671a 11216 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 11217
a38c310c
GM
112182012-04-11 Glenn Morris <rgm@gnu.org>
11219
effed0c2
GM
11220 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
11221 not just file-errors.
11222
a38c310c
GM
11223 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
11224 (vc-bzr-sha1): Use internal sha1.
11225
0221e323
SM
112262012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
11227
11228 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
11229
43956923
SG
112302012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
11231
11232 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
11233 that start in the middle of the line (bug#10496).
11234
6a8c9eaf
DN
112352012-04-10 Dan Nicolaescu <dann@gnu.org>
11236
11237 * battery.el (battery-linux-proc-acpi): Only one battery is
11238 discharged at a time, but that seems to confuse battery.el when
11239 computing `rate-type' for the battery not being discharged
11240 (bug#10332).
11241
1930bf5d
SM
112422012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
11243
2a718f6f
SM
11244 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
11245
599430d0
SM
11246 * international/quail.el: Use dolist and simplify.
11247 (quail-define-package, quail-update-keyboard-layout)
11248 (quail-define-rules): Use dolist.
11249 (quail-insert-kbd-layout, quail-get-translation): CSE.
11250
a2754b6c
SM
11251 * tmm.el: Use dolist, remove left over hook.
11252 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
11253 Use dolist.
11254 (calendar-load-hook): Don't mess with it.
11255
1930bf5d
SM
11256 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
11257 Use derived-mode-p. Run the diff asynchronously.
11258
9f67961c
LMI
112592012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
11260
11261 * obsolete/mouse-sel.el: Add an Obsolete-since header.
11262
2a8ce227
JB
112632012-04-10 Juanma Barranquero <lekktu@gmail.com>
11264
11265 * misc.el: Display absolute path of loaded DLLs (bug#10424).
11266 (list-dynamic-libraries--loaded): New function.
11267 (list-dynamic-libraries--refresh): Use it.
11268
8f33b5f8
NW
112692012-04-10 Nathan Weizenbaum <nweiz@google.com>
11270
1930bf5d
SM
11271 * progmodes/python.el (python-fill-paragraph):
11272 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
11273 disabled (bug#7018).
11274
b12f0439
L
112752012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
11276
1930bf5d 11277 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
11278 DOS/MS Windows for the Baltic languages. There are still plenty
11279 of texts written in this encoding/codepage (bug#6519).
b12f0439 11280
57c3bd01
GM
112812012-04-10 Glenn Morris <rgm@gnu.org>
11282
11283 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
11284 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
11285
6c3eab30
FA
112862012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
11287
1930bf5d 11288 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
11289 next-line "n" and previous-line "p" in order to make recentf more
11290 consistent with ibuffer, dired or org-mode (bug#9387).
11291
24d78a88
LMI
112922012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
11293
bc72b5d9
LMI
11294 * image.el (put-image): Return the overlay created instead of the
11295 optional input string (bug#7834). Note that this may break code
11296 that is (for some reason or other) depending on `put-image'
11297 returning the string.
11298
bd2dba5a
LMI
11299 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
11300
74beb59f
LMI
11301 * simple.el (zap-to-char): Allow zapping using input methods
11302 (bug#1580).
11303
24d78a88
LMI
11304 * textmodes/fill.el (fill-region): Leave point and mark where they
11305 were before filling (bug#5399).
11306
263f20cd
GM
113072012-04-09 Glenn Morris <rgm@gnu.org>
11308
11309 * version.el (emacs-bzr-get-version):
11310 Handle lightweight checkouts of local branches.
11311
58d1f797
AS
113122012-04-09 Andreas Schwab <schwab@linux-m68k.org>
11313
263f20cd 11314 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 11315
b4d3bc10
CY
113162012-04-09 Chong Yidong <cyd@gnu.org>
11317
11318 * custom.el (custom-variable-p): Return nil for non-symbol
11319 arguments instead of signaling an error.
11320 (user-variable-p): Obsolete alias for custom-variable-p.
11321
11322 * apropos.el (apropos-variable):
11323 * files-x.el (read-file-local-variable):
11324 * simple.el (set-variable):
11325 * woman.el (woman-mini-help):
11326 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
11327
fd06db5d
GM
113282012-04-09 Glenn Morris <rgm@gnu.org>
11329
e5fcdb5e
GM
11330 * startup.el (normal-top-level): Don't look for leim-list.el
11331 in places where it will not be found. (Bug#910)
11332
fd06db5d
GM
11333 * international/mule-cmds.el (set-default-coding-systems):
11334 * files.el (normal-mode):
11335 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
11336 This function was removed with ucs-tables.el in 2008.
11337
b39bb7e1
EZ
113382012-04-08 Eli Zaretskii <eliz@gnu.org>
11339
11340 * textmodes/ispell.el (ispell-check-version): For hunspell, set
11341 ispell-encoding8-command to "-i", without a trailing space.
11342 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
11343 separate command-line arguments, to specify the encoding, since
11344 that's how hunspell expects it.
11345
5c5b8e23
GM
113462012-04-08 Glenn Morris <rgm@gnu.org>
11347
11348 * loadup.el: Load bindings before cus-start.
11349 This reduces somewhat the number of "rogue" settings in emacs -Q.
11350
a1ed8b05
GM
113512012-04-07 Glenn Morris <rgm@gnu.org>
11352
11353 * version.el (emacs-bzr-get-version): New function.
dfae128a 11354 (emacs-bzr-version): New variable.
a1ed8b05
GM
11355 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
11356 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
11357
b142f158
EZ
113582012-04-07 Eli Zaretskii <eliz@gnu.org>
11359
dfae128a
GM
11360 * international/uni-bidi.el, international/uni-category.el:
11361 * international/uni-combining.el, international/uni-decimal.el:
11362 * international/uni-decomposition.el, international/uni-digit.el:
11363 * international/uni-lowercase.el, international/uni-mirrored.el:
11364 * international/uni-name.el, international/uni-numeric.el:
11365 * international/uni-titlecase.el, international/uni-uppercase.el:
11366 Update for Unicode 6.1.
b142f158 11367
9078ead6
EZ
113682012-04-07 Eli Zaretskii <eliz@gnu.org>
11369
11370 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
11371
f23d2c7d
LMI
113722012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
11373
11374 * window.el (shrink-window): Mention the `window-min-height'
11375 variable in the doc string.
11376
0a0a3573
BG
113772012-04-05 Bastien Guerry <bzg@altern.org>
11378
11379 * color.el (color-lighten-name): Fix typo.
11380
e5248ac9
SM
113812012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
11382
11383 * server.el (server--on-display-p): New function.
11384 (server--on-display-p): Use it.
11385
b4243e22
GV
113862012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
11387
11388 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
11389 (bug#11145).
11390
305d9f44
SM
113912012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
11392
11393 * comint.el (comint--common-quoted-suffix): Check string boundary
11394 before comparing (bug#11158).
11395 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
11396
3d439cd1
CY
113972012-04-04 Chong Yidong <cyd@gnu.org>
11398
321cc491
CY
11399 * minibuffer.el (completion-extra-properties): Doc fix.
11400
3d439cd1
CY
11401 * subr.el (delayed-warnings-hook): Doc fix.
11402
2d562c0f
DU
114032012-04-04 Daiki Ueno <ueno@unixuser.org>
11404
11405 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
11406 selection (Bug#11159).
11407 (epa-insert-keys): Inform that the default public key will be
11408 exported if no key is selected.
11409
4443f204
RS
114102012-04-04 Richard Stallman <rms@gnu.org>
11411
11412 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
11413
529c06b6
CY
114142012-04-03 Chong Yidong <cyd@gnu.org>
11415
11416 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
11417 mail-insert-file, not its obsolete alias mail-attach-file.
11418
66b907dc
MA
114192012-04-03 Michael Albinus <michael.albinus@gmx.de>
11420
11421 * notifications.el (notifications-notify): Fix docstring.
11422
c0ea195d
GM
114232012-04-02 Glenn Morris <rgm@gnu.org>
11424
11425 * emacs-lisp/authors.el (authors-aliases): Another addition.
11426
5ca64e00
MA
114272012-04-02 Michael Albinus <michael.albinus@gmx.de>
11428
11429 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
11430 `tramp-compat-call-process' instead of `tramp-local-call-process'.
11431 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
11432
42ee526b
CY
114332012-04-01 Chong Yidong <cyd@gnu.org>
11434
11435 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
11436 Handle root directory properly.
11437 (copy-directory): Caller changed.
11438
11439 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
11440 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
11441
0b021094
GM
114422012-03-31 Glenn Morris <rgm@gnu.org>
11443
40f86458
GM
11444 * term/xterm.el (xterm-extra-capabilities): Doc fix.
11445
7019c177
GM
11446 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
11447
a1daddd6
GM
11448 * calendar/calendar.el (calendar-window-list)
11449 (calendar-hide-window): Restore. (Bug#11140)
11450 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
11451
0b021094
GM
11452 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
11453
40311efc
TV
114542012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11455
11456 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
11457 Check if file is a symlink (Bug#10489).
11458
11459 * files.el (copy-directory): Likewise.
11460
5319014e
CY
114612012-03-30 Chong Yidong <cyd@gnu.org>
11462
11463 * image.el (imagemagick-types-inhibit)
11464 (imagemagick-register-types): Doc fix.
11465
935d1290
AM
114662012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11467
090bd7cb 11468 * textmodes/ispell.el (ispell-get-extended-character-mode):
ef24141c 11469 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 11470 and treats ~word as ordinary words in pipe mode.
935d1290 11471
61c6e8fd
GM
114722012-03-30 Glenn Morris <rgm@gnu.org>
11473
11474 * tutorial.el (help-with-tutorial): Ensure local variables don't
11475 happen to make the buffer read-only. (Bug#11127)
11476
81fdff00
SM
114772012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
11478
11479 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
11480 (perl-calculate-indent): Return `noindent' in strings.
11481
6e7a6ec0
SS
114822012-03-28 Sam Steingold <sds@gnu.org>
11483
11484 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
11485 instead of the broken adhockery which does not prevent calendar
11486 buffers from being displayed at random after exit.
11487 (calendar-window-list, calendar-hide-window): Remove the broken
11488 adhockery.
11489
fee88ca0
GM
114902012-03-28 Glenn Morris <rgm@gnu.org>
11491
11492 * replace.el (query-replace-map): Doc fix.
11493
38de3354
AS
114942012-03-28 Andreas Schwab <schwab@linux-m68k.org>
11495
11496 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
11497 contents. (Bug#11109)
11498
b973155e
SM
114992012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
11500
11501 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
11502 (bug#11077).
11503 (avl-tree--check, avl-tree--check-node): New funs.
11504
dcb6e7b3
MR
115052012-03-27 Martin Rudalics <rudalics@gmx.at>
11506
11507 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
11508 (switch-to-prev-buffer, switch-to-next-buffer):
11509 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
11510 showing a buffer already is done on the same frame.
11511
b4fa35fa
GM
115122012-03-27 Glenn Morris <rgm@gnu.org>
11513
11514 * startup.el (mail-host-address): Doc fix.
11515
f9210e18
SM
115162012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
11517
11518 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
11519 than 197 variables.
11520
c0bf7753
AF
115212012-03-26 Ami Fischman <ami@fischman.org>
11522
11523 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
11524
33da7b16
GM
115252012-03-26 Glenn Morris <rgm@gnu.org>
11526
02243d9d
GM
11527 * files.el (save-buffers-kill-emacs): Doc fix.
11528
33da7b16
GM
11529 * startup.el (normal-top-level, command-line, command-line-1):
11530 Give them doc strings.
11531
e5a69fd0
EZ
115322012-03-25 Eli Zaretskii <eliz@gnu.org>
11533
11534 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 11535 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 11536
9a69676a
CY
115372012-03-25 Chong Yidong <cyd@gnu.org>
11538
4125cb8b
CY
11539 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
11540 theme if it was previously enabled before (Bug#11031).
11541
dd470960
CY
11542 * cus-theme.el (custom-theme-write-faces): Retrieve current face
11543 spec with custom-face-get-current-spec if its :shown-value is not
11544 determined yet (Bug#9337).
4125cb8b 11545 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 11546
9a69676a
CY
11547 * button.el (button-at): Minor addition to docstring.
11548
6e7e90fa
SL
115492012-03-24 Simon Leinen <simon.leinen@gmail.com>
11550
11551 * vc/vc.el (vc-merge): Fix a prompt.
11552
f06e2758
CY
115532012-03-24 Chong Yidong <cyd@gnu.org>
11554
11555 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
11556 point (Bug#9623).
11557
6e7e90fa
SL
11558 * button.el (button-at): Minor addition to docstring.
11559
b9d0879b
SM
115602012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
11561
11562 * newcomment.el (comment-choose-indent): No space after BOL.
11563
e71cebb3
SS
115642012-03-22 Sam Steingold <sds@gnu.org>
11565
11566 * window.el (switch-to-prev-buffer): Revert last patch because the
11567 bug turned out to be an advertised feature (Elisp manual 28.14).
11568
335aff35
GM
115692012-03-22 Glenn Morris <rgm@gnu.org>
11570
11571 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
11572 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
11573
c676576a
LMI
115742012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
11575
11576 * net/network-stream.el (network-stream-open-starttls): Make error
11577 message under Windows be less misleading.
11578
126f3d39
LW
115792012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
11580
11581 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
11582 understands (bug#9942).
11583
64fee311
CY
115842012-03-22 Chong Yidong <cyd@gnu.org>
11585
11586 * simple.el (end-of-visible-line): Handle return value of
11587 next-single-property-change properly (Bug#9371).
11588
a640d29a
KH
115892012-03-22 Kenichi Handa <handa@m17n.org>
11590
11591 * international/quail.el (quail-insert-kbd-layout): Fix previous
11592 change. To avoid unwanted bidi reordering, use
11593 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
11594
39675016
DG
115952012-03-21 Dmitry Gutov <dgutov@yandex.ru>
11596
11597 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
11598 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
11599 (ruby-beginning-of-indent): Be more careful with the difference
11600 between word-boundary and symbol boundary.
11601 (ruby-mode-syntax-table): Make : a symbol constituent.
11602
0a6934fc 116032012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 11604
3d008e4f
SM
11605 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
11606
0a6934fc
SM
116072012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
11608
af67c9d7
SM
11609 * progmodes/etags.el (tags-completion-at-point-function):
11610 Improve last fix.
11611
1acad97c
SM
11612 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
11613
e298b5da
SS
116142012-03-21 Sam Steingold <sds@gnu.org>
11615
11616 * progmodes/etags.el (tags-completion-at-point-function):
11617 Avoid the error when point is inside the pattern.
11618
91d82a70
JY
116192012-03-21 John Yates <john@yates-sheets.org> (tiny change)
11620
11621 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
11622 line (Bug#10855).
11623
69188b79
CY
116242012-03-21 Drew Adams <drew.adams@oracle.com>
11625
11626 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
11627
99fc91fe
AK
116282012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
11629
11630 * ido.el (ido-set-current-directory, ido-read-internal)
11631 (ido-choose-completion-string, ido-completion-help): Handle nil
11632 value of ido-completion-buffer (Bug#11008).
11633
087bbb4c
SS
116342012-03-21 Sam Steingold <sds@gnu.org>
11635
11636 * window.el (switch-to-prev-buffer): Do not switch to a visible
11637 window previous buffer, just like with the frame previous buffers.
11638
fb5b8aca
CY
116392012-03-21 Chong Yidong <cyd@gnu.org>
11640
11641 * faces.el (make-face, make-empty-face, copy-face):
11642 * face-remap.el (face-remap-add-relative, face-remap-set-base):
11643 Doc fixes.
11644
dc9924b8
SM
116452012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
11646
11647 * wid-edit.el (widget-complete-field): Remove (bug#11051).
11648 (widget-complete): Remove broken use of it.
11649
f0bcceb9
CY
116502012-03-20 Chong Yidong <cyd@gnu.org>
11651
dc9924b8
SM
11652 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
11653 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
11654 characters.
11655
ee52ebf3
TH
116562012-03-20 Tassilo Horn <tassilo@member.fsf.org>
11657
11658 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
11659 to draw rectangles, not squares. (Regression introduced by revno
11660 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
11661
4c5779ab
CY
116622012-03-18 Chong Yidong <cyd@gnu.org>
11663
11664 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
11665 it is not yet defined (for temacs).
11666
15360934
LL
116672012-03-18 Leo Liu <sdl.web@gmail.com>
11668
735135f9
PE
11669 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
11670 prefix.
15360934 11671
d9a8eb66
EZ
116722012-03-17 Eli Zaretskii <eliz@gnu.org>
11673
11674 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
11675 (ispell-choices-win-default-height, ispell-silently-savep)
11676 (ispell-dictionary-alist, ispell-encoding8-command)
11677 (ispell-check-version, ispell-aspell-find-dictionary)
11678 (ispell-valid-dictionary-list, ispell-words-keyword)
11679 (ispell-get-word, ispell-internal-change-dictionary)
11680 (ispell-region, ispell-skip-region-list)
11681 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
11682 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
11683 (ispell-message-text-end, ispell-message)
11684 (ispell-buffer-local-parsing): Doc fix.
11685
f02ff80d
J
116862012-03-13 Jambunathan K <kjambunathan@gmail.com>
11687
11688 * htmlfontify.el: Add support for code block fontification for ODT
11689 export (Bug #9914).
11690 (hfy-optimisations): Define new option
11691 `body-text-only'
11692 (hfy-fontify-buffer): Honor above setting.
11693 (hfy-begin-span, hfy-end-span): New routines factored out form
11694 `hfy-fontify-buffer'.
11695 (hfy-begin-span-handler, hfy-end-span-handler): New variables
11696 that permit insertion of custom tags.
11697 (hfy-fontify-buffer): Use above handlers.
11698 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
11699 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 11700 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 11701 over multiple runs. This is made possible by having the caller let
f02ff80d
J
11702 bind a special variable `hfy-user-sheet-assoc'.
11703 (htmlfontify-string): New defun.
11704 (hfy-compile-face-map): Make sure that the last char in the
11705 buffer is correctly fontified.
11706 (hfy-face-resolve-face): Whitespace only change.
11707
9ac7a13f
EZ
117082012-03-17 Eli Zaretskii <eliz@gnu.org>
11709
11710 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
11711 message more clear.
11712
e2b5bdd7
LL
117132012-03-16 Leo Liu <sdl.web@gmail.com>
11714
11715 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
11716
2e492df3
AM
117172012-03-16 Alan Mackenzie <acm@muc.de>
11718
677d5c92 11719 Further optimize the handling of large macros.
2e492df3
AM
11720
11721 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
11722 limit to a call of `c-literal-limits'.
11723 (c-determine-+ve-limit): New function.
dc9924b8
SM
11724 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
11725 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
11726 In CASE 5B, restrict a search limit to 500.
11727 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
11728
11729 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
11730 Restrict macro bounds to +-500 from after-change's BEG END.
11731
50e94f0c
LL
117322012-03-16 Leo Liu <sdl.web@gmail.com>
11733
11734 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
11735
6f09f6ed
AH
117362012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
11737
11738 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 11739 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 11740
c7e73d51
GM
117412012-03-16 Glenn Morris <rgm@gnu.org>
11742
da986230
GM
11743 * view.el (view-buffer, view-buffer-other-window)
11744 (view-buffer-other-frame): Doc fixes re special mode-class.
11745
0835f01e
GM
11746 * subr.el (eval-after-load): If named feature is provided not from
11747 a file, run after-load forms. (Bug#10946)
11748
c7e73d51
GM
11749 * calendar/calendar.el (calendar-insert-at-column):
11750 Handle non-unit-width characters a bit better. (Bug#10978)
11751
3f2eafd1
CY
117522012-03-15 Chong Yidong <cyd@gnu.org>
11753
11754 * emacs-lisp/ring.el (ring-extend): New function.
11755 (ring-insert+extend): Extend the ring correctly (Bug#11019).
11756
11757 * comint.el (comint-read-input-ring)
11758 (comint-add-to-input-history): Grow comint-input-ring lazily.
11759
103af3fe
SM
117602012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
11761
663b1677
SM
11762 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
11763 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
11764
103af3fe
SM
11765 * imenu.el: Fix multiple inheritance breakage (bug#9199).
11766 (imenu-add-to-menubar): Don't add a redundant index.
11767 (imenu-update-menubar): Handle a dynamically composed keymap.
11768
899cb7cb
KY
117692012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
11770
11771 * mail/sendmail.el (mail-encode-header):
11772 Bind rfc2047-encode-encoded-words to nil.
11773
3809f91d
GM
117742012-03-13 Glenn Morris <rgm@gnu.org>
11775
11776 * calendar/calendar.el (calendar-string-spread):
11777 Handle non-unit-width characters a bit better. (Bug#10978)
11778
9e345a01
LL
117792012-03-13 Leo Liu <sdl.web@gmail.com>
11780
11781 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
11782 directory and file as argument (Bug#10822).
11783
4a07df36
KS
117842012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
11785
11786 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
11787 For dynamically generated code, follow $PC.
11788 (gdb-disassembly-handler-custom): Handle no function name case.
11789
4aaa9356
TL
117902012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
11791
11792 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
11793 * emulation/ws-mode.el (ws-query-replace):
11794 * sort.el (sort-regexp-fields):
11795 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
11796
225979da
SM
117972012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
11798
11799 * dabbrev.el: Fix cycle completion order (bug#10963).
11800 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
11801 (dabbrev-completion): Don't use an obarray; provide
11802 a cycle-sort-function.
11803
e2f1fdab
LL
118042012-03-12 Leo Liu <sdl.web@gmail.com>
11805
dc9924b8 11806 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
11807 (kill-do-not-save-duplicates): Doc fix.
11808
b19490ed
SM
118092012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
11810
11811 * dabbrev.el: Fix cycle completion (bug#10963).
11812 Use lexical binding and wrap to 80 columns.
11813 (dabbrev-completion): Delay computing the list of completions.
11814
4b05d722
KH
118152012-03-12 Kenichi Handa <handa@m17n.org>
11816
11817 * international/quail.el (quail-insert-kbd-layout): Surround each
11818 row by LRO and PDF instead of inserting many LRMs. Pad the left
11819 and right of each non-spacing marks. Insert invisible space
11820 between lower and upper characters to prevent composition.
11821
dbbc2e69
SM
118222012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
11823
11824 * minibuffer.el (minibuffer-complete): Don't get confused when the
11825 function is run twice via different commands (bug#10958).
11826 (complete-with-action): Fix docstring.
11827
292112ed
CY
118282012-03-12 Chong Yidong <cyd@gnu.org>
11829
5d1ac394
CY
11830 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
11831 (nxml-completion-at-point-function): New function.
11832 (nxml-mode): Use it.
11833 (nxml-bind-meta-tab-to-complete-flag): Default to t.
11834
292112ed
CY
11835 * emacs-lisp/package.el (package-unpack, package-unpack-single):
11836 Load generated autoloads file before byte compiling (Bug#10970).
11837 (package--make-autoloads-and-compile): New helper fun.
11838
4098f8f7
CS
118392012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
11840
11841 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
11842
8f754691
MA
118432012-03-11 Michael Albinus <michael.albinus@gmx.de>
11844
11845 * autorevert.el (auto-revert-handler): Ensure, that
11846 file-readable-p is applied only for local files or in
11847 auto-revert-tail-mode.
11848
e29ab36b
AS
118492012-03-11 Andreas Schwab <schwab@linux-m68k.org>
11850
dbbc2e69
SM
11851 * server.el (server-eval-at): Handle non-tcp connections.
11852 Decode result string.
ad0bf5b6 11853
e29ab36b
AS
11854 * server.el (server-msg-size): New constant.
11855 (server-reply-print): New function.
11856 (server-eval-and-print): Use it.
11857 (server-eval-at): Use server-quote-arg and server-unquote-arg.
11858 Handle -print-nonl.
11859
de5939ba
CS
118602012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
11861
11862 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
11863 (Bug#10987).
11864
0c93eabf
CY
118652012-03-11 Chong Yidong <cyd@gnu.org>
11866
397a688f
CY
11867 * simple.el (goto-line): Doc fix (Bug#9938).
11868
2cc775f9
CY
11869 * subr.el (save-window-excursion): Doc fix (Bug#9979).
11870
0c93eabf
CY
11871 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
11872 when finished (Bug#10963).
11873
c491fa41
MR
118742012-03-11 Martin Rudalics <rudalics@gmx.at>
11875
11876 * window.el (split-window-below): Fix bug in case where
11877 split-window-keep-point is nil (Bug#10971).
11878
300e8fa5
JL
118792012-03-11 Juri Linkov <juri@jurta.org>
11880
11881 * replace.el (replace-highlight): Set isearch-word to nil
11882 unconditionally. (Bug#10887)
11883
dbf6c5a1
EZ
118842012-03-10 Eli Zaretskii <eliz@gnu.org>
11885
11886 * net/mairix.el (mairix-replace-invalid-chars): Rename from
11887 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 11888 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
11889 (mairix-widget-create-query): Add usage information about mairix
11890 search forms: negating words, searching for substrings, etc.
11891
b9e501de
JP
118922012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
11893
11894 * international/fontset.el (font-encoding-alist): Add an entry for
11895 ksx1001 (Bug#5667).
11896
92795c91
RS
118972012-03-10 Richard Stallman <rms@gnu.org>
11898
1694e6c1
RS
11899 * mail/sendmail.el (mail-encode-header):
11900 Set rfc2047-encode-encoded-words.
11901
607e8555
RS
11902 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
11903
de3bc99a
RS
11904 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
11905 view buffer means not swapped.
11906 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
11907 (rmail-write-region-annotate): Error if real text has disappeared.
11908
92795c91
RS
11909 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
11910
699bd04e
CY
119112012-03-10 Chong Yidong <cyd@gnu.org>
11912
11913 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
11914 * emulation/cua-base.el (cua--init-keymaps):
11915 Add delete-forward-char to remappings (Bug#9666).
699bd04e 11916
570a1714
MR
119172012-03-10 Martin Rudalics <rudalics@gmx.at>
11918
dbbc2e69
SM
11919 * speedbar.el (speedbar-unhighlight-one-tag-line):
11920 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 11921
82dcf4e4
CY
119222012-03-10 Chong Yidong <cyd@gnu.org>
11923
7a2c7ca7
CY
11924 * minibuffer.el (completion-in-region, completion-help-at-point):
11925 Give the completion field overlay a high priority (Bug#6830).
11926
82dcf4e4
CY
11927 * dired.el (dired-goto-file): Recognize absolute file name
11928 listings (Bug#7126).
11929 (dired-goto-file-1): New helper function.
11930 (dired-toggle-read-only): Inhibit warnings.
11931
052e28ac
MA
119322012-03-09 Michael Albinus <michael.albinus@gmx.de>
11933
75f1671a 11934 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
11935 there are no properties.
11936
95d5e396
LL
119372012-03-09 Leo Liu <sdl.web@gmail.com>
11938
11939 * savehist.el (savehist-printable): Stricter check for string
11940 value (Bug#10937).
11941
3f018d6d
EZ
119422012-03-09 Eli Zaretskii <eliz@gnu.org>
11943
dbbc2e69
SM
11944 * mail/smtpmail.el (smtpmail-send-it):
11945 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
11946 valid mbox format.
11947
f7fd3d79
GM
119482012-03-09 Glenn Morris <rgm@gnu.org>
11949
11950 * files.el (dir-locals-find-file):
11951 Don't check result is regular, readable.
11952 (dir-locals-read-from-file): Demote errors.
11953
6ff6e72f
EZ
119542012-03-08 Eli Zaretskii <eliz@gnu.org>
11955
dbbc2e69
SM
11956 * international/quail.el (quail-insert-kbd-layout):
11957 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
11958 layout cell, to prevent their reordering by bidi display engine.
11959 For details, see the discussion in
11960 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
11961
9cec7834
AM
119622012-03-08 Alan Mackenzie <acm@muc.de>
11963
11964 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
11965 the starting position; make it extend the marked region when
11966 invoked repeatedly - all under appropriate circumstances.
11967 Fixes bugs #5525, #10906.
11968
9a40b8d4
GM
119692012-03-08 Glenn Morris <rgm@gnu.org>
11970
11971 * files.el (locate-dominating-file, dir-locals-find-file):
11972 Undo 2012-03-06 change.
11973
7a08ed35
EZ
119742012-03-07 Eli Zaretskii <eliz@gnu.org>
11975
dbbc2e69
SM
11976 * international/quail.el (quail-help):
11977 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
11978 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
11979 for the reason.
11980
5aca4f71 119812012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
11982
11983 Avoid superfluous registering of signals. (Bug#10807)
11984
11985 * notifications.el (notifications-on-action-object)
11986 (notifications-on-close-object): New defvars.
11987 (notifications-on-action-signal, notifications-on-closed-signal):
11988 Unregister the signal if not needed any longer.
11989 (notifications-notify): Register `notifications-action-signal' or
11990 `notifications-closed-signal', if :on-action or :on-close has been
11991 passed as argument.
11992
78e8b10a
CY
119932012-03-07 Chong Yidong <cyd@gnu.org>
11994
11995 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
11996 non-X platforms.
11997
69481eb8
GM
119982012-03-06 Glenn Morris <rgm@gnu.org>
11999
12000 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
12001 (x-disown-selection-internal, x-get-selection-internal):
12002 Doc fix (add arglist signatures). (Bug#10783)
12003
133b8e11
KS
120042012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
12005
12006 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
12007 Handle breakpoints with no "type".
12008
99a83064
GM
120092012-03-06 Glenn Morris <rgm@gnu.org>
12010
12011 * files.el (locate-dominating-file): Add optional predicate argument.
12012 (dir-locals-find-file): Make use of above change.
12013
17798e78
TTN
120142012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
12015
12016 * info.el (Info-insert-dir): Also try "dir.gz".
12017
eb182446
GM
120182012-03-06 Glenn Morris <rgm@gnu.org>
12019
8f2114ee
GM
12020 * files.el (dir-locals-find-file):
12021 Ignore non-readable or non-regular files. (Bug#10928)
12022
eb182446
GM
12023 * files.el (locate-dominating-file): Doc fix.
12024
24679323
AS
120252012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
12026
12027 * calendar/calendar.el (calendar-set-mode-line):
12028 `getenv' returns a string. (Bug#10951)
12029
01d972a9
LL
120302012-03-05 Leo Liu <sdl.web@gmail.com>
12031
109aa8a9
LL
12032 * simple.el (backward-delete-char-untabify): Constrain point to
12033 field (Bug#10939).
12034
01d972a9
LL
12035 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
12036
10607bea
CY
120372012-03-05 Chong Yidong <cyd@gnu.org>
12038
12039 * simple.el (count-words): If called from Lisp, return the word
12040 count, for symmetry with `count-lines'. Arglist changed.
12041 (count-words--message): Args changed. Consolidate counting code
12042 from count-words and count-words-region.
12043 (count-words-region): Caller changed.
12044 (count-lines-region): Make it an obsolete alias.
12045
5dd11cfe
TH
120462012-03-04 Tassilo Horn <tassilo@member.fsf.org>
12047
12048 * saveplace.el (save-place-to-alist)
12049 (save-place-ignore-files-regexp): Allow value nil to disable this
12050 feature.
12051
c349f4e6
CY
120522012-03-04 Chong Yidong <cyd@gnu.org>
12053
12054 * faces.el (face-spec-reset-face): For the default face, reset the
12055 attributes to default values (Bug#10748).
12056
e627be4c
LMI
120572012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
12058
12059 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
12060 previous patch: Check `message-send-mail-function', and not the
12061 default function (bug#10897).
12062
ebeabff4
MA
120632012-03-04 Michael Albinus <michael.albinus@gmx.de>
12064
a41a6cf4
MA
12065 * notifications.el (notifications-on-action-signal)
12066 (notifications-on-closed-signal): Check for unique service name of
12067 incoming event. Fix error in removing entry.
ebeabff4 12068 (top): Register for signals with wildcard service name.
a41a6cf4 12069 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 12070
c1ca42b4
CY
120712012-03-04 Chong Yidong <cyd@gnu.org>
12072
dc9924b8 12073 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 12074
ea16568d
GM
120752012-03-04 Glenn Morris <rgm@gnu.org>
12076
12077 * abbrev.el (copy-abbrev-table, abbrev-table-p)
12078 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
12079 (expand-abbrev, define-abbrev-table): Doc fixes.
12080
fbae4637
LMI
120812012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12082
12083 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
12084 `message-default-send-mail-function' and not `send-mail-function'
12085 when doing the prompting for `sendmail-query-once' before sending
12086 in Message buffers (bug#10897).
12087
a1e7225c
LMI
12088 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
12089 This is inconsistent with all the other stream functions, which leave
12090 the setting up to the higher levels (if so wanted) (bug#10931).
12091
56d093a9
AM
120922012-03-02 Alan Mackenzie <acm@muc.de>
12093
12094 Depessimize the handling of very large macros.
12095
12096 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
12097 (c-macro-cache-syntactic): New variables to implement a one
12098 element macro cache.
12099 (c-invalidate-macro-cache): New function.
12100 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
12101 Adapt to use the new cache.
12102 (c-state-safe-place): Use better the cache of safe positions.
12103 (c-state-semi-nonlit-pos-cache)
12104 (c-state-semi-nonlit-pos-cache-limit):
12105 New variables for...
12106 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
12107 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
12108 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
12109 Use c-state-semi-safe-place.
56d093a9 12110
dbbc2e69
SM
12111 * progmodes/cc-langs.el (c-get-state-before-change-functions):
12112 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 12113
817e5c3d
MA
121142012-03-02 Michael Albinus <michael.albinus@gmx.de>
12115
dbbc2e69
SM
12116 * jka-compr.el (jka-compr-call-process):
12117 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
12118 not remote.
12119
a032a702
MA
121202012-03-01 Michael Albinus <michael.albinus@gmx.de>
12121
12122 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
12123 access of FILE2, if FILE1 does not exist.
12124
99a54f21
MA
12125 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
12126 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
12127
12128 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
12129 Add "PAGER=" to `process-environment'.
12130
f6561e1f
MM
121312012-03-01 Michael R. Mauger <mmaug@yahoo.com>
12132
12133 * progmodes/sql.el: Bug fix
12134 (sql-get-login-ext): Save login values in globals.
12135 (sql-get-login): Use new version of `sql-get-login-ext'.
12136 (sql-interactive-mode): Set global `sql-connection' to nil.
12137 (sql-connect): Set global values for connection.
12138 (sql-product-interactive): Save global values as buffer local.
12139
2d44d9cc
LL
121402012-02-29 Leo Liu <sdl.web@gmail.com>
12141
12142 * abbrev.el (define-abbrevs): Reset sys to nil.
12143
96b49301 121442012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12145
bf7f9bc5
JB
12146 * files.el (file-equal-p): Rename from `files-equal-p'.
12147 Return nil when one or both files don't exist.
96b49301 12148 (file-subdir-of-p): Now only top directory must exists,
12149 return nil if it doesn't.
bf7f9bc5
JB
12150 (copy-directory): No need to test with `file-subdir-of-p' after
12151 creating dir.
12152 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
12153 to `file-equal-p'.
96b49301 12154
44e97401
GM
121552012-02-28 Glenn Morris <rgm@gnu.org>
12156
12157 * shell.el (shell-mode):
12158 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
12159 * play/landmark.el (landmark-font-lock-face-O):
12160 * play/handwrite.el (handwrite):
12161 * play/gomoku.el (gomoku-O):
12162 * net/browse-url.el (browse-url-browser-display):
12163 * international/mule.el (define-charset):
12164 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
12165 * filesets.el (filesets-find-file-delay):
12166 * eshell/em-xtra.el (eshell-xtra):
12167 * eshell/em-unix.el (eshell-grep):
12168 * emulation/viper.el (viper-mode):
12169 * emacs-lisp/regexp-opt.el (regexp-opt-group):
12170 * emacs-lisp/easymenu.el (easy-menu-define):
12171 * calendar/timeclock.el (timeclock-use-display-time):
12172 * bs.el (bs-mode):
12173 * bookmark.el (bookmark-save-flag):
12174 Doc fix (standardize possessive apostrophe usage).
12175
c98c6276
CY
121762012-02-27 Chong Yidong <cyd@gnu.org>
12177
bf7f9bc5
JB
12178 * emulation/viper-cmd.el (viper-intercept-ESC-key):
12179 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 12180
c98c6276
CY
12181 * font-lock.el (font-lock-specified-p): Rename from
12182 font-lock-spec-present. Callers changed.
12183
9c62cd04 121842012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 12185
bf7f9bc5
JB
12186 * emacs-lisp/package.el (package-compute-transaction):
12187 Handle holding a package version to t in package-load-list.
8ac9e529 12188
530739c9
MA
121892012-02-26 Michael Albinus <michael.albinus@gmx.de>
12190
12191 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
12192 (tramp-get-inode, tramp-get-device): Use cached values.
12193
487915d7
AM
121942012-02-26 Alan Mackenzie <acm@muc.de>
12195
12196 Check there is a font-lock specification before doing initial
12197 fontification.
12198
12199 * font-core.el (font-lock-mode): Move the conditional from
12200 :after-hook to font-lock-initial-fontify.
12201 (font-lock-default-function): Move the check for a specification
12202 to font-lock-spec-present.
12203
dc9924b8 12204 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
12205 (font-lock-spec-present): New function.
12206
4fd96557
JB
122072012-02-26 Jim Blandy <jimb@red-bean.com>
12208
12209 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
12210 (gdb-send): Apply it to the operand of the '-interpreter-exec
12211 console' command, so that we can pass arguments with (say) quotes
12212 in them. Store exact string sent in gdb-debug-log (Bug#10765).
12213
9a4888c0
CY
122142012-02-26 Chong Yidong <cyd@gnu.org>
12215
07498861
CY
12216 * help-fns.el (describe-function-1): Clarify description of
12217 remapping (Bug#10844).
12218
9a4888c0
CY
12219 * files.el (files-equal-p): Doc fix.
12220 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
12221 and quit the loop once a mismatch is found.
12222
ea8fb88d
JB
122232012-02-25 Juanma Barranquero <lekktu@gmail.com>
12224
12225 * bs.el (bs--show-with-configuration): Don't throw an error
12226 if the window cannot be split; otherwise, subsequent calls to
12227 bs-show fail, restoring a stale window config. (Bug#10882)
12228
525795c1
JD
122292012-02-25 Jan Djärv <jan.h.d@swipnet.se>
12230
12231 * term/ns-win.el (global-map): Bind ns-drag-file to
12232 ns-find-file (Bug#5855, Bug#10050).
12233
f008086f
AS
122342012-02-25 Andreas Schwab <schwab@linux-m68k.org>
12235
12236 * calendar/parse-time.el (parse-time-string): Allow extractor to
12237 return nil.
12238
a3fcfa99
MA
122392012-02-25 Michael Albinus <michael.albinus@gmx.de>
12240
91027d08
JB
12241 * net/tramp.el (tramp-file-name-for-operation):
12242 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
12243
12244 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
12245 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
12246 Add COPY-CONTENTS argument.
a3fcfa99 12247
67b0de11
CY
122482012-02-25 Chong Yidong <cyd@gnu.org>
12249
12250 Add custom groups for VC backends, for consistency with vc-bzr.
12251
12252 * vc/vc-arch.el (vc-arch):
12253 * vc/vc-cvs.el (vc-cvs):
12254 * vc/vc-git.el (vc-git):
12255 * vc/vc-hg.el (vc-hg):
12256 * vc/vc-mtn.el (vc-mtn):
12257 * vc/vc-rcs.el (vc-rcs):
12258 * vc/vc-sccs.el (vc-sccs):
12259 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
12260 All relevant defcustoms reassigned.
12261
3c9dfce6
CY
122622012-02-25 Chong Yidong <cyd@gnu.org>
12263
1339bf43
CY
12264 * newcomment.el (comment-styles): Add autoload (Bug#10868).
12265
3c9dfce6
CY
12266 * term/x-win.el (x-initialize-window-system): Reduce default for
12267 x-selection-timeout to 5 seconds (Bug#8869).
12268
25b2e303 122692012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12270
ec70a47d
GM
12271 * files.el (files-equal-p, file-subdir-of-p): New functions.
12272 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 12273 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
12274 * dired-aux.el (dired-copy-file-recursive): Same.
12275 (dired-create-files): Modify destination when source is equal to
12276 dest when copying files.
53a46cd0 12277 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 12278
914260cd
MA
122792012-02-24 Michael Albinus <michael.albinus@gmx.de>
12280
12281 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
12282 (Bug#10874)
12283
2cb228f7
AM
122842012-02-23 Alan Mackenzie <acm@muc.de>
12285
12286 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
12287 parameter "after-hook:" to allow the expansion to run code after
12288 the execution of the mode hooks.
12289
12290 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 12291 from font-lock-mode-internal.
2cb228f7 12292
91027d08 12293 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
12294 :after-hook.
12295
8f0fde21
SM
122962012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
12297
3e88618b
SM
12298 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
12299 (completion--cache-all-sorted-completions): New function.
12300 (completion-all-sorted-completions): Use it.
12301 (completion--do-completion, minibuffer-force-complete):
12302 Use it to re-instate the flush hook.
12303
8f0fde21
SM
12304 * icomplete.el (icomplete-completions): Replace last fix with a better
12305 one (bug#10850).
12306
8e911f6f
DG
123072012-02-23 Dmitry Gutov <dgutov@yandex.ru>
12308
12309 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
12310 when it might call us back infinitely (bug#10797).
12311
49fe4321
GM
123122012-02-23 Glenn Morris <rgm@gnu.org>
12313
12314 * minibuffer.el (completion-category-overrides): Doc fix.
12315
b291b572
SM
123162012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
12317
12318 * minibuffer.el (completion-table-with-context): Fix inf-loop.
12319 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
12320
31a9ef2e
GM
123212012-02-23 Glenn Morris <rgm@gnu.org>
12322
5e6e6794 12323 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
12324 (authors-obsolete-files-regexps, authors-ignored-files)
12325 (authors-ambiguous-files, authors-renamed-files-alist):
12326 Add more entries.
12327
0bd1e074
JL
123282012-02-23 Juri Linkov <juri@jurta.org>
12329
12330 * isearch.el (isearch-occur): Sync interactive spec with occur's
12331 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
12332
b617673c
JL
12333 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
12334
19e9789e
JL
123352012-02-22 Juri Linkov <juri@jurta.org>
12336
12337 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
12338 (ucs-insert): Doc fix. Check for hex digits in the string.
12339 Don't display `nil' in the error message. (Bug#10857)
12340
f41ce09d
AM
123412012-02-22 Alan Mackenzie <acm@muc.de>
12342
7a71b18d 12343 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 12344
ac2eceee
GM
123452012-02-22 Glenn Morris <rgm@gnu.org>
12346
12347 * ffap.el (ffap-c-path):
12348 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
12349
abd1f678
CY
123502012-02-22 Chong Yidong <cyd@gnu.org>
12351
12352 * custom.el (load-theme): Doc fix.
12353
f25aef2e
GM
123542012-02-22 Glenn Morris <rgm@gnu.org>
12355
12356 * dired-x.el (dired-guess-shell-alist-default):
12357 Remove escape sequences from nroff output. (Bug#172)
12358
5f8dc2ca
GM
123592012-02-21 Glenn Morris <rgm@gnu.org>
12360
6ff86ec4
GM
12361 * vc/emerge.el (emerge-defvar-local):
12362 Set `permanent-local' property rather than unused `preserved'.
12363
be3223a3 12364 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
12365 (picture-mode-map): Use it. (Bug#10860)
12366 (picture-mode): Doc fix.
12367
3fe58f4f
JB
123682012-02-21 Juanma Barranquero <lekktu@gmail.com>
12369
12370 * newcomment.el (uncomment-region-default): Remove unused binding.
12371
f9a998c3
GM
123722012-02-21 Glenn Morris <rgm@gnu.org>
12373
12374 * textmodes/picture.el (picture-motion, picture-motion-reverse)
12375 (picture-self-insert, picture-tab-chars): Doc fix.
12376 (picture-mode-map): Fix C-a, C-e.
12377
c6029348
GM
123782012-02-20 Glenn Morris <rgm@gnu.org>
12379
12380 * emacs-lisp/authors.el (authors-aliases): Add another entry.
12381
ab1ce9d7
LL
123822012-02-20 Leo Liu <sdl.web@gmail.com>
12383
12384 * icomplete.el (icomplete-completions): Check FROM arg before
12385 passing to substring (Bug#10850).
12386
0fd40f89
CY
123872012-02-19 Chong Yidong <cyd@gnu.org>
12388
12389 * comint.el: Require ansi-color.
12390 (comint-output-filter-functions): Add ansi-color-process-output.
12391
12392 * ansi-color.el: Don't set comint-output-filter-functions; it is
12393 now in the initial value defined in comint.el.
12394 (ansi-color-apply-face-function): New variable.
12395 (ansi-color-apply-on-region): Use it.
12396 (ansi-color-apply-overlay-face): New function.
12397
12398 * shell.el (shell): No need to require ansi-color.
12399 (shell-mode): Use ansi-color-apply-face-function to highlight
12400 color escapes using font-lock-face property (Bug#10835).
12401
20af2394
CY
124022012-02-19 Chong Yidong <cyd@gnu.org>
12403
12404 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
12405 mode-line formats (Bug#10839).
12406
e23a3fbe
GM
124072012-02-18 Glenn Morris <rgm@gnu.org>
12408
b474519e
GM
12409 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
12410
12411 * mail/undigest.el (unforward-rmail-message): Doc fix.
12412
e23a3fbe
GM
12413 * saveplace.el (save-place-ignore-files-regexp): Add :version.
12414
57939ff4
EZ
124152012-02-18 Eli Zaretskii <eliz@gnu.org>
12416
12417 * international/characters.el (script-list): Sync with the latest
12418 Unicode Character Database.
12419
0c23686e
AS
124202012-02-18 Andreas Schwab <schwab@linux-m68k.org>
12421
12422 * international/titdic-cnv.el: Remove duplicate coding tag.
12423 * language/cham.el: Likewise.
12424 * language/tai-viet.el: Likewise.
12425
6818b449
GM
124262012-02-18 Glenn Morris <rgm@gnu.org>
12427
12428 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
12429 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
12430 (calendar-bahai-all-holidays-flag, calendar-other-dates):
12431 * calendar/diary-lib.el (diary-abbreviated-year-flag):
12432 * calendar/holidays.el (holiday-bahai-holidays)
12433 (calendar-holidays, list-holidays):
12434 Use utf-8 Bahá'í in doc-strings, menus, etc.
12435
0311a3fc
TH
124362012-02-17 Tassilo Horn <tassilo@member.fsf.org>
12437
12438 * saveplace.el (save-place-ignore-files-regexp): New variable
12439 allowing for excluding files from saving their location of point.
12440 The default value matches the temporary commit message editing
12441 files from Git, SVN, Bazaar, and Mercurial.
12442 (save-place-to-alist): Use it.
12443
d209e2fb 124442012-02-17 Lawrence Mitchell <wence@gmx.li>
f1a71c6e 12445 Stefan Monnier <monnier@iro.umontreal.ca>
eb864a71
LM
12446
12447 * newcomment.el (uncomment-region-default): Don't leave extra space
12448 when an arg is provided (bug#8150).
12449
ee0ce425
TZ
124502012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
12451
eb864a71 12452 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 12453
95ddf442
GM
124542012-02-17 Glenn Morris <rgm@gnu.org>
12455
12456 * net/socks.el: Require network-stream. (Bug#10599)
12457
48dd1e39 124582012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
12459
12460 * international/charprop.el:
12461 * international/uni-name.el:
12462 * international/uni-old-name.el:
12463 * international/uni-comment.el: Regenerate.
12464
d68cd087
GM
124652012-02-16 Glenn Morris <rgm@gnu.org>
12466
12467 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
12468 Interactively in calendar buffer, give an error if not on a date.
12469
13932042
GM
124702012-02-15 Glenn Morris <rgm@gnu.org>
12471
12472 * shell.el (shell-delimiter-argument-list):
12473 Revert 2011-02-17 change. (Bug#8027)
12474
c3a70e2b
CY
124752012-02-15 Chong Yidong <cyd@gnu.org>
12476
60236b0d
CY
12477 * minibuffer.el (completion-at-point-functions): Doc fix.
12478
c3a70e2b
CY
12479 * custom.el (defcustom): Doc fix; note use of defvar.
12480
9f26dc24
GM
124812012-02-15 Glenn Morris <rgm@gnu.org>
12482
12483 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
12484 Doc fixes.
12485
6546b134
GM
124862012-02-14 Glenn Morris <rgm@gnu.org>
12487
12488 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
12489
d29b2b4c
LI
124902012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
12491
12492 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
12493 way the ports list is computed.
835bdcba
LI
12494 (smtpmail-query-smtp-server): Prompt the user for a port number if
12495 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 12496
08dcdbc9
TZ
124972012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
12498
12499 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
12500
2605051a
GM
125012012-02-13 Glenn Morris <rgm@gnu.org>
12502
12503 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
12504
7ee99f32
TZ
125052012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
12506
12507 * net/gnutls.el (gnutls-trustfiles): New variable.
12508 (gnutls-negotiate): Use it.
12509
5f0af64f
LI
125102012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
12511
12512 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
12513 does its stuff if Gnus is running.
12514
c14fcc95
AM
125152012-02-13 Alan Mackenzie <acm@muc.de>
12516
12517 Fix a loop in c-set-fl-decl-start.
12518
7a71b18d 12519 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
12520 c-backward-syntactic-ws actually moves backwards.
12521
142b4d90
LL
125222012-02-13 Leo Liu <sdl.web@gmail.com>
12523
12524 * net/rcirc.el (rcirc-markup-attributes): Move point to the
12525 beginning so that all \C-o chars are removed.
12526
fa9958a6
TZ
125272012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
12528
dc9924b8 12529 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 12530
0bc5886a
AM
125312012-02-12 Alan Mackenzie <acm@muc.de>
12532
12533 Fix infinite loop with long macros.
4d6769e1 12534 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 12535
d4bd55e7
CY
125362012-02-12 Chong Yidong <cyd@gnu.org>
12537
12538 * window.el (display-buffer): Doc fix (Bug#10785).
12539
66f3fe22
GM
125402012-02-12 Glenn Morris <rgm@gnu.org>
12541
bd7da63e
GM
12542 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
12543 (x-disown-selection-internal, x-get-selection-internal):
12544 Sync docs with the xselect.c versions.
12545
66f3fe22
GM
12546 * allout-widgets.el: Add missing license notice.
12547
3e0d2fa7
GM
125482012-02-11 Glenn Morris <rgm@gnu.org>
12549
cfecdf09
GM
12550 * select.el (x-get-selection-internal, x-own-selection-internal)
12551 (x-disown-selection-internal):
12552 * x-dnd.el (x-get-selection-internal): Update declarations.
12553
6d216d7f
GM
12554 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
12555
2bed3f04
GM
12556 * window.el (window-sides-slots):
12557 * tool-bar.el (tool-bar-position):
12558 * term/xterm.el (xterm-extra-capabilities):
12559 * ses.el (ses-self-reference-early-detection):
12560 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
12561 (verilog-auto-wire-type)
12562 (verilog-auto-delete-trailing-whitespace)
12563 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
12564 (verilog-auto-tieoff-declaration):
12565 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
12566 (sql-oracle-statement-starters, sql-oracle-scan-on):
12567 * progmodes/prolog.el (prolog-align-comments-flag)
12568 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
12569 (prolog-left-indent-regexp, prolog-paren-indent-p)
12570 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
12571 (prolog-types, prolog-mode-specificators)
12572 (prolog-determinism-specificators, prolog-directives)
12573 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
12574 (prolog-electric-dot-flag)
12575 (prolog-electric-dot-full-predicate-template)
12576 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
12577 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
12578 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
12579 (prolog-program-switches, prolog-prompt-regexp)
12580 (prolog-debug-on-string, prolog-debug-off-string)
12581 (prolog-trace-on-string, prolog-trace-off-string)
12582 (prolog-zip-on-string, prolog-zip-off-string)
12583 (prolog-use-standard-consult-compile-method-flag)
12584 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
12585 (prolog-imenu-max-lines, prolog-info-predicate-index)
12586 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
12587 (prolog-char-quote-workaround):
12588 * progmodes/cc-vars.el (c-defun-tactic):
12589 * net/tramp.el (tramp-encoding-command-interactive)
12590 (tramp-local-end-of-line):
12591 * net/soap-client.el (soap-client):
12592 * net/netrc.el (netrc-file):
12593 * net/gnutls.el (gnutls):
12594 * minibuffer.el (completion-category-overrides)
12595 (completion-cycle-threshold)
12596 (completion-pcm-complete-word-inserts-delimiters):
12597 * man.el (Man-name-local-regexp):
12598 * mail/feedmail.el (feedmail-display-full-frame):
12599 * international/characters.el (glyphless-char-display-control):
12600 * eshell/em-ls.el (eshell-ls-date-format):
12601 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
12602 (lisp-lambda-list-keyword-parameter-indentation)
12603 (lisp-lambda-list-keyword-parameter-alignment):
12604 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
12605 * dired-x.el (dired-omit-verbose):
12606 * cus-theme.el (custom-theme-allow-multiple-selections):
12607 * calc/calc.el (calc-highlight-selections-with-faces)
12608 (calc-lu-field-reference, calc-lu-power-reference)
12609 (calc-note-threshold):
12610 * battery.el (battery-mode-line-limit):
12611 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
12612 (archive-7z-update):
12613 * allout.el (allout-prefixed-keybindings)
12614 (allout-unprefixed-keybindings)
12615 (allout-inhibit-auto-fill-on-headline)
12616 (allout-flattened-numbering-abbreviation):
12617 * allout-widgets.el (allout-widgets-auto-activation)
12618 (allout-widgets-icons-dark-subdir)
12619 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
12620 (allout-widgets-theme-dark-background)
12621 (allout-widgets-theme-light-background)
12622 (allout-widgets-item-image-properties-emacs)
12623 (allout-widgets-item-image-properties-xemacs)
12624 (allout-widgets-run-unit-tests-on-load)
12625 (allout-widgets-time-decoration-activity)
12626 (allout-widgets-hook-error-post-time)
12627 (allout-widgets-track-decoration):
12628 Add missing :version tags to new defcustoms and defgroups.
12629
5fec1b8e
GM
12630 * progmodes/sql.el (sql-ansi-statement-starters)
12631 (sql-oracle-statement-starters): Add custom type.
12632
3e0d2fa7
GM
12633 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
12634 (prolog-system-version): Give it a type.
12635
90b671e2
EZ
126362012-02-11 Eli Zaretskii <eliz@gnu.org>
12637
12638 * term/pc-win.el (x-select-text, x-selection-owner-p)
12639 (x-own-selection-internal, x-disown-selection-internal)
12640 (x-get-selection-internal): Sync doc strings and argument lists
12641 with xselect.c, common-win.el and x-win.el. (Bug#10783)
12642
5eac0c02
LL
126432012-02-11 Leo Liu <sdl.web@gmail.com>
12644
12645 * progmodes/python.el (python-end-of-statement): Fix infinite
12646 loop. (Bug#10788)
12647
f82cb659
GM
126482012-02-10 Glenn Morris <rgm@gnu.org>
12649
12650 * international/mule-cmds.el (unify-8859-on-encoding-mode)
12651 (unify-8859-on-decoding-mode): Properly mark as obsolete.
12652
cc26d239
LI
126532012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
12654
12655 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
12656 about SMTP before checking the From header.
12657
91027d08 12658 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
12659 into own function for reuse by emacsbug.el.
12660
1be3ca5a
LL
126612012-02-10 Leo Liu <sdl.web@gmail.com>
12662
12663 * subr.el (condition-case-unless-debug): Rename from
12664 condition-case-no-debug. All callers changed.
12665 (with-demoted-errors): Fix caller.
12666
12667 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
12668 * nxml/rng-valid.el (rng-do-some-validation):
12669 * emacs-lisp/package.el (package-refresh-contents)
12670 (package-menu-execute):
12671 * desktop.el (desktop-create-buffer):
91027d08 12672 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 12673
b011fbfe
GM
126742012-02-10 Glenn Morris <rgm@gnu.org>
12675
b2096d72
GM
12676 * textmodes/bibtex.el:
12677 Add missing :version tags for new/changed defcustoms.
12678
b011fbfe
GM
12679 * files.el (remote-file-name-inhibit-cache): Doc fixes.
12680
4c7e65bf
LI
126812012-02-09 Lars Ingebrigtsen <larsi@rusty>
12682
12683 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
12684 (smtpmail-via-smtp): Use it, or fall back on the From address.
12685 (smtpmail-send-it): Ditto.
12686
f3934f6f
SM
126872012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
12688
12689 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
12690 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
12691 (byte-compile-tmp-var): New const.
12692 (byte-compile-defvar): Use it to minimize .elc size.
12693 Just use `defvar' rather than simulate it (bug#10761).
12694
a075a2c5
GM
126952012-02-09 Glenn Morris <rgm@gnu.org>
12696
cf3aa21b
GM
12697 * files.el (rename-uniquely): Doc fix. (Bug#3806)
12698
354998cd
GM
12699 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
12700 Add :version tags.
12701
dc9924b8
SM
12702 * progmodes/compile.el (compilation-error-screen-columns)
12703 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 12704
dab3703d
GM
12705 * vc/log-view.el (log-view-toggle-entry-display):
12706 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
12707
3f88cd72
GM
12708 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
12709 (report-emacs-bug-can-use-xdg-email):
12710 (report-emacs-bug-insert-to-mailer): Doc fixes.
12711 (report-emacs-bug): Message fix.
12712
d95b247d
GM
12713 * net/browse-url.el (browse-url-can-use-xdg-open)
12714 (browse-url-xdg-open): Doc fixes.
12715
a075a2c5
GM
12716 * electric.el (electric-indent-mode, electric-pair-mode)
12717 (electric-layout-rules, electric-layout-mode): Doc fixes.
12718 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
12719
ffb6157e
MR
127202012-02-08 Martin Rudalics <rudalics@gmx.at>
12721
12722 * server.el (server-unselect-display): Don't inadvertently kill
12723 the current buffer. (Bug#10729)
12724
e1ac4066
GM
127252012-02-08 Glenn Morris <rgm@gnu.org>
12726
34e8a2da
GM
12727 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
12728 (sql-list-table): Doc fixes.
12729
b4ac6e8c
GM
12730 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
12731 Comment out (does nothing).
12732
e1ac4066
GM
12733 * completion.el (dynamic-completion-mode):
12734 * dirtrack.el (dirtrack-debug-mode):
12735 * electric.el (electric-layout-mode):
12736 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
12737 * face-remap.el (text-scale-mode, buffer-face-mode):
12738 * iimage.el (iimage-mode):
12739 * image-mode.el (image-transform-mode):
12740 * minibuffer.el (completion-in-region-mode):
12741 * scroll-lock.el (scroll-lock-mode):
12742 * simple.el (next-error-follow-minor-mode):
12743 * tar-mode.el (tar-subfile-mode):
12744 * tooltip.el (tooltip-mode):
12745 * vcursor.el (vcursor-use-vcursor-map):
12746 * wid-browse.el (widget-minor-mode):
12747 * emulation/tpu-edt.el (tpu-edt-mode):
12748 * emulation/tpu-extras.el (tpu-cursor-free-mode):
12749 * international/iso-ascii.el (iso-ascii-mode):
12750 * language/thai-util.el (thai-word-mode):
12751 * mail/supercite.el (sc-minor-mode):
12752 * net/goto-addr.el (goto-address-mode):
12753 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
12754 * progmodes/cwarn.el (cwarn-mode):
12755 * progmodes/flymake.el (flymake-mode):
12756 * progmodes/glasses.el (glasses-mode):
12757 * progmodes/hideshow.el (hs-minor-mode):
12758 * progmodes/pascal.el (pascal-outline-mode):
12759 * textmodes/enriched.el (enriched-mode):
12760 * vc/smerge-mode.el (smerge-mode):
12761 Doc fixes (minor mode argument).
12762
5e0d957f
EZ
127632012-02-07 Eli Zaretskii <eliz@gnu.org>
12764
12765 * ls-lisp.el (ls-lisp-sanitize): New function.
12766 (ls-lisp-insert-directory): Use it to fix or remove any elements
12767 in file-alist with missing attributes. (Bug#4673)
12768
98d7371e
AM
127692012-02-07 Alan Mackenzie <acm@muc.de>
12770
12771 Fix spurious recognition of c-in-knr-argdecl.
12772
12773 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
12774 putative K&R region.
12775
667ced3a
AM
127762012-02-07 Alan Mackenzie <acm@muc.de>
12777
eb864a71
LM
12778 * progmodes/cc-engine.el (c-forward-objc-directive):
12779 Prevent looping in "#pragma mark @implementation".
667ced3a 12780
5b77774d
MA
127812012-02-07 Michael Albinus <michael.albinus@gmx.de>
12782
12783 * notifications.el (notifications-on-closed-signal): Make `reason'
12784 optional. (Bug#10744)
12785
af008560
GM
127862012-02-07 Glenn Morris <rgm@gnu.org>
12787
60d47423
GM
12788 * emacs-lisp/easy-mmode.el (define-minor-mode):
12789 Doc fixes for the macro and the mode it defines.
12790
dd605cc4
GM
12791 * image.el (imagemagick-types-inhibit): Doc fix.
12792
af008560
GM
12793 * cus-start.el (imagemagick-render-type): Add it.
12794
5cc59a37
LI
127952012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
12796
4d6769e1
JB
12797 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
12798 Set the default at load time, too, so that `font-lock-fontify-buffer'
12799 can be called without setting up the entire mode first. This fixes
12800 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 12801
9a6dd747
CY
128022012-02-06 Chong Yidong <cyd@gnu.org>
12803
2d16b285
CY
12804 * simple.el (list-processes--refresh): Delete exited processes
12805 (Bug#8094).
12806
171e9b6e
CY
12807 * comint.el (comint-next-prompt): next-single-char-property-change
12808 and prev-single-char-property-change never return nil (Bug#8657).
12809
9a6dd747
CY
12810 * custom.el (defcustom): Doc fix (Bug#9711).
12811
aa4589a7
CY
128122012-02-05 Chong Yidong <cyd@gnu.org>
12813
5c2a252f
CY
12814 * cus-edit.el (custom-variable-reset-backup): Quote the value
12815 before storing it in the customized-value property (Bug#6712).
4aab9006 12816 (custom-display): Add a customization type tag.
983b9602 12817 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 12818
aa4589a7
CY
12819 * wid-edit.el (widget-field-value-get): New optional arg to
12820 suppress trailing whitespace truncation.
12821 (character): Use it (Bug#2689).
12822
1ff980ae
AS
128232012-02-05 Andreas Schwab <schwab@linux-m68k.org>
12824
12825 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
12826 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
12827
03988c98
CY
128282012-02-05 Chong Yidong <cyd@gnu.org>
12829
eeb6cc88
CY
12830 * cus-edit.el (custom-variable-value-create): For mismatched
12831 types, show the current value (Bug#7600).
12832
03988c98
CY
12833 * custom.el (defcustom): Doc fix.
12834
f8cdeef0
GM
128352012-02-05 Glenn Morris <rgm@gnu.org>
12836
12837 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
12838
0696d255
JB
128392012-02-05 Juanma Barranquero <lekktu@gmail.com>
12840
12841 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
12842 (pp-buffer): Use `ignore-errors', `looking-at-p'.
12843 (pp-last-sexp): Use `looking-at-p'.
12844
34c99998
GM
128452012-02-04 Glenn Morris <rgm@gnu.org>
12846
8f05da42
GM
12847 * files.el (revert-buffer):
12848 Doc fix (mention revert-buffer-in-progress-p).
12849
f160676e
GM
12850 * emacs-lisp/ert-x.el (ert-simulate-command):
12851 Check deferred-action-list (which is obsolete) is bound.
12852
c7291ad9
GM
12853 * subr.el (with-wrapper-hook): Doc fixes.
12854
34c99998
GM
12855 * simple.el (filter-buffer-substring-functions)
12856 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
12857
6283a7d3
LL
128582012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
12859
12860 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
12861 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
12862
e96e3013
LL
128632012-02-04 Leo Liu <sdl.web@gmail.com>
12864
12865 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
12866
8ded50f2
GM
128672012-02-04 Glenn Morris <rgm@gnu.org>
12868
82ff1d13
GM
12869 * image.el (image-extension-data): Add obsolete alias.
12870
987a0a16
GM
12871 * isearch.el (isearch-update): Doc fix.
12872
ea32ef46
GM
12873 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
12874
8ded50f2
GM
12875 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
12876
eea14f31
GM
128772012-02-03 Glenn Morris <rgm@gnu.org>
12878
12879 * image.el (image-animated-p): Doc fix. Use image-animated-types.
12880 (image-animate-timeout): Doc fix.
12881
12882 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
12883
12f381b7
GM
128842012-02-02 Glenn Morris <rgm@gnu.org>
12885
953cebf5
GM
12886 * server.el (server-auth-dir): Doc fix.
12887 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
12888
12f381b7
GM
12889 * subr.el (run-mode-hooks): Doc fix.
12890
953a8c3b
JL
128912012-02-02 Juri Linkov <juri@jurta.org>
12892
12893 * image-mode.el (image-toggle-display-image): Remove tautological
12894 `major-mode' from the `derived-mode-p' test.
12895
c5d3843c
KH
128962012-02-02 Kenichi Handa <handa@m17n.org>
12897
9f6e692e 12898 * composite.el (compose-region): Cancel previous change.
c5d3843c 12899
159462d4 129002012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
12901
12902 * composite.el (compose-region, compose-string): Signal error for
12903 a null string component (Bug#6988).
12904
9f562668
CY
129052012-02-01 Chong Yidong <cyd@gnu.org>
12906
e2cef717
CY
12907 * view.el (view-buffer-other-window, view-buffer-other-frame):
12908 Handle special modes like view-buffer (Bug#10650).
12909 (view-buffer): Simplify.
12910
9f562668
CY
12911 * frame.el (set-frame-font): Tweak meaning of third argument.
12912
9f6e692e
JB
12913 * dynamic-setting.el (font-setting-change-default-font):
12914 Use set-frame-font (Bug#9982).
9f562668 12915
781acb9f
GM
129162012-02-01 Glenn Morris <rgm@gnu.org>
12917
6035be52
GM
12918 * progmodes/compile.el (compilation-internal-error-properties):
12919 Respect compilation-first-column in the "*compilation*" buffer.
12920
781acb9f
GM
12921 * emacs-lisp/easy-mmode.el (define-minor-mode):
12922 Relax :variable's test for a named function.
12923
abbceb00
AM
129242012-01-31 Alan Mackenzie <acm@muc.de>
12925
12926 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
12927 off by one error.
12928
fce3fdeb
CY
129292012-01-31 Chong Yidong <cyd@gnu.org>
12930
12931 * frame.el (set-frame-font): New arg ALL-FRAMES.
12932
12933 * menu-bar.el (menu-set-font): Use set-frame-font.
12934
12935 * faces.el (face-spec-reset-face): Don't apply unspecified
12936 attribute values to the default face.
12937
47893581
JB
129382012-01-31 Juanma Barranquero <lekktu@gmail.com>
12939
12940 * progmodes/cwarn.el (cwarn): Remove dead link.
12941 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
12942 Remove * from defcustom docstrings.
12943 (turn-on-cwarn-mode): Make obsolete.
12944 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
12945 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
12946
e58e988a
GM
129472012-01-31 Glenn Morris <rgm@gnu.org>
12948
60dc2671 12949 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 12950 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 12951 Allow named functions to be used as the cdr of :variable.
e58e988a 12952
7a3f511d
GM
129532012-01-30 Glenn Morris <rgm@gnu.org>
12954
12955 * emacs-lisp/authors.el (authors-fixed-entries):
12956 Remove reference to deleted file rnewspost.el.
12957
cb882333
JB
129582012-01-29 Juanma Barranquero <lekktu@gmail.com>
12959
12960 * window.el (window-with-parameter): Remove unused variable `windows'.
12961 (window--side-check): Remove unused variable `code'.
12962 (window--resize-siblings): Remove unused variable `first'.
12963 (adjust-window-trailing-edge): Remove unused variable `failed'.
12964 (window-deletable-p, window--delete): Remove unused variable `buffer'.
12965 Use `let', not `let*'.
12966 (balance-windows-2): Remove unused variable `found'.
12967 (window--state-put-2): Remove unused variable `splits'.
12968 (window-state-put): Remove unused variable `selected'.
12969 (same-window-p): Use `string-match-p'.
12970 (display-buffer-assq-regexp): Remove unused variable `value'.
12971 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
12972 Mark argument ALIST as ignored.
12973 (pop-to-buffer): Remove unused variable `old-window'.
12974
907201af
EZ
129752012-01-29 Eli Zaretskii <eliz@gnu.org>
12976
12977 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
12978 and .lzma compressed files.
12979
ea162670
CY
129802012-01-29 Chong Yidong <cyd@gnu.org>
12981
5b95ee8a
CY
12982 * frame.el (window-system-default-frame-alist): Doc fix.
12983
ea162670
CY
12984 * dynamic-setting.el (font-setting-change-default-font): Don't
12985 change the default face if SET-FONT argument is non-nil (Bug#9982).
12986
6fccd6e8 129872012-01-29 Samuel Bronson <naesten@gmail.com>
d6e6f4b1
SB
12988
12989 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
12990
0f29fa41 129912012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
12992
12993 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
12994 breakpoints in files outside current directory (Bug#6098).
12995
db174434
CY
129962012-01-29 Chong Yidong <cyd@gnu.org>
12997
6b25e4e2
SE
12998 * progmodes/python.el: Require ansi-color at top-level.
12999
6df6ae42
JB
13000 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
13001 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
13002 (lisp-mode-abbrev-table): Add doc.
13003 (lisp-mode-variables): Don't set local-abbrev-table.
13004 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
13005
e70ee681
RW
130062012-01-28 Roland Winkler <winkler@gnu.org>
13007
13008 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
13009
ace88aa2
RW
130102012-01-28 Roland Winkler <winkler@gnu.org>
13011
13012 * textmodes/bibtex.el (bibtex-entry-alist): New function.
13013 (bibtex-set-dialect): Use it. Either set global values of
13014 dialect-dependent variables or bind these variables buffer-locally
13015 (Bug#10254).
13016 (bibtex-mode): Call bibtex-set-dialect via
13017 hack-local-variables-hook.
eb864a71
LM
13018 (bibtex-dialect): Update docstring.
13019 Add safe-local-variable predicate.
ace88aa2
RW
13020 (bibtex-entry-alist, bibtex-field-alist): Initialize via
13021 bibtex-set-dialect.
13022 (bibtex-mode-map): Define menu for each dialect.
13023 (bibtex-entry): Fix docstring.
13024
93376c5b
CY
130252012-01-28 Chong Yidong <cyd@gnu.org>
13026
13027 * eshell/esh-arg.el (eshell-quote-argument): New function.
13028
13029 * eshell/esh-ext.el (eshell-invoke-batch-file):
13030 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
13031 first arg to eshell-parse-command (Bug#10523).
13032
4372494f
DA
130332012-01-28 Drew Adams <drew.adams@oracle.com>
13034
13035 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
13036 `default-directory' is non-nil.
13037
4d4ec1f8
EZ
130382012-01-28 Eli Zaretskii <eliz@gnu.org>
13039
13040 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
13041 line that displays system-configuration-options. (Bug#9924)
13042
7c188927
DA
130432012-01-28 Drew Adams <drew.adams@oracle.com>
13044
13045 * descr-text.el (describe-char): Show information about POS, in
13046 addition to information about the character at POS. Improve and
13047 update the doc string. Change "code point" to "code point in
13048 charset", to avoid confusion with the character's Unicode code
13049 point shown above that. (Bug#10129)
13050
e0da685a
EZ
130512012-01-28 Eli Zaretskii <eliz@gnu.org>
13052
13053 * descr-text.el (describe-char): Show the raw character, not only
13054 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
13055 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
13056 for the reasons.
13057
70550acf
PH
130582012-01-28 Phil Hagelberg <phil@hagelb.org>
13059
eb864a71
LM
13060 * emacs-lisp/package.el (package-install):
13061 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 13062
0ce8e868
CY
130632012-01-28 Chong Yidong <cyd@gnu.org>
13064
cb882333
JB
13065 * emacs-lisp/package.el (package-maybe-load-descriptor):
13066 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
13067 (package-maybe-load-descriptor): Use it.
13068 (package-download-transaction): Fully load required packages
13069 inside the loop, so that `require' calls work (Bug#10593).
13070 (package-install): No need to call package-initialize now.
13071
2e7f3bea
CY
130722012-01-28 Chong Yidong <cyd@gnu.org>
13073
6e9bad14
CY
13074 * simple.el (deactivate-mark): Doc fix (Bug#8614).
13075
f823b8ca
CY
13076 * tooltip.el (tooltip-mode): Doc fix.
13077 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
13078
2680c309
CY
13079 * frame.el (set-cursor-color): Doc fix (Bug#352).
13080
d7a9e63b
CY
13081 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
13082 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
13083
2e7f3bea
CY
13084 * cus-edit.el (custom-buffer-create-internal): Fix search button
13085 action (Bug#10542).
2ae01800 13086 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 13087
fc4f7a23
EW
130882012-01-27 Eduard Wiebe <usenet@pusto.de>
13089
13090 * dired.el (dired-mark-files-regexp):
13091 Include any subdirectory components. (Bug#10445)
13092
7dd37071
ML
130932012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
13094
13095 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
13096 Handle [host]:port syntax. (Bug#10533)
13097
a268160b
AH
130982012-01-27 Alex Harsanyi <harsanyi@mac.com>
13099
13100 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
13101
e43273ef
GM
131022012-01-26 Glenn Morris <rgm@gnu.org>
13103
13104 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
13105 * term.el (term-raw-escape-map): Use Control-X-prefix.
13106 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
13107
1edf595d
MR
131082012-01-25 Martin Rudalics <rudalics@gmx.at>
13109
13110 * window.el (window-state-get, window--state-get-1): Don't deal
13111 with fixed-sizeness of windows. Simplify code.
13112
fa8eafef
JC
131132012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
13114
6df6ae42
JB
13115 * window.el (window--state-get-1, window--state-put-2):
13116 Don't save and restore the mark.
fa8eafef 13117
0b21c100
CY
131182012-01-25 Chong Yidong <cyd@gnu.org>
13119
13120 * custom.el (custom-variable-p): Doc fix.
13121
5ae1a6c8
GM
131222012-01-25 Glenn Morris <rgm@gnu.org>
13123
40047858
GM
13124 * dired.el (dired-goto-file): Handle some of the more common
13125 characters that `ls -b' escapes. (Bug#10596)
13126
5ddce96c
GM
13127 * progmodes/compile.el (compilation-next-error-function):
13128 Respect compilation-first-column in the "*compilation*" buffer.
13129 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
13130
5ae1a6c8
GM
13131 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
13132
b559f1a9
GM
131332012-01-24 Glenn Morris <rgm@gnu.org>
13134
13135 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
13136
6725d21a
JD
131372012-01-24 Julien Danjou <julien@danjou.info>
13138
13139 * color.el (color-rgb-to-hsl): Fix value computing.
13140 (color-hue-to-rgb): New function.
13141 (color-hsl-to-rgb): New function.
13142 (color-clamp, color-saturate-hsl, color-saturate-name)
13143 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
13144 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
13145
70df4bbe
GM
131462012-01-24 Glenn Morris <rgm@gnu.org>
13147
13148 * vc/vc-rcs.el (vc-rcs-create-tag):
13149 * vc/vc-sccs.el (vc-sccs-create-tag):
13150 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
13151
802a2ae2
ML
131522012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
13153
13154 * eshell/esh-util.el (eshell-read-hosts-file):
13155 Skip comment lines. (Bug#10549)
13156
d7128bb1
ML
13157 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
13158
d1a5c3b4
JB
131592012-01-23 Juanma Barranquero <lekktu@gmail.com>
13160
2724d9c7
JB
13161 * subr.el (display-delayed-warnings): Doc fix.
13162 (collapse-delayed-warnings): New function to collapse identical
13163 adjacent warnings.
13164 (delayed-warnings-hook): Add it.
d1a5c3b4 13165
a5509865
MA
131662012-01-22 Michael Albinus <michael.albinus@gmx.de>
13167
13168 * net/tramp.el (tramp-action-login): Set connection property "login-as".
13169
a5509865
MA
13170 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
13171 (tramp-default-user-alist): Don't add "pscp".
13172 (tramp-do-copy-or-rename-file-out-of-band): Use connection
13173 property "login-as", if set. (Bug#10530)
13174
cc6d5805
MA
131752012-01-21 Michael Albinus <michael.albinus@gmx.de>
13176
13177 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
13178 "plink1" and "psftp". (Bug#10530)
13179
131802012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
13181
13182 * international/mule-cmds.el (prefer-coding-system): Show a
13183 warning message if the default value of file-name-coding-system
13184 was not changed.
13185
f0960428
JC
131862012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
13187
cb882333
JB
13188 * windmove.el (windmove-reference-loc):
13189 Fix windmove-reference-loc miscalculation.
f0960428 13190
dd6f2a63
JB
131912012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
13192
13193 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
13194 default unit.
13195
7b447e9b
GM
131962012-01-21 Glenn Morris <rgm@gnu.org>
13197
117a9ea1
GM
13198 * international/mule.el (auto-coding-alist): Add .tbz.
13199
7b447e9b
GM
13200 * files.el (local-enable-local-variables): Doc fix.
13201 (inhibit-local-variables-regexps): Rename from
13202 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
13203 Doc fix. Add some extensions from auto-coding-alist.
13204 (inhibit-local-variables-suffixes):
13205 Rename from inhibit-first-line-modes-suffixes. Doc fix.
13206 (inhibit-local-variables-p):
13207 New function, extracted from set-auto-mode-1.
13208 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
13209 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
13210 (hack-local-variables): Doc fix. Make the mode-only case
13211 respect enable-local-variables and friends.
13212 Respect inhibit-local-variables-regexps for file-locals, but
13213 not for directory-locals.
13214 (set-visited-file-name):
13215 Take account of inhibit-local-variables-regexps.
13216 Whether it applies may change as the file name is changed.
13217 * jka-cmpr-hook.el (jka-compr-install):
13218 * jka-compr.el (jka-compr-uninstall):
13219 Update for inhibit-first-line-modes-suffixes name change.
13220
dd6e3cdd
MR
132212012-01-20 Martin Rudalics <rudalics@gmx.at>
13222
13223 * help-macro.el (make-help-screen): Temporarily restore original
13224 binding for minor-mode-map-alist (Bug#10454).
13225
0d0deb38
JD
132262012-01-19 Julien Danjou <julien@danjou.info>
13227
13228 * color.el (color-name-to-rgb): Use the white color to find the max
13229 color component value and return correctly computed values.
13230 (color-name-to-rgb): Add missing float conversion for max value.
13231
34a02f46
MR
132322012-01-19 Martin Rudalics <rudalics@gmx.at>
13233
13234 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
13235 special state value for window-persistent-parameters.
13236 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
13237 (window--state-put-2): Reset all window parameters to nil before
13238 assigning values of persistent parameters.
13239
606c44c4
AM
132402012-01-18 Alan Mackenzie <acm@muc.de>
13241
13242 Eliminate sluggishness and hangs in fontification of "semicolon
13243 deserts".
13244
cb882333
JB
13245 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
13246 Change value 10000 -> 3000.
606c44c4
AM
13247 (c-state-safe-place): Reformulate so it doesn't stack up an
13248 infinite number of wrong entries in c-state-nonlit-pos-cache.
13249 (c-determine-limit-get-base, c-determine-limit): New functions to
13250 determine backward search limits disregarding literals.
13251 (c-find-decl-spots): Amend commenting.
13252 (c-cheap-inside-bracelist-p): New function which detects "={".
13253
13254 * progmodes/cc-fonts.el
13255 (c-make-font-lock-BO-decl-search-function): Give a limit to a
13256 backward search.
13257 (c-font-lock-declarations): Fix an occurrence of point being
13258 undefined. Check additionally for point being in a bracelist or
13259 near a macro invocation without a semicolon so as to avoid a
13260 fruitless time consuming search for a declarator. Give a more
13261 precise search limit for declarators using the new
13262 c-determine-limit.
13263
f3860cea
GM
132642012-01-18 Glenn Morris <rgm@gnu.org>
13265
13266 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
13267 (set-auto-mode): Doc fixes.
13268
1db03b16
GM
132692012-01-17 Glenn Morris <rgm@gnu.org>
13270
0e6038be
GM
13271 * isearch.el (search-nonincremental-instead): Fix doc typo.
13272
1db03b16
GM
13273 * dired.el (dired-insert-directory): Handle newlines in directory name.
13274 (dired-build-subdir-alist): Unescape newlines in directory name.
13275
4cb0aa75
MA
132762012-01-17 Michael Albinus <michael.albinus@gmx.de>
13277
13278 * net/tramp.el (tramp-local-end-of-line): New defcustom.
13279 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
13280 (tramp-action-terminal): Use it. (Bug#10530)
13281
1d00653d
SM
132822012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
13283
13284 * minibuffer.el (completion--replace): Strip properties (bug#10062).
13285
6a6ee00d
MR
132862012-01-16 Martin Rudalics <rudalics@gmx.at>
13287
13288 * window.el (window-state-ignored-parameters): Remove variable.
13289 (window--state-get-1): Rename argument MARKERS to IGNORE.
13290 Handle persistent window parameters. Make copy of clone-of
13291 parameter only if requested. (Bug#10348)
13292 (window--state-put-2): Install a window parameter only if it has
13293 a non-nil value or an existing parameter shall be overwritten.
13294
97912def
MA
132952012-01-15 Michael Albinus <michael.albinus@gmx.de>
13296
13297 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
13298
688070a5
EZ
132992012-01-14 Eli Zaretskii <eliz@gnu.org>
13300
13301 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
13302 don't pass the (nil) value of `upnode' to string-match.
13303
301afadc
CY
133042012-01-14 Chong Yidong <cyd@gnu.org>
13305
13306 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 13307 Fix values recognized by the cursorBlink resource.
301afadc 13308
9e5788aa
PE
133092012-01-14 Paul Eggert <eggert@cs.ucla.edu>
13310
13311 * epg.el (epg--make-temp-file): Avoid permission race condition
13312 when running on old Emacs versions (bug#10403).
13313
3cdb7f5a
GM
133142012-01-14 Glenn Morris <rgm@gnu.org>
13315
13316 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
13317
8c82b1b4
AM
133182012-01-13 Alan Mackenzie <acm@muc.de>
13319
13320 Fix filling for when filladapt mode is enabled.
13321
13322 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
13323 c-mask-paragraph, pass in `fill-paragraph' rather than
13324 `fill-region-as-paragraph'. (This is a reversion of a previous
13325 change.)
eb864a71
LM
13326 * progmodes/cc-mode.el (c-basic-common-init):
13327 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 13328
e517eda4
GM
133292012-01-13 Glenn Morris <rgm@gnu.org>
13330
1498536e
GM
13331 * dired.el (dired-switches-escape-p): New function.
13332 (dired-insert-directory): Use dired-switches-escape-p.
13333 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
13334
e517eda4
GM
13335 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
13336
328f984d
GM
133372012-01-12 Glenn Morris <rgm@gnu.org>
13338
13339 * mail/sendmail.el (mail-mode): Update paragraph-separate for
13340 changes in adaptive-fill-regexp. (Bug#10276)
13341
2cc769a8
AM
133422012-01-11 Alan Mackenzie <acm@muc.de>
13343
13344 Fix Emacs bug #10463 - put `widen's around the critical spots.
13345
1d00653d 13346 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
13347 widen around each invocation of c-state-pp-to-literal. Remove an
13348 unused let variable.
13349
e52c37fa
GM
133502012-01-11 Glenn Morris <rgm@gnu.org>
13351
13352 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 13353 Doc fix.
e52c37fa 13354
96f8741e
CY
133552012-01-10 Chong Yidong <cyd@gnu.org>
13356
1d00653d
SM
13357 * net/network-stream.el (network-stream-open-starttls):
13358 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
13359 response to the capability command.
13360
b09a806e
GM
133612012-01-10 Glenn Morris <rgm@gnu.org>
13362
13363 * mail/unrmail.el (unrmail): Tweak previous change.
13364
7655cb66
CY
133652012-01-09 Chong Yidong <cyd@gnu.org>
13366
13367 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
13368
9d5a8f0b
AM
133692012-01-08 Alan Mackenzie <acm@muc.de>
13370
677d5c92 13371 Optimize font locking in long enum definitions.
9d5a8f0b
AM
13372
13373 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
13374 arm to a cond form to handle enums.
13375 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
13376 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
13377
9a0115ab 133782012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
13379
13380 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 13381 (Bug#10401)
6bb72cbd 13382
f186bb95
LMI
133832012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
13384
29232a68
LMI
13385 * faces.el (set-face-attribute): Clarify the meaning of the nil
13386 frame (bug#10294).
13387
4e5d086d
LMI
13388 * subr.el (with-selected-frame): Mention that the selected frame
13389 is restored (bug#9980).
13390
8e66aebe
LMI
13391 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
13392 (bug#9759).
13393
cd394be1 13394 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
13395 (password-read): Don't autoload unused function.
13396
adf4e762
JB
133972012-01-07 Juanma Barranquero <lekktu@gmail.com>
13398
13399 * progmodes/which-func.el (which-func-mode): Turn into a
13400 non-interactive function and mark as obsolete (bug#10428).
13401
89bd9ccd
CY
134022012-01-06 Chong Yidong <cyd@gnu.org>
13403
13404 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
13405 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
13406 functions, along with 1 and -1.
13407
4afee9d5
EZ
134082012-01-06 Eli Zaretskii <eliz@gnu.org>
13409
13410 * time.el (display-time-load-average)
13411 (display-time-default-load-average): Doc fixes. See the thread
13412 starting at
13413 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
13414 for the details.
13415
536aea70
GM
134162012-01-06 Glenn Morris <rgm@gnu.org>
13417
665ae865
GM
13418 * mail/unrmail.el (unrmail): Give an explicit error if the input file
13419 has no messages. (Bug#10377)
13420
c869783d
GM
13421 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
13422 than Info-edit. (Bug#10385)
13423
2bb4227e
GM
13424 * time.el (display-time-load-average, display-time-next-load-average):
13425 Doc fixes.
13426
7d5944b9
GM
13427 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
13428 local setting of buffer-read-only to the input buffer. (Bug#10419)
13429
536aea70
GM
13430 * calendar/calendar.el (calendar-mode):
13431 Locally set scroll-margin to 0. (Bug#10379)
13432
7dccca16
UM
134332012-01-06 Ulrich Mueller <ulm@gentoo.org>
13434
13435 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
13436
afbb7930
GM
134372012-01-05 Glenn Morris <rgm@gnu.org>
13438
13439 * eshell/em-unix.el (diff-no-select): Autoload it.
13440 (eshell/diff): Use diff-no-select. (Bug#10420)
13441
04482335
CY
134422012-01-05 Chong Yidong <cyd@gnu.org>
13443
7baca3bc
CY
13444 * shell.el (shell-dynamic-complete-functions): Revert last change.
13445 (shell-command-completion-function): New function.
13446 (shell-completion-vars): Use it to implement
13447 shell-completion-execonly (Bug#10417).
13448
04482335
CY
13449 * custom.el (enable-theme): Don't set custom-safe-themes.
13450
1d00653d
SM
13451 * cus-theme.el (custom-theme-merge-theme):
13452 Ignore custom-enabled-themes and custom-safe-themes.
04482335 13453
bb5aa5d6
MM
134542012-01-05 Michael R. Mauger <mmaug@yahoo.com>
13455
13456 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
13457 first prompt in `sql-interacive-mode'.
13458 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 13459 keywords.
6df6ae42 13460 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
13461 (sql-product-interactive): Bug fix: Set `sql-buffer' in
13462 context of original buffer. Invoke `sql-login-hook'.
13463
a7183d7c
EZ
134642012-01-04 Eli Zaretskii <eliz@gnu.org>
13465
13466 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
13467 letters in cite-prefix.
13468
a1eacd1e
LMI
134692012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
13470
13471 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
13472
787cdb34
CY
134732012-01-03 Chong Yidong <cyd@gnu.org>
13474
1d00653d
SM
13475 * shell.el (shell-dynamic-complete-functions):
13476 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
13477 comint-filename-completion first (Bug#10417).
13478
30710442
RS
134792012-01-02 Richard Stallman <rms@gnu.org>
13480
13481 * battery.el (battery-status-function):
13482 Detect when to use battery-yeeloong-sysfs.
13483 (battery-echo-area-format): Add string for Yeeloong.
13484 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
13485 (battery-yeeloong-sysfs): New function.
13486
f75bfc33
CY
134872012-01-02 Chong Yidong <cyd@gnu.org>
13488
13489 * dirtrack.el (dirtrack-list): Eliminate unused third element.
13490 (dirtrack): Merge code for handling relative filenames in prompt
13491 from shell-dir-cookie-watcher.
13492 (dirtrack-debug-message): New arg to avoid excess format calls.
13493
13494 * shell.el (shell-dir-cookie-re): Variable deleted.
13495 (shell-dir-cookie-watcher): Function deleted.
13496 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
13497 with dirtrack-mode.
13498
651e947e
EZ
134992012-01-01 Eli Zaretskii <eliz@gnu.org>
13500
1d00653d
SM
13501 * term/w32-win.el (dynamic-library-alist) <gnutls>:
13502 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
13503 libgnutls-26.dll.
13504
94d4c7dc
AS
135052011-12-31 Andreas Schwab <schwab@linux-m68k.org>
13506
13507 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
13508
8d43f3cd
EZ
135092011-12-31 Eli Zaretskii <eliz@gnu.org>
13510
13511 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
13512 headers of non-MIME messages, when rmail-enable-mime is non-nil.
13513
98c8795a
MA
135142011-12-29 Michael Albinus <michael.albinus@gmx.de>
13515
13516 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
13517 also for alternative shells.
13518 (tramp-open-connection-setup-interactive-shell): Check, whether
13519 the shell is a busybox.
13520 (tramp-send-command): Don't suppress multiple prompts for
13521 busyboxes, it hurts.
13522
51281b32
CY
135232011-12-28 Chong Yidong <cyd@gnu.org>
13524
13525 * progmodes/gdb-mi.el (gdb-get-source-file-list)
13526 (gdb-get-source-file): Move mode line update to
13527 gdb-get-source-file (Bug#10087).
13528
2170cb53
CY
135292011-12-25 Chong Yidong <cyd@gnu.org>
13530
13531 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
13532 gud-gdb-marker-filter without taking it as an argument.
13533 (gud-gdb-run-command-fetch-lines): Caller changed.
13534 (gud-gdb-completion-function): New variable.
13535 (gud-gdb-completion-at-point): Use it.
13536 (gud-gdb-completions-1): Split from gud-gdb-completions.
13537
13538 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
13539 function as separate arguments.
13540 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
13541 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
13542 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
13543 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
13544 (gdb-stopped, def-gdb-auto-update-trigger)
13545 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
13546 (gdb-get-changed-registers, gdb-get-main-selected-frame):
13547 Callers changed.
2170cb53
CY
13548 (gud-gdbmi-completions): New function.
13549 (gdb): Use it for generating the completion table.
13550
be8b11bb
AM
135512011-12-24 Alan Mackenzie <acm@muc.de>
13552
13553 Introduce a mechanism to widen the region used in context font
1d00653d 13554 locking. Use this to protect declarations from losing their contexts.
be8b11bb 13555
1d00653d
SM
13556 * progmodes/cc-langs.el (c-before-font-lock-functions):
13557 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 13558 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
13559 functions to be run just before context (etc.) font locking.
13560
13561 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 13562 New, functionality extracted from
be8b11bb 13563 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 13564 (c-in-after-change-fontification): New variable.
be8b11bb
AM
13565 (c-after-change): Set c-in-after-change-fontification.
13566 (c-set-fl-decl-start): Rejig its interface, so it can be called
13567 from both after-change and context fontifying.
b81d40f0
JB
13568 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
13569 New functions.
13570 (c-standard-font-lock-fontify-region-function): New variable.
13571 (c-font-lock-fontify-region): New function.
be8b11bb 13572
341cf6ac
JL
135732011-12-24 Juri Linkov <juri@jurta.org>
13574
13575 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
13576 (Bug#10348)
13577
bffcee0a
MA
135782011-12-23 Michael Albinus <michael.albinus@gmx.de>
13579
13580 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
13581 existence of source file. (Bug#10325)
13582
cb5e207c
AM
135832011-12-23 Alan Mackenzie <acm@muc.de>
13584
13585 Fix unstable fontification inside templates.
13586
b81d40f0
JB
13587 * progmodes/cc-langs.el (c-before-font-lock-functions):
13588 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
13589 additionally has c-set-fl-decl-start. The other languages (apart
13590 from AWK) have that as a single entry.
13591
b81d40f0
JB
13592 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
13593 The functionality for "local" declarations has been extracted to
cb5e207c
AM
13594 c-set-fl-decl-start.
13595
b81d40f0
JB
13596 * progmodes/cc-mode.el (c-common-init, c-after-change):
13597 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
13598 (c-set-fl-decl-start): New function, extracted from
13599 c-font-lock-enclosing-decls and enhanced.
13600
60ff536c
JB
136012011-12-23 Juanma Barranquero <lekktu@gmail.com>
13602
13603 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
13604
1c4757d6
JL
136052011-12-22 Juri Linkov <juri@jurta.org>
13606
13607 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
13608
d031f2c7
CY
136092011-12-22 Chong Yidong <cyd@gnu.org>
13610
13611 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
13612
bace743a
DA
136132011-12-21 Drew Adams <drew.adams@oracle.com>
13614
13615 * files.el (file-remote-p): Fix docstring. (Bug#10319)
13616
728a1f2b
JC
136172011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
13618
13619 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
13620
0d373f73
TZ
136212011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
13622
fec0aaa4
TZ
13623 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
13624 highlighting and support. Fix up comments for capitalization.
13625 (cfengine-mode-debug): New var.
13626 (cfengine3-mode): Change the modeline indicator to "CFE3".
13627 (cfengine3-font-lock-keywords): Improve defun highlighting.
13628 (cfengine2-actions): Rename from `cfengine-actions'.
13629 (cfengine2-font-lock-keywords): Rename from
13630 `cfengine-font-lock-keywords'.
13631 (cfengine2-imenu-expression): Rename from
13632 `cfengine-imenu-expression'.
13633 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
13634 (cfengine2-beginning-of-defun): Rename from
13635 `cfengine-beginning-of-defun'.
13636 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
13637 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
13638 (cfengine2-mode): Rename from `cfengine-mode'. Change the
13639 modeline indicator to "CFE2".
13640 (cfengine-mode): Defalias to `cfengine-auto-mode'.
13641 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 13642
bc86f573
CY
136432011-12-21 Chong Yidong <cyd@gnu.org>
13644
13645 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
13646 filename argument.
13647
d45ba96b
MR
136482011-12-20 Martin Rudalics <rudalics@gmx.at>
13649
13650 * window.el (window-normalize-buffer-to-display): Remove.
13651 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
13652
a6198c90
CY
136532011-12-19 Chong Yidong <cyd@gnu.org>
13654
13655 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
13656 Don't signal an error in a predicate function; return non-nil.
13657 (vc-dir-mark-file): Move the error here.
13658 (vc-dir-mark-unmark): If acting on the region, keep going if one
13659 of the entries cannot be marked/unmarked.
13660 (vc-dir-mark-all-files): If current entry is a directory, mark
13661 only child files, as documented.
13662
34c5fb55
VB
136632011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
13664
13665 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
13666 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
13667 addition.
13668
c803b2b7
JD
136692011-12-18 Jan Djärv <jan.h.d@swipnet.se>
13670
13671 * term/ns-win.el (ns-get-selection-internal)
13672 (ns-store-selection-internal): Declare.
1154d12e
JB
13673 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
13674 Declare as obsolete.
13675 (ns-get-pasteboard, ns-paste-secondary):
13676 Use ns-get-selection-internal.
41e9b956 13677 (ns-set-pasteboard, ns-copy-including-secondary):
1154d12e 13678 Use ns-store-selection-internal.
c803b2b7 13679
9cff91f8 136802011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
13681
13682 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 13683 (vc-deduce-fileset): Doc fix.
99a289d9 13684
f16c898a
AS
136852011-12-16 Andreas Schwab <schwab@linux-m68k.org>
13686
13687 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
13688
763237c4
SS
136892011-12-13 Sam Steingold <sds@gnu.org>
13690
13691 * man.el (Man-getpage-in-background): When running under a
13692 window-system, ignore $MANWIDTH and $COLUMNS.
13693
5fc1c122
KH
136942011-12-15 Kenichi Handa <handa@m17n.org>
13695
13696 * language/ethio-util.el: Change coding tag to utf-8-emacs.
13697 (setup-ethiopic-environment-internal): Comment out key-binding for
13698 ethio-toggle-punctuation.
13699
13d49cbb
AM
137002011-12-13 Alan Mackenzie <acm@muc.de>
13701
898169a2
AM
13702 Add the switch statement to AWK Mode.
13703
7a71b18d 13704 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
13705 "default" to the keywords regexp.
13706
7a71b18d 13707 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 13708 expression as the rest.
1d00653d
SM
13709 (c-nonlabel-token-key): Allow string literals for AWK.
13710 Refactor for the other modes.
898169a2 13711
13d49cbb 13712 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 13713 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
13714 routines. Limit backward searching in c-font-lock-enclosing.decl.
13715
13716 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
13717 pp-state and literal type in addition to the limits.
1d00653d 13718 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 13719 (c-state-literal-at): Use the above new defun.
1d00653d
SM
13720 (c-slow-in-literal, c-fast-in-literal): Remove.
13721 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
13722
13723 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
13724 being in a literal. Add a limit for backward searching.
13725
13726 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
13727 c-slow-in-literal.
13728
15e0efc7
SM
137292011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
13730
13731 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
13732
454592a6
MR
137332011-12-13 Martin Rudalics <rudalics@gmx.at>
13734
13735 * window.el (delete-other-windows): Use correct frame in call to
13736 window-with-parameter.
13737
87393f26
DP
137382011-12-12 Daniel Pfeiffer <occitan@t-online.de>
13739
13740 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
13741 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
13742 (makefile-gmake-statements, makefile-makepp-statements):
13743 Use it and add new makepp keywords.
13744 (makefile-makepp-font-lock-keywords): Add new patterns.
13745 (makefile-match-function-end): Match new [...] and [[...]].
13746
11636b22
JB
137472011-12-11 Juanma Barranquero <lekktu@gmail.com>
13748
13749 * ses.el (ses-call-printer-return, ses-cell-property-get)
13750 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
13751 (ses-create-cell-variable, ses-reset-header-string)
13752 (ses-cell-set-formula, ses-repair-cell-reference-all)
13753 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
13754 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
13755 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
13756 (ses-aset-with-undo, ses-load, ses-truncate-cell)
13757 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
13758 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
13759 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
13760 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
13761 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
13762 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
13763 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
13764 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
13765
cf018193
VB
137662011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
13767
13768 * ses.el: The overall change is to add cell renaming, that is
13769 setting fancy names for cell symbols other than name matching
13770 "\\`[A-Z]+[0-9]+\\'" regexp .
13771 (ses-create-cell-variable): New defun.
13772 (ses-relocate-formula): Relocate formulas only for cells the
13773 symbols of which are not renamed, i.e. symbols whose names do not
13774 match regexp "\\`[A-Z]+[0-9]+\\'".
13775 (ses-relocate-all): Relocate values only for cells the symbols of
13776 which are not renamed.
13777 (ses-load): Create cells variables as the (ses-cell ...) are read,
13778 in order to check row col consistency with cell symbol name only
13779 for cells that are not renamed.
13780 (ses-replace-name-in-formula): New defun.
13781 (ses-rename-cell): New defun.
13782
ee957461
CY
137832011-12-11 Chong Yidong <cyd@gnu.org>
13784
13785 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
13786 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
13787
9a9e9ef0
MR
137882011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
13789
13790 * window.el (other-window): Fix docstring.
13791
92a8eba5
EZ
137922011-12-10 Eli Zaretskii <eliz@gnu.org>
13793
13794 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
13795 `from' or `to' address before taking its substring.
13796 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
13797 encoded name is chopped in the middle of the encoded string, and
13798 thus displayed encoded.
13799
e152e577
JB
138002011-12-10 Juanma Barranquero <lekktu@gmail.com>
13801
13802 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
13803
e5d84bfe
EZ
138042011-12-10 Eli Zaretskii <eliz@gnu.org>
13805
13806 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
13807 to use texinfo-update-node and commands that call it if the
13808 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 13809 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
13810 (texinfo-all-menus-update, texinfo-master-menu)
13811 (texinfo-update-node, texinfo-every-node-update)
13812 (texinfo-multiple-files-update): Doc fix. Warn against updating
13813 all the @node lines.
13814 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
13815 argument is numeric. Explain better in the doc string what the
13816 function really does.
13817 (texinfo-insert-master-menu-list): Improve the error message
13818 displayed if there's no menu in the Top node.
13819 (Bug#2975) See also this thread:
e5d84bfe
EZ
13820 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
13821
1d84e9bb
MG
138222011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
13823
13824 * speedbar.el (speedbar-supported-extension-expressions):
13825 Add .adb and .ads, commonly used for Ada source code (bug#10256).
13826
382c953b
JB
138272011-12-09 Juanma Barranquero <lekktu@gmail.com>
13828
13829 * printing.el (pr-mode-alist):
13830 * simple.el (filter-buffer-substring-functions)
13831 (completion-list-insert-choice-function):
13832 * window.el (window-with-parameter, window-atom-root)
13833 (window-sides-slots, window-size-fixed, window-min-delta)
13834 (window-max-delta, window--resize-mini-window)
13835 (window--resize-child-windows-normal, window-tree)
13836 (delete-other-windows, quit-window, split-window)
13837 (display-buffer-record-window, special-display-buffer-names)
13838 (special-display-regexps, special-display-popup-frame)
13839 (same-window-p, split-window-sensibly)
13840 (display-buffer-overriding-action, display-buffer-alist)
13841 (display-buffer-base-action, display-buffer, switch-to-buffer)
13842 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
13843 (fit-window-to-buffer, recenter-positions)
13844 (mouse-autoselect-window-state, mouse-autoselect-window-select):
13845 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
13846 and remove unneeded backslashes in docstrings.
13847
39c9faef
SM
138482011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
13849
98449af8
SM
13850 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
13851
39c9faef
SM
13852 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
13853 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
13854 end in ".mk".
13855 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
13856 when reading the makefile (bug#10116).
13857
86ed9fdc
SM
138582011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
13859
13860 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
13861 (bug#10116).
13862
5580f89d
GM
138632011-12-06 Glenn Morris <rgm@gnu.org>
13864
13865 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
13866
28d3917c
CY
138672011-12-06 Chong Yidong <cyd@gnu.org>
13868
13869 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
13870
a98edce9
JB
138712011-12-06 Juanma Barranquero <lekktu@gmail.com>
13872
13873 * textmodes/table.el (table-shorten-cell): Fix typo.
13874
e65adfac
CG
138752011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
13876
13877 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
13878
71cc0b74
EZ
138792011-12-05 Eli Zaretskii <eliz@gnu.org>
13880
13881 * descr-text.el (describe-char): Fix display of strong
13882 right-to-left characters and directional embeddings and overrides.
13883
13884 * simple.el (what-cursor-position): Fix display of codepoints of
13885 strong right-to-left characters.
13886
315bc30d
CY
138872011-12-05 Chong Yidong <cyd@gnu.org>
13888
13889 * faces.el (read-color): Doc fix.
13890
58a70b94
GM
138912011-12-05 Glenn Morris <rgm@gnu.org>
13892
13893 * align.el (align--set-marker): Add doc-string.
13894 Don't try to move something that is not a marker. (Bug#10216)
13895
5158face
GM
138962011-12-04 Glenn Morris <rgm@gnu.org>
13897
13898 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
13899 overly zealous deletion of trailing whitespace.
13900
520fca41
JB
139012011-12-04 Juanma Barranquero <lekktu@gmail.com>
13902
13903 * server.el (server-delete-client): On Windows, do not try to delete
13904 the only terminal.
13905 (server-process-filter): On Windows, treat requests for a tty frame as
13906 if they were for a GUI frame if the running server is in GUI mode.
13907
5e605a2e
GM
139082011-12-03 Glenn Morris <rgm@gnu.org>
13909
13910 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
13911
5c3fe83f
SM
139122011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
13913
6f5e57e7
SM
13914 * electric.el: Streamline electric-indent's hook.
13915 (electric-indent-chars): Revert to simple list.
13916 (electric-indent-functions): New var.
13917 (electric-indent-post-self-insert-function): Use it.
13918
5c3fe83f
SM
13919 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
13920 there's no inferior buffer (bug#10196).
13921 (prolog-consult-compile): Don't use toggle-read-only.
13922
6bdac736
MA
139232011-12-02 Michael Albinus <michael.albinus@gmx.de>
13924
13925 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
13926 interrupt. (Bug#10187)
13927
6131ba7f
SM
139282011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
13929
99c79fee
SM
13930 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
13931 (bug#9160).
13932
6131ba7f
SM
13933 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
13934 (bug#10191).
13935
cb0a02ea
JL
139362011-12-02 Juri Linkov <juri@jurta.org>
13937
13938 * info.el (Info-search): Display "end of manual" when Isearch
13939 reaches the end of single-file Info manual. (Bug#9918)
13940
66e0570c
EZ
139412011-12-02 Eli Zaretskii <eliz@gnu.org>
13942
13943 * isearch.el (isearch-message-prefix): Run the input method part
13944 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
13945
02b16839
JL
139462011-12-02 Juri Linkov <juri@jurta.org>
13947
13948 * isearch.el (isearch-occur): Use `word-search-regexp' for
13949 `isearch-word'.
13950 (isearch-search-and-update): Add condition for `isearch-word' and
13951 call `word-search-regexp'. (Bug#10145)
13952
0b950688
GM
139532011-12-01 Glenn Morris <rgm@gnu.org>
13954
13955 * eshell/em-hist.el (eshell-hist-initialize):
13956 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 13957 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 13958
9505c3c7
SM
139592011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
13960
13961 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
13962
1bbe96b2 139632011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 13964
a1beca85
SM
13965 * progmodes/verilog-mode.el (verilog-pretty-expr):
13966 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
13967 verilog, such as += *= and the like.
13968 (verilog-assignment-operator-re): Regular expression to find the
13969 assigment operator in a verilog assignment.
13970 (verilog-assignment-operation-re): Regular expression to find an
13971 assignment statement for pretty-expr.
13972 (verilog-in-attribute-p): Query returns true if point is in an
13973 attribute context; used to skip these for expression line up from
13974 pretty-expr.
13975 (verilog-in-parameter-p): Query returns true if point is in an
13976 parameter definition context; used to skip these for expression
13977 line up from pretty-expr.
13978 (verilog-in-parenthesis-p): Query returns true if point is in a
13979 parenthetical expression, specifically ( ) but not [ ] or { };
13980 used by pretty-expr.
13981 (verilog-just-one-space): If there is no space, don't add one.
13982 (verilog-get-lineup-indent-2): Specifically skip just attribute
13983 contexts for expression lineup, rather than skipping all
13984 parenthetical expressions.
13985 (verilog-calculate-indent): Fix comment, and fix indent.
13986 (verilog-do-indent): Indent declarations in lists (suggested by
13987 Joachim Lechner).
13988 (verilog-mode-abbrev-table): Populate abbrev mode with the various
13989 skeleton items.
13990 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
13991 by Alain Mellan).
13992
1bbe96b2 139932011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
13994
13995 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
13996 parameters with embedded comments. Reported by Ray Stevens.
13997 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
13998 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
13999 Reported by Tim Holt.
14000 (verilog-auto): Fix AUTOing a upper module then AUTOing module
14001 instantiated by upper module causing wrong expansion until AUTOed a
14002 second time. Reported by K C Buckenmaier.
14003 (verilog-diff-auto): Fix showing .* as a difference when
14004 `verilog-auto-star-save' off. Reported by Dan Dever.
14005 (verilog-auto-reset, verilog-read-always-signals)
14006 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
14007 temporary signals in reset list if
14008 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
14009 style to each signal's assignment type, bug381.
14010 Reported by Thomas Esposito.
6288f0ca
WS
14011 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
14012 (verilog-uvm-statement-re): Support UVM indentation and
14013 highlighting, with old OVM keywords only.
a1beca85 14014 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
14015 Support AUTOTIEOFF creating non-wire data types.
14016 Suggested by Jonathan Greenlaw.
6288f0ca
WS
14017 (verilog-auto-insert-lisp, verilog-delete-to-paren)
14018 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
14019 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
14020 (verilog-read-sub-decls, verilog-read-sub-decls-line):
14021 Fix mismatching parenthesis inside commented out code when deleting
382c953b 14022 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
14023 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
14024 non-numeric vector width. Reported by Alex Reed.
14025 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 14026 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
14027 (verilog-auto-delete-trailing-whitespace):
14028 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
14029 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
14030 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
14031 Fix verilog-scan-cache corruption when running user AUTO expansion
14032 hooks that call indentation routines.
14033 (verilog-simplify-range-expression): Fix typo ignoring lower case
14034 identifiers.
14035 (verilog-delete-auto): Fix delete-autos to also remove user created
14036 automatics, as long as they start with AUTO.
14037 (verilog-batch-diff-auto, verilog-diff-auto)
14038 (verilog-diff-function): Add `verilog-diff-auto' and bind to
14039 "C-c?" to report differences in AUTO expansion, ignoring spaces.
14040 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
14041 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
14042 (verilog-re-search-forward-quick, verilog-syntax-ppss):
14043 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
14044 is disabled and its cache will get corrupt, causing AUTOS not to
14045 expand. Instead use only -quick functions.
14046 (verilog-scan-region): Fix scanning over escaped quotes.
14047 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
14048 (verilog-re-search-backward-quick)
14049 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
14050 related functions now ignore strings, to fix misparsing of strings
14051 with magic comments embedded in them.
a1beca85
SM
14052 (verilog-read-auto-template):
14053 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
14054 Reported by Brad Dobbie.
14055 (verilog-read-auto-template):
14056 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 14057 Reported by Brad Dobbie.
6288f0ca
WS
14058 (verilog-auto-inst, verilog-auto-inst-param)
14059 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
14060 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
14061 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
14062 debugging templates without merge conflicts, bug357.
14063 Reported by Brad Dobbie.
14064 (verilog-read-auto-template):
14065 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
14066 Reported by Brad Dobbie.
14067 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
14068 abbrevs so user won't be asked to save.
14069 (verilog-read-auto-lisp-present): Fix to start at beginning of
14070 buffer in case called outside of verilog-auto.
14071 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
14072 to "X-2". Reported by Matthew Myers.
14073 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
14074 all inputs from module templates. Reported by Leith Johnson.
14075 (verilog-module-inside-filename-p): Fix locating programs as with
14076 modules.
14077 (verilog-auto-inst-port): Fix vl-width expressions when using
14078 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
14079 (verilog-decls-get-regs, verilog-decls-get-signals,
14080 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
14081 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
14082 verilog-read-decls): Combine reg and wire structures into one var
14083 structure to represent SystemVerilog concepts.
14084 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
14085 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
14086 (verilog-auto-wire-type, verilog-insert-definition):
14087 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
14088 SystemVerilog "logic" keyword instead of "wire"/"reg".
14089 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
14090 to declares outputs that also have assignments (presumably in an
a1beca85
SM
14091 ifdef or generate if so there's not a driver conflict).
14092 Reported by Matthew Myers.
14093 (verilog-auto-declare-nettype, verilog-insert-definition):
14094 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
14095 `default_nettype none. Reported by Julian Gorfajn.
14096 (verilog-read-always-signals-recurse, verilog-read-decls)
14097 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
14098 malformed end statement, bug325. Reported by Joshua Wise and
14099 Andrew Drake.
14100 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
14101 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
14102 when expanding .* in interfaces, bug320.
14103 Reported by Pierre-David Pfister.
6288f0ca 14104 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
14105 name and open parenthesis, bug317.
14106 Reported by Pierre-David Pfister.
6288f0ca
WS
14107 (verilog-simplify-range-expression): Fix simplification of
14108 multiplications inside AUTOWIRE connections, bug303.
14109 (verilog-auto-inst-port): Support parameter expansion in
14110 multidimensional arrays.
14111 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
14112 after "assert property". Reported by Julian Gorfajn.
14113 (verilog-simplify-range-expression): Fix "couldn't merge" errors
14114 with multiplication, bug303.
14115 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
14116 Reported by Jan Frode Lonnum.
14117
1bbe96b2
GM
141182011-11-30 Juanma Barranquero <lekktu@gmail.com>
14119
14120 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
14121 (hfy-shell-file-name, hfy-shell):
14122 * international/fontset.el (x-decompose-font-name): Fix typos.
14123
141242011-11-29 Ken Brown <kbrown@cornell.edu>
14125
14126 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
14127 (gdb-version): Remove defvar.
14128 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
14129 (gdb-gud-context-command, gdb-non-stop-handler)
14130 (gdb-current-context-command, gdb-stopped): Use it.
14131 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
14132 (gdb-non-stop-handler): Don't enable pretty-printing here.
14133 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
14134 non-stop mode. Use the following.
14135 (gdb-check-target-async): New defun.
14136 (gud-watch, gdb-stopped): Fix whitespace.
14137 (gdb-get-source-file): Don't try to display the source file if
14138 `gdb-main-file' is nil.
14139
141402011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
14141
14142 * align.el: Try to generate fewer markers (bug#10047).
14143 (align--set-marker): New macro.
14144 (align-region): Use it.
14145
c935221f
SM
141462011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
14147
14148 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
14149
e70b5064
CY
141502011-11-29 Chong Yidong <cyd@gnu.org>
14151
14152 * indent.el (indent-for-tab-command, indent-according-to-mode):
14153 Doc fix.
14154 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
14155
f3af92b7
MA
141562011-11-29 Michael Albinus <michael.albinus@gmx.de>
14157
14158 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
14159 aware of remote file names. (Bug#10124)
14160
ed472be9
CY
141612011-11-29 Chong Yidong <cyd@gnu.org>
14162
14163 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
14164
24510c22
SM
141652011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
14166
14167 * files.el (find-file): Don't use force-same-window (bug#10144).
14168 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
14169 use pop-to-buffer if the selected window can't be used.
14170 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
14171
c60c3703
EZ
141722011-11-28 Eli Zaretskii <eliz@gnu.org>
14173
14174 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
14175 special-mode-map.
14176
e95def75
CY
141772011-11-28 Chong Yidong <cyd@gnu.org>
14178
14179 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
14180
c3f1c606
NR
141812011-11-27 Nick Roberts <nickrob@snap.net.nz>
14182
14183 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
14184 gdb-get-source-file-list on gdb-create-source-file-list.
14185
00db469c
EZ
141862011-11-26 Eli Zaretskii <eliz@gnu.org>
14187
14188 * whitespace.el (whitespace-newline): Use a different foreground
14189 color for 16-color light-background displays.
14190
4ad3bc2a
CY
141912011-11-24 Chong Yidong <cyd@gnu.org>
14192
14193 * window.el (display-buffer--special-action): Doc fix.
14194
e9fce1ac
JB
141952011-11-25 Juanma Barranquero <lekktu@gmail.com>
14196
14197 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
14198 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
14199 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
14200 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
14201 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
14202 (avl-tree-stack-first):
14203 * emacs-lisp/cconv.el (cconv--analyse-use):
14204 * net/gnutls.el (gnutls-negotiate): Fix typos.
14205
cb825e5d
GM
142062011-11-24 Glenn Morris <rgm@gnu.org>
14207
3adbe224
GM
14208 * lpr.el (lpr-windows-system, lpr-lp-system):
14209 * mail/binhex.el (binhex-begin-line):
14210 * progmodes/grep.el (grep-history, grep-find-history):
14211 * textmodes/flyspell.el:
14212 * vc/pcvs-defs.el (cvs-global-menu):
14213 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
14214 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
14215 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
14216
321decc8
GM
14217 * net/tls.el: Fix case of "GnuTLS".
14218
420b63ad
GM
14219 * paths.el (rmail-file-name): Format doc-string for make-docfile.
14220
cb825e5d
GM
14221 * version.el (emacs-build-system): Give it a doc-string.
14222
a0649f08
JL
142232011-11-24 Juri Linkov <juri@jurta.org>
14224
14225 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
14226
c0bc0fd4
GM
142272011-11-24 Glenn Morris <rgm@gnu.org>
14228
14229 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
14230 if called on a non-mime message just toggle the headers. (Bug#8006)
14231
20db1522
JB
142322011-11-24 Juanma Barranquero <lekktu@gmail.com>
14233
14234 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
14235 (allout-lead-with-comment-string, allout-structure-deleted-hook)
14236 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
14237 (allout-rebullet-heading, allout-open-sibtopic)
14238 (allout-toggle-current-subtree-encryption)
14239 (allout-toggle-subtree-encryption, allout-encrypt-string)
14240 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
14241 (allout-distinctive-bullets-string, allout-auto-activation):
14242 * window.el (window-normalize-buffer-to-display):
14243 * progmodes/verilog-mode.el (verilog-batch-indent):
14244 * textmodes/bibtex.el (bibtex-field-braces-opt)
14245 (bibtex-field-strings-opt):
14246 * vc/cvs-status.el (cvs-tree-merge):
14247 Fix typos.
14248
7262a87c
MA
142492011-11-23 Michael Albinus <michael.albinus@gmx.de>
14250
14251 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
14252 `non-essential' to t, in order to avoid remote connections.
14253
283430a1
EZ
142542011-11-23 Eli Zaretskii <eliz@gnu.org>
14255
a1beca85
SM
14256 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
14257 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
14258 case-insensitively.
14259
d2992a38
ML
142602011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
14261
14262 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
14263
50419064
GM
142642011-11-23 Glenn Morris <rgm@gnu.org>
14265
da94eca1
GM
14266 * paths.el (rmail-file-name): Reformat the doc-string so that it
14267 is picked up.
14268
9aac4de2
GM
14269 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
14270 (rmail-auto-file): Ignore case in the "special" field names,
14271 as mail-fetch-field does for all others.
14272
8038d2d2
GM
14273 * mail/rmail.el (rmail-forward):
14274 * mail/rmailkwd.el (rmail-set-label):
14275 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
14276 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
14277
f3fe222a
GM
14278 * mail/rmail.el (rmail-current-message): Doc fix.
14279
50419064
GM
14280 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
14281
28109f49
SM
142822011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
14283
14284 * server.el (server-eval-and-print): Allow C-g (bug#6585).
14285
394c65f1
GM
142862011-11-22 Glenn Morris <rgm@gnu.org>
14287
14288 * mail/rmailmm.el (test-rmail-mime-handler)
14289 (test-rmail-mime-bulk-handler)
14290 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
14291
f2a0aa3a
JL
142922011-11-21 Juri Linkov <juri@jurta.org>
14293
1154d12e
JB
14294 * calc/calc.el (calc-read-key-sequence):
14295 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 14296
9c34a344
LMI
142972011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
14298
14299 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
14300 Tell the caller that the next line needs recomputation, even
14301 though it doesn't start a sexp (bug#10094).
14302
f04a3be9
SM
143032011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
14304
14305 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
14306
7978747f
SM
143072011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
14308
f04a3be9
SM
14309 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
14310 Use force-same-window.
7978747f 14311
fe7a3057
JB
143122011-11-20 Juanma Barranquero <lekktu@gmail.com>
14313
14314 * descr-text.el (describe-char-unicode-data):
14315 * json.el (json-string-escape):
14316 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
14317 (Footnote-unicode, Footnote-style-p):
14318 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
14319
24901d61
CY
143202011-11-20 Chong Yidong <cyd@gnu.org>
14321
14322 * window.el (replace-buffer-in-windows): Restore interactive spec.
14323
bac7ff22
SM
143242011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
14325
24f3d7b9
SM
14326 * electric.el (electric-indent-mode): Fix last change (too optimistic).
14327
bac7ff22
SM
14328 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
14329 (byte-compile-global-not-obsolete-vars): New var.
14330 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
14331 Use it.
14332 (byte-compile-warn-obsolete): Align text with the one in *Help*.
14333
cd1181db
JB
143342011-11-20 Juanma Barranquero <lekktu@gmail.com>
14335
14336 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
14337 * progmodes/pascal.el (electric-pascal-equal):
14338 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
14339 * xml.el (xml-substitute-special): Fix typos.
14340
7fb18e9e
GM
143412011-11-20 Glenn Morris <rgm@gnu.org>
14342
14343 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
14344 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
14345 Doc fixes.
14346 (rmail-decode-mime-charset): Mark as obsolete.
14347
14348 * mail/rmailsum.el (rmail-message-regexp-p-1):
14349 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
14350 Before using mime functions, check they are set. (Bug#10077)
14351
d5a6b3ba
JL
143522011-11-19 Juri Linkov <juri@jurta.org>
14353
14354 * info.el (Info-finder-find-node): Use `package--builtins' instead
14355 of `package-alist'. Use node names formed by the pattern "Keyword "
14356 and the keyword name.
14357
e981b61f
AS
143582011-11-19 Andreas Schwab <schwab@linux-m68k.org>
14359
1d00653d 14360 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 14361
3ffbc301
JL
143622011-11-19 Juri Linkov <juri@jurta.org>
14363
14364 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
14365 that calls `revert-buffer' on all Info buffers. (Bug#9915)
14366 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
14367 `old-history', `old-history-forward'. Add let-binding
14368 `window-selected'. Remove calls to `kill-buffer',
14369 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
14370 before calling `Info-find-node', so `Info-find-node-2' will reread
14371 the Info file. Restore window positions only when `window-selected'
14372 is non-nil.
14373
30c62133
JL
143742011-11-19 Juri Linkov <juri@jurta.org>
14375
14376 * isearch.el (isearch-lazy-highlight-new-loop):
14377 Remove condition `(not isearch-error)'. (Bug#9918)
14378
14379 * misearch.el (multi-isearch-search-fun): Add condition
14380 `(not bound)' to ignore lazy-highlighting search.
14381 Add the search-failed message "end of multi" when the end of
14382 multi-sequence is reached. Uncapitalize the search-failed
14383 message "Repeat for next buffer".
14384
14385 * info.el (Info-search): Add the search-failed message
14386 "end of the manual" when the end of the manual is reached
14387 in Isearch mode.
14388
645ca9cf
JL
143892011-11-19 Juri Linkov <juri@jurta.org>
14390
14391 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
14392 Use non-destructive `remove' instead of `delete' because
14393 `Info-history-list' stored to `Info-isearch-initial-history-list' in
14394 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
14395
df754f66
JL
143962011-11-19 Juri Linkov <juri@jurta.org>
14397
14398 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
14399 to nil instead of binding `search-ring' and `regexp-search-ring'.
14400 (Bug#9185)
14401
0e23d96a
EZ
144022011-11-19 Eli Zaretskii <eliz@gnu.org>
14403
14404 * simple.el (line-move): Force movement by logical lines for any
14405 hscrolled window, not only when auto-hscroll-mode is on.
14406 (line-move-visual): Update doc string to that effect. (Bug#10076)
14407
8a6ccb66
AS
144082011-11-19 Andreas Schwab <schwab@linux-m68k.org>
14409
14410 * language/european.el (macintosh): Define as alias for mac-roman.
14411
49ae5b39
EZ
144122011-11-19 Eli Zaretskii <eliz@gnu.org>
14413
14414 * mail/rmailmm.el (rmail-mime-display-header)
14415 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
14416 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
14417 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
14418 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
14419 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
14420 of a raw aref.
14421 (rmail-mime-entity-segment): To get past the tagline, move forward
14422 2 more lines, to account for the 2 empty lines that precede and
14423 follow the line with the buttons.
14424 (rmail-mime-update-tagline): Move one more line, to get past the
14425 empty line that follows the buttons in the tagline. (Bug#9520)
14426
c56cad4a
MR
144272011-11-19 Martin Rudalics <rudalics@gmx.at>
14428
14429 * window.el (window-max-delta-1, window-min-delta-1)
14430 (window-min-size-1, window-state-get-1, window-state-put-1)
14431 (window-state-put-2): Use "window--" prefix.
14432
cbe71af3
SM
144332011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
14434
2ad52c60
SM
14435 * emacs-lisp/smie.el: Improve warnings and conflict detection.
14436 (smie-warning-count): New var.
14437 (smie-set-prec2tab): Use it.
14438 (smie-bnf->prec2): Improve warnings. Add docstring.
14439 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
14440 (smie-bnf--set-class): New function.
14441 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
14442 corner case.
14443
6944dbc1
SM
14444 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
14445 (compilation-error-properties, compilation-move-to-column):
14446 Handle compilation-first-column while in the target buffer.
14447
c400c4d7
SM
14448 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
14449 Don't hardcode point-min==1.
14450
6dbe3e96
SM
14451 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
14452 (eshell-rewrite-for-command): Remove workaround.
14453 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
14454 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
14455 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
14456
cbe71af3
SM
14457 * files-x.el (modify-file-local-variable): Obey commenting conventions.
14458
a8e1496d
GM
144592011-11-17 Glenn Morris <rgm@gnu.org>
14460
14461 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
14462 Ignore buffer-local generated-autoload-file if it is the same
14463 as the global value. (Bug#10049)
14464
df85d315
JB
144652011-11-17 Juanma Barranquero <lekktu@gmail.com>
14466
14467 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
14468 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
14469 (reftex-toc-previous-heading, reftex-toc-max-level)
14470 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
14471 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
14472 (reftex-toc-do-promote, reftex-toc-promote-prepare)
14473 (reftex-toc-promote-action, reftex-toc-extract-section-number)
14474 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
14475 (reftex-toc-rename-label, reftex-toc-visit-location)
14476 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
14477 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
14478 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
14479 leaving "*toc*" only for references to the buffer.
14480
a0c2d0ae
MR
144812011-11-17 Martin Rudalics <rudalics@gmx.at>
14482
14483 * window.el (window-resize, delete-window, split-window):
14484 Replace window-splits by window-combination-resize.
1d00653d 14485 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 14486
35c0bac8
GM
144872011-11-17 Glenn Morris <rgm@gnu.org>
14488
14489 * progmodes/sh-script.el (sh-font-lock-keywords-var):
14490 Make bash entry derive from sh entry, not shell entry.
14491
d0c8fc8a
MA
144922011-11-16 Michael Albinus <michael.albinus@gmx.de>
14493
7262a87c
MA
14494 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
14495 local file name.
14496
7877f373
JB
144972011-11-16 Juanma Barranquero <lekktu@gmail.com>
14498
14499 * menu-bar.el (menu-bar-file-menu):
14500 * printing.el (pr-ps-utility):
14501 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
14502 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
14503 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
14504 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
14505 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
14506 (icalendar--convert-cyclic-to-ical)
14507 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
14508 (icalendar--convert-ical-to-diary)
14509 (icalendar--convert-recurring-to-diary)
14510 (icalendar--convert-non-recurring-all-day-to-diary)
14511 (icalendar-import-format-sample):
14512 * progmodes/idlw-shell.el (idlwave-shell-mode):
14513 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
14514 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
14515 (vhdl-ps-print-init): Fix typos.
14516
10649b82
KM
145172011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
14518
9d0cfcd6
GM
14519 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
14520 FSF and collapse date sequence, obscure author/maintainer email address
14521 better, remove extra version line, track relocation of author's webpage.
10649b82 14522
9d0cfcd6
GM
14523 * progmodes/python.el (python-pdbtrack-input-prompt)
14524 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
14525 regular python pdb prompts. Adjustments shamelessly taken exactly as
14526 suggested in EmacsWiki page (tiny change):
14527 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 14528
58179cce
JB
145292011-11-16 Juanma Barranquero <lekktu@gmail.com>
14530
14531 * expand.el (expand-pos, expand-index, expand-point):
14532 Remove redundant info from docstring.
14533 (expand-add-abbrevs): Doc fix.
14534 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
14535 (expand-sample-perl-mode-expand-list): Fix typos.
14536
14537 * net/dbus.el (dbus-event-member-name):
14538 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
14539 * term/pc-win.el (msdos-create-frame-with-faces):
14540 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
14541
b6f67890
MR
145422011-11-16 Martin Rudalics <rudalics@gmx.at>
14543
14544 * window.el (split-window, window-state-get-1)
14545 (window-state-put-1, window-state-put-2): Rename occurrences of
14546 window-nest to window-combination-limit.
1d00653d 14547 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 14548
ce7ddba0
CY
145492011-11-16 Chong Yidong <cyd@gnu.org>
14550
14551 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
14552 regexp (Bug#10033).
14553
3ae704f4
SM
145542011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
14555
14556 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
14557 `completing-read' will remove *Completions* and will preserve
14558 current-buffer for us.
14559 (tmm-add-prompt): Users of *Completions* will always (re)set its
14560 major mode.
14561 (tmm-old-comp-map): Remove.
14562
6ad1cdde
GM
145632011-11-16 Glenn Morris <rgm@gnu.org>
14564
14565 * mail/rmailedit.el: Require rmailmm when compiling.
14566 (rmail-old-mime-state): New declaration.
14567 (rmail-edit-current-message): If editing a mime message,
14568 edit the "raw" message from the mbox buffer.
14569 (rmail-cease-edit): Handle mime messages. (Bug#9840)
14570
d20faa20
GM
145712011-11-15 Glenn Morris <rgm@gnu.org>
14572
14573 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
14574 which wasn't being used. Add optional arg to force given state.
14575 (rmail-mime): Add optional arg to force given state.
14576
c7015153
JB
145772011-11-15 Juanma Barranquero <lekktu@gmail.com>
14578
14579 * allout.el (allout-encryption-plaintext-sanitization-regexps):
14580 * frame.el (display-mm-dimensions-alist):
14581 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
14582 (outline-move-subtree-down):
14583 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
14584 (newsticker--treeview-do-get-node):
14585 * net/quickurl.el (quickurl-list-buffer-name):
14586 * progmodes/dcl-mode.el (dcl-mode):
14587 * progmodes/gdb-mi.el (gdb-mapcar*):
14588 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
14589
45261b50
GM
145902011-11-15 Glenn Morris <rgm@gnu.org>
14591
14592 * mail/rmail.el (rmail-file-coding-system): It's only ever used
14593 in a boolean sense, so just make it a boolean, and fix the doc.
14594 (rmail-show-mime-function, rmail-mime-feature)
14595 (rmail-require-mime-maybe): Doc fixes.
14596 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
14597
14598 * mail/rmailmm.el (rmail-show-mime): Doc fix.
14599
0d26e0b6
JB
146002011-11-15 Juanma Barranquero <lekktu@gmail.com>
14601
14602 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
14603 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
14604 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
14605 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
14606
447f30f6
GM
146072011-11-15 Glenn Morris <rgm@gnu.org>
14608
672b871d
GM
14609 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
14610 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
14611 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
14612 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
14613 (rmail-mime, rmail-show-mime): Doc fixes.
14614
f6aa5bb1
GM
14615 * term/ns-win.el (mode-line-frame-identification):
14616 Leave it alone. (Bug#10051)
14617
947cd66b
GM
14618 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
14619
447f30f6
GM
14620 * mail/rmailout.el (rmail-output-to-rmail-buffer):
14621 Handle empty buffers. (Bug#9978)
14622
0b381c7e
JB
146232011-11-14 Juanma Barranquero <lekktu@gmail.com>
14624
14625 * international/mule.el (define-charset):
14626 * mail/rmailmm.el (rmail-mime-find-header-encoding):
14627 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
14628 * progmodes/verilog-mode.el (verilog-backward-token):
14629 * textmodes/ispell.el (lookup-words):
14630 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
14631
71e027ac
GM
146322011-11-14 Glenn Morris <rgm@gnu.org>
14633
56632ce4
GM
14634 * progmodes/executable.el
14635 (executable-make-buffer-file-executable-if-script-p):
14636 Handle file-modes returning nil.
14637
40500957
GM
14638 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
14639 message - not necessary, and causes problems. (Bug#9831)
14640
071c2340
GM
14641 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
14642
d3cfca60
GM
14643 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
14644
71e027ac
GM
14645 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
14646 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
14647 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
14648
89d61221
MR
146492011-11-12 Martin Rudalics <rudalics@gmx.at>
14650
14651 * window.el (window-resize, delete-window): Use window-splits
14652 variable instead of function.
14653 (window-state-get-1, window-state-put-2, window-state-put):
14654 Don't deal with windows' splits status.
14655
98282f6f
GM
146562011-11-12 Glenn Morris <rgm@gnu.org>
14657
14658 * apropos.el (apropos-do-all, apropos-library, apropos-value)
14659 (apropos-documentation): Doc fixes.
14660
40a8bdf6
JB
146612011-11-11 Juanma Barranquero <lekktu@gmail.com>
14662
14663 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
14664 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
14665
65bd19ff
SM
146662011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
14667
14668 * electric.el (electric-indent-post-self-insert-function): Make it
14669 possible for a char to only indent in some circumstances.
14670 (electric-indent-mode): Simplify.
14671
54f9154c
MR
146722011-11-11 Martin Rudalics <rudalics@gmx.at>
14673
14674 * window.el (windows-with-parameter): Remove unused function.
14675 (windows-at-side): Rename to window-at-side-list.
14676 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
14677 (window-side-check, window-size-ignore, window-size-fixed-1)
14678 (window-in-direction-2): Prefix with "window--".
14679 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 14680
68cbc58b
GM
146812011-11-11 Glenn Morris <rgm@gnu.org>
14682
14683 * subr.el (eval-after-load): If FILE is already loaded,
14684 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
14685
b2621720
GM
146862011-11-10 Glenn Morris <rgm@gnu.org>
14687
9a4de110
GM
14688 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
14689 Call svn via vc-svn-command rather than vc-do-command.
14690 (vc-svn-command): Add --non-interactive. (Bug#9993)
14691 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
14692
b2621720
GM
14693 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
14694 Add toggle-read-only. (Bug#7292)
14695 * files.el (toggle-read-only): Mention that it should only
14696 be used interactively. (Bug#10006)
14697
1dce7193
SM
146982011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
14699
d9ac1a1e
SM
14700 * progmodes/compile.el (compilation-error-regexp-alist-alist):
14701 Adjust regexp for OCaml warnings.
14702
0c325082
SM
14703 * electric.el (electric-pair-post-self-insert-function): Let user
14704 turn it off buffer-locally (bug#9932).
14705
90132c14
SM
14706 * progmodes/python.el (python-beginning-of-statement):
14707 Rewrite (bug#2703).
14708
1dce7193
SM
14709 * progmodes/compile.el: Better handle TABs (bug#9749).
14710 (compilation-internal-error-properties)
14711 (compilation-next-error-function): Obey the target buffer's
14712 compilation-error-screen-columns.
14713
c4e7c63a
JB
147142011-11-09 Juanma Barranquero <lekktu@gmail.com>
14715
14716 * progmodes/meta-mode.el: Remove obsolete comments.
14717 (meta-right-comment-regexp, meta-ignore-comment-regexp):
14718 Fix typos in docstrings.
14719
2cffd681
MR
147202011-11-09 Martin Rudalics <rudalics@gmx.at>
14721
14722 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 14723 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
14724 (window--resizable): New function. Make all callers of
14725 window-resizable call window--resizable instead.
14726 (window-resizable): Rewrite in terms of window--resizable.
14727
0edcba87
GM
147282011-11-08 Glenn Morris <rgm@gnu.org>
14729
14730 * progmodes/delphi.el (delphi-mode-syntax-table):
14731 Let define-derived-mode define a proper syntax table. (Bug#9994)
14732
4b0d61e3
SM
147332011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
14734
14735 * window.el: Stay away from defsubst.
14736 (window-list-no-nils): Remove.
14737 (window-state-get-1, window-state-get): Use backquote instead.
14738
cd394be1 147392011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 14740
4b0d61e3 14741 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 14742 Fix incorrect use of default argument in `completing-read'.
14743
e1c2c6f2
MR
147442011-11-08 Martin Rudalics <rudalics@gmx.at>
14745
14746 * window.el (display-buffer-function, special-display-function):
14747 Mention display-buffer-record-window but do not mention
14748 help-setup parameter in doc-strings.
b3f4a882 14749 (window-min-delta): Fix doc-string typo.
e1c2c6f2 14750
105216ed
CY
147512011-11-08 Chong Yidong <cyd@gnu.org>
14752
14753 * window.el (window-total-height, window-total-width): Doc fix.
14754 (window-body-size): Move from C.
14755 (window-body-height, window-body-width): Move to C.
14756
0a9f9ab5
SM
147572011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
14758
14759 * window.el: Make special-display like display-buffer-alist (bug#9532).
14760 (display-buffer--special-action): New function, morphed
14761 from display-buffer--special.
14762 (display-buffer): Use it to handle special-display-buffers at higher
14763 priority (just after display-buffer-alist).
14764 (display-buffer-fallback-action, display-buffer--other-frame-action)
14765 (pop-to-buffer-same-window): Remove display-buffer--special.
14766
a769dd15
GM
147672011-11-07 Glenn Morris <rgm@gnu.org>
14768
14769 * calendar/cal-menu.el (cal-menu-set-date-title):
14770 Do nothing if not in a calendar. (Bug#9976)
14771
05a61ee3
SM
147722011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
14773
14774 * files.el (find-file): Always use selected-window.
14775
be7f5545
MR
147762011-11-07 Martin Rudalics <rudalics@gmx.at>
14777
14778 * window.el (window-combinations): Make WINDOW argument
14779 mandatory. Rewrite doc-string.
14780 (walk-window-subtree, window-atom-check, window-min-delta)
14781 (window-max-delta, window--resize-this-window)
14782 (window--resize-root-window-vertically, window-tree)
14783 (balance-windows, window-state-put): Rewrite doc-strings as to
14784 not mention the term "subwindow".
14785 (window--resize-subwindows-skip-p): Rename to
14786 window--resize-child-windows-skip-p.
14787 (window--resize-subwindows-normal): Rename to
14788 window--resize-child-windows-normal.
14789 (window--resize-subwindows): Rename to
14790 window--resize-child-windows.
14791 (window-or-subwindow-p): Rename to window--in-subtree-p.
14792
3c6702ef
ML
147932011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
14794
14795 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
14796 Ensure that mbox format messages end in two newlines (Bug#9974).
14797
49745b39
CY
147982011-11-06 Chong Yidong <cyd@gnu.org>
14799
14800 * window.el (window-combination-p): Function deleted; its
14801 side-effect is not used in any existing code.
14802 (window-combinations, window-combined-p): Call window-*-child
14803 directly.
14804
24300f5f
CY
148052011-11-05 Chong Yidong <cyd@gnu.org>
14806
14807 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
14808 (window-size-ignore, window-state-get): Callers changed.
14809 (window-normalize-window): Rename from window-normalize-any-window.
14810 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 14811 (window-normalize-live-window): Delete.
447f16b8
CY
14812 (window-combination-p, window-combined-p, window-combinations)
14813 (walk-window-subtree, window-atom-root, window-min-size)
14814 (window-sizable, window-sizable-p, window-size-fixed-p)
14815 (window-min-delta, window-max-delta, window-resizable)
14816 (window-resizable-p, window-full-height-p, window-full-width-p)
14817 (window-current-scroll-bars, window-point-1, set-window-point-1)
14818 (window-at-side-p, window-in-direction, window-resize)
14819 (adjust-window-trailing-edge, maximize-window, minimize-window)
14820 (window-deletable-p, delete-window, delete-other-windows)
14821 (record-window-buffer, unrecord-window-buffer)
14822 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
14823 (quit-window, split-window, window-state-put)
14824 (set-window-text-height, fit-window-to-buffer)
14825 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 14826
89bd5ee1
EZ
148272011-11-04 Eli Zaretskii <eliz@gnu.org>
14828
53479029
EZ
14829 * mail/rmail.el (rmail-simplified-subject): Decode subject with
14830 rfc2047-decode-string.
14831 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
14832 warnings.
14833
89bd5ee1
EZ
14834 * window.el (window-body-height, window-body-width): Mention in
14835 the doc string that the return values are in frame's canonical
14836 units. (Bug#9949)
14837
bd17fdee
AM
148382011-11-03 Alan Mackenzie <acm@muc.de>
14839
14840 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
14841 change in cc-engine.el.
14842
acc825c5
SM
148432011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
14844
14845 * window.el (switch-to-buffer): Use `force-same-window' interactively.
14846
1885e5b8
MR
148472011-11-02 Martin Rudalics <rudalics@gmx.at>
14848
14849 * window.el (quit-window): Call unrecord-window-buffer after
14850 showing another buffer in the window. (Bug#9937)
acc825c5 14851 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 14852
ebe06da9
JB
148532011-11-02 Juanma Barranquero <lekktu@gmail.com>
14854
14855 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
14856 Accept status with more than 9 shelves. (Bug#9935)
14857 Reported by Colin D Bennett <colin@gibibit.com>.
14858
4ee88440
MR
148592011-11-01 Martin Rudalics <rudalics@gmx.at>
14860
14861 * help.el (with-help-window): Don't reference
14862 temp-buffer-show-specifiers in doc-string.
14863
08e1d82c
AS
148642011-10-31 Andreas Schwab <schwab@linux-m68k.org>
14865
14866 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
14867 menu-item.
14868
84bd6e9e
VJL
148692011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
14870
14871 * whitespace.el: New version 13.2.2.
14872 (whitespace-newline-mode): Disable properly. Reported by Sarah
14873 <EmacsWiki>.
14874
dba0634a
UJ
148752011-10-30 Ulf Jasper <ulf.jasper@web.de>
14876
14877 * net/newst-treeview.el: Remove "Time-stamp".
14878 (newsticker--group-manage-orphan-feeds): Do not call
14879 newsticker--treeview-tree-update.
db22a3c2
JB
14880 (newsticker-treeview-update, newsticker-treeview):
14881 Call newsticker--treeview-tree-update if necessary.
dba0634a 14882
3d8daefe
MR
148832011-10-30 Martin Rudalics <rudalics@gmx.at>
14884
14885 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
14886 (window-iso-combinations): Remove "iso-" infix.
14887 Suggested by Chong Yidong.
3d8daefe
MR
14888 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
14889 (window-max-delta-1, window-resize, window--resize-siblings)
14890 (window--resize-this-window, adjust-window-trailing-edge)
14891 (split-window, balance-windows-1)
14892 (shrink-window-if-larger-than-buffer):
14893 * calendar/calendar.el (calendar-generate-window):
db22a3c2 14894 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 14895
1bc4c3ae
SM
148962011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
14897
14898 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
14899 in place (bug#9907).
14900 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
14901 (eshell-rewrite-if-command, eshell-rewrite-for-command)
14902 (eshell-structure-basic-command, eshell-rewrite-while-command)
14903 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
14904 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
14905 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
14906 (eshell-do-pipelines-synchronously, eshell-eval-command):
14907 Use backquotes and prefer setq to set.
14908 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
14909 (eshell-macrop): Use functionp.
c1e2f5fa 14910 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 14911
30b65d9c
CY
149122011-10-30 Chong Yidong <cyd@gnu.org>
14913
14914 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
14915 instead of set-mark (Bug#9810).
14916
2d197ffb
CY
149172011-10-30 Chong Yidong <cyd@gnu.org>
14918
14919 * window.el (split-window-below, split-window-right): Rename from
14920 split-window-above-each-other and split-window-side-by-side
14921 respectively. All callers changed.
14922 (split-window-sensibly, split-window-sensibly): Use them.
14923 (split-window-keep-point): Doc fix.
14924
14925 * isearch.el: Add isearch-scroll property to split-window-below
14926 and split-window-right.
14927
14928 * follow.el (follow-mode):
14929 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
14930 * progmodes/ada-xref.el (ada-gdb-application):
14931 * emulation/vip.el (vip-buffer-in-two-windows):
14932 * image-dired.el (image-dired-dired-with-window-configuration):
14933 * dired-x.el (dired-do-find-marked-files):
14934 * dired.el (dired-pop-to-buffer):
14935 * bs.el (bs--show-with-configuration):
14936 * vc/emerge.el (emerge-setup-windows):
14937 * textmodes/two-column.el (2C-two-columns):
14938 * textmodes/reftex-toc.el (reftex-toc):
14939 * progmodes/gdb-mi.el (gdb-setup-windows):
14940 * progmodes/fortran.el (fortran-window-create):
14941 * net/newst-treeview.el (newsticker--treeview-window-init):
14942 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
14943 * emulation/tpu-edt.el (tpu-gold-map):
14944 * emulation/crisp.el (crisp-mode-map):
14945 * calendar/calendar.el (calendar-basic-setup): Callers changed.
14946
38bb2ca8
CY
149472011-10-29 Chong Yidong <cyd@gnu.org>
14948
aa4de341
CY
14949 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
14950
e1eb5385
CY
14951 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
14952
5d2ece3c
CY
14953 * textmodes/flyspell.el (flyspell-word): Fix char offset for
14954 forged Ispell output (Bug#7904).
14955
38bb2ca8
CY
14956 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
14957
d0af9f77
SM
149582011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
14959
14960 * doc-view.el: Avoid ugly errors about not finding nil.
14961 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
14962 (doc-view-dvipdf-program, doc-view-unoconv-program)
14963 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
14964 Avoid nil or absolute file name as default value.
14965 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
14966
52bedd34
AM
149672011-10-28 Alan Mackenzie <acm@muc.de>
14968
db22a3c2 14969 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 14970
7e43cfa5
AM
149712011-10-28 Alan Mackenzie <acm@muc.de>
14972
14973 Amend the handling of c-beginning/end-of-defun in nested declaration
14974 scopes.
14975
52bedd34
AM
14976 * progmodes/cc-vars.el (c-defun-tactic): Move here from
14977 cc-langs.el. Change it to a defcustom.
7e43cfa5 14978
52bedd34
AM
14979 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
14980 cc-vars.el.
7e43cfa5 14981
d0af9f77
SM
14982 * progmodes/cc-engine.el (c-beginning-of-statement-1):
14983 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 14984
52bedd34 14985 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 14986 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
14987 (c-widen-to-enclosing-decl-scope): New function.
14988 (c-while-widening-to-decl-block): New macro.
14989 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
14990 outward for defun boundaries, and correspondingly change symbol
14991 `respect-enclosure' to `go-outward'.
14992 (c-declaration-limits): Change algorithm to report only the "innermost"
14993 defun's boundaries.
14994
1a2ce9ee
DD
149952011-10-28 Deniz Dogan <deniz@dogan.se>
14996
14997 * net/rcirc.el (rcirc-mode): Use hard newlines.
14998
bc97a826
AM
149992011-10-28 Alan Mackenzie <acm@muc.de>
15000
15001 Amend to indent and fontify macros "which include their own semicolon"
15002 correctly, using the "virtual semicolon" mechanism.
15003
52bedd34 15004 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 15005
d0af9f77 15006 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 15007 Recode to scan one line at a time rather than having \n and \r
58179cce 15008 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 15009 (c-forward-label): Amend for virtual semicolons.
58179cce 15010 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 15011
52bedd34
AM
15012 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
15013 of the new C macros.
bc97a826 15014
52bedd34 15015 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
15016 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
15017 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
15018 (c-opt-cpp-macro-define): Make into a full language variable.
15019 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
15020 AWK Mode (including \n, \r) removed, no longer needed.
15021
d0af9f77
SM
15022 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
15023 Invoke c-make-macro-with-semi-re.
bc97a826 15024
52bedd34
AM
15025 * progmodes/cc-vars.el (c-macro-with-semi-re):
15026 (c-macro-names-with-semicolon): New variables.
58179cce 15027 (c-make-macro-with-semi-re): New function.
bc97a826 15028
7a6c0941
SM
150292011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
15030
15031 * vc/log-edit.el: Fill empty field rather than adding new one.
15032 (log-edit-add-field): New function.
15033 (log-edit-insert-changelog): Use it.
15034
b0c4cdcf
ML
150352011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
15036
15037 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
15038
ee1f1da9
SM
150392011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
15040
15041 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
15042 (gdb--check-interpreter): New function.
15043 (gdb): Use it.
15044
51bc5f8b
GM
150452011-10-27 Glenn Morris <rgm@gnu.org>
15046
416a2c45
GM
15047 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
15048 (least-positive-float, least-negative-float)
15049 (least-positive-normalized-float, least-negative-normalized-float)
15050 (float-epsilon, float-negative-epsilon):
15051 Remove unnecessary declarations.
15052
15053 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
15054 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
15055 (least-positive-float, least-negative-float)
15056 (least-positive-normalized-float, least-negative-normalized-float)
15057 (float-epsilon, float-negative-epsilon): Add doc-strings,
15058 based on those in cl.texi.
15059
51bc5f8b
GM
15060 * files.el (set-visited-file-name): If the major-mode changed,
15061 reload the local variables. (Bug#9796)
15062
15de15c6
CY
150632011-10-27 Chong Yidong <cyd@gnu.org>
15064
15065 * subr.el (change-major-mode-after-body-hook): New hook.
15066 (run-mode-hooks): Run it.
15067
ee1f1da9
SM
15068 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
15069 Use change-major-mode-before-body-hook.
15de15c6
CY
15070
15071 * simple.el (fundamental-mode):
15072 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
15073 change introducing fundamental-mode-hook.
15074
5430d399
JB
150752011-10-26 Juanma Barranquero <lekktu@gmail.com>
15076
acc825c5 15077 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 15078
ad74a69e
MA
150792011-10-26 Michael Albinus <michael.albinus@gmx.de>
15080
15081 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 15082 tramp.el explicitly. (Bug#7583)
ad74a69e 15083
71d4c2a5
SM
150842011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
15085
15086 * progmodes/octave-mod.el:
15087 * progmodes/octave-inf.el: Update maintainer.
15088
b1f6fa26
CY
150892011-10-26 Chong Yidong <cyd@gnu.org>
15090
15091 * subr.el (with-wrapper-hook): Rewrite doc.
15092
3f04efd6
MA
150932011-10-25 Michael Albinus <michael.albinus@gmx.de>
15094
15095 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 15096 filenames "/method:foo:". (Bug#9793)
3f04efd6 15097
410488d3
SM
150982011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
15099
15100 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
15101 (bug#9865).
15102
c1ebb47e
GM
151032011-10-24 Glenn Morris <rgm@gnu.org>
15104
15105 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
15106
7f5c46c7
MA
151072011-10-24 Michael Albinus <michael.albinus@gmx.de>
15108
15109 * notifications.el: Add the requirement of a running D-Bus session
15110 bus to the Commentary.
15111
db2440b6
JL
151122011-10-24 Juri Linkov <juri@jurta.org>
15113
15114 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
15115 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
15116 (Bug#9364)
15117
feecf435
JL
151182011-10-24 Juri Linkov <juri@jurta.org>
15119
15120 * info.el (Info-following-node-name-re): Add newline to the list
15121 of allowed characters for leading space. (Bug#9824)
15122
a3839de2
SM
151232011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
15124
acc825c5
SM
15125 * progmodes/octave-inf.el (inferior-octave-mode-map):
15126 Fix C-c C-h binding.
a3839de2
SM
15127 * progmodes/octave-mod.el (octave-help): Remove.
15128
09388e76
MA
151292011-10-23 Michael Albinus <michael.albinus@gmx.de>
15130
15131 Sync with Tramp 2.2.3.
15132
15133 * net/tramp-cache.el (top): Pacify byte-compiler using
15134 `init-file-user' and `site-run-file'.
15135
15136 * net/trampver.el: Update release number.
15137
86c60681
CY
151382011-10-23 Chong Yidong <cyd@gnu.org>
15139
15140 * files.el (toggle-read-only): Remove obsolete comment about
15141 version control.
15142
15143 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
15144 for toggle-read-only. Note that this hasn't called vc-next-action
15145 since 2008-05-02, though it wasn't documented at the time.
15146
a3839de2
SM
15147 * vc/ediff-init.el (ediff-toggle-read-only-function):
15148 Use toggle-read-only.
86c60681 15149
cd5495ff
AM
151502011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
15151
15152 Fix bug #9560, sporadic wrong indentation; improve instrumentation
15153 of c-parse-state.
15154
00b77525 15155 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 15156 correct faulty logical expression.
cd5495ff
AM
15157 (c-parse-state-state, c-record-parse-state-state):
15158 (c-replay-parse-state-state): New defvar/defuns.
15159 (c-debug-parse-state): Use new functions.
15160
42ee24ed
MR
151612011-10-22 Martin Rudalics <rudalics@gmx.at>
15162
15163 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 15164 last fix. Use window-in-direction correctly.
42ee24ed 15165
a7dee7e7
CY
151662011-10-21 Chong Yidong <cyd@gnu.org>
15167
15168 * progmodes/idlwave.el (idlwave-mode):
15169 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
15170 require-final-newline; that's done in prog-mode.
15171 Suggested by Stefan Monnier.
a7dee7e7 15172
e07b9a6d
MR
151732011-10-21 Martin Rudalics <rudalics@gmx.at>
15174
15175 * mouse.el (mouse-drag-window-above)
15176 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
15177 (mouse-drag-mode-line-1, mouse-drag-header-line)
15178 (mouse-drag-vertical-line-rightward-window): Remove.
15179 (mouse-drag-line): New function.
15180 (mouse-drag-mode-line, mouse-drag-header-line)
15181 (mouse-drag-vertical-line): Call mouse-drag-line.
15182 * window.el (window-at-side-p, windows-at-side): New functions.
15183
7e1361d9
UM
151842011-10-21 Ulrich Mueller <ulm@gentoo.org>
15185
15186 * tar-mode.el (tar-grind-file-mode):
15187 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
15188
30fcaf3a
CY
151892011-10-21 Chong Yidong <cyd@gnu.org>
15190
15191 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
15192 * progmodes/vera-mode.el (vera-mode):
15193 Use mode-require-final-newline.
30fcaf3a 15194
516eddb0
GM
151952011-10-20 Glenn Morris <rgm@gnu.org>
15196
db22a3c2 15197 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 15198
10d5f513
CS
151992011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
15200
15201 * emulation/cua-base.el (cua-set-mark): Fix case of string.
15202
ac6c8639
CY
152032011-10-20 Chong Yidong <cyd@gnu.org>
15204
15205 * emulation/cua-base.el (cua-mode):
15206 * mail/footnote.el (footnote-mode):
15207 * mail/mailabbrev.el (mail-abbrevs-mode):
15208 * net/xesam.el (xesam-minor-mode):
15209 * progmodes/bug-reference.el (bug-reference-mode):
15210 * progmodes/cap-words.el (capitalized-words-mode):
15211 * progmodes/compile.el (compilation-minor-mode)
15212 (compilation-shell-minor-mode):
15213 * progmodes/gud.el (gud-tooltip-mode):
15214 * progmodes/hideif.el (hide-ifdef-mode):
15215 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
15216 * progmodes/subword.el (subword-mode):
15217 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
15218 * progmodes/which-func.el (which-function-mode):
15219 * term/tvi970.el (tvi970-set-keypad-mode):
15220 * term/vt100.el (vt100-wide-mode):
15221 * textmodes/flyspell.el (flyspell-mode):
15222 * textmodes/ispell.el (ispell-minor-mode):
15223 * textmodes/nroff-mode.el (nroff-electric-mode):
15224 * textmodes/paragraphs.el (use-hard-newlines):
15225 * textmodes/refill.el (refill-mode):
15226 * textmodes/reftex.el (reftex-mode):
15227 * textmodes/rst.el (rst-minor-mode):
15228 * textmodes/sgml-mode.el (html-autoview-mode)
15229 (sgml-electric-tag-pair-mode):
15230 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
15231 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
15232 * emulation/crisp.el (crisp-mode):
15233 * emacs-lisp/eldoc.el (eldoc-mode):
15234 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
15235 minor mode behavior.
15236
aa42ab43
JL
152372011-10-19 Juri Linkov <juri@jurta.org>
15238
15239 * descr-text.el (describe-char): Add #x2010 and #x2011 to
15240 the list of hard-coded chars with escape-glyph face.
15241
89400f1d
SM
152422011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
15243
15244 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
15245
305c07f6
MA
152462011-10-19 Michael Albinus <michael.albinus@gmx.de>
15247
15248 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
15249 running process.
15250
13754b54
GM
152512011-10-19 Glenn Morris <rgm@gnu.org>
15252
15253 * vc/vc-bzr.el (vc-bzr-after-dir-status):
15254 Ignore ignored files. (Bug#9726)
15255
06e21633
CY
152562011-10-19 Chong Yidong <cyd@gnu.org>
15257
15258 Doc fix for minor modes, stating that an omitted argument enables
15259 the mode unconditionally when called from Lisp.
15260
15261 * abbrev.el (abbrev-mode):
15262 * allout.el (allout-mode):
15263 * autoinsert.el (auto-insert-mode):
15264 * autoarg.el (autoarg-mode, autoarg-kp-mode):
15265 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
15266 (global-auto-revert-mode):
15267 * battery.el (display-battery-mode):
15268 * composite.el (global-auto-composition-mode)
15269 (auto-composition-mode):
15270 * delsel.el (delete-selection-mode):
15271 * desktop.el (desktop-save-mode):
15272 * dired-x.el (dired-omit-mode):
15273 * dirtrack.el (dirtrack-mode):
15274 * doc-view.el (doc-view-minor-mode):
15275 * double.el (double-mode):
15276 * electric.el (electric-indent-mode, electric-pair-mode):
15277 * emacs-lock.el (emacs-lock-mode):
15278 * epa-hook.el (auto-encryption-mode):
15279 * follow.el (follow-mode):
15280 * font-core.el (font-lock-mode):
15281 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
15282 * help.el (temp-buffer-resize-mode):
15283 * hilit-chg.el (highlight-changes-mode)
15284 (highlight-changes-visible-mode):
15285 * hi-lock.el (hi-lock-mode):
15286 * hl-line.el (hl-line-mode, global-hl-line-mode):
15287 * icomplete.el (icomplete-mode):
15288 * ido.el (ido-everywhere):
15289 * image-file.el (auto-image-file-mode):
15290 * image-mode.el (image-minor-mode):
15291 * iswitchb.el (iswitchb-mode):
15292 * jka-cmpr-hook.el (auto-compression-mode):
15293 * linum.el (linum-mode):
15294 * longlines.el (longlines-mode):
15295 * master.el (master-mode):
15296 * mb-depth.el (minibuffer-depth-indicate-mode):
15297 * menu-bar.el (menu-bar-mode):
15298 * minibuf-eldef.el (minibuffer-electric-default-mode):
15299 * mouse-sel.el (mouse-sel-mode):
15300 * msb.el (msb-mode):
15301 * mwheel.el (mouse-wheel-mode):
15302 * outline.el (outline-minor-mode):
15303 * paren.el (show-paren-mode):
15304 * recentf.el (recentf-mode):
15305 * reveal.el (reveal-mode, global-reveal-mode):
15306 * rfn-eshadow.el (file-name-shadow-mode):
15307 * ruler-mode.el (ruler-mode):
15308 * savehist.el (savehist-mode):
15309 * scroll-all.el (scroll-all-mode):
15310 * scroll-bar.el (scroll-bar-mode):
15311 * server.el (server-mode):
15312 * shell.el (shell-dirtrack-mode):
15313 * simple.el (auto-fill-mode, transient-mark-mode)
15314 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
15315 (line-number-mode, column-number-mode, size-indication-mode)
15316 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
15317 * strokes.el (strokes-mode):
15318 * time.el (display-time-mode):
15319 * t-mouse.el (gpm-mouse-mode):
15320 * tool-bar.el (tool-bar-mode):
15321 * tooltip.el (tooltip-mode):
15322 * type-break.el (type-break-mode-line-message-mode)
15323 (type-break-query-mode):
15324 * view.el (view-mode):
15325 * whitespace.el (whitespace-mode, whitespace-newline-mode)
15326 (global-whitespace-mode, global-whitespace-newline-mode):
15327 * xt-mouse.el (xterm-mouse-mode): Doc fix.
15328
a3839de2
SM
15329 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
15330 Fix autogenerated docstring.
06e21633 15331
5214e501
JL
153322011-10-19 Juri Linkov <juri@jurta.org>
15333
15334 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
15335 by checking environment variables "DESKTOP_SESSION" and
15336 "XDG_CURRENT_DESKTOP". (Bug#9779)
15337
195f8db9
JL
153382011-10-19 Juri Linkov <juri@jurta.org>
15339
15340 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
15341 (browse-url-chromium-program, browse-url-chromium-arguments):
15342 New defcustoms.
15343 (browse-url-default-browser): Check for `browse-url-chromium' and
15344 call `browse-url-chromium-program'.
15345 (browse-url-chromium): New command. (Bug#9779)
15346
343a34ff
JB
153472011-10-18 Juanma Barranquero <lekktu@gmail.com>
15348
15349 * facemenu.el (list-colors-duplicates): On Windows, detect more
15350 duplicates by assuming that only colors matching "^System" are
15351 special "system colors". (Bug#9722)
15352
6978a151
SM
153532011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
15354
15355 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
15356 to distinguish the author from the committer.
15357
6a80b297
MA
153582011-10-18 Michael Albinus <michael.albinus@gmx.de>
15359
15360 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
15361
b31a5677
JK
153622011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
15363
15364 * international/mule.el (sgml-html-meta-auto-coding-function):
15365 Add support for detecting encoding in HTML5 specified only as
15366 <meta charset="UTF-8">. Implementation just makes http-equiv and
15367 content-type parts from HTML4 encoding string optional. (Bug#9716)
15368
80c6d77f
GM
153692011-10-18 Glenn Morris <rgm@gnu.org>
15370
15371 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
15372
08b0fee8
CY
153732011-10-18 Chong Yidong <cyd@gnu.org>
15374
15375 * faces.el (cursor): Doc fix.
15376
67e729a5
CY
153772011-10-17 Chong Yidong <cyd@gnu.org>
15378
15379 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
15380
343a34ff 153812011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
15382
15383 * dirtrack.el (dirtrack): Support shell buffers with path
15384 prefixes, e.g. tramp-based remote shells. (Bug#9647)
15385
0bc06380
TZ
153862011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
15387
15388 * json.el: Bump version to 1.3 and note change in History.
15389 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
15390
8b79f3e0
SM
153912011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
15392
5a7c536b
SM
15393 * comint.el (comint-insert-input, comint-send-input)
15394 (comint-get-old-input-default, comint-backward-matching-input)
15395 (comint-next-prompt): Use nil instead of `input' for field property of
15396 past user input (bug#114).
15397
96a8a0df
SM
15398 * minibuffer.el (completion--replace): Inherit surrounding properties
15399 (bug#114).
15400 (minibuffer-complete-and-exit): Use it.
15401
8b79f3e0
SM
15402 * comint.el (comint--table-subvert): Quote the all-completions output
15403 (bug#9160).
15404
b8f7ff0d
MR
154052011-10-17 Martin Rudalics <rudalics@gmx.at>
15406
8b79f3e0 15407 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 15408
b8f7ff0d 15409 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 15410 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
15411 entries and separate them from frame entries.
15412
c235b555
GM
154132011-10-15 Glenn Morris <rgm@gnu.org>
15414
15415 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
15416 Doc fixes.
15417
6bbfa6e1
CY
154182011-10-15 Chong Yidong <cyd@stupidchicken.com>
15419
8b79f3e0
SM
15420 * net/network-stream.el (network-stream-open-starttls):
15421 Improve detection of failure due to lack of TLS support.
ec5c990d 15422
6bbfa6e1
CY
15423 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
15424 putting the input text in front and in bold.
15425
98488977
SM
154262011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
15427
3d1337be
SM
15428 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
15429
ee0b45e4
SM
15430 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
15431 empty buffer.
15432
98488977
SM
15433 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
15434 unread-command-events rather than pushing yet-another event.
15435
186f4720
EZ
154362011-10-14 Eli Zaretskii <eliz@gnu.org>
15437
15438 * mail/sendmail.el (sendmail-query-once): Improve the wording of
15439 the explanation of the possible choices. Make the options passed
15440 to completing-read shorter.
15441
8b7a997c
AM
154422011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
15443
15444 * textmodes/flyspell.el (flyspell-large-region): Make sure
15445 extended character mode is used if defined (Bug#1339).
15446
12587bbb
EZ
154472011-10-13 Eli Zaretskii <eliz@gnu.org>
15448
15449 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
15450 character info for LRE, LRO, RLE, and RLO characters by appending
15451 an invisible PDF.
12587bbb 15452
bad41229
SM
154532011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
15454
15455 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
15456 even in case of error; add debug spec; simplify data flow.
15457 (with-timeout-handler): Remove.
15458
28dbc92f
MA
154592011-10-12 Michael Albinus <michael.albinus@gmx.de>
15460
15461 Fix Bug#6019, Bug#9315.
15462
15463 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
15464 complete `buffer-file-name', the local file name part could look
15465 remotely (for example on VMS).
15466
15467 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
15468 `tramp-run-real-handler'.
15469 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
15470 already quoted by '"'.
15471
15472 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
15473 Let `file-name-handler-alist' be nil, the local file name part
15474 could look remotely (for example on VMS).
15475
e1b0b23a
SM
154762011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
15477
15478 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
15479 from here...
15480 (flyspell-post-command-hook): ...to here.
15481
a120bde9
SM
154822011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
15483
15484 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
15485 if not needed.
15486 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
15487 using completion. Protect against "slow" callers.
15488 Remove the "message hack".
15489
7ce7717b
JL
154902011-10-11 Juri Linkov <juri@jurta.org>
15491
15492 * isearch.el (isearch-lazy-highlight-word): New variable.
15493 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
15494 Use it. (Bug#9727)
15495
c02ee9d6
GM
154962011-10-11 Glenn Morris <rgm@gnu.org>
15497
15498 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
15499 like f90-previous-statement does.
15500
93e616fd 155012011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15502
1f190e73 15503 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
15504 only in interactive use, to avoid error.
15505
af7b6078
SM
155062011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
15507
15508 * minibuffer.el (completion-file-name-table): Fix last change,
15509 i.e. ignore normal errors but not the other ones.
15510
0563dae9
MR
155112011-10-10 Martin Rudalics <rudalics@gmx.at>
15512
15513 * window.el (special-display-buffer-names)
15514 (special-display-regexps): Remove some remnants of earlier
15515 changes from doc-strings.
366ca7f3
MR
15516 (quit-windows-on): New function.
15517
15518 * vc/vc.el (vc-revert, vc-rollback):
15519 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
15520 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 15521 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 15522
49677495
MR
155232011-10-09 Martin Rudalics <rudalics@gmx.at>
15524
15525 * window.el (frame-auto-hide-function): Add version tag.
15526 (Bug#9699)
15527
56f2d1e1
MA
155282011-10-09 Michael Albinus <michael.albinus@gmx.de>
15529
15530 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
15531 condition.
15532
112a6592
LL
155332011-10-09 Leo Liu <sdl.web@gmail.com>
15534
15535 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
15536 (Bug#9701)
15537
0812589b
GM
155382011-10-08 Glenn Morris <rgm@gnu.org>
15539
15540 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
15541 before the first code statement zero indent. (Bug#9690)
15542
b2b0776e
CY
155432011-10-08 Chong Yidong <cyd@stupidchicken.com>
15544
15545 * simple.el (count-words-region): Always count in the region.
15546 Report the number of lines and characters too.
15547 (count-words): New command, which counts in the buffer if the
15548 region is inactive, as count-words-region used to.
15549 (count-words--message): New function. Handle plurals.
15550 (count-lines-region): Make it an alias for count-words-region.
15551
15552 * bindings.el (esc-map): Replace count-lines-region with
15553 count-words-region.
15554
c557cd6b
MR
155552011-10-08 Martin Rudalics <rudalics@gmx.at>
15556
15557 * window.el (window--delete): Delete dedicated frame
15558 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 15559 (switch-to-buffer): Fix doc-string typo.
c557cd6b 15560
61a57ef4 155612011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15562
3a7d293b 15563 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 15564
c3833279
CY
155652011-10-07 Chong Yidong <cyd@stupidchicken.com>
15566
15567 * bindings.el ([M-left],[M-right]): Bind to left-word and
15568 right-word respectively.
15569
21ce8245
GM
155702011-10-07 Glenn Morris <rgm@gnu.org>
15571
15572 * cus-start.el (debug-on-quit): Fix custom type.
15573
6d823bb2
LMI
155742011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
15575
0181e193
LMI
15576 * subr.el (define-key-after): Clarify that the function is not
15577 useful for non-menu keymaps.
15578
6d823bb2
LMI
15579 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
15580
8e3459ce 155812011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15582
21ce8245 15583 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 15584 in current minibuffer (Fix bug with recursive minibuffers).
15585
a1c2d21e
CY
155862011-10-06 Chong Yidong <cyd@stupidchicken.com>
15587
15588 * progmodes/gdb-mi.el (gdb): Doc fix.
15589
5a4cf282
MR
155902011-10-05 Martin Rudalics <rudalics@gmx.at>
15591
15592 * window.el (frame-auto-hide-function): New option replacing
15593 frame-auto-delete. Suggested by Stefan Monnier.
15594 (window--delete): Call frame-auto-hide-function instead of
15595 investigating frame-auto-delete.
c96111ea
MR
15596 (window-point-1, set-window-point-1): New functions.
15597 (window-in-direction, record-window-buffer, window-state-get-1)
15598 (display-buffer-record-window): Use window-point-1 instead of
15599 window-point.
15600 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 15601
9854542e
SM
156022011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
15603
15604 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
15605
8943cfb0
GM
156062011-10-05 Glenn Morris <rgm@gnu.org>
15607
15608 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
15609 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
15610
647ab967
LL
156112011-10-05 Leo Liu <sdl.web@gmail.com>
15612
15613 * subr.el (read-char-choice): Fix argument to buffer-live-p which
15614 works with buffer object.
15615
3ddfbced
SM
156162011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
15617
15618 * mpc.el (mpc-tool-bar-map): Add labels.
15619
bdfa5dd2
GM
156202011-10-04 Glenn Morris <rgm@gnu.org>
15621
15622 * calendar/holidays.el (calendar-check-holidays): Doc fix.
15623
0e2070b5
MR
156242011-10-04 Martin Rudalics <rudalics@gmx.at>
15625
15626 * window.el (window--delete): New function.
15627 (frame-auto-delete): Resuscitate option.
15628 (bury-buffer, replace-buffer-in-windows)
15629 (quit-window): Rewrite using window--delete.
15630 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
15631 Pass display-buffer-mark-dedicated to window--display-buffer-2
15632 (Bug#9639).
15633
3dc61a09
SM
156342011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
15635
915a9b64
SM
15636 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
15637 returns a list (bug#9554). Add remote file name completion.
15638 * comint.el (comint--table-subvert): Curry and get quote&unquote
15639 functions as arguments.
15640 (comint--complete-file-name-data): Adjust call accordingly.
15641 * pcomplete.el (pcomplete--table-subvert): Remove.
15642 (pcomplete-completions-at-point): Use comint--table-subvert instead.
15643
3dc61a09
SM
15644 * minibuffer.el (completion-table-case-fold): Use currying.
15645 (completion--styles-type, completion--cycling-threshold-type):
15646 New constants.
15647 (completion-styles, completion-category-overrides)
15648 (completion-cycle-threshold): Use them.
15649 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
15650 completion-table-case-fold.
15651
8ea0a993
SB
156522011-10-03 Stephen Berman <stephen.berman@gmx.net>
15653
15654 * minibuffer.el (completion-category-overrides): Fix type of styles
15655 and add more user friendly tags (bug#9660).
15656
8c24b7f6
SM
156572011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
15658
15659 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
15660 (mule-input-method-string): New widget.
15661 (default-input-method, language-info-custom-alist): Use it.
15662
428fe61a
SM
156632011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
15664
32c1fffd
SM
15665 * pcomplete.el: Require comint.
15666 (pcomplete--common-suffix): Remove.
15667 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
15668 (pcomplete--table-subvert): Sync with comint--table-subvert.
15669 (pcomplete--entries): Use comint-completion-file-name-table.
15670 * comint.el (comint-unquote-filename): Simplify.
15671 (comint-completion-file-name-table): New function (bug#9616).
15672 (comint--complete-file-name-data): Use it.
15673
428fe61a
SM
15674 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
15675 (pcmpl-gnu-tar-buffer): Remove.
15676 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
15677 around. Make sure pcomplete-suffix-list is only changed temporarily.
15678 Don't look inside the tar's file if it's too large.
428fe61a 15679
04c52e2f
CY
156802011-10-01 Chong Yidong <cyd@stupidchicken.com>
15681
ce3cefcc
CY
15682 * cus-edit.el (custom-mode-map):
15683 * epa.el (epa-key-list-mode-map):
15684 * man.el (Man-mode-map):
15685 * startup.el (splash-screen-keymap):
15686 * simple.el (special-mode-map): Use scroll-up-command and
15687 scroll-down-command.
15688
15689 * progmodes/idlw-help.el (idlwave-help-mode-map):
15690 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
15691 * net/newst-plainview.el (newsticker-mode-map):
15692 * emulation/ws-mode.el (wordstar-mode-map):
15693 * emulation/vi.el (vi-com-map):
15694 * calc/calc-graph.el (calc-graph-show-dumb):
15695 * term/sun.el (terminal-init-sun):
15696 * term/ns-win.el (global-map):
15697 * progmodes/grep.el (grep-mode-map):
15698 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
15699 * mail/rmail.el (rmail-mode-map):
15700 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
15701
04c52e2f
CY
15702 * custom.el (custom-safe-themes, load-theme): Treat value of t for
15703 custom-safe-themes as special.
15704
79adf8c8
JD
157052011-10-01 Julien Danjou <julien@danjou.info>
15706
15707 * notifications.el (notifications-notify): Fix docstring.
15708
63bd50d3
PS
157092011-10-01 Per Starbäck <per@starback.se>
15710
15711 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
15712
199e4c7e
MR
157132011-09-30 Martin Rudalics <rudalics@gmx.at>
15714
15715 * startup.el (command-line-1): Fix last fix by inserting
15716 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 15717 (Bug#9605) and (Bug#9636)
199e4c7e 15718
fe5f08dd
EZ
157192011-09-29 Eli Zaretskii <eliz@gnu.org>
15720
15721 * simple.el (line-move): If auto-hscroll-mode is disabled and the
15722 window is hscrolled, move by logical lines. (Bug#9607)
15723 (line-move-visual): Update the doc string to the above effect.
15724
b5516bbd
MR
157252011-09-29 Martin Rudalics <rudalics@gmx.at>
15726
ccee00c0
MR
15727 * window.el (display-buffer-record-window): When WINDOW is the
15728 selected window use `point' instead of `window-point'. (Bug#9626)
15729
b5516bbd
MR
15730 * startup.el (command-line-1): Use insert-before-markers when
15731 inserting initial-scratch-message. (Bug#9605)
ccee00c0 15732
b5516bbd
MR
15733 * help.el (help-window): Remove variable.
15734
52aa0014
GM
157352011-09-29 Glenn Morris <rgm@gnu.org>
15736
15737 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
15738
df9a7357
JB
157392011-09-29 Juanma Barranquero <lekktu@gmail.com>
15740
15741 * descr-text.el (describe-char-categories): Accept category
15742 descriptions more than one line long.
15743
a8406c20
SM
157442011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
15745
88d9610c
SM
15746 * simple.el (delete-trailing-whitespace): Fix last change.
15747
a5daf810
SM
15748 * progmodes/perl-mode.el (perl-syntax-propertize-function):
15749 Don't confuse "y => 3" as the beginning of a `y' operation.
15750
a8406c20
SM
15751 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
15752 object has more than 4 slots (bug#9613).
15753
a239d4e9
JB
157542011-09-28 Juanma Barranquero <lekktu@gmail.com>
15755
15756 * subr.el (with-output-to-temp-buffer):
15757 * net/quickurl.el (quickurl, quickurl-browse-url):
15758 Fix typos in docstrings.
15759
693fbdb6
EZ
157602011-09-27 Eli Zaretskii <eliz@gnu.org>
15761
15762 * minibuffer.el (completion-styles)
15763 (completion-category-overrides): Cross reference each other in doc
15764 strings.
15765
8b457e28
GM
157662011-09-27 Glenn Morris <rgm@gnu.org>
15767
15768 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
15769 to split-string. (Bug#9606)
15770
85a16208
LMI
157712011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
15772
15773 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
15774 (bug#9615).
15775
502f9ebd
CY
157762011-09-27 Chong Yidong <cyd@stupidchicken.com>
15777
15778 * emacs-lisp/package.el (list-packages): Fix echo area message.
15779
7690bdea
LL
157802011-09-27 Leo Liu <sdl.web@gmail.com>
15781
15782 * ido.el (ido-read-internal): Accept cons cell HIST arg.
15783
e2ee6f30
MA
157842011-09-25 Michael Albinus <michael.albinus@gmx.de>
15785
15786 * net/dbus.el (dbus-unregister-object): Don't release services for
15787 registered signals. (Bug#9581)
15788
f3f98342
TZ
157892011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
15790
15791 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
15792 function that picks between cfengine 2 and 3 support
15793 automatically. Update docs accordingly.
15794
dd7aa8dd
KH
157952011-09-22 Kenichi Handa <handa@m17n.org>
15796
15797 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
15798 ZERO.
15799 (indian-itrans-v5-table-for-tamil): New variable.
15800 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
15801
3f2b07f8
KM
158022011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
15803
15804 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
15805 that's true if the current command involved collapsing of text.
15806 It's reset to false at the beginning of the next command.
15807 (allout-post-command-business): Move the cursor to the beginning
15808 of entry if the cursor is hidden and collapsing activity just
15809 happened.
15810
371d6a61
CY
158112011-09-24 Chong Yidong <cyd@stupidchicken.com>
15812
15813 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
15814 tracking (Bug#9541).
15815
2ac2721a
UJ
158162011-09-24 Ulf Jasper <ulf.jasper@web.de>
15817
15818 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
15819 (newsticker-show-news): Automatically load html rendering package
15820 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
15821 because w3m-fill-column is let-bound" and the error "Symbol's value
15822 as variable is void: w3m-fill-column".
2ac2721a 15823
fac7ae53
MA
158242011-09-24 Michael Albinus <michael.albinus@gmx.de>
15825
15826 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
15827 Release services only if they are defined. (Bug#9581)
15828
e08b633b
RS
158292011-09-23 Richard Stallman <rms@gnu.org>
15830
e488d29c
RS
15831 * textmodes/paragraphs.el (forward-sentence): For backwards case,
15832 distinguish start of paragraph from start of its text.
15833
19c38752
RS
15834 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
15835
e08b633b
RS
15836 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
15837 (rmail-generate-viewer-buffer): Put that hook on view buffer.
15838 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
15839
0a39f27e
AS
158402011-09-23 Andreas Schwab <schwab@linux-m68k.org>
15841
15842 * international/mule-diag.el (mule-diag): Insert a newline after
15843 each fontset description.
15844
db4e950d
SM
158452011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
15846
15847 * simple.el (delete-trailing-whitespace):
15848 Document last change; simplify.
15849
eca3f3ea
PW
158502011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
15851
d68e189a
PW
15852 * simple.el (delete-trailing-whitespace): Also delete
15853 extra newlines at the end of the buffer.
15854
eca3f3ea
PW
15855 * textmodes/picture.el: Make motion commands obey shift-select-mode.
15856 (picture-newline): Use forward-line so as to ignore fields.
15857
01c157cc
SM
158582011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
15859
15860 * subr.el (with-wrapper-hook): Fix edebug spec.
15861
022de23e
LMI
158622011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
15863
15864 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
15865 (bug#4538).
15866
91683089
MA
158672011-09-23 Michael Albinus <michael.albinus@gmx.de>
15868
eca3f3ea
PW
15869 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
15870 Fix nasty bug using wrong cached values.
91683089 15871
5bdd6fa4
AM
158722011-09-23 Alan Mackenzie <acm@muc.de>
15873
15874 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
15875
97adfb97
CY
158762011-09-23 Chong Yidong <cyd@stupidchicken.com>
15877
15878 * window.el (pop-to-buffer): Ensure right window is selected if we
15879 chose another frame.
15880
d4ef2b50
EZ
158812011-09-22 Eli Zaretskii <eliz@gnu.org>
15882
15883 * simple.el (what-cursor-position): Use get-char-property-change
15884 and next-single-char-property-change, to be able to show display
15885 properties that come from overlays as well as text properties.
15886
72258fe5
CY
158872011-09-22 Chong Yidong <cyd@stupidchicken.com>
15888
15889 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
15890
15891 * cmuscheme.el (run-scheme, switch-to-scheme):
15892 * cus-edit.el (customize-group, custom-buffer-create)
15893 (customize-browse):
15894 * info.el (info):
15895 * shell.el (shell):
15896 * mail/sendmail.el (mail):
15897 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
15898
8f098516
RS
158992011-09-22 Richard Stallman <rms@gnu.org>
15900
15901 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
15902 move back only to line beg, don't move back over blank lines.
15903
e74f1bb6
MA
159042011-09-22 Michael Albinus <michael.albinus@gmx.de>
15905
15906 * files.el (copy-directory): Set directory attributes only in case
15907 they could be retrieved from the source directory. (Bug#9565)
15908
bfeef8b6
DK
159092011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
15910
15911 * progmodes/hideshow.el (hs-looking-at-block-start-p)
15912 (hs-find-block-beginning, hs-hide-level-recursive):
15913 Ignore strings as well as comments. (Bug#9502)
15914
7e423bb8
AS
159152011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
15916
15917 * progmodes/sql.el (sql-comint-postgres):
15918 Convert port number to a string. (Bug#9566)
15919
b4d72fcf
MR
159202011-09-22 Martin Rudalics <rudalics@gmx.at>
15921
15922 * window.el (quit-window): Undedicate window when switching to
15923 previous buffer. Reported by Thierry Volpiatto
15924 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
15925 (special-display-popup-frame): When popping up a new frame reset
15926 its previous buffers to nil. Simplify code.
b4d72fcf 15927
a7b88dc6
MA
159282011-09-21 Michael Albinus <michael.albinus@gmx.de>
15929
15930 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
15931 and process filter, as done also in `shell-command'.
15932
cf4eacfd
MR
159332011-09-21 Martin Rudalics <rudalics@gmx.at>
15934
eca3f3ea 15935 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
15936 Call set-window-start with NOFORCE argument t.
15937 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
15938 (quit-window): Reword doc-string. Handle new format of
15939 quit-restore parameter. Don't delete window if it has a
15940 previous buffer we can show instead of the present one.
15941 (display-buffer-record-window): Rewrite using a new format for
15942 the quit-restore window parameter
15943 (special-display-popup-frame, display-buffer-same-window)
15944 (display-buffer-reuse-window, display-buffer-pop-up-frame)
15945 (display-buffer-pop-up-window, display-buffer-use-some-window):
15946 Adapt symbol passed to display-buffer-record-window.
15947 * help.el (help-window-setup): Handle new format of quit-restore
15948 parameter.
15949
8d28cb95
SM
159502011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
15951
94ab793f
SM
15952 * faces.el (face-list): Fix docstring (bug#9564).
15953
8d28cb95
SM
15954 * window.el (display-buffer--action-function-custom-type):
15955 Don't include internal functions in the Custom interface.
15956
3820edeb
JL
159572011-09-20 Juri Linkov <juri@jurta.org>
15958
15959 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
15960 (Info-forward-node, Info-backward-node, Info-next-preorder)
15961 (Info-last-preorder): Use it. (Bug#9528)
15962
5147931d
JL
159632011-09-20 Juri Linkov <juri@jurta.org>
15964
15965 * info.el (Info-last-preorder): Visit last menu item only when
15966 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
15967
cf499a1a
JD
159682011-09-20 Julien Danjou <julien@danjou.info>
15969
15970 * password-cache.el (password-cache-remove): Remove entries even if the
15971 value is nil, so that password with a nil value (negative caching) is
15972 possible to invalidate.
15973
f84e2fe2
LM
159742011-09-20 Lawrence Mitchell <wence@gmx.li>
15975
15976 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
15977 all whitespace around breakpoint. (Bug#9553)
15978 (f90-find-breakpoint): Only break at whitespace inside a comment.
15979
78054a46
SM
159802011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
15981
15982 * minibuffer.el (completion-file-name-table): Keep track of errors.
15983 (completion-table-with-predicate): Handle the case where pred1 is nil.
15984 * pcomplete.el (pcomplete-completions-at-point): Simplify.
15985
345083b2
SM
159862011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
15987
e24e27be
SM
15988 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
15989 (debugger-return-value): Signal an error if the debugging context does
15990 not await any return value.
15991
345083b2
SM
15992 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
15993 * image-mode.el (image-toggle-display-text)
15994 (image-toggle-display-image): Stay away from evil `intangible'.
15995
08d355e3
LL
159962011-09-19 Leo Liu <sdl.web@gmail.com>
15997
15998 * replace.el (occur-revert-arguments): Make it permanent-local.
15999 (occur-mode): Don't call font-lock-defontify.
16000
f01da43f
CY
160012011-09-19 Chong Yidong <cyd@stupidchicken.com>
16002
16003 * net/ldap.el (ldap-search-internal): Don't push empty search
16004 result (Bug#9508).
16005
b6072fa6
SM
160062011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
16007
16008 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
16009
443d6696
MA
160102011-09-19 Michael Albinus <michael.albinus@gmx.de>
16011
16012 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
16013 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
16014
7cc6e154
JL
160152011-09-18 Juri Linkov <juri@jurta.org>
16016
16017 * buff-menu.el (Buffer-menu-mode-map):
16018 * dired.el (dired-mode-map):
16019 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
16020 (lisp-interaction-mode-map):
16021 * emacs-lisp/package.el (package-menu-mode-map):
16022 * epa.el (epa-key-list-mode-map):
16023 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
16024 (menu-bar-options-menu):
16025 * outline.el (outline-mode-menu-bar-map):
16026 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
16027 * vc/vc-dir.el (vc-dir-menu-map):
16028 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
16029 Capitalize non-function content words in menu item strings.
16030
16031 * dired.el (dired-mode-map): Add menu item for
16032 `image-dired-dired-toggle-marked-thumbs'.
16033
80302a81
JL
160342011-09-18 Juri Linkov <juri@jurta.org>
16035
16036 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
16037 to `isearch-case-fold-search' and restore its original value
16038 after the `isearch-mode' call.
16039
46c5cf66
JL
160402011-09-18 Juri Linkov <juri@jurta.org>
16041
16042 * progmodes/grep.el (grep-process-setup): Don't check code for 1
16043 because `zgrep' returns 1 for successful matches (bug#9226).
16044
d18b513b
JL
160452011-09-18 Juri Linkov <juri@jurta.org>
16046
16047 * info.el (Info-extract-menu-node-name): Check the second match
16048 for empty string (second test-case of bug#9528).
16049 (Info-last-preorder): Let-bind `Info-history' to nil to not add
16050 intermediate nodes to the history (first test-case of bug#9528).
16051
72753f87
JL
160522011-09-18 Juri Linkov <juri@jurta.org>
16053
16054 * info.el (Info-mode-syntax-table): New variable.
1154d12e 16055 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 16056
c9384295
JL
160572011-09-18 Juri Linkov <juri@jurta.org>
16058
1154d12e
JB
16059 * info.el (Info-file-supports-index-cookies):
16060 Increment line-beginning-position's arg from 3 to 4 because makeinfo
16061 outputs one more line for long file names (bug#4142).
c9384295 16062
d473dce8
CY
160632011-09-18 Chong Yidong <cyd@stupidchicken.com>
16064
16065 * newcomment.el (comment-normalize-vars): If prompting for
16066 comment-start, set comment-start-skip too (Bug#8424).
16067
2176854d
JB
160682011-09-18 Johan Bockgård <bojohan@gnu.org>
16069
16070 * icomplete.el: Fix previous fix of Bug#5849.
16071 (icomplete-mode): Don't set completion-show-inline-help.
16072 (icomplete-minibuffer-setup): Set completion-show-inline-help
16073 locally during icompletion.
16074
3aace4e4
CY
160752011-09-18 Chong Yidong <cyd@stupidchicken.com>
16076
c940224f
CY
16077 * woman.el (woman2-process-escapes): Don't delete unrecognized
16078 escapes (Bug#7843).
16079
3aace4e4
CY
16080 * files.el (inhibit-first-line-modes-regexps): Add image files.
16081 (hack-local-variables-prop-line): Return nil for malformed
16082 prop-lines (Bug#9044).
16083
710dec63
MA
160842011-09-18 Michael Albinus <michael.albinus@gmx.de>
16085
16086 * net/tramp.el (top): Don't require 'shell.
16087 (tramp-methods): Fix docstring.
16088 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
16089 Return complete remote file name. Handle "smb" case.
16090 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
16091 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
16092
16093 * net/tramp-compat.el (top): Require 'shell.
16094
16095 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
16096 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
16097 `tramp-current-host'.
16098 (tramp-get-remote-tmpdir): Remove.
16099
16100 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
16101 `tramp-tmpdir' entries.
16102 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
16103 (tramp-smb-handle-file-attributes): Ignore errors.
16104 (tramp-smb-wait-for-output): Check also for process end.
16105
5d5ac8ec
LMI
161062011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
16107
16108 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
16109 when sending QUIT (bug#9312).
16110
8c0f49f0
CY
161112011-09-17 Chong Yidong <cyd@stupidchicken.com>
16112
16113 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
16114 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
16115 occur-mode-display-occurrence.
16116 (occur-edit-mode): Add usage message.
16117 (occur-cease-edit): New command.
16118 (occur-after-change-function): Use text properties to find the
16119 position of the prefix text.
16120 (occur-engine): Set stickiness of prefix text properties.
16121
8f1383f7
GM
161222011-09-17 Glenn Morris <rgm@gnu.org>
16123
16124 * progmodes/etags.el (complete-tag):
16125 Fix call to completion-in-region. (Bug#9526)
16126
744ba0e3
JL
161272011-09-17 Juri Linkov <juri@jurta.org>
16128
16129 * textmodes/ispell.el (ispell-word): Add to the error message
16130 the word, ispell program name and current dictionary (bug#9121).
16131 (ispell-tex-arg-end): Capitalize "error" in the error message.
16132
d9bbf400
AS
161332011-09-17 Andreas Schwab <schwab@linux-m68k.org>
16134
16135 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
16136 check. (Bug#4251)
16137
8da11505
JL
161382011-09-17 Juri Linkov <juri@jurta.org>
16139
16140 * window.el (window-safe-min-height, window-safe-min-width):
16141 Fix typos (followup to bug#9522).
16142
a91adc7e
SJ
161432011-09-17 Sven Joachim <svenjoac@gmx.de>
16144
16145 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
16146
064f328a
EZ
161472011-09-16 Eli Zaretskii <eliz@gnu.org>
16148
16149 * simple.el (line-move): If goal-column is set, move by logical
16150 lines, not by display lines. (Bug#971)
16151 (next-line, previous-line, goal-column, line-move-visual): Doc fix
16152 to reflect the above change.
16153
e69df516
SM
161542011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
16155
16156 * image.el (imagemagick-register-types): Use regexp-opt.
16157
cbb0f9ab
CY
161582011-09-15 Chong Yidong <cyd@stupidchicken.com>
16159
16160 * window.el (display-buffer-base-action): Rename from
16161 display-buffer-default-action. Make default value empty.
16162 (display-buffer-overriding-action): Convert to defvar.
16163 (display-buffer-fallback-action): New var.
16164
25322144
CY
161652011-09-15 Chong Yidong <cyd@stupidchicken.com>
16166
16167 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
16168 declaration.
16169 (package--add-to-archive-contents): If there is a duplicate entry
16170 with an older version, remove it.
16171 (package-menu-mark-delete, package-menu-mark-install)
16172 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
16173 (package-menu-mark-obsolete-for-deletion):
16174 Use package-menu-get-status instead of a regexp search.
25322144
CY
16175 (package-menu-get-status): Use tabulated-list-entry.
16176 (package-menu-mark-upgrades): New command.
d770725a 16177 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
16178 (package-menu-execute): Do installation before deletion.
16179 (package-menu-refresh, package-menu-execute): Use derived-mode-p
16180 instead of checking major-mode.
16181 (package-menu--find-upgrades): New function.
16182
7520339c
LMI
161832011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
16184
16185 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
16186 passwords in the log buffer.
65a046c4
LMI
16187 (smtpmail-process-filter): Update the process marker so that the
16188 "broken by peer" status message is inserted in the right place.
7520339c 16189
d3c30954
SM
161902011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
16191
3fe48822
SM
16192 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
16193 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
16194 bibtex-completion-at-point-function.
16195 (bibtex-completion-at-point-function): Use them.
16196
1b8b3954
SM
16197 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
16198
d3c30954
SM
16199 * mpc.el (mpc-constraints-tag-lookup): New function.
16200 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
16201 also to browser "album|playlist".
16202
72779976
JL
162032011-09-14 Juri Linkov <juri@jurta.org>
16204
16205 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
16206 (isearch-edit-string): Use length of `isearch-string' when
16207 `isearch-fail-pos' returns nil.
16208 (isearch-message): Remove duplicate code and call
16209 `isearch-fail-pos' with arg `t'.
16210
a0bf2bcd
CY
162112011-09-14 Chong Yidong <cyd@stupidchicken.com>
16212
17bb0a2d
CY
16213 * replace.el (occur-mode-goto-occurrence): Don't force using other
16214 window (Bug#9499).
16215
a0bf2bcd
CY
16216 * dired-aux.el (dired-do-chmod): Don't provide initial input.
16217
f678e0b6
MR
162182011-09-14 Martin Rudalics <rudalics@gmx.at>
16219
16220 * window.el (display-buffer-window): Remove.
16221 (display-buffer-record-window): Use help-setup window parameter
16222 instead of variable display-buffer-window.
16223 (display-buffer-function, special-display-buffer-names)
16224 (special-display-function): Mention help-setup parameter instead
16225 of display-buffer-window in doc-string.
d3c30954
SM
16226 * help.el (help-window-setup): New argument help-window.
16227 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
16228 Reword some messages.
16229 (with-help-window): Pass window used for displaying the buffer
16230 to help-window-setup. Don't set display-buffer-window.
16231
8e39b2e8
GM
162322011-09-13 Glenn Morris <rgm@gnu.org>
16233
16234 * emacs-lisp/debug.el (debugger-make-xrefs):
16235 Preserve point. (Bug#9462)
16236
85e9c04b
CY
162372011-09-13 Chong Yidong <cyd@stupidchicken.com>
16238
16239 * window.el (window-deletable-p): Use next-frame.
16240
1b36ed6a
MR
162412011-09-13 Martin Rudalics <rudalics@gmx.at>
16242
16243 * window.el (window-auto-delete): Remove.
16244 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 16245 dedication and previous buffers.
1b36ed6a
MR
16246 (switch-to-prev-buffer): Don't delete window.
16247 (delete-windows-on): Delete a window's frame if and only if the
16248 window is dedicated.
16249 (replace-buffer-in-windows): Delete buffer's window or frame if
16250 and only if window is dedicated.
16251 (quit-window): Handle quit-restore as before last change.
4d61f28d 16252 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 16253
ef8ef9fb
CY
162542011-09-13 Chong Yidong <cyd@stupidchicken.com>
16255
16256 * window.el (window-deletable-p): Never delete the last frame on a
16257 given terminal.
16258
b2cba41e
GM
162592011-09-13 Glenn Morris <rgm@gnu.org>
16260
16261 * help.el (describe-key-briefly): Copy previous standard-output change.
16262
51553db6 162632011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
16264
16265 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
16266
b7556719
GM
162672011-09-13 Glenn Morris <rgm@gnu.org>
16268
16269 * emacs-lisp/lisp-mode.el (lisp-indent-function):
16270 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
16271
64b51947
CY
162722011-09-12 Chong Yidong <cyd@stupidchicken.com>
16273
16274 * dired-aux.el (dired-mark-read-string): Don't return default
16275 value on empty input (Bug#9361).
16276 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
16277 Omit initial minibuffer contents.
16278 (dired-do-chmod): Signal an error on empty input.
16279 (dired-mark-read-string): Don't return default on empty input.
16280
16281 * files.el (file-modes-symbolic-to-number): Doc fix.
16282
393a301e
SM
162832011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
16284
16285 * international/mule-cmds.el (ucs-completions): Remove.
16286 (read-char-by-name): Use complete-with-action instead; add metadata.
16287
fa5660f9
CY
162882011-09-11 Chong Yidong <cyd@stupidchicken.com>
16289
16290 * window.el (display-buffer--action-function-custom-type)
16291 (display-buffer--action-custom-type): New vars.
16292 (display-buffer-alist, display-buffer-default-action)
16293 (display-buffer-overriding-action): Add defcustom types.
16294
4a592f66
CY
16295 * frame.el (delete-other-frames): Doc fix (Bug#276).
16296
73d56dbd
LMI
162972011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
16298
16299 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
16300
37ac18a3
CY
163012011-09-11 Chong Yidong <cyd@stupidchicken.com>
16302
16303 Change modes that used same-window-* vars to use switch-to-buffer.
16304
16305 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
16306 Use switch-to-buffer.
16307
16308 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
16309 (customize-browse, custom-buffer-create-other-window):
16310 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
16311
16312 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
16313 (Info-prev, Info-up, Info-speedbar-goto-node)
16314 (info-display-manual): Use switch-to-buffer.
16315 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
16316
16317 * mail/sendmail.el (mail): Use switch-to-buffer.
16318 (mail-recover): Use switch-to-buffer-other-window.
16319
16320 * cmuscheme.el (run-scheme, switch-to-scheme):
16321 * ielm.el (ielm):
16322 * shell.el (shell):
16323 * net/rlogin.el (rlogin):
16324 * net/telnet.el (telnet, rsh):
16325 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
16326
10195bd6
AS
163272011-09-11 Andreas Schwab <schwab@linux-m68k.org>
16328
16329 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
16330
b322f63a
LMI
163312011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
16332
39d7fed6
LMI
16333 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
16334 so don't mention it (bug#9301).
ba5a81f1 16335 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 16336
ee0e9f11
LMI
16337 * faces.el (face-spec-set-match-display): Make `(type graphic)'
16338 match `x', `w32' and `ns', like the manual says (bug#9029).
16339
0b1c89c1 16340 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
16341 (process-kill-buffer-query-function): Mention the buffer name in
16342 the query.
0b1c89c1 16343
77549ea8
LMI
16344 * image-mode.el (image-next-line): The line parameter is mandatory
16345 (bug#9258).
16346
803ef892
LMI
16347 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
16348 which can be useful (bug#9301).
16349
12980837
LMI
16350 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
16351
91054f8f
LMI
16352 * subr.el (match-string): Mention that the current buffer should
16353 be the same as the search was done in (bug#9282).
16354
b322f63a
LMI
16355 * facemenu.el: Disable the remove-* commands if the mark isn't
16356 active (bug#9162).
16357
3199b96f
CY
163582011-09-10 Chong Yidong <cyd@stupidchicken.com>
16359
16360 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
16361 of display-buffer.
16362 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
16363
16364 * replace.el (occur-mode-goto-occurrence)
16365 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
16366 and display-buffer.
16367
16368 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
16369 display-buffer.
16370
16371 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
16372 special-display and same-window variables.
16373 (mail-other-window): Use switch-to-buffer-other-window.
16374 (mail-other-frame): USe switch-to-buffer-other-frame.
16375
393a301e
SM
16376 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
16377 Use display-buffer-other-frame.
3199b96f
CY
16378 (gdb-display-gdb-buffer): Use pop-to-buffer.
16379
16380 * progmodes/gud.el (gud-goto-info): Use info-other-window.
16381
16382 * progmodes/python.el: Don't set same-window-buffer-names.
16383
16384 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
16385
16386 * window.el (display-buffer-alist): Add *Python*.
16387
8319e0bf
CY
163882011-09-10 Chong Yidong <cyd@stupidchicken.com>
16389
16390 * window.el (display-buffer-alist): Add entry for buffers
16391 previously handled same-window-*.
16392 (display-buffer-alist, display-buffer-default-action)
16393 (display-buffer-overriding-action): Mark as risky.
16394 (display-buffer-alist): Document action function changes.
16395 (display-buffer--same-window-action)
16396 (display-buffer--other-frame-action): New variables.
16397 (switch-to-buffer, display-buffer-other-frame): Use them.
16398 (display-buffer): Rename reuse-frame entry to reusable-frames.
16399 (display-buffer-reuse-selected-window): Function deleted.
16400 (display-buffer-reuse-window): Handle reusable-frames alist entry.
16401 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
16402 (display-buffer-special): New function.
16403 (display-buffer--maybe-pop-up-frame-or-window): Rename from
16404 display-buffer-reuse-or-pop-window. Split off special-display
16405 part into display-buffer-special.
16406 (display-buffer-use-some-window): Don't perform any special
16407 pop-up-frames handling.
16408 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 16409 (display-buffer--maybe-same-window): Rename from
0d3ff375 16410 display-buffer-maybe-same-window.
8319e0bf 16411
919a69aa
CY
16412 * info.el: Don't set same-window-regexps.
16413 (info-setup): New function.
16414 (info-other-window, info): Call it.
16415
16416 * cus-edit.el: Don't set same-window-regexps.
16417 (customize-group): New argument.
16418 (customize-group-other-window): Use it.
16419 (customize-face, customize-face-other-window): Likewise.
16420 (custom-buffer-create-other-window): Use pop-to-buffer directly.
16421
8319e0bf
CY
16422 * net/rlogin.el:
16423 * net/telnet.el:
16424 * progmodes/gud.el: Don't set same-window-regexps.
16425
16426 * cmuscheme.el:
16427 * ielm.el:
16428 * shell.el:
16429 * mail/sendmail.el:
16430 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
16431
25173000
JL
164322011-09-10 Juri Linkov <juri@jurta.org>
16433
16434 * isearch.el (isearch-edit-string): Remove obsolete mention of
16435 `C-w' (`isearch-yank-word-or-char') from docstring.
16436 (isearch-query-replace): Fix typo in docstring (bug#9466).
16437
056e44ef
JL
164382011-09-10 Juri Linkov <juri@jurta.org>
16439
16440 * paren.el (show-paren-function): Don't show escaped parens.
16441 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
16442
c3760c17
EZ
164432011-09-10 Eli Zaretskii <eliz@gnu.org>
16444
16445 * mail/sendmail.el (mml-to-mime, mml-attach-file)
16446 (mm-default-file-encoding): Remove autoload forms, they are
16447 replaced with autoload cookies in mml.el and mm-encode.el.
16448 (mail-add-attachment): New command.
16449 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
16450 (mail-mode): Mention mail-insert-file and mail-add-attachment in
16451 the doc string.
16452 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
16453
fece895e
RT
164542011-09-10 Reuben Thomas <rrt@sc3d.org>
16455
e69df516
SM
16456 * simple.el (count-words-region): Use buffer if there's no region
16457 (bug#9429).
fece895e 16458
5e68ce4a
JL
164592011-09-09 Juri Linkov <juri@jurta.org>
16460
16461 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
16462 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
16463 (wdired-isearch-filter-read-only): New function. (Bug#6362)
16464
0a6b9622
AM
164652011-09-09 Alan Mackenzie <acm@muc.de>
16466
16467 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
16468 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
16469
14a29deb
EZ
164702011-09-09 Eli Zaretskii <eliz@gnu.org>
16471
16472 Fix for Savannah bug#9392.
16473 * simple.el (mail-encode-mml): New defvar.
16474
16475 * mail/rmail.el (mail-encode-mml): Add a defvar.
16476 (rmail-enable-mime-composing): Default to t.
16477 (rmail-forward): Use MIME method of forwarding only if both
16478 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
16479 Set mail-encode-mml non-nil if the MIME method was used.
16480
16481 * mail/sendmail.el (mml-to-mime): Add autoload form.
16482 (mail-encode-mml): Add a defvar.
16483 (mail-mode): Make mail-encode-mml buffer-local and initialize it
16484 to nil.
16485 (mail-send): If mail-encode-mml is non-nil, run the outgoing
16486 message through mml-to-mime, and reset mail-encode-mml to nil.
16487
28c45130
GM
164882011-09-09 Glenn Morris <rgm@gnu.org>
16489
16490 * woman.el (woman-if-body): When processing an .el block,
16491 do not delete the next .el block as well. (Bug#9447)
69f4b618 16492 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 16493
9b1c252e
MR
164942011-09-08 Martin Rudalics <rudalics@gmx.at>
16495
16496 * window.el (window-deletable-p): Make sure window is live before
16497 invoking window-prev-buffers.
16498
567457e3
LL
164992011-09-08 Leo Liu <sdl.web@gmail.com>
16500
16501 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
16502
97f05794
JL
165032011-09-08 Juri Linkov <juri@jurta.org>
16504
16505 * progmodes/compile.el (compilation-environment): Make it
16506 a defcustom (bug#8340).
16507
8b0874b5
MR
165082011-09-08 Martin Rudalics <rudalics@gmx.at>
16509
16510 * window.el (frame-auto-delete): Rename to window-auto-delete.
16511 Make it control auto-deletion of windows and/or frames.
16512 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 16513 for deleting window/frame. (Bug#9419)
8b0874b5
MR
16514 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
16515 Rewrite handling of case when window/frame can be deleted.
16516 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 16517 argument t. (Bug#9456)
8b0874b5 16518
4feb6e73
CY
165192011-09-07 Chong Yidong <cyd@stupidchicken.com>
16520
16521 * help-mode.el (help-mode): Restore autoload.
16522
91ab9c13
JL
165232011-09-07 Juri Linkov <juri@jurta.org>
16524
16525 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
16526 `compilation-environment'. Set buffer-local
16527 `compilation-environment' to `thisenv' later after (funcall mode).
16528 (Bug#8340)
16529
16530 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
16531 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
16532 instead of replacing its value. (Bug#8340)
16533
0527e251
JL
165342011-09-07 Juri Linkov <juri@jurta.org>
16535
16536 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
16537 based on text properties put by `grep-filter' instead of matching
16538 escape sequences.
16539 (grep-mode): Set buffer-local `compilation-error-screen-columns'
16540 to the value of `grep-error-screen-columns' (bug#9438).
16541
249f792c
JL
165422011-09-07 Juri Linkov <juri@jurta.org>
16543
16544 * simple.el (next-error-highlight, next-error-highlight-no-select):
16545 Doc fix (bug#9432).
16546
ff7271b9
OT
165472011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
16548
16549 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
16550 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
16551
183fc730
LL
165522011-09-07 Leo Liu <sdl.web@gmail.com>
16553
16554 * net/rcirc.el (rcirc-mode): Conditionally initialize
16555 rcirc-input-ring.
16556
77694924
SM
165572011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
16558
16559 * emacs-lisp/find-func.el (find-function-C-source): Only set
16560 find-function-C-source-directory after checking that we found a source
16561 file there (bug#9440).
16562
d809b8eb
AM
165632011-09-06 Alan Mackenzie <acm@muc.de>
16564
16565 * isearch.el (isearch-other-meta-char): Wherever a key list is
16566 unread, "unread" the prefix arg, too. This fixes bug #8901.
16567
453de99f
OG
165682011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
16569
16570 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
16571
90439906
JL
165722011-09-05 Juri Linkov <juri@jurta.org>
16573
16574 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
16575
f62bd846
JL
165762011-09-05 Juri Linkov <juri@jurta.org>
16577
16578 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
16579 keeping point where processing of grep matches begins, and
16580 continue to delete remaining escape sequences from the same point.
16581 (grep-filter): Make leading zero optional in "0?1;31m" because
16582 git-grep emits "\033[1;31m" escape sequences unlike expected
16583 "\033[01;31m" as GNU Grep does (bug#9408).
16584 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
16585
045820ec
JL
165862011-09-05 Juri Linkov <juri@jurta.org>
16587
16588 * subr.el (y-or-n-p): Capitalize "yes".
16589
f5e29b9b
MA
165902011-09-04 Michael Albinus <michael.albinus@gmx.de>
16591
16592 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
16593 `tramp-cache-unload-hook' where appropriate.
16594 (tramp-methods): Rename `tramp-remote-sh' to
16595 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
16596 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
16597
16598 * net/tramp-sh.el (top): Don't require 'shell.
16599 (tramp-methods): Add `tramp-remote-shell' and
16600 `tramp-remote-shell-args' entries.
16601 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
16602 (tramp-sh-handle-shell-command): Remove.
16603 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
16604 Use `tramp-remote-shell'.
16605
2784c434
CY
166062011-09-03 Chong Yidong <cyd@stupidchicken.com>
16607
393a301e 16608 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
16609 (sendmail-query-once): Save directly to send-mail-function.
16610 Update message-send-mail-function too.
16611
16612 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
16613
464cdf56
CS
166142011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
16615
16616 * progmodes/python.el (python-mode-map): Use correct function to
16617 start python interpreter from menu-bar (as reported by Geert
16618 Kloosterman).
16619 (inferior-python-mode-map): Fix typo.
393a301e 16620 (python-shell-map): Remove.
464cdf56 16621
d37e5c87
DD
166222011-09-03 Deniz Dogan <deniz@dogan.se>
16623
16624 * net/rcirc.el (rcirc-print): Simplify code for
16625 rcirc-scroll-show-maximum-output. There is no need to walk
16626 through all windows to find the right one.
16627
f3ada0ee
CS
166282011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
16629
16630 * help.el (help-return-method): Doc fix.
16631
1f3c99ca
MR
166322011-09-03 Martin Rudalics <rudalics@gmx.at>
16633
16634 * window.el (window-deletable-p): Don't return a non-nil value
16635 when there's a buffer that was shown in the window before.
16636 (Bug#9419)
393a301e
SM
16637 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
16638 Set window's previous buffers to nil.
1f3c99ca 16639
a3cf097f
EZ
166402011-09-03 Eli Zaretskii <eliz@gnu.org>
16641
16642 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
16643 newline before and after the tag line, so it doesn't interfere
16644 with determining the paragraph direction of bidirectional text.
16645
3d03de90
LL
166462011-09-03 Leo Liu <sdl.web@gmail.com>
16647
16648 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
16649
c3313451
CY
166502011-09-02 Chong Yidong <cyd@stupidchicken.com>
16651
393a301e 16652 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
16653 (pop-to-buffer): Change interactive spec. Pass second argument
16654 directly to display-buffer.
16655 (display-buffer): Fix interactive spec. Use functionp to
16656 distinguish between a function and a list of functions.
16657
16658 * abbrev.el (edit-abbrevs):
16659 * arc-mode.el (archive-extract):
16660 * autoinsert.el (auto-insert):
16661 * bookmark.el (bookmark-bmenu-list):
16662 * files.el (find-file):
16663 * view.el (view-buffer):
16664 * progmodes/compile.el (compilation-goto-locus):
16665 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
16666
89894cd8
CY
166672011-09-02 Chong Yidong <cyd@stupidchicken.com>
16668
16669 * window.el (display-buffer-alist): Doc fix.
16670 (display-buffer): Add docstring. Don't treat
16671 display-buffer-default specially.
16672 (display-buffer-reuse-selected-window)
16673 (display-buffer-same-window, display-buffer-maybe-same-window)
16674 (display-buffer-reuse-window, display-buffer-pop-up-frame)
16675 (display-buffer-pop-up-window)
16676 (display-buffer-reuse-or-pop-window)
16677 (display-buffer-use-some-window): New functions.
16678 (display-buffer-default-action): Use them.
393a301e 16679 (display-buffer-default): Delete.
89894cd8
CY
16680 (pop-to-buffer-1): Fix choice of actions.
16681
ae0bc9fb
SM
166822011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
16683
16684 * minibuffer.el (completion--insert-strings): Don't get confused by
16685 completion entries that end with an LF char.
16686
e9d90883
EZ
166872011-09-01 Eli Zaretskii <eliz@gnu.org>
16688
16689 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
16690
437014c8
CY
166912011-09-01 Chong Yidong <cyd@stupidchicken.com>
16692
16693 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
16694 (display-buffer-same-window, display-buffer-other-window):
16695 New functions.
437014c8
CY
16696 (pop-to-buffer-1): New function. Use the above.
16697 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 16698 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
16699
16700 * view.el (view-buffer-other-window, view-buffer-other-frame):
16701 Just use pop-to-buffer.
16702
a5e063d5
TV
167032011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16704
16705 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
16706
793d32bb
WH
167072011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
16708
16709 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
16710
d65e4c15
RS
167112011-08-31 Richard Stallman <rms@gnu.org>
16712
16713 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
16714 of the separation of rmail-view-buffer from rmail-buffer.
16715 If you say no to "replace original", the decrypt is in the
16716 view buffer. If you say yes, the decrypt goes into the
16717 rmail buffer also.
16718
f818cd2a
MR
167192011-08-31 Martin Rudalics <rudalics@gmx.at>
16720
16721 * window.el (display-buffer-window): Rewrite doc-string.
16722 (display-buffer-record-window): New function.
16723 (display-buffer-macro-specifiers)
16724 (display-buffer-even-window-sizes, display-buffer-set-height)
16725 (display-buffer-set-width, display-buffer-in-window)
16726 (display-buffer-reuse-window, display-buffer-split-specifiers)
16727 (display-buffer-side-specifiers, display-buffer-split-window-1)
16728 (display-buffer-split-window, display-buffer-split-atom-window)
16729 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
16730 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
16731 (display-buffer-other-window-means-other-frame)
16732 (display-buffer-normalize-special)
16733 (display-buffer-normalize-default)
16734 (display-buffer-normalize-argument)
16735 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
16736 (display-buffer-normalize-specifiers, display-buffer-frame)
16737 (display-buffer-same-window, display-buffer-same-frame)
16738 (display-buffer-other-window)
16739 (display-buffer-same-frame-other-window)
16740 (display-buffer-other-frame, pop-to-buffer-same-window)
16741 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
16742 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
16743 (switch-to-buffer-same-frame)
16744 (switch-to-buffer-other-window-same-frame)
16745 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
16746 (display-buffer-alist-set-1, display-buffer-alist-set-2)
16747 (display-buffer-alist-set): Remove.
16748 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
16749 (special-display-regexps, special-display-function):
16750 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
16751 parameter.
16752 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
16753 (special-display-frame-alist, special-display-popup-frame)
16754 (same-window-buffer-names, same-window-regexps, same-window-p)
16755 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
16756 (split-window-preferred-function, split-height-threshold)
16757 (split-width-threshold, window-splittable-p)
16758 (split-window-sensibly, window--try-to-split-window)
16759 (window--frame-usable-p, even-window-heights)
16760 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
16761 (window--display-buffer-2, display-buffer-other-frame):
16762 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
16763 (display-buffer-default, display-buffer-assq-regexp): New functions.
16764 (display-buffer-alist): Rewrite doc-string.
16765 (display-buffer-default-action)
16766 (display-buffer-overriding-action): New variables.
16767 (display-buffer, switch-to-buffer): Rewrite.
16768 (pop-to-buffer): Restore Emacs 23 behavior but use
16769 window-normalize-buffer-to-display.
16770 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
16771 Restore Emacs 23 behavior but use
16772 window-normalize-buffer-to-switch-to.
16773 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
16774 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
16775 Rewrite using Emacs 23 options.
f818cd2a 16776
5bc3b51d
MA
167772011-08-31 Michael Albinus <michael.albinus@gmx.de>
16778
16779 * net/tramp.el (tramp-root-regexp): Remove.
16780 (tramp-completion-file-name-regexp-unified)
16781 (tramp-completion-file-name-regexp-separate)
16782 (tramp-completion-file-name-regexp-url): Don't use leading volume
b46a6a83 16783 letter on w32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
16784 (tramp-drop-volume-letter): Simplify definition.
16785 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 16786
b1a4f8e1
SM
167872011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
16788
16789 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
16790 (bug#9356).
16791
5664fa7b
RT
167922011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
16793
b1a4f8e1 16794 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 16795
9a45d6c3
JL
167962011-08-29 Juri Linkov <juri@jurta.org>
16797
16798 * isearch.el (isearch-done): Don't display message "Mark saved"
16799 when arg `edit' is non-nil to prevent its flicker in the echo area.
16800
fb87e0fb
CY
168012011-08-28 Chong Yidong <cyd@stupidchicken.com>
16802
16803 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
16804 obsolete packages for deletion.
16805
09ac1c2a
CS
168062011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
16807
16808 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 16809 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
16810 view-mode from help-mode.
16811 (help-xref-override-view-map): Remove.
16812 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
16813 view-mode is not used anymore.
16814
7a1ff57f
CY
168152011-08-28 Chong Yidong <cyd@stupidchicken.com>
16816
16817 * server.el (server-port): Doc fix.
16818
b9696605
CY
16819 * cus-theme.el (custom-theme-choose-mode): Inherit from
16820 special-mode (Bug#9124).
16821 (custom-theme-choose-mode-map): Add special-mode to parent.
16822
ef8cdf8c
AM
168232011-08-28 Alan Mackenzie <acm@muc.de>
16824
16825 * progmodes/cc-fonts.el
16826 (c-make-font-lock-BO-decl-search-function): New function.
16827 (c-basic-matchers-after - "Fontify the clauses after various
16828 keywords"): Extract the three keyword lists for the 3 erroneous
16829 constructs from the list of four, and use the new function above
16830 in place of an old one.
16831
27de4e20
DD
168322011-08-28 Deniz Dogan <deniz@dogan.se>
16833
16834 * net/rcirc.el (rcirc-insert-prev-input)
16835 (rcirc-insert-next-input): Remove unused argument.
16836
356a3681
SM
168372011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
16838
16839 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
16840
3fc9b218
AM
168412011-08-27 Alan Mackenzie <acm@muc.de>
16842
16843 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
16844 handle function pointer parameters properly.
16845
538a061c
MR
168462011-08-27 Martin Rudalics <rudalics@gmx.at>
16847
16848 * window.el (display-buffer-reuse-window): Fix case where
16849 selected window was reused with non-nil OTHER-WINDOW argument.
16850 (Bug#9381)
16851
35b1c40c
DD
168522011-08-27 Deniz Dogan <deniz@dogan.se>
16853
16854 * net/rcirc.el (rcirc-check-auth-status): Adding support for
16855 oftc's NickServ messages.
16856
2f6a3e79
GM
168572011-08-27 Glenn Morris <rgm@gnu.org>
16858
16859 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
16860
7254299e
CY
168612011-08-26 Chong Yidong <cyd@stupidchicken.com>
16862
16863 * emacs-lisp/package.el (package-install): Call package-initialize
16864 if called interactively.
16865
f8ccf167
LL
168662011-08-26 Leo Liu <sdl.web@gmail.com>
16867
16868 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
16869
3e8cd5ce
JL
168702011-08-25 Juri Linkov <juri@jurta.org>
16871
16872 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
16873 `search-whitespace-regexp' (bug#9364).
16874
93eb7113
JL
168752011-08-25 Juri Linkov <juri@jurta.org>
16876
16877 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
16878 `regexp-search-ring' to their global values to protect from
16879 updating by `read-from-minibuffer' (bug#9185).
16880
f65d1611
JL
168812011-08-25 Juri Linkov <juri@jurta.org>
16882
16883 * textmodes/ispell.el (ispell-command-loop): Add newline
16884 at the end of the "Use option `i'..." line.
16885
f1cf7a31
JL
168862011-08-25 Juri Linkov <juri@jurta.org>
16887
16888 * battery.el (display-battery-mode): If `battery-status-function'
16889 or `battery-mode-line-format' is nil, display the message and set
16890 `display-battery-mode' to nil (bug#9363).
16891
0c95fcf7
EZ
168922011-08-25 Eli Zaretskii <eliz@gnu.org>
16893
16894 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
16895 bidi-string-mark-left-to-right; they are unnecessary now.
16896
a2ebe600
DD
168972011-08-25 Deniz Dogan <deniz@dogan.se>
16898
16899 * net/quickurl.el: Documentation typo fixes.
16900
e4ed06f1
CY
169012011-08-25 Chong Yidong <cyd@stupidchicken.com>
16902
16903 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
16904
e5f1c99e
GM
169052011-08-25 Glenn Morris <rgm@gnu.org>
16906
b2948976
GM
16907 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
16908
e5f1c99e
GM
16909 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
16910 (smtpmail-via-smtp): Handle nil response from smtp.
16911
f22f4808
JL
169122011-08-24 Juri Linkov <juri@jurta.org>
16913
16914 * proced.el (proced-marked): Inherit from `error' instead of
16915 `font-lock-warning-face'.
16916
16917 * ibuffer.el (ibuffer-marked-face): Change default face from
16918 `font-lock-warning-face' to `warning'.
16919 (ibuffer-deletion-face): Change default face from
16920 `font-lock-type-face' to `error'.
16921
16922 * battery.el (battery-update): Use the face `error' instead of
16923 `font-lock-warning-face' (bug#6117).
16924
6a93965e
JL
169252011-08-24 Juri Linkov <juri@jurta.org>
16926
16927 * faces.el (success): Change face color from "Green3" to
16928 "ForestGreen" on light background (bug#9353).
16929
1ed43b09
CY
169302011-08-24 Chong Yidong <cyd@stupidchicken.com>
16931
5664fa7b
RT
16932 * window.el (quit-window): Rename from quit-restore-window.
16933 Use same arglist as old quit-window.
1ed43b09
CY
16934 (frame-auto-delete): Doc fix.
16935
16936 * view.el (view-mode-exit): Use quit-window.
16937
11dcdbb2
JL
169382011-08-24 Juri Linkov <juri@jurta.org>
16939
16940 * isearch.el (isearch-ring-adjust1): Start visiting previous
16941 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
16942 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
16943 for empty search string (when the last search string is reused
16944 automatically) to adjust the isearch ring to the last element and
16945 prepare the correct index for further M-p commands (bug#9185).
16946
de62b4df
KH
169472011-08-24 Kenichi Handa <handa@m17n.org>
16948
16949 * international/ucs-normalize.el: If decomposition property of
16950 CHAR is the default one (i.e. a list of CHAR itself), treat it as
16951 nil.
16952 (nfd, nfkd): Likewise.
16953
963b492b
SM
169542011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
16955
16956 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
16957 from process filters aren't reliably transmitted to the surrounding
16958 accept-process-output.
16959 (mpc-proc-check): New function.
16960 (mpc-proc-sync): Use it (bug#8293)
16961
93b6b5e1
SM
169622011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
16963
16964 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
16965 Add compatibility functions (bug#9313).
16966
bca633fb
EZ
169672011-08-23 Eli Zaretskii <eliz@gnu.org>
16968
b177498a
EZ
16969 * cus-start.el (all): Add entry for bidi-paragraph-direction.
16970
6df6ae42 16971 * international/uni-bidi.el: Regenerate.
bca633fb 16972
0902a04e
KH
169732011-08-23 Kenichi Handa <handa@m17n.org>
16974
16975 * international/charprop.el:
16976 * international/uni-bidi.el:
16977 * international/uni-category.el:
16978 * international/uni-combining.el:
16979 * international/uni-comment.el:
16980 * international/uni-decimal.el:
16981 * international/uni-decomposition.el:
16982 * international/uni-digit.el:
16983 * international/uni-lowercase.el:
16984 * international/uni-mirrored.el:
16985 * international/uni-name.el:
16986 * international/uni-numeric.el:
16987 * international/uni-old-name.el:
16988 * international/uni-titlecase.el:
16989 * international/uni-uppercase.el: Regenerate.
16990
3bbf23bc
MR
169912011-08-23 Martin Rudalics <rudalics@gmx.at>
16992
16993 * help.el (help-window-setup): Fix message displayed when other
16994 window is reused. (Bug#9341)
16995
b3fd59bd
SM
169962011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
16997
1802e444
SM
16998 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
16999 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
17000
b3fd59bd
SM
17001 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
17002 Mark obsolete.
17003 * shell.el (shell-parse-pcomplete-arguments): New function.
17004 (shell-completion-vars): Use it instead (bug#9160).
17005
4eb61348
SM
170062011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
17007
867cab74
SM
17008 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
17009 strings and comments (bug#9333).
17010
4eb61348
SM
17011 * emacs-lisp/debug.el (debug-arglist): New function.
17012 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
17013 (debug-on-entry-1): Handle interpreted closures (bug#9120).
17014
262a1439
JL
170152011-08-22 Juri Linkov <juri@jurta.org>
17016
56ee679c
JL
17017 * progmodes/compile.el (compilation-mode-font-lock-keywords):
17018 Revert regexp that highlights output switches to its old
17019 pre-2010-10-28 value and remove one `?' from it (bug#9319).
17020
262a1439
JL
17021 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
17022 to check for empty output (bug#9226).
17023
f13f86fb
CY
170242011-08-22 Chong Yidong <cyd@stupidchicken.com>
17025
17026 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
17027 symbol-constituent as the default, as that stops font-lock from
17028 working properly (Bug#8843).
17029
c65c9622
LMI
170302011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
17031
17032 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
17033 `coding-system-for-*' around the process open call to avoid
17034 auth-source side effects.
e7f2c178 17035 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
17036 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
17037 probe hangs.
c65c9622 17038
23a8a5ab
CY
170392011-08-21 Chong Yidong <cyd@stupidchicken.com>
17040
ff98b2dd
CY
17041 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
17042
23a8a5ab
CY
17043 * emacs-lisp/find-func.el (find-function-noselect): New arg
17044 lisp-only.
17045
17046 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
17047 signal an error for built-in functions (Bug#6664).
17048
f5e3c598
LMI
170492011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
17050
17051 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
17052 (smtpmail-try-auth-methods): Use it.
17053
a3f2468a
CY
170542011-08-21 Chong Yidong <cyd@stupidchicken.com>
17055
2c34e8da
CY
17056 * font-lock.el (font-lock-fontify-region)
17057 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
17058 (font-lock-default-unfontify-buffer)
17059 (font-lock-default-fontify-region)
17060 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
17061
b3fd59bd
SM
17062 * progmodes/compile.el (compilation-error-properties):
17063 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
17064 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
17065 `ant' regexp.
ee31aabc 17066
a3f2468a
CY
17067 * net/browse-url.el (browse-url-firefox): Don't call
17068 browse-url-firefox-sentinel unless using -remote (Bug#9328).
17069
8e999f70
GM
170702011-08-20 Glenn Morris <rgm@gnu.org>
17071
c21a496a
GM
17072 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
17073
59ee0542
GM
17074 * tutorial.el (tutorial--default-keys): Update some default bindings.
17075
8e999f70
GM
17076 * files.el (hack-local-variables): Fully ignore case for "mode:".
17077
e3715033
AM
170782011-08-20 Alan Mackenzie <acm@muc.de>
17079
17080 Resolve invalid use of a regexp in regexp-opt.
17081
4d61f28d
JB
17082 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
17083 detection for a java annotation.
e3715033 17084
4d61f28d 17085 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
17086 detection for a java annotation.
17087
4d61f28d
JB
17088 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
17089 handling for java.
e3715033
AM
17090 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
17091
04ed2e9c
CY
170922011-08-20 Chong Yidong <cyd@stupidchicken.com>
17093
17094 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
17095 (Bug#9274).
17096
826cee64
AM
170972011-08-20 Alan Mackenzie <acm@muc.de>
17098
58179cce 17099 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
17100 such a construct. Mainly for when jit-lock etc. starts a chunk
17101 here.
17102
58179cce 17103 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 17104 variable.
58179cce 17105 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
17106 c-make-font-lock-search-function.
17107 (c-make-font-lock-search-function): Use the above function.
17108 (c-make-font-lock-context-search-function): New function.
17109 (c-cpp-matchers): Enhance the preprocessor expression case with
17110 the above function
17111 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
17112 which takes an expression.
17113
17114 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
17115
13009bd8
MR
171162011-08-20 Martin Rudalics <rudalics@gmx.at>
17117
17118 * window.el (display-buffer-reuse-window)
17119 (display-buffer-pop-up-window): Don't reuse or split a side
17120 window.
17121
9234ff7f
GM
171222011-08-19 Glenn Morris <rgm@gnu.org>
17123
17124 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 17125 Downcase "Mode:". (Bug#9331)
9234ff7f 17126
f635daa1
CY
171272011-08-18 Chong Yidong <cyd@stupidchicken.com>
17128
17129 * international/characters.el: Add L and R categories.
17130
17131 * subr.el (bidi-string-mark-left-to-right): Rename from
17132 string-mark-left-to-right. Use category search.
17133
17134 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
17135
bc987f8b
JL
171362011-08-18 Juri Linkov <juri@jurta.org>
17137
17138 * faces.el (error, warning, success): New faces with definitions
17139 copied from old default values of `font-lock-warning-face',
17140 `compilation-warning', `compilation-info' (bug#6117).
17141
17142 * font-lock.el (font-lock-warning-face): Inherit from `error'.
17143
17144 * progmodes/compile.el (compilation-error): Inherit from `error'.
17145 (compilation-warning): Inherit from `warning'.
17146 (compilation-info): Inherit from `success'.
17147
17148 * dired.el (dired-marked): Inherit from `warning'.
17149 (dired-flagged): Inherit from `error'.
17150
57173b96
LMI
171512011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
17152
3e79eb87
LMI
17153 * mail/smtpmail.el (auth-source): Require to avoid problems with
17154 binding variables (bug#9298). Also clean up some unused
17155 autoloads.
17156
b3fd59bd
SM
17157 * net/network-stream.el (network-stream-open-starttls):
17158 Support using starttls.el without using gnutls-cli.
57173b96 17159
02b404de
JL
171602011-08-17 Juri Linkov <juri@jurta.org>
17161
17162 * progmodes/grep.el (rgrep): Handle the case when
17163 `grep-find-command' is a cons cell (bug#9278).
17164
8c9177f2
MR
171652011-08-17 Martin Rudalics <rudalics@gmx.at>
17166
17167 * window.el (display-buffer-pop-up-frame): Run frame creation
17168 function with BUFFER current (as special-display-popup-frame
17169 does). Reported by Drew Adams.
17170
3644a0ab
DU
171712011-08-17 Daiki Ueno <ueno@unixuser.org>
17172
17173 * epa-mail.el: Simplify GnuPG group expansion using
17174 epg-expand-group.
17175 (epa-mail-group-alist, epa-mail-group-modtime)
17176 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
17177 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
17178 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
17179 Remove.
17180
5e617bc2 171812011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
17182
17183 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
17184
9c4aeabf
AM
171852011-08-16 Alan Mackenzie <acm@muc.de>
17186
17187 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
17188 Correct, to avoid the inside of macros.
17189
3a99bf64
RS
171902011-08-16 Richard Stallman <rms@gnu.org>
17191
04963aa8
RS
17192 * epa-mail.el: Handle GnuPG group definitions.
17193 (epa-mail-group-alist, epa-mail-group-modtime)
17194 (epa-mail-gnupg-conf-file): New variables.
17195 (epa-mail-parse-groups, epa-mail-sync-groups)
17196 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
17197 (epa-mail-expand-recipients): New functions.
17198 (epa-mail-encrypt): Call epa-mail-expand-recipients.
17199
177549d0
RS
17200 * mail/rmail.el (rmail-epa-decrypt): New command.
17201
fe38beef
RS
17202 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
17203 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
17204 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
17205 (epa-decrypt-armor-in-region): Make error message clearer.
17206
934eacb9
SM
172072011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
17208
17209 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
17210 and "a2b" to "ab" for `prefix'.
17211
d024fb4e
CY
172122011-08-14 Chong Yidong <cyd@stupidchicken.com>
17213
17214 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
17215 filter groups.
de148fee
CY
17216 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
17217 Fourquet (Bug#8804).
d024fb4e 17218
62f1ca49
JB
172192011-08-12 Juanma Barranquero <lekktu@gmail.com>
17220
17221 * startup.el (argi): Declare as global variable (bug#9275).
17222
9ccaaa4b
CY
172232011-08-12 Chong Yidong <cyd@stupidchicken.com>
17224
17225 * subr.el (string-mark-left-to-right): Search the entire string
17226 for RTL script, not just the terminating character. Doc fix.
17227
a3dae87a
SM
172282011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
17229
6cd18349
SM
17230 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
17231 New function.
17232 (js--regexp-literal, js-syntax-propertize-function): Remove.
17233 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
17234 (js-mode-map): Don't rebind electric keys.
17235 (js-insert-and-indent): Remove.
17236 (js-mode): Setup electric-layout and electric-indent instead.
17237
a3dae87a
SM
17238 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
17239
9d5cb631
DU
172402011-08-12 Daiki Ueno <ueno@unixuser.org>
17241
17242 * epa.el (epa-progress-callback-function): Fix the logic of
17243 displaying progress.
17244 * epa-file.el (epa-file-insert-file-contents): Make progress
17245 display more user-friendly.
17246 (epa-file-write-region): Ditto.
17247
3e26a4a2
CY
172482011-08-10 Chong Yidong <cyd@stupidchicken.com>
17249
17250 * subr.el (string-mark-left-to-right): New function.
17251
17252 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
17253 Use string-mark-left-to-right.
17254 (list-buffers-noselect): Caller changed.
17255
a3dae87a
SM
17256 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
17257 Use string-mark-left-to-right.
3e26a4a2
CY
17258 (tabulated-list-print): Recenter after moving point.
17259
ac8cf6e6
JL
172602011-08-10 Juri Linkov <juri@jurta.org>
17261
17262 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
17263 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
17264 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
17265
8d96c9a4
CY
172662011-08-09 Chong Yidong <cyd@stupidchicken.com>
17267
17268 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
17269 (Bug#7554).
17270
7be1c708 172712011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
17272
17273 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
17274 character. (Bug#6594)
17275
37e11a63
CY
172762011-08-08 Chong Yidong <cyd@stupidchicken.com>
17277
839dde57
CY
17278 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
17279 (image-dired--with-db-file): New macro.
17280 (image-dired-write-tags, image-dired-remove-tag)
17281 (image-dired-create-gallery-lists, image-dired-write-comments)
17282 (image-dired-get-comment, image-dired-mark-tagged-files)
17283 (image-dired-list-tags, image-dired-gallery-generate): Use it.
17284 (image-dired-gallery-generate): Use insert-file-contents.
17285
37e11a63
CY
17286 * time.el (display-time-world-list, display-time-world-display):
17287 * time-stamp.el (time-stamp-string):
17288 * vc/add-log.el (add-change-log-entry): Use setenv instead of
17289 set-time-zone-rule (Bug#7337).
17290
0b4946c4
DU
172912011-08-08 Daiki Ueno <ueno@unixuser.org>
17292
17293 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
17294 (epg-error-to-string, epg-errors-to-string): New function.
17295 (epg-wait-for-completion): Reverse errors list.
17296 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
17297 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
17298 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
17299 (epg-sign-keys, epg-generate-key-from-file)
17300 (epg-generate-key-from-string): Format errors by using
17301 epg-errors-to-string (bug#9255).
17302 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
17303
75bfc667
JL
173042011-08-07 Juri Linkov <juri@jurta.org>
17305
17306 * faces.el (list-faces-display): Remove extra angle bracket
17307 from `help-mode-map'.
17308
17309 * info.el (Info-history-toc-nodes): Doc fix.
17310
17311 * longlines.el (longlines-mode): Doc fix.
17312
673e08bb
SM
173132011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
17314
4640dd88
SM
17315 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
17316 of statements and in a few more cases (bug#9183).
17317
673e08bb
SM
17318 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
17319 New functions.
17320 (cl-transform-lambda): Use them (bug#9239).
17321
89b3f019
MR
173222011-08-05 Martin Rudalics <rudalics@gmx.at>
17323
17324 * window.el (display-buffer-same-window)
17325 (display-buffer-same-frame, display-buffer-other-window)
17326 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
17327 (pop-to-buffer-other-window)
17328 (pop-to-buffer-same-frame-other-window)
17329 (pop-to-buffer-other-frame): Make them defuns.
17330 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
17331
640c8776
SM
173322011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
17333
17334 * subr.el (make-composed-keymap): Move from C. Change calling
17335 convention, and improve docstring to bring attention to a subtle point.
17336 * minibuffer.el (completing-read-default): Adjust accordingly.
17337
63648a95
MA
173382011-08-03 Michael Albinus <michael.albinus@gmx.de>
17339
17340 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
17341 (tramp-open-shell): Use `tramp-shell-quote-argument'.
17342
17343 * net/trampver.el: Update release number.
17344
b796c9b7
SM
173452011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
17346
17347 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
17348 "in" (bug#9190).
17349
2239d7d5
LMI
173502011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
17351
e07dd7c3
LMI
17352 * mail/sendmail.el (sendmail-query-once): Restore the current
17353 buffer after querying (bug#9074).
17354
0e6a2bd7
LMI
17355 * dired.el (dired-flagged): Use different faces for marked and
17356 flagged files (bug#6117).
17357
ce887515
LMI
17358 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
17359 (bug#4433).
17360
92f2affc
LMI
17361 * ido.el (ido-mode): Switch off the message if called
17362 non-interactively.
17363
57d5aff0
LMI
17364 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
17365 before 587, since it appears that that's more likely to work for
17366 more people.
17367
98cd6c18 17368 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 17369 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
17370 exist.
17371
b96dec83
LMI
17372 * info.el: Remove the `Info-beginning-of-buffer' function
17373 (bug#8325).
17374
b796c9b7
SM
17375 * net/network-stream.el (network-stream-open-starttls):
17376 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 17377
d90e2ea0
MR
173782011-08-01 Martin Rudalics <rudalics@gmx.at>
17379
17380 * window.el (display-buffer-in-window): Don't set dedicated status
17381 of window here (Bug#9215).
17382 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
17383 (display-buffer-pop-up-side-window)
b796c9b7 17384 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 17385
cca09170
SM
173862011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
17387
17388 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
17389 before binding generated-autoload-file.
17390
027b979c
DD
173912011-08-01 Deniz Dogan <deniz@dogan.se>
17392
17393 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
17394
3c7ee4f3
MA
173952011-07-30 Michael Albinus <michael.albinus@gmx.de>
17396
17397 Sync with Tramp 2.2.2.
17398
17399 * net/trampver.el: Update release number.
17400
2cc8e51a
JL
174012011-07-30 Juri Linkov <juri@jurta.org>
17402
17403 * dired-aux.el (dired-touch-initial): Remove function.
17404 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
17405 current time, and `default' to the last modification time of the
17406 current marked file (bug#6887).
17407
a514d856
JM
174082011-07-28 Jose E. Marchesi <jemarch@gnu.org>
17409
17410 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 17411 numeric argument to read-number (bug#9163).
a514d856 17412
8a7eddd7
MA
174132011-07-27 Michael Albinus <michael.albinus@gmx.de>
17414
17415 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
17416 connection process, it could be nil.
17417
1ddd96f5
LL
174182011-07-27 Leo Liu <sdl.web@gmail.com>
17419
17420 Simplify url handling in rcirc-mode.
17421
17422 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
17423 (rcirc-browse-url-at-mouse): Remove.
17424 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
17425
b248a85d
AM
174262011-07-26 Alan Mackenzie <acm@muc.de>
17427
17428 Fontify bitfield declarations properly.
17429
17430 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
17431 (c-symbol-chars): Now exported as a lang variable.
17432 (c-not-primitive-type-keywords): New lang variable.
17433
17434 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
17435 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 17436 parsed as a bitfield declaration.
b248a85d 17437
b796c9b7
SM
17438 * progmodes/cc-engine.el (c-beginning-of-statement-1):
17439 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
17440 (c-punctuation-in): New function.
17441 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
17442 declarations properly.
17443
68575ab0
UJ
174442011-07-26 Ulf Jasper <ulf.jasper@web.de>
17445
17446 * calendar/icalendar.el (icalendar--all-events): Take care of
17447 multiple vcalendars in a single file.
b796c9b7 17448 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 17449
0f0a88b9
DD
174502011-07-25 Deniz Dogan <deniz@dogan.se>
17451
17452 * image.el (insert-image): Clarifying docstring.
17453
0b3f36df
MA
174542011-07-24 Michael Albinus <michael.albinus@gmx.de>
17455
17456 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
17457 `tramp-send-command-and-check' if there is no error.
17458 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
17459
a9901f61
AM
174602011-07-22 Alan Mackenzie <acm@muc.de>
17461
17462 Prevent cc-langs.elc being loaded at run time.
17463
17464 * progmodes/cc-mode.el: Remove two autoload forms which loaded
17465 cc-langs.
17466
4d61f28d 17467 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
17468 "(require 'cc-langs)". Quote a form so it will evaluate at
17469 (cc-mode's) compilation time.
17470
11d074b2
MA
174712011-07-22 Michael Albinus <michael.albinus@gmx.de>
17472
17473 * net/tramp.el (tramp-file-name-handler): Avoid recursive
17474 loading. (Bug#9114)
17475
938b94c8
MR
174762011-07-21 Martin Rudalics <rudalics@gmx.at>
17477
17478 * window.el (display-buffer-pop-up-window)
17479 (display-buffer-pop-up-side-window)
17480 (display-buffer-in-side-window): Call display-buffer-set-height
17481 and display-buffer-set-width after setting the new window's
b796c9b7 17482 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 17483
bfa4f190
SS
174842011-07-20 Sam Steingold <sds@gnu.org>
17485
17486 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
17487 (etags-tags-included-tables): Call `convert-standard-filename' on
17488 the file names contained in TAGS so that windows Emacs can handle
17489 TAGS files created by cygwin ctags.
17490
8ca42262
LMI
174912011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
17492
17493 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
17494 which apparently didn't work.
17495
5db2afd2 174962011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 17497
5db2afd2
RW
17498 * proced.el (proced-send-signal): For *Marked Processes* buffer
17499 put point at beginning of buffer.
17500
92e15d10
SB
175012011-07-19 Stephen Berman <stephen.berman@gmx.net>
17502
17503 * proced.el (proced-format): Make header lines align with the text
17504 (bug#1779).
17505
1bfd59e5
LMI
175062011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
17507
17508 * view.el (view-buffer): Allow running in `special' modes if we're
17509 visiting a file (bug#8615).
17510
f5aae37c
MR
175112011-07-19 Martin Rudalics <rudalics@gmx.at>
17512
17513 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
17514 (display-buffer-alist-set-1, display-buffer-alist-set-2):
17515 New functions.
f5aae37c
MR
17516 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
17517 more accurately.
17518
bf2c1571
AM
175192011-07-18 Alan Mackenzie <acm@muc.de>
17520
17521 Fontify declarators properly when, e.g., a jit-lock chunk begins
17522 inside a declaration.
17523
17524 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
17525
b796c9b7
SM
17526 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
17527 New function.
bf2c1571
AM
17528 (c-complex-decl-matchers): Insert reference to
17529 c-font-lock-enclosing-decls.
17530
17531 * progmodes/cc-engine.el (c-backward-single-comment):
17532 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
17533 to nil around calls to (forward-comment -1).
17534
4e190b80
LMI
175352011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
17536
12dc863d
LMI
17537 * image.el (put-image): Doc typo fix.
17538
a762e966
LMI
17539 * progmodes/etags.el (tags-search): Doc typo fix.
17540
4e190b80
LMI
17541 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
17542 password if we get errors 550 to 554.
17543
f019fb21
LMI
175442011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
17545
b796c9b7 17546 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 17547
81746738
LMI
17548 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
17549 indentation character (bug#6380).
17550
3ee3a1b5
LMI
17551 * files.el (buffer-offer-save): Made permanently local (bug#6241).
17552
c82f64de
LMI
17553 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
17554 to clarify what the problem is (bug#4291).
17555
f019fb21
LMI
17556 * simple.el (current-kill): Clarify what
17557 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
17558 (auto-fill-mode): Document `auto-fill-function' in relation to
17559 `auto-fill-mode' (bug#2470).
f019fb21 17560
0794775d
LM
175612011-07-16 Lawrence Mitchell <wence@gmx.li>
17562
17563 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
17564 method if slot is read-only (bug#9035).
17565
be39b8cc
MR
175662011-07-16 Martin Rudalics <rudalics@gmx.at>
17567
b796c9b7 17568 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 17569 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
17570 selected before, see discussion of (Bug#8615), (Bug#6954).
17571 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 17572
6ccf7859
GM
175732011-07-15 Glenn Morris <rgm@gnu.org>
17574
17575 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 17576 Respect help-form.
6ccf7859 17577
87e86684
LM
175782011-07-09 Lawrence Mitchell <wence@gmx.li>
17579
17580 * net/gnutls.el (gnutls-min-prime-bits): New variable.
17581 (gnutls-negotiate): Use it.
17582
d6066239
LMI
175832011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
17584
b796c9b7
SM
17585 * net/gnutls.el (gnutls-negotiate):
17586 Upcase `gnutls-algorithm-priority'.
d6066239 17587
bd23ebc0
GM
175882011-07-15 Glenn Morris <rgm@gnu.org>
17589
c65bca65
GM
17590 * jka-compr.el (jka-compr-verbose): Move from here...
17591 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
17592 Add missing :version tag.
17593 * info.el: No need to require jka-compr when compiling.
bd23ebc0 17594
478615cc
LMI
175952011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
17596
7b41decb
LMI
17597 * net/gnutls.el (gnutls-algorithm-priority): New variable.
17598 (gnutls-negotiate): Use it.
17599
dbc44fcd
LMI
17600 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
17601
06789f97
LMI
17602 * info.el (Info-beginning-of-buffer): New command.
17603 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
17604 announcing `b' as the key (bug#8325).
ab896c37 17605 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 17606
c39da690
LMI
17607 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
17608
3aa5f34b
LMI
17609 * international/mule-cmds.el
17610 (describe-specified-language-support): Make the error message
17611 clearer (bug#8905).
17612
4bf0979f
LMI
17613 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
17614
478615cc
LMI
17615 * isearch.el (isearch-barrier): Add a doc string, since it's
17616 mentioned in a function doc string (bug#8678).
17617
75c68aa1
MR
176182011-07-15 Martin Rudalics <rudalics@gmx.at>
17619
17620 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
17621 buffer argument (Bug#9083) and self-identifying label argument.
17622
a7c33da2
GM
176232011-07-15 Glenn Morris <rgm@gnu.org>
17624
17625 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
17626
2f5c6024
LMI
176272011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
17628
17629 * man.el (Man-fontify-manpage): Fix message when formatting the
17630 man page (bug#7929).
17631
0bb23927 176322011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
17633
17634 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
17635 argument LRM; if non-nil, append an invisible LRM character to the
17636 buffer name.
17637 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
17638 last argument non-nil, when formatting buffer names.
0bb23927
EZ
17639 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
17640 paragraph direction.
cce4b0a7 17641
621ef9ab
LMI
176422011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
17643
d1583c48
LMI
17644 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
17645 the man page name (bug#7929).
17646
6a57fb5f
LMI
17647 * image.el (put-image): Mention the `put-image' overlay property
17648 (bug#7834).
17649
d7956b14
LMI
17650 * scroll-bar.el (set-scroll-bar-mode): Mention that
17651 `scroll-bar-mode' lists the values (bug#7772).
17652
5b2d4a66
LMI
17653 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
17654 command (bug#7729).
17655
7509a874
LMI
17656 * rect.el (apply-on-rectangle): Return the point after the last
17657 operation.
17658 (string-rectangle): Go to the point after the last operation
17659 (bug#7522).
17660
4fe74b19
LMI
17661 * printing.el (pr-toggle-region): Clarify the documentation
17662 slightly (bug#7493).
17663
b796c9b7
SM
17664 * time.el (display-time-update):
17665 Allow `display-time-mail-function' to return nil (bug#7158).
17666 Fix suggested by Detlev Zundel.
ab283561 17667
fc233c9d
LMI
17668 * vc/diff.el (diff): Clarify the order the file names are read
17669 (bug#7111).
17670
43f5740b
LMI
17671 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
17672 the doc string (bug#7015).
17673
f2182a76
LMI
17674 * font-lock.el (font-lock-maximum-decoration): Mention what
17675 numeric levels mean (bug#6935).
17676
621ef9ab
LMI
17677 * startup.el (initial-buffer-choice): Don't mention the `none'
17678 selection, which is against policy.
17679
adc47434
MR
176802011-07-14 Martin Rudalics <rudalics@gmx.at>
17681
b796c9b7
SM
17682 * window.el (display-buffer-normalize-special):
17683 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 17684
7e5bfb8f
EZ
176852011-07-14 Eli Zaretskii <eliz@gnu.org>
17686
17687 * subr.el (version<, version<=, version=): Mention "-CVS" and
17688 "-12345" alpha version numbers.
17689
27fa387a
CY
176902011-07-14 Chong Yidong <cyd@stupidchicken.com>
17691
17692 * bindings.el: Add advertised binding for set-mark-command
17693 (Bug#5772).
17694
8bdfa064
CY
176952011-07-14 Chong Yidong <cyd@stupidchicken.com>
17696
17697 * bindings.el (mode-line-other-buffer):
17698 * bookmark.el (bookmark-bmenu-2-window):
17699 * bs.el (bs-cycle-next, bs-cycle-previous):
17700 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
17701 switch-to-buffer.
17702
17703 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 17704 Delete.
8bdfa064 17705
5eba16a3
JB
177062011-07-14 Juanma Barranquero <lekktu@gmail.com>
17707
17708 * follow.el (follow-debug-message, follow-redisplay):
17709 * jka-cmpr-hook.el (with-auto-compression-mode):
17710 Fix typos in docstrings.
17711
15853710
LMI
177122011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
17713
a28e4607
LMI
17714 * subr.el (with-silent-modifications): Clarify somewhat what the
17715 macro inhibits (bug#6525).
17716
15853710
LMI
17717 * simple.el (eval-expression): Note what it does if called
17718 interactively (bug#6495).
17719
bee0fcef
CY
177202011-07-13 Chong Yidong <cyd@stupidchicken.com>
17721
b796c9b7
SM
17722 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
17723 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
17724
17725 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
17726 Remove switch-to-buffer.
17727
58274504
LMI
177282011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
17729
bd2fcc8d
LMI
17730 * files.el (make-directory): Clarify that an error will be raised
17731 if there's an error (bug#6397).
17732
0f04b32c
LMI
17733 * startup.el (initial-buffer-choice): Add `none' as a choice
17734 (bug#6234).
17735
465c5fc8
LMI
17736 * subr.el (add-hook): Clarify section about buffer-local hooks
17737 (bug#6218).
17738
58274504
LMI
17739 * dired.el (dired-flagged): Clarify doc string (bug#6117).
17740
bead9a43
JB
177412011-07-13 Juanma Barranquero <lekktu@gmail.com>
17742
17743 * tabify.el (untabify): Preserve the current column so that point
17744 doesn't move (bug#6032).
17745
3af98a7b
LMI
177462011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
17747
b796c9b7
SM
17748 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
17749 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 17750
6240145a
GM
177512011-07-13 Glenn Morris <rgm@gnu.org>
17752
17753 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
17754 (dired-insert-directory): Give a message the first time
17755 if ls is found not to support --dired.
17756
1d8c2ccc
LMI
177572011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
17758
17759 * simple.el (toggle-truncate-lines): Clarify what is toggled
17760 (bug#5580). Text by Drew Adams.
17761
5fc4038e
CY
177622011-07-13 Chong Yidong <cyd@stupidchicken.com>
17763
17764 * simple.el (blink-matching-open): Make the error message from the
17765 last change less verbose.
17766
bf6012e5
DN
177672011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
17768
17769 * font-lock.el (font-lock-comment-face): Use the high contrast
17770 "yellow" color for font-lock-comment-face on low color terminals
17771 using a dark background color (bug#4221).
17772
343c3b5a
LMI
177732011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
17774
7e9505c5
LMI
17775 * dired.el (dired-insert-set-properties): Make the doc string
17776 reflect what it does now (bug#5325).
17777
c26fdcf5
LMI
17778 * simple.el (blink-matching-open): Say that we were unable to find
17779 the match within the limit, if we're limited (bug#5122).
17780
bb388cc5
LMI
17781 * international/mule-cmds.el (prefer-coding-system): Add an
17782 example (bug#4869).
17783
343c3b5a
LMI
17784 * progmodes/etags.el (tags-search): Document `file-list-form'
17785 (bug#4731).
17786
2a517d45
LM
177872011-07-13 Lawrence Mitchell <wence@gmx.li>
17788
17789 * net/browse-url.el (browse-url-default-browser)
17790 (browse-url-browser-function): Make the default browser choice a
17791 bit more logical (bug#4300). Also clean up the doc string.
17792
b6c78ef2
JB
177932011-07-13 Juanma Barranquero <lekktu@gmail.com>
17794
17795 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
17796 binary endings (bug#4440).
17797
1c4dd947
LMI
177982011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
17799
a2014063
LMI
17800 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
17801 which can be pretty annoying (bug#8971).
17802
9c9c2d88
LMI
17803 * jka-compr.el (jka-compr-verbose): New variable, and use
17804 throughout (bug#8971).
17805
1c4dd947
LMI
17806 * info.el (Info-find-file): Fall back on the installation
17807 directory if we can't find the info node anywhere else.
17808
a1c9f41b
SO
178092011-07-13 Sergei Organov <osv@javad.com> (tiny change)
17810
17811 * vc/vc.el (vc-revert-file):
17812 Don't set file time-stamp in the past. (Bug#5181)
17813
536f3d36
LMI
178142011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
17815
7152b011
LMI
17816 * files.el (after-find-file): Give a better error message when
17817 trying to find a symlink that points to a file that doesn't exist
17818 (bug#4398).
17819
536f3d36
LMI
17820 * progmodes/cc-vars.el: Remove (probably) misleading comment
17821 (bug#4396).
17822
460c0fba
JB
178232011-07-12 Johan Bockgård <bojohan@gnu.org>
17824
17825 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
17826
7a6bda45
CY
178272011-07-12 Chong Yidong <cyd@stupidchicken.com>
17828
17829 * mouse-sel.el: Hack restoring functionality, while keeping
17830 compatibility with 2010-07-03 changes to mouse selection.
17831 (mouse-sel-primary-overlay): New var.
17832 (mouse-sel-selection-alist): Use it.
17833 (mouse-sel-mode): Doc fix; remove points that are default features
17834 of mouse.el.
17835
c79598ef
JB
178362011-07-12 Johan Bockgård <bojohan@gnu.org>
17837
17838 * progmodes/compile.el (compilation-error-regexp-alist-alist):
17839 Fix previous fix (bug#2490).
17840
ff8be6ef
RW
178412011-07-12 Roland Winkler <winkler@gnu.org>
17842
b796c9b7
SM
17843 * textmodes/bibtex.el (bibtex-initialize):
17844 Use pop-to-buffer-same-window.
ff8be6ef
RW
17845 (bibtex-search-entries): Fix interactive call.
17846
296ba3ee
LMI
178472011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
17848
f5242a02 17849 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
17850 Fontise bytecomp Error lines more correctly (bug#2490).
17851 Fix suggested by Johan Bockgård.
f5242a02 17852
296ba3ee
LMI
17853 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
17854
17855 * dired-x.el (dired-guess-default): Use `delete-dups'.
17856
f69fd0d2
CY
178572011-07-12 Chong Yidong <cyd@stupidchicken.com>
17858
17859 * dired.el (dired-mark-prompt):
17860 * dired-aux.el (dired-read-shell-command): Doc fix.
17861
eab5dc07
LMI
178622011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
17863
b796c9b7
SM
17864 * mail/sendmail.el (sendmail-query-once):
17865 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
17866 emacs -Q.
17867
17868 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
17869
eab5dc07
LMI
17870 * cus-edit.el (custom-file): Take an optional no-error variable.
17871 (customize-save-variable): Set the variable, and give a warning if
17872 running under "emacs -q".
17873
a1e65d42
JB
178742011-07-11 Juanma Barranquero <lekktu@gmail.com>
17875
17876 * loadhist.el (unload-feature-special-hooks):
17877 Add `auto-coding-functions', `fill-nobreak-predicate' and
17878 `find-directory-functions' (bug#5327).
17879
1d52da10
LMI
178802011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
17881
be958f1d
LMI
17882 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
17883
5bedb26c
LMI
17884 * cus-edit.el (custom-guess-name-alist): -alist variables should
17885 use the `alist' type (bug#3120). Suggested by Drew Adams.
17886
1d52da10
LMI
17887 * printing.el: Add documentation to all the `pr-toggle-' commands.
17888
cd394be1 178892011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
17890
17891 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
17892 backends where it makes sense (bug#2623).
17893
dcc88d8a
LMI
178942011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
17895
c3de9feb
LMI
17896 * dired-x.el (dired-guess-default): Remove duplicate shell command
17897 entries (bug#2028).
8a93078b 17898 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 17899 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 17900
dcc88d8a
LMI
17901 * subr.el (remove-duplicates): New conveniency function.
17902
505e3645
LMI
179032011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
17904
17905 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
17906 (bug#1526).
17907
179082011-07-10 Martin Rudalics <rudalics@gmx.at>
17909
17910 * window.el (display-buffer-normalize-default): Don't invert
17911 meaning of even-window-heights. Reported by Eli Zaretskii
17912 <eliz@gnu.org>.
17913
455e4fa1
BR
179142011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
17915
17916 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
17917
8e0bc3e9
CY
179182011-07-10 Chong Yidong <cyd@stupidchicken.com>
17919
17920 * window.el (display-buffer): Fix arguments to
17921 display-buffer-reuse-window in last change.
17922
fa7c3228
CY
17923 * faces.el (link): Use a less saturated blue on light backgrounds.
17924
17925 * startup.el (fancy-startup-text, fancy-about-text)
17926 (fancy-startup-tail): Use font-lock faces, for background safety.
17927
c0a7f300
BN
179282011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
17929
b796c9b7
SM
17930 * emulation/viper-cmd.el (viper-change-state-to-vi):
17931 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 17932
4dc2a129
MR
179332011-07-09 Martin Rudalics <rudalics@gmx.at>
17934
17935 * window.el (display-buffer-default-specifiers): Remove.
17936 (display-buffer-macro-specifiers): Remove default specifiers.
17937 (display-buffer-alist): Default to nil.
b796c9b7 17938 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
17939 (display-buffer-pop-up-window): Allow splitting internal
17940 windows. Check whether a live window was created.
17941 (display-buffer-other-window-means-other-frame)
17942 (display-buffer-normalize-arguments): Rename to
17943 display-buffer-normalize-argument and rewrite. Set the
17944 other-window specifier.
17945 (display-buffer-normalize-special): New function.
17946 (display-buffer-normalize-options): Rename to
17947 display-buffer-normalize-default and rewrite.
17948 (display-buffer-normalize-options-inhibit): Remove.
17949 (display-buffer-normalize-specifiers): Rewrite.
17950 (display-buffer): Process other-window specifier and call
17951 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
17952 more faithfully.
b796c9b7 17953 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 17954 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
17955 (display-buffer-in-window, display-buffer-alist-set):
17956 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
17957 <tassilo@member.fsf.org>.
17958
2d43b8c9
LL
179592011-07-09 Leo Liu <sdl.web@gmail.com>
17960
17961 * register.el (insert-register): Restore accidental change on
17962 2011-06-26. (Bug#9028)
17963
7f9b7c53
GM
179642011-07-09 Glenn Morris <rgm@gnu.org>
17965
17966 * subr.el (remq): Handle the empty list. (Bug#9024)
17967
f042cfd8
AS
179682011-07-08 Andreas Schwab <schwab@linux-m68k.org>
17969
17970 * mail/sendmail.el (send-mail-function): No longer delay custom
17971 initialization.
17972 * custom.el (custom-initialize-delay): Doc fix.
17973
856b2f11
SM
179742011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
17975
17976 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
17977
afae1d68
MA
179782011-07-08 Michael Albinus <michael.albinus@gmx.de>
17979
17980 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
17981 human-friendly prompt.
17982
0757af94
SM
179832011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
17984
17985 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
17986 provided by a particular plugin.
17987
d760b731
LMI
179882011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
17989
17990 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
17991 save customizations (with "emacs -Q"), just set the variable
17992 instead of erroring out.
17993
17994 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
17995
cd79ce90
JL
179962011-07-08 Juri Linkov <juri@jurta.org>
17997
17998 * arc-mode.el (archive-zip-expunge, archive-zip-update)
17999 (archive-zip-update-case): Use 7z if found by `executable-find'.
18000 The order of searching the available programs is the same as in
18001 `archive-zip-extract' (bug#8968).
18002
14cc04aa
CY
180032011-07-07 Chong Yidong <cyd@stupidchicken.com>
18004
18005 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
18006 (menu-bar-options-menu): Tweak descriptions.
18007
0a1848ec
LMI
180082011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
18009
18010 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
18011 menu items into verb phrases (bug#1421). Also refill to fit under
18012 80 columns.
18013
f5bd0689
CY
180142011-07-07 Chong Yidong <cyd@stupidchicken.com>
18015
538e85c6
CY
18016 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
18017 (Info-read-node-name): Doc fix (Bug#1084).
18018
f5bd0689
CY
18019 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
18020 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
18021 (end-of-sexp, beginning-of-sexp)
18022 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
18023 (forward-symbol, forward-same-syntax, word-at-point)
18024 (sentence-at-point): Doc fix (Bug#1144).
18025
56ec5115
LMI
180262011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
18027
f3f8e37f
LMI
18028 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
18029 should cover it (bug#1281).
18030
0757af94 18031 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 18032
e9fce1ac 18033 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
18034 negotiation fails, then possibly try again with a non-encrypted
18035 connection (bug#9017).
18036
56ec5115
LMI
18037 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
18038 be used.
18039
c2f9aec8
RS
180402011-07-07 Richard Stallman <rms@gnu.org>
18041
18042 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
18043 property, and handle its changed format.
18044 Look for the correct line number.
18045 Use file's line contents (but not past first =) to find
18046 correct line in message.
18047
ef7b981d 180482011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
18049
18050 * international/characters.el (build-unicode-category-table):
18051 Delete it.
0757af94 18052 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 18053
0757af94 18054 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
18055 to src/chartab.c.
18056 (get-char-code-property): Call unicode-property-table-internal to
18057 load a file. Call get-unicode-property-internal where necessary.
18058 (put-char-code-property): Call unicode-property-table-internal to
18059 load a file. Call put-unicode-property-internal where necessary.
18060 put-unicode-property-internal where necessary.
0757af94
SM
18061 (char-code-property-description):
18062 Call unicode-property-table-internal to load a file.
c805dec0
KH
18063
18064 * international/charprop.el:
18065 * international/uni-bidi.el:
18066 * international/uni-category.el:
18067 * international/uni-combining.el:
18068 * international/uni-comment.el:
18069 * international/uni-decimal.el:
18070 * international/uni-decomposition.el:
18071 * international/uni-digit.el:
18072 * international/uni-lowercase.el:
18073 * international/uni-mirrored.el:
18074 * international/uni-name.el:
18075 * international/uni-numeric.el:
18076 * international/uni-old-name.el:
18077 * international/uni-titlecase.el:
18078 * international/uni-uppercase.el: Regenerate.
18079
18080 * loadup.el: Load international/charprop.el before
18081 international/characters.
18082
e14b388a
CY
180832011-07-07 Chong Yidong <cyd@stupidchicken.com>
18084
18085 * window.el (next-buffer, previous-buffer): Signal an error if
18086 called from a minibuffer window.
18087
18088 * bindings.el: Revert 2011-07-04 change.
18089
354cf0ba
RS
180902011-07-06 Richard Stallman <rms@gnu.org>
18091
18092 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
18093 (rmail-mime-insert-bulk, rmail-mime-insert-text):
18094 Treat markers like ints.
18095 (rmail-mime-entity): Doc fix.
18096
a48868a7
LMI
180972011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
18098
4906cd3d
LMI
18099 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
18100 defcustom again for backwards compatibility.
18101
e0457abe
LMI
18102 * simple.el (shell-command-on-region): Fill.
18103
d67f7e1f
LMI
18104 * dired-aux.el (dired-kill-line): Add a doc string.
18105
fe204702
LMI
18106 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
18107 to "\\sw\\|\\s_" (bug#358).
18108
a48868a7
LMI
18109 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
18110 (dired-unmark-backward): Ditto.
18111 (dired-flag-backup-files): Ditto.
18112
18113 * dired-x.el (dired-mark-sexp): Ditto.
18114
aa8a705c
RS
181152011-07-06 Richard Stallman <rms@gnu.org>
18116
18117 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
18118 (rmail-mime-entity): New arg TRUNCATED.
18119 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
18120 New functions.
18121 (rmail-mime-save): Warn if entity is truncated.
18122 (rmail-mime-toggle-hidden): Likewise, for showing.
18123 (rmail-mime-process-multipart): Record when an entity is truncated.
18124
a9a936b9
RS
18125 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
18126 if ENTITY is a string.
18127
1f2b92cb
LMI
181282011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
18129
f4f73198 18130 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
18131 of faces when `M-C-x'-ing their definitions (bug#8378).
18132 Also clean up the code slightly.
f4f73198 18133
12b16734 18134 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 18135 because that makes the colors go away.
12b16734 18136
f0691d22
LMI
18137 * mail/sendmail.el (send-mail-function): Change the default to
18138 `sendmail-query-once'.
9e87df06 18139 (sendmail-query-once): Add an autoload cookie.
f0691d22 18140
1f2b92cb
LMI
18141 * net/network-stream.el (network-stream-open-starttls): Try using
18142 a plain connection even if the server offered STARTTLS, and we
18143 kinda wanted to use it, if Emacs doesn't have any STARTTLS
18144 capability. This should make smtpmail.el work in slightly more
18145 configurations.
18146
1cdd2a1b
MA
181472011-07-06 Michael Albinus <michael.albinus@gmx.de>
18148
18149 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
18150 New defun.
18151 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
18152
fbcc67e2
MM
181532011-07-06 Michael R. Mauger <mmaug@yahoo.com>
18154
18155 * progmodes/sql.el: Version 3.0
0757af94 18156 (sql-product-alist): Add product :completion-object,
fbcc67e2 18157 :completion-column, and :statement attributes.
0757af94 18158 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 18159 (sql-mode-syntax-table): Mark all punctuation.
0757af94 18160 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
18161 ansi keywords.
18162 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 18163 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
18164 (sql-oracle-show-reserved-words): New function for development.
18165 (sql-product-font-lock): Simplify for source code buffers.
18166 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
18167 New functions.
18168 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
18169 (sql-mode-map): Add statement movement functions.
18170 (sql-ansi-statement-starters, sql-oracle-statement-starters):
18171 New variable.
fbcc67e2
MM
18172 (sql-statement-regexp, sql-beginning-of-statement)
18173 (sql-end-of-statement, sql-signum): New functions.
0757af94 18174 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
18175 (sql-show-sqli-buffer): Bug fix.
18176 (sql-interactive-mode): Store connection data as buffer local.
0757af94 18177 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
18178 with sql-interactive-mode.
18179 (sql-save-connection): Save buffer local settings.
0757af94 18180 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
18181 (sql-product-interactive): Bug fix.
18182 (sql-preoutput-hold): New variable.
18183 (sql-interactive-remove-continuation-prompt): Bug fixes.
18184 (sql-debug-redirect): New variable.
18185 (sql-str-literal): New function.
18186 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 18187 Redesign.
fbcc67e2
MM
18188 (sql-oracle-save-settings, sql-oracle-restore-settings)
18189 (sql-oracle-list-all, sql-oracle-list-table): New functions.
18190 (sql-completion-object, sql-completion-column)
18191 (sql-completion-sqlbuf): New variables.
18192 (sql-build-completions-1, sql-build-completions)
18193 (sql-try-completion): New functions.
18194 (sql-read-table-name): Use them.
18195 (sql-contains-names): New buffer local variable.
18196 (sql-list-all, sql-list-table): Use it.
18197 (sql-oracle-completion-types): New variable.
18198 (sql-oracle-completion-object, sql-sqlite-completion-object)
18199 (sql-postgres-completion-object): New functions.
18200
d4eaeab1
GM
182012011-07-06 Glenn Morris <rgm@gnu.org>
18202
18203 * window.el (pop-to-buffer): Doc fix.
18204
322b7dab 182052011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
18206
18207 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
18208
322b7dab 182092011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 18210
322b7dab 18211 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 18212
322b7dab 18213 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 18214
605dd5bf
CY
182152011-07-05 Chong Yidong <cyd@stupidchicken.com>
18216
18217 * button.el (button): Inherit from link face. Suggested by Dan
18218 Nicolaescu.
18219
7dbfa719
SM
182202011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
18221
3db614b0
SM
18222 * progmodes/gdb-mi.el: Fit in 80 columns.
18223 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
18224 switch-to-buffer.
18225
7dbfa719
SM
18226 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
18227 if imenu is simply not configured (bug#8941).
18228
919d884a
KM
182292011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
18230
18231 * allout.el (allout-post-undo-hook): New allout outline-change
18232 event hook to signal undo activity.
18233 (allout-post-command-business): Run allout-post-undo-hook if an
18234 undo just occurred.
7dbfa719
SM
18235 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
18236 * allout-widgets.el (allout-widgets-after-undo-function):
18237 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
18238 in the vicinity of an undo.
18239 (allout-widgets-mode): Include allout-widgets-after-undo-function
18240 on the new allout-post-undo-hook.
18241
450a0f09
SM
182422011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
18243
18244 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
18245 Let define-derived-mode define it.
18246 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
18247 cycles of abbrev-table inheritance (bug#8998).
18248
2de69e00
RW
182492011-07-05 Roland Winkler <winkler@gnu.org>
18250
18251 * textmodes/bibtex.el: Add support for biblatex.
18252 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
18253 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
18254 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
18255 (bibtex-entry-alist, bibtex-field-alist): New variables.
18256 (bibtex-entry-field-alist): Obsolete alias for
18257 bibtex-BibTeX-entry-alist.
18258 (bibtex-entry-alist, bibtex-field-alist): New widgets.
18259 (bibtex-set-dialect): New command.
18260 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
18261 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
18262 Bind via bibtex-set-dialect.
2de69e00
RW
18263 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
18264 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
18265 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
18266 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
18267 Define via bibtex-set-dialect.
450a0f09
SM
18268 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
18269 Obey bibtex-no-opt-remove-re.
2de69e00
RW
18270 (bibtex-vec-push, bibtex-vec-incr): New functions.
18271 (bibtex-format-entry, bibtex-field-list)
18272 (bibtex-print-help-message, bibtex-validate)
18273 (bibtex-search-entries): Use new format of bibtex-entry-alist.
18274
2dcdbdd9
SM
182752011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
18276
18277 * progmodes/compile.el (compilation-goto-locus):
18278 * net/tramp-cmds.el (tramp-append-tramp-buffers):
18279 * bs.el (bs-cycle-next, bs-cycle-previous):
18280 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
18281 * bindings.el (mode-line-other-buffer):
18282 * autoinsert.el (auto-insert):
18283 * arc-mode.el (archive-extract):
18284 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
18285
b27640fe
JB
182862011-07-05 Juanma Barranquero <lekktu@gmail.com>
18287
18288 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
18289 Fix check of `emacs-lock-unlockable-modes'.
18290 Coerce true values of `emacs-lock--try-unlocking' to t.
18291
53bbe3ad
JB
182922011-07-05 Juanma Barranquero <lekktu@gmail.com>
18293
18294 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
18295 * emacs-lock.el: New file.
18296
1d3cdbc7
JD
182972011-07-05 Julien Danjou <julien@danjou.info>
18298
18299 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
18300 than `boundp' to check if face is set.
18301
9173deec
JB
183022011-07-05 Juanma Barranquero <lekktu@gmail.com>
18303
18304 * register.el (registerv-make):
18305 * window.el (window-min-height): Fix typos in docstrings.
18306
869795d6
JD
183072011-07-05 Jan Djärv <jan.h.d@swipnet.se>
18308
9173deec 18309 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
18310 Update doc string.
18311
b768cdcd
JB
183122011-07-04 Juanma Barranquero <lekktu@gmail.com>
18313
18314 * server.el (server-execute): Catch quit and call
18315 `server-return-error' to pass the error back to emacsclient and
18316 close the connection (bug#8942).
18317
13aa217b
KM
183182011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
18319
18320 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
18321 insecure exception for current topic. Also note that auto-saves
18322 are handled differently.
18323
5d3385a0 18324 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
13aa217b
KM
18325 State variables for tracking auto-save inhibition situation.
18326
18327 (allout-write-contents-hook-handler): Rename from
18328 'allout-write-file-hook-handler', and describe how it depends on
18329 write-contents-functions sensitivity to non-nil value to prevent
18330 file write.
18331
18332 (allout-auto-save-hook-handler): Remove. auto-save does not check
18333 this in individual buffers, only in the starting buffer, so this
18334 is not the right way for us to inhibit auto-save in a buffer
18335 according to its condition.
18336
18337 (allout-mode): Use new allout-write-contents-hook-handler, and
18338 only with write-contents-functions. Remove auto-save provisions -
18339 they're implemented elsewhere.
18340
18341 (allout-before-change-handler): If undo is in progress, note that
18342 for attention of allout-post-command-business.
18343
18344 (allout-post-command-business): If the command we're following was
18345 an undo, check for change in the status of encrypted items and
18346 adjust auto-save inhibitions accordingly.
18347
18348 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
18349 according to whether there are or aren't any plain-text topics
18350 pending encryption.
18351
2dcdbdd9 18352 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
18353 Adjust buffer-saved-size and some allout state to inhibit auto-saves
18354 if there are plain-text topics pending encryption.
13aa217b
KM
18355
18356 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
18357 buffer-saved-size and some allout state to not inhibit auto-saves
18358 if there are no longer any plain-text topics pending encryption.
18359
0757af94
SM
18360 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
18361 No longer provide for exemption of the current topic.
13aa217b 18362
ac89b32c
JL
183632011-07-04 Juri Linkov <juri@jurta.org>
18364
18365 Add 7z operations to delete and save changed members (bug#8968).
18366 * arc-mode.el (archive-7z-expunge, archive-7z-update):
18367 New defcustoms.
18368 (archive-7z-write-file-member): New function.
18369 (archive-7z-summarize): Fix the number of dashes in the
18370 listing output.
18371
8fa39615
SM
183722011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
18373
18374 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
18375 (bug#8958).
18376
2f11b3f1
CY
183772011-07-04 Chong Yidong <cyd@stupidchicken.com>
18378
d66fef2b
CY
18379 * bindings.el: Ignore next-buffer and previous-buffer in
18380 minibuffer-local-map.
18381
2f11b3f1
CY
18382 * font-lock.el (font-lock-builtin-face): Change light background
18383 color to dark slate blue (Bug#6693).
18384
f932a347
WD
183852011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
18386
18387 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
18388
c8af70e1
SM
183892011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
18390
18391 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
18392 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
18393 Add switch-to-buffer.
18394
f158badc
LMI
183952011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
18396
18397 * isearch.el (isearch-search-fun-function): Clarify further the
18398 meaning of the function returned.
18399
6d95bd46
MA
184002011-07-04 Michael Albinus <michael.albinus@gmx.de>
18401
18402 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
18403
18404 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
18405 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
18406 Use it.
18407 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
18408 `tramp-default-remote-path' does not exist.
18409 (tramp-send-command-and-read): New optional argument NOERROR.
18410 (tramp-open-connection-setup-interactive-shell)
18411 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
18412 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
18413 (tramp-process-sentinel): Flush also process' connection property.
18414 (tramp-sh-handle-start-file-process): Do not set process
18415 sentinel. It is done now ...
18416 (tramp-maybe-open-connection): ... here. (Bug#8929)
18417
909e6b67
MK
184182011-07-04 MON KEY <monkey@sandpframing.com>
18419
18420 * play/animate.el (animate-string): Doc fixes and allow changing
18421 the buffer name (bug#5417).
18422
184232011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
18424
c8af70e1 18425 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 18426
f34755dc
PE
184272011-07-04 Paul Eggert <eggert@cs.ucla.edu>
18428
396cec72
PE
18429 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
18430 This is simpler and helps future-proof the code.
18431 (timer-until): Use time-subtract and float-time.
08235028 18432 (timer--time-less-p): Use time-less-p.
f34755dc 18433
56e6cc31
JB
184342011-07-04 Juanma Barranquero <lekktu@gmail.com>
18435
3abb79e5
JB
18436 * type-break.el (timep): Use the value of `float-time' to avoid a
18437 byte-compiler warning.
18438
56e6cc31
JB
18439 * server.el (server-eval-and-print): Return any result, even nil.
18440
7b9430b4
PE
184412011-07-03 Paul Eggert <eggert@cs.ucla.edu>
18442
18443 * type-break.el: Accept time formats that the builtins accept.
18444 (timep, type-break-time-difference): Accept any format that
18445 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
18446 This is simpler and helps future-proof the code.
18447 (type-break-time-difference): Round rather than ignoring
18448 subseconds components.
18449
3034e9e7
LMI
184502011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
18451
18452 * info.el (Info-apropos-matches): Make non-interactive, since it
18453 doesn't seem to do anything useful as a command (bug#8829).
18454
1485f4c0
CY
184552011-07-03 Chong Yidong <cyd@stupidchicken.com>
18456
18457 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 18458 Move from faces.el.
1485f4c0
CY
18459 (frame-default-terminal-background): New function.
18460
18461 * custom.el (custom-push-theme): Don't record faces in `changed'
18462 theme; this doesn't work correctly for per-frame face settings.
18463 (disable-theme): Use face-set-after-frame-default to reset faces.
18464 (custom--frame-color-default): New function.
18465
9fa3dd45
LMI
184662011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
18467
c8af70e1 18468 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
18469 (bug#8769).
18470
6cbbc20c
KR
184712011-03-29 Kevin Ryde <user42@zip.com.au>
18472
18473 * progmodes/compile.el (compilation-error-regexp-alist-alist):
18474 `perl-Test2' extend to match possible "fail #N" rep count
18475 (bug#8377).
18476
c7f98048
LMI
184772011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
18478
65676592
LMI
18479 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
18480 `smtpmail-via-smtp' now returns the error instead of nil.
18481
c7f98048
LMI
18482 * isearch.el (isearch-search-fun-function): Clarify the doc string
18483 (bug#8101).
18484
56e6cc31 184852011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
18486
18487 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
18488 unnecessary spaces (bug#8987).
18489
2b216704
LMI
184902011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
18491
18492 * net/network-stream.el (open-network-stream): Use the
18493 :end-of-capability command thoughout.
18494
184952011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
18496
18497 * net/network-stream.el (open-network-stream): Add the
18498 :end-of-capability command parameter, used by pop3.el.
18499
36adf6ce
LMI
185002011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
18501
1ca0da0e
LMI
18502 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
18503
fc00f69c
LMI
18504 * fringe.el (fringe-query-style): Remove redundant text " (type ?
18505 for list)" (bug#6475).
18506
28fd8759 18507 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 18508 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
18509 an error (bug#6297).
18510
0dd8b6da
LMI
18511 * man.el (Man-reference-regexp): Allow matching possible
18512 word-wrapped references (bug#6289).
18513
ce1438d6
LMI
18514 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
18515 for consistency with the other vc buffers (bug#6197).
18516 (vc-checkin): Ditto.
18517
18518 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
18519
36adf6ce
LMI
18520 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
18521
e83cc1f7
LMI
185222011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
18523
8a20ca4c
LMI
18524 * custom.el (defcustom): Clarify that :set is only used in the
18525 Customize user interface (bug#6089).
18526
83319045
LMI
18527 * progmodes/flymake.el (flymake-mode): If the buffer isn't
18528 associated with a file, refuse to run instead of erroring out
18529 (bug#6084).
18530
a8392169
LMI
18531 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
18532 the doc string, since it appears that using `fill-column' always
18533 controls the width (bug#7845).
18534
e83cc1f7
LMI
18535 * simple.el (shell-command-on-region): Say where the error output
18536 went if `shell-command-default-error-buffer' is set (bug#6857).
18537
e47ca23b
KM
185382011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
18539
18540 * allout.el (allout-yank-processing): Adjust cursor position for
18541 backwards-deleted space.
18542
18543 (allout-rebullet-heading): Register changes with
18544 allout-exposure-changed-hook, so the modified topic is properly
18545 decorated.
18546
5cf56143
LMI
185472011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
18548
08549772
LMI
18549 * minibuffer.el (completion-in-region): Document PREDICATE
18550 (bug#7136).
18551
48e96771
LMI
18552 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
18553 of keyword/argument pairs (bug#6904).
18554
c8af70e1
SM
18555 * replace.el (multi-occur):
18556 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 18557
e17d05e2
LMI
185582011-07-02 Drew Adams <drew.adams@oracle.com>
18559
18560 * dired.el (dired-mark-if): Make the message about whether it's
18561 marking or unmarking clearer (bug#8523).
18562
063b0e45
LMI
185632011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
18564
18565 * disp-table.el (display-table-print-array): New function.
18566 (describe-display-table): Use it to print the vectors more pretty
18567 (Bug#8859).
18568
28545e04
MR
185692011-07-02 Martin Rudalics <rudalics@gmx.at>
18570
18571 * window.el (window-state-get-1): Don't assign clone numbers.
18572 Add clone-of item to list of window parameters.
18573 (window-state-put-2): Don't process clone numbers.
18574 (display-buffer-alist): Fix doc-string.
18575
3349e122
SM
185762011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
18577
18578 * subr.el (remq): Don't allocate if it's not needed.
18579 (keymap--menu-item-binding, keymap--menu-item-with-binding)
18580 (keymap--merge-bindings): New functions.
18581 (keymap-canonicalize): Use them to refine the canonicalization.
18582 * minibuffer.el (minibuffer-local-completion-map)
18583 (minibuffer-local-must-match-map): Move initialization from C.
18584 (minibuffer-local-filename-completion-map): Move initialization from C;
18585 don't inherit from anything here.
18586 (minibuffer-local-filename-must-match-map): Make obsolete.
18587 (completing-read-default): Use make-composed-keymap to combine
18588 minibuffer-local-filename-completion-map with either
18589 minibuffer-local-must-match-map or
18590 minibuffer-local-filename-completion-map.
18591
d224ac83
GM
185922011-07-01 Glenn Morris <rgm@gnu.org>
18593
3de63bf8
GM
18594 * type-break.el (type-break-time-sum): Use dolist.
18595
d224ac83
GM
18596 * textmodes/flyspell.el (flyspell-word-search-backward):
18597 Replace CL function.
18598
1a1e3f32
SM
185992011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
18600
fe3f64d5
SM
18601 * mouse.el (mouse--strip-first-event): New function.
18602 (function-key-map): Use it to map fringe clicks to normal clicks
18603 by default.
18604
eb604e34
SM
18605 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
18606 (vc-bzr-revision-completion-table): Add support for annotate and date.
18607
1a1e3f32
SM
18608 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
18609 inherit from parent.
18610
5bd35902
LMI
186112011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
18612
ace6c69c 18613 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 18614 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 18615
191e2bed
LMI
18616 * dired.el (dired-mode): Fix up the doc string as suggested by
18617 Drew Adams (bug#8817).
18618
5bd35902
LMI
18619 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
18620 cookie, since the manual says that it should be possible to add
18621 this function to `find-file-hook' (bug#8709).
18622
eee8207a
TZ
186232011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
18624
18625 * progmodes/cfengine.el: Moved all cfengine3.el functionality
18626 here. Noted Ted Zlatanov as the maintainer.
18627 (cfengine-common-settings, cfengine-common-syntax): New functions
18628 to set up common things between `cfengine-mode' and
18629 `cfengine3-mode'.
18630 (cfengine3-mode): New mode.
18631 (cfengine3-defuns cfengine3-defuns-regex
18632 (cfengine3-class-selector-regex cfengine3-category-regex)
18633 (cfengine3-vartypes cfengine3-font-lock-keywords)
18634 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 18635 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 18636
36b148cf
MA
186372011-07-01 Michael Albinus <michael.albinus@gmx.de>
18638
18639 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
18640
18641 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
18642
0bf4ba9a
MR
186432011-07-01 Martin Rudalics <rudalics@gmx.at>
18644
18645 * window.el (same-window-buffer-names, same-window-regexps)
18646 (same-window-p, special-display-frame-alist)
18647 (special-display-popup-frame, special-display-function)
18648 (special-display-buffer-names, special-display-regexps)
18649 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
18650 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
18651 (split-window-preferred-function, split-height-threshold)
18652 (split-width-threshold, even-window-heights)
18653 (display-buffer-mark-dedicated, window-splittable-p)
18654 (split-window-sensibly, window-safely-shrinkable-p):
18655 Un-obsolete.
18656 (display-buffer): Don't spread args with function specifier
18657 because special-display-popup-frame won't like it.
18658
35837f51
PE
186592011-07-01 Paul Eggert <eggert@cs.ucla.edu>
18660
d0672f86
PE
18661 Time-stamp simplifications and fixes.
18662 These improve accuracy slightly, and future-proof the code
18663 against some potential changes to current-time format.
18664
b9444d97
PE
18665 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
18666 by using time-since and float-time.
18667
0ef923dc
PE
18668 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
18669 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
18670 + NNN microseconds".
18671
2f81380d
PE
18672 * type-break.el (type-break-time-sum): Rewrite using time-add.
18673
845b5c3e
PE
18674 * play/hanoi.el (hanoi-current-time-float): Remove.
18675 All uses replaced by float-time.
18676
ee6f1be0
PE
18677 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
18678 This yields a more-accurate answer.
18679 (rng-time-to-float): Remove; no longer needed.
18680
fe955043
PE
18681 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
18682
5777162a
PE
18683 * calendar/timeclock.el (timeclock-seconds-to-time):
18684 Defalias to seconds-to-time, since they're the same thing.
18685
3103f8b6 18686 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 18687 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
18688 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
18689
0e61a35f
SM
186902011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
18691
18692 * window.el (bury-buffer): Don't iconify the only frame.
18693 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
18694 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
18695
ddd63a1e
CY
186962011-07-01 Chong Yidong <cyd@stupidchicken.com>
18697
0e61a35f
SM
18698 * eshell/em-smart.el (eshell-smart-display-navigate-list):
18699 Add mouse-yank-primary.
ddd63a1e 18700
055f4923
TZ
187012011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
18702
18703 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
18704
6a2fb145
SM
187052011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
18706
18707 * emacs-lisp/find-func.el (find-library--load-name): New fun.
18708 (find-library-name): Use it to find relative load names when provided
18709 absolute file name (bug#8803).
18710
fd4983f2
LMI
187112011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
18712
887d14ad
LMI
18713 * textmodes/flyspell.el (flyspell-word): Consider words that
18714 differ only in case as potential doublons (bug#5687).
18715
c53dc7fc
LMI
18716 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
18717 Remove two rather uninteresting debugging-like messages to make
18718 debbugs.el more silent.
18719
fd4983f2
LMI
18720 * comint.el (comint-password-prompt-regexp): Accept "Response" as
18721 a password-like phrase.
18722
7a71b18d 187232011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
18724
18725 * progmodes/cc-guess.el: New file.
18726
6a2fb145 18727 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
18728
18729 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
18730 derived from `c-basic-common-init'.
18731
18732 * progmodes/cc-mode.el (top-level): Require cc-guess.
18733 (c-basic-common-init): Use `cc-choose-style-for-mode'.
18734
1fa280a3
LM
187352011-06-30 Lawrence Mitchell <wence@gmx.li>
18736
18737 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
18738
e6597158
AM
187392011-06-30 Alan Mackenzie <acm@muc.de>
18740
1fa280a3
LM
18741 * progmodes/cc-engine.el (c-guess-continued-construct):
18742 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
18743 lock is disabled. Name this case as "CASE G".
18744
68ba37fb
KM
187452011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
18746
18747 * allout.el (allout-yank-processing): Fix injection of extra space
18748 between bullet and non-whitespace character in first topic when
18749 pasting, ensuring that the actual spacing in the pasted topic
18750 following the bullet char is preserved. This extra space was
18751 causing pasted encrypted topics to get a decrypted status even
18752 when the content was actually still encrypted. Now the decryption
18753 status from before the paste is preserved.
18754
18755 (allout-flag-region): Set all allout overlays so they evaporate
18756 when reduced to zero length (evanescent), to prevent overlay
18757 leakage.
18758
887a0b34
GM
187592011-06-30 Glenn Morris <rgm@gnu.org>
18760
94b9acce
GM
18761 * w32-fns.el (w32-charset-info-alist): Declare.
18762
1d9b46d4
GM
18763 * find-dired.el (find-grep-options): Simplify.
18764
cc232200
GM
18765 * term/ns-win.el (ns-set-resource): Declare.
18766
28e77c46
GM
18767 * ses.el (row, col): Declare dynamic variables honestly.
18768
887a0b34
GM
18769 * textmodes/reftex-parse.el (index-tags): Declare.
18770
658d8eb8
CY
187712011-06-30 Chong Yidong <cyd@stupidchicken.com>
18772
18773 * cus-edit.el (customize-push-and-save): New function.
18774
18775 * files.el (hack-local-variables-confirm): Use it.
18776
1fa280a3
LM
18777 * custom.el (load-theme): New arg NO-CONFIRM.
18778 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
18779 (custom-enabled-themes): Doc fix.
18780
18781 * cus-theme.el (customize-create-theme)
18782 (custom-theme-merge-theme): Callers to load-theme changed.
18783
bb617717
LMI
187842011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
18785
d61bdd5d
LMI
18786 * thingatpt.el (thing-at-point-short-url-regexp): Require that
18787 short URLs have at least one dot in them (bug #7614).
18788
bb617717
LMI
18789 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
18790 nil, because using a pty is apparently too slow (bug #895).
18791
2f31f37a
LMI
187922011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
18793
18794 * mail/sendmail.el (sendmail-query-once): New function.
18795 (sendmail-query-once-function): New variable.
18796
3076b24e
GM
187972011-06-29 Glenn Morris <rgm@gnu.org>
18798
faf2a174
GM
18799 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
18800
3076b24e
GM
18801 * ses.el (top-level): Require cl when compiling.
18802 (ses-set-localvars): Fix error statement.
18803 Call it at compile time to silence a storm of warnings.
18804
5386012d
MR
188052011-06-29 Martin Rudalics <rudalics@gmx.at>
18806
18807 * window.el (normalize-live-buffer): Rename to
18808 window-normalize-buffer.
18809 (normalize-live-frame): Rename to window-normalize-frame.
18810 (normalize-any-window): Rename to window-normalize-any-window.
18811 (normalize-live-window): Rename to window-normalize-live-window.
18812 (make-window-atom): Rename to window-make-atom.
18813 (window-resize-reset): Rename to window--resize-reset.
18814 (window-resize-reset-1): Rename to window--resize-reset-1.
18815 (resize-mini-window): Rename to window--resize-mini-window.
18816 (resize-subwindows-skip-p): Rename to
18817 window--resize-subwindows-skip-p.
18818 (resize-subwindows-normal): Rename to
18819 window--resize-subwindows-normal.
18820 (resize-subwindows): Rename to window--resize-subwindows.
18821 (resize-other-windows): Rename to window--resize-siblings.
18822 (resize-this-window): Rename to window--resize-this-window.
18823 (resize-root-window): Rename to window--resize-root-window.
18824 (resize-root-window-vertically): Rename to
18825 window--resize-root-window-vertically.
18826 (normalize-buffer-to-display): Rename to
18827 window-normalize-buffer-to-display.
18828 (normalize-buffer-to-switch-to): Rename to
18829 window-normalize-buffer-to-switch-to.
18830 Correspondingly update all callers of the functions listed
18831 above.
18832 (display-buffer-alist, display-buffer-normalize-arguments)
18833 (display-buffer-normalize-options, display-buffer)
18834 (display-buffer-alist-set): Use "function" instead of
18835 "fun-with-args".
18836
1176868d
CY
188372011-06-28 Chong Yidong <cyd@stupidchicken.com>
18838
18839 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
18840 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
18841 debbugs.gnu.org. Mention acknowledgment email.
18842
20a7a65f
LMI
188432011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
18844
18845 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
18846 buffer multibyteness, since it shouldn't matter.
18847
5f45cca5
MR
188482011-06-28 Martin Rudalics <rudalics@gmx.at>
18849
18850 * window.el (display-buffer-in-side-window): Handle dedicated
18851 windows as in display-buffer-reuse-window.
18852 (display-buffer-normalize-alist): Use value of override
18853 specifier.
18854 (display-buffer-normalize-specifiers): Use value of
18855 other-window-means-other-frame specifier.
18856 (display-buffer-alist): Rewrite some texts in widgets.
18857 (display-buffer): Spread arguments when calling function
18858 specified by fun-with-args.
18859
ad85fe1f
DD
188602011-06-28 Deniz Dogan <deniz@dogan.se>
18861
1fa280a3
LM
18862 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
18863 Unnest `let'.
da68c4c8 18864
ad85fe1f
DD
18865 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
18866 selectors (Bug#5732).
ec49bd31 18867 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 18868
a08cc025
JA
188692011-06-27 Jari Aalto <jari.aalto@cante.net>
18870
18871 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
18872 (eshell-ls-date-format): New defcustom.
18873 (eshell-ls-file): Use it.
18874
e2b551c5
SM
188752011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
18876
18877 * help-fns.el (describe-variable): Fix message for terminal-local vars.
18878
8982b231
KY
188792011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
18880
18881 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
18882 (ange-ftp-make-tmp-name): New arg.
18883 (ange-ftp-file-local-copy): Use it.
18884
36c9fa27
J
188852011-06-27 Jambunathan K <kjambunathan@gmail.com>
18886
18887 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
18888 no-conversion (Bug#8870).
18889
d68443dc
MR
188902011-06-27 Martin Rudalics <rudalics@gmx.at>
18891
18892 * window.el (window-right, window-left, window-child)
18893 (window-child-count, window-last-child)
18894 (window-iso-combination-p, walk-window-tree-1)
18895 (window-atom-check-1, window-tree-1, delete-window)
18896 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
18897 new naming conventions - window-vchild, window-hchild,
18898 window-next and window-prev are now called window-top-child,
18899 window-left-child, window-next-sibling and window-prev-sibling
18900 respectively.
d615d6d2
MR
18901 (resize-window-reset): Rename to window-resize-reset.
18902 (resize-window-reset-1): Rename to window-resize-reset-1.
18903 (resize-window): Rename to window-resize.
18904 (window-min-height, window-min-width)
18905 (resize-mini-window, resize-this-window, resize-root-window)
18906 (resize-root-window-vertically, adjust-window-trailing-edge)
18907 (enlarge-window, shrink-window, maximize-window)
18908 (minimize-window, delete-window, quit-restore-window)
18909 (split-window, balance-windows, balance-windows-area-adjust)
18910 (balance-windows-area, window-state-put-2)
18911 (display-buffer-even-window-sizes, display-buffer-set-height)
18912 (display-buffer-set-width, set-window-text-height)
18913 (fit-window-to-buffer): Rename all "resize-window" prefixed
18914 calls to use the "window-resize" prefix convention.
18915 (display-buffer-alist): Fix symbol for label specifier.
18916 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
18917 corresponding specifier.
18918 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 18919
b6458526
VB
189202011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
18921
18922 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
18923 convention.
18924 (ses-call-printer): Does not pass an empty string to formatter when the
18925 cell is empty to keep from barking printer Calc math-format-value.
18926
d31fd9ac
RS
189272011-06-27 Richard Stallman <rms@gnu.org>
18928
43d5bf84
RS
18929 * battery.el (battery-mode-line-limit): New variable.
18930 (battery-update): Handle it.
18931
d31fd9ac
RS
18932 * mail/rmailmm.el (rmail-mime-process-multipart):
18933 Handle truncated messages.
18934
819a6054
GM
189352011-06-27 Glenn Morris <rgm@gnu.org>
18936
18937 * progmodes/flymake.el (flymake-err-line-patterns):
18938 Allow for column numbers in the ant/javac pattern. (Bug#8866)
18939
cedc73f2
VB
189402011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
18941
819a6054 18942 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
18943 (ses--clean-!, ses--clean-_): New functions.
18944 (ses-range): Add configurability of readout order, and conversion
18945 to Calc vector.
18946
5e5d49b6
VB
18947 * ses.el (ses-repair-cell-reference-all): New function.
18948 (ses-cell-symbol): Set macro as safe, so that it can be used in
18949 formulas.
18950
56e6cc31 18951 * ses.el: Update cycle detection algorithm.
90ca8b49 18952 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 18953 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
18954 (ses-set-localvars): New function.
18955 (ses-make-cell): Add property-list as a cell element.
18956 (ses-cell-property-get-fun, ses-cell-property-get)
18957 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
18958 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
18959 New functions.
90ca8b49
VB
18960 (ses-cell-property-set, ses-cell-property-pop)
18961 (ses-cell-property-get-handle): New macro.
18962 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
18963 New aliases, used for code readability.
18964 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
18965 cycle detection.
18966 (ses-self-reference-early-detection): New defcustom.
fac916bf 18967 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
18968 (ses-mode): Use ses-set-localvars.
18969 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
18970 before lauching the update processing.
18971 (ses-initialize-Dijkstra-attempt): New function.
18972 (ses-recalculate-cell): Update for cycle detection based on
18973 Dijkstra algorithm.
18974
2bb63e81
VB
18975 * ses.el: Fix commenting and indenting convention.
18976
c9d29fb8
SM
189772011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
18978
18979 * bs.el (bs-cycle-next): Complete last change.
18980
d8e4b68b
JB
189812011-06-27 Drew Adams <drew.adams@oracle.com>
18982
18983 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
18984
40098786
LMI
189852011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
18986
c9d29fb8
SM
18987 * net/network-stream.el (network-stream-open-starttls):
18988 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
18989 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
18990
40098786
LMI
18991 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
18992 to binary to possibly avoid line encoding issues on Windows (among
18993 other things).
18994
468d09d4
LMI
189952011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
18996
18997 * net/network-stream.el (open-network-stream): Return an :error
18998 saying what the problem was, if possible.
18999
19000 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
19001 server.
19002
19003 * net/network-stream.el (network-stream-open-starttls): If we
19004 wanted to use STARTTLS, and the server offered it, but we weren't
19005 able to because we had no STARTTLS support, then close the connection.
19006 (open-network-stream): Return an :error element, if present.
19007
16f07dd7
CY
190082011-06-26 Chong Yidong <cyd@stupidchicken.com>
19009
88821ca0
CY
19010 * hl-line.el (hl-line-sticky-flag): Doc fix.
19011 (global-hl-line-sticky-flag): New option (Bug#8323).
19012 (global-hl-line-highlight): Obey it.
19013
16f07dd7
CY
19014 * vc/vc.el (vc-revert-show-diff): Default to t.
19015
6b5ccddf
KM
190162011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
19017
c9d29fb8
SM
19018 * allout-widgets.el (allout-widgets-post-command-business):
19019 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
19020 undecorated when an isearch is continued past, and isearch
19021 automatically collapses them. This leads to "widget leaks", where
19022 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
19023 hidden widgets can slow down cursor travel, substantially.
19024 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
19025 so we're doing without this nicety.
19026
19027 (allout-widgets-tally-string): Don't try to do a hash-table-count
19028 of allout-widgets-tally when it's nil. This eliminates spurious "Error
19029 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
19030 *Messages* when allout-widgets-maintain-tally is t.
19031
355f2e07
MR
190322011-06-26 Martin Rudalics <rudalics@gmx.at>
19033
19034 * window.el (display-buffer-normalize-argument): Rename to
19035 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
19036 LABEL argument. Respect special-display-function when popping up
19037 a new frame. Fix code searching for a window showing the buffer
19038 on another frame.
c9d29fb8
SM
19039 (display-buffer-normalize-specifiers):
19040 Call display-buffer-normalize-arguments.
355f2e07
MR
19041 (display-buffer-in-window): Don't undedicate the window if its
19042 buffer remains the same.
19043 Reported by Drew Adams <drew.adams@oracle.com>.
19044 (display-buffer-alist): Add choice for same-window macro
19045 specfier.
19046 (display-buffer): Mention special meaning of LABEL argument in
19047 doc-string. Fix quoting. Don't pop up a new frame even as
19048 fallback.
19049
7ca8fc42
JB
190502011-06-26 Juanma Barranquero <lekktu@gmail.com>
19051
19052 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
19053 avoid deleting the current window in some cases (bug#8911).
19054
bc312254
AS
190552011-06-26 Andreas Schwab <schwab@linux-m68k.org>
19056
19057 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
19058 (Bug#8934)
19059
2db18f3f
LMI
190602011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
19061
c9d29fb8
SM
19062 * net/network-stream.el (network-stream-open-starttls):
19063 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
19064 (network-stream-open-tls): Ditto.
19065
6302e0d3
LL
190662011-06-26 Leo Liu <sdl.web@gmail.com>
19067
19068 * register.el (registerv): New struct.
19069 (registerv-make): New function.
c9d29fb8
SM
19070 (jump-to-register, describe-register-1, insert-register):
19071 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
19072 struct. (Bug#8415)
19073
5fdd4046
CY
190742011-06-26 Chong Yidong <cyd@stupidchicken.com>
19075
2afef60a
CY
19076 * vc/vc.el (vc-revert-show-diff): New defcustom.
19077 (vc-diff-internal): New arg specifying diff buffer.
19078 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
19079 reuse an existing *vc-diff* buffer (Bug#8927).
19080
5fdd4046
CY
19081 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
19082
e93db24a
GM
190832011-06-26 Glenn Morris <rgm@gnu.org>
19084
19085 * progmodes/f90.el (f90-critical-indent): New option.
19086 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
19087 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
19088 (f90-mode): Doc fix.
19089 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
19090 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
19091 (f90-beginning-of-block, f90-next-block, f90-indent-region)
19092 (f90-match-end): Handle block, critical.
19093
eefff499
GM
190942011-06-25 Glenn Morris <rgm@gnu.org>
19095
f6ba4cc9
GM
19096 * calendar/diary-lib.el (diary-included-files): Doc fix.
19097 (diary-include-files): New function, extracted from
19098 diary-include-other-diary-files and diary-mark-included-diary-files.
19099 (diary-include-other-diary-files, diary-mark-included-diary-files):
19100 Just call diary-include-files.
19101 (diary-mark-entries): Reset diary-included-files on first call.
19102
16712304
GM
19103 * calendar/diary-lib.el (diary-mark-entries)
19104 (diary-mark-included-diary-files):
19105 Visit included diary-files in temp buffers.
19106
5d8e0d43
GM
19107 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
19108 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
19109 (f90-start-block-re, f90-imenu-generic-expression)
19110 (f90-looking-at-program-block-start, f90-no-block-limit):
19111 Add support for submodules.
19112
ccf7a5d5
GM
19113 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
19114 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 19115
11fdef7d 191162011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
19117
19118 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
19119 buffer-file-type before setting its value, to avoid disastrous
eefff499 19120 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 19121
74f53697
JB
191222011-06-25 Juanma Barranquero <lekktu@gmail.com>
19123
19124 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
19125
19126 * ses.el (ses-unload-function):
19127 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
19128
19129 * proced.el (proced-unload-function):
19130 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
19131
18a4ce5e
AR
191322011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
19133
19134 * server.el (server-create-window-system-frame): Add parameters arg.
19135 (server-process-filter): Doc fix. Handle frame-parameters.
19136
519d22cc
JB
191372011-06-25 Juanma Barranquero <lekktu@gmail.com>
19138
19139 Fix bug#8730, bug#8781.
19140
19141 * loadhist.el (unload--set-major-mode): New function.
19142 (unload-feature): Use it.
19143
19144 * progmodes/python.el (python-after-info-look): Add autoload cookie.
19145 (python-unload-function): New function.
19146
c206f5b0
SM
191472011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
19148
19149 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
19150
f9ad64f3
GS
191512011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
19152
19153 * net/browse-url.el (browse-url-firefox-program): Add icecat to
19154 the candidates list.
19155
7d0da90e
JB
191562011-06-24 Juanma Barranquero <lekktu@gmail.com>
19157
19158 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
19159
14b4e83d
RS
191602011-06-23 Richard Stallman <rms@gnu.org>
19161
19162 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
19163 (rmail-variables): Set next-error-move-function.
19164 (rmail-what-message): Take argument POS.
19165 (rmail-next-error-move): New function.
19166
273d2baf
SM
191672011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
19168
19169 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
19170 messages for adjacent non-terminals.
19171
56c2cc9a
RS
191722011-06-23 Richard Stallman <rms@gnu.org>
19173
19174 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 19175 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
19176 (rmail-start-mail): Don't specify use of rmail-mail-return;
19177 that's done by mail-bury now.
19178 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 19179
d59eb518
MA
191802011-06-23 Michael Albinus <michael.albinus@gmx.de>
19181
19182 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
19183 SIZE is a number.
19184
02cfc6d6
MR
191852011-06-23 Martin Rudalics <rudalics@gmx.at>
19186
19187 * window.el (get-lru-window, get-mru-window)
19188 (get-largest-window): Never return a minibuffer window.
19189 (display-buffer-pop-up-window): Fix a bug that could lead to
19190 reusing the minibuffer window.
19191 (display-buffer): Pass original specifier argument to
19192 display-buffer-function instead of the normalized one.
19193 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
19194
4e323265
LL
191952011-06-22 Leo Liu <sdl.web@gmail.com>
19196
19197 * minibuffer.el (completing-read-function)
1f9f395d 19198 (completing-read-default): Move from minibuf.c.
4e323265 19199
7a70468f
RS
192002011-06-22 Richard Stallman <rms@gnu.org>
19201
50718fc2
RS
19202 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
19203 to Rmail even if not started by a special Rmail command.
19204
7a70468f
RS
19205 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
19206 Copy the buffer currently showing just one message.
19207
297dde5a
RW
192082011-06-22 Roland Winkler <winkler@gnu.org>
19209
19210 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
19211 (bibtex-clean-entry): First delete the old key so that a
19212 customized algorithm for generating the new key does not get
19213 confused by the old key.
19214 (bibtex-url): Obey regexp of first step.
19215 (bibtex-search-entries): Do not use add-to-list with local
19216 list-var.
19217
97bb1093
LMI
192182011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
19219
19220 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
19221 stored a user name, then query for the password first, instead of
19222 waiting for SMTP to give an error message and the trying again.
19223
1c0f1a19
JD
192242011-06-22 Lawrence Mitchell <wence@gmx.li>
19225
19226 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
19227 BUFFER in call-process.
19228
396f7c9d
LMI
192292011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
19230
19231 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
19232 QUIT twice.
ddb7ffee
LMI
19233 (smtpmail-try-auth-methods): Require user name and password from
19234 auth-source.
396f7c9d 19235
8998d1b3
MR
192362011-06-22 Martin Rudalics <rudalics@gmx.at>
19237
19238 * window.el (display-buffer-default-specifiers)
19239 (display-buffer-alist): Remove entries for pop-up-frame-alist.
19240 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 19241 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
19242
19243 * frame.el (pop-up-frame-alist, pop-up-frame-function)
19244 (special-display-frame-alist, special-display-popup-frame):
19245 Remove duplicate declarations. These are now in window.el.
19246
4ea31e07
LMI
192472011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
19248
c9d29fb8
SM
19249 * mail/smtpmail.el (smtpmail-via-smtp):
19250 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
19251 server supports it. SMTP servers that support STARTTLS commonly
19252 require it.
19253
19254 * net/network-stream.el (network-stream-open-starttls): Support
19255 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 19256 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 19257
95f41d9a
LMI
19258 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
19259 upgrades with `open-network-stream', and rely solely on
19260 auth-source for all credentials. Big changes throughout the file,
19261 but in particular:
c9d29fb8
SM
19262 (smtpmail-auth-credentials): Remove.
19263 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
19264 (smtpmail-via-smtp): Check for servers saying they want AUTH after
19265 MAIL FROM, too.
95f41d9a 19266
c9d29fb8
SM
19267 * net/network-stream.el (network-stream-open-starttls):
19268 Provide support for client certificates both for external and built-in
4ea31e07
LMI
19269 STARTTLS.
19270 (auth-source): Require.
19271 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
19272 (network-stream-certificate): Change cert-cert to cert and
19273 cert-key to key.
4ea31e07 19274
065ec2c7
MA
192752011-06-21 Michael Albinus <michael.albinus@gmx.de>
19276
19277 * net/tramp-cache.el (top): Don't load the persistency file when
19278 "emacs -Q" has been called.
19279
cd93b359
DR
192802011-06-21 Tim Harper <timcharper@gmail.com>
19281
d8e4b68b
JB
19282 * term/ns-win.el (ns-initialize-window-system):
19283 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
19284 resource to NO as it is not yet supported by the NS port.
19285
ae9c0411
JB
192862011-06-21 Juanma Barranquero <lekktu@gmail.com>
19287
19288 * misc.el (list-dynamic-libraries--refresh): Compute header here...
19289 (list-dynamic-libraries): ...not here.
19290
7f3f739f
LL
192912011-06-21 Leo Liu <sdl.web@gmail.com>
19292
19293 * subr.el (sha1): Implement sha1 using secure-hash.
19294
327c8fb1
MR
192952011-06-21 Martin Rudalics <rudalics@gmx.at>
19296
19297 * window.el (display-buffer-alist): In default value do not
19298 enforce searching a window on any but the selected frame.
19299 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
19300 (display-buffer-select-window): Remove function.
19301 (display-buffer-in-window): When a window on another frame gets
19302 reused, do not select it any more but just raise its frame if
19303 necessary (Bug#8851) and (Bug#8856).
19304 (display-buffer-normalize-options): Handle pop-up-frames related
19305 options more faithfully.
19306 (pop-to-buffer): Don't rely on `display-buffer' selecting the
19307 window if it is on another frame.
c9d29fb8
SM
19308 (display-buffer-alist, display-buffer-default-specifiers):
19309 Don't make new frame unsplittable by default.
9e9de014
MR
19310 (display-buffer-normalize-argument): Fix doc-string typo and use
19311 'same-frame-other-window instead of 'other-window when associating
19312 with display-buffer-macro-specifiers.
327c8fb1 19313
7cf3f556
VB
193142011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
19315
19316 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
19317 New functions.
19318 (5x5-mode-map, 5x5-mode-menu): Bind them.
19319 (5x5-draw-grid): Tweak the solver's rendering.
19320
60a406cf
SM
193212011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
19322
19323 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
19324 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
19325
d8e4b68b 193262011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
19327
19328 * menu-bar.el: Use function variable instead of switch-to-buffer.
19329 (menu-bar-select-buffer-function): New variable.
60a406cf 19330 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 19331
478d6f95
SM
193322011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
19333
19334 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
19335 variable's status.
19336
ca530739
JD
193372011-06-20 Jan Djärv <jan.h.d@swipnet.se>
19338
19339 * x-dnd.el (x-dnd-version-from-flags)
19340 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
19341 and long as number (Bug#8899).
19342 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
19343
bcd70d97
SM
193442011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
19345
60a406cf 19346 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
19347 (completion-try-completion, completion-all-completions): Compute the
19348 metadata argument if it's missing; make it optional (bug#8795).
19349
60a406cf 19350 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
19351 (widget-complete): Use new :completion-function property.
19352 (widget-completions-at-point): New function.
19353 (default): Use :completion-function instead of :complete.
60a406cf
SM
19354 (widget-default-completions): Rename from widget-default-complete;
19355 Rewrite.
bcd70d97
SM
19356 (widget-string-complete, widget-file-complete, widget-color-complete):
19357 Remove functions.
19358 (file, symbol, function, variable, coding-system, color):
19359 * international/mule-cmds.el (default-input-method, charset)
19360 (language-info-custom-alist):
19361 * cus-edit.el (face): Use new property :completions.
19362
19363 * progmodes/pascal.el (pascal-completions-at-point): New function.
19364 (pascal-mode): Use it.
19365 (pascal-mode-map): Use completion-at-point.
19366 (pascal-toggle-completions): Make obsolete.
19367 (pascal-complete-word, pascal-show-completions):
19368 * progmodes/octave-mod.el (octave-complete-symbol):
19369 Redefine as obsolete alias.
19370 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
19371 Signal absence of completion info for old Octave,
19372 (inferior-octave-complete): Redefine as obsolete alias.
19373 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
19374 (meta-completions-at-point): Rename from meta-complete-symbol and
19375 adapt it for use on completion-at-point-functions.
19376 (meta-common-mode): Use it.
19377 (meta-looking-at-backward, meta-match-buffer): Remove.
19378 (meta-complete-symbol): Redefine as obsolete alias.
19379 (meta-common-mode-map): Use completion-at-point.
19380 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
19381 (makefile-mode-map): Use completion-at-point.
19382 (makefile-completions-at-point): Rename from makefile-complete and
19383 adapt it for use on completion-at-point-functions.
19384 (makefile-mode): Use it.
19385 (makefile-complete): Redefine as obsolete alias.
19386
aebf69c8
DD
193872011-06-20 Deniz Dogan <deniz@dogan.se>
19388
19389 * net/rcirc.el: Delete trailing whitespaces once and for all.
19390
bfbbb27d
DC
193912011-06-20 Daniel Colascione <dan.colascione@gmail.com>
19392
19393 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
19394
d264a46b
CY
193952011-06-19 Chong Yidong <cyd@stupidchicken.com>
19396
4ca009e5
CY
19397 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
19398
d264a46b
CY
19399 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
19400
fbf5b3ce
MR
194012011-06-19 Martin Rudalics <rudalics@gmx.at>
19402
19403 * window.el (display-buffer-other-window-means-other-frame):
19404 Call display-buffer-normalize-alist.
19405 (display-buffer-normalize-specifiers-1): Rename to
19406 display-buffer-normalize-argument. New argument other-frame.
19407 Rewrite.
19408 (display-buffer-normalize-specifiers-2): Rename to
19409 display-buffer-normalize-options.
19410 (display-buffer-normalize-alist-1): New function.
19411 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
19412 display-buffer-normalize-alist.
19413 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
19414 (display-buffer-normalize-options-inhibit): New variable.
19415 (display-buffer-normalize-specifiers): Rewrite calling
19416 display-buffer-normalize-alist,
19417 display-buffer-normalize-argument, and
19418 display-buffer-normalize-options. Don't call the latter if
19419 display-buffer-normalize-options-inhibit is non-nil.
19420 (frame-auto-delete): New option.
19421 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
19422 (window-list-no-nils, window-state-ignored-parameters)
19423 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
19424 (window-state-put-1, window-state-put-2, window-state-put):
19425 New functions.
9a028c23
MR
19426 (display-buffer-normalize-options): Move special-display-p group
19427 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 19428
6d10d800
CY
194292011-06-18 Chong Yidong <cyd@stupidchicken.com>
19430
6420d28b
CY
19431 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
19432 groups (Bug#8776).
19433 (rx-submatch-n): New function.
19434 (rx): Document it.
19435
ddb8b596
CY
19436 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
19437 (Bug#8768).
19438
19439 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
19440
77080289
CY
19441 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
19442
61dfb316
CY
19443 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
19444 anytime existing face settings are present (Bug#8889).
19445
6d10d800
CY
19446 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
19447 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
19448 Remove unused argument.
19449
be3fb2b8
MR
194502011-06-18 Martin Rudalics <rudalics@gmx.at>
19451
bcd70d97
SM
19452 * window.el (display-buffer-default-specifiers):
19453 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
19454 pop-up-window-min-width, and another reuse-window specifier
19455 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
19456 (display-buffer-normalize-specifiers-2):
19457 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
19458 pop-up-windows is unset. Add a reuse-window specifier for the
19459 case popping up a new window fails.
19460 (special-display-popup-frame): Remove double quoting.
28dec25a 19461 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 19462
1c6d8c76
SM
194632011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
19464
19465 * shell.el (shell-completion-vars): Set pcomplete-termination-string
19466 according to comint-completion-addsuffix.
19467
19468 * pcomplete.el: Convert to lexical binding and fix bug#8819.
19469 (pcomplete-suffix-list): Mark as obsolete.
19470 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
19471 pcomplete-seen in the closure.
19472 (pcomplete-comint-setup): Setup completion-at-point as well.
19473 (pcomplete--entries): New function.
19474 (pcomplete--env-regexp): New var.
19475 (pcomplete-entries): Rewrite to work with partial-completion and
19476 without relying on pcomplete-suffix-list.
19477 (pcomplete-pare-list): Remove, unused.
19478
25aef8b8
MR
194792011-06-17 Martin Rudalics <rudalics@gmx.at>
19480
19481 * window.el (display-buffer-alist): Set pop-up-window-min-height
19482 and pop-up-window-min-width in default value. Reported by
19483 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
19484 other-window-means-other-frame.
19485 (display-buffer-macro-specifiers): Comment out entry for
19486 other-window specifier.
19487 (display-buffer-other-window-means-other-frame): New function.
19488 (display-buffer-normalize-specifiers-1): New arguments
19489 buffer-name and label. Treat other-window case specially.
19490 (display-buffer-normalize-specifiers-2): Treat other-window case
19491 specially.
19492 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
19493 (display-buffer-normalize-specifiers):
19494 Call display-buffer-normalize-specifiers-3.
25aef8b8 19495
dbad4f69
MR
194962011-06-17 Martin Rudalics <rudalics@gmx.at>
19497
19498 * window.el (same-window-p): Fix two typos introduced when
19499 adding with-no-warnings.
d1067961
MR
19500 (display-buffer-normalize-specifiers-1): Don't check
19501 pop-up-frames for 'unset initialization.
19502 (display-buffer-normalize-specifiers-2): Major rewrite using
19503 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
19504 (pop-up-frames, display-buffer-reuse-frames)
19505 (display-buffer-mark-dedicated): Don't initialize to 'unset.
19506 Suggested by David Engster <deng@randomsample.de>.
19507 (even-window-heights): Initialize to 'unset.
19508 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
19509 (display-buffer-macro-specifiers): Don't pop up a new frame in the
19510 other window case.
dbad4f69 19511
9b9c9e3a
MR
195122011-06-16 Martin Rudalics <rudalics@gmx.at>
19513
bcd70d97
SM
19514 * window.el (display-buffer-normalize-specifiers-1):
19515 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 19516 second argument of display-buffer (Bug#8865).
981d5c09
MR
19517 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
19518 (switch-to-buffer-other-window-same-frame)
19519 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
19520 Adams (Bug#8875).
9c2755e9
MR
19521 (display-buffer): Don't check noninteractive when calling
19522 display-buffer-pop-up-frame.
19523 (display-buffer-pop-up-frame): Never pop up a frame in
19524 noninteractive mode (Bug#8857).
67222e1d
MR
19525 (enlarge-window, shrink-window): Don't report an error when the
19526 window can't be resized as requested (Bug#8862).
9b9c9e3a 19527
2b75be67
SM
195282011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
19529
9ffdd3ba
SM
19530 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
19531
cb581a67
SM
19532 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
19533
2b75be67
SM
19534 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
19535
8c0e3589
AM
195362011-06-15 Alan Mackenzie <acm@muc.de>
19537
cb581a67
SM
19538 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
19539 for declarators, disable knr checking to speed up for normal files.
19540 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 19541
b96e6cde
LMI
195422011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
19543
4bba86e6
LMI
19544 * net/network-stream.el (open-network-stream): Add the keyword
19545 :always-query-capabilities for the case where you want to force a
19546 `plain' network connection, but the protocol still requires the
19547 capabilitiy command (i.e., SMTP and EHLO).
19548
2b75be67 19549 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
19550 consistency with other `-live-p' functions.
19551
efdcdbf8
SM
195522011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
19553
19554 * window.el (same-window-buffer-names, same-window-regexps)
19555 (special-display-frame-alist, special-display-popup-frame)
19556 (special-display-function, special-display-buffer-names)
19557 (special-display-regexps, pop-up-frame-alist)
19558 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
19559 (pop-up-windows, split-window-preferred-function)
19560 (split-height-threshold, split-width-threshold, even-window-heights)
19561 (display-buffer-mark-dedicated): Don't encourage the use of
19562 display-buffer-alist from Elisp code.
19563
c5cde042
DN
195642011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
19565
19566 * progmodes/python.el (python-mode): Derive from prog-mode.
19567 * progmodes/ps-mode.el (ps-mode):
19568 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 19569 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
19570 * progmodes/ld-script.el (ld-script-mode): Likewise.
19571
baa1c9ab
MR
195722011-06-15 Martin Rudalics <rudalics@gmx.at>
19573
19574 * window.el (display-buffer-alist): Trim default value to avoid
19575 popping up a new frame (Bug#8857) or reusing an arbitrary window
19576 on another frame.
19577 (display-buffer): Do not fall back on popping up a new frame in
19578 batch mode (Bug#8857).
19579
c5dd5a51
CY
195802011-06-14 Chong Yidong <cyd@stupidchicken.com>
19581
19582 * cus-theme.el (describe-theme-1): Use custom-theme-p.
19583 (custom-theme-summary): New function.
19584 (customize-themes): Use it.
19585
d647b7c4
GM
195862011-06-13 Glenn Morris <rgm@gnu.org>
19587
19588 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
19589
9481c002
MR
195902011-06-13 Martin Rudalics <rudalics@gmx.at>
19591
357f93d2
MR
19592 * help.el (help-window): Remove variable.
19593 (help-window-point-marker, temp-buffer-max-height)
19594 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
19595 (help-print-return-message): Don't set help-window.
19596 (resize-temp-buffer-window): Rewrite cod eand doc-string.
19597 (help-window-setup-finish): Remove.
19598 (help-window-display-message, help-window-setup)
19599 (with-help-window): Major rewrite based on new
19600 display-buffer-window variable.
19601
19602 * help-mode.el (help-mode-finish): Remove help-window related
19603 code.
19604
19605 * view.el (view-exits-all-viewing-windows): Remove reference to
19606 view-return-to-alist in doc-string.
19607 (view-return-to-alist): Make obsolete.
19608 (view-buffer): Call pop-to-buffer-same-window and remove
19609 undo-window code.
19610 (view-buffer-other-window): Call pop-to-buffer-other-window and
19611 simplify code. Ignore second argument.
19612 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
19613 simplify code. Ignore second argument.
19614 (view-return-to-alist-update): Make obsolete.
19615 (view-mode-enter): Rename second argument to QUIT-RESTORE.
19616 Rewrite using quit-restore window parameters.
2b75be67
SM
19617 (view-mode-exit): Rename second argument to EXIT-ONLY.
19618 Rewrite using quit-restore-window.
357f93d2
MR
19619 (View-exit, View-exit-and-edit, View-leave, View-quit)
19620 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
19621 appropriate arguments.
19622 (view-end-message): Use quit-restore window parameter.
19623
9481c002
MR
19624 * window.el (display-buffer-function): Rewrite doc-string.
19625 (display-buffer-window, display-buffer-alist): New variables.
19626 (display-buffer-split-specifiers)
19627 (display-buffer-side-specifiers)
19628 (display-buffer-macro-specifiers): New constants.
19629 (display-buffer-even-window-sizes, display-buffer-set-height)
19630 (display-buffer-set-width, display-buffer-select-window)
19631 (display-buffer-in-window, display-buffer-reuse-window)
19632 (display-buffer-split-window-1, display-buffer-split-window)
19633 (display-buffer-split-atom-window, display-buffer-pop-up-window)
19634 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
19635 (display-buffer-in-side-window, normalize-buffer-to-display)
19636 (display-buffer-normalize-specifiers-1)
19637 (display-buffer-normalize-specifiers-2)
2b75be67
SM
19638 (display-buffer-normalize-specifiers, display-buffer-frame):
19639 New functions.
9481c002
MR
19640 (display-buffer): Major rewrite.
19641 (display-buffer-other-window, display-buffer-other-frame)
19642 (pop-to-buffer, switch-to-buffer-other-window)
19643 (switch-to-buffer-other-frame): Rewrite.
19644 (display-buffer-same-window, display-buffer-same-frame)
19645 (display-buffer-same-frame-other-window)
19646 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
19647 (pop-to-buffer-other-window)
19648 (pop-to-buffer-same-frame-other-window)
19649 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
19650 (switch-to-buffer-other-window-same-frame): New functions.
19651 (same-window-p, special-display-p): Rewrite disabling warnings.
19652 Make obsolete.
19653 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
19654 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
19655 Make obsolete
19656 (same-window-buffer-names, same-window-regexps)
19657 (special-display-frame-alist, special-display-popup-frame)
19658 (special-display-function, special-display-buffer-names)
19659 (special-display-regexps, pop-up-frame-alist)
19660 (pop-up-frame-function, split-window-preferred-function)
19661 (split-height-threshold, split-width-threshold)
19662 (even-window-heights): Make obsolete.
19663
9db51aca
GM
196642011-06-12 Glenn Morris <rgm@gnu.org>
19665
19666 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 19667 Misc simplifications.
9db51aca 19668
39cffb44
MR
196692011-06-12 Martin Rudalics <rudalics@gmx.at>
19670
19671 * window.el (window-safely-shrinkable-p): Restore function which
19672 was inadvertently removed in change from 2011-06-11. Declare as
19673 obsolete.
19674
2b75be67
SM
19675 * calendar/calendar.el (calendar-generate-window):
19676 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
19677 window-safely-shrinkable-p.
19678
a8955be7
GM
196792011-06-12 Glenn Morris <rgm@gnu.org>
19680
19681 * progmodes/fortran.el (fortran-mode-syntax-table):
19682 * progmodes/f90.el (f90-mode-syntax-table):
19683 Set % to punctuation. (Bug#8820)
19684 (f90-find-tag-default): Remove, no longer needed.
19685
f0d4059d
DC
196862011-06-12 Daniel Colascione <dan.colascione@gmail.com>
19687
19688 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
19689
1100a63c
CY
196902011-06-11 Chong Yidong <cyd@stupidchicken.com>
19691
19692 * image.el (image-animated-p): Return animation delay in seconds.
19693 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
19694 (image-animate-timeout): Remove DELAY argument. Don't assume
19695 every subimage has the same delay; get it from image-animated-p.
19696 (image-animate): Caller changed.
19697
def722bf
MA
196982011-06-11 Michael Albinus <michael.albinus@gmx.de>
19699
19700 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
19701 to ignored backtrace functions.
19702
0a2bb1a9
GM
197032011-06-11 Glenn Morris <rgm@gnu.org>
19704
19705 * calendar/appt.el (appt-disp-window-function): Doc fix.
19706 (appt-check): Handle overlapping appointments. (Bug#8337)
19707
6198ccd0
MR
197082011-06-11 Martin Rudalics <rudalics@gmx.at>
19709
19710 * window.el (window-tree-1, window-tree): New functions, moving
19711 the latter to window.el.
19712 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
19713 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
19714 (bw-refresh-edges): Remove.
19715 (balance-windows-1, balance-windows-2): New functions.
19716 (balance-windows): Rewrite in terms of window tree functions,
19717 balance-windows-1 and balance-windows-2.
19718 (bw-adjust-window): Remove.
19719 (balance-windows-area-adjust): New function with functionality of
19720 bw-adjust-window but using resize-window.
2b75be67
SM
19721 (set-window-text-height): Rewrite doc-string.
19722 Use normalize-live-window and resize-window.
19723 (enlarge-window-horizontally, shrink-window-horizontally):
19724 Rename argument to DELTA.
6198ccd0
MR
19725 (window-buffer-height): New function.
19726 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
19727 Rewrite using new window resize routines.
2b75be67
SM
19728 (kill-buffer-and-window, mouse-autoselect-window-select):
19729 Use ignore-errors instead of condition-case.
6198ccd0
MR
19730 (quit-window): Call delete-frame instead of delete-windows-on
19731 for the only buffer on frame.
19732
9397e56f
MR
197332011-06-10 Martin Rudalics <rudalics@gmx.at>
19734
19735 * loadup.el (top-level): Load window before files for the sake
19736 of replace-buffer-in-windows.
19737
19738 * files.el (read-buffer-to-switch)
19739 (switch-to-buffer-other-window)
2b75be67
SM
19740 (switch-to-buffer-other-frame, display-buffer-other-frame):
19741 Move to window.el.
9397e56f
MR
19742
19743 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
19744 (previous-buffer): Move to window.el.
19745
19746 * bindings.el (unbury-buffer): Move to window.el.
19747
19748 * window.el (delete-other-windows-vertically): Move after
19749 definition of delete-other-windows.
19750 (other-window, delete-windows-on, replace-buffer-in-windows):
19751 Move here from window.c.
19752 (record-window-buffer, unrecord-window-buffer)
19753 (set-window-buffer-start-and-point, switch-to-prev-buffer)
19754 (switch-to-next-buffer): New functions.
19755 (get-next-valid-buffer, last-buffer, next-buffer): Move here
19756 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
19757 (previous-buffer): Move here from simple.el.
19758 Call switch-to-prev-buffer.
9397e56f
MR
19759 (bury-buffer): Move here from buffer.c. Switch to previous
19760 buffer when window cannot be deleted.
19761 (unbury-buffer): Move here from bindings.el.
19762 (ctl-x-map): Move binding for other-window from window.c to
19763 here.
19764 (read-buffer-to-switch, switch-to-buffer-other-window)
19765 (switch-to-buffer-other-frame): Move here from files.el.
19766 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
19767 (switch-to-buffer): Move here from buffer.c.
19768 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 19769
562dd5e9
MR
197702011-06-10 Martin Rudalics <rudalics@gmx.at>
19771
19772 * window.el (window-min-height, window-min-width): Move here
19773 from window.c. Add defcustoms and rewrite doc-strings.
19774 (resize-mini-window, resize-window): New functions.
19775 (adjust-window-trailing-edge, enlarge-window, shrink-window):
19776 Move here from window.c.
19777 (maximize-window, minimize-window): New functions.
19778 (delete-window, delete-other-windows, split-window): Move here
19779 from window.c.
19780 (window-split-min-size): New function.
19781 (split-window-keep-point): Mention split-window-above-each-other
19782 instead of split-window-vertically.
2b75be67 19783 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
19784 Rename split-window-vertically to split-window-above-each-other
19785 and provide defalias for old definition.
19786 (split-window-side-by-side, split-window-horizontally):
19787 Rename split-window-horizontally to split-window-side-by-side
19788 and provide defalias for the old definition.
562dd5e9
MR
19789 (ctl-x-map): Move bindings for delete-window,
19790 delete-other-windows and enlarge-window here from window.c.
19791 Replace bindings for split-window-vertically and
19792 split-window-horizontally by bindings for
19793 split-window-above-each-other and split-window-side-by-side.
19794
19795 * cus-start.el (all): Remove entries for window-min-height and
19796 window-min-width. Add entries for window-splits and
19797 window-nest.
19798
f0da764a
GM
197992011-06-09 Glenn Morris <rgm@gnu.org>
19800
80675c21
GM
19801 * calendar/appt.el (appt-mode-line): New function.
19802 (appt-check, appt-disp-window): Use it.
19803
f0da764a
GM
19804 * files.el (hack-one-local-variable-eval-safep):
19805 Allow minor-modes with explicit +/-1 arguments.
19806
59f623b7
TZ
198072011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
19808
19809 * term/xterm.el (xterm): Add defgroup.
19810 (xterm-extra-capabilities): Add defcustom to supply known xterm
19811 capabilities, skip querying them, or query them (default).
19812 (terminal-init-xterm): Use it.
19813 (terminal-init-xterm-modify-other-keys): New function to set up
19814 modifyOtherKeys support to simplify `terminal-init-xterm'.
19815
9aab8e0d
MR
198162011-06-09 Martin Rudalics <rudalics@gmx.at>
19817
19818 * window.el (resize-window-reset, resize-window-reset-1)
19819 (resize-subwindows-skip-p, resize-subwindows-normal)
19820 (resize-subwindows, resize-other-windows, resize-this-window)
19821 (resize-root-window, resize-root-window-vertically)
19822 (window-deletable-p, window-or-subwindow-p)
19823 (frame-root-window-p): New functions.
19824
e8b08aee
GM
198252011-06-09 Glenn Morris <rgm@gnu.org>
19826
19827 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
19828 (ange-ftp-get-files): Use it.
19829
254c37a5
AK
198302011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
19831
19832 * mail/sendmail.el (mail-recover-1, mail-recover):
19833 * files.el (recover-file, recover-session):
19834 Handle dired-listing-switches not being just a single short option.
19835
35d7dbd3
GM
198362011-06-09 Glenn Morris <rgm@gnu.org>
19837
19838 * calendar/appt.el (appt-display-message, appt-disp-window):
19839 Handle lists of appointments.
19840
387522b2
MR
198412011-06-08 Martin Rudalics <rudalics@gmx.at>
19842
2b75be67
SM
19843 * window.el (one-window-p): Move down in code.
19844 Rewrite doc-string.
19845 (window-current-scroll-bars): Rewrite doc-string.
19846 Normalize live window argument.
387522b2
MR
19847 (walk-windows, get-window-with-predicate, count-windows):
19848 Rewrite doc-string. Use window-list-1.
19849 (window-in-direction-2, window-in-direction, get-mru-window):
19850 New functions.
19851
d8e4b68b 198522011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
19853
19854 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
19855 Doc fix (Bug#8713).
19856
198572011-06-08 Chong Yidong <cyd@stupidchicken.com>
19858
19859 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
19860
198612011-06-08 Juanma Barranquero <lekktu@gmail.com>
19862
19863 * loadhist.el (unload-feature-special-hooks):
19864 Add `comint-output-filter-functions'.
19865
0de12c52
IK
198662011-06-08 Ivan Kanis <gnu@kanis.fr>
19867
19868 * calendar/appt.el (appt-check): Move some initializations into the let.
19869
f3d1777e
MR
198702011-06-08 Martin Rudalics <rudalics@gmx.at>
19871
19872 * window.el (window-height): Defalias to window-total-height.
19873 (window-width): Defalias to window-body-width.
19874
18af70d0
CY
198752011-06-07 Chong Yidong <cyd@stupidchicken.com>
19876
19877 * image-mode.el (image-toggle-animation): New command.
19878 (image-mode-map): Bind it to RET.
19879 (image-mode): Update message.
19880 (image-toggle-display-image): Avoid a spurious cache flush.
19881 (image-transform-rotation): Doc fix.
19882 (image-transform-properties): Return quickly in the normal case.
19883 (image-animate-loop): Rename from image-animate-max-time.
19884
2b75be67 19885 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
19886 (create-animated-image): Remove unnecessary function.
19887 (image-animate): Rename from image-animate-start. New arg.
2b75be67 19888 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
19889 (image-animate-timer): Use car-safe.
19890 (image-animate-timeout): Rename argument.
19891
190b47e6
MR
198922011-06-07 Martin Rudalics <rudalics@gmx.at>
19893
19894 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
19895 window.c. Rename first argument to ALL-FRAMES.
19896 Rephrase doc-strings.
19897 (get-buffer-window-list): Rewrite using window-list-1.
19898 Rephrase doc-string.
a1511caf
MR
19899 (window-safe-min-height, window-safe-min-width): New constants.
19900 (window-size-ignore, window-min-size, window-min-size-1)
19901 (window-sizable, window-sizable-p, window-size-fixed-1)
19902 (window-size-fixed-p, window-min-delta-1, window-min-delta)
19903 (window-max-delta-1, window-max-delta, window-resizable)
19904 (window-resizable-p, window-total-height, window-total-width)
19905 (window-body-width): New functions.
19906 (window-full-height-p, window-full-width-p): Rewrite using
19907 window-total-size.
19908 (window-body-height): Rewrite using window-body-size.
190b47e6 19909
85cc1f11
MR
199102011-06-06 Martin Rudalics <rudalics@gmx.at>
19911
19912 * window.el (window-right, window-left, window-child)
19913 (window-child-count, window-last-child, window-any-p)
19914 (normalize-live-buffer, normalize-live-frame)
19915 (normalize-any-window, normalize-live-window)
19916 (window-iso-combination-p, window-iso-combined-p)
19917 (window-iso-combinations)
19918 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
19919 (windows-with-parameter, window-with-parameter)
19920 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
19921 (window-atom-check, window-side-check, window-check):
19922 New functions.
85cc1f11
MR
19923 (ignore-window-parameters, window-sides, window-sides-vertical)
19924 (window-sides-slots): New variables.
19925 (window-size-fixed): Move down in code. Minor doc-string fix.
19926
e7156492
AS
199272011-06-05 Andreas Schwab <schwab@linux-m68k.org>
19928
19929 * comint.el (comint-dynamic-complete-as-filename)
19930 (comint-dynamic-complete-filename): Correctly call
19931 completion-in-region.
19932
7e821d0d
DD
199332011-06-05 Deniz Dogan <deniz@dogan.se>
19934
19935 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
19936 in last change.
19937
ac09b8a1
DD
199382011-06-05 Deniz Dogan <deniz@dogan.se>
19939
19940 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
19941 (rcirc): Use it to prompt for encryption.
19942
34699b85
RW
199432011-06-05 Roland Winkler <winkler@gnu.org>
19944
19945 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
19946 (bibtex-search-entries): New command bound to C-c C-a.
19947 (bibtex-display-entries): New function.
19948
004dedd3
RW
199492011-06-05 Roland Winkler <winkler@gnu.org>
19950
19951 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
19952 (bibtex-insert-kill): After yanking insert newline if necessary.
19953 (bibtex-initialize): Call bibtex-string-files-init only once.
19954 (bibtex-mode): Do not call easy-menu-add.
19955 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
19956 (bibtex-yank): Set arg properly if nil.
19957
022fe7ce
RW
199582011-06-05 Roland Winkler <winkler@gnu.org>
19959
2b75be67
SM
19960 * textmodes/bibtex.el (bibtex-search-entry-globally):
19961 New variable.
022fe7ce
RW
19962 (bibtex-search-entry): Use it.
19963
b7c3692a
RW
199642011-06-05 Roland Winkler <winkler@gnu.org>
19965
19966 * textmodes/bibtex.el (bibtex-entry-format): New option
19967 sort-fields.
19968 (bibtex-format-entry, bibtex-reformat): Honor this option.
19969 (bibtex-parse-entry): Return fields in proper order.
19970
8eda563d
JB
199712011-06-05 Juanma Barranquero <lekktu@gmail.com>
19972
19973 * doc-view.el (doc-view-remove-if): Move computation of result out
19974 of `dolist' to silence misleading lexical-binding warning.
19975
7dbe3dbc
CY
199762011-06-04 Chong Yidong <cyd@stupidchicken.com>
19977
19978 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
19979 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
19980
0c33dd17
MA
199812011-06-04 Michael Albinus <michael.albinus@gmx.de>
19982
19983 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
19984 "SunOS 5.10".
19985
f8f91c2b
MA
199862011-06-04 Michael Albinus <michael.albinus@gmx.de>
19987
19988 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
19989 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
19990 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
19991 (tramp-parse-putty):
19992 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
19993 (tramp-completion-function-alist-ssh)
19994 (tramp-completion-function-alist-telnet)
19995 (tramp-completion-function-alist-su)
19996 (tramp-completion-function-alist-putty): Set `tramp-autoload'
19997 cookie.
19998
19999 * net/tramp-ftp.el:
20000 * net/tramp-sh.el:
20001 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
20002 load "tramp.el" `tramp-set-completion-function'.
20003
e17d9003
SM
200042011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
20005
20006 * shell.el: Require and use pcomplete.
20007 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
20008 (shell-completion-vars): Set pcomplete-default-completion-function.
20009
6c4cab03
DD
200102011-06-04 Deniz Dogan <deniz@dogan.se>
20011
20012 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
20013 `memq' (Bug#8799).
20014
ea9fafe0
SM
200152011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
20016
20017 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
20018
b3e945d3
JB
200192011-06-02 Juanma Barranquero <lekktu@gmail.com>
20020
20021 * bs.el (bs--mark-unmark, bs--nth-wrapper):
20022 * mpc.el (mpc-select-extend, mpc-songpointer-context):
20023 * vc/log-view.el (log-view-beginning-of-defun):
20024 * vc/smerge-mode.el (smerge-apply-resolution-patch)
20025 (smerge-refine-forward, smerge-refine-chopup-region):
20026 Silence warning for unused `dotimes' counter variables.
20027
7d520089
SM
200282011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
20029
20030 * net/tramp.el (tramp-with-progress-reporter): Rename from
20031 with-progress-reporter. Use `declare'.
20032 * net/tramp-smb.el:
20033 * net/tramp-sh.el:
20034 * net/tramp-gvfs.el: Update all uses.
20035
a1c2400f
JB
200362011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
20037
20038 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
20039 buffer isn't killed before making it current.
20040
2403c841
SM
200412011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
20042
20043 Silence various byte-compiler warnings.
20044 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
20045 `access-type' and new obsolescence format.
20046 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
20047 new format.
20048 (byte-compile-check-variable): New `access-type' argument.
20049 Only warn if the access-type is obsolete.
20050 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
20051 (byte-compile-variable-set): Adjust callers.
20052 * help-fns.el (describe-variable): Adjust to new obsolescence format.
20053 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
20054 setting it as obsolete.
20055 * simple.el (minibuffer-completing-symbol):
20056 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
20057 access as obsolete.
20058 * minibuffer.el (minibuffer-completing-file-name): Don't make it
20059 obsolete yet.
20060 * international/quail.el (quail-mouse-choose-completion): Remove unused
20061 code referring to obsolete var.
20062 (quail-choose-completion-string): Remove.
20063 * server.el (server-clients-with, server-kill-buffer-query-function)
20064 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
20065 * proced.el (proced-send-signal):
20066 * emacs-lisp/lisp.el (lisp-complete-symbol):
20067 Replace completion-annotate-function with completion-extra-properties.
20068
2462470b
SM
200692011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
20070
fb5b2591
SM
20071 * simple.el (goto-line): Use read-number.
20072 (overriding-map-is-bound): Remove.
20073 (saved-overriding-map): Change default.
20074 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
20075 Take the map as argument.
20076 (universal-argument, negative-argument, digit-argument): Use it.
20077 (restore-overriding-map): Adjust.
20078 (do-auto-fill): Use fill-forward-paragraph.
20079 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
20080
fd6fa53f
SM
20081 * minibuffer.el (minibuffer-inactive-mode-map): New var.
20082 (minibuffer-inactive-mode): New major mode.
20083 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
20084 the *Messages* buffer" hack.
20085 (mouse-popup-menubar): Don't burp if the event is a normal key.
20086
2462470b
SM
20087 Miscellaneous tweaks.
20088 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
20089 lexical scoping as in subr.el's dolist and dotimes.
20090 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
20091 Silence compiler warning.
20092 * thingatpt.el (forward-whitespace): Trivial coding style fix.
20093 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
20094 * international/ccl.el (ccl-compile): Trivial simplification.
20095 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
20096 * emacs-lisp/testcover.el (testcover-end): Remove spurious
20097 `printflag' argument.
20098 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
20099 Purecopy the whole obsolescence data.
20100
108bf785
LL
201012011-06-01 Leo Liu <sdl.web@gmail.com>
20102
20103 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
20104 improve doc-string as suggested by Marco Pessotto
20105 <melmothx@gmail.com>.
20106 (rcirc-print): Fix last change.
20107
30a23501
SM
201082011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
20109
20110 * minibuffer.el (complete-with-action): Return nil for the metadata and
20111 boundaries of non-functional tables.
20112 (completion-table-dynamic): Return nil for the metadata.
20113 (completion-table-with-terminator): Add default case, using
20114 complete-with-action.
20115 (completion--metadata): New function.
20116 (completion-all-sorted-completions, minibuffer-completion-help): Use it
20117 to try and avoid pathological performance problems.
20118 (completion--embedded-envvar-table): Return `category' metadata.
20119
bcd54f83
LMI
201202011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
20121
20122 * subr.el (process-alive-p): New tiny convenience function.
20123
e227544d
SM
201242011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
20125
20126 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
20127 content but also its previous major mode.
20128
e8296fdc
HE
201292011-05-31 Helmut Eller <eller.helmut@gmail.com>
20130
4d61f28d 20131 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
20132 *Backtrace* buffer when we exit with C-M-c.
20133
620c53a6
SM
201342011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
20135
20136 * minibuffer.el: Add metadata method to completion tables.
20137 (completion-category-overrides): New defcustom.
20138 (completion-metadata, completion--field-metadata)
20139 (completion-metadata-get, completion--styles)
20140 (completion--cycle-threshold): New functions.
20141 (completion-try-completion, completion-all-completions):
20142 Add `metadata' argument to choose completion-styles.
20143 (completion--do-completion): Use metadata to choose cycling.
20144 (completion-all-sorted-completions): Use metadata for sorting.
20145 Remove :completion-cycle-penalty which is not needed any more.
20146 (completion--try-word-completion): Add `metadata' argument.
20147 (minibuffer-completion-help): Check metadata for annotation function
20148 and sorting.
20149 (completion-file-name-table): Return `category' metadata.
20150 (minibuffer-completing-file-name): Make obsolete.
20151 * simple.el (minibuffer-completing-symbol): Make obsolete.
20152 * icomplete.el (icomplete-completions): Pass new `metadata' param to
20153 completion-try-completion.
20154
1257e755
SM
201552011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
20156
20157 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
20158
3767e706
LL
201592011-05-30 Leo Liu <sdl.web@gmail.com>
20160
20161 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
20162 (rcirc-print): Decode all incoming messages (bug#8744).
20163 (rcirc-decode-coding-system): Allow value nil for automatic coding
20164 system detection.
3767e706 20165
d1a5d56a
GM
201662011-06-01 Glenn Morris <rgm@gnu.org>
20167
20168 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
20169
e8cbec34
CY
201702011-05-29 Chong Yidong <cyd@stupidchicken.com>
20171
20172 * image.el (image-animate-max-time): Allow nil and t values.
20173 Default to nil.
20174 (create-animated-image): Doc fix.
20175 (image-animate-start): Remove second arg; just use
20176 image-animate-max-time.
20177 (image-animate-timeout): Doc fix. Args changed.
20178
20179 * image-mode.el (image-toggle-display-image): Ensure that the
20180 image spec passed to the animate timer is the same object as in
58179cce 20181 the buffer's display property (Bug#6981).
e8cbec34
CY
20182 (image-transform-properties): Doc fix.
20183
20184 * image.el (image-animate-max-time): Default to nil.
20185
159daf87
MR
201862011-05-29 Martin Rudalics <rudalics@gmx.at>
20187
20188 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
20189 entire buffer list (Bug#8184).
20190
d66c4c7c
CY
201912011-05-29 Chong Yidong <cyd@stupidchicken.com>
20192
20193 * image.el (imagemagick-types-inhibit)
20194 (imagemagick-register-types): Doc fix.
20195
80aec780
DD
201962011-05-29 Deniz Dogan <deniz@dogan.se>
20197
20198 * net/rcirc.el (rcirc): Use the user's stored encryption method by
20199 default.
20200
1dd3c2d9
CY
202012011-05-29 Chong Yidong <cyd@stupidchicken.com>
20202
20203 * select.el: Don't perform clipboard-manager saving in hooks;
20204 leave the hooks empty.
20205
60e56523
LL
202062011-05-28 Leo Liu <sdl.web@gmail.com>
20207
20208 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
20209 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
20210 (occur-edit-mode): New major mode (Bug#8463).
20211 (occur-after-change-function): New function.
20212 (occur-engine): Give Occur tags a read-only property.
20213
2b1e1a22
KR
202142011-05-28 Kevin Ryde <user42@zip.com.au>
20215
20216 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
20217
5d344e88
CY
202182011-05-28 Chong Yidong <cyd@stupidchicken.com>
20219
8e6ca83d
CY
20220 * bindings.el (help-echo): Make the initial non-indicator dash
20221 empty on graphical terminals (Bug#7295).
20222
5d344e88
CY
20223 * files.el (auto-mode-alist): Move config rule after the
20224 in-stripping one (Bug#8547).
20225
bfbbace7
CY
20226 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
20227
fbeba6e2
CY
20228 * startup.el (normal-splash-screen): Remove gratuitous mode-line
20229 setting (Bug#8740).
20230
60ed8c72
AA
202312011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
20232
4ac619f0
AA
20233 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
20234 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
20235 (Bug#8539).
60ed8c72 20236
23db196e
CY
202372011-05-28 Chong Yidong <cyd@stupidchicken.com>
20238
20239 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
20240
5012f24c
DK
202412011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
20242
20243 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
20244 (hs-hide-block-at-point, hs-find-block-beginning)
20245 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
20246 (Bug#8279).
20247
6a639b16
GM
202482011-05-28 Glenn Morris <rgm@gnu.org>
20249
20250 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
20251
d43eaf2c
CY
202522011-05-28 Chong Yidong <cyd@stupidchicken.com>
20253
5199bde1
CY
20254 * help-fns.el (describe-function-1): If the function is a derived
20255 major mode, print the parent mode.
20256
d43eaf2c
CY
20257 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
20258 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
20259
423428a8
SM
202602011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
20261
0ff8e1ba 20262 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 20263 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
20264 * progmodes/etags.el (tags-completion-at-point-function):
20265 * info-look.el (info-lookup-completions-at-point): Mark as
20266 non-exclusive.
20267 (info-complete): Adjust accordingly.
20268
423428a8
SM
20269 * info-look.el: Convert to lexical-binding and completion-at-point.
20270 (info-lookup-completions-at-point): New function.
20271 (info-complete): Use it and completion-in-region.
20272
b74aa22b
DA
202732011-05-28 Drew Adams <drew.adams@oracle.com>
20274
20275 * isearch.el: Let M-e start with point at the first mismatched char.
20276 (isearch-fail-pos): New function.
20277 (isearch-edit-string): Use it.
20278
66e2e71d
DK
202792011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
20280
20281 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
20282
b1890b0f 202832011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
20284
20285 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
20286 traversal functions for avl-trees.
20287 (avl-tree--stack): New struct.
20288 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
20289 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
20290 (avl-tree--do-enter): Add optional `updatefun' arg.
20291 Change return value.
eb95d01d 20292 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
20293 (avl-tree--do-delete): Add `test' and `nilflag' args.
20294 Change return value.
eb95d01d
TC
20295 (avl-tree-member): Add optional `nilflag'
20296 (avl-tree-member-p): New function.
20297 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
20298 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
20299 (avl-tree-stack-empty-p): New functions.
20300
3769ddcf
TC
20301 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
20302 avl-tree--del-balance1 and make it work both ways.
20303 (avl-tree--del-balance2): Remove.
20304 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
20305 make it work both ways.
20306 (avl-tree--enter-balance2): Remove.
20307 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
20308 New macros.
20309 (avl-tree--mapc, avl-tree-map): Add direction argument.
20310
eb95d01d 203112011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
20312
20313 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
20314
a9f737ee
CY
203152011-05-27 Chong Yidong <cyd@stupidchicken.com>
20316
20317 * select.el: Support clipboard managers with built-in function
20318 x-clipboard-manager-save, via delete-frame-functions and
20319 kill-emacs-hook.
20320 (xselect-convert-to-targets): Add MULTIPLE target to list.
20321 (xselect-convert-to-save-targets): New function.
20322
c92a1e54
KH
203232011-05-27 Kenichi Handa <handa@m17n.org>
20324
20325 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
20326 let-binding rfc2047-encode-encoded-words to nil.
20327
e145f188
GM
203282011-05-27 Glenn Morris <rgm@gnu.org>
20329
5ec8a862
GM
20330 * mail/emacsbug.el: Don't require url-util.
20331
4b29d9fb
GM
20332 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
20333
e145f188
GM
20334 * files.el (set-auto-mode):
20335 Also respect mode: entries at the end of the file. (Bug#8586)
20336
7d15102b
GM
203372011-05-26 Glenn Morris <rgm@gnu.org>
20338
98f593b8
GM
20339 * files.el (hack-local-variables-prop-line, hack-local-variables):
20340 Downcase mode names, as seems to be traditional.
27b48e63 20341 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 20342
7d15102b
GM
20343 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
20344 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
20345
51d5b4ec
JD
203462011-05-25 Julien Danjou <julien@danjou.info>
20347
20348 * textmodes/rst.el (rst-define-level-faces): Do not define face
20349 symbol if it is already defined.
20350
91513f63
VB
203512011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
20352
20353 * play/5x5.el (5x5-new-game, 5x5-randomize):
20354 Reset 5x5-solver-output to nil when a new grid is cast.
20355 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
20356 these debugging traces, as defmacro breaks the compiled code.
20357
4d90d6d0
DK
203582011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
20359
20360 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
20361
e1b90ef6
LL
203622011-05-24 Leo Liu <sdl.web@gmail.com>
20363
20364 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
20365 (vc-bzr-sha1): Adapt.
20366
d8e4b68b 20367 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
20368
20369 * bindings.el: Provide sha1 feature.
20370
db0406bb 203712011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
20372
20373 * mail/sendmail.el: Require `rfc2047'.
20374 (mail-insert-from-field): Do not perform RFC2047 encoding.
20375 (mail-encode-header): New function.
20376 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
20377 buffer to the return value of select-message-coding-system.
20378 Call mail-encode-header.
b8d747b9
KH
20379
20380 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
20381
db0406bb 203822011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 20383
4d90d6d0
DK
20384 * mail/supercite.el (sc-default-cite-frame):
20385 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 20386
eb8a5e9b
GM
203872011-05-24 Glenn Morris <rgm@gnu.org>
20388
f8630703
GM
20389 * progmodes/python.el (brm-menu): Declare.
20390
8831bbed
GM
20391 * emulation/viper.el (viper-set-hooks): Declare.
20392
eb8a5e9b
GM
20393 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
20394 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
20395 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
20396 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
20397 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
20398 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
20399
a2a25d24
SM
204002011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
20401
20402 Add an :exit-function for completion-at-point.
20403
20404 * minibuffer.el (completion--done): New fun.
20405 (completion--do-completion): Use it. New arg `expect-exact'.
20406 (minibuffer-complete, minibuffer-complete-word): Don't output message,
20407 since completion--do-completion does it for us now.
20408 (minibuffer-force-complete): Use completion--done and
20409 completion--replace. Handle sole-completion case with more care.
20410 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
20411 (completion-extra-properties): New var.
20412 (completion-annotate-function): Make obsolete.
20413 (minibuffer-completion-help): Adjust accordingly.
20414 Use completion-list-insert-choice-function.
20415 (completion-at-point, completion-help-at-point):
20416 Bind completion-extra-properties.
20417 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
20418 * simple.el (completion-list-insert-choice-function): New var.
20419 (completion-setup-function): Preserve it.
20420 (choose-completion): Pay attention to it, shuffle the code a bit.
20421 (choose-completion-string): New arg `insert-function'.
20422
20423 * textmodes/bibtex.el: Convert to lexical binding.
20424 (bibtex-mode-map): Use completion-at-point.
20425 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
20426 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
20427 (bibtex-complete): Define as obsolete alias.
20428 (bibtex-complete-internal): Remove.
20429 (bibtex-format-entry): Remove unused sub-group in regexp.
20430 * shell.el (shell--command-completion-data)
20431 (shell-environment-variable-completion):
20432 * pcomplete.el (pcomplete-completions-at-point):
20433 * comint.el (comint--complete-file-name-data): Use :exit-function
20434 instead of completion-table-with-terminator so it also works for
20435 choose-completion.
20436
e44e373d
SM
204372011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
20438
4f91a816
SM
20439 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
20440
782fc819
SM
20441 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
20442 (bug#8710).
20443
e44e373d
SM
20444 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
20445
381987c3
KM
204462011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
20447
20448 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
20449 customization variable and implement: If non-nil, auto-fill will
20450 be inhibited while on topic's header line.
20451
b776bc70
VB
204522011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
20453
20454 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 20455 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
20456 always have a solution in grid size = 5 cases.
20457 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
20458 (5x5-solver-output, 5x5-log-buffer): New vars.
20459 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
20460 Make these variables buffer local to achieve 5x5 multi-session-ness.
20461 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
20462 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
20463 (5x5-solve-suggest): New funs.
20464 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
20465 randomize a grid so that we ensure that there is always a solution.
20466 (5x5-make-random-grid): Allow other movement than flipping.
20467
7de88b6e
KR
204682011-05-23 Kevin Ryde <user42@zip.com.au>
20469
20470 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 20471 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
20472 advice and passes PREDICATE.
20473
b1ef1257
SM
204742011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
20475
bbca48fe
SM
20476 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
20477 byte-compile-lambda if it's actually a lambda.
20478
b1ef1257
SM
20479 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
20480 Fix function quoting. Use backquote better.
20481
92a9cc65
YS
204822011-05-22 Yuanle Song <sylecn@gmail.com>
20483
20484 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
20485 matching (Bug#8516).
20486
f0fb8059
JA
204872011-01-22 Jari Aalto <jari.aalto@cante.net>
20488
20489 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
20490 different face (Bug#8178).
20491
d5b44c93
CY
204922011-05-22 Chong Yidong <cyd@stupidchicken.com>
20493
20494 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
20495 defface (Bug#8144).
20496
79106a44
SM
204972011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
20498
9c848d8a
SM
20499 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
20500 funcall as well (bug#8712). Warn when performing those conversions.
20501 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
20502
79106a44
SM
20503 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
20504
88dfa756
GM
205052011-05-22 Glenn Morris <rgm@gnu.org>
20506
20507 * files.el (hack-local-variables-prop-line): Small simplifications.
20508 (hack-local-variables, hack-local-variables-prop-line):
20509 If MODE-ONLY, return the mode, rather than just `t'.
20510
b7cf2c79
SM
205112011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
20512
20513 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
20514
3f1a8558
GM
205152011-05-21 Glenn Morris <rgm@gnu.org>
20516
7e4ccca3
GM
20517 * files.el (hack-local-variables-prop-line, hack-local-variables):
20518 If only interested in the mode, don't bother doing the other stuff.
20519
637d46ca
GM
20520 * image-mode.el (image-after-revert-hook):
20521 Redraw all frames on which the image is visible. (Bug#8567)
20522
973d955b
GM
20523 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
20524
3f1a8558
GM
20525 * wid-edit.el (widget-checklist-match-inline):
20526 Fix 2011-04-19 change. (Bug#8649)
20527
96479927
SM
205282011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
20529
1dcf791f
SM
20530 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
20531 Also allow singlespace after single-letter capitals followed by a dot.
20532
96479927
SM
20533 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
20534 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
20535
35fd0881
N
205362011-05-20 Nix <nix@esperi.org.uk>
20537
20538 * files.el (basic-save-buffer-2):
20539 Fix handling of break-hardlink-on-save with non-existent files.
20540
82745640
DD
205412011-05-19 Deniz Dogan <deniz@dogan.se>
20542
20543 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 20544 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 20545
4a720484
GM
205462011-05-19 Glenn Morris <rgm@gnu.org>
20547
d1f21341
GM
20548 * progmodes/f90.el (f90-type-def-re):
20549 Handle "type, bind(c)". (Bug#8691)
20550
4a720484
GM
20551 * emacs-lisp/autoload.el (batch-update-autoloads):
20552 Set autoload-excludes by parsing loadup.el rather than Makefiles.
20553
2fb0a219
MA
205542011-05-18 Michael Albinus <michael.albinus@gmx.de>
20555
20556 * net/tramp.el (tramp-process-actions): Set "first-password-request"
20557 property for the correct connection in case of multihops.
20558
e565dd37
GM
205592011-05-18 Glenn Morris <rgm@gnu.org>
20560
c2571358 20561 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
20562 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
20563
e565dd37
GM
20564 Rationalize calendar handling of day and month abbrev-arrays.
20565 * calendar/calendar.el (calendar-customized-p): New function.
20566 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
20567 (calendar-day-name-array, calendar-month-name-array): Doc fix.
20568 Add :set function.
20569 (calendar-abbrev-length, calendar-day-abbrev-array)
20570 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
20571 (calendar-day-abbrev-array, calendar-month-abbrev-array):
20572 Elements may no longer be nil.
20573 (calendar-day-name, calendar-month-name):
20574 Update for changed nature of abbrev arrays.
20575 * calendar/diary-lib.el (diary-name-pattern):
20576 Update for changed nature of abbrev arrays.
20577 (diary-mark-entries-1): Update calendar-make-alist calls.
20578 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
20579 * calendar/cal-html.el (cal-html-day-abbrev-array):
20580 Simply inherit from calendar-day-abbrev-array.
20581
1d99a745
SM
205822011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
20583
20584 * progmodes/grep.el (grep-mode): Disable default
20585 compilation-directory-matcher setting (bug#8684).
20586
7c1d9aa0
MA
205872011-05-17 Michael Albinus <michael.albinus@gmx.de>
20588
20589 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
20590 instead of "head" and "tail". There were problems with SunOS 5.9,
20591 and it performs better.
20592
3952e9d8
GM
205932011-05-17 Glenn Morris <rgm@gnu.org>
20594
2dd12e7f
GM
20595 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
20596
e4157b9c
GM
20597 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
20598 Replace obsolete function.
20599
8e249bbd
GM
20600 * shell.el (pcomplete-parse-arguments-function): Declare.
20601
3952e9d8
GM
20602 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
20603 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
20604 (appt-check): Doc fixes.
20605 (appt-disp-window-function, appt-delete-window-function):
20606 Remove needless special case in custom :type.
20607 (appt-display-count): Default to 0, not nil.
20608 (appt-check): Reset appt-display-count to 0, not nil.
20609
c71a0d48 206102011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 20611
c71a0d48
GM
20612 * progmodes/python.el (python-font-lock-keywords):
20613 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 20614
31d55be9
SM
206152011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
20616
20617 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
20618
3bfacb2f
KR
206192011-05-16 Kevin Ryde <user42@zip.com.au>
20620
20621 * info-look.el (makefile-automake-mode): New setups, looking in
20622 automake manual, then makefile-mode.
20623 (makefile-mode): Remove automake manual, have it just in
20624 makefile-automake-mode since there's various things different or
20625 not relevant to plain make.
20626 (makefile-mode): Remove "other-modes" non-existent automake-mode,
20627 believe a hypothetical automake-mode would go to makefile-mode,
20628 not the other way around.
20629
c8e83751
CY
206302011-05-15 Chong Yidong <cyd@stupidchicken.com>
20631
5e9e35cd
CY
20632 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
20633 hunk-end tags (Bug#8672).
20634
c8e83751
CY
20635 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
20636 vc-annotate-show-diff-revision-at-line (Bug#8671).
20637
50b23e5a
GM
206382011-05-14 Glenn Morris <rgm@gnu.org>
20639
7210a739
GM
20640 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
20641 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
20642 (change-log-font-lock-keywords): Also handle multiple author lines
20643 with leading tabs. (Bug#8644)
7210a739 20644
4691905a
GM
20645 * calendar/appt.el (appt-check): Rename some local variables.
20646 Some simplification/reordering.
20647
50b23e5a
GM
20648 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
20649 (feedmail-sendmail-f-doesnt-sell-me-out)
20650 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
20651 (feedmail-debug-sit-for, feedmail-queue-express-hook)
20652 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
20653 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
20654 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
20655 (feedmail-binmail-gnulinuxish-template):
20656 Rename from feedmail-binmail-linuxish-template.
20657 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
20658 Use insert-buffer-substring.
20659
215cda7c
BC
206602011-05-14 Bill Carpenter <bill@carpenter.org>
20661
20662 * mail/feedmail.el (feedmail-patch-level): Increase.
20663 (feedmail-debug): New custom group.
20664 (feedmail-confirm-outgoing-timeout)
20665 (feedmail-sendmail-f-doesnt-sell-me-out)
20666 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
20667 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
20668 (feedmail-sender-line, feedmail-from-line)
20669 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 20670 (feedmail-spray-this-address)
215cda7c
BC
20671 (feedmail-spray-address-fiddle-plex-list)
20672 (feedmail-queue-use-send-time-for-date)
20673 (feedmail-queue-use-send-time-for-message-id)
20674 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
20675 (feedmail-buffer-eating-function):
20676 Doc fixes.
20677 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
20678 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
20679 (feedmail-message-action-scroll-down): New functions.
20680 (feedmail-queue-directory, feedmail-queue-draft-directory):
20681 Use expand-file-name.
20682 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
20683 Remove C-v help entry.
20684 (feedmail-queue-buffer-file-name): New variable.
20685 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
20686 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
20687 (feedmail-message-action-send-strong, feedmail-message-action-edit)
20688 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
20689 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
20690 (feedmail-message-action-toggle-spray)
20691 (feedmail-run-the-queue-no-prompts)
20692 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
20693 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
20694 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
20695 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
20696 (feedmail-envelope-deducer, feedmail-fiddle-from)
20697 (feedmail-fiddle-sender, feedmail-default-date-generator)
20698 (feedmail-fiddle-date, feedmail-fiddle-message-id)
20699 (feedmail-fiddle-spray-address)
20700 (feedmail-fiddle-list-of-spray-fiddle-plexes)
20701 (feedmail-fiddle-list-of-fiddle-plexes)
20702 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
20703 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
20704 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
20705 Change default. Doc fix.
20706 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
20707 (feedmail-binmail-linuxish-template): New constant.
20708 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
20709 Respect feedmail-sendmail-f-doesnt-sell-me-out.
20710 (feedmail-send-it): Add debug call.
20711 Use feedmail-queue-buffer-file-name, and
20712 feedmail-send-it-immediately-wrapper.
20713 (feedmail-message-action-send): Add debug call.
20714 Use feedmail-send-it-immediately-wrapper.
20715 (feedmail-queue-express-to-queue): Add debug call.
20716 Run feedmail-queue-express-hook.
20717 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
20718 (feedmail-message-action-help-blat):
20719 Rename from feedmail-queue-send-edit-prompt-help-first.
20720 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
20721 Check line-endings. Handle errors better.
20722 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
20723 Doc fix. Add debug call.
20724 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
20725 Use feedmail-queue-send-edit-prompt-inner.
20726 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
20727 (feedmail-queue-send-edit-prompt-inner): New function, extracted
20728 from feedmail-queue-send-edit-prompt.
20729 (feedmail-queue-send-edit-prompt-help)
20730 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
20731 (feedmail-tidy-up-slug): Add debug call.
20732 Respect feedmail-queue-slug-suspect-regexp.
20733 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
20734 (feedmail-dump-message-to-queue): Add debug call.
20735 Expand queue-directory.
20736 (feedmail-dump-message-to-queue): Change message slightly.
20737 Use feedmail-say-chatter.
20738 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
20739 (feedmail-send-it-immediately-wrapper): New function.
20740 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
20741 Insert empty string rather than newline. Handle full-frame case.
20742 Use catch/throw. Use feedmail-say-chatter.
20743 (feedmail-fiddle-from): Try mail-host-address.
20744 (feedmail-default-message-id-generator): Doc fix.
20745 Bind system-time-locale. Handle missing end.
20746 (feedmail-fiddle-x-mailer): Add debug call.
20747 Handle feedmail-x-mailer-line being nil.
20748 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
20749 Add debug call. Use buffer-substring-no-properties.
20750 (feedmail-say-debug, feedmail-say-chatter): New functions.
20751 (feedmail-find-eoh): Give an explicit error.
20752
42c7e61e
UJ
207532011-05-13 Ulf Jasper <ulf.jasper@web.de>
20754
c2571358 20755 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 20756 family from helvetica to sans.
c2571358 20757 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
20758 etc/images/newsticker.
20759
c2571358 20760 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
20761 family from helvetica to sans.
20762
20763 * net/newst-plainview.el (newsticker-new-item-face)
20764 (newsticker-old-item-face, newsticker-immortal-item-face)
20765 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 20766 (newsticker-statistics-face): Change default family from
42c7e61e 20767 helvetica to sans.
c2571358 20768 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
20769 etc/images/newsticker.
20770
5d3385a0
JB
20771 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
20772 (newsticker--process-auto-mark-filter-match): Tell user about
42c7e61e
UJ
20773 auto-marking.
20774
8497a297
DV
207752011-05-13 Didier Verna <didier@xemacs.org>
20776
20777 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
20778 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
20779 TODO entries.
8497a297
DV
20780 (lisp-lambda-list-keyword-parameter-indentation)
20781 (lisp-lambda-list-keyword-parameter-alignment)
20782 (lisp-lambda-list-keyword-alignment): New customizable user options.
20783 (lisp-indent-defun-method): Improve docstring.
20784 (extended-loop-p): Fix comment.
20785 (lisp-indent-lambda-list-keywords-regexp): New variable.
20786 (lisp-indent-lambda-list): New function.
20787 (lisp-indent-259): Use it.
20788 (lisp-indent-defmethod): Support for more than one
20789 method qualifier and properly indent methods lambda-lists.
20790 (defgeneric): Provide a missing common-lisp-indent-function property.
20791
f278f87f
SM
207922011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
20793
20794 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
20795 bounds for the empty string (bug#8667).
20796
5233edd7
GM
207972011-05-13 Glenn Morris <rgm@gnu.org>
20798
5237a44f
GM
20799 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
20800
8340026c 20801 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 20802 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 20803
5233edd7 20804 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 20805 (appt-time-msg-list): Doc fix.
a5464014 20806 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 20807
92d10796
AS
208082011-05-12 Andreas Schwab <schwab@linux-m68k.org>
20809
20810 * progmodes/ld-script.el (ld-script-keywords)
20811 (ld-script-builtins): Update keywords list.
20812
914a0ae1
SM
208132011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
20814
c89be45f
SM
20815 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
20816
914a0ae1
SM
20817 * shell.el (shell-completion-vars): New function.
20818 (shell-mode):
20819 * simple.el (read-shell-command): Use it.
20820 (blink-matching-open): No need for " [...]" in minibuffer-message.
20821
98dc3df3
GM
208222011-05-12 Glenn Morris <rgm@gnu.org>
20823
20824 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
20825 (appt-check): Simplify.
20826
d2fc7e3d 208272011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 20828
4d61f28d 20829 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
20830 literal "/dev/null".
20831
d2fc7e3d 208322011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
20833
20834 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
20835 Fix typo.
20836
d2fc7e3d 208372011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 20838
3f254caa
SM
20839 * progmodes/which-func.el (which-function):
20840 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
20841 which might not be defined (Bug#8260).
20842
d45885f7
GM
208432011-05-12 Glenn Morris <rgm@gnu.org>
20844
20845 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
20846 Let byte-compile-initial-macro-environment always take precedence.
20847
488086f4
SM
208482011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
20849
20850 * net/rcirc.el: Add support for SSL/TLS connections.
20851 (rcirc-server-alist): New field `encryption'.
20852 (rcirc): Check `encryption' settings.
20853 (rcirc-connect): New arg `encryption'. Use open-network-stream.
20854 Merge make-local-variable into `set'.
20855 (rcirc--connection-open-p): New function.
20856 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
20857 the process is not a network process (e.g. running gnutls-cli).
20858 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
20859 Make rcirc-(en|de)code-coding-system local here.
20860 (rcirc-mode): Merge make-local-variable into `set'.
20861 (rcirc-parent-buffer): Make permanent buffer-local.
20862 (rcirc-multiline-minor-mode): Don't do it here.
20863 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
20864 there's no server buffer.
20865
7d3b9d44
GM
208662011-05-11 Glenn Morris <rgm@gnu.org>
20867
f64049c6
GM
20868 * newcomment.el (comment-kill): Prefix "unused" local.
20869
93c9df73
GM
20870 * term/w32console.el (get-screen-color): Declare.
20871
7d3b9d44
GM
20872 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
20873 Handle symbol elements of byte-compile-initial-macro-environment.
20874
9e2dd53f
LL
208752011-05-10 Leo Liu <sdl.web@gmail.com>
20876
488086f4
SM
20877 * bookmark.el (bookmark-bmenu-mode-map):
20878 Bind bookmark-bmenu-search to `/'.
8b340240 20879
9e2dd53f 20880 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
20881 (footnote-unicode-string, footnote-unicode-regexp): New variable.
20882 (Footnote-unicode): New function.
20883 (footnote-style-alist): Add unicode style to the list.
20884 (footnote-style): Doc fix.
9e2dd53f 20885
79b70037
GM
208862011-05-10 Jim Meyering <meyering@redhat.com>
20887
20888 Fix doubled-word typos.
20889 * international/quail.el (quail-insert-kbd-layout): and and -> and
20890 * kermit.el: and and -> and
20891 * net/ldap.el (ldap-search-internal): to to -> to
20892 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
20893 * progmodes/js.el (js-mode): and and -> and
20894 * textmodes/artist.el (artist-move-to-xy): at at -> at
20895 (artist-draw-region-trim-line-endings): if if -> if
20896 And Safetyc -> Safety.
20897 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
20898
b8f82dc1 208992011-05-10 Glenn Morris <rgm@gnu.org>
f1a71c6e 20900 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
20901
20902 * files.el (hack-one-local-variable-eval-safep):
20903 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
20904
4f99f44b
GM
209052011-05-10 Glenn Morris <rgm@gnu.org>
20906
20907 * calendar/diary-lib.el (diary-list-entries-hook)
20908 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
20909 (diary-nongregorian-marking-hook, diary-list-entries)
20910 (diary-include-other-diary-files, diary-mark-entries)
20911 (diary-mark-included-diary-files): Doc fixes.
20912
84f29e6b
JB
209132011-05-09 Juanma Barranquero <lekktu@gmail.com>
20914
20915 * misc.el: Require tabulated-list.el during compilation.
20916
9bedd73a
CY
209172011-05-09 Chong Yidong <cyd@stupidchicken.com>
20918
488086f4
SM
20919 * progmodes/compile.el (compilation-start):
20920 Run compilation-filter-hook for the async case too.
9bedd73a
CY
20921 (compilation-filter-hook): Doc fix.
20922
797c735c
DD
209232011-05-09 Deniz Dogan <deniz@dogan.se>
20924
20925 * wdired.el: Remove outdated installation comment. Fix usage
20926 comment.
20927
5f4b1dfe
JB
209282011-05-09 Juanma Barranquero <lekktu@gmail.com>
20929
20930 * misc.el: Implement new command `list-dynamic-libraries'.
20931 (list-dynamic-libraries--loaded-only-p): New variable.
20932 (list-dynamic-libraries--refresh): New function.
20933 (list-dynamic-libraries): New command.
20934
4c44026c
CY
209352011-05-09 Chong Yidong <cyd@stupidchicken.com>
20936
488086f4
SM
20937 * progmodes/compile.el (compilation-error-regexp-alist-alist):
20938 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
20939 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
20940 higher priority to avoid clobbering by gnu.
20941
027f966d
CY
209422011-05-08 Chong Yidong <cyd@stupidchicken.com>
20943
20944 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
20945 if the face has existing theme settings (Bug#8454).
20946
085f5d7d
CY
209472011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
20948
488086f4
SM
20949 * progmodes/perl-mode.el (perl-imenu-generic-expression):
20950 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 20951
2a86a00c
RS
20952 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
20953 special file names `.' and `..' (Bug#8259).
20954
d9c54a06
CY
209552011-05-08 Chong Yidong <cyd@stupidchicken.com>
20956
488086f4
SM
20957 * progmodes/grep.el (grep-mode-font-lock-keywords):
20958 Remove buffer-changing entries.
d9c54a06
CY
20959 (grep-filter): New function.
20960 (grep-mode): Add it to compilation-filter-hook.
20961
20962 * progmodes/compile.el (compilation-filter-hook)
20963 (compilation-filter-start): New defvars.
20964 (compilation-filter): Call compilation-filter-hook prior to
20965 updating the process mark.
20966
c4662635
SM
209672011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
20968
20969 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
20970
b0512a1d
EZ
209712011-05-07 Eli Zaretskii <eliz@gnu.org>
20972
605c9376
EZ
20973 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
20974 mailclient-send-it even if window-system is nil. (Bug#8595)
20975
c4662635
SM
20976 * term/w32console.el (terminal-init-w32console):
20977 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
20978 background-mode. (Bug#8597)
20979
d1dc2cc2
SM
209802011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
20981
20982 Make bytecomp.el understand that defmethod defines funs (bug#8631).
20983 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
20984 New functions.
20985 (defgeneric, eieio--defmethod): Use them.
20986 (eieio-defgeneric): Remove.
20987 (defmethod): Call defgeneric in a way visible to the byte-compiler.
20988
915d1300
GM
209892011-05-07 Glenn Morris <rgm@gnu.org>
20990
a3961c3e
GM
20991 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
20992 Use let rather than let*.
20993 (timeclock-find-discrep): Remove unused local.
20994
314347b9
GM
20995 * calendar/diary-lib.el (diary-comment-start): Doc fix.
20996
915d1300
GM
20997 * calendar/appt.el (appt-time-msg-list): Doc fix.
20998
275b59b0
NF
209992011-05-06 Noah Friedman <friedman@splode.com>
21000
21001 * apropos.el (apropos-print-doc): Only use
21002 emacs-lisp-docstring-fill-column when it is bound to an integer,
21003 per that variable's documentation.
21004
6c19f744
SM
210052011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
21006
21007 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 21008 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 21009
60f884b2
GM
210102011-05-06 Glenn Morris <rgm@gnu.org>
21011
5006e634
GM
21012 * calendar/appt.el (appt-message-warning-time): Doc fix.
21013 (appt-warning-time-regexp): New option.
21014 (appt-make-list): Respect appt-message-warning-time.
21015
548d0a63
GM
21016 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
21017 New options.
21018 (diary-add-to-list): Strip comments from the displayed string.
21019 (diary-mode): Set comment-start and comment-end.
21020
60f884b2
GM
21021 * vc/diff-mode.el (smerge-refine-subst): Declare.
21022 (diff-refine-hunk): Don't require smerge-mode when compiling.
21023
989681bb
JB
210242011-05-06 Juanma Barranquero <lekktu@gmail.com>
21025
21026 * simple.el (list-processes): Return nil as the docstring says.
21027
a6bc05e1
MA
210282011-05-05 Michael Albinus <michael.albinus@gmx.de>
21029
21030 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
21031 to "".
21032 (ange-ftp-write-region, ange-ftp-insert-file-contents)
21033 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
21034 determining of binary transfer. (Bug#7383)
21035
23c22e9a
MA
210362011-05-05 Michael Albinus <michael.albinus@gmx.de>
21037
c4662635
SM
21038 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
21039 Fix port computation bug. (Bug#8618)
23c22e9a 21040
0bff894f
GM
210412011-05-05 Glenn Morris <rgm@gnu.org>
21042
b8296902
GM
21043 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
21044
1f522ce8
GM
21045 * simple.el (shell-dynamic-complete-functions)
21046 (comint-dynamic-complete-functions): Declare.
21047
cf5bee67
GM
21048 * net/network-stream.el (gnutls-negotiate):
21049 * simple.el (tabulated-list-print): Fix declarations.
21050
21051 * progmodes/gud.el (syntax-symbol, syntax-point):
21052 Remove unnecessary and incorrect declarations.
21053
0bff894f 21054 * emacs-lisp/check-declare.el (check-declare-scan):
1f9f395d 21055 Handle byte-compile-initial-macro-environment in bytecomp.el.
0bff894f 21056
9869b3ae
SM
210572011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
21058
21059 Fix earlier half-done eieio-defmethod change (bug#8338).
21060 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
21061 Streamline and change calling convention.
21062 (defmethod): Adjust accordingly and simplify.
21063 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
21064 new eieio--defmethod.
21065 (slot-boundp): Minor CSE simplification.
21066
9c1d5ac5
MZ
210672011-05-05 Milan Zamazal <pdm@zamazal.org>
21068
21069 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
21070 (glasses-make-readable): Use glasses-separate-capital-groups.
21071
455c834e
JB
210722011-05-05 Juanma Barranquero <lekktu@gmail.com>
21073
21074 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
21075 (warning-series): Doc fix.
21076 (display-warning): Don't try to create the buffer if we just found it.
21077
9ed7c8cb
CY
210782011-05-04 Chong Yidong <cyd@stupidchicken.com>
21079
21080 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
21081 (autoload-find-generated-file): New function.
21082 (generate-file-autoloads): Bind generated-autoload-file to
21083 buffer-file-name.
9869b3ae
SM
21084 (update-file-autoloads, update-directory-autoloads):
21085 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
21086 output file (Bug#7989).
21087 (batch-update-autoloads): Doc fix.
21088
0898ca10
JB
210892011-05-04 Juanma Barranquero <lekktu@gmail.com>
21090
21091 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
21092
31dfb76c
GM
210932011-05-04 Glenn Morris <rgm@gnu.org>
21094
f330b642
GM
21095 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
21096 function, so it follows changes in calendar-date-style.
21097 (diary-fancy-date-matcher): New function.
21098 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
21099 (diary-fancy-font-lock-fontify-region-function):
21100 Use diary-fancy-date-pattern as a function.
21101
31dfb76c
GM
21102 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
21103 non-numbers for `year' etc pseudo-variables. (Bug#8583)
21104
48e79d6a
TZ
211052011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
21106
21107 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
21108 instead of positional arguments. Allow :keylist and :crlfiles
21109 arguments.
21110 (open-gnutls-stream): Call it.
21111
21112 * net/network-stream.el (network-stream-open-starttls): Adjust to
21113 call `gnutls-negotiate' with :process and :hostname arguments.
21114
dd5a5ee0
SM
211152011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
21116
ef80fc09
SM
21117 * minibuffer.el (completion--message): New function.
21118 (completion--do-completion, minibuffer-complete)
21119 (minibuffer-force-complete, minibuffer-complete-word): Use it.
21120 (completion--do-completion): Don't ignore completion-auto-help when in
21121 icomplete-mode.
21122
dd5a5ee0
SM
21123 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
21124 internal encoding (e.g. tibetan zero is not whitespace).
21125 (global-whitespace-mode): Prefer save-current-buffer.
21126 (whitespace-trailing-regexp): Remove useless save-match-data.
21127 (whitespace-empty-at-bob-regexp): Minor simplification.
21128
b7d22a83
CY
211292011-05-03 Chong Yidong <cyd@stupidchicken.com>
21130
21131 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
21132
5192af46
AM
211332011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
21134
21135 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 21136 Use `concat' to create string for insertion.
5192af46 21137
5767d190
SM
211382011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
21139
21140 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
21141 Avoid open-line which runs post-self-insert-hook.
21142 (bibtex-fill-entry): Remove unused `end' var.
21143
bf242939
AM
211442011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
21145
5767d190
SM
21146 * textmodes/ispell.el (ispell-add-per-file-word-list):
21147 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 21148
25666126
LL
211492011-05-03 Leo Liu <sdl.web@gmail.com>
21150
21151 * isearch.el (isearch-yank-pop): New command.
5767d190 21152 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
21153 (isearch-forward): Mention it.
21154
52d3c2d0
SM
211552011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
21156
1bcace58
SM
21157 * simple.el (minibuffer-complete-shell-command): Remove.
21158 (minibuffer-local-shell-command-map): Use completion-at-point.
21159 (read-shell-command): Setup completion vars here instead.
21160 (read-expression-map): Bind TAB to symbol completion.
21161
52d3c2d0
SM
21162 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
21163 error directly rather via storing it into `results'.
21164
35813471
LL
211652011-05-02 Leo Liu <sdl.web@gmail.com>
21166
21167 * vc/diff.el: Fix description.
21168
e793a940
LMI
211692011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
21170
21171 * server.el (server-eval-at): New function.
21172
8de66e05
LMI
211732011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
21174
21175 * net/network-stream.el (open-network-stream): Take a :nowait
21176 parameter and pass it on to `make-network-process'.
21177 (network-stream-open-plain): Ditto.
21178
dcb79f20
AS
211792011-04-30 Andreas Schwab <schwab@linux-m68k.org>
21180
21181 * faces.el (face-spec-set-match-display): Don't match toolkit
21182 options on terminal frames.
21183
14a7fbd8
SM
211842011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
21185
7eabc1be
SM
21186 * progmodes/pascal.el: Use lexical binding.
21187 (pascal-mode-map): Remove author preferences.
21188
14a7fbd8
SM
21189 * pcomplete.el (pcomplete-std-complete): Don't abuse
21190 completion-at-point.
21191
50f84510
JB
211922011-04-28 Juanma Barranquero <lekktu@gmail.com>
21193
6e087a44
JB
21194 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
21195 removing code that has been dead since 1991 or so.
21196
50f84510
JB
21197 * startup.el (command-line): When warning about "_emacs", use a
21198 delayed warning to allow the user to filter it out.
21199
0ba690bd
DD
212002011-04-28 Deniz Dogan <deniz@dogan.se>
21201
21202 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
21203 user has not joined.
21204
08abfaad
SM
212052011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
21206
21207 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
21208 aren't any completions at point.
21209
638f053a
JB
212102011-04-28 Juanma Barranquero <lekktu@gmail.com>
21211
21212 * subr.el (display-delayed-warnings): New function.
21213 (delayed-warnings-hook): New variable.
21214
8fff8daa
SM
212152011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
21216
08abfaad
SM
21217 * minibuffer.el (completion-at-point, completion-help-at-point):
21218 Don't presume that a given completion-at-point-function will always
21219 use the same calling convention.
21220
8fff8daa
SM
21221 * pcomplete.el (pcomplete-completions-at-point):
21222 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
21223 pcomplete-seen is non-nil.
21224 (pcomplete-comint-setup): Also recognize the new comint/shell
21225 completion functions.
21226 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
21227 pcomplete-seen is non-nil.
21228
841a1577 212292011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 21230
841a1577 21231 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 21232 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 21233 the first character in the entry. This allows for code to add its
211ec907
UJ
21234 own uid to the entry.
21235 (icalendar--convert-float-to-ical): Add export of
21236 `diary-float'-entries save for those with the optional DAY
21237 argument.
21238
2a782793
DC
212392011-04-27 Daniel Colascione <dan.colascione@gmail.com>
21240
21241 * subr.el (shell-quote-argument): Use alternate escaping strategy
21242 when we spot a variable reference in a string.
21243
0438ce91
DC
212442011-04-26 Daniel Colascione <dan.colascione@gmail.com>
21245
21246 * cus-start.el (all): Define customization for debug-on-event.
21247
841a1577 212482011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
21249
21250 * subr.el (shell-quote-argument): Escape correctly under Windows.
21251
d090ed6c
SM
212522011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
21253
21254 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
21255
bfd31217
MA
212562011-04-25 Michael Albinus <michael.albinus@gmx.de>
21257
d090ed6c
SM
21258 * net/tramp.el (tramp-process-actions): Add POS argument.
21259 Delete region between POS and (pos).
bfd31217 21260
d090ed6c
SM
21261 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
21262 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
21263 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
21264
21265 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
21266 position in `tramp-process-actions' call.
21267
21268 * net/trampver.el: Update release number.
21269
e92f3bd3
SM
212702011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
21271
850256b5
SM
21272 * custom.el (defcustom): Obey lexical-binding.
21273
e92f3bd3
SM
21274 Fix octave-inf completion problems reported by Alexander Klimov.
21275 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
21276 Inherit from octave-mode-syntax-table.
21277 (inferior-octave-mode): Set info-lookup-mode.
21278 (inferior-octave-completion-at-point): New function.
21279 (inferior-octave-complete): Use it and completion-in-region.
21280 (inferior-octave-dynamic-complete-functions): Use it as well, and use
21281 comint-filename-completion.
21282 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
21283 symbol elements which shouldn't be word elements.
21284 (octave-font-lock-keywords, octave-beginning-of-defun)
21285 (octave-function-header-regexp): Adjust regexps accordingly.
21286 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
21287
cd22b309
JB
212882011-04-25 Juanma Barranquero <lekktu@gmail.com>
21289
21290 * net/gnutls.el (gnutls-errorp): Declare before first use.
21291
8b492194
TZ
212922011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
21293
21294 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
21295 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 21296 default trustfile exists before going to use it. Add missing
5a5fa834 21297 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
21298 Reported by Claudio Bley <claudio.bley@gmail.com>.
21299 (open-gnutls-stream): Add usage example.
21300
21301 * net/network-stream.el (network-stream-open-starttls): Give host
21302 parameter to `gnutls-negotiate'.
21303 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 21304 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 21305
841a1577 213062011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 21307
cd22b309
JB
21308 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
21309 Use correct match group (bug#8438).
05842630 21310
3ba7869c
CY
213112011-04-24 Chong Yidong <cyd@stupidchicken.com>
21312
512e3ae1
CY
21313 * emacs-lisp/package.el (package-built-in-p): Fix typo.
21314 (package-menu--generate): New arg specifying packages to show.
21315 (package-menu-refresh, package-menu-execute, list-packages):
21316 Callers changed.
21317 (package-show-package-list): New function, replacing deleted
21318 package--list-packages (renamed because it is non-internal).
21319
21320 * finder.el (finder-list-matches): Use package-show-package-list
21321 instead of deleted package--list-packages.
21322
e92f3bd3
SM
21323 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
21324 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
21325 (vc-annotate-mode-map): Bind it to RET.
21326
7031be6d
UR
213272011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
21328
21329 * progmodes/etags.el (next-file): Don't use set-buffer to change
21330 buffers (Bug#8478).
21331
4ef177aa
CY
213322011-04-24 Chong Yidong <cyd@stupidchicken.com>
21333
c8d173eb
CY
21334 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
21335
4ef177aa
CY
21336 * apropos.el (apropos-label-face): Avoid variable-pitch face.
21337 (apropos-accumulator): Doc fix.
21338 (apropos-function, apropos-macro, apropos-command)
21339 (apropos-variable, apropos-face, apropos-group, apropos-widget)
21340 (apropos-plist): Add face property.
21341 (apropos-symbols-internal): Fix indentation.
21342 (apropos-print): Simplify help, and recognize apropos-multi-type.
21343 (apropos-print-doc): Use button-type-get to extract the button's
21344 face property. Fill docstring (Bug#8352).
21345
4ffd0d6b 213462011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
21347
21348 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
21349
c6c32125 21350 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 21351 (mpuz-mode-map): Use mapc.
c6c32125
JB
21352 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
21353 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
21354 Fix typos in docstrings.
21355
58d468b4
JB
21356 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
21357 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
21358
6470c3c6
JB
21359 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
21360
4ffd0d6b 213612011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
21362
21363 * minibuffer.el (completion--do-completion): Avoid the "Next char
21364 not unique" prompt if icomplete-mode is enabled (Bug#5849).
21365
3ad8bad0
CY
21366 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
21367 mouse-2 into unread-command-events, it is interpreted correctly.
21368
71d73c9c 21369 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 21370 (image-toggle-display): Doc fix.
71d73c9c 21371
841a1577 213722011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 21373
4ffd0d6b
GM
21374 * textmodes/page.el (what-page): Use line-number-at-pos to
21375 calculate line number (Bug#6825).
6e1dbaa9 21376
c2fb1b60
JB
213772011-04-22 Juanma Barranquero <lekktu@gmail.com>
21378
21379 * eshell/esh-mode.el (find-tag-interactive): Declare function.
21380 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
21381 Pass argument NO-DEFAULT to `find-tag-interactive'.
21382
e02f48d7
JB
213832011-04-22 Juanma Barranquero <lekktu@gmail.com>
21384
21385 Lexical-binding cleanup.
21386
21387 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
21388 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
21389 * progmodes/ada-prj.el (ada-prj-initialize-values)
21390 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
21391 (ada-prj-show-value):
21392 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
21393 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
21394 (antlr-invalidate-context-cache, antlr-options-menu-filter)
21395 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
21396 * progmodes/bug-reference.el (bug-reference-push-button):
21397 * progmodes/fortran.el (fortran-line-length):
21398 * progmodes/glasses.el (glasses-change):
21399 * progmodes/octave-mod.el (octave-fill-paragraph):
21400 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
21401 (python-pdbtrack-grub-for-buffer, python-sentinel):
21402 * progmodes/sql.el (sql-save-connection):
21403 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
21404 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
21405 Mark unused parameters.
21406
21407 * progmodes/compile.el (compilation--flush-directory-cache)
21408 (compilation--flush-parse, compile-internal): Mark unused parameters.
21409 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
21410 (compilation-next-error-function): Remove unused variable `timestamp'.
21411
21412 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
21413 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
21414
21415 * progmodes/dcl-mode.el (dcl-end-of-command):
21416 Remove unused variable `start'.
21417 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
21418 (dcl-option-value-basic, dcl-option-value-offset)
21419 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
21420 Mark unused parameters.
21421 (dcl-save-local-variable): Remove unused variable `val'.
21422 (mode): Declare.
21423
21424 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
21425 Mark unused parameters.
21426 (delphi-ignore-changes): Move before first use.
21427 (delphi-charset-token-at): Remove unused variable `start'.
21428 (delphi-else-start): Remove unused variable `if-count'.
21429 (delphi-comment-block-start, delphi-comment-block-end):
21430 Remove unused variable `kind'.
21431 (delphi-indent-line): Remove unused variable `new-point'.
21432
21433 * progmodes/ebrowse.el (ebrowse-files-list)
21434 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
21435 Mark unused parameters. Don't quote `lambda'.
21436 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
21437 Don't quote `lambda'.
21438 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
21439 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
21440 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
21441 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
21442 Use `ignore-errors'.
21443 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
21444 (ebrowse-view/find-file-and-search-pattern)
21445 (ebrowse-view/find-member-declaration/definition):
21446 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
21447 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
21448 Rename parameter PREFIX-ARG to PREFIX.
21449 (ebrowse-tags-read-name): Remove unused variables `start' and
21450 `member-info'.
21451 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
21452 to `tags-file'.
21453
21454 * progmodes/etags.el (local-find-tag-hook): Declare.
21455 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
21456 Mark unused parameters.
21457
21458 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
21459 (executable-interpret): Mark unused parameter.
21460
21461 * progmodes/flymake.el (flymake-process-sentinel)
21462 (flymake-after-change-function)
21463 (flymake-create-temp-with-folder-structure)
21464 (flymake-get-include-dirs-dot): Mark unused parameters.
21465 (flymake-safe-delete-directory): Remove unused variable `err'.
21466
21467 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
21468 (speedbar-timer-fn, speedbar-line-text)
21469 (speedbar-change-expand-button-char, speedbar-delete-subblock)
21470 (speedbar-center-buffer-smartly): Declare functions.
21471 (gdb-find-watch-expression): Remove unused variable `array'.
21472 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
21473 (gdb-starting): Mark unused parameters.
21474 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
21475 (gdb-table-string): Remove unused variable `res'.
21476 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
21477 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
21478 (gdb-display-buffer): Remove unused variable `cur-size'.
21479
21480 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
21481 allow lexical-binding compilation.
21482 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
21483 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
21484 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
21485 Mark unused parameters.
21486 (gud-gdb-marker-filter): Remove unused variable `match'.
21487 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
21488 lambda expressions and funcall them, instead of using `fset'.
21489
21490 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
21491 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
21492
21493 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
21494 variable `header-beg'; use `let'.
21495
21496 * progmodes/icon.el (indent-icon-exp): Remove unused variables
21497 `restart', `last-sexp' and `at-do'.
21498
21499 * progmodes/js.el (js--debug): Mark unused parameter.
21500 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
21501 (js--splice-into-items): Remove unused variable `item'.
21502 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
21503
21504 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
21505 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
21506 (makefile-complete): Remove unused variable `try'.
21507 (makefile-fill-paragraph, makefile-match-function-end):
21508 Mark unused parameters.
21509
21510 * progmodes/octave-inf.el (inferior-octave-complete):
21511 Remove unused variable `proc'.
21512 (inferior-octave-output-digest): Mark unused parameter.
21513
21514 * progmodes/perl-mode.el (perl-calculate-indent):
21515 Remove unused variable `err'.
21516
21517 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
21518 (prolog-indent-line): Mark unused parameters.
21519 (prolog-indent-line): Remove unused variable `beg'.
21520
21521 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
21522 (reporter-dont-compact-list): Declare.
21523
21524 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
21525 Remove unused variable `char'.
21526 (sh-debug): Mark unused parameter.
21527 (sh-get-indent-info): Remove unused variable `start'.
21528 (sh-calculate-indent): Remove unused variable `var'.
21529
21530 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
21531 (simula-electric-keyword): Remove unused variable `null'.
21532 (simula-search-backward, simula-search-forward): Remove unused
21533 variables `begin' and `end'.
21534
21535 * progmodes/vera-mode.el (vera-guess-basic-syntax):
21536 Remove unused variable `pos'.
21537 (vera-electric-tab, vera-comment-uncomment-region):
21538 Mark unused parameters.
21539 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
21540
7ede3b65
CY
215412011-04-22 Chong Yidong <cyd@stupidchicken.com>
21542
21543 * emacs-lisp/package.el (package--builtins, package-alist)
21544 (package-load-descriptor, package-built-in-p, package-activate)
21545 (define-package, package-installed-p)
21546 (package-compute-transaction, package-buffer-info)
21547 (package--push): Doc fix. Distinguish more clearly between
21548 version strings and version lists.
21549
121656e9
JB
215502011-04-21 Juanma Barranquero <lekktu@gmail.com>
21551
21552 Lexical-binding cleanup.
21553
21554 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
21555 (5x5-make-mutate-best):
21556 * play/fortune.el (fortune-in-buffer):
21557 * play/gomoku.el (gomoku-init-display):
21558 * play/solitaire.el (solitaire, solitaire-do-check):
21559 * play/tetris.el (tetris-default-update-speed-function):
21560 Mark unused parameters.
21561
21562 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
21563 (bubbles--shift): Remove unused variable `char-org'.
21564 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
21565 (bubbles--show-images): Remove unused variable `char'.
21566
21567 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
21568 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
21569 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
21570 (decipher-analyze-buffer): Use ?\s.
21571 (decipher-make-checkpoint): Remove unused variable `mapping'.
21572
21573 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
21574
21575 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
21576 Remove unused variable `result'; use `let'.
21577
21578 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
21579 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
21580 (gametree-children-shown-p, gametree-compute-reduced-score):
21581 Use `ignore-errors'.
21582
21583 * play/handwrite.el (ps-lpr-switches): Declare.
21584 (handwrite): Remove unused variables `pmin' and `lastp'.
21585
21586 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
21587
21588 * play/landmark.el (landmark-init-display)
21589 (landmark-update-naught-weights): Mark unused parameters.
21590 (landmark-y): Remove unused variable `noise'. Simplify.
21591 (landmark-human-plays): Remove unused variable `score'.
21592
21593 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
21594 (mpuz-try-proposal): Remove unused variable `game'.
21595
21596 * play/zone.el (life-patterns): Declare.
21597
80f499c7
JB
215982011-04-20 Juanma Barranquero <lekktu@gmail.com>
21599
21600 * vc/vc.el (ediff-vc-internal): Declare function.
21601
024ff170
SM
216022011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
21603
c0a193ea
SM
21604 * shell.el: Use lexical-binding and std completion UI.
21605 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
21606 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
21607 comint-preoutput-filter-functions rather than on
21608 comint-output-filter-functions.
21609 (shell-command-completion, shell--command-completion-data)
21610 (shell-filename-completion, shell-environment-variable-completion)
21611 (shell-c-a-p-replace-by-expanded-directory): New functions.
21612 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
21613 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
21614 (shell-dynamic-complete-environment-variable): Use them.
21615 (shell-dynamic-complete-as-environment-variable)
21616 (shell-dynamic-complete-as-command): Remove.
21617 (shell-match-partial-variable): Match past point.
21618 * comint.el: Clean up use of completion-at-point-functions.
21619 (comint-completion-at-point): New function.
21620 (comint-mode): Use it completion-at-point-functions.
21621 (comint-dynamic-complete): Make it obsolete.
21622 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
21623 (comint-c-a-p-replace-by-expanded-history): New function.
21624 (comint-dynamic-complete-functions)
21625 (comint-replace-by-expanded-history): Use it.
21626 * minibuffer.el (completion-table-with-terminator): Allow dynamic
21627 termination strings. Try harder to avoid second try-completion.
21628 (completion-in-region-mode-map): Disable bindings that don't work yet.
21629
2dbaa080
SM
21630 * comint.el: Use lexical-binding. Require CL.
21631 (comint-dynamic-complete-functions): Use comint-filename-completion.
21632 (comint-completion-addsuffix): Tweak custom type.
21633 (comint-filename-completion, comint--common-suffix)
21634 (comint--common-quoted-suffix, comint--table-subvert)
21635 (comint--complete-file-name-data): New functions.
21636 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
21637 (comint-dynamic-list-filename-completions): Use them.
21638 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 21639
2dbaa080
SM
21640 * minibuffer.el (completion-in-region-mode):
21641 Keep completion-in-region-mode--predicate global.
21642 (completion-in-region--postch):
21643 Assume completion-in-region-mode--predicate is not null.
21644
c79a6f38
SM
21645 * progmodes/flymake.el (flymake-start-syntax-check-process):
21646 Obey `dir'. Simplify.
21647
024ff170
SM
21648 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
21649 we're in VC after all.
21650
1c6c854e
CS
216512011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
21652
21653 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 21654 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
21655 (vc-version-diff): Use vc-diff-build-argument-list-internal.
21656
bed7f140
SM
216572011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
21658
332e62ab
SM
21659 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
21660 add sanity check.
21661
bed7f140
SM
21662 * obsolete/erc-hecomplete.el: Make obsolete.
21663 * obsolete/: Standardize obsolescence info in the header.
21664
f195c582
GM
216652011-04-20 Glenn Morris <rgm@gnu.org>
21666
21667 * calendar/solar.el (solar-horizontal-coordinates):
21668 Use the longitude argument rather than `calendar-longitude'.
21669 (solar-date-next-longitude): Remove unused locals.
21670
cb79b8c0
VJL
216712011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
21672
21673 * whitespace.el: New version 13.2.1.
21674
216752011-04-20 felix <EmacsWiki> (tiny change)
21676
d8e4b68b 21677 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
21678 switching between major modes on a file.
21679
602ea69d
SM
216802011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
21681
21682 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
21683 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
21684 multi-line comments as well.
21685
06b60517
JB
216862011-04-19 Juanma Barranquero <lekktu@gmail.com>
21687
21688 Lexical-binding cleanup.
21689
21690 * arc-mode.el (archive-mode-revert):
21691 * cmuscheme.el (scheme-interactively-start-process):
21692 * custom.el (custom-initialize-delay):
21693 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
21694 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
21695 * emacs-lock.el (emacs-lock-clear-sentinel):
21696 * ezimage.el (defezimage):
21697 * follow.el (follow-avoid-tail-recenter):
21698 * fringe.el (set-fringe-mode-1):
21699 * generic-x.el (bat-generic-mode-compile):
21700 * help-mode.el (help-info-variable, help-do-xref)
21701 (help-mode-revert-buffer):
21702 * help.el (view-emacs-todo):
21703 * iswitchb.el (iswitchb-completion-help):
21704 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
21705 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
21706 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
21707 * locate.el (locate-update):
21708 * longlines.el (longlines-encode-region)
21709 (longlines-after-change-function):
21710 * outline.el (outline-isearch-open-invisible):
21711 * ps-def.el (declare-function, charset-dimension, char-width)
21712 (encode-char):
21713 * ps-mule.el (ps-mule-plot-string):
21714 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
21715 (recentf-edit-list-select, recentf-edit-list-validate)
21716 (recentf-open-files-action):
21717 * rect.el (delete-whitespace-rectangle-line)
21718 (rectangle-number-line-callback):
21719 * register.el (window-configuration-to-register)
21720 (frame-configuration-to-register):
21721 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
21722 * select.el (xselect-convert-to-string, xselect-convert-to-length)
21723 (xselect-convert-to-targets, xselect-convert-to-delete)
21724 (xselect-convert-to-filename, xselect-convert-to-charpos)
21725 (xselect-convert-to-lineno, xselect-convert-to-colno)
21726 (xselect-convert-to-os, xselect-convert-to-host)
21727 (xselect-convert-to-user, xselect-convert-to-class)
21728 (xselect-convert-to-name, xselect-convert-to-integer)
21729 (xselect-convert-to-atom, xselect-convert-to-identity):
21730 * subr.el (declare, ignore, process-kill-without-query)
21731 (text-clone-maintain):
21732 * terminal.el (te-get-char, te-tic-sentinel):
21733 * tool-bar.el (tool-bar-make-keymap):
21734 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
21735 * type-break.el (type-break-mode, type-break-noninteractive-query):
21736 * view.el (View-back-to-mark):
21737 * wid-browse.el (widget-browse-action, widget-browse-widget)
21738 (widget-browse-widgets, widget-browse-sexp):
21739 * widget.el (define-widget-keywords):
21740 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
21741 Mark unused parameters.
21742
21743 * align.el (align-adjust-col-for-rule): Mark unused parameter.
21744 (align-areas): Remove unused variable `look'.
21745 (align-region): Remove unused variables `real-end' and `pos-list'.
21746
21747 * apropos.el (apropos-score-doc): Remove unused variable `i'.
21748
21749 * bindings.el (mode-line-modified, mode-line-remote):
21750 Mark unused parameters.
21751 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
21752
21753 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
21754 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
21755
21756 * comint.el (comint-history-isearch-pop-state)
21757 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
21758 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
21759 (comint-substitute-in-file-name): Doc fix.
21760
21761 * completion.el (cmpl-statistics-block): Mark unused parameter.
21762 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
21763 (save-completions-to-file, load-completions-from-file):
21764 Remove unused local variable `e'.
21765
21766 * composite.el (compose-chars): Remove unused variable `len'.
21767 (lgstring-insert-glyph): Remove unused variable `g'.
21768 (compose-glyph-string): Remove unused variables `ascent',
21769 `descent', `lbearing' and `rbearing'.
21770 (compose-glyph-string-relative): Remove unused variables
21771 `lbearing', `rbearing' and `wadjust'.
21772 (compose-gstring-for-graphic): Remove unused variables `header',
21773 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
21774 (compose-gstring-for-terminal): Remove unused variables `header'
21775 and `nchars'. Use `let', not `let*'.
21776
21777 * cus-edit.el (Custom-set, Custom-save, custom-reset)
21778 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
21779 (Custom-buffer-done, custom-buffer-create-internal)
21780 (custom-browse-visibility-action, custom-browse-group-tag-action)
21781 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
21782 (widget-magic-mouse-down-action, custom-toggle-parent)
21783 (custom-add-parent-links, custom-toggle-hide-variable)
21784 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
21785 (custom-toggle-hide-face, face, hook, custom-group-link-action)
21786 (custom-face-menu-create, custom-variable-menu-create, get)
21787 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
21788 (custom-reset-standard-save-and-update): Remove unused variable `value'.
21789 (customize-apropos): Remove unused variable `tests'.
21790 (custom-group-value-create): Remove unused variable `hidden-p'.
21791 (sort-fold-case): Declare.
21792
21793 * cus-theme.el (custom-reset-standard-faces-list)
21794 (custom-reset-standard-variables-list): Declare.
21795 (customize-create-theme, custom-theme-revert, custom-theme-write)
21796 (custom-theme-choose-mode, customize-themes, custom-theme-save):
21797 Mark unused parameters.
21798
21799 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
21800
21801 * delim-col.el (delimit-columns-max): Move defvar before first use.
21802
21803 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 21804 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
21805
21806 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
21807 (auto-insert): Declare.
21808 (desktop-restore-file-buffer): Rename desktop-* parameters;
21809 mark unused ones.
21810 (desktop-create-buffer): Rename desktop-* parameters and bind them.
21811 (desktop-buffer): Rename desktop-* parameters.
21812
21813 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
21814 (dframe-reposition-frame-xemacs, dframe-help-echo)
21815 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
21816 Mark unused parameters.
21817
21818 * dired-aux.el (backup-extract-version-start, overwrite-query)
21819 (overwrite-backup-query, rename-regexp-query)
21820 (rename-non-directory-query): Declare.
21821 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
21822 (dired-add-entry): Remove unused variable `orig-file-name'.
21823 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
21824 Use parameter PRESERVE-TIME instead of accessing dynamic variable
21825 `dired-copy-preserve-time' directly.
21826 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
21827 (dired-insert-subdir-newpos): Rename unused variable `pos'.
21828
21829 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
21830 (dired-virtual-revert, dired-make-relative-symlink):
21831 Mark unused parameters.
21832 (manual-program): Declare.
21833 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
21834 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
21835 wrapped in `with-no-warnings' to avoid replacing one warning by another.
21836
21837 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
21838
21839 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
21840
21841 * echistory.el (electric-history-in-progress, Helper-return-blurb):
21842 Declare.
21843
21844 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
21845
21846 * electric.el (Electric-command-loop): Rename parameter
21847 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
21848
21849 * expand.el (expand-in-literal): Remove unused variable `here'.
21850
21851 * facemenu.el (facemenu-add-new-color):
21852 Remove unused variable `docstring'.
21853
21854 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
21855 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
21856 (face-attr-construct): Mark unused parameter. Doc fix.
21857 (read-color): Remove unused variable `hex-string'.
21858
21859 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
21860 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
21861 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
21862 (display-buffer-other-frame): Remove unused variable `old-window'.
21863 (kill-buffer-hook): Declare.
21864 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
21865 Mark unused parameters.
21866 (after-find-file): Pass 1 to `auto-save-mode', not t.
21867
21868 * files-x.el (auto-insert): Declare.
21869 (modify-file-local-variable-prop-line): Remove unused variable `val'.
21870
21871 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 21872 variable `buf'. Mark unused parameter.
06b60517
JB
21873 (find-lisp-insert-directory): Mark unused parameter.
21874
21875 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
21876 (format-encode-region): Remove unused variables `cur-buf' and `result'.
21877 (format-common-tail): Remove, unused.
21878 (format-deannotate-region): Remove unused variable `loc'.
21879 (format-annotate-region): Remove unused variable `p'.
21880 (format-annotate-single-property-change): Remove unused variables
21881 `default' and `tail'.
21882
21883 * forms.el (read-file-filter): Declare.
21884 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
21885
21886 * frame.el (frame-creation-function-alist): Mark unused parameter.
21887 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
21888
21889 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
21890 Remove unused parameters.
21891 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
21892 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
21893
21894 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
21895 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
21896 (hfy-prepare-tag-map): Mark unused parameters.
21897 (htmlfontify-buffer): Use `called-interactively-p'.
21898
21899 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
21900 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
21901 (ibuffer-do-occur): Mark unused parameters.
21902 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
21903 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
21904
21905 * ibuffer.el: Don't quote `lambda'.
21906 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
21907 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
21908 Mark unused parameters.
21909
21910 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
21911 (ido-completing-read): Mark unused parameters.
21912 (ido-copy-current-word): Mark unused parameters;
21913 remove unused variable `name'.
21914 (ido-sort-merged-list): Remove unused parameter `dirs'.
21915
21916 * ielm.el (ielm-input-sender): Mark unused parameter.
21917 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
21918 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
21919 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
21920 `ielm-string' as a dynamic variable accessible from the IELM prompt.
21921 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
21922
21923 * image-dired.el (image-dired-display-thumbs): Remove unused
21924 variables `curr-file' and `count'.
21925 (image-dired-remove-tag): Remove unused variable `start'.
21926 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
21927 variable `curr-file'
21928 (image-dired-rotate-original): Remove unused variable `temp-file'.
21929 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
21930 Remove unused variable `file'.
21931 (image-dired-gallery-generate): Remove unused variable `curr'.
21932 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
21933
21934 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
21935
21936 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
21937
21938 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
21939
21940 * isearch.el (minibuffer-history-symbol): Declare.
21941 (isearch-edit-string): Remove unused variable `err'.
21942 (isearch-message-prefix, isearch-message-suffix):
21943 Mark unused parameters.
21944
21945 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
21946
21947 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
21948
21949 * makesum.el (double-column): Remove unused variable `cnt'.
21950
21951 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
21952 (ido-ignore-item-temp-list): Declare.
21953
21954 * mouse-drag.el (mouse-drag-throw): Remove unused variables
21955 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
21956 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
21957 (mouse-drag-drag): Remove unused variables `mouse-delta' and
21958 `mouse-col-delta'.
21959
21960 * mouse-sel.el (mouse-extend-internal):
21961 Remove unused variable `orig-window-frame'.
21962
21963 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
21964 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
21965 Move declarations before first use.
21966 (pcomplete-opt): Mark unused parameters; doc fix.
21967
21968 * proced.el (proced-revert): Mark unused parameter.
21969 (proced-send-signal): Remove unused variable `err'.
21970
21971 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
21972 Rename parameter PREFIX-ARG to ARG.
21973 (ps-basic-plot-string, ps-basic-plot-whitespace):
21974 Mark unused parameters.
21975
21976 * replace.el (replace-count): Define.
21977 (occur-revert-function): Mark unused parameters.
21978 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
21979 (isearch-case-fold-search, isearch-string): Declare.
21980 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
21981 bind `case-fold-search'. Remove unused variables `beg' and `end',
21982 and simplify.
21983 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
21984 COUNT and bind `replace-count'.
21985 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
21986 to COUNT.
21987
21988 * savehist.el (print-readably, print-string-length): Declare.
21989
21990 * shadowfile.el (shadow-expand-cluster-in-file-name):
21991 Remove unused variable `cluster'.
21992 (shadow-copy-file): Remove unused variable `i'.
21993 (shadow-noquery, shadow-clusters, shadow-site-cluster)
21994 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
21995 (shadow-define-literal-group, shadow-define-regexp-group)
21996 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
21997
21998 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
21999 (shell): Use `called-interactively-p'.
22000 (shell-directory-tracker): Remove unused variable `chdir-failure'.
22001
22002 * simple.el (compilation-context-lines, comint-file-name-quote-list)
22003 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
22004 (delete-backward-char): Remove unused variable `ocol'.
22005 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
22006 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
22007 (event-apply-hyper-modifier, event-apply-shift-modifier)
22008 (event-apply-control-modifier, event-apply-meta-modifier):
22009 Mark unused parameters.
22010 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
22011 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
22012
22013 * speedbar.el (speedbar-ignored-directory-expressions)
22014 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
22015 (speedbar-find-file, speedbar-dir-follow)
22016 (speedbar-directory-buttons-follow, speedbar-tag-find)
22017 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
22018 (speedbar-buffers-line-directory, speedbar-buffer-click):
22019 Mark unused parameters.
22020 (speedbar-tag-file): Remove unused variable `mode'.
22021 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
22022
22023 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
22024
22025 * talk.el (talk): Remove unused variable `display'.
22026
22027 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
22028 (tar-write-region-annotate): Mark unused parameter.
22029
22030 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
22031 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
22032 Declare them, wrapped in `with-no-warnings' to avoid replacing one
22033 warning by another.
22034
22035 * time-stamp.el (time-stamp-string-preprocess):
22036 Remove unused variable `require-padding'.
22037
22038 * tree-widget.el (widget-glyph-enable): Declare.
22039 (tree-widget-action): Mark unused parameter.
22040
22041 * w32-fns.el (x-get-selection): Mark unused parameter.
22042 (autoload-make-program, generated-autoload-file): Declare.
22043
22044 * wdired.el (wdired-revert): Mark unused parameters.
22045 (wdired-xcase-word): Remove unused variable `err'.
22046
22047 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
22048 (whitespace-help-scroll): Remove unused variable `data-help'.
22049
22050 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
22051 (widget-image-insert, widget-after-change, default)
22052 (widget-default-format-handler, widget-default-notify)
22053 (widget-default-prompt-value, widget-info-link-action)
22054 (widget-url-link-action, widget-function-link-action)
22055 (widget-variable-link-action, widget-file-link-action)
22056 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
22057 (widget-field-prompt-internal, widget-field-action, widget-field-match)
22058 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
22059 (widget-insert-button-action, widget-delete-button-action, visibility)
22060 (widget-documentation-link-action, widget-documentation-string-action)
22061 (widget-const-prompt-value, widget-regexp-match, symbol)
22062 (widget-coding-system-prompt-value)
22063 (widget-key-sequence-value-to-external, sexp)
22064 (widget-sexp-value-to-internal, character, vector, cons)
22065 (widget-choice-prompt-value, widget-boolean-prompt-value)
22066 (widget-color--choose-action): Mark unused parameters.
22067 (widget-item-match-inline, widget-choice-match-inline)
22068 (widget-checklist-match, widget-checklist-match-inline)
22069 (widget-group-match): Rename parameter VALUES to VALS.
22070 (widget-field-value-set): Remove unused variable `size'.
22071 (widget-color-action): Remove unused variables `value' and `start'.
22072
22073 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 22074 variable `dir'. Doc fix.
06b60517
JB
22075 (windmove-find-other-window): Don't pass it.
22076
22077 * window.el (count-windows): Mark unused parameter.
22078 (bw-adjust-window): Remove unused variable `err'.
22079
22080 * woman.el (woman-file-name): Remove unused variable `default'.
22081 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
22082 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
22083 (global-font-lock-mode): Declare.
22084 (woman-decode-region): Mark unused parameter.
22085 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
22086
22087 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
22088 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
22089 (x-dnd-handle-moz-url): Remove unused variable `title'.
22090 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
22091
22092 * xml.el (xml-parse-tag, xml-parse-attlist):
22093 Remove unused variable `pos'.
22094
bc4f7f3d
GM
220952011-04-19 Glenn Morris <rgm@gnu.org>
22096
22097 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
22098 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
22099 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
22100 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
22101 * calendar/cal-html.el (cal-html-insert-minical):
22102 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
22103 (calendar-mark-date-pattern):
22104 Prefix "unused" locals.
22105
22106 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
22107 optional argument `style'.
22108
22109 * calendar/appt.el (appt-make-list):
22110 * calendar/cal-china.el (calendar-chinese-date-string):
22111 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
22112 (diary-hebrew-yahrzeit):
22113 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
22114 * calendar/calendar.el (calendar-generate-window):
22115 * calendar/time-date.el (time-to-days):
22116 Remove unused local variables.
22117
16a43933
CY
221182011-04-18 Chong Yidong <cyd@stupidchicken.com>
22119
22120 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
22121 glyphless-char-display table.
22122 (tabulated-list-glyphless-char-display): New var.
22123
7eed1860
SS
221242011-04-18 Sam Steingold <sds@gnu.org>
22125
22126 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
22127 to acknowledgments.
22128
4d2d1ccd
GM
221292011-04-17 Glenn Morris <rgm@gnu.org>
22130
22131 * calendar/diary-lib.el (diary-sexp-entry):
22132 * calendar/holidays.el (holiday-sexp):
22133 Set debug-on-error rather than the removed stack-trace-on-error.
22134
239da61d
GM
221352011-04-16 Glenn Morris <rgm@gnu.org>
22136
22137 * progmodes/f90.el: Use lexical-binding.
22138 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
22139
8b05752a
SM
221402011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
22141
daca8ba5
SM
22142 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
22143 (mail-mode): Setup mailalias completion here instead.
22144 * mail/mailalias.el: Use lexical-binding.
22145 (pattern, mailalias-done): Declare dynamic.
22146 (mail-completion-at-point-function): New function, from mail-complete.
22147 (mail-complete): Use it.
22148 (mail-completion-expand): New function.
22149 (mail-get-names): Use it.
22150 (mail-directory, mail-directory-process, mail-directory-stream):
22151 Don't use `pattern' for lexically bound arg.
22152
6f542485
SM
22153 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
22154
037e7c3f
SM
22155 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
22156 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
22157 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
22158
8b05752a
SM
22159 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
22160 (byte-save-window-excursion, byte-temp-output-buffer-setup)
22161 (byte-interactive-p): Define them again, for use when inlining
22162 old code.
22163
49093f60
JB
221642011-04-15 Juanma Barranquero <lekktu@gmail.com>
22165
22166 * loadup.el: Use `string-to-number', not `string-to-int'.
22167
b5b8e7de
SM
221682011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
22169
22170 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
22171 gud-gdb-complete-command.
22172 (gud-gdb-completions): New function, from gud-gdb-complete-command.
22173 (gud-gdb-completion-at-point): New function.
22174 (gud-gdb-completions): Remove.
22175
f42efeb5
MA
221762011-04-14 Michael Albinus <michael.albinus@gmx.de>
22177
49093f60
JB
22178 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
22179 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
22180 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
22181 whether `executable-find' is bound.
f42efeb5
MA
22182
22183 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
22184
e240cc21
SM
221852011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
22186
22187 * minibuffer.el (completion-in-region-mode-predicate)
22188 (completion-in-region-mode--predicate): New vars.
22189 (completion-in-region, completion-in-region--postch)
22190 (completion-in-region-mode): Use them.
22191 (completion--capf-wrapper): Also return the hook function.
22192 (completion-at-point, completion-help-at-point):
22193 Adjust and provide a predicate.
c2bd2ab0
SM
22194
22195 Preserve arg names for advice of subr and lexical functions (bug#8457).
22196 * help-fns.el (help-function-arglist): Consolidate the subr and
22197 new-byte-code cases. Add argument `preserve-names' to extract names
22198 from the docstring when needed.
22199 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
22200 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
22201 (ad-arglist): Use help-function-arglist's new arg.
22202 (ad-definition-type): Use cond.
22203
c183f693
JB
222042011-04-13 Juanma Barranquero <lekktu@gmail.com>
22205
06641a47
JB
22206 * autorevert.el (auto-revert-handler):
22207 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
22208 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
22209 Don't quote lambda.
22210
c183f693
JB
22211 * image-mode.el (image-transform-set-scale):
22212 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
22213
1e3b6001
G
222142011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
22215
22216 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 22217 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
22218 Upgrades via gnutls-cli are too slow to be done opportunistically.
22219
2d6af8dd
JB
222202011-04-12 Juanma Barranquero <lekktu@gmail.com>
22221
22222 * dframe.el (dframe-current-frame): Remove spurious quote.
22223
c0749a51
GM
222242011-04-12 Glenn Morris <rgm@gnu.org>
22225
088d0d61
GM
22226 * calendar/cal-tex.el (cal-tex-end-document):
22227 Try to automatically use latin1 input if needed.
22228
c0749a51
GM
22229 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
22230 Don't try to cons a mark onto an empty element.
22231
5c90fde0
LL
222322011-04-11 Leo Liu <sdl.web@gmail.com>
22233
22234 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
22235 buffers.
22236 (ido-kill-buffer-at-head): Support killing virtual buffers.
22237
369e974d
CY
222382011-04-10 Chong Yidong <cyd@stupidchicken.com>
22239
22240 * minibuffer.el (completion-show-inline-help): New var.
22241 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
22242 (minibuffer-force-complete, minibuffer-complete-word):
22243 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
22244
22245 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
22246 to avoid interference from inline help (Bug#5849).
22247
37f1c930
LL
222482011-04-10 Leo Liu <sdl.web@gmail.com>
22249
099c39a4
JB
22250 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
22251 Fix typo.
37f1c930 22252
a32d4040
CY
222532011-04-09 Chong Yidong <cyd@stupidchicken.com>
22254
22255 * image-mode.el (image-toggle-display-image): Signal an error if
22256 not in Image mode.
22257 (image-transform-mode, image-transform-resize)
22258 (image-transform-set-rotation): Doc fix.
daca8ba5 22259 (image-transform-set-resize): Delete.
a32d4040
CY
22260 (image-transform-set-scale, image-transform-fit-to-height)
22261 (image-transform-fit-to-width): Handle image-toggle-display-image
22262 and image-transform-resize directly.
22263
099c39a4 222642011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
22265
22266 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
22267 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
22268 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
22269 (doc-view-mode-map): Add bindings for the new functions.
22270
099c39a4 222712011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 22272
4d61f28d 22273 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
22274 Fix typo in docstring.
22275
3726838a
EZ
222762011-04-08 Eli Zaretskii <eliz@gnu.org>
22277
04f33f1e
EZ
22278 * files.el (file-size-human-readable): Produce one digit after
22279 decimal, like "ls -lh" does.
22280
22281 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
22282 the file size representation.
22283
3726838a
EZ
22284 * simple.el (list-processes): If async subprocesses are not
22285 available, error out with a clear error message.
22286
cbb59342
CY
222872011-04-08 Chong Yidong <cyd@stupidchicken.com>
22288
22289 * help.el (help-form-show): New function, to be called from C.
22290 Put help-form output in a buffer named differently than *Help*.
22291
e3971c44
EZ
222922011-04-08 Eli Zaretskii <eliz@gnu.org>
22293
22294 * files.el (file-size-human-readable): New function.
22295
22296 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
22297 computing the representation inline. Don't require `cl'.
22298
12544bbe
GM
222992011-04-08 Glenn Morris <rgm@gnu.org>
22300
a1de6c6a
GM
22301 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
22302
3c4671f4
GM
22303 * net/browse-url.el (browse-url-firefox):
22304 Test system-type, not system-configuration.
22305
b605679c
GM
22306 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
22307 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
22308 Use log-edit-empty-buffer-p. (Bug#7598)
22309
56442f0c
GM
22310 * net/rlogin.el (rlogin-process-connection-type): Simplify.
22311 (rlogin-mode-map): Initialize in the defvar.
22312 (rlogin): Use ignore-errors.
22313
12544bbe
GM
22314 * replace.el (occur-mode-map): Some fixes for menu items.
22315
eb237b0f
AH
223162011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
22317
22318 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
22319
7d668f2c
CY
223202011-04-06 Chong Yidong <cyd@stupidchicken.com>
22321
e67a13ab
CY
22322 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
22323 issuing unused warnings.
22324
22325 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
22326 macro directly.
22327
7d668f2c
CY
22328 * simple.el: Lisp reimplement of list-processes. Based on an
22329 earlier reimplementation by Leo Liu, but using tabulated-list.el.
22330 (process-menu-mode): New major mode.
22331 (list-processes--refresh, list-processes):
22332 (process-menu-visit-buffer): New functions.
22333
22334 * files.el (save-buffers-kill-emacs): Don't assume any return
22335 value of list-processes, which is undocumented anyway.
22336
a83ec3c9
CY
223372011-04-06 Chong Yidong <cyd@stupidchicken.com>
22338
22339 * emacs-lisp/tabulated-list.el: New file.
22340
e91a96fe
CY
22341 * emacs-lisp/package.el: Use Tabulated List mode.
22342 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
22343 (package-menu-mode): Derive from tabulated-list-mode. Set up the
22344 table format using Tabulated List mode variables.
22345 (package--push): New macro, replacing package-list-maybe-add.
22346 (package-menu--generate): Use package--push. Renamed from
22347 package--generate-package-list.
22348 (package-menu-refresh, list-packages): Use it.
daca8ba5 22349 (package-menu--print-info): Rename from package-print-package.
e91a96fe 22350 Return insertion data instead of inserting it directly.
099c39a4
JB
22351 (package-menu-describe-package, package-menu-execute):
22352 Use tabulated-list-get-id.
e91a96fe
CY
22353 (package-menu-mark-delete, package-menu-mark-install)
22354 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
22355 (package-menu-mark-obsolete-for-deletion):
22356 Use tabulated-list-put-tag.
e91a96fe
CY
22357 (package--list-packages, package-menu-revert)
22358 (package-menu-get-package, package-menu-get-version)
22359 (package-menu-sort-by-column): Functions deleted.
22360 (package-menu-package-list, package-menu-sort-key): Vars deleted.
22361 (package-menu--status-predicate, package-menu--version-predicate)
22362 (package-menu--name-predicate)
22363 (package-menu--description-predicate): Handle arguments in the
22364 Tabulated List format.
22365 (package-list-packages-no-fetch): Call list-packages.
22366
3e214b50
JB
223672011-04-06 Juanma Barranquero <lekktu@gmail.com>
22368
22369 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 22370 (after-find-file): Don't bind it.
3e214b50
JB
22371 (revert-buffer-in-progress-p): New variable.
22372 (revert-buffer): Bind it.
22373 Pass nil for `after-find-file-from-revert-buffer'.
22374
22375 * saveplace.el (save-place-find-file-hook): Use new variable
22376 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
22377
3f0f1700
GM
223782011-04-06 Glenn Morris <rgm@gnu.org>
22379
c0274801
GM
22380 * Makefile.in (AUTOGEN_VCS): New variable.
22381 (autoloads): Use $AUTOGEN_VCS.
22382
3f0f1700
GM
22383 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
22384 * calendar/calendar.el (calendar-mode-map):
22385 Check for toolkit scroll bars. (Bug#8305)
22386
41ea9e48
CY
223872011-04-05 Chong Yidong <cyd@stupidchicken.com>
22388
22389 * minibuffer.el (completion-in-region--postch)
22390 (completion-in-region-mode): Remove unnecessary messages.
22391
6194c800
JB
223922011-04-05 Juanma Barranquero <lekktu@gmail.com>
22393
33256f14
JB
22394 * font-lock.el (font-lock-refresh-defaults):
22395 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
22396 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
22397
6194c800
JB
22398 * info.el (Info-directory-list, Info-read-node-name-2)
22399 (Info-split-parameter-string): Doc fixes.
22400 (Info-virtual-nodes): Reflow docstring.
22401 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
22402 (Info-apropos-toc-nodes, info-finder, Info-get-token)
22403 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
22404 Fix typos in docstrings.
22405 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
22406 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
22407 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
22408 (Info-restore-desktop-buffer): Mark unused parameters.
22409 (Info-directory-find-file, Info-directory-find-node)
22410 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
22411 (Info-virtual-index-find-node, Info-apropos-find-file)
22412 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 22413 Mark unused parameters; fix typos in docstrings.
6194c800
JB
22414 (Info-virtual-index): Remove unused local variable `nodename'.
22415
b87a8200 224162011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 22417
b87a8200
DD
22418 * net/rcirc.el: Update my e-mail address.
22419 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 22420
3b2ff876
CY
224212011-04-05 Chong Yidong <cyd@stupidchicken.com>
22422
22423 * startup.el (command-line): Save the cursor's theme-face
22424 directly, instead of using face-override-spec.
22425
22426 * custom.el (load-theme): Minor optimization in assigning faces.
22427
8d17e7ca
JB
224282011-04-04 Juanma Barranquero <lekktu@gmail.com>
22429
22430 * help-fns.el (describe-variable): Complete all variables having
22431 documentation, including keywords.
22432 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
22433
2fbc1934
JB
224342011-04-04 Juanma Barranquero <lekktu@gmail.com>
22435
22436 Convert to lexical-binding.
22437
22438 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
22439 (bs--get-marked-string, bs--get-modified-string)
22440 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
22441 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
22442 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
22443
22444 * ehelp.el (electric-help-execute-extended)
22445 (electric-help-ctrl-x-prefix):
22446 * hexl.el (hexl-revert-buffer-function):
22447 * linum.el (linum-after-change, linum-after-scroll):
22448 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
22449
22450 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
22451
74f50695
DU
224522011-04-04 Daiki Ueno <ueno@unixuser.org>
22453
22454 * epa-dired.el:
22455 * epa-mail.el:
22456 * epa-hook.el:
22457 * epa-file.el:
22458 * epa.el:
22459 * epg.el: Use lexical binding.
22460
c11325f7
CY
224612011-04-03 Chong Yidong <cyd@stupidchicken.com>
22462
0d9e9a12
CY
22463 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
22464
c11325f7 22465 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
22466 dictionary case for flyspell-mark-duplications-exceptions.
22467 Use regexp matching for languages.
c11325f7
CY
22468 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
22469 default dictionary (Bug#7926).
22470
da91b5f2
CY
224712011-04-02 Chong Yidong <cyd@stupidchicken.com>
22472
099c39a4
JB
22473 * emacs-lisp/package.el (package--with-work-buffer):
22474 Recognize https URLs.
da91b5f2 22475
099c39a4
JB
22476 * net/network-stream.el: Move from gnus/proto-stream.el.
22477 Change prefix to network-stream throughout.
da91b5f2
CY
22478 (open-protocol-stream): Merge into open-network-stream, leaving
22479 open-protocol-stream as an alias. Handle nil BUFFER args.
22480
22481 * subr.el (open-network-stream): Move to net/network-stream.el.
22482
afa8e9f6
GM
224832011-04-02 Glenn Morris <rgm@gnu.org>
22484
1d2e369d
GM
22485 * find-dired.el (find-exec-terminator): New option.
22486 (find-ls-option): Test for -ls support.
22487 (find-ls-subdir-switches): Test for -b in find-ls-option.
22488 (find-dired, find-grep-dired): Doc fixes.
22489 (find-dired): Use find-exec-terminator.
22490
8abb7da8 22491 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
22492 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
22493 (find-name-arg): Remove purecopy.
8abb7da8 22494
f3ca7378
GM
22495 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
22496 (grep-compute-defaults): Check for `-exec COMMAND +' support.
22497 Set grep-find-use-xargs, grep-find-command, and grep-find-template
22498 accordingly. Don't add the null-device if not needed.
22499
afa8e9f6
GM
22500 * files.el (save-some-buffers): Doc fix.
22501
35eae264
EZ
225022011-04-02 Eli Zaretskii <eliz@gnu.org>
22503
22504 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
22505
26b51db5
JB
225062011-04-01 Juanma Barranquero <lekktu@gmail.com>
22507
22508 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
22509 Use `dolist' rather than `mapcar'.
22510
7200d79c
SM
225112011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
22512
03408648 22513 Add lexical binding.
7200d79c 22514
03408648
SM
22515 * subr.el (apply-partially): Use new closures rather than CL.
22516 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
22517 (dolist, dotimes): Use slightly different expansion for lexical code.
22518 (functionp): Move to C.
22519 (letrec): New macro.
22520 (with-wrapper-hook): Use it and apply-partially instead of CL.
22521 (eval-after-load): Preserve lexical-binding.
22522 (save-window-excursion, with-output-to-temp-buffer): Turn them
22523 into macros.
7200d79c 22524
03408648
SM
22525 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
22526
22527 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
22528 than the arglist.
22529 (help-add-fundoc-usage): Don't add `Not documented'.
22530 (help-function-arglist): Handle closures, subroutines, and new
22531 byte-code-functions.
22532 (help-make-usage): Remove leading underscores.
22533 (describe-function-1): Handle closures.
22534 (describe-variable): Use special-variable-p for completion.
22535
22536 * files.el (lexical-binding): Declare safe.
f488fb65 22537
03408648
SM
22538 * emacs-lisp/pcase.el: Don't use destructuring-bind.
22539 (pcase--memoize): Rename from pcase-memoize. Change weakness.
22540 (pcase): Add `let' pattern.
22541 Change memoization so it actually works.
22542 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
22543 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
22544 <let>: New case.
f488fb65 22545
03408648
SM
22546 * emacs-lisp/macroexp.el: Use lexical binding.
22547 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
22548 Don't convert ' to #' without checking that it's indeed quoting
22549 a lambda.
22550
22551 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 22552 Use eval-sexp-add-defvars.
03408648
SM
22553 (eval-sexp-add-defvars): New fun.
22554
22555 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
22556
22557 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
22558 Don't autoload.
22559 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
22560 than the internal `byte-compile-lambda'.
22561 (defmethod): Don't hide code under quotes.
22562 (eieio-defmethod): New `code' argument.
22563
22564 * emacs-lisp/eieio-comp.el: Remove.
22565
22566 * emacs-lisp/edebug.el (edebug-eval-defun)
22567 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
22568 (edebug-toggle): Avoid `eval'.
22569
22570 * emacs-lisp/disass.el (disassemble-internal): Handle new
22571 `closure' objects.
22572 (disassemble-1): Handle new byte codes.
22573
22574 * emacs-lisp/cl.el (pushnew): Silence warning.
22575
22576 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
22577 (cl-byte-compile-throw): Remove.
22578 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
22579
22580 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
22581 closures.
22582
22583 * emacs-lisp/cconv.el: New file.
22584
22585 * emacs-lisp/bytecomp.el: Use lexical binding instead of
22586 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
22587 (byte-compile-initial-macro-environment):
22588 Handle declare-function here.
22589 (byte-compile--lexical-environment): New var.
22590 (byte-stack-ref, byte-stack-set, byte-discardN)
22591 (byte-discardN-preserve-tos): New lap codes.
22592 (byte-interactive-p): Don't use any more.
22593 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
22594 New macros.
22595 (byte-compile-lapcode): Use them and handle new lap codes.
22596 (byte-compile-obsolete): Remove.
22597 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
22598 (byte-compile-arglist-warn): Check late def of inlinable funs.
22599 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
22600 since they should have been expanded by now.
22601 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
22602 (byte-compile-from-buffer): Remove unused second arg.
22603 (byte-compile-preprocess): New function.
22604 (byte-compile-toplevel-file-form): New function to distinguish
22605 file-form calls from outside from file-form calls from hunk-handlers.
22606 (byte-compile-file-form): Simplify.
22607 (byte-compile-file-form-defsubst): Remove.
22608 (byte-compile-file-form-defmumble): Simplify now that
22609 byte-compile-lambda always returns a byte-code-function.
22610 (byte-compile): Preprocess.
22611 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
22612 Remove, not used any more.
22613 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
22614 (byte-compile-make-args-desc): New funs.
22615 (byte-compile-lambda): Handle lexical functions. Always return
22616 a byte-code-function.
22617 (byte-compile-reserved-constants): New var, to make up room for
22618 closed-over variables.
22619 (byte-compile-constants-vector): Obey it.
22620 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
22621 (byte-compile-macroexpand-declare-function): New function.
22622 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
22623 byte-code-functions.
22624 (byte-compile-form): Check obsolescence here.
22625 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
22626 (byte-compile-variable-ref): Remove.
22627 (byte-compile-dynamic-variable-op): New fun.
22628 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
22629 (byte-compile-variable-set): New funs.
22630 (byte-compile-discard): Add 2 args.
22631 (byte-compile-stack-ref, byte-compile-stack-set)
22632 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
22633 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
22634 macroexpand-all instead.
22635 (byte-compile-quote-form): Remove.
22636 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
22637 (byte-compile-bind, byte-compile-unbind): New funs.
22638 (byte-compile-let): Handle let* and lexical binding.
22639 (byte-compile-let*): Remove.
22640 (byte-compile-catch, byte-compile-unwind-protect)
22641 (byte-compile-track-mouse, byte-compile-condition-case):
22642 Handle a new :fun-body form, used for lexical scoping.
22643 (byte-compile-save-window-excursion)
22644 (byte-compile-with-output-to-temp-buffer): Remove.
22645 (byte-compile-defun): Simplify.
22646 (byte-compile-stack-adjustment): New fun.
22647 (byte-compile-out): Use it.
22648 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
22649
22650 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
22651 handler any more.
22652
22653 * emacs-lisp/byte-opt.el: Use lexical binding.
22654 (byte-inline-lapcode): Remove (to bytecomp).
22655 (byte-compile-inline-expand): Pay attention to inlining to/from
22656 lexically bound code.
22657 (byte-compile-unfold-lambda): Don't handle byte-code-functions
22658 any more.
22659 (byte-optimize-form-code-walker): Don't handle save-window-excursion
22660 any more and don't call compiler-macros.
22661 (byte-compile-splice-in-already-compiled-code): Remove.
22662 (byte-code): Don't inline any more.
22663 (disassemble-offset): Receive `bytes' as argument rather than via
22664 dynamic scoping.
22665 (byte-compile-tag-number): Declare before first use.
22666 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
22667 `return' even if make-spliceable.
22668 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
22669 obsolete interactive-p.
22670 (byte-optimize-lapcode): Optimize new lap-codes.
22671 Don't trip up on new form of `byte-constant' lap code.
22672
22673 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
22674
22675 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
22676
22677 * custom.el (custom-initialize-default, custom-declare-variable):
22678 Use `defvar'.
22679
22680 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
22681 New variables.
22682 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
22683 (COMPILE_FIRST): Add macroexp and cconv.
22684 * makefile.w32-in: Mirror changes in Makefile.in.
22685
22686 * vc/cvs-status.el:
22687 * vc/diff-mode.el:
22688 * vc/log-edit.el:
22689 * vc/log-view.el:
22690 * vc/smerge-mode.el:
22691 * textmodes/bibtex-style.el:
090bd7cb 22692 * textmodes/css-mode.el:
03408648
SM
22693 * startup.el:
22694 * uniquify.el:
da91b5f2
CY
22695 * minibuffer.el:
22696 * newcomment.el:
22697 * reveal.el:
22698 * server.el:
22699 * mpc.el:
22700 * emacs-lisp/smie.el:
22701 * doc-view.el:
22702 * dired.el:
03408648
SM
22703 * abbrev.el: Use lexical binding.
22704
0f0c1f27
EZ
227052011-04-01 Eli Zaretskii <eliz@gnu.org>
22706
22707 * info.el (info-display-manual): New function.
22708
c82b2579
SM
227092011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
22710
22711 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
22712
221ddf68
TH
227132011-03-31 Tassilo Horn <tassilo@member.fsf.org>
22714
22715 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 22716 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 22717
cba6e77e
GM
227182011-03-31 Glenn Morris <rgm@gnu.org>
22719
e040639f
GM
22720 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
22721
cba6e77e
GM
22722 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
22723
6d0f1c9e
CS
227242011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
22725
22726 * progmodes/python.el (python-default-interpreter)
22727 (python-python-command-args, python-jython-command-args)
22728 (python-which-shell, python-which-args, python-which-bufname)
22729 (python-file-queue, python-comint-output-filter-function)
22730 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
22731 variables and functions.
22732
3e2d70fd
SM
227332011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
22734
22735 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
22736 (completion-in-region-mode): New minor mode.
22737 (completion-in-region): Use it.
22738 (completion-in-region--data, completion-in-region-mode-map): New vars.
22739 (completion-in-region--postch): New function.
22740 (completion--capf-misbehave-funs, completion--capf-safe-funs):
22741 New vars.
22742 (completion--capf-wrapper): New function.
22743 (completion-at-point): Use it to track well-behavedness of
22744 hook functions.
22745 (completion-help-at-point): New command.
22746
f3e4086c
JM
227472011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
22748
22749 * vc/add-log.el (add-change-log-entry): Don't use whitespace
22750 syntax class to search for whitespace on a single line
22751 (Message-ID: <4D938140.4030905@redhat.com>).
22752
eb7ffc14
LL
227532011-03-30 Leo Liu <sdl.web@gmail.com>
22754
22755 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
22756 New commands.
22757 (edit-abbrevs-map): Bind them here.
22758 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
22759
d806ab68
KM
227602011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
22761
22762 * allout.el (allout-hide-by-annotation, allout-flag-region):
22763 Reduce possibility of overlay leakage by making them volatile.
22764
22765 * allout-widgets.el (allout-widgets-tally): Define as nil so the
22766 hash is not shared between buffers. Mode initialization is
22767 responsible for giving it a useful starting value.
22768 (allout-item-span): Reduce possibility of overlay leakage by
22769 making them volatile.
22770 (allout-widgets-count-buttons-in-region): Add diagnostic function
22771 for tracking down button overlay leaks.
22772
ea622834
LL
227732011-03-29 Leo Liu <sdl.web@gmail.com>
22774
22775 * ido.el (ido-read-internal): Use the default history var
22776 minibuffer-history if no HISTORY is specified.
22777
b62f8267
G
227782011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
22779
03408648
SM
22780 * net/imap.el (imap-shell-open, imap-process-connection-type):
22781 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
22782 Kerberos, SSL, other subprocesses.
22783
947b6566
LL
227842011-03-28 Leo Liu <sdl.web@gmail.com>
22785
22786 * abbrev.el (abbrev-table-empty-p): New function.
22787 (prepare-abbrev-list-buffer): Place empty abbrev tables after
22788 nonempty ones. (Bug#5937)
22789
5ffb62aa
JD
227902011-03-27 Jan Djärv <jan.h.d@swipnet.se>
22791
22792 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
22793
7a097943
LL
227942011-03-27 Leo Liu <sdl.web@gmail.com>
22795
22796 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
22797 for foreground and background colors.
22798 (ansi-color-make-color-map): Adapt.
22799
c5b40130
LL
228002011-03-25 Leo Liu <sdl.web@gmail.com>
22801
1f48f7d2
LL
22802 * midnight.el (midnight-time-float): Remove. Note it calculates
22803 the microsecond component incorrectly and seconds-to-time does the
22804 same job.
625897ec 22805 Remove redundant (require 'timer).
1f48f7d2 22806
c5b40130
LL
22807 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
22808 (ido-completions): Remove unused arguments. (Bug#8329)
22809
d86d2721
SM
228102011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
22811
22812 * minibuffer.el (completion--flush-all-sorted-completions):
22813 Remove itself from hook.
22814 (completion-at-point): Let the functions perform the completion
22815 immediately and return nil or t.
22816 * comint.el (comint-dynamic-complete-functions): Now identical to
22817 completion-at-point-functions.
22818 (comint-dynamic-list-input-ring): Remove unused var `index'.
22819 (comint--match-partial-filename, comint--unquote&expand-filename):
22820 New funs, split from comint-match-partial-filename.
22821 (comint-dynamic-complete): Use completion-at-point.
22822 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
22823
e8974c48
DA
228242011-03-24 Drew Adams <drew.adams@oracle.com>
22825
22826 * thingatpt.el: Support `defun'.
22827
def71b5e
LL
228282011-03-23 Leo Liu <sdl.web@gmail.com>
22829
cb5af48e
LL
22830 * abbrevlist.el: Move to obsolete/abbrevlist.el.
22831
def71b5e
LL
22832 * help-mode.el (help-mode-finish): Tweak regexp.
22833
927c53e7
GM
228342011-03-23 Glenn Morris <rgm@gnu.org>
22835
18d05bed
GM
22836 * eshell/esh-opt.el (eshell-eval-using-options):
22837 Do not bind unused local variable `eshell-option-stub'.
22838
927c53e7
GM
22839 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
22840
9d0da923
JB
228412011-03-22 Juanma Barranquero <lekktu@gmail.com>
22842
22843 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
22844 keymap variable in `with-no-warnings' to avoid a warning when the
22845 keymap has been already `defconst'ed.
22846
4b978a67
LL
228472011-03-22 Leo Liu <sdl.web@gmail.com>
22848
22849 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
22850 encode all chars in abbrevs; otherwise use emacs-mule or
22851 utf-8-emacs. (Bug#8308)
22852
5fd62452
JB
228532011-03-22 Juanma Barranquero <lekktu@gmail.com>
22854
0b1596c6
JB
22855 * simple.el (backward-delete-char-untabify):
22856 Avoid warning about using `delete-backward-char'.
22857
5fd62452
JB
22858 * image.el (image-type-file-name-regexps): Make it variable.
22859 `imagemagick-register-types' modifies it, and the user may want
22860 to add new extensions for known image types.
22861 (imagemagick-register-types): Throw error if not using ImageMagick.
22862
0b4e93f1
LL
228632011-03-22 Leo Liu <sdl.web@gmail.com>
22864
22865 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
22866 located before rcirc-prompt-end-marker.
22867 (rcirc-complete): Error if point is not after rcirc prompt.
22868 Handle the case when table is nil.
9882e214 22869 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 22870
fccee4ab
CY
228712011-03-22 Chong Yidong <cyd@stupidchicken.com>
22872
22873 * custom.el (custom--inhibit-theme-enable): Make it affect only
22874 custom-theme-set-variables and custom-theme-set-faces.
22875 (provide-theme): Ignore custom--inhibit-theme-enable.
22876 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
22877 (custom-enabling-themes): Delete variable.
d86d2721
SM
22878 (enable-theme): Accept only loaded themes as arguments.
22879 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
22880 (custom-enabled-themes): Forbid themes from setting this.
22881 Eliminate use of custom-enabling-themes.
22882 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 22883
af896da6
LL
228842011-03-21 Leo Liu <sdl.web@gmail.com>
22885
22886 * ido.el (ido-read-internal): Add ido-selected to history instead
22887 of user input.
22888
78f64af0
SM
228892011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
22890
22891 * subr.el (deferred-action-list, deferred-action-function):
22892 Mark obsolete.
22893
b16ac1ec
LL
228942011-03-21 Leo Liu <sdl.web@gmail.com>
22895
810f7698
LL
22896 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
22897 change on 2011-02-13 (bug#8309).
22898
b16ac1ec
LL
22899 * minibuffer.el (read-file-name-function): Change default value.
22900 (read-file-name--defaults): Rename from read-file-name-defaults.
22901 (read-file-name-default): Rename from read-file-name.
22902 (read-file-name): Call read-file-name-function.
22903
4e05e67e
GM
229042011-03-21 Glenn Morris <rgm@gnu.org>
22905
22906 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
22907 Doc fixes.
22908
4359915b
CY
229092011-03-21 Chong Yidong <cyd@stupidchicken.com>
22910
22911 * cus-theme.el: Add missing provide statement.
22912 (customize-create-theme): Extract theme value correctly.
22913 (custom-theme-visit-theme): Autoload.
22914 (customize-create-theme): Prompt before inserting default faces.
22915
1fe275ee
JB
229162011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
22917
22918 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
22919 units and musical notes.
22920
cd394be1 229212011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
22922
22923 * ido.el (ido-read-internal): Use completing-read-default.
22924 (ido-completing-read): Fix compatibility with completing-read.
22925
7d476bde
CO
229262011-03-20 Christian Ohler <ohler@gnu.org>
22927
22928 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
22929 (ert-delete-all-tests): Use `called-interactively-p' rather than
22930 `interactive-p'.
22931 (ert--make-xrefs-region): Respect END.
22932
fe0fb33e
CY
229332011-03-19 Chong Yidong <cyd@stupidchicken.com>
22934
ff854b0b
CY
22935 * dired-aux.el (dired-create-directory): Signal an error if the
22936 directory already exists (Bug#8246).
22937
fe0fb33e
CY
22938 * facemenu.el (list-colors-display): Call list-faces-display
22939 inside with-help-window.
22940 (list-colors-print): Use display property to align the final
22941 column, instead of checking window-width.
22942
576bce32
EZ
229432011-03-19 Eli Zaretskii <eliz@gnu.org>
22944
4d61f28d 22945 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
22946 windows-nt systems.
22947 (emerge-protect-metachars): Quote correctly for ms-dos and
22948 windows-nt systems.
22949
89c41d68 229502011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
22951
22952 * info.el (info-initialize): Replace all uses of `:' with
22953 path-separator for compatibility with non-Unix systems.
22954 Cache quoting of path-separator. (Bug#8258)
22955
b14e3e21 229562011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
22957
22958 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
22959 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
22960 (mouse-avoidance-mode): Fix typos in docstrings.
22961
4525ce3e
CY
229622011-03-19 Chong Yidong <cyd@stupidchicken.com>
22963
22964 * startup.el (package-subdirectory-regexp): Move from package.el.
22965 Omit \\` and \\', and let callers add them.
22966
22967 * emacs-lisp/package.el (package-strip-version)
22968 (package-load-all-descriptors): Add \\` and \\' to
22969 package-subdirectory-regexp before using it.
22970 (package-untar-buffer): New arg DIR; ensure that file untars only
22971 into this expected directory. Remove superfluous delete-region.
22972 (package-unpack): Caller changed.
22973 (package-tar-file-info): Use package-subdirectory-regexp.
22974
a904a09a 229752011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 22976
a904a09a
SM
22977 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
22978 diff-mode-shared-map (bug#8284).
22979 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
22980
229812011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
22982
22983 * calendar/time-date.el (format-seconds): Use assoc instead of
22984 assoc-string, since assoc-string doesn't exist in XEmacs.
22985
171fc304
JB
229862011-03-17 Juanma Barranquero <lekktu@gmail.com>
22987
22988 * custom.el (custom-known-themes): Reflow docstring.
22989 (custom-theme-load-path): Fix typo in docstring.
22990 (load-theme): Fix typo in error message.
22991 (custom-available-themes, custom-variable-theme-value):
22992 Use `let', not `let*'.
22993
d71990a1
JB
229942011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
22995
22996 * calc/README: Mention inclusion of musical notes.
22997
22998 * calc/calc-units.el (calc-lu-quant): Rename from
22999 `calc-logunits-quantity'.
23000 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
23001 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
23002 (calc-db): Rename from `calc-dblevel'.
23003 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
23004 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
23005 (calc-np): Rename from `calc-nplevel'.
23006 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
23007 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
23008 (calc-lu-plus): Rename from `calc-logunits-add'.
23009 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
23010 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
23011 (calc-lu-minus): Rename from `calc-logunits-sub'.
23012 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
23013 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
23014 (calc-lu-times): Rename from `calc-logunits-mul'.
23015 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
23016 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
23017 (calc-lu-divide): Rename from `calc-logunits-div'.
23018 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
23019 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
23020
23021 * calc/calc-ext.el (calc-init-extensions): Update the names of the
23022 functions being autoloaded.
23023
23024 * calc/calc.el (calc-lu-power-reference): Rename from
23025 `calc-logunits-power-reference'.
23026 (calc-lu-field-reference): Rename from
23027 `calc-logunits-field-reference'.
23028
7a71b18d
GM
23029 * calc/calc-help.el (calc-l-prefix-help):
23030 Mention musical note functions.
d71990a1 23031
40c2934b
SM
230322011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
23033
23034 * minibuffer.el (completion-all-sorted-completions):
23035 Use :completion-cycle-penalty text property if present.
23036
b0911414
KM
230372011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
23038
23039 * allout.el (allout-yank-processing): Adjust for new rebulleting
23040 regime so bullet being yanked is used without prompting the user
23041 for a choice.
23042
8a05b668
JB
230432011-03-16 Juanma Barranquero <lekktu@gmail.com>
23044
23045 * startup.el (command-line): Warn the user that _emacs is deprecated.
23046
5ba5fb81
JB
230472011-03-16 Juanma Barranquero <lekktu@gmail.com>
23048
23049 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
23050 (delphi-verbose, delphi-comment-face, delphi-string-face)
23051 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
23052 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
23053 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
23054 (delphi-new-comment-line, delphi-font-lock-defaults)
23055 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
23056 Fix typos in docstrings.
23057
2dab465b
KM
230582011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
23059
5ba5fb81 23060 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
23061 Invert the roles of character and string values for INSTEAD, so a
23062 string is used for the more common case of a defaulting prompt.
23063
0adf5618
SM
230642011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
23065
23066 * progmodes/ruby-mode.el (ruby-backward-sexp):
23067 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
23068 * play/gamegrid.el (gamegrid-make-face):
23069 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
23070 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
23071 * notifications.el (notifications-notify):
23072 * net/xesam.el (xesam-search-engines):
23073 * net/quickurl.el (quickurl-list-insert):
23074 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
23075
d72700e5
CY
230762011-03-15 Chong Yidong <cyd@stupidchicken.com>
23077
23078 * startup.el (command-line): Update package subdirectory regexp.
23079
49c5410a
SM
230802011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
23081
c6eee9aa
SM
23082 * allout.el (allout-abbreviate-flattened-numbering)
23083 (allout-mode-deactivate-hook): Fix up obsolescence "date".
23084
49c5410a
SM
23085 * subr.el (read-char-choice): Only show the cursor after the prompt,
23086 not after the answer.
23087
047b2bb9
KR
230882011-03-15 Kevin Ryde <user42@zip.com.au>
23089
23090 * help-fns.el (variable-at-point): Skip leading quotes, if any
23091 (bug#8253).
23092
0a57d256
SM
230932011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
23094
23095 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
23096 warning message.
23097
77c992bc
MA
230982011-03-14 Michael Albinus <michael.albinus@gmx.de>
23099
23100 * shell.el (shell): When called interactively, offer to change the
23101 shell file name on remote hosts.
23102
eebc475d
TZ
231032011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
23104
23105 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
23106 integration for LDAP parameters. The host, base, user or binddn,
23107 and secret tokens can be specified in a netrc file, for instance.
23108 This is optional because an `auth-source' parameter must be
23109 specified in the search attributes.
23110
9d05d1ba
JB
231112011-03-13 Juanma Barranquero <lekktu@gmail.com>
23112
23113 * help.el (describe-mode): Link to the mode's definition (bug#8185).
23114
09d9db2c
GM
231152011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
23116
23117 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
23118 into declaration. Remove redundant and harmful binding.
23119
231202011-03-12 Eli Zaretskii <eliz@gnu.org>
23121
23122 * files.el (file-ownership-preserved-p): Pass `integer' as an
23123 explicit 2nd argument to `file-attributes'. If the file's owner
23124 is the Administrators group on Windows, and the current user is
23125 Administrator, consider that a match.
23126
23127 * server.el (server-ensure-safe-dir): Consider server directory
23128 safe on MS-Windows if its owner is the Administrators group while
23129 the current Emacs user is Administrator. Use `=' to compare
23130 numerical UIDs, since they could be integers or floats.
23131
219bd536
JB
231322011-03-12 Juanma Barranquero <lekktu@gmail.com>
23133
23134 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
23135
f3afd36b
MA
231362011-03-12 Michael Albinus <michael.albinus@gmx.de>
23137
23138 Sync with Tramp 2.2.1.
23139
23140 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
23141
23142 * net/trampver.el: Update release number.
23143
3aaaa6f1
SM
231442011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
23145
94642599
SM
23146 * progmodes/compile.el (compilation--previous-directory): Fix up
23147 various nil/dead-marker mismatches (bug#8014).
23148 (compilation-directory-properties, compilation-error-properties):
23149 Don't call it at a position past the one we're about to change.
23150
3aaaa6f1
SM
23151 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
23152 Disable obsolescence warnings in the file that declares it.
23153
14239447
KM
231542011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
23155
099c39a4
JB
23156 * allout-widgets.el (allout-widgets-tally):
23157 Initialize allout-widgets-tally as a hash table rather than nil to
23158 prevent mode-line redisplay warnings. Also, clarify the module
23159 description and fix a comment typo.
14239447 23160
135e287c
JB
231612011-03-11 Juanma Barranquero <lekktu@gmail.com>
23162
23163 * help-fns.el (describe-variable): Don't complete keywords.
23164 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
23165
ffbf300e
CY
231662011-03-10 Chong Yidong <cyd@stupidchicken.com>
23167
ba08b241
CY
23168 * emacs-lisp/package.el (package-version-join): Impose a standard
23169 string representation for pre/alpha/beta version lists.
23170 (package-unpack-single): Standardize the directory name by passing
23171 it through package-version-join.
23172 (package-strip-rcs-id): Accept any version string that does not
23173 signal an error in version-to-list.
ffbf300e 23174
f346fd6b
MA
231752011-03-10 Michael Albinus <michael.albinus@gmx.de>
23176
23177 * simple.el (delete-trailing-whitespace): Return nil for the
23178 benefit of `write-file-functions'.
23179
ccb55d27
GM
231802011-03-10 Glenn Morris <rgm@gnu.org>
23181
5ceaac0c
GM
23182 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
23183
02da65ff
GM
23184 * vc/vc-git.el (vc-git-program): New option.
23185 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
23186 (vc-git--call): Use it.
23187
b2f603cc
GM
23188 * eshell/esh-util.el (eshell-condition-case): Doc fix.
23189
5772caab
GM
23190 * cus-edit.el (Custom-newline): If no button at point, look
23191 for a subgroup button at start-of-line. (Bug#2298)
23192
ccb55d27
GM
23193 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
23194
ec6ecaed
JD
231952011-03-10 Julien Danjou <julien@danjou.info>
23196
23197 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
23198 `cursor-type' is nil.
23199
9d5aa01d
JB
232002011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
23201
23202 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
23203
b6a5875b
KM
232042011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
23205
7a71b18d 23206 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
23207 preserves the existing header prefix, rebulleting it if necessary,
23208 rather than replacing it. This is necessary for proper operation
23209 of cooperative addons like allout-widgets.
1154d12e
JB
23210 (allout-make-topic-prefix, allout-rebullet-heading):
23211 Change SOLICIT arg to INSTEAD, and interpret additionally a string
23212 value as alternate bullet to be used, instead of prompting the user
23213 for a bullet character.
b6a5875b 23214
ee545c35
MA
232152011-03-09 Michael Albinus <michael.albinus@gmx.de>
23216
d86d2721
SM
23217 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
23218 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
23219 `tramp-default-port'.
23220
c47971d7
DD
232212011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
23222
23223 * net/rcirc.el (rcirc-handler-001): Remove useless
23224 with-rcirc-process-buffer.
23225 (rcirc-check-auth-status): Swap arguments to string-match.
23226
13522cb4
GM
232272011-03-09 Glenn Morris <rgm@gnu.org>
23228
0be6f4f1
GM
23229 * shell.el (shell-mode):
23230 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
23231
13522cb4
GM
23232 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
23233 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
23234
515de2e3
CY
232352011-03-08 Chong Yidong <cyd@stupidchicken.com>
23236
23237 * emacs-lisp/package.el (package-refresh-contents)
23238 (package-menu-execute): Use condition-case-no-debug.
23239
b511b994
MA
232402011-03-08 Michael Albinus <michael.albinus@gmx.de>
23241
23242 * simple.el (shell-command-to-string): Use `process-file'.
23243
23244 * emacs-lisp/package.el (package-tar-file-info): Handle also
23245 remote files.
23246
d86d2721
SM
23247 * emacs-lisp/package-x.el (package-upload-buffer-internal):
23248 Use `equal' for upload base check.
b511b994 23249
25bbfb31
AM
232502011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
23251
23252 * textmodes/texinfo.el (texinfo-environments):
23253 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
23254
be996521
GM
232552011-03-08 Glenn Morris <rgm@gnu.org>
23256
e9c8529f
GM
23257 * cus-start.el (cursor-in-non-selected-windows):
23258 Fix :set quoting oddness. (Bug#8192)
23259
be996521
GM
23260 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
23261 in some setf expressions. (Bug#2159)
23262
2bb5649e
CY
232632011-03-08 Chong Yidong <cyd@stupidchicken.com>
23264
23265 * custom.el (custom-available-themes): Return themes in
23266 alphabetical order.
23267
33383987 23268See ChangeLog.15 for earlier changes.
e3d51b27
MR
23269
23270;; Local Variables:
23271;; coding: utf-8
e3d51b27
MR
23272;; End:
23273
ab422c4d 23274 Copyright (C) 2011-2013 Free Software Foundation, Inc.
e3d51b27
MR
23275
23276 This file is part of GNU Emacs.
23277
23278 GNU Emacs is free software: you can redistribute it and/or modify
23279 it under the terms of the GNU General Public License as published by
23280 the Free Software Foundation, either version 3 of the License, or
23281 (at your option) any later version.
23282
23283 GNU Emacs is distributed in the hope that it will be useful,
23284 but WITHOUT ANY WARRANTY; without even the implied warranty of
23285 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
23286 GNU General Public License for more details.
23287
23288 You should have received a copy of the GNU General Public License
23289 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.