Merge from gnulib.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
2b541f9a
EP
12013-01-09 Elias Pipping <pipping@lavabit.com>
2
3 * doc-view.el: Add support for DjVu (bug#13164).
4 (doc-view-djvu->png-converter-function): New config var.
5 (doc-view-single-page-converter-function, doc-view--image-type)
6 (doc-view--image-file-extension): New vars.
7 (doc-view-mode): Initialize them.
8 (doc-view-goto-page): Use them.
9 (doc-view-mode-p): Add support for ddjvu.
10 (doc-view-djvu->png-converter-ddjvu, doc-view-djvu->png-1)
11 (doc-view-set-up-single-converter): New funs.
12 (doc-view-pdf/ps->png): Extend for djvu.
13 (doc-view-document->png): Rename from doc-view-pdf->png.
14 (doc-view-convert-current-doc): Handle djvu.
15 (doc-view-insert-image, doc-view-display)
16 (doc-view-already-converted-p): Don't hardcode png.
17 (doc-view-set-doc-type): Recognize djvu docs.
18
85f17e35
EP
192013-01-09 Elias Pipping <pipping@lavabit.com>
20
21 * doc-view.el: Add support for mupdf converter (bug#13164).
22 (doc-view-pdfdraw-program, doc-view-pdf->png-converter-function)
23 (doc-view-ps->png-converter-function): New config vars.
24 (doc-view-pdf->png-converter-ghostscript)
25 (doc-view-ps->png-converter-ghostscript)
26 (doc-view-pdf->png-converter-mupdf): New functions.
27 (doc-view-pdf/ps->png, doc-view-pdf->png-1): Use them.
28
ccd04887
MA
292013-01-09 Jürgen Hötzel <juergen@archlinux.org>
30
31 * net/tramp.el (tramp-eshell-directory-change): Check remote-path
32 first in session cache: When `tramp-own-remote-path' is in
33 `tramp-remote-path', the remote path is only set in the session
34 cache.
35
c5ad92de
GM
362013-01-09 Glenn Morris <rgm@gnu.org>
37
fb9f7146
GM
38 * emacs-lisp/trace.el (trace-function-foreground)
39 (trace-function-background): Doc fix.
c5ad92de 40
39a0786e
JL
412013-01-09 Juri Linkov <juri@jurta.org>
42
43 * international/mule-cmds.el (read-char-by-name): Move let-binding
44 of completion-ignore-case around completing-read to fix regression
45 exhibited by the test case `C-x 8 RET *acc TAB' and caused by
46 `string-match-p' using the nil value of `case-fold-search' and
47 `completion-ignore-case' in `completion-pcm--all-completions'.
48 (Bug#12615).
49
fb9f7146 502013-01-09 Glenn Morris <rgm@gnu.org>
06364e64
GM
51
52 * progmodes/compile.el (compilation-parse-errors):
53 Fix typo. (Bug#13369)
54
fb9f7146 552013-01-09 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
236a8f0c
VS
56
57 * comint.el (comint-send-input): Check size of buffer before
58 waiting for process output, in case already accepted. (Bug#13290)
59
677d5c92
PE
602013-01-09 Paul Eggert <eggert@cs.ucla.edu>
61
62 Spelling fixes.
63 * net/tramp-adb.el (tramp-adb-get-toolbox):
64 Fix misspelling of 'unknown'.
65
073ca75b
JL
662013-01-08 Juri Linkov <juri@jurta.org>
67
68 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
69 * progmodes/flymake.el (flymake-errline, flymake-warnline):
70 Use underline style wave on terminals that support it. (Bug#13000)
71
a4648137
SM
722013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
73
4bdc3526
SM
74 * emacs-lisp/pcase.el (pcase--split-equal): Also take advantage if
75 the predicate returns nil.
76
a4648137
SM
77 * simple.el: Use lexical-binding.
78 (primitive-undo): Use pcase.
79 (minibuffer-history-isearch-push-state): Use a closure.
80
3bace969
AH
812013-01-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
82
83 * simple.el (primitive-undo): Move from undo.c.
84
a731fc1b
SM
852013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
86
1c851e98
SM
87 * vc/pcvs.el (cvs-cleanup-collection): Extend meaning of `rm-handled'.
88 (cvs-mode-remove-handled): Use it (bug#13380).
89
a731fc1b
SM
90 * emacs-lisp/nadvice.el (advice--tweak): New function.
91 (advice--remove-function, advice--subst-main): Use it.
92
93 * emacs-lisp/advice.el: Update commentary.
94
2a22c83b
MA
952013-01-08 Michael Albinus <michael.albinus@gmx.de>
96
a731fc1b
SM
97 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
98 Remove spurious entry.
2a22c83b 99
83c1803a
GM
1002013-01-08 Glenn Morris <rgm@gnu.org>
101
102 * net/tramp.el (tramp-default-host-alist): Add :version.
103
8a2e287c
JL
1042013-01-08 Juri Linkov <juri@jurta.org>
105
106 * info.el (Info-read-node-name-2): Don't duplicate suffixes for
107 single completion. (Bug#12456)
108 (info--manual-names): Expand node completions into an explicit list
109 before appending it to another list. Filter out internal buffers
110 with the leading space in the buffer name. (Bug#10771)
111
c6a22ce2
JL
1122013-01-08 Juri Linkov <juri@jurta.org>
113
114 * info.el (Info-read-node-name-1): Allow empty node name in (FILENAME)
115 that defaults to the Top node.
116 (Info-goto-node, Info-read-node-name): Doc fix to mention that
117 the short format (FILENAME) goes to the Top node.
118 (Info-build-node-completions): Rename arg `file' to `filename'.
119 (Bug#13365)
120
acfe10b7
BG
1212013-01-07 Bastien Guerry <bzg@gnu.org>
122
a731fc1b
SM
123 * menu-bar.el (menu-bar-search-documentation-menu):
124 Use `apropos-user-option' and fix the help message.
acfe10b7
BG
125
1262013-01-07 Bastien Guerry <bzg@gnu.org>
127
128 * apropos.el (apropos-do-all): Update docstring.
129 (apropos-user-option-button): New face.
130 (apropos-user-option): Rename from `apropos-variable' and update
131 docstring.
132 (apropos-variable): Rewrite, now show all variables by default.
133 (apropos-print): Mention "User option" instead of "Variable" when
134 printing doc for user options. (Bug#13276)
135
62bcf670
JH
1362013-01-07 Jürgen Hötzel <juergen@archlinux.org>
137
138 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
139 Handle filename correctly, when parsing "source -> target" symlink
140 output.
141 (tramp-adb-handle-set-file-times): New defun.
142
4986fa21
SM
1432013-01-07 Stefan Monnier <monnier@iro.umontreal.ca>
144
145 * emacs-lisp/advice.el (ad-activate-advised-definition): Refresh the
146 advice list when the interactive-spec of ad-Advice-* changes.
147
3bee311e
KY
1482013-01-07 Katsumi Yamaoka <yamaoka@jpl.org>
149
150 * wid-edit.el (widget-default-get): Work for inlined elements.
151 (Bug#12670)
152
b49eebcc
MA
1532013-01-07 Michael Albinus <michael.albinus@gmx.de>
154
155 * net/tramp.el (tramp-default-host-alist): New defcustom.
156 (tramp-find-host): Use it.
4986fa21 157 (tramp-eshell-directory-change): Move from tramp-sh.el. Add to
b49eebcc
MA
158 `eshell-directory-change-hook'.
159
160 * net/tramp-adb.el (top): Add adb specific entry in
161 `tramp-default-host-alist'.
162 (tramp-adb-file-name-host): Remove function.
163 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
164 Use `tramp-file-name-host' instead of `tramp-adb-file-name-host'.
165
3bee311e 166 * net/tramp-sh.el: Move eshell integration code to tramp.el.
b49eebcc 167
84f6744a
JH
1682013-01-06 Jürgen Hötzel <juergen@archlinux.org>
169
170 * net/tramp-adb.el (tramp-methods): Add `tramp-tmpdir' entry.
171
b6cfbcd0
MA
1722013-01-06 Michael Albinus <michael.albinus@gmx.de>
173
174 * net/tramp-adb.el (tramp-adb-ls-toolbox-regexp): The file size can
b49eebcc 175 consist of more than one digit.
4986fa21
SM
176 (tramp-adb-file-name-handler-alist):
177 Use `tramp-handle-file-exists-p' consistently.
b6cfbcd0
MA
178 (tramp-adb-file-name-handler): Don't tweak `tramp-default-host'.
179 (tramp-adb-handle-file-exists-p): Remove function.
180 (tramp-adb-file-name-host): New defun.
181 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
182 Use it.
183 (tramp-adb-maybe-open-connection): Set "remote-path" property.
184
58ba7b1b
CY
1852013-01-06 Chong Yidong <cyd@gnu.org>
186
187 * vc/vc.el (vc-next-action): Detect buffer modifications
188 conflicting with locking VCS operation (Bug#11490).
189
190 * vc/vc-hooks.el (vc-after-save): DTRT for locking VCSes.
191
f4566fe9
MA
1922013-01-05 Michael Albinus <michael.albinus@gmx.de>
193
194 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
195 (tramp-adb-handle-directory-files-and-attributes): Fix typos.
196
838cf298
MA
1972013-01-05 Jürgen Hötzel <juergen@archlinux.org>
198
199 * net/tramp-adb.el (tramp-adb-handle-file-attributes): More robust
200 parsing of ls output using regular expression (handle filenames
201 with spaces). Use virtual device number.
202 (tramp-do-parse-file-attributes-with-ls): New defun (Code
203 cleanup).
204
1bd71e9f
DU
2052013-01-04 Daiki Ueno <ueno@gnu.org>
206
207 * epg.el: Silence byte-compiler warnings.
208 (epg--start): Use delete-char instead of delete-backward-char.
209 (epg-wait-for-completion): Pass FRAME arg to redraw-frame.
210
00cd4c1c
DU
2112013-01-04 Daiki Ueno <ueno@gnu.org>
212
213 * epg.el (epg--start): Don't call "tty" program on W32 platforms.
214 Suggested by Eli Zaretskii <eliz@gnu.org>.
215
f99ced35
MA
2162013-01-04 Michael Albinus <michael.albinus@gmx.de>
217
218 * net/tramp-sh.el (tramp-set-file-uid-gid): UID and GID must be
219 non-negative integers. Otherwise, the default values are used.
220 (tramp-convert-file-attributes): Convert uid and gid to integers.
221
0f668a4d 2222013-01-04 Glenn Morris <rgm@gnu.org>
ad235a8b 223
d2be4dcc
GM
224 * term.el (term-handle-colors-array): Ensure face attributes
225 are fully specified, not nil. (Bug#13337)
226
5b00b749
GM
227 * term.el (term-default-fg-color, term-default-bg-color):
228 Fix custom type.
229
220740a3
GM
230 * progmodes/etags.el (tags-compression-info-list): Doc fix.
231 (tag-find-file-of-tag-noselect): Check auto-compression-mode
232 rather than 'jka-compr being loaded. (Bug#13338)
233
bdd9367d
WD
2342013-01-04 Wesley Dawson <whd@lavabit.com> (tiny change)
235
236 * icomplete.el (icomplete-completions):
237 Honor icomplete-prospects-height once more following
238 2012-11-29 changes. (Bug#13224)
239
96dd18b1
SM
2402013-01-04 Stefan Monnier <monnier@iro.umontreal.ca>
241
c0bd248c
SM
242 * subr.el (internal--called-interactively-p--get-frame): Find aliases
243 of called-interactively-p as well (bug#13237).
244
4a74c818
SM
245 * view.el (view--enable, view--disable): Rename from view-mode-enable
246 and view-mode-disable and assume it's called from view-mode.
247 (view-mode-enable, view-mode-disable): Redefine as obsolete
248 compatibility layer above view-mode.
249 (view-mode-enter): Call `view-mode'.
250
251 * files.el (after-find-file): Call `view-mode'.
252
96dd18b1
SM
253 * doc-view.el (doc-view-scale-internally): New var.
254 (doc-view-enlarge, doc-view-insert-image): Obey it.
255
c2cf1829
DU
2562013-01-03 Daiki Ueno <ueno@gnu.org>
257
258 * epg.el (epg--start): Ignore errors when /dev/fd/0 does not
259 exist. (Bug#13344)
260
ad235a8b
GM
2612013-01-03 Glenn Morris <rgm@gnu.org>
262
a8aa6c2d
GM
263 * mail/rmail.el (rmail-set-header-1): Ignore case.
264 Handle multi-line headers. (Bug#13330)
265
a6d6c20b
GM
266 * progmodes/make-mode.el (makefile-fill-paragraph): Add doc.
267 Handle paragraph starting at beginning of buffer.
268
ed5bdeb9
GM
269 * subr.el (eval-after-load): Don't purecopy the form, so that it
270 can be nconc'd later on; reverts 2009-11-11 change. (Bug#13331)
271
ad235a8b
GM
272 * emacs-lisp/byte-run.el (defun): Place cl declarations
273 after any interactive spec. (Bug#13265)
274
9539d465 2752013-01-02 Andreas Schwab <schwab@linux-m68k.org>
5cebef2d
AS
276
277 * emacs-lisp/byte-run.el (defmacro): Use same argument parsing as
278 defun. Don't check for DECL if DOCSTRING isn't a string.
279 (defun): Likewise.
280
9539d465 2812013-01-02 Glenn Morris <rgm@gnu.org>
4cddca30 282
5ee1772e
GM
283 * eshell/em-cmpl.el (eshell-pcomplete):
284 More thoroughly imitate pcomplete. (Bug#13293)
285
4cddca30
GM
286 * files.el (parse-colon-path): Doc fix. (Bug#12351)
287 Return nil for empty path elements. (Bug#13296)
288
9539d465 2892013-01-02 Fabián Ezequiel Gallina <fgallina@cuca>
6861432e
FEG
290
291 * progmodes/python.el (python-nav-end-of-statement): Rewrite in
292 order to improve efficiency (Based on Daniel Colascione's
293 <dancol@dancol.org> patch). (Bug#13182)
294
9539d465 2952013-01-02 Glenn Morris <rgm@gnu.org>
b83a2ddd
GM
296
297 * vc/log-edit.el (log-edit-header-contents-regexp): Add doc string.
298
9539d465 2992013-01-02 Andreas Schwab <schwab@linux-m68k.org>
bdcad781
AS
300
301 * emacs-lisp/byte-run.el (defmacro): Don't lose final nil if
302 neither DOCSTRING nor DECL was given. (Bug#13316)
303
aca3d51d
MA
3042013-01-02 Michael Albinus <michael.albinus@gmx.de>
305
306 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Add argument to
307 `error' call.
308 (tramp-do-copy-or-rename-file): Ignore errors when calling
309 `set-file-extended-attributes'.
310
4986fa21
SM
311 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
312 Add handler for `file-acl'.
aca3d51d
MA
313 (tramp-smb-handle-file-acl): New defun.
314
87e65f96
JB
3152013-01-02 Jay Belanger <jay.p.belanger@gmail.com>
316
317 * calc/README: Mention ISO 8601 week-numbering dates.
318
0aac98ac
MR
3192013-01-01 Martin Rudalics <rudalics@gmx.at>
320
321 * view.el (view-mode-enable): New argument run-view-mode-hook.
322 Run view-mode-hook only when it's non-nil (Bug#13315).
323 (view-mode-enter): Call view-mode-enable with run-view-mode-hook
324 argument t.
325
1a82330c
JH
3262012-12-31 Jürgen Hötzel <juergen@archlinux.org>
327
328 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Handle errors
329 (No device connected, invalid device name). (Bug #13299)
330
27fcfe31
MR
3312012-12-31 Martin Rudalics <rudalics@gmx.at>
332
333 * window.el (window-resizable--p): Rename to window-resizable-p.
334 (window-resize-no-error): New function.
335
336 * mail/rmail.el (rmail-maybe-display-summary): Restore behavior
337 broken in fix from 2012-12-28.
338
96c052a5
SM
3392012-12-31 Stefan Monnier <monnier@iro.umontreal.ca>
340
341 * subr.el (special-form-p): Don't signal errors on undef aliases.
342
fd1f1603
JB
3432012-12-31 Jay Belanger <jay.p.belanger@gmail.com>
344
345 * calc/calc-forms.el (math-parse-date): Try using
96c052a5
SM
346 `math-parse-iso-date' when it looks like it might be needed.
347 Allow times of 24:00.
fd1f1603
JB
348 (math-parse-date-validate, math-parse-iso-date-validate): Allow times
349 of 24:00.
350
8db39aeb
GM
3512012-12-30 Glenn Morris <rgm@gnu.org>
352
353 * net/mairix.el (rmail, rmail-summary-displayed, rmail-summary):
354 Remove unnecessary/buggy autoloads (missing interactive). (Bug#13294)
355 (rmail-summary-displayed, rmail-summary): Declare.
356 (mairix-rmail-display): Just require rmail.
357
d5e5e7b4 3582012-12-30 Chong Yidong <cyd@gnu.org>
3c94d7a6
CY
359
360 * emacs-lisp/package.el (package-untar-buffer): Improve integrity
361 check for the tarball contents.
362
d5e5e7b4 3632012-12-30 Matt Fidler <matt.fidler@alcon.com> (tiny change)
af39894a
MF
364
365 * emacs-lisp/package.el (package-untar-buffer): Handle problematic
366 tarfile content listings (Bug#13136).
367
d5e5e7b4 3682012-12-30 Mark Lillibridge <mark.lillibridge@hp.com>
bb709253 369
96c052a5
SM
370 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
371 Insert the undecoded text of the message being forwarded. (Bug#9521)
bb709253 372
4f752957
MA
3732012-12-30 Michael Albinus <michael.albinus@gmx.de>
374
3ee24a3b
MA
375 * net/tramp-sh.el (tramp-set-file-uid-gid): Convert UID and GID to
376 integers, if they are real numbers. (Bug#13282)
377
4f752957
MA
378 * net/tramp-sh.el (tramp-sh-handle-set-file-selinux-context):
379 Return `t' on success.
380
96c052a5
SM
381 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
382 Add handler for `set-file-selinux-context'.
4f752957 383
eff2eb58
MA
3842012-12-29 Michael Albinus <michael.albinus@gmx.de>
385
386 * net/tramp-sh.el (tramp-sh-handle-file-acl): Suppress basic attributes.
387 (tramp-sh-handle-set-file-acl): Return `t' on success.
388
ccad023b
EZ
3892012-12-29 Eli Zaretskii <eliz@gnu.org>
390
96c052a5
SM
391 * files.el (backup-buffer-copy, basic-save-buffer-2):
392 If set-file-extended-attributes fails, fall back on set-file-modes
ccad023b 393 instead of signaling an error. (Bug#13298)
7e56b103 394 (basic-save-buffer): Likewise.
ccad023b 395
ccb1c17e
FEG
3962012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
397
398 * progmodes/python.el: Support other commands triggering
399 python-indent-line so indentation cycling continues to work.
400 (python-indent-trigger-commands): New defcustom.
401 (python-indent-line): Use it.
402
16768034
FEG
4032012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
404
405 * progmodes/python.el (python-shell-send-region): Add blank lines
406 for non sent code so backtraces remain correct.
407
66164d2f
FEG
4082012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
409
410 * progmodes/python.el: Remove cl dependency.
411 (python-syntax-count-quotes): Replace incf call.
412 (python-fill-string): Replace setf call.
413
761231d1
DC
4142012-12-29 Damien Cassou <damien.cassou@gmail.com>
415
43ebd12b 416 * info.el (info-other-window): New arg, for consistency with info.
761231d1 417
7c3e220a
MR
4182012-12-28 Martin Rudalics <rudalics@gmx.at>
419
96c052a5
SM
420 * mail/rmail.el (rmail-maybe-display-summary):
421 Rewrite (Bug#13066).
7c3e220a 422
361828b5
AS
4232012-12-28 Andreas Schwab <schwab@linux-m68k.org>
424
425 * epg.el (epg--start): Modify process-environment locally.
426
23bd348c
DU
4272012-12-28 Daiki Ueno <ueno@gnu.org>
428
429 * epg.el: Support pinentry-curses.
430 Suggested by Werner Koch in
431 <http://lists.gnu.org/archive/html/emacs-devel/2007-02/msg00755.html>.
432 (epg-agent-file, epg-agent-mtime): New variable.
433 (epg--start): Record the modified time of gpg-agent socket file,
434 to restore Emacs frame after pinentry-curses termination.
435 (epg-wait-for-completion): Restore Emacs frame here.
436
313f39aa
JL
4372012-12-27 Juri Linkov <juri@jurta.org>
438
439 * info.el (Info-file-completions): New variable.
440 (Info-read-node-name-1): Complete node names in the Info file
441 when a file name is given. Call `Info-build-node-completions'
442 with a file name.
443 (Info-build-node-completions): Add new arg `file'. When it is
444 non-nil, visit it in a temporary buffer and cache its completions in
445 `Info-current-file-completions'. Move most of the function body to
446 `Info-build-node-completions-1'.
447 (Info-build-node-completions-1): New function with the body from
448 `Info-build-node-completions'. (Bug#12456)
449
a45b7647
JL
4502012-12-27 Juri Linkov <juri@jurta.org>
451
452 * frame.el (frame-maximization-style): Remove user option.
453 (cycle-frame-maximized): Remove function.
454 (toggle-frame-maximized): Rewrite and bind to M-<f10>.
455 (toggle-frame-fullscreen): New command bound to <f11> instead of
456 `toggle-frame-maximized'.
457 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00703.html
458
10ffd0be
MA
4592012-12-27 Michael Albinus <michael.albinus@gmx.de>
460
461 * net/tramp.el (tramp-handle-file-accessible-directory-p): New defun.
462
463 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
464 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
465 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
466 for `file-accessible-directory-p'. (Bug#13275)
467
fd146719
SS
4682012-12-27 Sam Steingold <sds@gnu.org>
469
470 * progmodes/cperl-mode.el (cperl-calculate-indent): Do not stagger
471 continuations, see <http://stackoverflow.com/questions/3582436>.
472
82e2a1f0 4732012-12-27 Dmitry Gutov <dgutov@yandex.ru>
db590ef6
DG
474
475 * progmodes/ruby-mode.el (ruby-indent-beg-re): Only allow "class",
96c052a5
SM
476 "module" and "def" to have indentation before them.
477 Regression from 2012-09-07T04:15:56Z!dgutov@yandex.ru (see the new test).
db590ef6 478
ea0857a1
DG
479 * progmodes/ruby-mode.el: Bump the version to 1.2 (Bug#13200).
480
82e2a1f0 4812012-12-27 Alan Mackenzie <acm@muc.de>
3f6b93cd
AM
482
483 Speed up fontification where there's large brace blocks.
484 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Add a limit
485 to a call of c-beginning-of-decl-1.
486
c34339f3
VS
4872012-12-27 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
488
489 * comint.el (comint-adjust-window-point): New function.
96c052a5
SM
490 (comint-postoutput-scroll-to-bottom):
491 Call comint-adjust-window-point (Bug#13248).
c34339f3 492
78269b95
DG
4932012-12-26 Dmitry Gutov <dgutov@yandex.ru>
494
495 * progmodes/ruby-mode.el (auto-mode-alist): `purecopy' the
496 Rakefile regexp.
497 (auto-mode-alist): Associate .gemspec files with ruby-mode
498 (https://bugs.ruby-lang.org/issues/5453).
499
bd8c13f9
JH
5002012-12-26 Jürgen Hötzel <juergen@archlinux.org>
501
96c052a5
SM
502 * net/tramp-adb.el (tramp-adb-get-ls-command): New defun.
503 Suppress coloring, if possible (required for BusyBox based systems like
677d5c92 504 CyanogenMod).
bd8c13f9
JH
505 (tramp-adb-handle-file-attributes)
506 (tramp-adb-handle-insert-directory)
507 (tramp-adb-handle-file-name-all-completions): Use it.
508 (tramp-adb-get-toolbox): New defun. Check for remote shell
509 implementation (BusyBox or Toolbox).
510
dc646358
CK
5112012-12-24 Constantin Kulikov <zxnotdead@gmail.com> (tiny change)
512
513 * startup.el (initial-buffer-choice): Allow function as value
514 (Bug#13251).
515 (command-line-1): Handle case where initial-buffer-choice
516 specifies a function.
517 * server.el (server-execute): Handle case where
518 initial-buffer-choice specifies a function.
519
e7d52a4d
LI
5202012-12-24 Lars Ingebrigtsen <larsi@gnus.org>
521
522 * mail/smtpmail.el (smtpmail-try-auth-method): Refactored out into
523 its own function.
524 (smtpmail-try-auth-methods): Forget the user name/password if the
525 login is unsuccessful (bug#12424).
526
cdb07539
MA
5272012-12-22 Michael Albinus <michael.albinus@gmx.de>
528
1ef5f225
MA
529 * notifications.el (notifications-notify): Protect body with
530 `with-demoted-errors'.
531
96c052a5
SM
532 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
533 Check properties of remote device. Restart connection, if there is a
cdb07539
MA
534 change.
535
594f37aa
CY
5362012-12-21 Chong Yidong <cyd@gnu.org>
537
538 * sort.el (sort-subr): Doc fix (Bug#13056).
539
a4b0cca1 5402012-12-21 Bastien Guerry <bzg@gnu.org>
acc650b8 541
acc650b8
BG
542 * progmodes/etags.el (tags-search): Fix typo. Bug #13232.
543
0e9c7693
MA
5442012-12-21 Michael Albinus <michael.albinus@gmx.de>
545
546 * simple.el (process-file): Overwrite stderr file, if exists.
547
c6609164
DU
5482012-12-21 Daiki Ueno <ueno@gnu.org>
549
550 * epg.el (epg--start): Print GPG_AGENT_INFO in the debug buffer.
3eb05092 551 (epg-error): Set `error-message' property.
c6609164 552
aa26f345
CY
5532012-12-21 Chong Yidong <cyd@gnu.org>
554
34b4b7eb
CY
555 * international/mule-cmds.el (read-char-by-name): Signal an error
556 if the user does not supply a valid character (Bug#13177).
557
aa26f345
CY
558 * simple.el (transpose-subr-1): Preserve marker positions by
559 changing the insertion sequence (Bug#13122).
560
05c22d87
KD
5612012-12-21 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
562
563 * simple.el (kill-region): Deactivate mark even for empty regions
564 (Bug#13169).
565
f5733f87
CY
5662012-12-21 Chong Yidong <cyd@gnu.org>
567
568 * help-fns.el (describe-variable): Make sure we get the right
569 buffer name (Bug#13105). Suggested by Kelly Dean.
570
fab6916d
MM
5712012-12-20 Michael R. Mauger <mmaug@yahoo.com>
572
573 * comint.el (comint-redirect-previous-input-string): New variable.
574 (comint-redirect-setup, comint-redirect-cleanup)
575 (comint-redirect-preoutput-filter): Use it. Fixes redirection bug.
576 (comint-redirect-preoutput-filter): Fix verbose message.
577
91b982a0
MA
5782012-12-20 Michael Albinus <michael.albinus@gmx.de>
579
580 * progmodes/grep.el (rgrep): Escape command line. Sometimes, it
581 is too long for Tramp. See discussion in
582 <http://thread.gmane.org/gmane.emacs.tramp/8233/focus=8244>.
583
584 * progmodes/compile.el (compilation-start): Remove line escape
585 template.
586
87523aed
DA
5872012-12-20 Dmitry Antipov <dmantipov@yandex.ru>
588
589 * vc/ediff-ptch.el (ediff-map-patch-buffer): Use `point-min-marker'.
590 Adjust comment.
591
ee3c0aec
JB
5922012-12-19 Jonas Bernoulli <jonas@bernoul.li>
593
594 * emacs-lisp/lisp-mnt.el (lm-section-end): Always end before the
595 following non-comment text (bug#13207).
596 (lm-header-multiline): Continuation lines need to be indented more than
597 the first line.
598 (lm-homepage): New function.
599 (lm-with-file): Don't be confused if narrowing is in effect.
f4d79bd0 600
4a74c818
SM
6012012-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
602
f4d79bd0
SM
603 * vc/diff-mode.el (diff-post-command-hook): Don't ignore changes at the
604 very beginning of a hunk (e.g. killing the first line).
605
3c532af6
MA
6062012-12-19 Michael Albinus <michael.albinus@gmx.de>
607
608 * net/tramp-sh.el (tramp-sh-handle-file-acl): Delete empty lines
609 and text properties from returned ACL string.
610 (tramp-sh-handle-set-file-acl): Do not use additional parentheses
611 for "setfacl" command.
612
e0d01ef3
MA
6132012-12-18 Michael Albinus <michael.albinus@gmx.de>
614
615 * net/tramp.el (tramp-error-with-buffer): Give a hint to use
616 `tramp-cleanup-this-connection', when the process has died.
617 (Bug#13151)
618
2387610d
SM
6192012-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
620
621 * icomplete.el (icomplete-completions): Also use … to truncate prefix.
622
19156242
KR
6232012-12-17 Kevin Ryde <user42@zip.com.au>
624
625 * files.el (auto-save-file-name-p): Use \` and \' (bug#13186).
626
53b6a8b1
MA
6272012-12-17 Michael Albinus <michael.albinus@gmx.de>
628
629 Add support for preserving ACL entries of files.
630
631 * net/tramp.el (tramp-file-name-for-operation): Add `file-acl' and
632 `set-file-acl' handlers.
633
19156242
KR
634 * net/tramp-adb.el (tramp-adb-handle-copy-file):
635 Handle PRESERVE-EXTENDED-ATTRIBUTES.
53b6a8b1 636
19156242
KR
637 * net/tramp-compat.el (tramp-compat-copy-file):
638 Handle PRESERVE-EXTENDED-ATTRIBUTES.
53b6a8b1 639
19156242
KR
640 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
641 Add `file-acl' and `set-file-acl' handlers.
642 (tramp-gvfs-handle-copy-file):
643 Handle PRESERVE-EXTENDED-ATTRIBUTES.
644 (tramp-gvfs-handle-file-acl, tramp-gvfs-handle-set-file-acl):
645 New defuns.
53b6a8b1 646
19156242
KR
647 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
648 Add `file-acl' and `set-file-acl' handlers.
53b6a8b1
MA
649 (tramp-remote-acl-p, tramp-sh-handle-file-acl)
650 (tramp-sh-handle-set-file-acl): New defuns.
19156242
KR
651 (tramp-sh-handle-copy-file, tramp-do-copy-or-rename-file):
652 Handle PRESERVE-EXTENDED-ATTRIBUTES.
53b6a8b1 653
19156242
KR
654 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
655 Add `file-acl' and `set-file-acl' handlers.
53b6a8b1
MA
656 (tramp-smb-handle-copy-file): Handle PRESERVE-EXTENDED-ATTRIBUTES.
657
6ae57a67
KD
6582012-12-17 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
659
660 * help-macro.el (make-help-screen): Instead of switch-to-buffer
19156242 661 use pop-to-buffer with NORECORD argument t. As buffer name, use
6ae57a67
KD
662 *Metahelp* with a leading space (Bug#13190).
663
7c3d167f
RF
6642012-12-16 Romain Francoise <romain@orebokech.com>
665
666 * files.el (file-extended-attributes)
667 (set-file-extended-attributes): New functions.
668 (backup-buffer): Use them to handle both SELinux context and ACL
669 entries.
670 (backup-buffer-copy): Work with an alist of extended attributes,
671 rather than an SELinux context.
672 (basic-save-buffer-2): Ditto.
673
19b748ad
TM
6742012-12-16 Timo Myyrä <timo.myyra@gmail.com>
675
676 * battery.el (battery-bsd-apm): New function.
677
70042c64
JB
6782012-12-16 Jay Belanger <jay.p.belanger@gmail.com>
679
680 * calc/calc.el (calc-standard-date-formats): Adjust one of the
681 standard date formats.
682
279f9b06
JL
6832012-12-15 Juri Linkov <juri@jurta.org>
684
685 * isearch.el (isearch-mode-map): Bind `C-x 8 RET' to
686 `isearch-insert-char-by-name'.
687 (with-isearch-suspended): New defmacro with body mostly from
688 `isearch-edit-string' except the part that sets
689 `isearch-new-string' and `isearch-new-message'.
690 (isearch-edit-string): Use new macro `with-isearch-suspended' with
691 body that sets `isearch-new-string' and `isearch-new-message'.
692 (isearch-insert-char-by-name): New command.
693 * international/mule-cmds.el (read-char-by-name): Let-bind
694 `enable-recursive-minibuffers' to t.
695 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00234.html
696
8370def5
JL
6972012-12-15 Juri Linkov <juri@jurta.org>
698
699 * isearch.el (isearch-delete-char, isearch-del-char): Doc fix.
700 (Bug#13175)
701
178fb95d
CS
7022012-12-15 Christopher Schmidt <christopher@ch.ristopher.com>
703
704 * dired-x.el (dired-guess-shell-command): Put colon at the end of
705 the prompt. (Bug#13045)
706
a5f74442
GM
7072012-12-14 Glenn Morris <rgm@gnu.org>
708
709 * emacs-lisp/macroexp.el (macroexp--warn-and-return):
710 Try to include filename in non-bytecomp warning. (Bug#13132)
711
97976f9f
PE
7122012-12-14 Paul Eggert <eggert@cs.ucla.edu>
713
714 Fix permissions bugs with setgid directories etc. (Bug#13125)
715 * files.el (backup-buffer): Don't rely on 9th output of
716 file-attributes, as it's now a placeholder. Instead, use the new
717 optional arg of file-ownership-preserved-p.
718 (file-ownership-preserved-p): New optional arg GROUP.
719 Fix mishandling of setuid directories that would cause this
720 function to return t when it should have returned nil.
721 Document what happens if the file does not exist, and when
722 it's not known whether the ownership will be preserved.
723 * net/tramp-sh.el (tramp-sh-handle-file-ownership-preserved-p):
724 Likewise.
725 (tramp-get-local-gid): Use group-gid for integer, as that's
726 faster and more reliable.
727
016b2a42
JD
7282012-12-14 Julien Danjou <julien@danjou.info>
729
19156242
KR
730 * progmodes/sql.el (sql-mode-postgres-font-lock-keywords):
731 Update keywords list, data type and PL/pgSQL.
016b2a42 732
665e5e07
DA
7332012-12-14 Dave Abrahams <dave@boostpro.com>
734
735 * vc/ediff-util.el (ediff-buffer-type): New function.
736 (ediff-clone-buffer-for-current-diff-comparison): Compute the buf-type
737 rather than taking it as as argument.
738 (ediff-inferior-compare-regions): Adjust calls accordingly (bug#11319).
739
d72e9e92
RC
7402012-12-14 Ryan Crum <ryan.crum@eleostech.com>
741
742 * json.el: Add pretty-print option (bug#12634).
743 (json-encoding-separator, json-encoding-default-indentation)
744 (json--encoding-current-indentation, json-encoding-pretty-print)
745 (json-encoding-lisp-style-closings): New vars.
746 (json--with-indentation): New macro.
747 (json-encode-hash-table, json-encode-alist, json-encode-plist)
748 (json-encode-array): Use it to obey json-encoding-pretty-print.
749 (json-pretty-print-buffer, json-pretty-print): New commands.
750
dbb530d9
DG
7512012-12-14 Dmitry Gutov <dgutov@yandex.ru>
752
753 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
754 Extract `ruby-syntax-propertize-expansions'.
755 (ruby-syntax-propertize-expansions): Only change syntax on
756 certain string delimiters, to punctuation. This way the common
757 functions like forward-word and thing-at-point still work.
758 (ruby-match-expression-expansion): Improve readability.
bb808526
DG
759 (ruby-block-contains-point): New function.
760 (ruby-add-log-current-method): Handle several edge cases.
dbb530d9 761
ce0440ff
JB
7622012-12-13 Juanma Barranquero <lekktu@gmail.com>
763
764 * emacs-lisp/edebug.el (edebug-unload-function): Make sure that
765 unload-feature finishes even when aborting an ongoing edebug session.
766 Also, do not worry about edebug-mode, unload-feature takes care of it.
767
f10331bf
AS
7682012-12-13 Andreas Schwab <schwab@suse.de>
769
770 * net/tls.el (tls-program): Update customize type.
771
5f3a3bb1
JB
7722012-12-13 Juanma Barranquero <lekktu@gmail.com>
773
774 * emacs-lisp/edebug.el (edebug--require-cl-read): New function.
775 (edebug-setup-hook, cl-read-load-hooks): Use it.
776 (edebug-unload-function): New function. (Bug#13163)
777
6ce21463
MA
7782012-12-13 Michael Albinus <michael.albinus@gmx.de>
779
780 * net/tramp-adb.el (tramp-adb-file-name-p): Make it a defsubst.
781 Otherwise, there could be errors in autoloading. (Bug#13151)
782
d754b364
JH
7832012-12-13 Jürgen Hötzel <juergen@archlinux.org>
784
785 * net/tramp-adb.el (tramp-adb-wait-for-output): Remove spurious " ^H"
786 sequences.
787
727f9739 7882012-12-13 Alan Mackenzie <acm@muc.de>
14b8c3d9
AM
789
790 Make CC Mode not hang when _some_ lines end in CRLF. Bug #11841.
791 * progmodes/cc-engine.el (c-backward-comments): Add code to work
792 around `forward-comment' not recognizing ^M as whitespace.
793
727f9739 7942012-12-13 Fabián Ezequiel Gallina <fgallina@cuca>
2c43a9ad
FEG
795
796 * progmodes/python.el (python-skeleton-class)
797 (python-skeleton-def): Do not add space after defun name.
798
eb8006c6
SM
7992012-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
800
801 * emacs-lisp/cl.el (letf): Make it an alias of cl-letf.
802 (cl--symbol-function): Remove (now that funbound is like nil).
803
4c74b1e4
GM
8042012-12-12 Glenn Morris <rgm@gnu.org>
805
806 * button.el (button--area-button-p): Fix typo.
807
37f38bca
SS
8082012-12-12 Sam Steingold <sds@gnu.org>
809
810 * frame.el (frame-maximization-style): New user option.
811 (toggle-frame-maximized): Toggle frame maximization according to
812 `frame-maximization-style', bound to <f11>.
813 (cycle-frame-maximized): Cycle between all maximization styles and
814 non-maximized frame, bound to shift-<f11>.
815
fd49a218
DC
8162012-12-12 David Cadé <codename68@gmail.com>
817
818 * mpc.el (mpc-format): Use truncate-string-to-width (bug#13143).
819
69e1c203
JB
8202012-12-12 Jonas Bernoulli <jonas@bernoul.li>
821
822 * lisp/emacs-lisp/eieio.el: Prettier object pretty-printing (bug#13115).
823 (eieio-override-prin1): Don't quote kewords and booleans.
824 (object-write) <eieio-default-superclass>: Don't put closing parens
825 on new line, avoid needless empty lines, align values that are objects
826 with the slot keyword (instead of beginning on the same line).
827 (eieio-list-prin1): Align value with slot keyword; increase
828 eieio-print-depth before printing members of the list.
829
4b0df848
SM
8302012-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
831
030f4af5
SM
832 * mail/emacsbug.el (report-emacs-bug): Move the intangible text to
833 a display text-property.
834 (report-emacs-bug-hook): Don't bother deleting it any more.
835
6ac1f8ca
SM
836 * hilit-chg.el (highlight-save-buffer-state): Delete.
837 Use with-silent-modifications instead.
838 (hilit-chg-set-face-on-change): Only fixup the text that's modified.
839
4b0df848
SM
840 * button.el: Handle buttons in display text-properties.
841 (button--area-button-p, button--area-button-string):
842 Use (STRING . STRING-POS) representation instead of just STRING.
843
d46d2d3a
EZ
8442012-12-11 Eli Zaretskii <eliz@gnu.org>
845
846 * makefile.w32-in (compile4-SH): Fix a typo that caused term
847 subdirectory be skipped.
848
a0099d31
GM
8492012-12-11 Glenn Morris <rgm@gnu.org>
850
36327e4f
GM
851 * net/rcirc.el (rcirc-urls, rcirc-condition-filter): Doc fixes.
852
a0099d31
GM
853 * progmodes/f90.el (f90-line-continued, f90-indent-region):
854 Treat preprocessor lines embedded in continuations like comments.
855 (f90-indent-line): Special-case preprocessor lines. (Bug#13138)
856
ff3f6c26
JB
8572012-12-11 Jay Belanger <jay.p.belanger@gmail.com>
858
859 * calc/calc.el (calc-standard-date-formats): Add more date
860 formats.
861 * calc/calc-forms.el (math-parse-iso-date): New function.
862 (math-parse-date): Use `math-parse-iso-date' when appropriate.
863 (math-parse-iso-date-validate): Add extra error checking.
864 (calc-date-notation): Add ability to access new date formats.
865
ed6f2cd4
SM
8662012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
867
868 * hi-lock.el (hi-lock--regexps-at-point): Fix boundary case for
869 font-lock as well as when there's no text-property.
870
c868b919
J
8712012-12-10 Jambunathan K <kjambunathan@gmail.com>
872
873 * hi-lock.el: Refine the choice of default face.
874 (hi-lock-keyword->face): New function. Use it wherever we used
875 cadadadr instead.
876 (hi-lock--regexps-at-point): Ignore faces that can't come from hi-lock.
877 (hi-lock--last-face): Remove var.
878 (hi-lock--unused-faces): New var to replace it.
879 (hi-lock-read-face-name): Use/maintain it.
880 (hi-lock-unface-buffer): Maintain it. Fix error for the C-u case.
881 (hi-lock-set-pattern): Ignore new rule if it has the same regexp even
882 if it has another face.
883
2b8c9064
EZ
8842012-12-10 Eli Zaretskii <eliz@gnu.org>
885
886 * subr.el (w32notify-handle-event): New function.
887 (inotify-handle-event): Doc fix.
888
81606b10
RS
8892012-12-10 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
890
891 * subr.el (inotify-event-p, inotify-handle-event): New functions.
892
265c2fbf 8932012-12-10 Dani Moncayo <dmoncayo@gmail.com>
6ce49f24
DM
894
895 * simple.el (just-one-space): Doc fix.
896
265c2fbf 8972012-12-10 Eli Zaretskii <eliz@gnu.org>
8d43bd30 898
c868b919 899 * textmodes/texinfo.el (texinfo-enable-quote-envs): Add "smallexample".
8d43bd30 900
265c2fbf 9012012-12-10 Le Wang <l26wang@gmail.com>
3a21537c
LW
902
903 * hilit-chg.el (hilit-chg-set-face-on-change): Don't burp in
904 narrowed buffer (bug#12361).
905
265c2fbf 9062012-12-10 Juanma Barranquero <lekktu@gmail.com>
bf741d33
JB
907
908 * vc/vc-hooks.el (vc-state): Doc fix.
909
265c2fbf 9102012-12-10 Glenn Morris <rgm@gnu.org>
07026166
GM
911
912 * mail/rmail.el (rmail-maybe-display-summary):
913 Preserve buffer, in case select-window changes it. (Bug#13066)
914
265c2fbf 9152012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
82e1f390
SM
916
917 * emacs-lisp/cl.el, emacs-lisp/cl-lib.el: Move cl-unload-function and
918 cl-load-hook where they belong.
919
bad162fd
SM
9202012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
921
922 * emacs-lisp/cl-lib.el (cl-declaim): Paren typo.
923
ca065258
EZ
9242012-12-09 Eli Zaretskii <eliz@gnu.org>
925
926 Parallelize byte compilation on MS-Windows.
927 * makefile.w32-in (WINS_BASIC1, WINS_BASIC2, WINS_BASIC3)
bad162fd 928 (WINS_BASIC4): New variables, subdivide subdirectories into 4 parts.
ca065258
EZ
929 (WINS_BASIC): Define as concatenation of the above.
930 (compile): Subdivide into 4 separate and independent jobs that can
931 be run in parallel.
932 (compile0-CMD, compile0-SH): New targets for compiling
933 COMPILE_FIRST files, which are prerequisites for the rest of the
934 byte-compilation.
bad162fd
SM
935 (compile1-CMD, compile2-CMD, compile3-CMD, compile4-CMD):
936 New targets for parallel compilation with cmd.exe.
ca065258
EZ
937 (compile1-SH, compile2-SH, compile3-SH, compile4-SH): Ditto for
938 compiling under a Unixy shell.
939
5dea55d2
CY
9402012-12-09 Chong Yidong <cyd@gnu.org>
941
942 * simple.el (set-mark-default-inactive): Delete this
943 accidentally-introduced option.
944 (set-mark-command, exchange-point-and-mark): Remove calls.
945
c6c08d3f
GM
9462012-12-09 Glenn Morris <rgm@gnu.org>
947
948 * emacs-lisp/lisp-mode.el (eval-defun-1): Doc fix.
949 Respect a defcustom's :set function, if appropriate. (Bug#109)
950 (eval-defun): Doc fix.
951
858aab4c
JL
9522012-12-08 Juri Linkov <juri@jurta.org>
953
954 * info.el (Info-copy-current-node-name, Info-breadcrumbs)
955 (Info-fontify-node, Info-bookmark-make-record): Remove the
956 file extension from Info-current-file (Bug#13016).
957
2e4ad7e5
SM
9582012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
959
960 * hi-lock.el (hi-lock-unface-buffer): If there's no matching regexp at
961 point, still provide some default.
962 (hi-lock--regexps-at-point): Don't enforce a "hi-lock-" prefix on face
963 names, since we don't use it right now. Actually return the list.
964 (hi-lock-file-patterns, hi-lock-interactive-patterns): Use defvar-local.
965
75498db0
CY
9662012-12-07 Chong Yidong <cyd@gnu.org>
967
ffe7ba8f
CY
968 * novice.el (disabled-command-function): Remove a spurious help
969 xref (Bug#13043). Suggested by Kelly Dean.
970
454eb095
CY
971 * subr.el (text-clone-maintain): Fix clone overlay deletion when a
972 syntax is specified (Bug#13025).
973
75498db0
CY
974 * info.el (Info-set-mode-line): Remove the file extension from
975 Info-current-file if there is one (Bug#13016).
976
13a40633
GM
9772012-12-07 Glenn Morris <rgm@gnu.org>
978
54c8b5ba
GM
979 * mail/rmail.el (rmail-mime-decoded): New permanent local.
980 (rmail-show-message-1): Set rmail-mime-decoded when appropriate.
981 * mail/rmailedit.el (rmail-cease-edit): Respect rmail-mbox-format
982 and rmail-mime-decoded. (Bug#9841)
983
13a40633
GM
984 * mail/unrmail.el (unrmail-mbox-format): New option. (Bug#6574)
985 (batch-unrmail, unrmail): Doc fixes.
986 (unrmail): Respect unrmail-mbox-format.
987 * mail/rmail.el (rmail-mbox-format): New option.
988 (rmail-show-message-1): Respect rmail-mbox-format.
989
4611a3cc
SM
9902012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
991
992 * emacs-lisp/cl-macs.el (cl-tagbody): New macro.
993
1812c724
SM
9942012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
995
338bfefa
SM
996 Further cleanup of the "cl-" namespace. Fit CL in 80 columns.
997 * emacs-lisp/cl-macs.el (cl--pop2, cl--optimize-safety)
998 (cl--optimize-speed, cl--not-toplevel, cl--parse-loop-clause)
999 (cl--expand-do-loop, cl--proclaim-history, cl--declare-stack)
1000 (cl--do-proclaim, cl--proclaims-deferred): Rename from the "cl-" prefix.
1001 (cl-progv): Don't rely on dynamic scoping to find the body.
1002 * emacs-lisp/cl-lib.el (cl--optimize-speed, cl--optimize-safety)
1003 (cl--proclaims-deferred): Rename from the "cl-" prefix.
1004 (cl-declaim): Use backquotes.
1005 * emacs-lisp/cl-extra.el (cl-make-random-state, cl-random-state-p):
1006 Use "cl--" prefix for the object's tag.
1007
1812c724
SM
1008 * ses.el: Use advice-add/remove.
1009 (ses--advice-copy-region-as-kill, ses--advice-yank): New functions.
1010 (copy-region-as-kill, yank): Use advice-add.
1011 (ses-unload-function): Use advice-remove.
1012
24fc9480
JB
10132012-12-06 Jonas Bernoulli <jonas@bernoul.li>
1014
1015 * button.el: Make them work in header-lines (bug#12817).
1016 (button-map): Add bindings for header-line and mode-line use.
1017 (button-get, button-put, button-label): `button' may now be a string.
1018 (button-activate): Don't make it a defsubst.
1019 (button--area-button-p, button--area-button-string): New functions.
1020 (make-text-button): Fix the return value when `beg' was a string.
1021 (push-button): Handle the mode-line case.
1022
853c1ffc
SM
10232012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
1024
93852cb0
SM
1025 * progmodes/sql.el: Use cl-lib and lexical-binding; various cleanup.
1026 (sql-signum): Remove. Use `cl-signum' instead.
1027 (sql-read-passwd): Remove; use read-passwd instread.
1028 (sql-get-login-ext): Use read-string.
1029 (sql-get-login): Use dolist and pcase.
1030 (sql--completion-table): Rename from sql-try-completion.
1031 Use complete-with-action.
1032 (sql-mode): Don't change abbrev-all-caps globally.
1033 (sql-connect): Don't rely on dynamic scoping for `new-name'.
1034 (sql-postgres-completion-object): Initialize vars in their `let'.
1035 (sql-comint-sybase, sql-comint-sqlite, sql-comint-mysql)
1036 (sql-comint-solid, sql-comint-ms, sql-comint-postgres)
1037 (sql-comint-interbase): Use a single append, without setq.
1038 (sql-comint-linter): Same, and unwind-protect the LINTER_MBX var.
1039
853c1ffc
SM
1040 * hi-lock.el: Rework the default face and the serialize regexp code.
1041 (hi-lock--auto-select-face-defaults): Remove.
1042 (hi-lock-string-serialize-serial): Remove.
1043 (hi-lock--hashcons-hash): Rename from hi-lock-string-serialize-hash;
1044 make weak.
1045 (hi-lock--hashcons): Rename from hi-lock-string-serialize, return an
1046 equal string.
1047 (hi-lock-set-pattern): Adjust accordingly.
1048 (hi-lock--regexps-at-point): Simplify accordingly.
1049 (hi-lock--auto-select-face-defaults): Remove.
1050 (hi-lock--last-face): New var to replace it.
1051 (hi-lock-read-face-name): Rewrite (bug#11095).
1052 (hi-lock-unface-buffer): Arrange for the face to be the next default.
1053
5504e2c7
MA
10542012-12-06 Michael Albinus <michael.albinus@gmx.de>
1055
853c1ffc
SM
1056 * net/tramp.el (tramp-replace-environment-variables):
1057 Hide compiler warning.
5504e2c7
MA
1058 (tramp-file-name-for-operation): Remove `executable-find',
1059 `start-process', `call-process' and `call-process-region'.
1060
853c1ffc 1061 * net/tramp-compat.el (top): Don't require 'tramp-util and 'tramp-vc.
5504e2c7
MA
1062
1063 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Ensure backward
1064 compatibility.
1065
1066 * net/tramp-sh.el (top): Remove `tramp-sh-handle-call-process-region'.
1067
e1d51545
CY
10682012-12-06 Chong Yidong <cyd@gnu.org>
1069
1070 * ffap.el (ffap-replace-file-component): Fix typo.
1071
d8ad4d3f 10722012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
ef54d315
SM
1073
1074 * progmodes/octave-mod.el (octave-mark-block): Move out of tokens and
1075 fix open-paren-like token test (bug#12785).
1076
d8ad4d3f 10772012-12-06 Glenn Morris <rgm@gnu.org>
52d129cd
GM
1078
1079 * mail/rmailsum.el (rmail-new-summary): Tweak for
1080 rmail-maybe-display-summary changing buffer. (Bug#13066)
1081
d8ad4d3f 10822012-12-06 Juri Linkov <juri@jurta.org>
68bf4e09
JL
1083
1084 * info.el (Info-fontify-node): Don't hide the last newline.
1085 (Bug#12272)
1086
9ad948e2
KY
10872012-12-06 Katsumi Yamaoka <yamaoka@jpl.org>
1088
1089 * mail/mailabbrev.el (mail-abbrev-expand-wrapper): Work in minibuffer
1090 so as to enable message-read-from-minibuffer to expand mail aliases.
1091
4b5c89ee
SM
10922012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
1093
1094 * minibuf-eldef.el (minibuf-eldef-update-minibuffer): Don't mess with
1095 the `intangible' property.
1096 Suggested by Christopher Schmidt <christopher@ch.ristopher.com>
1097
5602a53a
DD
10982012-12-05 Deniz Dogan <deniz@dogan.se>
1099
1100 * net/rcirc.el (rcirc-urls): Update documentation.
1101 (rcirc-condition-filter): New function.
1102 (rcirc-browse-url, rcirc-markup-urls): Use only URLs before point
1103 and exclude consecutive duplicate URLs (Bug#6082).
1104
51b890ac
MA
11052012-12-05 Michael Albinus <michael.albinus@gmx.de>
1106
d5f97f62
MA
1107 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
1108 Check return code of copy command.
1109
853c1ffc
SM
1110 * net/tramp-adb.el (tramp-adb-sdk-dir, tramp-adb-prompt):
1111 Use group `tramp'. Add version.
51b890ac 1112
04b14f2b
CY
11132012-12-05 Chong Yidong <cyd@gnu.org>
1114
a3680194
CY
1115 * ffap.el (ffap-url-regexp): Don't require matching at front of
1116 string (Bug#4952).
1117 (ffap-url-p): If only a substring matches, return that.
1118 (ffap-url-at-point): Use the return value of ffap-url-p.
1119 (ffap-read-file-or-url, ffap-read-file-or-url-internal)
1120 (find-file-at-point, dired-at-point, dired-at-point-prompter)
1121 (ffap-guess-file-name-at-point): Likewise.
1122 (ffap-replace-file-component): Fix typo.
1123
04b14f2b
CY
1124 * info.el (info-display-manual): Add existing Info buffers, whose
1125 files may not be in Info-directory-list, to the completion.
1126 (info--manual-names): New helper function.
1127
49596095
GM
11282012-12-05 Glenn Morris <rgm@gnu.org>
1129
1130 * vc/vc-hg.el (vc-hg-resolve-when-done, vc-hg-find-file-hook):
1131 New functions, for detecting and resolving conflicts. (Bug#10709)
1132
b85aec93
J
11332012-12-04 Jambunathan K <kjambunathan@gmail.com>
1134
1135 * hi-lock.el (hi-lock-auto-select-face): New user variable.
1136 (hi-lock-auto-select-face-defaults): New buffer local variable.
1137 (hi-lock-read-face-name): Honor `hi-lock-auto-select-face'.
1138 (hi-lock-unface-buffer): Prompt user with useful defaults.
1139 With prefix arg, unhighlight all hi-lock patterns in buffer.
1140
8515507f
SM
11412012-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
1142
1143 * obsolete/terminal.el, obsolete/longlines.el: Add obsolecence info.
1144
72cebfb7
MA
11452012-12-04 Michael Albinus <michael.albinus@gmx.de>
1146
1147 * Makefile.in (TRAMP_SRC):
1148 * makefile.w32-in (TRAMP_SRC): Add tramp-adb.el.
1149
0ec3f7ea
JH
11502012-12-04 Juergen Hoetzel <juergen@archlinux.org>
1151
1152 * net/tramp-adb.el: New package.
1153
770de7cf
CY
11542012-12-04 Chong Yidong <cyd@gnu.org>
1155
ce3e7725
CY
1156 * terminal.el: Move to obsolete/.
1157
770de7cf
CY
1158 * longlines.el: Move to obsolete/.
1159
1160 * vc/ediff-diff.el (ediff-extract-diffs, ediff-extract-diffs3):
1161 Remove code referring to longlines mode.
1162
c38a186c
JL
11632012-12-03 Juri Linkov <juri@jurta.org>
1164
1165 * sort.el (delete-duplicate-lines): New command. (Bug#13032)
1166
329bfd64
AM
11672012-12-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1168
1169 * textmodes/ispell.el (ispell-init-process)
475eea6f
AM
1170 (ispell-start-process, ispell-internal-change-dictionary):
1171 Make sure personal dictionary name is expanded after initial
1172 `default-directory' value. Use expanded strings for
1173 keep/restart checks and for value (Bug#13019).
329bfd64 1174
77a74935
JB
11752012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
1176
1177 * calc/calc-forms.el (math-date-to-iso-dt): Fix weekday number.
1178
c5bc2d1d 11792012-12-03 Leo Liu <sdl.web@gmail.com>
ff3d86d0
LL
1180
1181 * files.el (dir-locals-read-from-file): Check file non-empty
1182 before reading. (Bug#13038)
1183
c5bc2d1d 11842012-12-03 Glenn Morris <rgm@gnu.org>
6247eff5
GM
1185
1186 * jka-cmpr-hook.el (jka-compr-get-compression-info):
1187 Remove any version extension before checking filename. (Bug#13006)
1188 (jka-compr-compression-info-list): Belated :version bump.
1189
c5bc2d1d 11902012-12-03 Chong Yidong <cyd@gnu.org>
a5bf43ba 1191
8ecba97d
CY
1192 * simple.el (transient-mark-mode): Doc fix (Bug#11523).
1193
a5bf43ba
CY
1194 * buff-menu.el (Buffer-menu-delete-backwards, Buffer-menu-mode)
1195 (buffer-menu): Doc fix (Bug#12294).
1196
c5bc2d1d 11972012-12-03 Roland Winkler <winkler@gnu.org>
34755291
RW
1198
1199 * calendar/diary-lib.el (diary-header-line-format): Use keybinding
1200 of diary-show-all-entries in the diary buffer (Bug#12994).
1201
c5bc2d1d 12022012-12-03 Michael Albinus <michael.albinus@gmx.de>
c2f5b60a
MA
1203
1204 * net/tramp-sh.el (tramp-perl-encode): Use "read STDIN" instead of
1205 "<STDIN>". This is binary safe.
1206
682ceaf8
JB
12072012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
1208
1209 * calc/calc-forms.el (math-absolute-from-iso-dt)
1210 (math-date-to-iso-dt, math-parse-iso-date-validate)
1211 (math-iso-dt-to-date): New functions.
1212 (math-fd-iso-dt, math-fd-isoyear, math-fd-isoweek)
1213 (math-fd-isoweekday): New variables.
1214 (calc-date-notation, math-parse-standard-date, math-format-date)
1215 (math-format-date-part): Add support for more formatting codes.
1216
db47d5e9
DG
12172012-12-02 Dmitry Gutov <dgutov@yandex.ru>
1218
1219 * vc/vc.el (vc-delete-file, vc-rename-file): Default to the
1220 current buffer's file name when called interactively (Bug#12488).
1221
3faf4944
JL
12222012-12-02 Juri Linkov <juri@jurta.org>
1223
1224 * info.el (info-display-manual): Don't clobber an existing Info
010db6da 1225 buffer (Bug#10770). Add completion (Bug#10771).
3faf4944 1226
cb5d51dc
YN
12272012-12-01 Yuya Nishihara <yuya@tcha.org> (tiny change)
1228
1229 * vc/vc-hooks.el (vc-find-file-hook): Expand buffer-file-truename
1230 before using it for comparison (Bug#5297).
1231
f38cd76e
JA
12322012-12-01 Jari Aalto <jari.aalto@cante.net>
1233
1234 * textmodes/css-mode.el (css-current-defun-name): New function.
1235 (css-mode): Use it.
1236
1237 * textmodes/sgml-mode.el (html-current-defun-name): New function.
1238 (html-mode): Use it.
1239
ba03d0d9
CY
12402012-12-01 Chong Yidong <cyd@gnu.org>
1241
1242 Modularize add-log-current-defun (Bug#2224).
1243 Suggested by Jari Aalto.
1244
1245 * vc/add-log.el (add-log-current-defun-function): Doc fix.
1246 (add-log-current-defun): Move mode-specific code to other files.
1247 (add-log-lisp-like-modes, add-log-c-like-modes)
1248 (add-log-tex-like-modes): Variables deleted.
1249
1250 * emacs-lisp/lisp-mode.el (lisp-current-defun-name): New.
1251 (lisp-mode-variables): Use it.
1252
1253 * progmodes/cc-mode.el (c-common-init):
1254 * progmodes/cperl-mode.el (cperl-mode): Set a value for
1255 add-log-current-defun-function.
1256
1257 * progmodes/m4-mode.el (m4-current-defun-name): New function.
1258 (m4-mode): Use it.
1259
1260 * progmodes/perl-mode.el (perl-current-defun-name): New.
1261 (perl-mode): Use it.
1262
853c1ffc
SM
1263 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
1264 Use lisp-current-defun-name.
ba03d0d9
CY
1265
1266 * textmodes/tex-mode.el (tex-current-defun-name): New.
1267 (tex-common-initialization): Use it.
1268
1269 * textmodes/texinfo.el (texinfo-current-defun-name): New.
1270 (texinfo-mode): Use it.
1271
92eadba5
CY
12722012-12-01 Chong Yidong <cyd@gnu.org>
1273
1274 * emacs-lisp/lisp-mode.el (lisp-mode-variables, lisp-mode):
1275 * progmodes/autoconf.el (autoconf-mode):
1276 * progmodes/js.el (js-mode):
1277 * progmodes/make-mode.el (makefile-mode, makefile-makepp-mode)
1278 (makefile-bsdmake-mode, makefile-imake-mode, makefile-browse):
1279 * progmodes/perl-mode.el (perl-mode):
1280 * progmodes/sh-script.el (sh-mode, sh-set-shell):
1281 * textmodes/css-mode.el (css-mode):
1282 * textmodes/sgml-mode.el (html-mode, sgml-mode)
1283 (sgml-tags-invisible, sgml-guess-indent):
1284 * textmodes/tex-mode.el (tex-common-initialization)
1285 (latex-complete-bibtex-keys, tex-shell, tex-main-file)
1286 (doctex-mode, plain-tex-mode, latex-mode):
1287 * textmodes/texinfo.el (texinfo-mode): Use setq-local.
1288
3ddbf803
KK
12892012-12-01 Kirk Kelsey <kirk.kelsey@0x4b.net>
1290
1291 * vc/vc-hg.el (vc-hg-next-revision):
1292 Ensure use of default "tip" output format. (Bug#6968)
1293
f0b6ae63
KS
12942012-12-01 Kim F. Storm <storm@cua.dk>
1295
1296 * startup.el (fancy-startup-tail): Add a clickable link
1297 (Bug#2176).
1298
c01bf73e
CY
12992012-12-01 Chong Yidong <cyd@gnu.org>
1300
1301 * startup.el (fancy-startup-tail): Improve the message about
1302 auto-save files (Bug#2176).
1303
f0b6ae63
KS
1304 * files.el (recover-session): Improve the descriptive message, and
1305 use substitute-command-keys.
1306
a9400458
GM
13072012-12-01 Glenn Morris <rgm@gnu.org>
1308
1309 * ido.el (ido-file-internal):
1310 Handle other-window, other-frame for dired. (Bug#13036)
1311
fb3bf6ce
GM
13122012-11-30 Glenn Morris <rgm@gnu.org>
1313
1314 * icomplete.el (icomplete-separator): Fix :version.
1315
a813fe3f
CY
13162012-11-30 Chong Yidong <cyd@gnu.org>
1317
1318 * shell.el (shell): For C-u M-x shell, use an inactive shell
1319 buffer as the default (Bug#1975).
276479fd
CY
1320 (shell-apply-ansi-color, shell-reapply-ansi-color): New functions.
1321 (shell-mode): Use them to reapply ansi colorization if Shell mode
1322 is re-enabled.
a813fe3f 1323
a8b733a5
CY
13242012-11-30 Yuriy Vostrikov <delamonpansie@gmail.com> (tiny change)
1325
1326 * vc/vc-git.el (vc-git-command): Disable the pager (Bug#6137).
1327
6fccd6e8
SB
13282012-11-30 Samuel Bronson <naesten@gmail.com>
1329
1330 * progmodes/grep.el (grep-compute-defaults): Do not pass the -e
1331 flag to xargs, for compatibility with BSD xargs (Bug#11703).
1332
53c9a337
TT
13332012-11-30 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
1334
1335 * textmodes/fill.el (fill-region-as-paragraph): Handle overshoot
1336 by move-to-column (Bug#3234).
1337
ccf520bb
CY
13382012-11-30 Chong Yidong <cyd@gnu.org>
1339
1340 * longlines.el (longlines-wrap-line, longlines-encode-region):
1341 Preserve text properties (Bug#1425).
1342
171b0949
OT
13432012-11-30 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
1344
1345 * vc/vc.el (vc-register): Allow registering a file which is
1346 already registered with a different backend (Bug#10589).
1347
cc37e70f
J
13482012-11-29 Jambunathan K <kjambunathan@gmail.com>
1349 Stefan Monnier <monnier@iro.umontreal.ca>
1350
1351 * icomplete.el: Change separator; add ido-style commands.
1352 (icomplete-show-key-bindings): Remove custom var.
1353 (icomplete-get-keys): Remove function.
1354 (icomplete-forward-completions, icomplete-backward-completions):
1355 New commands.
1356 (icomplete-minibuffer-map): New var.
1357 (icomplete-minibuffer-setup): Use it.
1358 (icomplete-exhibit): Don't delay if the list of completions is known.
1359 (icomplete-separator): New custom.
1360 (icomplete-completions): Use it.
1361 * minibuffer.el (completion-all-sorted-completions): Delete duplicates.
1362 (minibuffer-force-complete-and-exit): New command.
1363 (minibuffer--complete-and-exit): New function extracted from
1364 minibuffer-complete-and-exit.
1365 (minibuffer-complete-and-exit): Use it.
83e12fe0
SM
1366
1367 * progmodes/etags.el (visit-tags-table-buffer): Give a more precise
1368 error message when the file doesn't exist (bug#12974).
1369
31646597
KD
13702012-11-29 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
1371
1372 * simple.el (activate-mark): Run activate-mark-hook (bug#13027).
1373
e9df8f87
GM
13742012-11-29 Glenn Morris <rgm@gnu.org>
1375
824eefe4
GM
1376 * files.el (hack-dir-local-variables): Warn if try to set
1377 coding via dir-locals, since it doesn't work. (Bug#7169)
1378
4ad900d9
GM
1379 Add desktop support for restoring vc-dir buffers. (Bug#10606)
1380 * vc/vc-dir.el (vc-dir-mode): Autoload it (for desktop restore).
1381 Set buffer-local value of desktop-save-buffer.
1382 (vc-dir-desktop-buffer-misc-data, vc-dir-restore-desktop-buffer):
1383 New functions.
1384 (desktop-buffer-mode-handlers): Add vc-dir-mode entry.
1385 * desktop.el (desktop-save-buffer-p): Treat vc-dir like dired.
1386
e9df8f87
GM
1387 * files.el (inhibit-local-variables-ignore-case): New. (Bug#10610)
1388 (inhibit-local-variables-p): Use inhibit-local-variables-ignore-case.
1389 Doc fix.
1390 (inhibit-local-variables-regexps, inhibit-local-variables-suffixes):
1391 Doc fixes.
1392
e7c8fcc4
JB
13932012-11-28 Jay Belanger <jay.p.belanger@gmail.com>
1394
1395 * calc/calc-forms.el (calc-date-notation): Fix regexp
1396 used to find time codes. Fix symbol for seconds.
1397
48d6d9c0
GM
13982012-11-27 Glenn Morris <rgm@gnu.org>
1399
1400 * emacs-lisp/derived.el (derived-mode-make-docstring):
1401 Don't mention "abbrev" or "syntax" if nil. (Bug#11277)
1402
369f945d
SM
14032012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
1404
1405 * textmodes/table.el (table-insert): Don't use `symbol-name' on
1406 lexically scoped variables (bug#13005).
1407
5c9cf0a3 14082012-11-27 Glenn Morris <rgm@gnu.org>
98f99594 1409
999e745e
GM
1410 * vc/vc-hooks.el (vc-mistrust-permissions):
1411 Default to t, to avoid data-loss. (Bug#11490)
98f99594 1412
5c9cf0a3 14132012-11-27 Fabián Ezequiel Gallina <fgallina@cuca>
207cb73c 1414
999e745e
GM
1415 * progmodes/python.el (python-indent-guess-indent-offset):
1416 If indentation is guessed make python-indent-offset buffer-local.
1417
207cb73c 1418 Fix Imenu regression.
999e745e
GM
1419 * progmodes/python.el (python-nav-beginning-of-defun):
1420 Fix forward movement when statement(s) separates point from defun.
207cb73c
FEG
1421 (python-imenu-prev-index-position): New function.
1422
5c9cf0a3 14232012-11-27 Eli Zaretskii <eliz@gnu.org>
33a488e4
EZ
1424
1425 * subr.el (buffer-file-type): Declare with defvar-local. Doc fix.
1426
1427 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
865f7d8f 1428 Don't set buffer-file-type. Return nil. (Bug#12989)
33a488e4 1429
5c9cf0a3 14302012-11-27 Glenn Morris <rgm@gnu.org>
50207191
GM
1431
1432 * hippie-exp.el (hippie-expand-try-functions-list):
1433 Re-autoload it. (Bug#12982)
1434
5c9cf0a3 14352012-11-27 Eli Zaretskii <eliz@gnu.org>
2147c6ab 1436
369f945d
SM
1437 * descr-text.el (describe-char-padded-string):
1438 Call internal-char-font only on GUI frames. (Bug#11964)
2147c6ab 1439
5c9cf0a3 14402012-11-27 Andreas Schwab <schwab@linux-m68k.org>
58b1ae1e
AS
1441
1442 * buff-menu.el (Buffer-menu-buffer+size-width): Fix customize type
1443 and obsoletion message.
1444
5c9cf0a3 14452012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
35a10516
SM
1446
1447 * emacs-lisp/cl-macs.el (cl--transform-lambda): Add back `declare' in
1448 the constructs to keep outside of the `cl-block' (bug#12977).
1449
5c9cf0a3 14502012-11-27 Chong Yidong <cyd@gnu.org>
0c5ef133
CY
1451
1452 * mouse.el (mouse-drag-line): Even if the line is not draggable,
1453 keep reading until we get the up-event anyway, in order to process
1454 the up-event for mouse-1-click-follows-link (Bug#12971).
1455
848a2dd1
SM
14562012-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
1457
1458 * emacs-lisp/advice.el (ad-should-compile): Don't compile advice if the
1459 base function is not yet defined (bug#12965).
1460 (ad-activate-advised-definition): Use ad-compile-function.
1461 (ad-activate): Use cond.
1462
9ad79506
LL
14632012-11-25 Leo Liu <sdl.web@gmail.com>
1464
1465 * textmodes/sgml-mode.el (sgml-tag): Fix indentation for closing tag.
1466 (Bug#12979)
1467
e2cb57f5
VB
14682012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
1469
1470 * textmodes/reftex-parse.el (reftex-parse-from-file): Use variable
1471 reftex-section-info-function in order to be compatible with
1472 Texinfo integration.
1473
1474 * textmodes/reftex.el (reftex-section-pre-regexp)
848a2dd1
SM
1475 (reftex-section-post-regexp, reftex-section-info-function):
1476 New variable.
1477 (reftex-compile-variables): Use variables reftex-section-pre-regexp,
1478 reftex-section-post-regexp, and reftex-section-info-function in order
1479 to be compatible with Texinfo integration.
1480
1481 * textmodes/reftex-toc.el (reftex-toc-promote-action):
1482 use reftex-section-pre-regexp variable in order to be compatible with
e2cb57f5
VB
1483 Texinfo integration.
1484
1c4f115d
CY
14852012-11-25 Chong Yidong <cyd@gnu.org>
1486
1487 * faces.el: Make face-spec-set more analogous to setq.
1488 (face-spec-set): Change the third arg to specify whether this
1489 function is being called via defface, customize, or a third party.
1490 Set the appropriate symbol properties. Clear the override spec if
1491 setting via Custom. Initialize face if necessary. (Bug#4988)
1492 (face-spec-recalc): Allow theme faces to completely replace the
1493 defface spec, in the same way as custom faces (Bug#8454).
1494
1495 * cus-face.el (custom-declare-face): Move face initialization to
1496 face-spec-set.
1497 (custom-theme-set-faces): Don't initialize the face name here, as
1498 that is now done in face-spec-set.
1499
1500 * cus-edit.el (custom-face-set, custom-face-mark-to-save)
1501 (custom-face-reset-saved, custom-face-mark-to-reset-standard):
1502 Simplify by using the new arg to face-spec-set.
1503
1504 * emacs-lisp/lisp-mode.el (eval-defun-1): When evaluating defface,
1505 reset face-override-spec too, and use custom-declare-face.
1506
c2350548
JD
15072012-11-24 Jan Djärv <jan.h.d@swipnet.se>
1508
1509 * term/ns-win.el (ns-initialize-window-system): Move creation of
1510 fontsets here (Bug#11964).
1511
ecfc364c
VB
15122012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
1513
1514 * ses.el (ses-rename-cell): Correct bug on mode-line update after
1515 cell renaming.
1516
0917cc54
CY
15172012-11-24 Chong Yidong <cyd@gnu.org>
1518
433212bf
CY
1519 * woman.el (woman-default-faces, woman-monochrome-faces): Mark as
1520 obsolete.
1521
0917cc54
CY
1522 * custom.el (custom-theme-set-variables): Use a topological sort
1523 for ordering by custom dependencies (Bug#12952).
1524 (custom--sort-vars, custom--sort-vars-1): New functions.
1525
d125ca15 15262012-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
002c019c
SM
1527
1528 * emacs-lisp/bytecomp.el (byte-compile-file): Setup default value for
1529 lexical-binding (bug#12938).
1530
d125ca15 15312012-11-24 Wolfgang Jenkner <wjenkner@inode.at>
977f9325
WJ
1532
1533 * image-mode.el (image-transform-check-size): Use assertions only
1534 for images of type imagemagick.
1535
1536 Otherwise no error, image-transform-fit-to-{width,height} is
1537 silently ignored, as before. Doc fix.
1538
d125ca15 15392012-11-24 Chong Yidong <cyd@gnu.org>
bccffa83
CY
1540
1541 * faces.el (color-defined-p): Doc fix (Bug#12853).
1542
d125ca15 15432012-11-24 Juri Linkov <juri@jurta.org>
61a2a122
JL
1544
1545 * dired.el (dired-mark): Add optional arg `interactive'.
1546 Check for `use-region-p' if `interactive' is non-nil.
1547 (dired-unmark, dired-flag-file-deletion): Add optional arg
1548 `interactive'. Call `dired-mark' with the arg `interactive'.
1549 (Bug#10624)
1550
cc4c01bd
JL
1551 * wdired.el: Revert 2012-10-17 change partly and replace it with
1552 Patch by Christopher Schmidt <christopher@ch.ristopher.com>.
1553 (wdired-finish-edit): Add marks for new file names to
1554 `wdired-old-marks'. Restore marks using `dired-mark-remembered'
1555 after `revert-buffer'.
1556 (wdired-do-renames): Remove calls to `dired-remove-file',
1557 `dired-add-file', `dired-add-entry'. (Bug#11795)
1558
d125ca15 15592012-11-24 Alan Mackenzie <acm@muc.de>
b03aabda 1560
dc310ed0
AM
1561 * progmodes/cc-defs.el (c-version): Bump to 5.32.4.
1562
b03aabda
AM
1563 Fix bugs in the state cache. Enhance a debugging mechanism.
1564 * progmodes/cc-engine.el (c-parse-state-get-strategy): Don't use
1565 "brace at column zero" strategy for C++.
1566 (c-append-lower-brace-pair-to-state-cache): Repair algorithm.
1567 (c-parse-state-point): New variable.
1568 (c-record-parse-state-state): Record old parse state with
1569 `copy-tree'. Record previous value of point.
1570 (c-debug-parse-state-double-cons): New debugging function.
1571 (c-debug-parse-state): Call the above new function.
1572 (c-toggle-parse-state-debug): Output a confirmatory message.
1573
002c019c
SM
1574 * progmodes/cc-mode.el (c-before-change, c-after-change):
1575 Call c-invalidate-state-cache from `c-before-change' instead of
b03aabda
AM
1576 `c-after-change'.
1577
930a6273
CY
15782012-11-23 Chong Yidong <cyd@gnu.org>
1579
1580 * find-cmd.el (find-constituents): Add executable, ipath,
1581 readable, samefile, writable, daystart, regextype (Bug#12856).
1582
15c9d04e
SM
15832012-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
1584
1585 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: Use cl-lib and lexical-binding.
1586
2ecb2679
PE
15872012-11-22 Paul Eggert <eggert@cs.ucla.edu>
1588
1589 * calc/calc.el (calc-gregorian-switch): Move to after calc-refresh
1590 definition. This fixes a bootstrap failure.
a14a5a40
PE
1591 (calc-gregorian-switch): In menu, put dates before regions.
1592 This is easier to follow, lines up better in the menu, and lets us
1593 coalesce regions that switch at the same time. Give country
15c9d04e
SM
1594 names, not "Vatican", as that's better for non-expert users.
1595 Use names that are stable between the date of switch and now, e.g.,
a14a5a40
PE
1596 Bohemia and Moravia (which existed then and now) and not
1597 Czechoslovakia (which didn't exist then and doesn't exist now).
1598 What is now the U.S. mostly did not switch at the same time as
1599 Britain, so omit the U.S. Correct spelling of "Britain".
1600 Catholic Switzerland was too much of a mess, so omit it.
2ecb2679 1601
723da6aa
JB
16022012-11-22 Jay Belanger <jay.p.belanger@gmail.com>
1603
1604 * calc/calc.el (calc-gregorian-switch): Refresh the Calc buffer
1605 after the variable is changed.
1606
21fa2482
DC
16072012-11-21 Daniel Colascione <dancol@dancol.org>
1608
1609 * progmodes/sql.el (sql-mode-font-lock-object-name): Support IF NOT EXISTS
b6096e85
DC
1610 in SQL declarations for font-lock.
1611 (sql-imenu-generic-expression): Teach imenu about IF NOT EXISTS.
21fa2482 1612
3ca2f1bf
GM
16132012-11-21 Glenn Morris <rgm@gnu.org>
1614
1bf335cf
GM
1615 * faces.el (face-underline-p, face-inverse-video-p, face-bold-p)
1616 (face-italic-p): Add optional argument "inherit".
1617
3ca2f1bf
GM
1618 * faces.el (set-face-inverse-video, set-face-bold, set-face-italic):
1619 Remove -p suffix from names, for consistency with other set-face-*.
1620 (set-face-inverse-video): Fix interactive spec.
1621 * play/gamegrid.el (gamegrid-make-mono-tty-face):
1622 * textmodes/table.el (table--update-cell-face):
1623 Use set-face-inverse-video rather than now obsolete alias.
1624
6ef2e5ef 16252012-11-21 Eli Zaretskii <eliz@gnu.org>
7cf95797
EZ
1626
1627 * simple.el (line-move): Don't call line-move-partial if
1628 scroll-conservatively is in effect. (Bug#12927)
1629
6ef2e5ef 16302012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
63f25172 1631
93b05041
SM
1632 * eshell/em-cmpl.el (eshell-pcomplete): Refine fix for bug#12838:
1633 Fallback on completion-at-point rather than
1634 pcomplete-expand-and-complete, and only if pcomplete actually failed.
1635 (eshell-cmpl-initialize): Setup completion-at-point.
1636
1637 * pcomplete.el (pcomplete--entries): Obey pcomplete-ignore-case.
1638
bc715d67
SM
1639 * emacs-lisp/ert.el (ert--expand-should-1): Adapt to cl-lib.
1640
6ef2e5ef 16412012-11-21 Michael Albinus <michael.albinus@gmx.de>
d7f2a65c
MA
1642
1643 * net/tramp-sh.el (tramp-do-copy-or-rename-file): If both files
1644 are remote, check out-of-band property for both.
1645
6ef2e5ef 16462012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
d1c0cddf
SM
1647
1648 * window.el (switch-to-buffer): Re-add the warning that was lost in the
1649 code rewrite.
1650
6ef2e5ef 16512012-11-21 Paul Eggert <eggert@cs.ucla.edu>
0c93aa38 1652
535efd4a
PE
1653 More minor time fixes.
1654 * calendar/time-date.el: Commentary fix.
1655 * net/tramp-sh.el (tramp-do-file-attributes-with-ls): Undo last change;
1656 too much other code depends on (0 0) time stamps.
1657 * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
1658 Add a couple of FIXME comments.
1659
0c93aa38
PE
1660 Minor cleanup for times as lists of four integers.
1661 * files.el (dir-locals-directory-cache):
1662 * ps-bdf.el (bdf-file-mod-time, bdf-read-font-info):
1663 Doc fixes.
1664 * net/tramp-sh.el (tramp-do-file-attributes-with-ls):
1665 * ps-bdf.el (bdf-file-newer-than-time):
1666 Process four-integers time stamps, not two. Doc fixes.
1667
23ba2705
SM
16682012-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
1669
2e31777b
SM
1670 * uniquify.el (uniquify-managed): Use defvar-local.
1671 (rename-buffer, create-file-buffer): Advise with advice-add.
1672 (uniquify-unload-function): Unadvise accordingly.
1673
8b62d742
SM
1674 * emacs-lisp/trace.el: Rewrite, use nadvice and lexical-binding.
1675 (trace-buffer): Don't purecopy.
1676 (trace-entry-message, trace-exit-message): Add `context' arg.
1677 (trace--timer): New var.
1678 (trace-make-advice): Adjust for use in nadvice.
1679 Add `context' argument. Delay `display-buffer' via a timer.
1680 (trace-function-internal): Use advice-add.
1681 (trace--read-args): New function.
1682 (trace-function-foreground, trace-function-background): Use it.
1683 (trace-function): Rename to trace-function-foreground and redefine as
1684 an alias to that new name.
1685 (untrace-function, untrace-all): Adjust to the use of nadvice.
1686
5d0ccd95
SM
1687 * emacs-lisp/bytecomp.el (byte-compile): Fix handling of closures.
1688
3837d988
SM
1689 * emacs-lisp/byte-run.el (defun-declarations-alist): Fix last change.
1690
23ba2705
SM
1691 * subr.el (called-interactively-p-functions): New var.
1692 (internal--called-interactively-p--get-frame): New macro.
1693 (called-interactively-p, interactive-p): Rewrite in Lisp.
1694 * emacs-lisp/nadvice.el (advice--called-interactively-skip): New fun.
1695 (called-interactively-p-functions): Use it.
1696 * emacs-lisp/edebug.el (edebug--called-interactively-skip): New fun.
1697 (called-interactively-p-functions): Use it.
1698 * allout.el (allout-called-interactively-p): Don't assume
1699 called-interactively-p is a subr.
1700
b0636be7
GM
17012012-11-20 Glenn Morris <rgm@gnu.org>
1702
1703 * profiler.el (profiler-report-mode-map): Add a menu.
1704 No need to bind `q' because we derive from special-mode.
1705 (profiler-report-find-entry): Handle calls from the menu-bar.
1706
855b17af
SM
17072012-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
1708
14146222
SM
1709 * emacs-lisp/byte-run.el (defun-declarations-alist):
1710 Allow a compiler-macro to be a lambda expression.
1711
1712 * progmodes/python.el: Use cl-lib. Move var declarations outside of
1713 eval-when-compile.
1714 (python-syntax-context): Add compiler-macro.
1715 (python-font-lock-keywords): Simplify with De Morgan.
1716
1000d895
SM
1717 * vc/diff-mode.el (diff-hunk): Don't make useless timers.
1718
ac5392dc
SM
1719 * files.el (load-file): Require match in minibuffer selection, as was
1720 the case in Emacs-20 before we changed the spec to allow .elc files
1721 (bug#12935).
1722
19dc7206
SM
1723 * json.el: Don't require cl since we don't use it.
1724 * color.el: Don't require cl.
1725 (color-complement): `caddr' -> `nth 2'.
1726
855b17af
SM
1727 * calendar/time-date.el (time-to-seconds): De-obsolete.
1728
e8909bdc
JB
17292012-11-19 Jay Belanger <jay.p.belanger@gmail.com>
1730
1731 * calc/calc-forms.el (math-leap-year-p): Fix formula for negative
1732 year numbers.
1733 (math-date-to-julian-dt): Adjust the initial approximation for the
1734 year to deal with the new definition of the DATE.
1735
6e9f7997
DC
17362012-11-19 Daniel Colascione <dancol@dancol.org>
1737
855b17af
SM
1738 * term/w32-win.el (cygwin-convert-path-from-windows):
1739 Accomodate rename of cygwin_convert_path* to cygwin_convert_file_name*.
6e9f7997 1740
6a3dd257
CY
17412012-11-18 Chong Yidong <cyd@gnu.org>
1742
1743 * filecache.el (file-cache--read-list): New function.
1744 (file-cache-add-directory-list, file-cache-add-file-list)
1745 (file-cache-delete-file-list, file-cache-delete-directory-list):
1746 Use it to read a list of files or directories (Bug#12846).
1747 (file-cache-add-file, file-cache-add-directory)
1748 (file-cache-delete-file-list, file-cache-delete-file-regexp)
1749 (file-cache-delete-directory): Print an message.
1750
eef97f35
JB
17512012-11-18 Jay Belanger <jay.p.belanger@gmail.com>
1752
1753 * calc/calc-forms.el (math-date-to-dt): Use integer date when
1754 calling `math-date-to-julian-dt' and 'math-date-to-gregorian-dt'.
1755
913c8291
GM
17562012-11-18 Glenn Morris <rgm@gnu.org>
1757
1758 * image.el (insert-image, insert-sliced-image): Doc fix.
1759
2ac9538d 17602012-11-18 Chong Yidong <cyd@gnu.org>
ec6f8ce6
CY
1761
1762 * emacs-lisp/syntax.el (syntax-propertize-function): Doc fix
1763 (Bug#12810).
1764
2ac9538d 17652012-11-18 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
c2d07557
CY
1766
1767 * vc/vc-svn.el (vc-svn-merge-news): Properly parse the merge
1768 response when the target file is in a subdirectory (Bug#12757).
1769
2ac9538d 17702012-11-18 Chong Yidong <cyd@gnu.org>
33f8917c
CY
1771
1772 * filecache.el (file-cache-add-file-list): Doc fix (Bug#12694).
1773
2ac9538d 17742012-11-18 Glenn Morris <rgm@gnu.org>
65463c40 1775
9a5e2ee3
GM
1776 * emacs-lisp/cl-lib.el (face-underline-p):
1777 Use set-face-underline rather than the alias set-face-underline-p.
1778
65463c40 1779 * window.el (with-temp-buffer-window): Doc fix.
95f0501e
GM
1780 * subr.el (with-output-to-temp-buffer):
1781 Add doc xref to with-temp-buffer-window.
65463c40 1782
c9ed8e3d
JB
17832012-11-18 Juanma Barranquero <lekktu@gmail.com>
1784
1785 * woman.el (woman-non-underline-faces): Use `set-face-underline'.
1786 * calc/calc.el (math-format-date-cache): Declare.
1787
310e60d9
PE
17882012-11-17 Paul Eggert <eggert@cs.ucla.edu>
1789
6f6b82d6
PE
1790 Calc by default uses the Gregorian calendar for all dates (Bug#12633).
1791 It also uses January 1, 1 AD as its day number 1.
310e60d9 1792 * calc/calc-forms.el (math-julian-date-beginning)
6f6b82d6 1793 (math-julian-date-beginning-int): Implement this.
310e60d9 1794
d7fe6352
JB
17952012-11-17 Juanma Barranquero <lekktu@gmail.com>
1796
1797 * descr-text.el (quail-find-key):
1798 * dired.el (desktop-file-name):
1799 * dirtrack.el (shell-prefixed-directory-name, shell-process-cd):
1800 * generic-x.el (comint-mode, comint-exec):
1801 * image-dired.el (widget-forward):
1802 * info.el (speedbar-add-expansion-list, speedbar-center-buffer-smartly)
1803 (speedbar-change-expand-button-char)
1804 (speedbar-change-initial-expansion-list, speedbar-delete-subblock)
1805 (speedbar-make-specialized-keymap, speedbar-make-tag-line):
1806 * printing.el (easy-menu-add-item, easy-menu-remove-item)
1807 (widget-field-action, widget-value-set):
1808 * speedbar.el (imenu--make-index-alist):
1809 * term.el (ring-empty-p, ring-ref, ring-insert-at-beginning)
1810 (ring-length, ring-insert):
1811 * vcursor.el (compare-windows-skip-whitespace):
1812 * woman.el (dired-get-filename):
1813 Declare functions.
1814
1815 * term/w32-win.el (cygwin-convert-path-from-windows): Fix declaration.
1816
c9f618db
JB
18172012-11-17 Jay Belanger <jay.p.belanger@gmail.com>
1818
1819 * calc/calc.el (calc-gregorian-switch): New variable.
1820
1821 * calc/calc-forms.el (math-day-in-year, math-dt-before-p)
1822 (math-absolute-from-gregorian-dt, math-absolute-from-julian-dt)
1823 (math-date-to-julian-dt, math-date-to-gregorian-dt): New functions.
1824 (math-leap-year-p): Add option to distinguish between Julian
1825 and Gregorian calendars.
1826 (math-day-number): Use `math-day-in-year' to do the computations.
1827 (math-absolute-from-dt): Rename from `math-absolute-from-date'.
1828 Use `math-absolute-from-gregorian' and `math-absolute-from-julian'
1829 to do the computations.
1830 (math-date-to-dt): Use `math-date-to-julian-dt' and
1831 `math-date-to-gregorian-dt' to do the computations.
1832 (calcFunc-weekday, math-format-date-part): Use the new version of
1833 the DATE to determine the weekday.
1834 (calcFunc-newmonth, calcFunc-newyear): Use `calc-gregorian-switch'
1835 when necessary.
1836
3804f7bc
EZ
18372012-11-17 Eli Zaretskii <eliz@gnu.org>
1838
1839 * term/w32-win.el (w32-handle-dropped-file): Use 'file://' only on
1840 Cygwin; otherwise use 'file:'. (Bug#12914)
1841 (cygwin-convert-path-from-windows): Declare, to avoid
1842 byte-compiler warnings.
1843
de959d4d
AP
18442012-11-17 Andreas Politz <politza@fh-trier.de>
1845
1846 * ibuffer.el (ibuffer-mark-forward, ibuffer-unmark-forward)
1847 (ibuffer-unmark-backward, ibuffer-mark-interactive): Support plain
1848 prefix and negative numeric prefix args (Bug#12795).
1849
e45deaef
SB
18502012-11-17 Stephen Berman <stephen.berman@gmx.net>
1851
1852 * play/gamegrid.el (gamegrid-add-score-with-update-game-score-1):
1853 Don't signal an error with a score that is too low to add to the
1854 list of top scores. (Bug#12779)
1855
ec15e0ff
CY
18562012-11-17 Chong Yidong <cyd@gnu.org>
1857
8e7696a1
CY
1858 * help-mode.el (help-xref-interned): End on point-min (Bug#12737).
1859
ec15e0ff
CY
1860 * filecache.el (file-cache-add-file): Handle relative file name in
1861 the argument (Bug#12694).
1862
60c4ee66
JH
18632012-11-16 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
1864
1865 * eshell/em-unix.el (eshell/mkdir): Handle "--parents" (bug#12897).
1866
cdc5d88c
SM
18672012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
1868
dd0c5bbb
SM
1869 * emacs-lisp/advice.el (ad-make-advised-definition): Improve last fix.
1870
cdc5d88c
SM
1871 * emacs-lisp/cl-lib.el: Set more meaningful version number.
1872
0ff7851c
MR
18732012-11-16 Martin Rudalics <rudalics@gmx.at>
1874
1875 * window.el (enlarge-window, shrink-window): Don't mention return
1876 value in doc-string (Bug#12896).
1877 (window--display-buffer): Don't resize frames - it won't work
1878 with all window managers and defeat pop-up-frame-alist.
1879 (display-buffer-alist): In doc-string explain that CONDITION can
1880 be a function and which arguments are passed to it (Bug#12854).
1881 (display-buffer-assq-regexp): New argument ACTION. Handle lambda
1882 expressions (Bug#12854).
1883 (display-buffer): Pass ACTION argument to
1884 display-buffer-assq-regexp.
1885
dedd1884
GM
18862012-11-16 Glenn Morris <rgm@gnu.org>
1887
7c82753d
GM
1888 * window.el (fit-frame-to-buffer-bottom-margin)
1889 (fit-frame-to-buffer, fit-window-to-buffer): Doc fixes.
1890
dedd1884
GM
1891 * faces.el (face-underline-p): Use face-attribute-specified-or.
1892
96e05507 18932012-11-16 Juanma Barranquero <lekktu@gmail.com>
662b0ee6
JB
1894
1895 * emacs-lisp/cl-macs.el (cl-loop, cl-do, cl-do*): Doc fixes.
1896
96e05507 18972012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
eb31fa40
SM
1898
1899 * emacs-lisp/cl-macs.el (cl-flet, cl-flet*): Fix docstring (bug#12895).
1900
96e05507 19012012-11-16 Glenn Morris <rgm@gnu.org>
e2e13f18 1902
17c083ac
GM
1903 * eshell/em-cmpl.el (eshell-pcomplete): New command. (Bug#12838)
1904 (eshell-cmpl-initialize): Bind eshell-pcomplete to TAB, C-i.
1905
bde3c6c0
GM
1906 * faces.el (face-underline-p): Doc fix. Handle :underline being
1907 things other than `t' (a string, a list).
1908 (face-inverse-video-p): Doc fix.
1909 (set-face-underline): Rename it back from set-face-underline-p.
1910 Doc fix. Allow interactive input of values other than t.
1911 (read-face-attribute): Apply formatting to :underline,
1912 since like :box and :stipple it can take list values.
1913
e2e13f18
GM
1914 * term.el (ansi-term): Don't let C-x escape-char binding
1915 clobber the more standard C-c binding. (Bug#12842)
1916
e0ea8060
GM
1917 * subr.el (set-temporary-overlay-map): Doc fix.
1918
96e05507 19192012-11-16 Martin Rudalics <rudalics@gmx.at>
92346275
MR
1920
1921 * window.el (record-window-buffer)
1922 (display-buffer-record-window): When copying the markers to
1923 window-point preserve window-point-insertion-type. (Bug#12588)
1924
96e05507 19252012-11-16 Glenn Morris <rgm@gnu.org>
7b1bf173
GM
1926
1927 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
1928 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error):
1929 Use new names for hooks rather than obsolete aliases.
1930
faeafc01
DC
19312012-11-15 Daniel Colascione <dancol@dancol.org>
1932
1933 * term/w32-win.el (w32-handle-dropped-file): Use a "file://"
9533048d
DC
1934 prefix instead of "file:" so that when FILE-NAME begins with "//",
1935 as it does when the target file is on a network share, url-handler
1936 isn't confused.
1937
1232d6c2
SM
19382012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
1939
1940 * emacs-lisp/advice.el (ad-definition-type): Make sure we don't use
1941 a preactivated advice from an old advice.el; they're not compatible!
1942
47f01a8a
KY
19432012-11-15 Katsumi Yamaoka <yamaoka@jpl.org>
1944
1945 * emacs-lisp/nadvice.el (advice--make-interactive-form):
1946 Fix string-spec case.
1947
1948 * emacs-lisp/advice.el (ad-make-advised-definition): Fix undefined case.
1949
a61428c4
SM
19502012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
1951
1952 * emacs-lisp/nadvice.el: Add buffer-local support to add-function.
1953 (advice--buffer-local-function-sample): New var.
1954 (advice--set-buffer-local, advice--buffer-local): New functions.
1955 (add-function, remove-function): Use them.
1956
875ce3a7
DA
19572012-11-15 Drew Adams <drew.adams@oracle.com>
1958
1959 * imenu.el (imenu--split-submenus): Use imenu--subalist-p (bug#12717).
1960
589fc479
SM
19612012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
1962
1963 * emacs-lisp/cl-macs.el (cl--transform-lambda): Defend against
1964 potential binding of print-gensym to t, and prettify (back)quotes in
1965 case they appear in args's default values (bug#12884).
1966
1668ea90
SM
19672012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1968
1969 * emacs-lisp/nadvice.el: Add around advice for interactive specs.
1970 (advice-eval-interactive-spec): New function.
1971 (advice--make-interactive-form): Support around advice (bug#12844).
1972
8619323f
DG
19732012-11-14 Dmitry Gutov <dgutov@yandex.ru>
1974
1975 * progmodes/ruby-mode.el (ruby-expr-beg): Make heredoc detection
1976 more strict. Add docstring.
c62792e7
DG
1977 (ruby-expression-expansion-re): Extract from
1978 `ruby-match-expression-expansion'.
1979 (ruby-syntax-propertize-function): After everything else, search
1980 for expansions in string literals, mark their insides as
1981 whitespace syntax and save match data for font-lock.
1982 (ruby-font-lock-keywords): Use the 2nd group from expression
1983 expansion matches.
1984 (ruby-match-expression-expansion): Use the match data saved to the
1985 text property in ruby-syntax-propertize-function.
8619323f 1986
9c3912d3
SM
19872012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1988
1989 * emacs-lisp/gv.el (setf): Fix debug spec for multiple assignments
1990 (bug#12879).
1991
5e9419e8
DG
19922012-11-13 Dmitry Gutov <dgutov@yandex.ru>
1993
1994 * progmodes/ruby-mode.el (ruby-move-to-block): Looks for a block
1995 start/end keyword a bit harder. Works with different values of N.
1996 Add more comments.
1997 (ruby-end-of-block): Update accordingly.
1998
3c442f8b
SM
19992012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
2000
fa470af0
SM
2001 * woman.el (woman-file-name): Don't mess with unread-command-events
2002 (bug#12861).
2003
3c442f8b
SM
2004 * emacs-lisp/advice.el: Layer on top of nadvice.el.
2005 Remove out of date self-require hack.
2006 (ad-do-advised-functions): Use simple `dolist'.
2007 (ad-advice-name, ad-advice-protected, ad-advice-enabled)
2008 (ad-advice-definition): Redefine as functions.
2009 (ad-advice-classes): Move before first use.
2010 (ad-make-origname, ad-set-orig-definition, ad-clear-orig-definition)
fa470af0 2011 (ad-make-mapped-call, ad-make-advised-docstring,ad-make-plain-docstring)
3c442f8b 2012 (ad--defalias-fset): Remove functions.
fa470af0 2013 (ad-make-advicefunname, ad-clear-advicefunname-definition): New funs.
3c442f8b
SM
2014 (ad-get-orig-definition): Rewrite.
2015 (ad-make-advised-definition-docstring): Change base docstring.
2016 (ad-real-orig-definition): Rewrite.
2017 (ad-map-arglists): Change name of called function.
2018 (ad--make-advised-docstring): Redirect `function' from ad-Advice-...
2019 (ad-make-advised-definition): Simplify.
2020 (ad-assemble-advised-definition): Tweak for new calling context.
fa470af0 2021 (ad-activate-advised-definition): Setup ad-Advice-* i.s.o ad-Orig-*.
3c442f8b
SM
2022 (ad--defalias-fset): Rename from ad-handle-definition. Make it set the
2023 function and call ad-activate if needed.
2024 (ad-activate, ad-deactivate): Don't call ad-handle-definition any more.
2025 (ad-recover): Clear ad-Advice-* instead of ad-Orig-*.
2026 (ad-compile-function): Compile ad-Advice-*.
2027 (ad-activate-on-top-level, ad-with-auto-activation-disabled): Remove.
2028 (ad-start-advice, ad-stop-advice): Remove.
2029
5745cae6
DG
20302012-11-13 Dmitry Gutov <dgutov@yandex.ru>
2031
2032 * progmodes/ruby-mode.el (ruby-add-log-current-method): Print the
2033 period before class method names, not after. Remove handling of
2034 one impossible case. Add comments.
2035
413d4689
SM
20362012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
2037
7db1bda8
SM
2038 * emacs-lisp/advice.el: Remove support for freezing.
2039 (ad-make-freeze-docstring, ad-make-freeze-definition): Remove functions.
2040 (ad-make-single-advice-docstring, ad-defadvice-flags, defadvice):
2041 Remove support for `freeze'.
2042
413d4689
SM
2043 * emacs-lisp/cl.el (dolist, dotimes, declare): Use advice-add to
2044 override the default.
2045 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Rewrite without using
2046 cl--dotimes/dolist.
2047 * subr.el (dolist, dotimes, declare): Redefine them normally, even when
2048 `cl' is loaded.
2049
2050 * emacs-lisp/nadvice.el (advice--normalize): New function, extracted
2051 from add-advice.
2052 (advice--strip-macro): New function.
2053 (advice--defalias-fset): Use them to handle macros.
2054 (advice-add): Use them.
2055 (advice-member-p): Correctly handle macros.
2056
f178c32d
DG
20572012-11-13 Dmitry Gutov <dgutov@yandex.ru>
2058
7db1bda8
SM
2059 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2060 Never font-lock the beginning of singleton class as heredoc.
f178c32d 2061
f78ee6af 20622012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
f8705f6e
SM
2063
2064 * emacs-lisp/gv.el (gv-define-simple-setter): One more fix (bug#12871).
2065
f78ee6af 20662012-11-13 Wolfgang Jenkner <wjenkner@inode.at>
9db94175
WJ
2067
2068 * ansi-color.el (ansi-color-apply-sequence): Implement SGR codes
f78ee6af
GM
2069 39 and 49 (bug#12792). Also, treat unimplemented parameters as 0,
2070 thereby restoring the behavior of revisions prior to 2012-08-15T03:33:55Z!monnier@iro.umontreal.ca.
9db94175 2071
f78ee6af 20722012-11-13 Fabián Ezequiel Gallina <fgallina@cuca>
2e6625b5
FEG
2073
2074 Fix end-of-defun misbehavior.
2075 * progmodes/python.el (python-nav-beginning-of-defun): Rename from
2076 python-beginning-of-defun-function. Handle nested defuns
2077 correctly.
2078 (python-nav-end-of-defun): Rename from
2079 python-end-of-defun-function. Ensure forward movement.
f8705f6e 2080 (python-info-current-defun): Reimplement to work as intended
2e6625b5
FEG
2081 with new fixed python-nav-{end,beginning}-of-defun. Stop scanning
2082 parent defuns as soon as possible.
2083
f78ee6af 20842012-11-13 Glenn Morris <rgm@gnu.org>
24c38527
GM
2085
2086 * progmodes/flymake.el (flymake-error-bitmap)
2087 (flymake-warning-bitmap, flymake-fringe-indicator-position): Doc fixes.
2088 (flymake-error-bitmap, flymake-warning-bitmap): Fix :types.
2089
f78ee6af 20902012-11-13 Dmitry Gutov <dgutov@yandex.ru>
d1e1e53d
DG
2091
2092 * progmodes/ruby-mode.el (ruby-move-to-block): When moving
2093 backward, always stop at indentation. Reverts the change from
2094 2012-08-12T22:06:56Z!monnier@iro.umontreal.ca (Bug#12851).
2095
f78ee6af 20962012-11-13 Glenn Morris <rgm@gnu.org>
68146aa5 2097
a1d3e07e
GM
2098 * ibuffer.el (ibuffer-mode-map, ibuffer-mode):
2099 Add ibuffer-filter-by-derived-mode.
2100
84acf328
GM
2101 * ibuffer.el (ibuffer-mode-map): Don't have two menu items with
2102 the same name shadowing each other.
2103
38785e75
GM
2104 * window.el (with-temp-buffer-window): Doc tweak.
2105
57fc0fee
GM
2106 * emacs-lisp/debug.el (debugger-bury-or-kill): Doc tweak.
2107
6ba6a3e5
GM
2108 * help.el (temp-buffer-max-height):
2109 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-bottom-margin):
68146aa5
GM
2110 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix :version.
2111
231d8498
SM
21122012-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
2113
2114 * emacs-lisp/nadvice.el: New package.
2115 * subr.el (special-form-p): New function.
2116 * emacs-lisp/elp.el: Use lexical-binding and advice-add.
2117 (elp-all-instrumented-list): Remove var.
2118 (elp-not-profilable): Remove elp-wrapper.
2119 (elp-profilable-p): Use autoloadp and special-form-p.
2120 (elp--advice-name): New const.
2121 (elp-instrument-function): Use advice-add.
2122 (elp--instrumented-p): New predicate.
2123 (elp-restore-function): Use advice-remove.
2124 (elp-restore-all, elp-reset-all): Use mapatoms.
2125 (elp-set-master): Use elp--instrumented-p.
2126 (elp--make-wrapper): Rename from elp-wrapper, return a function
2127 suitable for advice-add. Use cl-inf.
2128 (elp-results): Use mapatoms+elp--instrumented-p.
2129 * emacs-lisp/debug.el: Use lexical-binding and advice-add.
2130 (debug-function-list): Remove var.
2131 (debug): Rename arg, and then let-bind it explicitly inside.
2132 (debugger-setup-buffer): Rename arg.
2133 (debugger-setup-buffer): Adjust counts to new debug-on-entry setup.
2134 (debugger-frame-number): Adjust to new debug-on-entry setup.
2135 (debug--implement-debug-on-entry): Rename from
2136 implement-debug-on-entry, add argument.
2137 (debugger-special-form-p): Remove, use special-form-p instead.
2138 (debug-on-entry): Use advice-add.
2139 (debug--function-list): New function.
2140 (cancel-debug-on-entry): Use it, along with advice-remove.
2141 (debug-arglist, debug-convert-byte-code, debug-on-entry-1): Remove.
2142 (debugger-list-functions): Use debug--function-list instead of
2143 debug-function-list.
2144 * emacs-lisp/advice.el (ad-save-real-definition): Remove, unused.
2145 (ad-special-form-p): Remove, use special-form-p instead.
2146 (ad-set-advice-info): Use add-function and remove-function.
2147 (ad--defalias-fset): Adjust accordingly.
2148
19e09879
GM
21492012-11-10 Glenn Morris <rgm@gnu.org>
2150
714cebd1
GM
2151 * mail/emacsbug.el (report-emacs-bug-tracker-url)
2152 (report-emacs-bug-bug-alist, report-emacs-bug-choice-widget)
2153 (report-emacs-bug-create-existing-bugs-buffer)
2154 (report-emacs-bug-parse-query-results)
2155 (report-emacs-bug-query-existing-bugs): Remove. (Bug#7449)
2156
bf67dafa
GM
2157 * term.el (term-default-fg-color, term-default-bg-color):
2158 Make obsolete, rather than just saying "deprecated" in the doc.
2159
19e09879
GM
2160 * term.el (term): Rename from `term-face'.
2161 (term-current-face, ansi-term-color-vector)
2162 (term-default-fg-color, term-default-bg-color, term-ansi-reset):
2163 Update all users.
2164
6baf66d5 21652012-11-10 Jan Djärv <jan.h.d@swipnet.se>
531bdce6
JD
2166
2167 * server.el (server-create-window-system-frame): Handle Nextstep
2168 specially (Bug#12780).
2169
6baf66d5 21702012-11-10 Glenn Morris <rgm@gnu.org>
fedb154e
GM
2171
2172 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
2173 Unautoload, and make obsolete. (Bug#7449)
2174
6baf66d5 21752012-11-10 Chong Yidong <cyd@gnu.org>
9d9e48d9
CY
2176
2177 * vc/diff-mode.el (diff-delete-trailing-whitespace): Rewrite, and
2178 rename from diff-remove-trailing-whitespace (Bug#12831).
2179
6baf66d5 21802012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
32170f7f
SM
2181
2182 * emacs-lisp/advice.el: Require `cl-lib' at run-time to fix
2183 miscompilation of trace.el.
2184
6baf66d5 21852012-11-10 Glenn Morris <rgm@gnu.org>
26f59676
GM
2186
2187 * vc/diff-mode.el (diff-remove-trailing-whitespace): Doc fix.
2188
6baf66d5 21892012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
41626722
SM
2190
2191 * emacs-lisp/gv.el (gv-define-simple-setter): Fix last change
2192 (bug#12812).
2193
6baf66d5 21942012-11-10 Chong Yidong <cyd@gnu.org>
7d806bfe
CY
2195
2196 * minibuf-eldef.el (minibuffer-eldef-shorten-default): Convert to
2197 a defcustom with an appropriate :set function.
2198 (minibuffer-default--in-prompt-regexps): New function.
2199
6baf66d5 22002012-11-10 Glenn Morris <rgm@gnu.org>
2ee1d59f 2201
031b2ea7
GM
2202 * emacs-lisp/cl.el (define-setf-expander, defsetf)
2203 (define-modify-macro): Doc fixes.
2204
2ee1d59f
GM
2205 * emacs-lisp/gv.el (gv-letplace): Fix doc typo.
2206 (gv-define-simple-setter): Update doc of `fix-return'.
2207
6baf66d5 22082012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
d57c286e 2209
b715ed44
SM
2210 * emacs-lisp/gv.el (gv-define-simple-setter): Don't evaluate `val'
2211 twice when `fix-return' is set (bug#12813).
2212
d57c286e
SM
2213 * emacs-lisp/cl.el (defsetf): Pass the third arg to
2214 gv-define-simple-setter (bug#12812).
2215
c9cac599
SM
2216 * woman.el (woman-decode-region): Disable adaptive-fill when rendering
2217 (bug#12756).
2218
6baf66d5 22192012-11-10 Glenn Morris <rgm@gnu.org>
6b3770fb
GM
2220
2221 * emacs-lisp/gv.el (gv-define-setter): Fix doc typo.
2222
5593ed90
GM
2223 * emacs-lisp/cl-extra.el (cl-prettyexpand):
2224 * emacs-lisp/cl-lib.el (cl-proclaim, cl-declaim):
2225 * emacs-lisp/cl-macs.el (cl-destructuring-bind, cl-locally)
2226 (cl-the, cl-compiler-macroexpand): Add basic doc strings.
2227
2228 * emacs-lisp/cl-extra.el (cl-maplist, cl-mapcan): Doc fix.
2229
05a859c1
LL
22302012-11-10 Leo Liu <sdl.web@gmail.com>
2231
2232 * ido.el (ido-set-matches-1): Improve flex matching performance by
2233 removing backtracking in the regexp (suggested by Stefan). (Bug#12796)
2234
32e5c58c
SM
22352012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
2236
2237 * emacs-lisp/advice.el (ad-set-advice-info): Set defalias-fset-function.
2238 (ad--defalias-fset): New function.
2239 (ad-safe-fset): Remove.
2240 (ad-make-freeze-definition): Use cl-letf*.
2241
f5925cd9
SM
22422012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
2243
da03ef8a
SM
2244 * subr.el (dolist): Don't bind VAR in RESULT.
2245
6858633a
SM
2246 * emacs-lisp/advice.el: Miscellaneous cleanup. Use lexical-binding.
2247 (fset, documentation): Don't save real def since we don't advise.
2248 (ad-do-advised-functions): Remove problematic `result-form'.
2249 (ad-safe-fset): `ad-real-fset' => `fset'.
2250 (ad-read-advised-function): Don't assume that ad-do-advised-functions
2251 uses CL's dolist internally.
2252 (ad-arglist): Remove unused arg `name'.
2253 (ad-docstring, ad-make-advised-docstring):
2254 `ad-real-documentation' => `documentation'.
2255 (warning-suppress-types): Declare.
2256 (ad-set-arguments): Simple CSE.
2257 (ad-recover-normality): Sanity check.
2258
f5925cd9
SM
2259 * emacs-lisp/bytecomp.el (byte-compile-out-toplevel): Don't turn
2260 (funcall '(lambda ..) ..) into ((lambda ..) ..).
2261
93a66b3a
VB
22622012-11-09 Vincent Belaïche <vincentb1@users.sourceforge.net>
2263
2264 * ses.el: symbol to coordinate mapping is made by symbol property
f5925cd9
SM
2265 `ses-cell'. This means that the same mapping is done for all SES
2266 sheets. That is good enough for cells with standard A1 names, but
2267 not for named cell. So a hash map is added for the latter.
2268 (defconst ses-localvars): Add local variable ses--named-cell-hashmap
93a66b3a
VB
2269 (ses-sym-rowcol): Use hashmap for named cell.
2270 (ses-is-cell-sym-p): New defun.
2271 (ses-decode-cell-symbol): New defun.
f5925cd9
SM
2272 (ses-create-cell-variable): Add cell to hashmap when name is not
2273 A1-like.
93a66b3a
VB
2274 (ses-rename-cell): Check that cell new name is not already in
2275 spreadsheet with the use of ses-is-cell-sym-p
2276 (ses-rename-cell): Use hash map for named cells, but accept also
2277 renaming back to A1-like.
2278
67dd8ad1
SM
22792012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
2280
57618ecf
SM
2281 * emacs-lisp/advice.el: Use new dynamic docstrings.
2282 (ad-make-advised-definition-docstring, ad-advised-definition-p):
2283 Use dynamic-docstring-function instead of ad-advice-info.
2284 (ad--make-advised-docstring): New function extracted from
2285 ad-make-advised-docstring.
2286 (ad-make-advised-docstring): Use it.
2287 * progmodes/sql.el (sql--make-help-docstring): New function, extracted
2288 from sql-help.
2289 (sql-help): Use it with dynamic-docstring-function.
2290
67dd8ad1
SM
2291 * env.el (env--substitute-vars-regexp): Don't use rx (for bootstrap).
2292
be883b34
SM
22932012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
2294
d41706aa
SM
2295 * files.el (hack-one-local-variable--obsolete): New function.
2296 (hack-one-local-variable): Use it for obsolete settings.
2297
85e55412
SM
2298 * subr.el (locate-user-emacs-file): If both old and new name exist, use
2299 the new name.
2300
be883b34
SM
2301 * progmodes/js.el (js--filling-paragraph): New var.
2302 (c-forward-sws, c-backward-sws, c-beginning-of-macro): Advise.
2303 (js-c-fill-paragraph): Prefer advice to cl-letf so the rebinding is
2304 less sneaky.
2305
cabc040a
JD
23062012-11-08 Julien Danjou <julien@danjou.info>
2307
2308 * progmodes/ruby-mode.el (auto-mode-alist): Add Rakefile in
2309 `auto-mode-alist' (Bug#12835).
2310
d14bb752
SM
23112012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
2312
79b3e376
SM
2313 * progmodes/perl-mode.el (perl-prettify-symbols): New defcustom.
2314 (perl--prettify-symbols-alist): New const.
2315 (perl--font-lock-compose-symbol, perl--font-lock-symbols-keywords):
2316 New functions.
2317 (perl-font-lock-keywords-2): Use them.
2318 (perl-electric-noindent-p): New function.
2319 (perl-mode): Use it to set up electric-indent-mode.
2320 (perl-electric-terminator, perl-indent-command): Mark obsolete.
2321 (perl-mode-map): Remove bindings for them.
2322 (perl-imenu-generic-expression, perl-outline-level):
2323 Match functions&packages in column>0.
2324
3b11e6ac
SM
2325 * env.el (env--substitute-vars-regexp): New const.
2326 (substitute-env-vars): Use it. Add `only-defined' arg.
2327 * net/tramp.el (tramp-replace-environment-variables): Use it.
2328
784c1a7b
SM
2329 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
2330 Byte-compile *before* eval in eval-and-compile.
2331 (byte-compile-log-warning): Remove redundant inhibit-read-only.
2332 (byte-compile-file-form-autoload): Don't hide actual definition.
2333 (byte-compile-maybe-guarded): Accept `functionp' as well.
2334
d14bb752
SM
2335 * emacs-lisp/gv.el (gv-ref, gv-deref): New function and macro.
2336
499a0f7a
MA
23372012-11-07 Michael Albinus <michael.albinus@gmx.de>
2338
2339 * notifications.el (notifications-get-server-information-method):
2340 New defconst.
2341 (notifications-get-capabilities): Fix docstring.
2342 (notifications-get-server-information): New defun.
2343
f0704a9a
AM
23442012-11-06 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2345
2346 * textmodes/ispell.el (ispell-region): Standard re-indent for better
2347 readability.
2348
b159a1fd
AM
2349 * textmodes/ispell.el: Experimental support for support debugging.
2350 (ispell-create-debug-buffer): Create a `ispell-debug-buffer' debug
2351 buffer for ispell.
2352 (ispell-print-if-debug): New function to print stuff to
2353 `ispell-debug-buffer' if debugging is enabled.
2354 (ispell-region, ispell-process-line): Use `ispell-print-if-debug' to
2355 show some debugging info.
2356 (ispell-buffer-with-debug): New function that creates a debugging
2357 buffer and calls `ispell-buffer' with debugging enabled.
2358
056cb3a1
AM
2359 * textmodes/ispell.el (ispell-region): Do not prefix sent string by
2360 comment in autoconf mode. (Bug#12768)
2361
8e6a67b7
DA
23622012-11-06 Dmitry Antipov <dmantipov@yandex.ru>
2363
2364 * emacs-lisp/byte-opt.el (toplevel): Add compare-window-configurations,
2365 frame-first-window, frame-root-window, frame-selected-window,
2366 minibuffer-selected-window, minibuffer-window,
2367 window-absolute-pixel-edges, window-at, window-body-height,
2368 window-body-width, window-display-table, window-combination-limit,
2369 window-frame, window-fringes, window-inside-absolute-pixel-edges,
2370 window-inside-edges, window-inside-pixel-edges, window-left-child,
2371 window-left-column, window-margins, window-next-buffers,
2372 window-next-sibling, window-new-normal, window-new-total,
2373 window-normal-size, window-parameter, window-parameters, window-parent,
2374 window-pixel-edges, window-point, window-prev-buffers,
2375 window-prev-sibling, window-redisplay-end-trigger, window-scroll-bars,
2376 window-start, window-text-height, window-top-child, window-top-line,
2377 window-total-height, window-total-width and window-use-time to the list
2378 of functions without side-effects.
2379 (toplevel): Add window-valid-p to the list of error-free functions
2380 without side-effects.
2381
53fc914f
AM
23822012-11-05 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2383
f5925cd9
SM
2384 * textmodes/ispell.el (ispell-program-name):
2385 Update spellchecker parameters when customized.
53fc914f 2386
9749e2b0
GM
23872012-11-04 Glenn Morris <rgm@gnu.org>
2388
2389 * vc/vc-svn.el (vc-svn-state-heuristic): Avoid calling svn. (Bug#7850)
2390
2cbafa56
CY
23912012-11-04 Chong Yidong <cyd@gnu.org>
2392
2393 * bookmark.el (bookmark-bmenu-switch-other-window): Avoid binding
2394 same-window-* variables.
2395
85178ca1
JL
23962012-11-04 Juri Linkov <juri@jurta.org>
2397
2398 * isearch.el (isearch-help-for-help, isearch-describe-bindings)
2399 (isearch-describe-key, isearch-describe-mode): Use a display
2400 action instead of binding same-window-* variables (Bug#10040).
2401
5c677d44
GM
24022012-11-03 Glenn Morris <rgm@gnu.org>
2403
49138400
GM
2404 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
2405 Rename handler properties back from cl-- to cl-. (Bug#12788)
2406
5c677d44
GM
2407 * emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string.
2408
1d4341f9
EZ
24092012-11-03 Eli Zaretskii <eliz@gnu.org>
2410
2411 * term/pc-win.el: Don't load term/internal from here.
2412
2413 * loadup.el: Load term/internal from here.
2414
12fd5ee1
FEG
24152012-11-03 Fabián Ezequiel Gallina <fgallina@cuca>
2416
2417 * progmodes/python.el (inferior-python-mode): Fix hang in
2418 jit-lock (Bug#12645).
2419
43bcfda6
MR
24202012-11-03 Martin Rudalics <rudalics@gmx.at>
2421
2422 * window.el (switch-to-visible-buffer)
2423 (switch-to-buffer-preserve-window-point): Fix doc-strings.
2424
376a8e83
GM
24252012-11-03 Glenn Morris <rgm@gnu.org>
2426
2427 * emacs-lisp/cl-lib.el (cl--random-time):
2428 Rename from cl-random-time. (Bug#12773)
2429 (cl--gensym-counter, cl--random-state): Update callers.
2430 * emacs-lisp/cl-extra.el (cl-make-random-state): Update callers.
2431
0f7b074f
CY
24322012-11-03 Chong Yidong <cyd@gnu.org>
2433
2434 * cus-start.el: Make cursor-type customizable (Bug#11633).
2435
3a6851d9
GM
24362012-11-02 Glenn Morris <rgm@gnu.org>
2437
00a3b041
GM
2438 * filecache.el: No need to load find-lisp when compiling.
2439 (find-lisp-find-files): Autoload it.
2440 (file-cache-add-directory-recursively): Don't require find-lisp.
2441
11fef14a
GM
2442 * image.el (image-type-from-file-name): Trivial simplification.
2443
3a6851d9
GM
2444 * emacs-lisp/bytecomp.el (byte-compile-eval):
2445 Decouple "noruntime" and "cl-functions" warnings.
2446
b4b096e4
SB
24472012-11-01 Stephen Berman <stephen.berman@gmx.net>
2448
2449 * play/gomoku.el (gomoku-display-statistics): Update mode line
2450 only if in Gomoku buffer; don't capitalize "won" (Bug#12771).
2451
218e997a
MR
24522012-10-31 Martin Rudalics <rudalics@gmx.at>
2453
2454 * window.el (quit-restore-window): If the window has been
2455 created on an existing frame and ended up as the sole window on
2456 that frame, do not delete it (Bug#12764).
2457
b08b6da7
SM
24582012-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
2459
3618df45
SM
2460 * progmodes/sh-script.el (sh--inside-noncommand-expression):
2461 Rename from sh--inside-arithmetic-expression, handle more cases
2462 (bug#11263).
2463
b08b6da7
SM
2464 * progmodes/sh-script.el (sh--inside-arithmetic-expression): New func.
2465 (sh-font-lock-open-heredoc): Use it (bug#12770).
2466
4ddedf94
GM
24672012-10-30 Glenn Morris <rgm@gnu.org>
2468
f43a5263
GM
2469 * emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie. Doc fix.
2470
4ddedf94
GM
2471 * emacs-lisp/cl.el (letf): Doc fix. (Bug#12760)
2472
748b0d84
CY
24732012-10-29 Chong Yidong <cyd@gnu.org>
2474
b5dd9a77
CY
2475 * isearch.el (isearch-other-meta-char): Ensure that a reprocessed
2476 function key is stored in a keyboard macro (Bug#4894).
2477
748b0d84
CY
2478 * thingatpt.el (number-at-point): Apply a thing-at-point property.
2479
e07fcbdc
SM
24802012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
2481
d7f9cc85
SM
2482 * vc/diff-mode.el (diff-context->unified): Don't get confused by "hunk
2483 header comments".
2484 (diff-unified->context, diff-context->unified)
2485 (diff-reverse-direction, diff-fixup-modifs): Use `use-region-p'.
2486
c606253c
SM
2487 * emacs-lisp/cl.el (letf): Add missing indent rules (bug#12759).
2488
e07fcbdc
SM
2489 * files.el (find-alternate-file): Only ask one question (bug#12487).
2490
894b9dd9
CY
24912012-10-29 Chong Yidong <cyd@gnu.org>
2492
1dc2755a
CY
2493 * vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
2494 Suggested by Dan Nicolaescu (Bug#6326).
2495
329c48d8
CY
2496 * info.el (Info-complete-menu-item): Avoid duplicates (Bug#12705).
2497
2230fa5b 2498 * startup.el (fancy-about-screen): Don't message (Bug#12680).
5c2f2631 2499
e84cad57
CY
2500 * thingatpt.el (thing-at-point): Doc fix (Bug#12691).
2501
1913c5f5
CY
2502 * imenu.el (imenu): Inhibit push-mark message (Bug#12726).
2503
894b9dd9
CY
2504 * face-remap.el (face-remap-add-relative): Handle the case where a
2505 face-remapping-alist entry is a cons cell (Bug#12762).
2506
329c48d8
CY
25072012-10-29 Kevin Ryde <user42@zip.com.au>
2508
2509 * woman.el (woman-parse-numeric-value): Handle picas correctly
2510 (Bug#12639).
2511
a0ccbcbd
GM
25122012-10-29 Glenn Morris <rgm@gnu.org>
2513
2514 * emacs-lisp/cl.el (defsetf): Doc fix.
2515
b3871e59
SM
25162012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
2517
2518 * progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation
2519 syntax to the matching opener, if any (bug#12547).
2520 (sh-smie-sh-forward-token, sh-smie-sh-backward-token): Recognize this
2521 matching open as a "case-(".
2522 (sh-smie-rc-grammar): Add a corresponding rule for it.
2523
cd44022c
DH
25242012-10-28 Daniel Hackney <dan@haxney.org>
2525
2526 * emacs-lisp/package.el (package-generate-autoloads): Kill buffer
2527 "PKGNAME-autoloads.el" in case we created it.
2528
70edffb1
SM
25292012-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
2530
86957a0c
SM
2531 * minibuffer.el (completion--sifn-requote): Rewrite to handle things
2532 like Tramp's "/foo:~bar//baz" -> "/scpc:foo:/baz" mapping (bug#11714).
b9383404 2533 (completion--twq-all): Disable too-strict assertions.
86957a0c 2534
70edffb1
SM
2535 * tmm.el (tmm-prompt): Use map-keymap (bug#12744).
2536
d069271c
EZ
25372012-10-27 Eli Zaretskii <eliz@gnu.org>
2538
2539 * profiler.el (profiler-report-make-entry-part): Fix help-echo
2540 text to match the real keybindings.
2541
e2f022a3
JL
25422012-10-27 Juri Linkov <juri@jurta.org>
2543
2544 * wdired.el (wdired-keep-marker-rename): New defcustom.
2545 (wdired-do-renames): Use it instead of `dired-keep-marker-rename'.
2546 (Bug#11795)
2547
2548 * dired.el (dired-keep-marker-rename): Add reference to
2549 `wdired-keep-marker-rename' in the docstring.
2550 Add default character value ?R to display initially in
2551 Customization UI instead of ?@.
2552
df171c23
MR
25532012-10-27 Martin Rudalics <rudalics@gmx.at>
2554
2555 * window.el (display-buffer): In doc-string describe
2556 window-height and window-width alist entries.
2557
2558 * time.el (display-time-world): Restore fit-window-to-buffer
2559 behavior.
2560
05b621a6
CY
25612012-10-27 Chong Yidong <cyd@gnu.org>
2562
2563 * subr.el (insert-buffer-substring-as-yank): Doc fix.
2564
55f197b2
J
25652012-10-26 Jambunathan K <kjambunathan@gmail.com>
2566
2567 * minibuffer.el (completion-category-overrides): New completion
2568 category `bookmark' (bug#11131).
2569
372212df
SM
25702012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
2571
150f809c
SM
2572 * emacs-lisp/advice.el (ad-assemble-advised-definition):
2573 Silence bogus compiler warnings for ad-do-it.
2574
372212df
SM
2575 * bookmark.el (bookmark-completing-read): Set the completion category
2576 to `bookmark' (bug#11131).
2577
c5772569
B
25782012-10-26 Bastien <bzg@altern.org>
2579 Stefan Monnier <monnier@iro.umontreal.ca>
2580
2581 * face-remap.el: Use lexical-binding.
2582 (text-scale-adjust): Improve docstring. Use itself for the temporary
2583 overlay-map bindings, so as to repeat the "Use..." message each time.
2584
a2be0357
SM
25852012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
2586
63314e57
SM
2587 * emacs-lisp/macroexp.el (macroexp--expand-all):
2588 Obey byte-compile-warning-enabled-p (bug#12486).
2589
a2be0357
SM
2590 * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
2591 (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).
2592
8c7727c3
MR
25932012-10-26 Martin Rudalics <rudalics@gmx.at>
2594
2595 * mouse.el (mouse-drag-line): Move last form into preceding when
2596 clause (Bug#12731).
2597
2598 * help.el (resize-temp-buffer-window): Fix doc-string.
2599
3f2a848d
DE
26002012-10-25 David Engster <deng@randomsample.de>
2601
2602 * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
a2be0357 2603 Remove. This feature is already integrated in imenu.
3f2a848d
DE
2604
2605 * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
2606 always loaded. Require `speedbar' unconditionally.
2607
a7723be6
SM
26082012-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
2609
aaabfc8b
SM
2610 * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
2611
414a8595
SM
2612 * minibuffer.el (minibuffer-force-complete): Fix thinko.
2613
fb5b9475
SM
2614 * net/ldap.el (ldap-search-internal): The official ldif format starts
2615 with a "version: 1" header (bug#12724).
2616
a7723be6
SM
2617 * emacs-lisp/package.el (package-installed-p): Warn if not ready
2618 (bug#12721).
2619
a05cb6e3
GM
26202012-10-25 Glenn Morris <rgm@gnu.org>
2621
2622 * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
2623
3c92de70
SM
26242012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
2625
2626 * minibuffer.el (minibuffer-force-complete): Use one more marker
2627 for the temporary-overlay-map command (bug#12619).
2628
a4b6d7c6
CY
26292012-10-24 Chong Yidong <cyd@gnu.org>
2630
2631 * time.el (display-time-world-mode): Derive from special-mode.
2632 (display-time-world): Use display-buffer (Bug#12708).
2633 (display-time-world-mode-map): Variable deleted.
9321d8d7
CY
2634 (display-time-world-display): Wrap the final delete-char inside
2635 inhibit-read-only.
a4b6d7c6 2636
75e8f9d2
CY
26372012-10-24 Chong Yidong <cyd@gnu.org>
2638
cd996018
CY
2639 * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
2640 Doc fix.
2641
75e8f9d2
CY
2642 * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
2643
d92df117
SM
26442012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
2645
2646 * minibuffer.el (completion--all-sorted-completions-location): New var.
2647 (completion--cache-all-sorted-completions)
2648 (completion--flush-all-sorted-completions): Use it.
2649 (completion-in-region, completion-in-region--postch)
2650 (completion-at-point, completion-help-at-point): Use markers in
2651 completion-in-region--data (bug#12619).
2652
9c3e39f3
SM
26532012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
2654
c79825bd
SM
2655 * progmodes/compile.el (compilation-start): Try to handle common
2656 quoting of `cd' argument (bug#12640).
2657
9c3e39f3
SM
2658 * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
2659 (bug#12671).
2660
a6709bc7
GM
26612012-10-23 Glenn Morris <rgm@gnu.org>
2662
2663 * progmodes/gud.el (gud-menu-map):
2664 Check gdb-active-process is bound. (Bug#12358)
2665
d1069532
SM
26662012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
2667
d20d69c0
SM
2668 * repeat.el (repeat): Set real-this-command (bug#12232).
2669
d1069532
SM
2670 * htmlfontify.el (hfy-post-html-hook):
2671 * filesets.el (filesets-cache-fill-content-hook):
2672 * arc-mode.el (archive-extract-hook):
2673 * progmodes/cc-mode.el (c-prepare-bug-report-hook):
2674 * net/rcirc.el (rcirc-sentinel-functions)
2675 (rcirc-receive-message-functions, rcirc-activity-functions)
2676 (rcirc-print-functions):
2677 * net/dbus.el (dbus-event-error-functions):
2678 * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
2679 * emacs-lisp/checkdoc.el (checkdoc-style-functions)
2680 (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
2681 * term/sun.el (sun-raw-prefix-hooks):
2682 * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
2683
f7eac6d8
MA
26842012-10-23 Michael Albinus <michael.albinus@gmx.de>
2685
d1069532
SM
2686 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
2687 Set `tramp-chunksize' to 1. This improves the performance.
f7eac6d8
MA
2688 (tramp-smb-wait-for-output): Add timeout to
2689 `tramp-accept-process-output' calls.
2690
608d9d7c
CY
26912012-10-23 Chong Yidong <cyd@gnu.org>
2692
49238e7f
CY
2693 * faces.el (font-list-limit): Define as an obsolete variable.
2694
2695 * startup.el (command-line):
2696 * cus-start.el: Don't refer to font-list-limit.
2697
608d9d7c
CY
2698 * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
2699
4ff5b1b2
SM
27002012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
2701
2702 * subr.el (internal-temp-output-buffer-show): Rename from
2703 temp-output-buffer-show, since previously compiled files expect this name.
2704
ea1d4aac
GM
27052012-10-23 Glenn Morris <rgm@gnu.org>
2706
2707 * image.el (image-type-from-file-name): If multiple types match,
2708 return the first one that is supported. (Bug#9045)
2709
eda82a31
GM
27102012-10-22 Glenn Morris <rgm@gnu.org>
2711
2712 * image.el (imagemagick-enabled-types): Doc fix.
2713
4f020bec
TA
27142012-10-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
2715
2716 * progmodes/which-func.el (which-func-current): The hash-table may have
2717 an explicit nil (bug#12338).
2718
c77d37e2
SM
27192012-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
2720
2721 * electric.el (electric-pair-delete-selection-self-insert-function):
2722 Rename to electric-pair-will-use-region, return a boolean.
2723 (electric-pair-mode): Adjust accordingly. Don't require delsel.
2724
2725 * delsel.el (delete-selection-helper): Use a function instead of a hook.
2726 (delete-selection-pre-hook): Use use-region-p.
2727 (delete-selection-self-insert-function): Remove.
2728 (self-insert-command): Obey self-insert-uses-region-functions.
2729 (self-insert-iso): Revert to previous setting, since we don't actually
2730 know what that command does.
2731 (delete-selection-self-insert-hooks): Remove.
2732
b1d39ccc
SL
27332012-10-22 Simon Law <sfllaw@sfllaw.ca> (tiny change)
2734
2735 * delsel.el (delete-selection-helper): New function, extracted from
2736 delete-selection-pre-hook.
2737 (delete-selection-pre-hook): Use it.
2738 (delete-selection-self-insert-function): New function.
2739 (delete-selection-self-insert-hooks): New hook.
2740 (self-insert-command, self-insert-iso): Use it.
2741 * electric.el (electric-pair-syntax): New function, extracted from
2742 electric-pair-post-self-insert-function.
2743 (electric-pair-post-self-insert-function): Use it.
2744 (electric-pair-delete-selection-self-insert-function): New function.
2745 (electric-pair-mode): Require delsel and setup
2746 delete-selection-self-insert-hooks (bug#11520).
2747
045ef729
CY
27482012-10-20 Chong Yidong <cyd@gnu.org>
2749
4c5d08a8
CY
2750 * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
2751 no changes to show (Bug#12586).
2752
045ef729
CY
2753 * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
2754 list explicitly (Bug#12571).
2755
3503c798 27562012-10-20 Arne Jørgensen <arne@arnested.dk>
79e1997a 2757
b1d39ccc
SL
2758 * progmodes/flymake.el (flymake-create-temp-inplace):
2759 Use file-truename.
79e1997a 2760
2068905b
EZ
27612012-10-20 Eli Zaretskii <eliz@gnu.org>
2762
2763 * loadup.el: Update comment about uncompiled Lisp files. (Bug#12395)
2764
4c9e9550
JB
27652012-10-20 Jay Belanger <jay.p.belanger@gmail.com>
2766
2767 * calc/calc-units.el (math-extract-units): Properly extract powers
2768 of units.
2769
1a6e7e38
DC
27702012-10-20 Daniel Colascione <dancol@dancol.org>
2771
2772 * frame.el (make-frame): Set x-display-name as we used to in order
2773 to unbreak creating an X11 frame from an Emacs daemon started
2774 without a display.
2775
8e808318
SM
27762012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
2777
2778 * minibuffer.el (minibuffer-force-complete): Make the next completion use
f5925cd9 2779 the same completion-field (bug#12221).
8e808318 2780
fb0104da
MR
27812012-10-19 Martin Rudalics <rudalics@gmx.at>
2782
2783 * emacs-lisp/debug.el (debug): Record height of debugger window
2784 also when debugger will be back (Bug#8789).
2785
8c27235e
CY
27862012-10-18 Chong Yidong <cyd@gnu.org>
2787
2788 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
2789 Convert to defcustom.
2790 (gdb-get-source-file): Don't bind pop-up-windows.
2791
2792 * progmodes/gud.el (gud-display-line): Don't specially re-use
2793 other frames for the gdb-mi case (Bug#12648).
2794
90eacf99
SM
27952012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
2796
aaf0c300
SM
2797 * emacs-lisp/advice.el: Clean up commentary a bit.
2798 (ad-do-advised-functions, ad-with-originals): Use `declare'.
2799 (byte-code-function-p): Never redefine.
2800
90eacf99
SM
2801 * emacs-lisp/gv.el (cond): Same fix as before for `if'.
2802
281c9d2b
GM
28032012-10-18 Glenn Morris <rgm@gnu.org>
2804
40714e3d
GM
2805 * dired.el (dired-sort-toggle): Some ls implementations only allow
2806 a single option string. (Bug#12666)
2807
281c9d2b
GM
2808 * minibuffer.el (completion-cycle-threshold): Doc fix.
2809
b278604e
KH
28102012-10-17 Kenichi Handa <handa@gnu.org>
2811
90eacf99
SM
2812 * international/mule.el (set-keyboard-coding-system):
2813 Recover input meta mode when the new coding system doesn not use 8-bit.
b278604e
KH
2814 Supply TERMINAL arg to set-input-meta-mode.
2815
df171c23 28162012-10-17 Michael Heerdegen <michael_heerdegen@web.de>
7ebc5f5a
MH
2817
2818 * wdired.el (wdired-old-marks): New variable.
2819 (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
2820 (wdired-do-renames): Move point with renamed file and don't lose
2821 mark status (Bug#11795).
2822
e5a94ec4
JL
28232012-10-16 Juri Linkov <juri@jurta.org>
2824
2825 * replace.el (query-replace-help): Mention multi-buffer replacement
2826 keys in the Help message. (Bug#12655)
2827
d18a0d24
CY
28282012-10-15 Chong Yidong <cyd@gnu.org>
2829
2830 * emacs-lisp/byte-run.el (defsubst): Doc fix.
2831
8111f5e6
EZ
28322012-10-14 Eli Zaretskii <eliz@gnu.org>
2833
7b9abf24
EZ
2834 * window.el (display-buffer): Doc fix.
2835
8111f5e6
EZ
2836 * progmodes/compile.el (compilation-error-regexp-alist-alist):
2837 Adjust the msft regexp to the output of Studio 2010, and move msft
2838 before edg-1. See the discussion on emacs-devel,
2839 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
2840 for the details.
2841
5046ef67
SM
28422012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
2843
9760c73c
SM
2844 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
2845 (oset): Move uses of object-class-fast macro after its definition.
2846
5046ef67
SM
2847 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
2848
0d11ff1c
CY
28492012-10-13 Chong Yidong <cyd@gnu.org>
2850
2851 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
2852 enabled, re-enable it (Bug#11963).
2853
88ded8ac
MR
28542012-10-13 Martin Rudalics <rudalics@gmx.at>
2855
2856 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
2857 non-nil, restore window configuration (Bug#12623).
2858
bd0ffffd
SM
28592012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
2860
06485aa8
SM
2861 * help-fns.el (describe-variable, describe-function-1):
2862 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
2863
bd0ffffd
SM
2864 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
2865
3a989246
GM
28662012-10-12 Glenn Morris <rgm@gnu.org>
2867
2868 * mail/rmailsum.el (rmail-header-summary):
2869 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
2870
55cd00c8
FEG
28712012-10-12 Fabián Ezequiel Gallina <fgallina@cuca>
2872
bd0ffffd
SM
2873 * progmodes/python.el (python-mode-map):
2874 Replace subtitute-key-definition with proper command remapping.
55cd00c8
FEG
2875 (python-nav--up-list): Fix behavior for blocks on the same level.
2876
ac9fc2c7
SM
28772012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
2878
d8cc4c00 2879 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
d8cc4c00 2880
5253a5fd
SM
2881 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
2882 changes to the format of load-history.
2883
ac9fc2c7
SM
2884 * international/mule-cmds.el (read-char-by-name): Move let-binding of
2885 completion-ignore-case in case that var is buffer-local (bug#12615).
2886
cde44a77
KH
28872012-10-11 Kenichi Handa <handa@gnu.org>
2888
2889 * international/eucjp-ms.el: Re-generated.
2890
4ef4a10d
KH
28912012-10-10 Kenichi Handa <handa@gnu.org>
2892
2893 * select.el (xselect--encode-string): If a coding is specified for
2894 selection, and that is compatible with COMPOUND_TEXT, use it.
2895
9d7f027b
MR
28962012-10-10 Martin Rudalics <rudalics@gmx.at>
2897
2898 * window.el (switch-to-buffer-preserve-window-point): New option.
ac9fc2c7
SM
2899 (switch-to-buffer):
2900 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
9d7f027b 2901
238f3a58
SM
29022012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
2903
2904 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
2905 Don't document nil as a useful value (bug#12583).
2906
1d51f99c
MA
29072012-10-09 Michael Albinus <michael.albinus@gmx.de>
2908
238f3a58
SM
2909 * net/tramp.el (tramp-debug-message):
2910 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
1d51f99c
MA
2911 (with-tramp-progress-reporter): Rename from
2912 `tramp-with-progress-reporter'.
238f3a58
SM
2913 (with-tramp-file-property, with-tramp-connection-property):
2914 Move from tramp-cache.el, rename from `with-file-property' and
1d51f99c
MA
2915 `with-connection-property', respectively.
2916
2917 * net/tramp-cache.el: Remove `with-file-property' and
2918 `with-connection-property'.
2919
2920 * net/tramp.el:
2921 * net/tramp-gvfs.el:
2922 * net/tramp-sh.el:
2923 * net/tramp-smb.el: Adapt callees.
2924
2925 * net/trampver.el: Update release number.
2926
26b77251
GM
29272012-10-09 Glenn Morris <rgm@gnu.org>
2928
9a5f296f
GM
2929 * w32-fns.el (set-message-beep):
2930 * term/w32-win.el (set-message-beep): Update declarations.
2931
94c66ce5
SM
29322012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
2933
10766e9e
SM
2934 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
2935 (mode-line-widen, mode-line-input-method-map)
2936 (mode-line-coding-system-map, mode-line-remote)
2937 (mode-line-unbury-buffer, mode-line-bury-buffer)
2938 (mode-line-next-buffer, mode-line-previous-buffer):
2939 Replace save-selected-window+select-window => with-selected-window.
2940
f754db08
SM
2941 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
2942 * progmodes/cc-vars.el (bq-process): Remove, unused.
2943
94c66ce5
SM
2944 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
2945
a4ff7fe1
FEG
29462012-10-09 Fabián Ezequiel Gallina <fgallina@cuca>
2947
2948 Implemented `backward-up-list'-like navigation.
2949 * progmodes/python.el (python-nav-up-list)
2950 (python-nav-backward-up-list): New functions.
2951 (python-mode-map): Define substitute key for backward-up-list to
2952 python-nav-backward-up-list.
2953
24517d82
FEG
29542012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
2955
2956 * progmodes/python.el (python-fill-paragraph): Rename from
2957 python-fill-paragraph-function. Fixed fill-paragraph for
2958 decorators (Bug#12605).
2959
51867ae2
FEG
29602012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
2961
2962 * progmodes/python.el (python-shell-output-filter): Handle extra
2963 carriage return in OSX (Bug#12409).
2964
a5b773c4
FEG
29652012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
2966
2967 Fix shell handling of unbalanced quotes and parens in output.
94c66ce5 2968 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
a5b773c4
FEG
2969 (python-syntax-propertize-function): Use it.
2970 (python-shell-output-syntax-table): New var.
2971 (inferior-python-mode): Prevent unbalanced parens/quotes from
2972 previous output mess with current input context.
2973
13373538
JB
29742012-10-08 Juanma Barranquero <lekktu@gmail.com>
2975
2976 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
2977 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
2978
775a132d
MA
29792012-10-08 Michael Albinus <michael.albinus@gmx.de>
2980
2981 * ffap.el (ffap-replace-file-component): Support Tramp file name
2982 syntax, not only ange-ftp's one.
2983
3ab44929
GM
29842012-10-08 Glenn Morris <rgm@gnu.org>
2985
57f1dee4
GM
2986 * cus-start.el (message-log-max): Set :version.
2987
3ab44929
GM
2988 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
2989
6a088630
MR
29902012-10-08 Martin Rudalics <rudalics@gmx.at>
2991
2992 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
2993 the minibuffer window (Bug#10851).
2994
8dbce54c
FEG
29952012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
2996
2997 Enhancements on forward-sexp movement.
2998 * progmodes/python.el (python-nav-beginning-of-statement)
2999 (python-nav-end-of-statement): Return point-marker.
3000 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
3001 (python-info-current-symbol)
3002 (python-info-statement-starts-block-p): Rename from
3003 python-info-beginning-of-block-p.
3004 (python-info-statement-ends-block-p): Rename from
3005 python-info-end-of-block-p.
3006 (python-info-beginning-of-statement-p)
3007 (python-info-end-of-statement-p)
3008 (python-info-beginning-of-block-p, python-info-end-of-block-p):
3009 New functions.
3010
5acd2b3e
SM
30112012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
3012
3013 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
3014 frame-selected-windows.
3015
e08348a0
DC
30162012-10-08 Daniel Colascione <dancol@dancol.org>
3017
3018 * battery.el (battery-status-function): Check for
3019 w32-battery-status itself, not system-time windows-nt.
3020
3021 * frame.el: Require cl-lib.
3022 (display-format-alist): New variable mapping frame types to
3023 functions that initialize them.
3024 (window-system-for-display): New function: interprets
3025 display-format-alist.
3026 (make-frame-on-display): Remove existing display-selection logic
3027 and just forward to make-frame, which will now DTRT.
3028 (make-frame): Restructure to use window-system-for-display to
3029 figure out how to create a frame on a given display.
3030 (display-mouse-p): Look for frame-type w32, not a particular
3031 system-type.
3032
3033 * loadup.el: Load w32 lisp code when we have the w32 feature.
3034
3035 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
3036 system-type windows-nt.
3037
3038 * server.el (server-create-window-system-frame): Look for window
3039 type.
3040 (server-proces-filter): Only force a window system when windows-nt
3041 _and_ w32. Explain why.
3042
3043 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
3044 of window systems we configure for the mode.
3045
3046 * startup.el (command-line): Mark window system is initialized
3047 after we've done it.
3048
3049 * common-win.el (x-select-text): Look for w32, not windows-nt.
3050
3051 * ns-win.el: Require cl-lib. Add ourselves to
3052 display-format-alist.
3053 (ns-initialize-window-system): Assert we're not initialized twice.
3054
3055 * w32-win.el: Enable lexical binding; require cl-lib; add
3056 ourselves to display-format-alist.
3057 (w32-handle-dropped-file): Convert incoming dropped files from
3058 Windows paths to Cygwin ones before passing them on to the rest of
3059 Emacs.
3060 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
3061 (w32-initialize-window-system): Assert we're not initialized twice.
3062
3063 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
3064 (x-initialize-window-system): Assert we're not initialized twice.
3065
3066 * w32-common-fns.el: New File.
3067 (w32-version, w32-using-nt, w32-get-clipboard-data)
3068 (w32-set-clipboard-data, x-set-selection, x-get-selection)
3069 (w32-charset-info-alist, x-last-selected, text)
3070 (x-get-selection-value, x-selection-value): Move here.
3071
3072 * w32-fns.el: Require w32-common-fns.
3073 (w32-version, w32-using-nt, w32-get-clipboard-data)
3074 (w32-set-clipboard-data, x-set-selection, x-get-selection)
3075 (w32-charset-info-alist, x-last-selected, text)
3076 (x-get-selection-value, x-selection-value): Move to
3077 w32-common-fns.
3078
3079 * w32-vars.el:
3080 (w32-allow-system-shell, w32-system-shells): Define only in
3081 non-cygwin case.
3082
795b1482
SM
30832012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
3084
3085 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
3086 (read-passwd): Remove a few more potential sources of leaks.
3087
f27c99dc
FEG
30882012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
3089
3090 * progmodes/python.el (inferior-python-mode)
795b1482 3091 (python-shell-make-comint): Fix initialization of local
f27c99dc
FEG
3092 variables copied from parent buffer.
3093
fcacb558
JD
30942012-10-07 Jan Djärv <jan.h.d@swipnet.se>
3095
3096 * term/ns-win.el (ns-read-file-name): Update declaration to match
3097 nsfns.m.
3098 (ns-respond-to-change-font): Change fontsize separatly so we are sure
3099 it is set when font is acted upon.
3100
be0d5bae
FEG
31012012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
3102
3103 Enhancements to indentation.
3104 * progmodes/python.el (python-indent-context): Give priority to
3105 inside-string context. Make comments indentation markers.
3106 (python-indent-region): Do not mess with strings, unless it's the
3107 enclosing set of quotes.
3108
13af0d10
SM
31092012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
3110
662a9d0e
SM
3111 * window.el (internal--before-save-selected-window)
3112 (internal--after-save-selected-window): New functions extracted from
3113 save-selected-window. Make sure we return the `alist' we construct.
3114 (save-selected-window): Use them.
3115
3116 * textmodes/tex-mode.el (tex-recenter-output-buffer):
3117 Use with-selected-window.
3118
13af0d10
SM
3119 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
3120 forms that define macros (bug#12593).
3121
6aa75fb6
KH
31222012-10-07 Kenichi Handa <handa@gnu.org>
3123
13af0d10
SM
3124 * international/mule-conf.el (compound-text-with-extensions):
3125 Add :mime-charset property as x-ctext.
6aa75fb6 3126
78d876b9
SM
31272012-10-07 Stefan Merten <smerten@oekonux.de>
3128
3129 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
3130 (rst-indent-literal-normal, rst-indent-literal-minimized)
3131 (rst-indent-comment): Correct :version tag.
557337e9 3132 (rst-official-cvs-rev): Correct version string.
78d876b9 3133
99a1e701
GM
31342012-10-07 Glenn Morris <rgm@gnu.org>
3135
3136 * mail/rmailmm.el (rmail-mime-process-multipart):
3137 Do not confuse a multipart message with an epilogue
3138 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
3139
08f18c3d
FEG
31402012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
3141
3142 Fix shell output retrieval and comint-prompt-regexp init.
3143 * progmodes/python.el (inferior-python-mode):
3144 (python-shell-make-comint): Fix initialization of
3145 comint-prompt-regexp from copied file local variables.
3146 (python-shell-fetched-lines): Remove var.
3147 (python-shell-output-filter-in-progress): Rename from
3148 python-shell-fetch-lines-in-progress.
3149 (python-shell-output-filter-buffer): Rename from
3150 python-shell-fetch-lines-string.
3151 (python-shell-fetch-lines-filter): Delete function.
3152 (python-shell-output-filter): New function.
3153 (python-shell-send-string-no-output): Use them.
3154
82ed3ab4
GM
31552012-10-07 Glenn Morris <rgm@gnu.org>
3156
1595ecfa
GM
3157 * hi-lock.el (hi-lock-process-phrase):
3158 Try to make it less fragile. (Bug#7161)
3159
82ed3ab4
GM
3160 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
3161
f1f4dba0
GM
31622012-10-06 Glenn Morris <rgm@gnu.org>
3163
addc11ed 3164 * ehelp.el (electric-help-mode): Use help-mode rather than
32939005
GM
3165 non-existent mode `help'.
3166 (electric-help-map): Use button-buffer-map. (Bug#10917)
addc11ed 3167
460042b8
GM
3168 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
3169 (reftex-create-bibtex-footer): Fix custom types.
3170
67667c70
GM
3171 * progmodes/sh-script.el (sh-indent-after-continuation):
3172 Add explicit :group.
3173
18dec750
GM
3174 * textmodes/rst.el (rst-preferred-decorations)
3175 (rst-shift-basic-offset): Clarify obsolescence versions.
3176
d1a1c7e6
GM
3177 * profiler.el (profiler): Add missing group :version tag.
3178 * avoid.el (mouse-avoidance-banish-position):
3179 * proced.el (proced-renice-command):
3180 * calc/calc.el (calc-ensure-consistent-units):
3181 * calendar/icalendar.el (icalendar-import-format-uid):
3182 * net/tramp.el (tramp-save-ad-hoc-proxies):
3183 * progmodes/bug-reference.el (bug-reference-bug-regexp):
3184 * progmodes/flymake.el (flymake-error-bitmap)
3185 (flymake-warning-bitmap, flymake-fringe-indicator-position):
3186 * progmodes/sh-script.el (sh-indent-after-continuation):
3187 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
3188 (verilog-before-save-font-hook, verilog-after-save-font-hook):
3189 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
3190 (vhdl-array-index-record-field-in-sensitivity-list)
3191 (vhdl-indent-comment-like-next-code-line):
3192 * textmodes/reftex-vars.el (reftex-ref-style-alist)
3193 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
3194 (reftex-cite-key-separator, reftex-create-bibtex-header)
3195 (reftex-create-bibtex-footer):
3196 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
3197 (rst-indent-literal-normal, rst-indent-literal-minimized)
3198 (rst-indent-comment): Add missing custom :version tags.
3199
ef35abb4
GM
3200 * calendar/timeclock.el (timeclock-modeline-display):
3201 Add missing obsolete alias for renamed user option.
3202
d1aae614
GM
3203 * strokes.el (strokes-modeline-string):
3204 * emulation/crisp.el (crisp-mode-modeline-string):
3205 * eshell/esh-mode.el (eshell-status-in-modeline):
3206 Aliases to defcustoms must come before the defcustom.
3207
f1f4dba0
GM
3208 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
3209 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
3210 (cal-tex-cursor-week-monday): Doc fixes.
3211 (cal-tex-cursor-week2-summary): Doc fix.
3212 Rename from cal-tex-cursor-week-at-a-glance.
3213
3214 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
3215 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
3216
3217 * calendar/calendar.el (calendar-mode-map):
3218 Add cal-tex-cursor-week2-summary.
3219
d39109c3
SM
32202012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
3221
685f87b0
SM
3222 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
3223
d39109c3
SM
3224 * subr.el (read-passwd-map): New var.
3225 (read-passwd): Use `read-string' again.
3226 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
3227
5694896d
J
32282012-10-06 Jambunathan K <kjambunathan@gmail.com>
3229
3230 * register.el (append-to-register, prepend-to-register):
3231 Deactivate mark, as does `copy-to-register' (bug#12389).
3232
9414dd8d
CY
32332012-10-06 Chong Yidong <cyd@gnu.org>
3234
3235 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
3236
2b89bca4
KH
32372012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
3238
3239 * international/characters.el: Fix simple mistake ((car chars) ->
3240 elt), delete duplicated code.
3241
d5acb99a
GM
32422012-10-06 Glenn Morris <rgm@gnu.org>
3243
3244 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
3245
123ec157
JS
32462012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
3247
3248 * color.el (color-hsl-to-rgb): Fix incorrect results for
3249 small and large hue values. (Bug#12559)
3250
7fa36ccb
FEG
32512012-10-05 Fabián Ezequiel Gallina <fgallina@cuca>
3252
3253 Enhancements to docstring formatting when filling paragraphs.
3254 * progmodes/python.el (python-fill-docstring-style): Rename from
3255 python-fill-string-style. Added new style.
3256 (python-fill-string): Use new style. Better checks for
3257 docstrings.
3258
d8788e1e
GM
32592012-10-05 Glenn Morris <rgm@gnu.org>
3260
204f3953
GM
3261 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
3262
d8788e1e
GM
3263 * color.el (color-name-to-rgb, color-rgb-to-hex)
3264 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
3265 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
3266 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
3267 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
3268
8d956cef
GM
3269 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
3270
e8757f09 32712012-10-05 Juanma Barranquero <lekktu@gmail.com>
ea9a3563
JB
3272
3273 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
3274 to get the correct size across symlinks.
3275
e8757f09
GM
3276 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
3277
0e2ae83d
JL
32782012-10-04 Juri Linkov <juri@jurta.org>
3279
3280 * replace.el (query-replace-interactive): Declare obsolete.
3281 (query-replace-read-from): Add the last incremental search string
3282 to the list of default values accessible via M-n.
3283 (map-query-replace-regexp): Use `read-regexp'.
3284 (query-replace, query-replace-regexp, query-replace-regexp-eval)
3285 (map-query-replace-regexp, replace-string, replace-regexp):
3286 Fix docstrings to replace mentions of `query-replace-interactive'
3287 with alternatives. (Bug#12526)
3288
93cacb6d
JL
32892012-10-04 Juri Linkov <juri@jurta.org>
3290
3291 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
3292 (dired-pop-to-buffer): Declare obsolete.
3293 (dired-mark-pop-up): Doc fix.
3294
fc345011
FEG
32952012-10-04 Fabián Ezequiel Gallina <fgallina@cuca>
3296
3297 Allow user to set docstring style for fill-paragraph.
3298 * progmodes/python.el
3299 (python-fill-comment-function, python-fill-string-function)
3300 (python-fill-decorator-function, python-fill-paren-function):
3301 Remove :safe for defcustoms.
3302 (python-fill-string-style): New defcustom
5694896d 3303 (python-fill-paragraph-function): Enhance context detection.
fc345011
FEG
3304 (python-fill-string): Honor python-fill-string-style settings.
3305
6bab5d8b
MR
33062012-10-04 Martin Rudalics <rudalics@gmx.at>
3307
3308 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
3309 after setting its buffer (Bug#10805).
3310
a1a9f411
FEG
33112012-10-03 Fabián Ezequiel Gallina <fgallina@cuca>
3312
3313 Fix cornercase for string syntax.
3314 * progmodes/python.el (python-syntax-propertize-function):
3315 Simplify and enhance the regexp for unescaped quotes. Now it also
3316 matches quotes in weird situations like the single quote in
3317 "something\"'".
3318 (python-syntax-stringify): Simplify num-quotes detecting code.
3319
05e153a6
GM
33202012-10-03 Glenn Morris <rgm@gnu.org>
3321
3322 * help-macro.el (three-step-help):
3323 Revert 2012-09-29 change. (Bug#12567)
3324
2e566ecb
MR
33252012-10-03 Martin Rudalics <rudalics@gmx.at>
3326
96ef9ccd
MR
3327 * menu-bar.el (kill-this-buffer): Don't do anything when
3328 `menu-frame' is not alive or visible (Bug#8184).
3329
2e566ecb
MR
3330 * emacs-lisp/debug.el (debug): When quitting the debugger window
3331 restore current buffer (Bug#12502).
3332
a96e1cb7
CY
33332012-10-02 Chong Yidong <cyd@gnu.org>
3334
5694896d
J
3335 * progmodes/hideif.el (hif-lookup, hif-defined):
3336 Handle semantic-c-takeover-hideif.
a96e1cb7 3337
b3ecad33
PE
33382012-10-02 Paul Eggert <eggert@cs.ucla.edu>
3339
3340 Change sampling interval units from ms to ns.
3341 * profiler.el (profiler-sampling-interval): Change units
3342 from ms to ns, multiplying the default by 1000000 so that
3343 it remains 1 ms.
3344 (profiler-report-cpu-line-format): Give enough room for
3345 the maximum counters on 64-bit hosts.
3346 (profiler-report-render-calltree-1): Call them "CPU samples",
3347 not "Time (ms)", since they are not milliseconds now (and
3348 never really were).
3349
8cb51b66 33502012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
c623f81a 3351
5694896d
J
3352 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
3353 Fix querying BBDB for entries without a last name (Bug#11580).
c623f81a 3354
fd795bf4
CY
33552012-10-02 Chong Yidong <cyd@gnu.org>
3356
3357 * emacs-lisp/eieio.el: Restore Version header.
3358
fe0a74f9
SM
33592012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
3360
6be9197e
SM
3361 * vc/diff-mode.el (diff--auto-refine-data): New var.
3362 (diff-hunk): Use it to delay refinement.
3363 (diff-mode): Remove overlays when we turn off font-lock.
3364
18486139
SM
3365 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
3366 (table-initialize-table-fixed-width-mode)
3367 (table-set-table-fixed-width-mode): Remove functions.
3368 (table-command-list): Move initialization into declaration.
3369 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
3370 (table-with-cache-buffer): Use `declare'.
3371 (table-span-cell): Simplify via CSE.
3372 (table-fixed-width-mode): Use define-minor-mode.
3373 (table-call-interactively, table-funcall, table-apply): Remove.
3374 (table-function): New function, to replace them.
3375
d83ef976
SM
3376 * bookmark.el (bookmark-search-pattern): Remove var.
3377 (bookmark-read-search-input): Remove function.
3378 (bookmark-bmenu-search): Reimplement using a minibuffer.
3379
cd386662
SM
3380 * faces.el (modeline): Remove obsolete face name.
3381
fe0a74f9
SM
3382 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
3383 and give a non-nil default value.
3384 (add-change-log-entry): Simplify accordingly.
3385
9f7b98f8
DG
33862012-10-01 Dmitry Gutov <dgutov@yandex.ru>
3387
3388 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
3389 (vc-git-log-edit-toggle-amend): New function.
3390 (vc-git-log-edit-toggle-signoff): New function.
3391 (vc-git-log-edit-mode): New major mode.
3392 (vc-git-log-edit-mode-map): Keymap for it.
3393 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
3394
3395 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
3396 header names.
3397 (log-edit-toggle-header): New function.
3398 (log-edit-extract-headers): Accept function values in HEADERS alist.
3399
62a81506
CY
34002012-10-01 David Engster <deng@randomsample.de>
3401
3402 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
3403 from symbol property and change message to be more consistent with
3404 Emacs proper.
3405 (eieio-describe-generic): Add filename for each implementation.
3406 Fix indices for generic and normal methods.
3407 (eieio-method-def, eieio-class-def): New buttons.
3408 (eieio-help-find-method-definition)
3409 (eieio-help-find-class-definition): New functions.
3410 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
3411 class, constructor and method definitions.
3412
3413 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
3414 information in symbol property.
3415 (scoped-class): Remove.
3416 (eieio-slot-name-index, call-next-method): Check if it is bound.
3417
34182012-10-01 Leo P. White <lpw25@cam.ac.uk>
3419
3420 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
3421 (eieio-custom-mode): New major mode.
3422 (eieio-customize-object): Use it.
3423
34242012-10-01 Eric Ludlam <zappo@gnu.org>
3425
3426 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
3427 specifying the expected class, and whether subclassing is allowed.
3428 (eieio-persistent-convert-list-to-object):
1f9f395d
JB
3429 (eieio-persistent-validate/fix-slot-value)
3430 (eieio-persistent-slot-type-is-class-p): New functions.
3431 (eieio-named::slot-missing): Doc fix.
62a81506
CY
3432
3433 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
3434 Stop using unused publd variable.
3435
3436 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
3437 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
3438 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
3439 (eieio-speedbar-handle-click): Do not specify a class for the
3440 method. Fixes method invocation order problems with EDE.
3441
375e49d4
SM
34422012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
3443
3444 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
3445 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
3446
16ce6ccd
KF
34472012-10-01 Karl Fogel <kfogel@red-bean.com>
3448
3449 * bookmark.el (bookmark-version-control): Give tags in the
3450 :type choices (Bug#12309), and improve doc string.
e4c4abdd
KF
3451 (bookmark-write-file): Bind `print-circle' to `t' to allow
3452 circular custom bookmark types. (Bug#12503)
16ce6ccd 3453
19e54a4d
PE
34542012-10-01 Paul Eggert <eggert@cs.ucla.edu>
3455
86ec63ba
PE
3456 Revert the FOLLOW-SYMLINKS change for file-attributes.
3457 * files.el (remote-file-name-inhibit-cache, after-find-file):
3458 * time.el (display-time-file-nonempty-p): Undo last change.
3459
19e54a4d
PE
3460 * profiler.el (profiler-sampling-interval): Change default back to 1.
3461 See Stefan Monnier in
3462 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
3463
0478776b
FEG
34642012-10-01 Fabián Ezequiel Gallina <fgallina@cuca>
3465
3466 Shell output catching a la gud-gdb.
3467 * progmodes/python.el (python-shell-fetch-lines-in-progress)
375e49d4
SM
3468 (python-shell-fetch-lines-string, python-shell-fetched-lines):
3469 New Vars.
0478776b
FEG
3470 (python-shell-fetch-lines-filter): New function.
3471 (python-shell-send-string-no-output): Use them.
3472
c22bac2c
TM
34732012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
3474
3475 * profiler.el (profiler-sampling-interval): Rename from
3476 profiler-sample-interval.
3477 (profiler-sampling-interval): Default to 10.
3478 (profiler-find-profile): New command (was profiler-find-log).
3479 (profiler-find-profile-other-window): New command.
3480 (profiler-find-profile-other-frame): New command.
3481 (profiler-profile): Introduce API-level data structure.
3482
e7a2937b
PE
34832012-09-30 Paul Eggert <eggert@cs.ucla.edu>
3484
3485 file-attributes has a new optional arg FOLLOW-SYMLINKS.
3486 * files.el (remote-file-name-inhibit-cache):
3487 * time.el (display-time-file-nonempty-p): Use it.
3488 * files.el (after-find-file): Don't chase links before calling
3489 file-exists-p, as file-exists-p already does the right thing.
3490
4f595e15
RA
34912012-09-30 Ralf Angeli <angeli@caeruleus.net>
3492
3493 Merge from standalone RefTeX repository.
3494
3495 The following ChangeLog entries are shortened versions of the
3496 original ones with file paths adapted. A not so strongly edited
3497 version of the original ChangeLog can be found in the commit log.
3498
3499 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
375e49d4
SM
3500 (reftex-arg-cite): Use `reftex-cite-key-separator'.
3501 Correctly handle new value type returned by `reftex-citation'.
4f595e15
RA
3502
3503 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
375e49d4
SM
3504 that entries with whitespace at various places are found.
3505 Doc fix. Include entries that are cross-referenced from cited entries.
4f595e15
RA
3506 Include @String definitions in the resulting bib file. Add header
3507 and footer defined in `reftex-create-bibtex-header' and
3508 `reftex-create-bibtex-footer'.
3509 (reftex-do-citation): Make it possible again to insert
3510 non-existent entries. Save match data when asking for optional
3511 arguments. Return all keys, not just the first one.
3512 (reftex-all-used-citation-keys): Fix regexp to correctly extract
3513 all citations in the same line.
3514 (reftex-parse-bibtex-entry): Accept additional optional argument
3515 `raw' and keep quotes or braces if it is non-nil. Match fields
3516 containing hyphens besides word constituents.
3517 (reftex-get-string-refs): New function.
3518 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
3519 and ask if it should be reread in case it did.
3520 (reftex-pop-to-bibtex-entry)
3521 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
3522 entries with spaces or tabs in front of arguments.
3523 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
375e49d4
SM
3524 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
3525 Match entries containing numbers and symbol constituents.
3526 (reftex-do-citation, reftex-figure-out-cite-format):
3527 Use `reftex-cite-key-separator'.
4f595e15
RA
3528
3529 * textmodes/reftex-dcr.el: Move provide statement to end of file.
3530 (reftex-mouse-view-crossref): Explain why point is set.
3531
3532 * textmodes/reftex-global.el: Whitespace changes.
3533
3534 * textmodes/reftex-index.el: Move provide statement to end of
3535 file.
3536 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
3537 (reftex-index-visit-phrases-buffer): Set marker when visiting
3538 buffer. This allows for returning from the phrases file to the
3539 file one was just editing instead of the file where the last
3540 phrases was added from.
3541 (reftex-index-phrases-syntax-table): New variable. Give ?\"
3542 punctuation syntax as it usually is not used as string quote in
3543 TeX-related modes and may occur unmatched. The change also
3544 prevents fontification of quoted content.
3545 (reftex-index-phrases-mode): Use it.
3546
375e49d4
SM
3547 * textmodes/reftex-parse.el (reftex-parse-from-file):
3548 Move backward one char if a `\' was matched after a section macro.
4f595e15
RA
3549 (reftex-parse-from-file): Use beginning of match instead of end as
3550 bound.
3551
3552 * textmodes/reftex-ref.el: Adapt creation of
3553 `reftex-<package>-<macro>' functions to new structure of
3554 `reftex-ref-style-alist'.
375e49d4
SM
3555 (reftex-reference): Use `reftex-ref-style-list' function.
3556 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
4f595e15
RA
3557 reference macro if `reftex-ref-macro-prompt' is non-nil.
3558 (reftex-reference): Pass refstyle to `reftex-format-special'.
3559 Determine reference macro by looking at
375e49d4
SM
3560 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
3561 Use only one special format function.
4f595e15
RA
3562 (reftex-varioref-vref, reftex-fancyref-fref)
3563 (reftex-fancyref-Fref): Remove definitions. The functions are now
3564 generated from `reftex-ref-style-alist'.
3565 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
3566 Remove.
3567 (reftex-format-special): New function.
3568
3569 * textmodes/reftex-sel.el
3570 (reftex-select-cycle-ref-style-internal): Adapt to new structure
3571 of `reftex-ref-style-alist'. Remove code for testing macro type.
3572 (reftex-select-toggle-varioref)
3573 (reftex-select-toggle-fancyref): Remove.
3574 (reftex-select-cycle-ref-style-internal)
3575 (reftex-select-cycle-ref-style-forward)
3576 (reftex-select-cycle-ref-style-backward): New functions.
3577 (reftex-select-label-map): Use `v' and `V' for general cycling
3578 through reference styles. Add `p' for switching between number
3579 and page reference types.
3580
375e49d4
SM
3581 * textmodes/reftex-toc.el (reftex-re-enlarge):
3582 Call `enlarge-window' only if there is something to do because in Emacs
4f595e15
RA
3583 the horizontal version throws an error even if the parameter is 0.
3584
3585 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
3586 (reftex-plug-into-AUCTeX): Doc fix.
3587 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
3588 string. Adapt to new name.
3589 (reftex-ref-style-alist): Change structure so that it is not
3590 possible to use multiple different package names within a style.
375e49d4
SM
3591 Remove the symbols for symbols for macro type distinction.
3592 Add characters for macro selection.
4f595e15
RA
3593 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
3594 (reftex-create-bibtex-footer): New variables.
3595 (reftex-format-ref-function): Mention third argument of special
3596 format function.
375e49d4
SM
3597 (reftex-ref-style-alist, reftex-ref-style-default-list):
3598 New variables.
4f595e15
RA
3599 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
3600 to new implementation. Mark as obsolete. Add compatibility code
3601 for honoring the variable values in case they are set.
375e49d4
SM
3602 (reftex-cite-format-builtin, reftex-bibliography-commands):
3603 Add support for ConTeXt.
3604 (reftex-format-ref-function, reftex-format-cite-function):
3605 Fix custom type.
4f595e15
RA
3606 (reftex-cite-key-separator): New variable.
3607
3608 * textmodes/reftex.el (reftex-syntax-table-for-bib)
3609 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
3610 `reftex-syntax-table' because parens have to retain their paren
3611 syntax in order for parsing of BibTeX entries like @book(...) to
3612 work.
3613 (reftex-in-comment): Do not error out if `comment-start-skip' is
3614 not set. Deal correctly with escaped comment characters.
375e49d4
SM
3615 (reftex-tie-multifile-symbols): Add doc string.
3616 Initialize `reftex-ref-style-list'.
4f595e15
RA
3617 (reftex-untie-multifile-symbols): Add doc string.
3618 (reftex-add-index-macros): Doc fix.
3619 (reftex-ref-style-activate, reftex-ref-style-toggle)
3620 (reftex-ref-style-list): New functions.
3621 (reftex-mode-menu): Use them. Adapt to new structure of
3622 `reftex-ref-style-alist'.
3623 (reftex-select-with-char): Kill the RefTeX Select buffer when
3624 done.
3625 (reftex-remove-if): New function.
3626 (reftex-erase-all-selection-and-index-buffers)
3627 (reftex-mode-menu): Reference styles are now computed from
3628 `reftex-ref-style-alist'. Fix typo.
3629 (reftex-report-bug): New function.
3630 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
3631 algorithms with O(n log n). Introduce optional argument SORT (not
3632 yet used).
3633
440ba395
FEG
36342012-09-30 Fabián Ezequiel Gallina <fgallina@cuca>
3635
3636 Enhancements for triple-quote string syntax.
375e49d4
SM
3637 * progmodes/python.el (python-syntax-propertize-function):
3638 Match both quote cases in one regexp.
440ba395
FEG
3639 (python-syntax-stringify): Handle matches properly.
3640
4c478e6b
JL
36412012-09-30 Juri Linkov <juri@jurta.org>
3642
3643 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
93cacb6d 3644 to nil around the call to `insert' to prevent
4c478e6b
JL
3645 directory time modification by lock_file. (Bug#2295)
3646 * tar-mode.el (tar-summarize-buffer): Idem.
3647
d80d54b2
JL
36482012-09-30 Juri Linkov <juri@jurta.org>
3649
3650 * facemenu.el (list-colors-sort): Add option "Luminance".
3651 (list-colors-sort-key): Implement it.
3652
3653 * vc/diff-mode.el (diff-refine-removed):
3654 * vc/ediff-init.el (ediff-fine-diff-A):
3655 * vc/smerge-mode.el (smerge-refined-removed):
3656 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
3657
d7e642cc
JD
36582012-09-30 Jan Djärv <jan.h.d@swipnet.se>
3659
3660 * term/ns-win.el (x-file-dialog): New function.
3661
ee41332b
JB
36622012-09-30 Juanma Barranquero <lekktu@gmail.com>
3663
3664 * ido.el (ido-max-directory-size): Default to nil; the current
3665 default is small for POSIX systems, and impractical on Windows 7
3666 now that lstat returns directory sizes for NTFS.
3667
5938d519
MR
36682012-09-30 Martin Rudalics <rudalics@gmx.at>
3669
3670 In buffer display functions handle window-height/window-width
3671 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
375e49d4
SM
3672 * window.el (window--display-buffer): New argument ALIST.
3673 Obey window-height and window-width alist entries.
3674 (window--try-to-split-window): New argument ALIST.
3675 Bind window-combination-limit to t when the window's size shall be
5938d519
MR
3676 changed and window-combination-limit equals `window-size'.
3677 (display-buffer-in-atom-window)
3678 (display-buffer-in-major-side-window)
3679 (display-buffer-in-side-window, display-buffer-same-window)
3680 (display-buffer-reuse-window, display-buffer-pop-up-frame)
3681 (display-buffer-pop-up-window, display-buffer-below-selected)
3682 (display-buffer-at-bottom, display-buffer-in-previous-window)
3683 (display-buffer-use-some-window): Adjust all callers of
3684 window--display-buffer and window--try-to-split-window.
3685 (fit-frame-to-buffer): New option.
3686 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
3687 is non-nil.
3688 (display-buffer-in-major-side-window): Evaluate window-height /
3689 window-width alist entries.
3690
3691 * help.el (temp-buffer-resize-frames)
3692 (temp-buffer-resize-regexps): Remove options.
3693 (temp-buffer-resize-mode): Adjust doc-string.
3694 (resize-temp-buffer-window): Don't consult
3695 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
3696 temp-buffer-resize-frames.
3697
375e49d4
SM
3698 * dired.el (dired-mark-pop-up):
3699 Call display-buffer-below-selected with a fit-window-to-buffer alist
5938d519
MR
3700 entry.
3701
c4c0c2df
CY
37022012-09-30 Chong Yidong <cyd@gnu.org>
3703
48de8b12
CY
3704 * server.el (server-host): Document the security implications.
3705 (server-auth-key): Doc fix.
3706
3707 * startup.el (initial-buffer-choice): Doc fix.
3708
3709 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
3710
a97dc380
CY
3711 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
3712 restriction change.
3713
d39d3c8e
CY
3714 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
3715
c4c0c2df
CY
3716 * help-fns.el (help-fns--obsolete): Fix last change.
3717
98a5e33b
SM
37182012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
3719
34cf6f39
SM
3720 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
3721 (minor-mode-map-alist): Remove redundant code.
3722
e01c13fe
SM
3723 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
3724 visited in a buffer.
3725 (cvs-insert-visited-file): New function.
3726 (find-file-hook): Use it.
3727
3728 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
3729
02661b3a
SM
3730 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
3731 chose face.
3732 (log-edit-empty-buffer-p): Don't require a space after a header.
3733
43711d4b
SM
3734 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
3735
38a30d64
SM
3736 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
3737
4ffb41a9
SM
3738 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
3739 a proper minor-mode.
3740
98a5e33b
SM
3741 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
3742
de82e29b
GM
37432012-09-29 Glenn Morris <rgm@gnu.org>
3744
5cc2e639
GM
3745 * winner.el (winner-mode): Remove variable (let define-minor-mode
3746 handle it).
3747 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
3748 Doc fixes.
3749 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
3750 (winner-mode): Use define-minor-mode.
3751
7bd302eb
GM
3752 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
3753 the full definition in loaddefs, rather than duplicating it.
3754
2923922f 3755 * help-macro.el (three-step-help): No need to autoload defcustom.
ced08382 3756
0e3e4156
GM
3757 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
3758 (inferior-lisp-program, inferior-lisp-load-command)
3759 (inferior-lisp-prompt, inferior-lisp-mode-hook):
2923922f 3760 No need to autoload defcustoms.
0e3e4156 3761
de82e29b
GM
3762 * hippie-exp.el (hippie-expand-try-functions-list)
3763 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
3764 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
3765 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
2923922f 3766 (hippie-expand-only-buffers): No need to autoload defcustoms.
de82e29b
GM
3767 * progmodes/vhdl-mode.el (vhdl-line-expand):
3768 Explicitly load hippie-exp, so it does not get autoloaded
3769 while hippie-expand-try-functions-list is let-bound.
3770
e60b51ab
GM
37712012-09-28 Glenn Morris <rgm@gnu.org>
3772
277f0cfa
GM
3773 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
3774
e60b51ab
GM
3775 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
3776 Only "cl.el" counts as cl these days.
3777
53baf48a
JL
37782012-09-28 Juri Linkov <juri@jurta.org>
3779
3780 Display archive errors in the echo area instead of inserting
3781 to the file buffer.
3782
3783 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
3784 to STDERR-TEST that can be a regexp matching a successful output.
3785 Create a temporary file and redirect stderr to it. Search for
3786 STDERR-TEST in the stderr output and display it in the echo area
3787 if no match is found.
3788 (archive-extract-by-file): New function like
3789 `archive-extract-by-stdout' but extracting archives to files
3790 and looking for successful matches in stdout. Function body is
3791 mostly copied from `archive-rar-extract'.
3792 (archive-rar-extract): Use `archive-extract-by-file'.
3793 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
3794
9c1228c3
LL
37952012-09-28 Leo Liu <sdl.web@gmail.com>
3796
375e49d4
SM
3797 * pcomplete.el (pcomplete-show-completions):
3798 Use minibuffer-message to make pcomplete usable in minibuffer.
147c0425 3799
9c1228c3
LL
3800 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
3801
7f457c06
SM
38022012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
3803
3df749b0
SM
3804 * type-break.el: Use lexical-binding.
3805 (type-break-mode): Use define-minor-mode.
3806
7f457c06
SM
3807 * emacs-lisp/pcase.el (pcase--mark-used): New.
3808 (pcase--u1): Use it (bug#12512).
3809
3810 * custom.el (load-theme): Set buffer-file-name so the load is recorded
3811 in load-history with the right file name.
3812
c00ebc98
TH
38132012-09-28 Tassilo Horn <tsdh@gnu.org>
3814
3815 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
3816 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
3817 (doc-view-get-bounding-box): Make bounding box slicing work for
3818 ODF and DVI documents.
3819
96fb7170
GM
38202012-09-28 Glenn Morris <rgm@gnu.org>
3821
3822 * type-break.el (type-break-mode, type-break-interval)
3823 (type-break-good-rest-interval, type-break-keystroke-threshold):
3824 No need to autoload.
3825 (type-break-good-rest-interval, type-break-keystroke-threshold):
3826 Add :set-after.
3827
5bc93c67
CY
38282012-09-28 Chong Yidong <cyd@gnu.org>
3829
3830 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
3831 Add :version tag.
3832
9cad61d6
SM
38332012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
3834
e28e67b3 3835 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
9cad61d6 3836
daee954c
GM
38372012-09-27 Glenn Morris <rgm@gnu.org>
3838
a88324d4
GM
3839 * faces.el (x-display-name): Declare (for without-x builds).
3840
8e5064e5
GM
3841 * linum.el (linum-format): Don't autoload it. Improve :type.
3842
cc1783c2
GM
3843 * progmodes/tcl.el: Don't require outline when compiling.
3844 (outline-regexp, outline-level): Declare.
1dddcf4c
GM
3845 * textmodes/sgml-mode.el: Don't require outline when compiling.
3846 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
3847
48c339f2
GM
3848 * term.el (term-ansi-reset):
3849 Try setting term-ansi-face-already-done to nil. (Bug#11785)
3850
daee954c
GM
3851 * vc/vc.el (vc-next-action): Only gripe about committing read-only
3852 files for RCS and SCCS. (Bug#9781)
3853
b7f42161
CY
38542012-09-27 Chong Yidong <cyd@gnu.org>
3855
3856 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
3857 change; value should be t.
3858
a2e770db
SM
38592012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
3860
83600dc8
SM
3861 * image-mode.el: Use lexical-binding.
3862 (image-mode-winprops): Use t to stand for the window of
3863 a buffer that's not displayed.
3864 * doc-view.el (doc-view-new-window-function): Handle the new
3865 t in winprops.
3866 (doc-view-enlarge): Make it a real nop if the size is not changed.
3867 (doc-view-display): Handle the case where the buffer is not (yet?)
3868 displayed in any window.
3869 (doc-view-saved-settings): New var.
3870 (doc-view-mode): Use it.
3871 (doc-view-fallback-mode): Set it.
3872
a2e770db
SM
3873 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
3874 Set lexical-binding.
3875 (minibuffer-eldef-shorten-default): New var.
3876 (minibuffer-default-in-prompt-regexps): Use it for new default.
3877 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
3878
e3b60857
JB
38792012-09-26 Juanma Barranquero <lekktu@gmail.com>
3880
3881 * international/uni-bidi.el:
3882 * international/uni-category.el:
3883 * international/uni-name.el:
3884 * international/uni-numeric.el: Regenerate.
3885
3a880af4
SM
38862012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
3887 Stefan Monnier <monnier@iro.umontreal.ca>
3888
3889 * profiler.el: New file.
3890
07b1a5fb
SM
38912012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
3892
3893 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
3894 (testcover-reinstrument): Simplify with CSE.
3895
42019c2e
JB
38962012-09-26 Juanma Barranquero <lekktu@gmail.com>
3897
3898 * window.el (temp-buffer-window-setup): Fix typo in docstring.
3899
179f044b
WS
39002012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
3901
3902 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
3903 (verilog-auto-input, verilog-auto-insert-lisp)
3904 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
3905 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
3906 (verilog-auto-unused, verilog-auto-wire)
3907 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
3908 newline. Reported by Andrew Jones.
3909 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
3910 Reported by Brad Dobbie.
07b1a5fb
SM
3911 (verilog-batch-delete-trailing-whitespace):
3912 Create verilog-batch-delete-trailing-whitespace.
3913 Reported by Brad Dobbie.
179f044b
WS
3914 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
3915 parameters from another module. Reported by Dan Katz.
3916 (verilog-auto, verilog-auto-assign-modport)
3917 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
3918 AUTOINOUTMODPORT for UVM interface module shell generation.
3919 Reported by Brad Dobbie.
3920 (verilog-auto-inst-interfaced-ports): Make default nil, as more
3921 standard behavior.
3922 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
3923 Reported by Matt Martin.
3924
9c52dd5a
MR
39252012-09-25 Martin Rudalics <rudalics@gmx.at>
3926
3927 * window.el (window--resize-child-windows): When resizing child
3928 windows proportionally, process them in reverse order to
3929 preserve the "when splitting a window the new one gets the odd
3930 line" behavior.
3931 (window--resize-root-window-vertically): When resizing the
3932 minibuffer window try to affect only windows at the bottom of the
3933 frame. (Bug#12419)
3934
863666eb
CY
39352012-09-25 Chong Yidong <cyd@gnu.org>
3936
3937 * subr.el (declare): Doc fix.
3938
3939 * help-fns.el (help-fns--obsolete): Handle macros properly.
3940
59f7af81
CY
39412012-09-25 Chong Yidong <cyd@gnu.org>
3942
3943 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
3944 this function obsolete.
3945
3946 * calendar/cal-x.el (calendar-two-frame-setup)
3947 (calendar-only-one-frame-setup, calendar-one-frame-setup):
3948 * calendar/calendar.el (american-calendar, european-calendar)
3949 (calendar-for-loop):
3950 * comint.el (comint-dynamic-simple-complete)
3951 (comint-dynamic-complete-as-filename, comint-unquote-filename):
3952 * desktop.el (desktop-load-default):
3953 * dired-x.el (dired-omit-here-always)
3954 (dired-hack-local-variables, dired-default-directory):
3955 * emacs-lisp/derived.el (derived-mode-class):
3956 * emacs-lisp/timer.el (timer-set-time-with-usecs):
3957 * emacs-lock.el (toggle-emacs-lock):
3958 * epa.el (epa-display-verify-result):
3959 * epg.el (epg-sign-keys, epg-start-sign-keys)
3960 (epg-passphrase-callback-function):
3961 * eshell/esh-util.el (eshell-for):
3962 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
3963 (eshell-add-to-window-buffer-names):
3964 * files.el (locate-file-completion):
3965 * imenu.el (imenu-example--create-c-index)
3966 (imenu-example--create-lisp-index)
3967 (imenu-example--lisp-extract-index-name)
3968 (imenu-example--name-and-position):
3969 * international/mule-cmds.el (princ-list):
3970 * international/mule-diag.el (decode-codepage-char):
3971 * international/mule-util.el (detect-coding-with-priority):
3972 * iswitchb.el (iswitchb-read-buffer):
3973 * mail/mailalias.el (mail-complete):
3974 * mail/sendmail.el (mail-sent-via):
3975 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
3976 (mouse-major-mode-menu):
3977 * password-cache.el (password-read-and-add):
3978 * pcomplete.el (pcomplete-parse-comint-arguments):
3979 * progmodes/sh-script.el (sh-maybe-here-document):
3980 * replace.el (query-replace-regexp-eval):
3981 * savehist.el (savehist-load):
3982 * simple.el (choose-completion-delete-max-match):
3983 * term.el (term-dynamic-simple-complete):
3984 * vc/ediff-init.el (ediff-check-version):
3985 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
3986 * vc/vc.el (vc-diff-switches-list):
3987 * view.el (view-return-to-alist-update): Likewise.
3988
3989 * subr.el (eval-next-after-load, makehash, insert-string)
3990 (assoc-ignore-representation, assoc-ignore-case): Use declare to
3991 mark obsolete.
3992 (mode-line-inverse-video): Variable deleted.
3993
3994 * international/mule-util.el (string-to-sequence): Remove.
3995
3996 * calendar/calendar.el (calendar-version):
3997 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
3998 (icalendar-convert-diary-to-ical):
3999 * cus-edit.el (custom-mode):
4000 * ansi-color.el (ansi-color-unfontify-region):
4001 * international/latin1-disp.el (latin1-char-displayable-p):
4002 * progmodes/cwarn.el (turn-on-cwarn-mode):
07b1a5fb
SM
4003 * progmodes/which-func.el (which-func-update-1):
4004 Use define-obsolete-function-alias.
59f7af81
CY
4005
4006 * net/newst-backend.el (newsticker-cache-filename):
07b1a5fb
SM
4007 * net/newst-treeview.el (newsticker-groups-filename):
4008 Fix incorrect obsolescence declaration.
59f7af81
CY
4009
4010 * allout.el (allout-passphrase-hint-string): Likewise.
4011 (allout-init): Use a declare form to mark obsolete.
4012
4013 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
4014 this applies to functions.
4015
4016 * iswitchb.el (iswitchb-read-buffer): Move code of
4017 iswitchb-define-mode-map here, and delete that obsolete function.
4018
4019 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
4020 font-lock-reference-face.
4021
cca96c97
GM
40222012-09-25 Glenn Morris <rgm@gnu.org>
4023
b06eeda8
GM
4024 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
4025 Doc fixes.
4026
cca96c97
GM
4027 * eshell/em-term.el (eshell-term-name):
4028 Default to term-term-name. (Bug#12485)
4029
dc4f818b
FEG
40302012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
4031
cca96c97
GM
4032 * progmodes/python.el (python-shell-send-buffer): Better handling
4033 of "if __name__ == '__main__':" conditionals when sending the buffer.
dc4f818b 4034
289c24bd
GM
40352012-09-24 Glenn Morris <rgm@gnu.org>
4036
4037 * eshell/esh-cmd.el (eshell-find-alias-function):
4038 Tighten up file-name regexp. (Bug#12499)
4039
8fb8b88f
FEG
40402012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
4041
4042 Enhancements for triple-quote string syntax.
4043 * progmodes/python.el (python-quote-syntax): Remove.
4044 (python-syntax-propertize-function): New value.
07b1a5fb
SM
4045 (python-syntax-count-quotes, python-syntax-stringify):
4046 New functions.
8fb8b88f 4047
6c27f0f8
CY
40482012-09-24 Chong Yidong <cyd@gnu.org>
4049
a5f2b6ec
CY
4050 * mail/supercite.el (sc-version): Remove obsolete function.
4051 (sc-describe): Don't mark as obsolete, since it is bound.
4052 (sc-submit-bug-report): Remove.
4053
4054 * vc/log-edit.el (cvs-changelog-full-paragraphs)
4055 (cvs-commit-buffer-require-final-newline): Remove.
0c765e5f
CY
4056 (log-edit-require-final-newline)
4057 (log-edit-changelog-full-paragraphs): Default to t.
a5f2b6ec
CY
4058
4059 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
4060 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
4061 * vc/vc.el (vc-checkout-carefully): Likewise.
4062
4063 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
4064 (emerge-version): Remove.
4065
4066 * progmodes/compile.el (compile-internal): Remove.
4067 (compilation-parse-errors-function): Fix typo.
4068
4069 * international/mule.el (set-char-table-default): Remove.
4070 (set-coding-priority, make-coding-system, generic-char-p)
4071 (charset-list, charset-bytes, charset-id): Use declare to mark
4072 functions as obsolete.
4073
4074 * vc/pcvs-defs.el (cvs-buffer-name-alist)
4075 (cvs-invert-ignore-marks): Remove references to obsolete vars.
4076 * vc/vc-hooks.el (vc-default-registered): Don't use
4077 vc-master-templates.
4078
07b1a5fb
SM
4079 * font-lock.el (font-lock-reference-face):
4080 Use define-obsolete-variable-alias.
6c27f0f8
CY
4081
4082 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
4083 * calendar/calendar.el (calendar-font-lock-keywords):
4084 * calendar/diary-lib.el (diary-font-lock-keywords)
4085 (diary-fancy-font-lock-keywords):
4086 * textmodes/reftex-sel.el (reftex-insert-docstruct):
4087 * textmodes/reftex-index.el (reftex-insert-index):
4088 * textmodes/reftex-cite.el (reftex-format-bib-entry):
4089 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
4090 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
4091 * progmodes/prolog.el (prolog-font-lock-keywords):
4092 * progmodes/idlwave.el (idlwave-idl-keywords):
4093 * progmodes/ada-mode.el (ada-font-lock-keywords):
4094 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
4095
bcc0adbf
GM
40962012-09-24 Glenn Morris <rgm@gnu.org>
4097
4098 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
4099
095bb823
FEG
41002012-09-23 Fabián Ezequiel Gallina <fgallina@cuca>
4101
4102 * progmodes/python.el (python-indent-line): More consistent cursor
4103 movement behavior.
4104
70efc5c9
SM
41052012-09-23 Stefan Merten <smerten@oekonux.de>
4106
4107 * textmodes/rst.el: Fix compiler warning.
4108
2f438239
RW
41092012-09-23 Roland Winkler <winkler@gnu.org>
4110
07b1a5fb
SM
4111 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
4112 Transcribe also LaTeX hyphenation.
2f438239
RW
4113 (bibtex-reformat): Bug fix. Do not quote twice the elements of
4114 bibtex-reformat-previous-options.
4115
936ad041
RW
41162012-09-23 Roland Winkler <winkler@gnu.org>
4117
4118 * proced.el (proced-renice-command): New variable.
4119 (proced-marked-processes): New function.
4120 (proced-with-processes-buffer): New macro.
4121 (proced-send-signal): Use them.
4122 (proced-renice): New command bound to r.
4123
6fab0274
RW
41242012-09-23 Roland Winkler <winkler@gnu.org>
4125
4126 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
4127 ibuffer-saved-filter-groups has one element, shortcut the call of
4128 completing-read. (Bug#12331)
4129
9a930676
CY
41302012-09-23 Chong Yidong <cyd@gnu.org>
4131
4132 * bindings.el (mode-line-toggle-read-only):
4133 * bs.el (bs-toggle-readonly):
4134 * buff-menu.el (Buffer-menu-toggle-read-only):
4135 * dired.el (dired-toggle-read-only):
4136 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
4137
d07ff9db
CY
41382012-09-23 Chong Yidong <cyd@gnu.org>
4139
4140 * image.el (image-type-available-p): Adapt to init-image-library
4141 argument changes.
4142
51c4474e
JL
41432012-09-22 Juri Linkov <juri@jurta.org>
4144
4145 * dired.el (dired-mode-map): Add [remap read-only-mode] for
4146 `dired-toggle-read-only'. (Bug#12462)
4147
43bf5e8e
MR
41482012-09-22 Martin Rudalics <rudalics@gmx.at>
4149
4150 * subr.el (temp-output-buffer-show): New function.
4151 (with-output-to-temp-buffer): Call temp-output-buffer-show
4152 instead of internal-temp-output-buffer-show.
4153
c88b867f
CY
41542012-09-22 Chong Yidong <cyd@gnu.org>
4155
3df47cd5
CY
4156 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
4157 (Bug#12462).
4158
c88b867f
CY
4159 * repeat.el (repeat): Doc fix (Bug#12348).
4160
4161 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
4162 (Bug#10909).
4163
4164 * simple.el (shell-command-on-region): Doc fix.
3171e303 4165 (read-only-mode): Doc fix.
c88b867f 4166
df9685f3
EZ
41672012-09-22 Eli Zaretskii <eliz@gnu.org>
4168
4169 * emacs-lisp/timer.el (run-with-idle-timer)
4170 (timer-activate-when-idle): Warn against reinvoking an idle timer
4171 from within its own timer action. (Bug#12447)
4172
8e17c9ba
MR
41732012-09-22 Martin Rudalics <rudalics@gmx.at>
4174
4175 * cus-start.el (window-combination-limit): Add new optional
4176 values.
4177 * window.el (temp-buffer-window-show)
4178 (window--try-to-split-window): Handle new values of
4179 window-combination-limit (Bug#1806).
4180 (split-window): Test window-combination-limit for t instead of
4181 non-nil.
4182 (display-buffer-at-bottom): New buffer display action function.
4183 * help.el (temp-buffer-resize-regexps): New option.
4184 (temp-buffer-resize-mode): Rewrite doc-string.
4185 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
bd909927 4186 Don't resize reused window. Suggested by Glenn Morris.
8e17c9ba 4187
48a24920
SM
41882012-09-22 Stefan Merten <smerten@oekonux.de>
4189
70efc5c9 4190 * textmodes/rst.el: Revamp section title faces.
48a24920
SM
4191 (rst-official-version)
4192 (rst-package-emacs-version-alist): Sync with official version
4193 V1.4.0.
4194 (rst-faces-defaults, rst-set-level-default)
4195 (rst-level-face-max, rst-level-face-base-color)
4196 (rst-level-face-base-light, rst-level-face-format-light)
4197 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
4198 (rst-adornment-faces-alist): Match new setup.
4199 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
4200 (rst-level-5, rst-level-6): New faces.
4201
82f8cd94
CY
42022012-09-22 Chong Yidong <cyd@gnu.org>
4203
4204 * simple.el (undo): Handle indirect buffers (Bug#8207).
4205
acfa068f 42062012-09-21 Leo Liu <sdl.web@gmail.com>
a8c14da8
LL
4207
4208 IDO: Disable match re-ordering for buffer switching.
2bc9406c 4209 * ido.el (ido-buffer-disable-smart-matches): New variable.
a8c14da8
LL
4210 (ido-set-matches-1): Use it. (Bug#2042)
4211
acfa068f 42122012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
a316d229
JM
4213
4214 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
4215 Fix 2011-05-17 change. (Bug#12418)
4216
acfa068f 42172012-09-21 Leo Liu <sdl.web@gmail.com>
d02e58f8
LL
4218
4219 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
4220
acfa068f 42212012-09-21 Glenn Morris <rgm@gnu.org>
511fd0b2
GM
4222
4223 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
4224 Be more robust about locating simple.el.
4225
acfa068f 42262012-09-21 Glenn Morris <rgm@gnu.org>
fa05bfe0
GM
4227
4228 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
4229
acfa068f
CY
42302012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
4231
4232 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
4233
41a97e6f
JL
42342012-09-20 Juri Linkov <juri@jurta.org>
4235
eb2deaff
JL
4236 * replace.el (query-replace-read-from): Use `read-regexp' instead
4237 of `read-from-minibuffer' when `regexp-flag' is non-nil.
4238 (occur-read-primary-args): Use `read-regexp' instead of
4239 `read-string'.
4240 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
4241 `read-from-minibuffer'.
4242 * isearch.el (isearch-occur): Use `read-regexp' instead of
4243 `read-string'.
4244 * dired.el (dired-read-regexp): Use `read-regexp' instead of
4245 `read-from-minibuffer'.
4246 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
4247 of `read-string'. (Bug#7567)
4248
5825610b
JL
4249 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
4250 and allow accepting a list of strings prepended to a list of
4251 standard default values. Doc fix. (Bug#12321)
4252
eebbf404
JL
4253 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
4254
41a97e6f
JL
4255 * replace.el (read-regexp): Don't add ": " when PROMPT already
4256 ends with a colon and space. (Bug#12321)
4257
c9e452d3
TH
42582012-09-20 Tassilo Horn <tsdh@gnu.org>
4259
4260 * doc-view.el (doc-view-display): Better fix for the cl-assertion
4261 error.
4262
ee97deee
SM
42632012-09-20 Stefan Merten <smerten@oekonux.de>
4264
70efc5c9 4265 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
ee97deee
SM
4266 Fixes feature request bug#11711.
4267 (rst-mode): Create `imenu-create-index-function'.
4268 (rst-get-stripped-line): Delete after refactoring.
4269 (rst-section-tree, rst-section-tree-rec)
4270 (rst-section-tree-point): Refactor and document properly.
4271 (rst-imenu-find-adornments-for-position)
07b1a5fb
SM
4272 (rst-imenu-convert-cell, rst-imenu-create-index):
4273 New function.
ee97deee 4274
f490dab9
SM
42752012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
4276
95b9712e
SM
4277 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
4278 (macroexp--expand-all): Use it.
4279 (macroexp--funcall-and-return): Remove by folding it into its sole
4280 caller (macroexp--warn-and-return).
4281 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
4282 Use macroexp--obsolete-warning.
4283
f490dab9
SM
4284 * calc/calc.el: Fix last change by removing the whole chunk, since it
4285 was only needed back when Calc was not bundled.
4286
96e8d411
MR
42872012-09-20 Martin Rudalics <rudalics@gmx.at>
4288
4289 * emacs-lisp/debug.el (debug): Restore assignment to
4290 debugger-old-buffer removed on 2012-09-08.
4291
0876a82d
JL
42922012-09-20 Juri Linkov <juri@jurta.org>
4293
4294 * dired-aux.el (dired-diff): Remove (require 'diff) since
4295 `diff-latest-backup-file' is now autoloaded.
4296
9f7c28f0
CY
42972012-09-20 Chong Yidong <cyd@gnu.org>
4298
4299 * vc/diff.el (diff-latest-backup-file): Autoload.
4300
7a04bee9
SM
43012012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
4302
e6f0a80d
SM
4303 * calc/calc.el: Remove redundant autoload shape check.
4304 (sel-mode): Don't defvar.
4305 (calc-get-stack-element): Add `sel-mode' arg instead.
4306 (calc-top, calc-top-list): Pass it this additional argument.
4307 * calc/calc-store.el (calc-store-map):
4308 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
4309 (calc-map-equation, calc-outer-product, calc-inner-product):
4310 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
4311
7a04bee9
SM
4312 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
4313
12734222
JL
43142012-09-19 Juri Linkov <juri@jurta.org>
4315
4316 * dired-aux.el (dired-diff): Add (require 'diff) because
4317 `diff-latest-backup-file' is not autoloaded.
4318 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
4319 of `dired-get-filename' to t to not report error when there is
4320 no default file on the current line.
4321
46624b4f
SM
43222012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
4323
ce97595b
SM
4324 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
4325 macroexp--eval-if-compile.
4326 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
4327 (macroexp--expand-all): Use them (bug#12371).
4328
46624b4f
SM
4329 * doc-view.el (doc-view-guess-paper-size)
4330 (doc-view-scale-bounding-box): Fix unbound `caddr'.
4331
db8a5a18
TH
43322012-09-19 Tassilo Horn <tsdh@gnu.org>
4333
4334 New feature: set optimal slice from BoundingBox information.
4335 * doc-view.el (doc-view-mode-map): Add keybinding.
4336 (doc-view-menu): Add menu entry.
4337 (doc-view-set-slice): Adapt docstring.
4338 (doc-view-get-bounding-box, doc-view-guess-paper-size)
4339 (doc-view-scale-bounding-box)
4340 (doc-view-set-slice-from-bounding-box): New functions.
4341 (doc-view-paper-sizes): New defvar.
4342
69f6644c
GM
43432012-09-19 Glenn Morris <rgm@gnu.org>
4344
35f5b19d
GM
4345 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
4346 (byte-compile-log-warning): Autoload. (Bug#12371)
4347
69f6644c
GM
4348 * calendar/calendar.el (calendar-american-month-header)
4349 (calendar-european-month-header, calendar-iso-month-header)
4350 (calendar-month-header): New options.
4351 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
4352 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
4353
e543ae91
JD
43542012-09-19 Jan Djärv <jan.h.d@swipnet.se>
4355
4356 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
4357
2fd5e67d
JL
43582012-09-18 Juri Linkov <juri@jurta.org>
4359
4360 * dired-aux.el (dired-diff): Restore original functionality of
4361 getting the default value, but keep new feature of using the
4362 latest existing backup file (`diff-latest-backup-file').
4363
42917e79
JL
43642012-09-18 Juri Linkov <juri@jurta.org>
4365
4366 * dired.el (dired-mark): If the region is active in Transient Mark
4367 mode, mark all files in the active region. Doc fix.
4368 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
4369 Doc fix. (Bug#10624)
4370
20f70ede
JL
43712012-09-18 Juri Linkov <juri@jurta.org>
4372
4373 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
4374 attributes for M-n are pulled from the file at point.
4375 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
4376 Suggested by Drew Adams. (Bug#10624)
4377
32fb8162
DG
43782012-09-18 Dmitry Gutov <dgutov@yandex.ru>
4379
4380 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
4381 whitespace after "end".
4382 (ruby-do-end-to-brace): Collapse block to one line if it fits
4383 within fill-column.
4384
37ab5092
MR
43852012-09-18 Martin Rudalics <rudalics@gmx.at>
4386
4387 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
4388 value.
4389 (debug): Don't remove debugger window when debugger is expected
4390 to be back.
4391
ed1f0bd3
CY
43922012-09-18 Chong Yidong <cyd@gnu.org>
4393
4394 * custom.el (defface): Doc fix.
4395
4396 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
4397
a11035b8
MB
43982012-09-18 Martin Blais <blais@furius.ca> (tiny change)
4399
4400 * progmodes/compile.el (compilation-start): Use compilation-always-kill
4401 to initialize query-on-exit; then test that instead (bug#12288).
4402
64f6a736
SM
44032012-09-17 Stefan Merten <smerten@oekonux.de>
4404
70efc5c9 4405 * textmodes/rst.el: Add support for `testcover'.
64f6a736
SM
4406 (rst-defcustom-testcover, rst-testcover-add-compose)
4407 (rst-testcover-add-1value): New functions.
4408 (rst-portable-mark-active-p): Replace by `use-region-p'.
4409 (rst-update-section, rst-classify-adornment)
4410 (rst-find-title-line): Mark `1value' forms.
4411 (rst-classify-adornment): Remove superfluous form.
4412 (rst-update-section, rst-get-adornments-around)
4413 (rst-adornment-complete-p, rst-get-next-adornment)
4414 (rst-adjust, rst-promote-region)
4415 (rst-display-adornments-hierarchy, rst-straighten-adornments)
4416 (rst-find-pfx-in-region, rst-section-tree-rec)
4417 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
4418 (rst-toc-node, rst-toc, rst-forward-section)
4419 (rst-iterate-leftmost-paragraphs)
4420 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
4421 (rst-bullet-list-region)
4422 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
4423 (rst-compile-find-conf, rst-compile)
4424 (rst-repeat-last-character): Fix style.
4425
580bd868
CY
44262012-09-17 Chong Yidong <cyd@gnu.org>
4427
4428 * comint.el (comint--complete-file-name-data): Don't add a space
4429 if the status is `sole'; that adds a gratuitous space in the
4430 completion-cycling case (Bug#12092).
4431
4432 * pcomplete.el (pcomplete-completions-at-point): Likewise.
4433
69de3ec6
RS
44342012-09-17 Richard Stallman <rms@gnu.org>
4435
0dee970c
RS
4436 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
4437 only in the mime-shown mode, not in raw mode.
4438 (rmail-mime): Toggle off mime by displaying the message without
6b250df6 4439 mime processing. (Bug#12305)
0dee970c 4440
6b250df6
GM
4441 * mail/rmail.el (rmail-retry-failure):
4442 Turn off mime processing first. (Bug#12037)
acb1c47b 4443
69de3ec6
RS
4444 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
4445
d079ee5f
CY
44462012-09-17 Chong Yidong <cyd@gnu.org>
4447
4448 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
4449 (shell-dynamic-complete-functions): Convert to defcustom.
4450 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
4451
865fe16f
CY
4452 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
4453 * comint.el (comint-prompt-read-only):
4454 * custom.el (defcustom):
4455 * hi-lock.el (hi-lock-mode):
4456 * ibuffer.el (ibuffer-formats):
4457 * ielm.el (ielm-prompt-read-only):
4458 * novice.el (disable-command):
4459 * saveplace.el (toggle-save-place):
4460 * speedbar.el (speedbar-supported-extension-expressions):
4461 * startup.el (auto-save-list-file-prefix, init-file-user)
4462 (after-init-hook, inhibit-startup-echo-area-message):
4463 * strokes.el (strokes-help):
4464 * time-stamp.el (time-stamp):
4465 * calendar/calendar.el (calendar, diary-file):
4466 * calendar/diary-lib.el (diary-mail-entries, diary)
4467 (diary-list-entries-hook):
4468 * calendar/holidays.el (holidays, calendar-holidays):
4469 * calendar/lunar.el (lunar-phases):
4470 * calendar/solar.el (sunrise-sunset):
4471 * emulation/edt.el (edt-load-keys):
4472 * emulation/viper.el (viper-mode):
4473 * eshell/em-alias.el (eshell-command-aliases-list):
4474 * eshell/esh-util.el (eshell-convert-numeric-arguments):
4475 * international/ogonek.el (ogonek-information):
4476 * net/tramp-cmds.el (tramp-bug):
4477 * net/quickurl.el (quickurl-reread-hook-postfix):
4478 * play/decipher.el (decipher-font-lock-keywords):
4479 * progmodes/cc-styles.el (c-set-style):
4480 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
4481 * progmodes/inf-lisp.el (inferior-lisp-prompt):
4482 * progmodes/octave-mod.el (octave-mode):
4483 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
4484 * progmodes/verilog-mode.el (verilog-read-defines):
4485 * textmodes/two-column.el (2C-mode): Likewise.
4486
48093eb9
KY
44872012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
4488
4489 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
4490 that holds many addresses.
4491
c584eaf9
CY
44922012-09-16 Chong Yidong <cyd@gnu.org>
4493
40d70ecb
CY
4494 * align.el (align-areas): Call the indication function with
4495 positions instead of markers for arguments (Bug#12343).
4496
1667e065
CY
4497 * files.el (parse-colon-path): Use split-string (Bug#12351).
4498
fdc2806d 4499 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
71ce58e7 4500 (display-buffer-function): Mark as obsolete.
fdc2806d 4501
f1be615c 4502 * progmodes/compile.el (compilation-parse-errors): Accept list
ce97595b
SM
4503 values similar to font-lock-keywords (Bug#12136).
4504 Suggested by Oleksandr Manzyuk.
c584eaf9
CY
4505 (compilation-error-regexp-alist): Doc fix.
4506
f40a9709
GM
45072012-09-15 Glenn Morris <rgm@gnu.org>
4508
72aa16e1
GM
4509 * version.el (emacs-bzr-version-bzr): New function.
4510 (emacs-bzr-get-version): Add optional EXTERNAL argument.
4511
82375160
GM
4512 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
4513 checkouts, check the parent dirstate matches the branch.
4514 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
4515 empty string.
4516
f40a9709
GM
4517 * version.el (emacs-bzr-version): Doc fix.
4518 (emacs-bzr-version-dirstate): New function.
4519 (emacs-bzr-get-version): For lightweight checkouts, if the parent
4520 is local try and check that it matches the branch. If not, just
4521 use dirstate information. (Bug#12441)
4522
cb26b7f5
JL
45232012-09-14 Juri Linkov <juri@jurta.org>
4524
4525 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
4526 (Bug#12399)
4527
2de39f08
SM
45282012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
4529
0fb3cb7c
SM
4530 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
4531
2de39f08
SM
4532 * emacs-lisp/edebug.el: Miscellaneous cleanup.
4533 Remove obsolete byte-compiler hack that tried to silence some warnings.
4534 (edebug-submit-bug-report): Remove.
4535 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
4536 Remove aliases, use the un-prefixed name instead.
4537 (edebug-pop-to-buffer): Consider other frames.
4538 (edebug-original-read):: Make it more obvious that it's always defined.
4539 (edebug--make-form-data-entry, edebug--form-data-name)
4540 (edebug--form-data-begin, edebug--form-data-end): Rename from the
4541 single-dashed name, and implement with cl-defstruct.
4542 (edebug-set-form-data-entry): Use the standard accessors.
4543 (edebug-make-top-form-data-entry): Use push.
4544 (edebug-no-match): Drop useless `funcall'.
4545 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
4546 to functions.
4547 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
4548 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
4549 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
4550 (easy-menu-define, with-custom-print): Remove redundant specs.
4551 (edebug-outside-overriding-local-map)
4552 (edebug-outside-overriding-terminal-local-map): Remove, unused.
4553 (edebug--display): Bind unread-command-events directly to nil rather
4554 than binding it to unread-command-events and later setting it to nil.
4555 (edebug--display): Kill edebug-eval-buffer here...
4556 (edebug--recursive-edit): ...rather than here.
4557 Bind standard-output and standard-input.
4558 (edebug-eval): Check cl-macroexpand-all is fboundp.
4559 (edebug-temp-display-freq-count): Fix last change.
4560
4561 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
4562 * subr.el (noreturn, 1value): Add `debug' spec.
4563 * emacs-lisp/advice.el: Require cl-lib.
4564 (ad-copy-tree): Remove, use copy-tree instead.
4565 (ad-dolist): Remove use dolist or cl-dolist instead.
4566 (ad-do-return): Remove, use cl-return instead.
4567 (defadvice): Add `debug' spec.
4568
5b68b333
JL
45692012-09-13 Juri Linkov <juri@jurta.org>
4570
4571 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
4572 (Bug#12399)
4573
b9800ec4
GM
45742012-09-13 Glenn Morris <rgm@gnu.org>
4575
6a2e6868
GM
4576 * calc/calc.el (math-compose-expr):
4577 * calc/calc-ext.el (math-compose-expr):
4578 * progmodes/cc-defs.el (cl-macroexpand-all):
4579 * progmodes/cc-langs.el (delete-duplicates, mapcan)
4580 (cl-macroexpand-all): Update declarations.
4581
b9800ec4
GM
4582 * vc/vc.el: No need to require ediff.
4583 (ediff-load-version-control): Declare.
4584 (ediff-vc-internal): Fix declaration.
4585 (vc-version-ediff): Require ediff.
4586
c18e885b
PE
45872012-09-13 Paul Eggert <eggert@cs.ucla.edu>
4588
4589 Use a more backwards-compatible timer format (Bug#12430).
4590 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
4591 being right after USECS, as that better supports old code that
4592 inadvisedly looked directly at the timer vector.
4593
d607d303
KH
45942012-09-13 Kenichi Handa <handa@gnu.org>
4595
4596 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
4597 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
4598 `coding-priority' property of these language environment.
4599
72eac303
PE
46002012-09-13 Paul Eggert <eggert@cs.ucla.edu>
4601
4602 Fix glitches caused by addition of psec to timers (Bug#12430).
4603 * image.el (image-animate-timer):
4604 * time.el (display-time-world-timer):
4605 Use timer--function and timer--args rather than raw access to
4606 timer vector.
4607
2168fe4f
GM
46082012-09-13 Glenn Morris <rgm@gnu.org>
4609
4610 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
4611 If not compiling a file, try using load-file-name.
4612
bd8d6108
SM
46132012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
4614
c0c54fbd
SM
4615 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
4616 Fix last change.
4617 (edebug-update-eval-list): Use `push'.
4618
bd8d6108
SM
4619 * emacs-lisp/edebug.el: Use lexical-binding.
4620 Remove the "edebug-" prefix from non-dynamically-scoped variables.
4621 Mark unused args with underscore.
4622 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
4623 (edebug-form-data): Use defvar-local.
4624 (edebug-make-before-and-after-form, edebug-make-after-form):
4625 Use backquote.
4626 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
4627 Not dynamically scoped any more.
4628 (edebug--enter-trace): Add arguments `function' and `args'.
4629 Rename from edebug-enter-trace.
4630 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
4631 (edebug--update-coverage): Add `after-index' and `value' args.
4632 Rename from edebug-update-coverage.
4633 (edebug-slow-after): Call it accordingly.
4634 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
4635 edebug-recursive-edit.
4636 (edebug--display): Call it accordingly. Add args `value',
4637 `offset-index', and `arg-mode'. Rename from edebug-display.
4638 (edebug-debugger, edebug): Call it accordingly.
4639 (edebug-eval-display-list): Use dolist.
4640
a9f9d9de
JL
46412012-09-12 Juri Linkov <juri@jurta.org>
4642
4643 * info.el (Info-search): Don't check for isearch-mode and
4644 isearch-regexp before let-binding search-spaces-regexp to
4645 Info-search-whitespace-regexp.
4646 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
4647 search-whitespace-regexp if isearch-lax-whitespace or
4648 isearch-regexp-lax-whitespace is non-nil.
4649 (Info-mode): Don't set local variable search-whitespace-regexp.
4650 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
4651
bfeae2cf
SM
46522012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
4653
4654 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
4655 (debugger-env-macro): Remove support for unread-command-char.
4656
4657 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
4658 the temporary map re-appearing on emulation-mode-map-alists.
4659
4660 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
4661 since 22.1.
4662
4663 * ehelp.el (with-electric-help): Accept functions in
4664 electric-help-form-to-execute.
4665 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
4666 And replace unread-command-char -> unread-command-events.
4667
fbbcaf1b
MA
46682012-09-12 Michael Albinus <michael.albinus@gmx.de>
4669
4670 Sync with Tramp 2.2.6.
4671
4672 * net/tramp.el (tramp-accept-process-output): Don't use
4673 JUST-THIS-ONE in the XEmacs case.
4674
4675 * net/trampver.el: Update release number.
4676
4dece104
MR
46772012-09-12 Martin Rudalics <rudalics@gmx.at>
4678
bfeae2cf
SM
4679 * emacs-lisp/debug.el (debugger-previous-window-height):
4680 New variable.
4dece104
MR
4681 (debug): When debugger-jumping-flag is non-nil try to restore
4682 height of debugger window. (Bug#8789)
4683
45b82ad0
SM
46842012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
4685
60c49c0f
SM
4686 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
4687 overriding-local-map and pre/post-command-hook here.
4688 (edebug-recursive-edit): Do it here instead (bug#12345).
4689 (edebug-outside-unread-command-char): Remove all uses of
4690 unread-command-char.
4691
45b82ad0
SM
4692 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
4693 inhibit-debugger is bound instead.
4694
baa26ea0
BG
46952012-09-11 Bastien Guerry <bzg@gnu.org>
4696
4697 * subr.el (set-temporary-overlay-map): Add a docstring.
fc0c31f8 4698 (Bug#12346)
baa26ea0 4699
04e8abfa
BG
47002012-09-11 Bastien Guerry <bzg@gnu.org>
4701
96d03571 4702 * minibuffer.el (completion-table-subvert): Fix docstring.
fc0c31f8 4703 (Bug#12347)
96d03571
BG
4704
47052012-09-11 Bastien Guerry <bzg@gnu.org>
4706
fc0c31f8 4707 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
04e8abfa 4708
04e082b0
MM
47092012-09-10 Michael R. Mauger <mmaug@yahoo.com>
4710
4711 * progmodes/sql.el: Version 3.1
4712 (sql-db2-escape-newlines): New variable.
4713 (sql-escape-newlines-filter): Use it.
4714
399a361b
JB
47152012-09-10 Juanma Barranquero <lekktu@gmail.com>
4716
4717 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
4718
0780c517
DN
47192012-09-10 Dan Nicolaescu <dann@gnu.org>
4720
45b82ad0
SM
4721 * vc/diff-mode.el (diff-mode-menu):
4722 Bind diff-remove-trailing-whitespace.
0780c517 4723
9b851e25
SM
47242012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
4725
4726 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
fc0c31f8
JB
4727 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
4728 (emacs-lisp-byte-code-mode): New functions.
9b851e25
SM
4729 (eval-sexp-add-defvars): Don't skip defvars in column >0.
4730 (eval-defun-2): Remove bogus interactive spec.
4731 (lisp-indent-line): Remove redundant whole-exp code, now done in
4732 indent-according-to-mode.
4733 (save-match-data): Remove redundant indent data.
4734
4735 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
4736 Use `declare'.
4737
3231d532
JL
47382012-09-09 Juri Linkov <juri@jurta.org>
4739
4740 * replace.el (replace-regexp-lax-whitespace): New defcustom.
4741 (replace-lax-whitespace, query-replace-regexp)
4742 (query-replace-regexp-eval, replace-regexp): Doc fix.
4743 (perform-replace, replace-highlight): Let-bind
4744 isearch-lax-whitespace to replace-lax-whitespace and
4745 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
4746
4747 * isearch.el (isearch-query-replace): Let-bind
4748 replace-lax-whitespace to isearch-lax-whitespace and
4749 replace-regexp-lax-whitespace to
4750 isearch-regexp-lax-whitespace. (Bug#10885)
4751
70fe8236
SM
47522012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
4753
4754 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
4755
8ed43f15
AM
47562012-09-09 Alan Mackenzie <acm@muc.de>
4757
70fe8236
SM
4758 * progmodes/cc-engine.el (c-state-cache-init):
4759 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
4760 (c-record-parse-state-state):
4761 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
8ed43f15 4762
bfabf70a
AS
47632012-09-09 Andreas Schwab <schwab@linux-m68k.org>
4764
4765 * register.el (register-separator): Rename from
4766 separator-register. All uses changed. Doc fix.
4767 (register): Fix version.
4768
011474aa
CY
47692012-09-09 Chong Yidong <cyd@gnu.org>
4770
4771 * replace.el (query-replace-map): Bind four new symbols for
4772 requesting window scrolling.
4773
4774 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
4775 query-replace-map (Bug#8948).
4776
4777 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
4778
4779 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
4780 since they are now in query-replace-map.
4781
4782 * window.el (scroll-other-window-down): Make the arg optional.
4783
a8b7cd8d
CY
47842012-09-09 Chong Yidong <cyd@gnu.org>
4785
4786 * files.el (hack-local-variables-confirm): Use quit-window to kill
4787 the *Local Variables* buffer.
4788
c3268831
DG
47892012-09-08 Dmitry Gutov <dgutov@yandex.ru>
4790
4791 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
4792 not just expect to be at its beginning. Adjust callees.
4793 Succeed when do-end block has no space before the pipe character.
4794 (ruby-brace-to-do-end): When the original block is one-liner,
4795 convert to multiline. Reindent the result.
4796
0979429b
J
47972012-09-08 Jambunathan K <kjambunathan@gmail.com>
4798
4799 * register.el (register): New group.
27359e99 4800 (separator-register): New user option.
0979429b
J
4801 (increment-register): Route it to `append-to-register', if
4802 register contains text. Implication is that `C-x r +' can now be
4803 used for appending to a text register (bug#12217).
4804 (append-to-register, prepend-to-register): Add separator based on
5b9c45a6 4805 `separator-register'.
0979429b 4806
ace2989a
AM
48072012-09-08 Alan Mackenzie <acm@muc.de>
4808
4809 AWK Mode: make auto-newline work when there's "==" in the pattern.
4810 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
4811 correctly.
0979429b
J
4812 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
4813 Test more rigorously for "=" token.
ace2989a 4814
616c6c36
DG
48152012-09-08 Dmitry Gutov <dgutov@yandex.ru>
4816
0979429b
J
4817 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
4818 Only fail when reached LIMIT.
616c6c36 4819
35d98877
CY
48202012-09-08 Chong Yidong <cyd@gnu.org>
4821
4822 * dired.el (dired-mode-map): Don't bind M-=.
4823
4824 * dired-aux.el (dired-diff): Use backup file as default.
4825
1715f2db
DA
48262012-09-08 Drew Adams <drew.adams@oracle.com>
4827
4828 * subr.el (add-to-history): Fix delete usage (Bug#12314).
4829
6dcef6ec
CY
48302012-09-08 Chong Yidong <cyd@gnu.org>
4831
4832 * subr.el (syntax-after, syntax-class): Doc fix.
4833
fa2bcf43
MR
48342012-09-08 Martin Rudalics <rudalics@gmx.at>
4835
4836 * window.el (display-buffer-in-previous-window): New buffer
4837 display action function.
4838
4839 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
4840 (debugger-previous-window): New variable.
4841 (debug): Rewrite using display-buffer-in-previous-window,
4842 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
4843
daac280a
SM
48442012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
4845
4846 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
4847
9dd40b00
MM
48482012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
4849
daac280a
SM
4850 * progmodes/python.el (python-shell-send-string):
4851 When default-directory is remote, create temp file on remote
9dd40b00
MM
4852 filesystem.
4853 (python-shell-send-file): When file is remote, pass local view of
4854 file paths to remote Python interpreter. (Bug#12340)
4855
145823ec
CY
48562012-09-07 Chong Yidong <cyd@gnu.org>
4857
cee2e90d
CY
4858 * window.el (switch-to-buffer): Doc fix (Bug#12181).
4859
0d7eb2ea
CY
4860 * files.el (after-find-file): Don't fail on a read-only buffer if
4861 require-final-newline is `visit' or `visit-save' (Bug#11156).
4862
145823ec
CY
4863 * subr.el (read-char-choice): Allow quitting via ESC ESC.
4864
daac280a
SM
4865 * userlock.el (ask-user-about-supersession-threat):
4866 Use read-char-choice (Bug#12093).
145823ec 4867
74c582e6
CY
48682012-09-07 Chong Yidong <cyd@gnu.org>
4869
e5c2edf7
CY
4870 * subr.el (buffer-narrowed-p): New function.
4871
4872 * ses.el (ses-widen):
4873 * simple.el (count-words--buffer-message):
1f9f395d 4874 * net/browse-url.el (browse-url-of-buffer): Use it.
e5c2edf7
CY
4875
4876 * simple.el (count-words-region): Don't signal an error if there
4877 is a non-nil prefix arg and the mark is not set.
c640e87d 4878
74c582e6
CY
4879 * help.el (describe-key-briefly): Allow the message to be seen
4880 when invoked from the minibuffer (Bug#7014).
4881
d81ceaaf
DG
48822012-09-07 Dmitry Gutov <dgutov@yandex.ru>
4883
4884 * progmodes/ruby-mode.el (ruby-end-of-defun)
4885 (ruby-beginning-of-defun): Simplify, allow indentation before
4886 block beginning and end keywords.
8f06acce
DG
4887 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
4888 (ruby-end-of-defun): Expect that the point is at the beginning of
4889 the defun.
d81ceaaf 4890
d458ef98
SM
48912012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4892
4893 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
4894 (bug#12367).
4895 (cl--make-usage-args): Strip _ from argument names.
4896
20367d28
RS
48972012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4898
4899 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
4900 obsolete alias speedbar-key-map.
4901 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
4902 (vhdl-index-menu-init): Don't use obsolete variable
4903 font-lock-maximum-size.
4904
3424a4f6
CY
49052012-09-06 Chong Yidong <cyd@gnu.org>
4906
4907 * frame.el (window-system-version): Mark as obsolete.
4908
fcbfbdea
CY
4909 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
4910 of obsolete variable speedbar-key-map.
4911
826b3235
JL
49122012-09-06 Juri Linkov <juri@jurta.org>
4913
4914 * replace.el (replace-lax-whitespace): New defcustom.
4915 (query-replace, query-replace-regexp, query-replace-regexp-eval)
4916 (replace-string, replace-regexp): Mention it in docstrings.
4917 (perform-replace, replace-highlight): Let-bind
4918 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
4919 to the values of replace-lax-whitespace and regexp-flag.
4920 Don't let-bind search-whitespace-regexp. (Bug#10885)
4921
4922 * isearch.el (isearch-query-replace): Let-bind
4923 replace-lax-whitespace instead of let-binding
4924 replace-search-function and replace-re-search-function.
4925 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
4926 and isearch-regexp-lax-whitespace to lazy-highlight variables.
4927 (isearch-toggle-symbol): Set isearch-regexp to nil
4928 in isearch-word mode (like in isearch-toggle-word).
4929
1ec5e41d
JL
49302012-09-06 Juri Linkov <juri@jurta.org>
4931
4932 * replace.el (replace-search-function)
4933 (replace-re-search-function): Set default values to nil.
4934 (perform-replace): Let-bind isearch-related variables based on
4935 replace-related values, call `isearch-search-fun' and let-bind
4936 the result to `search-function'. Remove code that sets
4937 `search-function' and `search-string' separately for
4938 `delimited-flag'.
4939 (replace-highlight): Add new argument `delimited-flag' and
4940 rename other arguments to the names used in `perform-replace'.
4941 Let-bind `isearch-word' to the argument `delimited-flag'.
4942 (Bug#10885, bug#10887)
4943
0ba2d4b6
DG
49442012-09-07 Dmitry Gutov <dgutov@yandex.ru>
4945
4946 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
4947 ruby-beginning-of-indent, simplify, allow all keywords to have
4948 indentation before them.
4949 (ruby-beginning-of-indent): Adjust for above. Search until the
4950 found point is not inside a string or comment.
4951 (ruby-font-lock-keywords): Allow symbols to start with "@"
4952 character, give them higher priority than variables.
4953 (ruby-syntax-propertize-function)
4954 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
4955 matchers. Expression expansions are not comments when inside a
4956 string, and there comment syntax status is irrelevant.
4957 (ruby-match-expression-expansion): New function. Check that
4958 expression expansion is inside a string, and it's not escaped.
4959 (ruby-font-lock-keywords): Use it.
4960
ef654460
MR
49612012-09-05 Martin Rudalics <rudalics@gmx.at>
4962
4963 * help.el (temp-buffer-max-height): New default value.
4964 (temp-buffer-resize-frames): New option.
4965 (resize-temp-buffer-window): Optionally resize frame.
4966
4967 * window.el (fit-frame-to-buffer-bottom-margin): New option.
4968 (fit-frame-to-buffer): New function.
4969
7e570fbf 49702012-09-05 Glenn Morris <rgm@gnu.org>
72308848
GM
4971
4972 * emulation/cua-rect.el (cua--init-rectangles):
4973 * textmodes/picture.el (picture-mode-map):
4974 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
4975 like forward-char and backward-char. (Bug#12317)
4976
7e570fbf 49772012-09-05 Leo Liu <sdl.web@gmail.com>
3aca1291
LL
4978
4979 * progmodes/flymake.el (flymake-warning-re): New variable.
4980 (flymake-parse-line): Use it.
4981
7e570fbf 49822012-09-05 Glenn Morris <rgm@gnu.org>
b6683353
GM
4983
4984 * calendar/holidays.el (holiday-christian-holidays):
4985 Rename an entry. (Bug#12289)
4986
7e570fbf 49872012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
64f8c4bd
SM
4988
4989 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
4990 (bug#12222).
4991
972debf2
SM
49922012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
4993
4994 * loadup.el: Load macroexp. Remove hack.
4995 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
4996 (macroexp--expand-all): Use it to get better warnings.
4997 (macroexp--backtrace, macroexp--trim-backtrace-frame)
4998 (internal-macroexpand-for-load): New functions.
4999 (macroexp--pending-eager-loads): New var.
5000 (emacs-startup-hook): New hack to replace one in loadup.el.
5001 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
5002 (cl--compiler-macro-cXXr): Move to top, before they can be used.
5003 (cl-psetf): Simplify.
5004 (cl-defstruct): Add indent rule.
5005
8ce192e3
LI
50062012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
5007
5008 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
5009 over `user-mail-address' for the SMTP MAIL FROM envelope.
5010 (smtpmail-via-smtp): Ditto.
5011
6578b4d8
DG
50122012-09-04 Dmitry Gutov <dgutov@yandex.ru>
5013
5014 * progmodes/ruby-mode.el: Clean up keybindings.
5015 (ruby-mode-map): Don't bind ruby-electric-brace,
5016 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
5017 backward-kill-word, reindent-then-newline-and-indent.
5018 (ruby-mark-defun): Remove.
5019 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
5020 (ruby-mode): Set local beginning-of-defun-function and
5021 end-of-defun-function values.
5022
c5e28e39
MR
50232012-09-03 Martin Rudalics <rudalics@gmx.at>
5024
5025 * window.el (temp-buffer-window-setup-hook)
5026 (temp-buffer-window-show-hook): New hooks.
5027 (temp-buffer-window-setup, temp-buffer-window-show)
5028 (with-temp-buffer-window): New functions.
972debf2
SM
5029 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
5030 (special-display-popup-frame): Make sure the window used shows BUFFER.
c5e28e39
MR
5031
5032 * help.el (temp-buffer-resize-mode): Fix doc-string.
5033 (resize-temp-buffer-window): New optional argument WINDOW.
5034
5035 * files.el (recover-file, save-buffers-kill-emacs):
5036 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
5037
73406194
MA
50382012-09-02 Michael Albinus <michael.albinus@gmx.de>
5039
5040 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
5041 remote definition of `default-directory', ensure we can connect.
5042
63dd1c6f
JL
50432012-09-02 Juri Linkov <juri@jurta.org>
5044
5045 Toggle whitespace matching mode with M-s SPC.
5046 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
5047
5048 * isearch.el (search-whitespace-regexp): Doc fix.
5049 Remove cons cell customization.
5050 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
5051 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
5052 New variables.
5053 (isearch-forward, isearch-forward-regexp): Doc fix.
5054 (isearch-toggle-lax-whitespace): New command.
5055 (search-forward-lax-whitespace, search-backward-lax-whitespace)
5056 (re-search-forward-lax-whitespace)
5057 (re-search-backward-lax-whitespace): New functions.
5058 (isearch-whitespace-regexp): Remove function.
5059 (isearch-query-replace): Let-bind replace-search-function and
5060 replace-re-search-function.
5061 (isearch-occur): Let-bind search-spaces-regexp according to the
5062 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
5063 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
5064 condition for C-q SPC.
5065 (isearch-search-fun-default): Use new functions mentioned above.
5066 (isearch-search-forward, isearch-search-backward): Remove functions.
5067 (isearch-search): Don't let-bind search-spaces-regexp.
5068 (isearch-lazy-highlight-space-regexp): Remove variable.
5069 (isearch-lazy-highlight-lax-whitespace)
5070 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
5071 (isearch-lazy-highlight-new-loop): Use them.
5072 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
5073
af7dda05
CY
50742012-09-02 Chong Yidong <cyd@gnu.org>
5075
5076 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
5077
d67d3afd
GM
50782012-09-02 Glenn Morris <rgm@gnu.org>
5079
5080 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
5081
69678719
GM
50822012-09-01 Glenn Morris <rgm@gnu.org>
5083
5084 * term.el: Tidy up menu definitions.
5085 (term-mode-map): Use easymenu for In/Out, Complete menus.
5086 (term-pager-break-map): Initialize in the defvar.
5087 (term-terminal-menu, term-signals-menu): Define with easymenu.
5088 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
5089 (term-pager-menu): New, extracted from term-process-pager.
5090 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
5091 (term-update-mode-line): Propertize line/char and page items.
5092 (term-process-pager): Move keymap initialization elsewhere.
5093
78dd6ab1
MR
50942012-09-01 Martin Rudalics <rudalics@gmx.at>
5095
5096 * window.el (switch-to-prev-buffer): Handle additional values of
5097 BURY-OR-KILL argument. Don't switch in minibuffer window.
5098 (switch-to-next-buffer): Don't switch in minibuffer window.
5099 (quit-restore-window): New function based on quit-window.
5100 Handle additional values of former KILL argument.
5101 (quit-window): Call quit-restore-window with appropriate
5102 interpretation of KILL argument.
5103 (display-buffer-below-selected): New buffer display action
5104 function.
5105
3d10e134
SM
51062012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
5107
5108 * minibuffer.el (completion-at-point-functions): Complete docstring
5109 (bug#12254).
5110
0e23ef9d
PE
51112012-09-01 Paul Eggert <eggert@cs.ucla.edu>
5112
5113 Better seed support for (random).
5114 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
5115 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
5116 * play/mpuz.el, play/tetris.el, play/zone.el:
5117 * calc/calc-comb.el (math-init-random-base):
5118 * play/blackbox.el (bb-init-board):
5119 * play/life.el (life):
5120 * server.el (server-use-tcp):
5121 * type-break.el (type-break):
5122 Remove unnecessary call to (random t).
5123 * net/sasl.el (sasl-unique-id-function):
5124 Change (random t) to (random), now that the latter is more random.
5125 * play/life.el (life-initialized): Remove no-longer-needed var.
5126
862382df
MR
51272012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
5128
5129 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
5130 Consider frame's buffer predicate when choosing the buffer.
5131 (Bug#12081)
5132
262a66e1
RS
51332012-08-30 Richard Stallman <rms@gnu.org>
5134
5135 * simple.el (special-mode-map): Delete binding for `z'.
5136
f17e1d00
AS
51372012-08-30 Andreas Schwab <schwab@linux-m68k.org>
5138
5139 * progmodes/compile.el (compilation-always-kill): Doc fix.
5140
24777832
CY
51412012-08-30 Chong Yidong <cyd@gnu.org>
5142
5143 * window.el (display-buffer-reuse-frames): Make the obsolescence
5144 message more informative.
5145
69ba1f04
GM
51462012-08-30 Glenn Morris <rgm@gnu.org>
5147
5148 * paren.el (show-paren-delay):
5149 Add a :set function. Doc fix. (Bug#12297)
5150
f0019ede
MB
51512012-08-29 Martin Blais <blais@furius.ca> (tiny change)
5152
5153 * progmodes/compile.el (compilation-always-kill): New var.
5154 (compilation-start): Use it.
5155
35e62fc9
SM
51562012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
5157
af070a1c
SM
5158 * simple.el (read-only-mode): Move from files.el for bootstrapping.
5159 * files.el (read-only-mode): Move to simple.el.
5160
35e62fc9
SM
5161 * files.el (read-only-mode): New minor mode.
5162 (toggle-read-only): Use it and mark obsolete.
5163 (find-file--read-only):
5164 * vc/vc.el (vc-next-action, vc-checkout):
5165 * vc/vc-cvs.el (vc-cvs-checkout):
5166 * obsolete/vc-mcvs.el (vc-mcvs-update):
5167 * ffap.el (ffap--toggle-read-only): Update callers.
5168
c2c43c23
MA
51692012-08-29 Michael Albinus <michael.albinus@gmx.de>
5170
5171 * eshell/esh-ext.el (eshell-external-command): Do not examine
972debf2
SM
5172 remote shell scripts.
5173 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
c2c43c23
MA
5174
5175 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
5176 "/usr/local/sbin".
5177
9fba804b
SM
51782012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
5179
5180 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
5181
eada0861 51822012-08-28 Leo Liu <sdl.web@gmail.com>
22ab32ef 5183
806f0cc7
LL
5184 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
5185 completion-at-point. (Bug#12220)
5186
3bb213b9
LL
5187 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
5188
22ab32ef
LL
5189 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
5190
eada0861 51912012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
db148c21 5192
19c17fc1
CY
5193 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
5194 be buffer-local; add delete-trailing-whitespace (bug#12259).
db148c21 5195
eada0861 51962012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
ffe6eaf1
JM
5197
5198 * progmodes/hideif.el (hif-compress-define-list):
5199 Fix typo. (Bug#11951)
5200
eada0861 52012012-08-28 Dan Nicolaescu <dann@gnu.org>
d30aca1b
DN
5202
5203 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
5204 buffer local setting.
5205
27d6c5a8
LL
5206 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
5207 rcirc-encode-coding-system.
5208
eada0861 52092012-08-28 Leo Liu <sdl.web@gmail.com>
4432d2e2
LL
5210
5211 * net/rcirc.el (rcirc-split-message): New function.
5212 (rcirc-send-message): Use it. (Bug#12051)
5213
d44688e4
JL
52142012-08-28 Juri Linkov <juri@jurta.org>
5215
5216 * info.el (Info-fontify-node): Hide empty lines at the end of
5217 the node. (Bug#12272)
5218
34f10d41
MR
52192012-08-27 Drew Adams <drew.adams@oracle.com>
5220
5221 * dired.el (dired-pop-to-buffer): Make window start at beginning
5222 of buffer (Bug#12281).
5223
77f1f99c
CY
52242012-08-26 Chong Yidong <cyd@gnu.org>
5225
5226 * window.el (special-display-regexps, special-display-frame-alist)
5227 (special-display-buffer-names, special-display-function)
5228 (display-buffer-reuse-frames): Mark as obsolete.
5229
5230 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
5231
5232 * help.el (help-print-return-message): Don't treat
5233 display-buffer-reuse-frames specially.
5234
d97af5a0
CY
52352012-08-26 Chong Yidong <cyd@gnu.org>
5236
9fba804b
SM
5237 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
5238 New variable, replacing gdb-frame-parameters.
d97af5a0
CY
5239 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
5240 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
5241 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
5242 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
5243 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
5244 the functions directly with gdb-display-buffer-other-frame-action.
5245 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
5246 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
5247 (gdb-display-stack-buffer, gdb-display-locals-buffer)
5248 (gdb-display-registers-buffer): Define directly.
5249 (def-gdb-display-buffer): Macro deleted.
5250 (gdb-display-buffer): Remove second and third args, callers don't
5251 use them. Defer to the default display-buffer behavior, apart
5252 from making windows dedicated.
5253 (gdb-setup-windows): Don't call display-buffer unnecessarily.
5254
5255 * progmodes/gud.el (gud-display-line): Just use display-buffer.
5256
5257 * window.el (display-buffer-pop-up-frame): Handle a
5258 pop-up-frame-parameters alist entry.
5259 (display-buffer): Document it.
5260
dd7ffad6
CY
52612012-08-26 Chong Yidong <cyd@gnu.org>
5262
5263 * isearch.el (search-whitespace-regexp): Make string and nil
5264 values apply to both ordinary and regexp search. Allow a cons
5265 cell value to distinguish between the two.
5266 (isearch-whitespace-regexp, isearch-search-forward)
5267 (isearch-search-backward): New functions.
5268 (isearch-occur, isearch-search-fun-default, isearch-search)
5269 (isearch-lazy-highlight-new-loop): Use them.
5270 (isearch-forward, isearch-forward-regexp): Doc fix.
5271
4c47bd1e
CY
52722012-08-26 Chong Yidong <cyd@gnu.org>
5273
5274 * faces.el (help-argument-name): Always inherit from italic
5275 (Bug#12213).
5276
9aba119d
MR
52772012-08-25 Martin Rudalics <rudalics@gmx.at>
5278
5279 * window.el (window--even-window-heights): Even heights when
5280 WINDOW and the selected window form a vertical combination.
5281 (display-buffer-use-some-window): Provide that window used gets
5282 sized back by quit-window. (Bug#11880) and (Bug#12091)
5283
ca5256ad
PE
52842012-08-24 Paul Eggert <eggert@cs.ucla.edu>
5285
5286 Fix file time stamp problem with bzr and CVS (Bug#12001).
5287 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
5288 in the file's time stamp, since the version control system loses
5289 that information.
5290
d1c0d176
JL
52912012-08-22 Juri Linkov <juri@jurta.org>
5292
5293 * info.el (Info-fontify-node): Hide the suffix of the
5294 Info file name in the header line. (Bug#12187)
5295
141562ff
GM
52962012-08-22 Glenn Morris <rgm@gnu.org>
5297
5298 * calendar/cal-tex.el (cal-tex-weekly-common):
5299 Restore leading blank page.
5300
3a21537c 53012012-08-22 Le Wang <l26wang@gmail.com>
add9ca2d
BG
5302
5303 * misc.el (forward-to-word, backward-to-word): Activate or extend
61a48e19
GM
5304 the region under `shift-select-mode'. (Bug#12231)
5305
53062012-08-22 Bastien Guerry <bzg@gnu.org>
0fcd3d9f
BG
5307
5308 * progmodes/executable.el (executable-prefix): Set to "#!" instead
5309 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
5310 gives details on why the space is never needed.
5311
ea95074e
MR
53122012-08-22 Martin Rudalics <rudalics@gmx.at>
5313
9fba804b
SM
5314 * window.el (walk-window-tree, window-with-parameter):
5315 New optional argument MINIBUF to control whether these functions
ea95074e
MR
5316 should run on the minibuffer window.
5317 (window-at-side-list): Don't operate on minibuffer window.
5318 (window-in-direction): Simplify and rewrite doc-string.
9fba804b
SM
5319 (window--size-ignore): Rename to window--size-ignore-p.
5320 Update callers.
caceae25
MR
5321 (display-buffer-in-atom-window, window--major-non-side-window)
5322 (window--major-side-window, display-buffer-in-major-side-window)
9fba804b
SM
5323 (delete-side-window, display-buffer-in-side-window):
5324 New functions.
caceae25
MR
5325 (window--side-check, window-deletable-p, delete-window)
5326 (delete-other-windows, split-window): Handle side windows and
5327 atomic windows appropriately.
5328 (window--display-buffer): Call display-buffer-record-window also
5329 when the window buffer did not change.
ea95074e 5330
80a51fa0
CS
53312012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
5332
5333 * help-fns.el (help-fns--key-bindings):
5334 Abbreviate non-symbol remap targets. (Bug#12174)
5335
fbb6300b
MR
53362012-08-22 Martin Rudalics <rudalics@gmx.at>
5337
5338 * dired.el (dired-mark-remembered): Don't clobber point.
5339 (Bug#11795)
5340
2b2c0794
GM
53412012-08-22 Glenn Morris <rgm@gnu.org>
5342
5343 * progmodes/bug-reference.el (bug-reference): New custom group.
5344 (bug-reference-bug-regexp): Make it a defcustom.
5345
37219830
DU
53462012-08-22 Daiki Ueno <ueno@unixuser.org>
5347
5348 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
5349 (js-paren-indent-offset, js-square-indent-offset)
5350 (js-curly-indent-offset): Add :safe (Bug#12257).
5351
94e0e559
EC
53522012-08-22 Edward O'Connor <hober0@gmail.com>
5353
5354 * json.el (json-key-format): Add error properties.
5355 (json-encode-key): New function.
5356 (json-encode-hash-table, json-encode-alist, json-encode-plist):
5357 Use json-encode-key.
5358
da485f5e
GM
53592012-08-22 Glenn Morris <rgm@gnu.org>
5360
5361 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
5362 (cal-tex-leftday, cal-tex-rightday): Remove functions.
5363 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
5364 Update for above change.
5365
c6cc78b8
AS
53662012-08-21 Andreas Schwab <schwab@linux-m68k.org>
5367
5368 * cus-face.el (custom-face-attributes): Fix customize type for the
5369 :underline attribute. (Bug#11805)
5370
5481664a
MR
53712012-08-21 Martin Rudalics <rudalics@gmx.at>
5372
5373 * window.el (window-point-1, set-window-point-1): Remove.
5374 (window-in-direction, record-window-buffer)
5375 (set-window-buffer-start-and-point, split-window-below)
9fba804b
SM
5376 (window--state-get-1, display-buffer-record-window):
5377 Replace calls to window-point-1 and set-window-point-1 by calls to
5481664a
MR
5378 window-point and set-window-point respectively.
5379
6d74698e
GM
53802012-08-21 Glenn Morris <rgm@gnu.org>
5381
b7fa2691
GM
5382 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
5383 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
5384 Use it.
5385
52f56d5a
GM
5386 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
5387 (cal-tex-shortday): New function.
5388 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
5389 (cal-tex-cursor-filofax-daily): Use the above.
5390
9f1ee09e
GM
5391 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
5392 New functions.
5393 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
5394 (cal-tex-cursor-filofax-week): Use them.
5395
79858159
GM
5396 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
5397 New constants.
5398 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
5399 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
5400
d346b2b4
GM
5401 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
5402 (cal-tex-end-document): Don't rely on buffer name.
5403
b2403709
GM
5404 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
5405 Use cal-tex-vspace.
5406 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
5407 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
2d225a3a
GM
5408 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
5409 Use cal-tex-arg.
b2403709 5410
1cebb5c0
GM
5411 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
5412 (cal-tex-cursor-week, cal-tex-cursor-week2)
5413 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
5414 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
5415 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
5416 (cal-tex-insert-preamble, cal-tex-b-document)
5417 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
5418 Improve cal-tex-cmd usage.
5419
c68cd5d4
GM
5420 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
5421 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
5422 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
5423 (cal-tex-weekly-paper): New function.
5424 (cal-tex-cursor-week, cal-tex-cursor-week2)
5425 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
5426 (cal-tex-cursor-day): Use it.
5427
9dca4801
GM
5428 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
5429 (cal-tex-cursor-filofax-week): Remove leading blank page.
5430
1941e134
GM
5431 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
5432 Add autoload cookie. For now at least, don't use color, since
5433 no other cal-tex function does.
5434
6d74698e
GM
5435 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
5436 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
5437 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
5438
64cde199
JL
54392012-08-21 Juri Linkov <juri@jurta.org>
5440
5441 * info.el (Info-file-attributes): New variable.
5442 (info-insert-file-contents): Add file attributes to
5443 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
5444 `Info-toc-nodes' when previous modtime of the Info file is less
5445 than new modtime.
5446 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
5447 of info.el. (Bug#12230)
5448
32757648
GM
54492012-08-20 Glenn Morris <rgm@gnu.org>
5450
5451 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
5452 * calendar/holidays.el (calendar-holiday-list):
5453 Report errors with display-warning rather than beep'n'sleep.
5454
a32fbbcf
MA
54552012-08-20 Michael Albinus <michael.albinus@gmx.de>
5456
5457 * net/tramp.el (tramp-accept-process-output): Accept only output
5458 from PROC. Otherwise, process filters and sentinels might be
5459 confused. (Bug#12145)
5460
a05731a0
CY
54612012-08-20 Chong Yidong <cyd@gnu.org>
5462
5463 * descr-text.el (describe-text-properties-1): Use overlays-in to
5464 report on empty overlays (Bug#3322).
5465
36e8d1eb
GM
54662012-08-20 Glenn Morris <rgm@gnu.org>
5467
3d300447
GM
5468 * mail/rmailout.el (rmail-output-read-file-name):
5469 Trap and report errors in rmail-output-file-alist elements.
5470
36e8d1eb
GM
5471 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
5472 since most non-font-lock faces are not also variables).
5473
b96e5814
ER
54742012-08-20 Edward Reingold <reingold@iit.edu>
5475
5476 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
5477 New function. (Bug12160)
5478
7cef3569
GM
54792012-08-19 Glenn Morris <rgm@gnu.org>
5480
5481 * mail/rmailout.el (rmail-output-read-file-name):
5482 Fix previous change (when the alist is nil or does not match).
5483
17975d7f
CY
54842012-08-19 Chong Yidong <cyd@gnu.org>
5485
5486 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
5487 (Bug#12228).
5488
2170b1bd
CY
54892012-08-18 Chong Yidong <cyd@gnu.org>
5490
5491 * simple.el (yank-handled-properties): New defcustom.
5492 (yank-excluded-properties): Add font-lock-face and category.
5493 (yank): Doc fix.
5494
9fba804b
SM
5495 * subr.el (remove-yank-excluded-properties):
5496 Obey yank-handled-properties. The special handling of font-lock-face
2170b1bd
CY
5497 and category is now done this way, instead of being hard-coded.
5498 (insert-for-yank-1): Remove font-lock-face handling.
5499 (yank-handle-font-lock-face-property)
5500 (yank-handle-category-property): New function.
5501
ee218151
GM
55022012-08-17 Glenn Morris <rgm@gnu.org>
5503
5504 * mail/rmailout.el (rmail-output-read-file-name):
5505 Check rmail-output-file-alist against the full message body
5506 in the correct rmail buffer. (Bug#12214)
5507
4a6bc3fd
MA
55082012-08-17 Michael Albinus <michael.albinus@gmx.de>
5509
9fba804b
SM
5510 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
5511 Eliminate superfluous prompt. (Bug#12203)
4a6bc3fd 5512
383dcbf9
CY
55132012-08-17 Chong Yidong <cyd@gnu.org>
5514
5515 * mouse.el (mouse-appearance-menu): If x-select-font returns a
5516 font spec, set the font directly (Bug#3228).
5517
998c4a6a
MR
55182012-08-17 Martin Rudalics <rudalics@gmx.at>
5519
5520 * window.el (delete-window): Fix last fix.
5521
52162052
MR
55222012-08-16 Martin Rudalics <rudalics@gmx.at>
5523
5524 * window.el (window-valid-p): Move to window.c.
85c2386b
MR
5525 (window-child, window-child-count, window-last-child)
5526 (window-normalize-window, window-combined-p)
5527 (window-combinations, window-atom-root, window-min-size)
5528 (window-sizable, window-sizable-p, window-size-fixed-p)
5529 (window-min-delta, window-max-delta, window--resizable)
5530 (window--resizable-p, window-resizable, window-total-size)
5531 (window-full-height-p, window-full-width-p, window-body-size)
5532 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
5533 (minimize-window, window-deletable-p, delete-window)
5534 (delete-other-windows, set-window-buffer-start-and-point)
5535 (next-buffer, previous-buffer, split-window, balance-windows-2)
5536 (set-window-text-height, window-buffer-height)
5537 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
9fba804b
SM
5538 (truncated-partial-width-window-p): Minor code adjustments.
5539 In doc-strings state whether the argument window has to denote a
85c2386b 5540 live, valid or any window.
52162052 5541
1c308380
PS
55422012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
5543
5544 * progmodes/subword.el (subword-forward-function)
5545 (subword-backward-function, subword-forward-regexp)
5546 (subword-backward-regexp): New variables.
5547 (subword-forward, subword-forward-internal, subword-backward-internal):
5548 Use new variables, eg so that different "word" definitions
5549 can be easily used. (Bug#11411)
5550
94c9ece1
SM
55512012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
5552
5553 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
5554 for composite selectors.
5555 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
5556 operation just because we can't find a previous revision.
5557
f2045622
CY
55582012-08-15 Chong Yidong <cyd@gnu.org>
5559
5560 * frame.el (set-frame-font): Accept font objects.
5561
582db660
SM
55622012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
5563
5564 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
5565
2f29c200
WJ
55662012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
5567
456e62c2
WJ
5568 * man.el (Man-overstrike-face, Man-underline-face)
5569 (Man-reverse-face): Remove variables.
5570 (Man-overstrike, Man-underline, Man-reverse): New faces.
5571 (Man-fontify-manpage): Use them instead of the variables.
5572 (Man-cleanup-manpage): Comment change.
5573 (Man-ansi-color-map): New variable.
5574 (Man-fontify-manpage): Use it.
5575 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
5576
2f29c200
WJ
5577 Implement ANSI SGR parameters 22-27 (bug#12146).
5578 * ansi-color.el (ansi-colors): Doc fix.
5579 (ansi-color-context, ansi-color-context-region): Doc fix.
5580 (ansi-color--find-face): New function.
5581 (ansi-color-apply, ansi-color-apply-on-region): Use it.
5582 Rename the local variable `face' to `codes' since it is now a list of
5583 ansi codes. Doc fix.
5584 (ansi-color-get-face): Remove.
5585 (ansi-color-parse-sequence): New function, derived from
5586 ansi-color-get-face.
5587 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
5588 codes 22-27.
5589
b4f5e9df
SM
55902012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
5591
5592 * subr.el (read-passwd): Allow use from a minibuffer.
5593
ba025fbd
EZ
55942012-08-14 Eli Zaretskii <eliz@gnu.org>
5595
5596 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
5597 inside comments and strings as identifiers.
5598
5599 * progmodes/gud.el (gud-tooltip-print-command): Quote the
5600 expression to evaluate. This allows to evaluate expressions with
5601 embedded whitespace.
5602 (gud-tooltip-tips): Add a blank before the newline in the
5603 message-box text, for the benefit of message-box emulation on
5604 MS-Windows.
5605
5606 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
5607 messages from GDB, pop them up in a tooltip to give feedback to
5608 user.
b4f5e9df
SM
5609 (gdb-tooltip-print-1): Quote the expression to evaluate.
5610 This allows to evaluate expressions with embedded whitespace.
ba025fbd
EZ
5611 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
5612 if the TTY name is nil or empty (which happens when communicating
5613 with the inferior via pipes, e.g. on MS-Windows).
5614 (gdb-internals): If GDB sends a "&\n" empty debugging message,
5615 don't send that to the GUD buffer.
5616
c548f821
GM
56172012-08-14 Glenn Morris <rgm@gnu.org>
5618
5619 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
5620 Optimize away setq-default with no args, as for setq. (Bug#12195)
5621
55802e4a
CY
56222012-08-14 Chong Yidong <cyd@gnu.org>
5623
4abcdac8
CY
5624 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
5625
55802e4a
CY
5626 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
5627 (Bug#12085).
5628
3c3cda1a
GM
56292012-08-14 Glenn Morris <rgm@gnu.org>
5630
5631 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
5632
e1873bd0
MA
56332012-08-14 Michael Albinus <michael.albinus@gmx.de>
5634
5635 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
5636 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
5637 Use cached shell name.
5638
925411b4
FEG
56392012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
5640
5641 * progmodes/python.el (python-shell-send-string):
3c3cda1a 5642 (python-shell-send-setup-code): Do not use `format' with `message'.
925411b4 5643
e636fafe
DG
56442012-08-14 Dmitry Gutov <dgutov@yandex.ru>
5645
5646 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
5647 (ruby-percent-literal-beg-re): New constant.
5648 (ruby-syntax-general-delimiters-goto-beg): Rename to
5649 `ruby-syntax-enclosing-percent-literal', improve literal type check.
5650 (ruby-syntax-propertize-general-delimiters): Rename to
5651 `ruby-syntax-propertize-percent-literal', it's a shorter and more
5652 popular term. Adjust comments everywhere.
5653 (ruby-syntax-propertize-percent-literal): Only propertize when not
5654 inside a simple string or comment. When the literal is unclosed,
5655 leave the text after it unpropertized.
f063063a
DG
5656 (ruby-syntax-methods-before-regexp): New constant.
5657 (ruby-syntax-propertize-function): Use it to recognize regexps.
5658 Don't look at the text after regexp, just use the whitelist.
e636fafe 5659
e5b19827
AS
56602012-08-14 Andreas Schwab <schwab@linux-m68k.org>
5661
5662 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
5663 non-nil always load the compiled file if it exists. (Bug#12197)
5664
a9f6f311
CY
56652012-08-14 Chong Yidong <cyd@gnu.org>
5666
5667 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
5668 (hi-lock-set-pattern): When deciding whether to use font lock or
5669 overlays, look at font-lock-mode instead of font-lock-fontified
5670 (Bug#12168).
5671 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
5672 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
5673
7d806b1e
DU
56742012-08-14 Daiki Ueno <ueno@unixuser.org>
5675
5676 * subr.el (internal--after-with-selected-window): Fix typo
5677 (Bug#12193).
5678
5beed586
FEG
56792012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
5680
5681 Use `completion-table-dynamic' for completion functions.
5682 * progmodes/python.el
5683 (python-shell-completion--do-completion-at-point)
e636fafe
DG
5684 (python-shell-completion--get-completions):
5685 Remove functions.
5beed586
FEG
5686 (python-shell-completion-complete-at-point): New function.
5687 (python-completion-complete-at-point): Use it.
5688
92cb3b04
J
56892012-08-13 Jambunathan K <kjambunathan@gmail.com>
5690
5691 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
5692 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
5693
89660017
SM
56942012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
5695
3c98c962
SM
5696 * subr.el (function-get): Refine `autoload' arg so it can also
5697 autoload functions for gv.el (bug#12191).
5698 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
5699 autoloads macros.
5700
aa7c6dbe
SM
5701 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
5702 Prefer pcase-let over destructuring-bind.
5703 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
5704 Also, remove whitespace as we go, rather than after accumulating the
5705 various places.
5706
89660017
SM
5707 * subr.el (internal--before-with-selected-window)
5708 (internal--after-with-selected-window): Fix typo seleted->selected.
5709 (with-selected-window): Adjust callers.
5710 Reported by Dmitry Gutov <dgutov@yandex.ru>.
5711
31cd32c9
BG
57122012-08-13 Bastien Guerry <bzg@gnu.org>
5713
0fcd3d9f 5714 * window.el (special-display-popup-frame): Minor docstring
31cd32c9
BG
5715 enhancement. (Bug#12172)
5716
1b15d8ad
AS
57172012-08-13 Andreas Schwab <schwab@linux-m68k.org>
5718
31e54db0
AS
5719 * tar-mode.el (tar-header-data-end): Only ignore size for files of
5720 type 1-6.
5721 (tar-header-block-summarize, tar-get-descriptor): Handle pax
5722 extended headers.
5723
1b15d8ad
AS
5724 * files.el (hack-local-variables-filter): Remove useless eval.
5725
35cb9c06
MR
57262012-08-13 Martin Rudalics <rudalics@gmx.at>
5727
5728 * subr.el (with-selected-window): Fix last change.
5729
1439443b
SM
57302012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
5731
5732 * subr.el (internal--before-with-seleted-window)
5733 (internal--after-with-seleted-window): New functions.
1b15d8ad
AS
5734 (with-selected-window): Use them, to replace dependency on
5735 tty-top-frame.
1439443b 5736
0d9e2599
NN
57372012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
5738
5739 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
5740 binding for `newline'.
5741 (ruby-move-to-block): When moving backward, stop at block opening,
5742 not indentation.
5743 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
5744 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
5745 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
5746 `ruby-toggle-block'.
5747
ba10c48c
SM
57482012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
5749
5750 * ibuffer.el (ibuffer-do-toggle-read-only):
5751 * dired.el (dired-toggle-read-only):
5752 * buff-menu.el (Buffer-menu-toggle-read-only):
5753 * bindings.el (mode-line-toggle-read-only):
5754 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
5755
9229c658
AS
57562012-08-12 Andreas Schwab <schwab@linux-m68k.org>
5757
5758 * descr-text.el (describe-char): Put the overlays over the
5759 "displayed as" character.
5760
0fd09128
JB
57612012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
5762
5763 * calc/calc-units.el (math-default-units-table): Give an
5764 initial value.
5765 (math-put-default-units): Add options to put composite units and
5766 unit systems in the default units table.
5767 (calc-convert-units): Send composite units to
5768 `math-put-default-units' when appropriate.
5769
9ff9402d 57702012-08-11 Glenn Morris <rgm@gnu.org>
7aacaf15 5771
fbb5e336
GM
5772 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
5773
7aacaf15
GM
5774 * tutorial.el (help-with-tutorial):
5775 * emacs-lisp/copyright.el (copyright-update-directory):
5776 * emacs-lisp/autoload.el (autoload-find-generated-file)
5777 (autoload-find-file): Disable local eval: (for insurance).
5778
f40b9f10
GM
5779 * files.el (hack-local-variables-filter): If an eval: form is not
5780 known to be safe, and enable-local-variables is :safe, then ignore
5781 the form totally, as is done for non-eval forms. (Bug#12155)
6f97980a 5782 This is CVE-2012-3479.
f40b9f10 5783
daa9f1a6
SM
57842012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
5785
5786 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
5787 (rx-form): Simplify.
5788
9cd80478
DG
57892012-08-09 Dmitry Gutov <dgutov@yandex.ru>
5790
0d9e2599
NN
5791 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
5792 ?, _, and : are symbol constituents, ! is not (but kinda should be).
5793 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
5794 (ruby-syntax-propertize-function): Adjust for changes in
5795 `ruby-syntax-propertize-heredoc'.
5796
57972012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
5798
9cd80478
DG
5799 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
5800 binding (use `M-;' instead).
9cd80478 5801 (ruby-singleton-class-p): New function.
0d9e2599 5802 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
9cd80478 5803
d301b413
SM
58042012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
5805
5806 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
5807
1530c98e
CY
58082012-08-10 Chong Yidong <cyd@gnu.org>
5809
5810 * progmodes/python.el (python-shell-get-process-name): Don't mess
5811 with same-window-buffer-names.
5812
5813 * eshell/eshell.el (eshell-add-to-window-buffer-names)
5814 (eshell-remove-from-window-buffer-names): Make obsolete.
5815 (eshell-buffer-name, eshell-unload-hook): Don't use them.
5816 (eshell): Just use pop-to-buffer-same-window instead.
5817
e1293765
CY
58182012-08-10 Chong Yidong <cyd@gnu.org>
5819
5820 * bindings.el: Bind M-= back to count-words-region.
5821
5822 * simple.el (count-words-region): Accept a prefix arg for acting
5823 on the entire buffer.
5824 (count-words--buffer-message): New helper function.
5825
e1894109
SM
58262012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
5827
5828 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
5829 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
5830 (event-start, event-end): Use posn-at-point to return a more
5831 informative posn.
5832 (posnp): New function.
5833 * mouse.el (popup-menu-normalize-position): Use it.
5834
c69f56a2
MY
58352012-08-10 Masatake YAMATO <yamato@redhat.com>
5836
5837 * mouse.el (popup-menu-normalize-position): New function.
5838 (popup-menu): Use `popup-menu-normalize-position' to normalize
5839 the form for POSITION argument.
5840
5841 * term/x-win.el (x-menu-bar-open):
5842 Use the value returend from (posn-at-point) as position
5843 passed to `popup-menu'.
5844
31673780
JB
58452012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
5846
5847 * calc/calccomp.el (math-compose-expr): Add extra argument
5848 indicating that parentheses should be put around products in
5849 denominators. Give multiplication precedence over division during
5850 composition.
5851
dab7711b
CY
58522012-08-09 Chong Yidong <cyd@gnu.org>
5853
dee4ef93
CY
5854 * man.el (Man-switches, Man-sed-command, Man-awk-command)
5855 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
5856 (Man-untabify-command, manual-program): Convert to defcustom
5857 (Bug#10429).
5858
73e2bbc5
CY
5859 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
5860
3e861c8a
CY
5861 * descr-text.el (describe-char): Don't insert extra newlines
5862 (Bug#10127).
5863
a9f5a649
CY
5864 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
5865 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
5866
dab7711b
CY
5867 * align.el (align-region): Delete temporary markers (Bug#10047).
5868 Plus some code cleanups.
5869
e0cc4efa
FEG
58702012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
5871
5872 * progmodes/python.el (python-pdbtrack-tracked-buffer)
5873 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
5874 (python-shell-internal-last-output): Use make-local-variable
5875 instead of make-variable-buffer-local.
5876
489af14f
FEG
58772012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
5878
5879 * progmodes/python.el: Enhancements to forward-sexp.
5880 (python-nav-forward-sexp): Rename from
5881 python-nav-forward-sexp-function.
c69f56a2
MY
5882 (python-nav--forward-sexp, python-nav--backward-sexp):
5883 New functions.
489af14f 5884
0fc50303
JB
58852012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
5886
5887 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
5888 modes and simplification modes.
5889
5d65606a
SM
58902012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
5891
5892 * delsel.el (delete-selection-pre-hook): Don't propagate the
5893 file-supersession signals (bug#12161).
5894
4250fdf5
SM
58952012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
5896
5897 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
5898 (cl-map-extents): Add compatibility aliases (bug#12135).
5899
d9f9b465
MA
59002012-08-08 Michael Albinus <michael.albinus@gmx.de>
5901
5902 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
5903 tests by `ignore-error'.
5904 (tramp-find-shell): Open also a new shell, when cache is already
5905 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
5906
ce0fcefa
JL
59072012-08-08 Juri Linkov <juri@jurta.org>
5908
5909 * bookmark.el: Add `defaults' property to the bookmark record.
5910 (bookmark-current-buffer): Doc fix.
5911 (bookmark-make-record): Add `defaults' property with default values
5912 to the bookmark record.
5913 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
5914 with `bookmark-insert-current-bookmark'.
5915 (bookmark-set): Get `defaults' property from the bookmark record
5916 and use it in `read-from-minibuffer'.
5917 (bookmark-insert-current-bookmark): Remove function.
5918
5919 * info.el (Info-bookmark-make-record): Add `defaults' property
5920 with values of canonical Info node name, the current Info file
5921 name and the current Info node name. (Bug#12107)
5922
53fa8652
JL
59232012-08-08 Juri Linkov <juri@jurta.org>
5924
5925 * files.el (basic-save-buffer): Use `buffer-name' as the default
5926 of `read-file-name' when buffer is not visiting a file (bug#12128).
5927
242c0a95
JL
59282012-08-08 Juri Linkov <juri@jurta.org>
5929
5930 * info.el (Info-isearch-search): Doc fix.
5931 (Info-search): Change search-failed message from "initial node" to
5932 "end of node" (bug#12078).
5933 (Info-isearch-search): Change `isearch-string-state' to
5934 `isearch--state-string'.
5935
32ac3a6b
GM
59362012-08-08 Glenn Morris <rgm@gnu.org>
5937
5938 * language/persian.el: Remove file.
f8c1afd5 5939 * language/misc-lang.el: Move unique part of persian.el here.
32ac3a6b
GM
5940 * loadup.el: Remove language/persian.
5941
2c2d9c9c
OF
59422012-08-08 Óscar Fuentes <ofv@wanadoo.es>
5943
5944 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
5945
2d79ec42
FEG
59462012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
5947
5948 * progmodes/python.el Fixed defsubst warning.
5949 (python-syntax-context) Rename from python-info-ppss-context.
5950 (python-syntax-context-type): Rename from
5951 python-info-ppss-context-type.
5952 (python-syntax-comment-or-string-p): Rename from
5953 python-info-ppss-comment-or-string-p.
5954
2bd255dd
JB
59552012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
5956
5957 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
5958
c395097f
AS
59592012-08-07 Andreas Schwab <schwab@linux-m68k.org>
5960
6125983e
AS
5961 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
5962 a defcustom that is quoted with backquote.
5963
4250fdf5
SM
5964 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
5965 Fix handling of interactive spec when the body uses return.
651eaf36
AS
5966 (math-do-arg-check, math-define-function-body): Use backquote forms.
5967 * calc/calc-ext.el (math-defcache): Likewise.
5968 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
5969 * allout.el (allout-new-exposure): Likewise.
5970 * calc/calcalg2.el (math-tracing-integral): Likewise.
5971 * info.el (Info-last-menu-item): Likewise.
5972 * emulation/vip.el (vip-loop): Likewise.
5973 * textmodes/artist.el (artist-funcall): Likewise.
5974 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
5975 Construct menu-item directly.
5976
4250fdf5
SM
5977 * progmodes/autoconf.el (font-lock-syntactic-keywords):
5978 Don't declare.
c395097f 5979
5fb50dd3
CY
59802012-08-07 Chong Yidong <cyd@gnu.org>
5981
5982 * simple.el (deactivate-mark): Preserve text properties when
5983 saving the primary selection (Bug#8384).
5984
54eea618
KR
59852012-08-07 Kevin Ryde <user42@zip.com.au>
5986
5987 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
5988 (woman-parse-numeric-value): On a bad .IP line, issue a warning
5989 and continue processing (Bug#12110).
5990
638eaeb9
SM
59912012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
5992
5993 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
5994 syntax-propertize-function (bug#10095).
5995
ea376861
SM
59962012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
5997
f91b35be
SM
5998 * help-fns.el (help-fns--key-bindings, help-fns--signature)
5999 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
6000 describe-function-1.
6001 (describe-function-1): Use them. Move compiler macro after sig.
6002 (help-fns--compiler-macro): Use function-get. Assume we're already in
6003 standard-output. Adjust layout to new call order.
6004
ea376861
SM
6005 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
6006 re-binding a symbol that has a symbol-macro (bug#12119).
6007
d5be7bd0
MB
60082012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
6009
6010 * language/persian.el: New file. (Bug#11812)
6011 * loadup.el: Add language/persian.el.
6012
90749b53
CY
60132012-08-06 Chong Yidong <cyd@gnu.org>
6014
6015 * window.el (window--maybe-raise-frame): New function.
6016 (window--display-buffer): Split off from here.
6017 (display-buffer-reuse-window, display-buffer-pop-up-frame)
6018 (display-buffer-pop-up-window, display-buffer-use-some-window):
6019 Obey an inhibit-switch-frame action alist entry.
6020 (display-buffer): Update doc.
6021
6022 * replace.el (occur-after-change-function): Avoid losing focus by
6023 using the inhibit-switch-frame display parameter (Bug#12139).
6024
ba7b0154
FEG
60252012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
6026
6027 Make internal shell process buffer names start with space.
6028 * progmodes/python.el (python-shell-make-comint): Add optional
6029 argument INTERNAL.
6030 (run-python-internal): Use it.
6031 (python-shell-internal-get-or-create-process): Check for new
6032 internal buffer names.
6033
5eaeacb5
GM
60342012-08-06 Glenn Morris <rgm@gnu.org>
6035
e296d94b 6036 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
5eaeacb5
GM
6037 Do less getting and setting of environment variables.
6038
b7ccbdc2
CY
60392012-08-05 Chong Yidong <cyd@gnu.org>
6040
777fe95e
CY
6041 * proced.el (proced): Add substitution string to docstring to
6042 trigger autoloading of the proced library on C-h f (Bug#1768).
6043
4250fdf5
SM
6044 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
6045 Don't show defvars which have no second argument (Bug#8638).
b7ccbdc2
CY
6046
6047 * imenu.el (imenu-generic-expression): Move documentation here
6048 from imenu--generic-function.
6049 (imenu--generic-function): Refer to imenu-generic-expression.
6050
9e3b7800 60512012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
d5c31f1d
6052
6053 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
6054 indentation declaration.
6055 (viper-loop): Add indentation declaration (Bug#7025).
6056
e5d9c0d1
CY
60572012-08-05 Chong Yidong <cyd@gnu.org>
6058
f0422feb
CY
6059 * help-fns.el (describe-variable): Add hyperlink for
6060 directory-local variables files. Improve buffer-local and
6061 permanent-local reporting; suggested by MON KEY (Bug#6644).
6062
6063 * help-mode.el (help-dir-local-var-def): New button type.
6064
e5d9c0d1
CY
6065 * files.el (kill-buffer-hook): Provide a defvar.
6066
a4f2deaa
GM
60672012-08-05 Glenn Morris <rgm@gnu.org>
6068
6069 * eshell/esh-ext.el (eshell/addpath):
6070 Also update eshell-path-env. (Bug#12013)
6071
a9dd5754
CY
60722012-08-05 Chong Yidong <cyd@gnu.org>
6073
a4f2deaa 6074 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
615b0bf0 6075
d014c740
CY
6076 * fringe.el (fringe-styles): Add docstring.
6077 (fringe--check-mode): New function.
6078 (set-fringe-mode, set-fringe-style): Use it.
6079 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
6080
a9dd5754
CY
6081 * files.el (set-auto-mode): Fix invalid setq call.
6082
7c2dc8bd
SM
60832012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
6084
6085 * isearch.el: Misc simplification; use defstruct.
6086 (isearch-mode-map): Dense maps now work like sparse ones.
6087 (isearch--state): New defstruct.
6088 (isearch-string-state, isearch-message-state, isearch-point-state)
6089 (isearch-success-state, isearch-forward-state)
6090 (isearch-other-end-state, isearch-word-state, isearch-error-state)
6091 (isearch-wrapped-state, isearch-barrier-state)
6092 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
6093 replaced by defstruct's accessors.
6094 (isearch--set-state): Rename from isearch-top-state and change
6095 calling convention.
6096 (isearch-push-state): Use new isearch--get-state.
6097 (isearch-toggle-word): Disable regexp when enabling word.
6098 (isearch-message-prefix): Remove unused arg _c-q-hack.
6099 (isearch-message-suffix): Remove unused arg _ellipsis.
6100
7fcc0070
AS
61012012-08-04 Andreas Schwab <schwab@linux-m68k.org>
6102
6103 * simple.el (list-processes--refresh): For a server use :host or
6104 :local as the address.
97ad0769 6105 (list-processes): Doc fix.
7fcc0070 6106
a11035b8 61072012-08-04 Michal Nazarewicz <mina86@mina86.com>
00340faf
MN
6108
6109 * lisp/mpc.el: Support password in host argument.
6110 (mpc--proc-connect): Parse and use new password element.
6111 Set mpc-proc variable instead of returning process.
6112 (mpc-proc): Adjust accordingly.
6113
6dad7178
EZ
61142012-08-03 Eli Zaretskii <eliz@gnu.org>
6115
18949c2f
EZ
6116 * whitespace.el (whitespace-display-mappings): Use Unicode
6117 codepoints, instead of emacs-mule codepoints. See
6118 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
6119 for the details.
6120
6dad7178
EZ
6121 * files.el (file-truename): Don't skip symlink-chasing part on
6122 windows-nt. Incorporate the resolution of 8+3 short aliases on
4250fdf5
SM
6123 Windows into the loop that recursively chases symlinks.
6124 Compare directory and its parent case-insensitively on MS-Windows and
6dad7178
EZ
6125 MS-DOS.
6126
385b0198
CY
61272012-08-03 Chong Yidong <cyd@gnu.org>
6128
6200f3c4
CY
6129 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
6130
385b0198
CY
6131 * sort.el (sort-regexp-fields): Doc fix.
6132
b9e74744
TH
61332012-08-03 Tassilo Horn <tsdh@gnu.org>
6134
6135 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
6136 labels regex position point at the expected place.
6137
41013cb4
MK
61382012-08-03 MON KEY <monkey@sandpframing.com>
6139
6140 * net/imap.el (imap-interactive-login, imap-authenticate)
6141 (imap-mailbox-lsub, imap-mailbox-list)
6142 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
6143 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
6144 (imap-parse-response): Doc fix.
6145
0ffee616
JT
61462012-08-03 João Távora <joaotavora@gmail.com>
6147
6148 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
6149 if sexp scanning does not move point (Bug#5734).
6150
cfcc9cc8
TH
61512012-08-02 Tassilo Horn <tsdh@gnu.org>
6152
6153 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
6154 Add listings, minted, and ctable packages.
6155 (reftex-label-alist-builtin): Move listings, minted, and ctable
6156 entries before LaTeX.
a01bbb84 6157 (reftex-label-alist): Docfix.
cfcc9cc8 6158
66ec2442
BG
61592012-08-02 Bastien Guerry <bzg@gnu.org>
6160
6161 * replace.el (occur): Fix docstring (bug#12122).
6162
837b365b
GM
61632012-08-02 Glenn Morris <rgm@gnu.org>
6164
6165 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
6166
e098de97
PE
61672012-08-02 Paul Eggert <eggert@cs.ucla.edu>
6168
6169 Obsolete alias inactivate-current-input-method-function (Bug#10150).
6170 * international/mule-cmds.el: Create
6171 inactivate-current-input-method-function as an obsolete alias for
6172 deactivate-current-input-method-function. See Katsumi Yamaoka in
6173 <http://bugs.gnu.org/10150#46>.
6174
a0f95636
JB
61752012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
6176
6177 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
6178 of nested `if's.
6179
0d26d7c4
GM
61802012-08-01 Glenn Morris <rgm@gnu.org>
6181
6182 * progmodes/autoconf.el (autoconf-definition-regexp):
6183 Add AH_TEMPLATE, adjust submatch numbering.
6184 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
6185 (autoconf-current-defun-function): Update for above change.
6186 (autoconf-current-defun-function): First skip to end of current word.
6187
b686ba06
RS
61882012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
6189
6190 * calendar/cal-html.el (cal-html-insert-agenda-days):
6191 Fix typo. (Bug#12018)
6192
0d49da68
FEG
61932012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
6194
6195 Shell processes: enhancements to startup and CEDET compatibility.
6196 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
6197 (python-shell-make-comint): accept-process-output at startup.
6198 (run-python-internal): Set inferior-python-mode-hook to nil.
6199 (python-shell-internal-get-or-create-process): call sit-for.
6200 (python-preoutput-result): Add obsolete alias.
6201 (python-shell-internal-send-string): Use it.
6202 (python-shell-send-setup-code): Remove call to
6203 accept-process-output.
6204
f1a71c6e
AS
62052012-07-31 Andreas Schwab <schwab@linux-m68k.org>
6206
6207 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
6208 (Bug#12108)
6209
d2605269
JB
62102012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
6211
6212 * calc-mode.el (calc-basic-simplification-mode): Rename from
6213 `calc-limited-simplification-mode'.
6214 (calc-alg-simplification-mode): New function.
fc0c31f8 6215 (calc-set-simplify-mode): Adjust message.
f1a71c6e 6216
d2605269
JB
6217 * calc.el (calc-set-mode-line): Adjust mode line display for
6218 basic simplification mode.
6219
6220 * calc-help.el (calc-m-prefix-help): Update help message.
6221
6222 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
6223 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
6224
a3827a43
BG
62252012-07-31 Bastien Guerry <bzg@gnu.org>
6226
6227 * man.el (man): Fix comment. (bug#12101)
6228
502e3f89
MR
62292012-07-31 Martin Rudalics <rudalics@gmx.at>
6230
6231 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
6232 Don't return a non-nil value when no suitable buffer was found.
6233
d7714961
FEG
62342012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
6235
6236 * progmodes/python.el (run-python-internal): Disable font lock for
6237 internal shells.
6238
1f45e27e
SM
62392012-07-30 Stefan Merten <smerten@oekonux.de>
6240
70efc5c9 6241 * textmodes/rst.el: Silence `checkdoc-ispell'.
1f45e27e
SM
6242 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
6243 (rst-official-version, rst-official-cvs-rev)
6244 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
6245 (rst-mode-map): New key binding.
6246
0aee6912
PE
62472012-07-30 Paul Eggert <eggert@cs.ucla.edu>
6248
6249 Update .PHONY listings in makefiles.
6250 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
6251 autoloads, update-subdirs, updates, bzr-update, update-authors,
6252 compile-onefile, compile-calc, backup-compiled-files,
6253 compile-after-backup, compile-one-process, mh-autoloads,
6254 bootstrap-clean, distclean, maintainer-clean.
6255
9052f9f0
JB
62562012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
6257
1823ac5a
JB
6258 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
6259 (calc-set-mode-line): Don't display "AlgSimp ".
6260
6261 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
6262 (calc-lim-simplify-mode): New function.
6263 (calc-set-simplify-mode): Default to 'alg.
6264 (calc-default-simplify-mode): Make algebraic simplifications
6265 the default.
6266
6267 * calc/calc-ext.el (calc-init-extensions): Remove binding for
6268 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
6269
8d7c7eed 6270 * calc/calc-help.el (calc-m-prefix-help): Change messages to
4b337409
JB
6271 indicate new simplification modes.
6272
1823ac5a
JB
6273 * calc/README: Mention new default simplification mode.
6274
9052f9f0
JB
6275 * calc/calc.el (math-normalize-error): New variable.
6276 (math-normalize): Set `math-normalize-error' to t
6277 when there's an error.
6278
6279 * calc/calc-alg.el (math-simplify): Don't simplify when
6280 `math-normalize' returns an error.
6281
20ba0cb4
EZ
62822012-07-29 Eli Zaretskii <eliz@gnu.org>
6283
6284 * international/mule-cmds.el (set-locale-environment): Revert last
6285 change, since display-graphic-p returns nil when this function is
6286 called during startup. Instead...
6287
6288 * term/w32console.el (terminal-init-w32console): ...setup the
6289 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
6290
a5dcc929
JL
62912012-07-29 Juri Linkov <juri@jurta.org>
6292
6293 * simple.el (goto-line): Don't display default line number in the
6294 prompt because it should be displayed by `read-number' (bug#9952).
6295 Add the current line number to the defaults of `goto-line' to
6296 allow its easier modification by users with `M-n' (bug#9201).
6297
6298 * subr.el (read-number): Support multiple default values like in
6299 other minibuffer reading functions. Replace `read' with
6300 `string-to-number' for consistency with `number-to-string'.
6301
72b255c7
PE
63022012-07-29 Paul Eggert <eggert@cs.ucla.edu>
6303
6304 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
6305 * emulation/viper-init.el (viper-deactivate-input-method-action):
6306 Rename from viper-inactivate-input-method-action.
6307 (viper-deactivate-input-method):
6308 Rename from viper-inactivate-input-method.
6309 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
6310 * international/mule-cmds.el (deactivate-input-method):
6311 Rename from inactivate-input-method.
6312 Also run input-method-deactivate-hook.
6313 (deactivate-current-input-method-function):
6314 Rename from inactivate-current-input-method-function.
6315 (input-method-deactivate-hook): New hook.
6316 (input-method-inactivate-hook): Mark obsolete.
bb6eb9fc
PE
6317 (inactivate-input-method): Mark obsolete.
6318
72b255c7
PE
6319 * international/quail.el (quail-activate):
6320 Also run quail-deactivate-hook.
6321 (quail-deactivate): Rename from quail-inactivate.
6322 * international/robin.el (robin-activate):
6323 Also run robin-deactivate-hook.
6324 (robin-deactivate): Rename from robin-inactivate.
6325
2549c068
CY
63262012-07-29 Chong Yidong <cyd@gnu.org>
6327
6328 * simple.el (indicate-copied-region): New function.
6329 (kill-ring-save): Split off from here.
6330
6331 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
6332 (kill-rectangle): Set deactivate-mark to t on read-only error.
6333
6334 * register.el (copy-to-register, copy-rectangle-to-register):
6335 Deactivate the mark, and use indicate-copied-region (Bug#10056).
4c478e6b
JL
6336 (append-to-register, prepend-to-register): Call indicate-copied-region.
6337
63382012-07-29 Juri Linkov <juri@jurta.org>
17711ed9
JL
6339
6340 * simple.el (async-shell-command-buffer): New defcustom.
6341 (shell-command): Use it. (Bug#4719)
6342
01bd1b0d
EZ
63432012-07-28 Eli Zaretskii <eliz@gnu.org>
6344
6345 * international/mule-cmds.el (set-locale-environment): In a
6346 console session on MS-Windows, set up keyboard and terminal
6347 encoding from the OEM codepage, not the ANSI codepage.
6348 (Bug#12055)
6349
a55739d3
CY
63502012-07-28 Chong Yidong <cyd@gnu.org>
6351
6352 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
6353 gdb-get-location.
6354
0e1a094f 63552012-07-28 Leo Liu <sdl.web@gmail.com>
9a0f8f2e
LL
6356
6357 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
6358 the alist (bug#12029).
6359
20329d73
EZ
63602012-07-28 Eli Zaretskii <eliz@gnu.org>
6361
6362 * makefile.w32-in (custom-deps, finder-data, updates, compile)
6363 (compile-always, compile-first)
6364 ($(lisp)/calendar/cal-loaddefs.el)
6365 ($(lisp)/calendar/diary-loaddefs.el)
6366 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
6367 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
6368 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
6369 instead of on update-subdirs.
6370 (bootstrap-clean): Delete $(lisp)/subdirs.el.
6371
345a2258
CY
63722012-07-28 Chong Yidong <cyd@gnu.org>
6373
1eee6341
CY
6374 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
6375 directory if vc-deduce-backend returns nil (Bug#7350).
6376
345a2258
CY
6377 * simple.el (delete-trailing-lines): New option.
6378 (delete-trailing-whitespace): Obey it (Bug#11879).
6379
049a0936
DE
63802012-07-28 David Engster <deng@randomsample.de>
6381
6382 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
6383 Explanation of new 'symbol-qnames feature in doc-strings.
6384 (xml-maybe-do-ns): Return expanded names as plain symbols if
6385 'symbol-qnames was provided in XML-NS argument (Bug#11916).
6386 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
6387
aa81af71
FEG
63882012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
6389
6390 Consistent completion in inferior python with emacs -nw.
6391 * progmodes/python.el (inferior-python-mode): replace "<tab>"
6392 binding in inferior-python-mode-map with "\t".
6393 (python-shell-completion-complete-at-point)
6394 (python-completion-complete-at-point): Remove interactive spec.
6395
e827b1eb
JB
63962012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
6397
6398 * calc/calccomp.el (math-compose-expr): Undo previous change.
6399
a90dfb95
FEG
64002012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
6401
4250fdf5 6402 * progmodes/python.el (python-mode-map): Add keybinding for
a90dfb95
FEG
6403 run-python.
6404 (python-shell-make-comint): Fix pop-to-buffer call.
6405 (run-python): Autoload. New arg SHOW.
6406 (python-shell-get-or-create-process): Do not pop python process
6407 buffer.
6408
32770973 64092012-07-27 Michael Albinus <michael.albinus@gmx.de>
1c6ef030
MA
6410
6411 * notifications.el (notifications-on-action-signal)
6412 (notifications-on-closed-signal): Use also the bus address for the map.
6413 (notifications-notify, notifications-close-notification)
fc0c31f8 6414 (notifications-get-capabilities): Add optional argument BUS.
1c6ef030 6415
86332df2
TH
64162012-07-27 Tassilo Horn <tsdh@gnu.org>
6417
4250fdf5
SM
6418 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
6419 Add support for the lstlisting and minted environments, and for the
86332df2
TH
6420 ctable macro.
6421 * textmodes/reftex.el (reftex-compile-variables): Also recognize
6422 labels written in keyvals syntax.
6423
ca1302a4
JB
64242012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
6425
6426 * calc/calccomp.el (math-compose-expr): Use parentheses when
6427 there is a product in the denominator of a fraction.
6428
f8b91036
EZ
64292012-07-26 Eli Zaretskii <eliz@gnu.org>
6430
6431 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
6432 ($(lisp)/calendar/diary-loaddefs.el)
6433 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
4250fdf5
SM
6434 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
6435 Fixes failures in parallel bootstrap because subdirs.el is being
f8b91036
EZ
6436 rewritten while the autoload files are built at the same time,
6437 which needs to load subdirs.el.
6438
c8e5a42c
MR
64392012-07-26 Martin Rudalics <rudalics@gmx.at>
6440
6441 * mouse.el (popup-menu): Fix doc-string and re-indent code.
6442 (mouse-drag-line): Don't exit tracking when a switch-frame or
6443 switch-window event occurs (Bug#12006).
6444
670d85ea
SM
64452012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6446
6447 * mouse.el (popup-menu): Fix last change.
6448
7abaf5cc
SM
64492012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6450
6451 Autoload from Lisp with more care. Follow aliases when looking for
6452 function properties.
6453 * subr.el (autoloadp): New function.
6454 (symbol-file): Use it.
6455 (function-get): New function.
6456 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
6457 autoload-do-load.
6458 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
6459 (lisp-indent-function):
6460 * emacs-lisp/gv.el (gv-get):
6461 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
6462 * emacs-lisp/byte-opt.el (byte-optimize-form):
6463 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
6464 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
6465 Use function-get.
6466 * emacs-lisp/cl.el: Don't propagate function properties any more.
6467
6468 * speedbar.el (speedbar-add-localized-speedbar-support):
6469 * emacs-lisp/disass.el (disassemble-internal):
6470 * desktop.el (desktop-load-file):
6471 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
6472 (describe-function-1):
6473 * emacs-lisp/find-func.el (find-function-noselect):
6474 * emacs-lisp/elp.el (elp-instrument-function):
6475 * emacs-lisp/advice.el (ad-has-proper-definition):
6476 * apropos.el (apropos-safe-documentation, apropos-macrop):
6477 * emacs-lisp/debug.el (debug-on-entry):
6478 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
6479 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
6480 * calc/calc.el (name): Use autoloadp & autoload-do-load.
6481
b1364986
AA
64822012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
6483
6484 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
6485 function, not an obsolete variable (Bug#12046).
6486
67ada220
AS
64872012-07-25 Andreas Schwab <schwab@linux-m68k.org>
6488
6489 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
6490
f08088e3
CS
64912012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
6492
6493 * emacs-lisp/pp.el (pp-display-expression): Select old selected
6494 window only if it is still live (Bug#12034).
6495
8137e7b3
MR
64962012-07-25 Martin Rudalics <rudalics@gmx.at>
6497
6498 * subr.el (redirect-frame-focus): Add advertised calling
6499 convention (Bug#12030).
6500
09ae5da1
PE
65012012-07-25 Paul Eggert <eggert@cs.ucla.edu>
6502
6503 Prefer typical American spelling for "acknowledgment".
6504 * vc/add-log.el (change-log-acknowledgment): Rename from
6505 change-log-acknowledgement, with an alias for the old name.
6506
3cc5a3a8
JB
65072012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
6508
6509 * calc-alg.el (math-simplify-divide): Don't cross multiply
6510 in an equation when the lhs is a variable.
6511
b7af7f62
JD
65122012-07-24 Julien Danjou <julien@danjou.info>
6513
6514 * net/netrc.el (netrc-find-service-number, netrc-store-data):
6515 Remove, unused.
6516
ec1b09b1
EZ
65172012-07-23 Eli Zaretskii <eliz@gnu.org>
6518
6519 * startup.el (command-line): Don't display an empty user name in
6520 the error message about non-existent home directory, when
6521 init-file-user was set to an empty string. See
6522 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
6523 for the details and context.
6524
b525fd8a
VB
65252012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
6526
6527 * ses.el (ses-cell-formula-aset): New macro.
6528 (ses-cell-references-aset): New macro.
6529 (ses-cell-p): New function.
6530 (ses-rename-cell): Do no longer rely on complex operations like
6531 ses-cell-set-formula or ses-set-cell to change the cell and handle
6532 the undo at the same time, but rather use lower level new macros
6533 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
fc0c31f8 6534 the undo directly. Refresh the mode line.
b525fd8a 6535
2c73e345
LL
65362012-07-21 Leo Liu <sdl.web@gmail.com>
6537
670d85ea
SM
6538 * progmodes/cc-cmds.el (c-defun-name):
6539 Use match-string-no-properties instead for consistency.
2c73e345 6540
542dfbde
LL
65412012-07-20 Leo Liu <sdl.web@gmail.com>
6542
3646bcd6
LL
6543 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
6544 (Bug#7879)
6545
542dfbde
LL
6546 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
6547
25721031
CY
65482012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
6549
6550 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
6551 * progmodes/bug-reference.el, misearch.el: Provide themselves
6552 (bug#11915).
6553
6554 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
6555 of narrowed buffer (bug#11966).
6556
316e68a7
VB
65572012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
6558
6559 * ses.el (ses-rename-cell): Set new name also in reference list of
6560 cells of which the renamed cell depends.
6561
bbf0e7d9
MY
65622012-07-20 Masatake YAMATO <yamato@redhat.com>
6563
6564 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
6565 to check whether menu-bar is shown or not. If not shown,
6566 show the menu-bar as a popup menu instead of using tmm.
6567 * mouse.el (popup-menu): Accept `point' as `position' argument.
6568
c28662a8
DG
65692012-07-20 Dmitry Gutov <dgutov@yandex.ru>
6570
6571 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
6572 up inside string symbol literal (bug#11923).
6573
87ab808f
EZ
65742012-07-20 Eli Zaretskii <eliz@gnu.org>
6575
6576 * startup.el (fancy-startup-text): Read the whole tutorial, not
6577 just its first 256 bytes. Prevents gibberish in display of the
6578 tutorial title.
6579
89dea803
DA
65802012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
6581
6582 Drop idle buffer compaction due to an absence of the
6583 proved efficiency.
6584 * compact.el: Remove.
6585
8a4e6db8
SS
65862012-07-19 Sam Steingold <sds@gnu.org>
6587
6588 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
6589 vc-bzr-pull & vc-bzr-merge-branch.
6590 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
6591 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
6592 for consistency with compilation-error-regexp-alist.
6593 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
6594 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
6595 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
6596 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
6597
5db81e33
SM
65982012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
6599
6600 * emacs-lisp/chart.el: Use lexical-binding.
6601 (chart-emacs-storage): Don't hardcode the list of entries.
6602
5b835e1d
DA
66032012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
6604
6605 Next round of tweaks caused by Fgarbage_collect changes.
6606 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
6607
9cd47b72
DA
66082012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
6609
6610 Compact buffers when idle.
6611 * compact.el: New file.
6612
1d6fc0df
SM
66132012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
6614
6615 * subr.el (eventp): Presume that if it looks vaguely like an event,
6616 it's an event (bug#10190).
6617
1d29cc7d
FEG
66182012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
6619
6620 Enhancements to ppss related code (thanks Stefan).
6621 * progmodes/python.el (python-indent-context)
6622 (python-indent-calculate-indentation, python-indent-dedent-line)
6623 (python-indent-electric-colon, python-nav-forward-block)
6624 (python-mode-abbrev-table)
1d6fc0df 6625 (python-info-assignment-continuation-line-p): Simplify checks
1d29cc7d
FEG
6626 for ppss context.
6627 (python-info-continuation-line-p): Cleanup.
6628 (python-info-ppss-context): Do not catch 'quote.
6629 (python-info-ppss-context-type)
6630 (python-info-ppss-comment-or-string-p): Simplify.
6631
d583cbe6
FEG
66322012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
6633
6634 * progmodes/python.el: Enhancements to eldoc support.
6635 (python-info-current-symbol): New function.
6636 (python-eldoc-at-point): Use python-info-current-symbol.
6637 (python-info-current-defun): Fix cornercase on first defun scan.
6638 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
6639 and signal error when no inferior python process is available.
6640
eceb6feb
DG
66412012-07-18 Dmitry Gutov <dgutov@yandex.ru>
6642
6643 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
6644 assume it's always t.
6645 (vc-git-registered): Remove caching, the function is only called
6646 once.
6647 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
6648
4c8ff0fe
CY
66492012-07-18 Chong Yidong <cyd@gnu.org>
6650
19fb7186
CY
6651 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
6652
9587c688
CY
6653 * simple.el (count-words): Report on narrowing (Bug#9959).
6654
0fe776a1
CY
6655 * bindings.el: Bind M-= to count-words.
6656
4c8ff0fe
CY
6657 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
6658
7f5331cc
MY
66592012-07-18 Masatake YAMATO <yamato@redhat.com>
6660
6661 * progmodes/sh-script.el (sh-imenu-generic-expression):
6662 Capture a function with `function' keyword and without parentheses
6663 like "function FOO" (bug#11856).
6664
2dc2a609
TH
66652012-07-18 Tassilo Horn <tassilo@member.fsf.org>
6666
6667 * window.el (split-window-sensibly): Make WINDOW argument
6668 optional.
6669
439f7677
CY
66702012-07-18 Chong Yidong <cyd@gnu.org>
6671
9aeb25a6
CY
6672 * subr.el (keyboard-translate): Doc fix (Bug#7261).
6673
439f7677
CY
6674 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
6675 and make C-x 8 RET exit isearch (Bug#11439).
6676
6677 * international/iso-transl.el: Move isearch-mode-map key
6678 definitions to isearch.el.
6679
12999ea8
SM
66802012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
6681
6682 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
6683 (eieio-defclass): Use gv-define-setter when possible.
6684
3ab6e069
DA
66852012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
6686
6687 Reflect recent changes in Fgarbage_collect.
6688 * emacs-lisp/chart.el (chart-emacs-storage): Change to
6689 reflect new format of data returned by Fgarbage_collect.
6690
0a60bc10
FEG
66912012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
6692
6693 New utility functions + python-info-ppss-context fix (Bug#11910).
6694 * progmodes/python.el (python-info-beginning-of-block-statement-p)
6695 (python-info-ppss-comment-or-string-p): New functions.
6696 (python-info-ppss-context): Small fix for string check.
6697
6dafa0d5
JL
66982012-07-17 Juri Linkov <juri@jurta.org>
6699
6700 * dired-aux.el (dired-do-async-shell-command): Doc fix.
6701 (dired-do-async-shell-command): Don't add `*' at the end of the
6702 command (Bug#11815).
6703 (dired-do-shell-command): Doc fix.
6704 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
6705 Join the individual commands using either "&" or ";" as the
6706 separator depending on the values of these trailing characters.
6707 At the end re-add the trailing "&". (Bug#10598)
6708
6709 * simple.el (async-shell-command): Sync the interactive spec with
6710 `shell-command'. Doc fix.
6711 (shell-command): Doc fix.
6712
b19dd9d1
JL
67132012-07-17 Juri Linkov <juri@jurta.org>
6714
6715 * descr-text.el (describe-char): Fix format args. (Bug#10129)
6716
bcdc27d7 67172012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
7f5331cc 6718
bcdc27d7 6719 Final renames and doc fixes for movement commands (bug#11899).
7f5331cc
MY
6720 * progmodes/python.el (python-nav-beginning-of-statement):
6721 Rename from python-nav-statement-start.
bcdc27d7
FEG
6722 (python-nav-end-of-statement): Rename from
6723 python-nav-statement-end.
6724 (python-nav-beginning-of-block): Rename from
6725 python-nav-block-start.
6726 (python-nav-end-of-block): Rename from python-nav-block-end.
6727
191da00e
FEG
67282012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
6729
7f5331cc
MY
6730 * progmodes/python.el (python-shell-send-string-no-output):
6731 Allow accept-process-output to quit, keeping shell process ready for
191da00e
FEG
6732 future interactions (Bug#11868).
6733
4dc7c8d5 67342012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
aa7aaf8f 6735
88ecaf8f
SM
6736 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
6737
ef501ef0
SM
6738 * emacs-lisp/elint.el (elint-find-args-in-code):
6739 Use help-function-arglist, so as to handle lexical byte-code.
6740
aa7aaf8f
SM
6741 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
6742 change (bug#11826).
6743
45fd731c
SM
67442012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
6745
2143fa32
SM
6746 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
6747 Avoid spuriously marking the buffer as modified because of c-is-sws.
6748
efc26dbe
SM
6749 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
6750 as not-a-comment (bug#11946).
6751
f5695c9a
SM
6752 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
6753 for uninterned vars.
6754
6755 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
6756 Use read-event since we don't really want to read chars but bytes.
6757
45fd731c
SM
6758 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
6759 $$..$$ but also $..$ using regexps (bug#11953).
6760 Use tex-verbatim for \url and \path.
6761 (tex-font-lock-keywords): Define as defconst like the others.
6762 (tex-common-initialization): Don't use font-lock-syntax-table any more.
6763
ddfc8813
RK
67642012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
6765
6766 * international/mule-cmds.el (ucs-insert): Make it an obsolete
6767 alias for insert-char.
6768
758e556a
FEG
67692012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
6770
6771 * progmodes/python.el: Simplified imenu implementation.
6772 (python-nav-jump-to-defun): Remove command.
6773 (python-mode-map): Use `imenu' instead.
6774 (python-nav-list-defun-positions-cache)
6775 (python-imenu-include-defun-type, python-imenu-make-tree)
6776 (python-imenu-subtree-root-label, python-imenu-index-alist):
6777 Remove vars.
6778 (python-nav-list-defun-positions, python-nav-read-defun)
6779 (python-imenu-tree-assoc, python-imenu-make-element-tree)
45fd731c
SM
6780 (python-imenu-make-tree, python-imenu-create-index):
6781 Remove functions.
758e556a
FEG
6782 (python-mode): Update to interact with imenu by setting
6783 `imenu-extract-index-name-function' only.
6784
032d23ab
FEG
67852012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
6786
6787 * progmodes/python.el: Enhancements to navigation commands.
6788 (python-nav-backward-sentence)
6789 (python-nav-forward-sentence): Remove.
6790 (python-nav-backward-statement, python-nav-forward-statement)
6791 (python-nav-statement-start, python-nav-statement-end)
6792 (python-nav-backward-block, python-nav-forward-block)
6793 (python-nav-block-start, python-nav-block-end)
6794 (python-nav-forward-sexp-function)
6795 (python-info-current-line-comment-p)
6796 (python-info-current-line-empty-p): New functions.
6797 (python-indent-context): Use `python-nav-statement-start'.
6798
01795a1b
MA
67992012-07-16 Michael Albinus <michael.albinus@gmx.de>
6800
9328d9aa
MA
6801 * eshell/em-ls.el (eshell/ls): Use `apply'.
6802
6803 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
6804 multi-hops, instead of Tramp internals.
6805
01795a1b
MA
6806 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
6807
6808 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
6809 when F1 and F2 are located on different hosts.
6810
63408057
CY
68112012-07-14 Chong Yidong <cyd@gnu.org>
6812
6813 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
6814 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
6815 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
6816 (xterm-mouse--read-event-sequence-1000)
6817 (xterm-mouse--read-event-sequence-1006): New functions. For old
6818 mouse protocol, handle M-mouse-X events correctly.
6819 (xterm-mouse-event): New arg specifying mouse protocol.
6820 (turn-on-xterm-mouse-tracking-on-terminal)
6821 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
45fd731c
SM
6822 sequence to toggle extended coordinates on newer XTerms.
6823 This appears to be harmless on terminals which do not support this.
63408057 6824
cd276f6e
LL
68252012-07-14 Leo Liu <sdl.web@gmail.com>
6826
28ca98ac
LL
6827 Add fringe bitmap indicators for flymake. (Bug#11253)
6828 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
6829 (flymake-make-overlay): New arg BITMAP.
6830 (flymake-error-bitmap, flymake-warning-bitmap)
6831 (flymake-fringe-indicator-position): New user variables.
6832
cd276f6e
LL
6833 * fringe.el: New bitmap exclamation-mark.
6834
04408072
JD
68352012-07-14 Jan Djärv <jan.h.d@swipnet.se>
6836
6837 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
6838 also (Bug#7879).
6839
b5cf7fc4
CY
68402012-07-14 Chong Yidong <cyd@gnu.org>
6841
6842 * electric.el (electric-pair-post-self-insert-function): Fix pair
6843 insertion in empty-region case (Bug#11520).
6844
be755c79
RT
68452012-07-14 Chong Yidong <cyd@gnu.org>
6846
45fd731c
SM
6847 * bindings.el: Consolidate ctl-x-r-map bindings.
6848 Bind copy-rectangle-as-kill to C-x r w.
be755c79
RT
6849
6850 * rect.el, register.el: Move bindings to bindings.el.
6851
68522012-07-14 Reuben Thomas <rrt@sc3d.org>
6853
6854 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
6855
7f5b3198
AS
68562012-07-13 Andreas Schwab <schwab@linux-m68k.org>
6857
6858 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
6859
97662200
JB
68602012-07-13 Juanma Barranquero <lekktu@gmail.com>
6861
80185fed
JB
6862 * bindings.el (top): Use `mapc' instead of `mapcar'.
6863
97662200
JB
6864 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
6865
2bb1ae55
MA
68662012-07-13 Michael Albinus <michael.albinus@gmx.de>
6867
6868 * progmodes/sql.el (sql-comint): Suppress the check for program on
6869 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
6870 (Bug#11908)
6871
dea31bd3
CY
68722012-07-13 Chong Yidong <cyd@gnu.org>
6873
6874 * bindings.el: Assign a non-nil permanent-local property to
6875 per-buffer variables which lack a default value (Bug#11930).
6876
6877 * help-fns.el (describe-variable): In the "automatically becomes
6878 local" notice, take note of permanent-local variables.
6879
b68b3337
CY
68802012-07-13 Chong Yidong <cyd@gnu.org>
6881
6882 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
6883 to allow printing the message when called from Lisp.
6884
6885 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
6886 Remove toggle-read-only.
6887
6888 * bs.el (bs-toggle-readonly):
45fd731c
SM
6889 * buff-menu.el (Buffer-menu-toggle-read-only):
6890 Remove with-no-warnings around toggle-read-only.
b68b3337
CY
6891
6892 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
6893 Remove with-no-warnings around toggle-read-only.
6894 (ffap-read-only, ffap-read-only-other-window)
6895 (ffap-read-only-other-frame): Callers changed.
6896
6897 * help-mode.el: Don't require view package.
6898 (help-mode-finish): Set buffer-read-only instead of calling
6899 toggle-read-only.
6900
6901 * bindings.el (mode-line-toggle-read-only):
6902 * dired.el (dired-toggle-read-only):
6903 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
6904 with non-nil second arg.
6905
6906 * emacs-lisp/eieio-custom.el (eieio-customize-object):
6907 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
6908 directly.
6909
56bc1586
EZ
69102012-07-12 Eli Zaretskii <eliz@gnu.org>
6911
6912 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
6913 not incf.
6914
a464a6c7
SM
69152012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
6916
6917 More CL cleanups and reduction of use of cl.el.
6918 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
6919 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
6920 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
6921 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
6922 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
6923 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
6924 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
6925 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
6926 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
6927 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
6928 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
6929 * eshell/em-cmpl.el, eshell/em-banner.el:
6930 * calendar/parse-time.el: Use cl-lib.
6931 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
6932 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
6933 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
6934 * term/ns-win.el, term.el, shell.el, ps-samp.el:
6935 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
6936 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
6937 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
6938 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
6939 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
6940 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
6941 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
6942 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
6943 `lambda' rather than with `quote'.
6944 (eshell-do-opt): Adjust accordingly.
6945 (eshell-process-option): Simplify.
6946 * eshell/esh-var.el:
6947 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
6948 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
6949 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
6950 to `pcase--dontcare'.
6951 * emacs-lisp/cl.el (labels): Mark obsolete.
6952 (cl--letf, letf): Move to cl-lib.
6953 (cl--letf*, letf*): Remove.
6954 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
6955 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
6956 (cl-progv): Rewrite.
6957 (cl--letf, cl-letf): Move from cl.el.
6958 (cl-letf*): New macro.
6959 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
6960
7ad4afe1
MA
69612012-07-11 Michael Albinus <michael.albinus@gmx.de>
6962
6963 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
6964
9af57756
CY
69652012-07-11 Chong Yidong <cyd@gnu.org>
6966
6967 * vc/log-edit.el (log-edit-vc-backend): New variable.
6968 (log-edit): Doc fix.
6969
6970 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
6971 argument of log-edit to set up all local variables.
6972 (vc-start-logentry): New optional arg specifying VC backend.
6973
6974 * vc/vc.el (vc-checkin): Use it.
6975 (vc-deduce-fileset): Handle Log Edit buffers.
6976 (vc-diff): Make first argument optional too.
6977
6978 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
6979
8477cc7a
MA
69802012-07-10 Michael Albinus <michael.albinus@gmx.de>
6981
6982 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
6983 command, just in case. The function is not needed anymore.
6984 (eshell-external-command): Do not call `eshell-remote-command'.
6985
19faa8e8
SM
69862012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
6987
f58e0fd5
SM
6988 Reduce use of (require 'cl).
6989 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
6990 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
6991 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
6992 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
6993 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
6994 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
6995 * battery.el, avoid.el, abbrev.el: Use cl-lib.
6996 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
6997 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
6998 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
6999 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
7000 * calculator.el, autorevert.el, apropos.el: Don't require CL.
7001 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
7002 (byte-compile-unfold-bcf, byte-compile-check-variable):
7003 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
7004 (byte-compile-nilconstp):
7005 * emacs-lisp/autoload.el (make-autoload): Use pcase.
7006 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
7007
2519d43a
SM
7008 * emacs-lisp/gv.el (cond): Make it a valid place.
7009 (if): Simplify slightly.
7010
19faa8e8
SM
7011 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
7012 (pcase--self-quoting-p): New function.
7013 (pcase--u1): Use it.
7014
c4907a5e
GM
70152012-07-10 Glenn Morris <rgm@gnu.org>
7016
7017 * emacs-lisp/authors.el (authors-fixed-entries):
7018 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
7019
c4444d16
PE
70202012-07-09 Paul Eggert <eggert@cs.ucla.edu>
7021
7022 Rename configure.in to configure.ac (Bug#11603).
7023 * emacs-lisp/authors.el (authors-canonical-file-name):
7024 * progmodes/autoconf.el (autoconf-mode):
7025 Prefer configure.ac to configure.in.
7026
d75be97d
CY
70272012-07-08 Chong Yidong <cyd@gnu.org>
7028
01ac65bd
CY
7029 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
7030 Implement the mouse-1-click-follows-link handling properly.
7031
7032 * info.el (Info-link-keymap): Use follow-link mechanism for
7033 header-line links (Bug#374).
7034
d75be97d
CY
7035 * simple.el (deactivate-mark): Do not set the primary selection
7036 if another program has acquired it (Bug#11772).
7037
87a92845 70382012-07-07 Kevin Ryde <user42@zip.com.au>
f0ecdfea
KR
7039
7040 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
7041 (woman-decode-region): Replace escaped-escapes without destroying
7042 bold or underline (Bug#11552).
87a92845 7043 (woman2-process-escapes): Handle nofill regions (Bug#11591).
f0ecdfea 7044
621b9d6c
CY
70452012-07-07 Chong Yidong <cyd@gnu.org>
7046
7047 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
19faa8e8
SM
7048 (interprogram-cut-function, interprogram-paste-function):
7049 Mention that we typically mean the clipboard.
621b9d6c 7050
133a11fc
GM
70512012-07-06 Glenn Morris <rgm@gnu.org>
7052
0d27a45e
GM
7053 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
7054
133a11fc
GM
7055 * files.el (toggle-read-only): Restrict message to interactive use.
7056
07b151f1
MA
70572012-07-06 Michael Albinus <michael.albinus@gmx.de>
7058
7059 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
7060
7061 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
7062
211b896b
GM
70632012-07-06 Glenn Morris <rgm@gnu.org>
7064
50394322
GM
7065 * Makefile.in (compile-one-process): Rename from "recompile".
7066
211b896b
GM
7067 * Makefile.in (bzr-update): "compile" is the same as "recompile
7068 autoloads", but parallelizable, so use that instead.
7069
4737eec9
DG
70702012-07-06 Dmitry Gutov <dgutov@yandex.ru>
7071
7072 * window.el (quit-window): Always restore window height when
8137e7b3 7073 it's saved in quit-restore parameter (Bug#11810).
4737eec9 7074
226c3633 70752012-07-06 Glenn Morris <rgm@gnu.org>
cb442973
GM
7076
7077 * simple.el (kill-whole-line): Doc tweak.
7078
226c3633 70792012-07-06 Eli Zaretskii <eliz@gnu.org>
93842198
EZ
7080
7081 * files.el (file-relative-name): Compare file names
7082 case-insensitively if on MS-Windows or MS-DOS, or if
7083 read-file-name-completion-ignore-case is non-nil. Don't use
7084 case-fold-search for this purpose. (Bug#11827)
7085
4dc7c8d5
SM
70862012-07-17 Andreas Schwab <schwab@linux-m68k.org>
7087
7088 * calendar/cal-dst.el (calendar-current-time-zone):
7089 Return calendar-current-time-zone-cache if non-nil.
7090
70912012-07-17 Masatake YAMATO <yamato@redhat.com>
226c3633 70922012-07-06 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 7093
19faa8e8
SM
7094 * calendar/cal-dst.el (calendar-current-time-zone):
7095 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 7096
60198fc9
GM
70972012-07-06 Glenn Morris <rgm@gnu.org>
7098
7099 * Makefile.in (cvs-update): Remove old alias.
7100
957b3189
MA
71012012-07-05 Michael Albinus <michael.albinus@gmx.de>
7102
7103 Sync with Tramp 2.2.6-pre.
7104
7105 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
7106 compatible declaration.
7107
19faa8e8
SM
7108 * net/tramp-cmds.el (tramp-append-tramp-buffers):
7109 Protect `list-load-path-shadows' call.
957b3189
MA
7110
7111 * net/tramp-compat.el (top): Require packages, which aren't
7112 autoloaded anymore for XEmacs. Protect call of
7113 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
7114 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
7115 it hurts at least for SXEmacs.
7116 (tramp-compat-temporary-file-directory): In XEmacs, there is no
7117 standard-value for `temporary-file-directory'.
7118
7119 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
7120 Redirect stderr to /dev/null.
7121 (tramp-sh-handle-write-region): uid and gid can be floats.
7122 Reported by Russell Sim <russell.sim@gmail.com>.
7123 (tramp-sh-handle-vc-registered): Hide errors.
7124 (tramp-vc-file-name-handler): Use dummy results for `process-file'
7125 and `start-file-process'.
7126 (tramp-maybe-open-connection): Check also whether `non-essential'
7127 is bound.
7128
566df3fc
CY
71292012-07-04 Chong Yidong <cyd@gnu.org>
7130
7131 * xml.el (xml--parse-buffer): Use xml-syntax-table.
7132 (xml-parse-tag): Likewise, and avoid changing entity tables.
7133 (xml-syntax-table): Define from scratch, making sure not to give
7134 x2000 and other Unicode spaces whitespace syntax, since those are
7135 not spaces in XML.
7136 (xml-parse-fragment): Delete unused function.
7137 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
7138 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
7139 (xml-entity-ref, xml-pe-reference-re)
7140 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
7141 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
7142 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
7143 (xml-entity-value-re): Use syntax references in regexps where
7144 possible; no need to define inside a let-binding.
7145 (xml-parse-dtd): Use xml-pe-reference-re.
7146 (xml-entity-or-char-ref-re): New defconst.
7147 (xml-parse-string, xml-substitute-special): Use it.
7148
30eabd7a
SM
71492012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
7150
0781098a
SM
7151 * files.el (locate-dominating-file): Allow `name' to be a predicate.
7152 (find-file--read-only): New function.
7153 (find-file-read-only, find-file-read-only-other-window)
7154 (find-file-read-only-other-frame): Use it.
7155 (insert-file-contents-literally): Don't `fset'.
7156 (get-free-disk-space): Use locate-dominating-file.
7157
b5771c0d
SM
7158 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
7159 function is already compiled.
7160
30eabd7a
SM
7161 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
7162
b4886f6e
MA
71632012-07-03 Michael Albinus <michael.albinus@gmx.de>
7164
7165 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
7166 files on the same host.
7167
b9d82339
AS
71682012-07-03 Andreas Schwab <schwab@linux-m68k.org>
7169
7170 * help-fns.el (describe-function-1): Only call
7171 help-fns--autoloaded-p when we have a file name. (Bug#11848)
7172
a76e6535
CY
71732012-07-03 Chong Yidong <cyd@gnu.org>
7174
7175 * xml.el: Protect parser against XML bombs.
7176 (xml-entity-expansion-limit): New variable.
7177 (xml-parse-string, xml-substitute-special): Use it.
7178 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
7179
b544fef2
GM
71802012-07-03 Glenn Morris <rgm@gnu.org>
7181
7182 * progmodes/bug-reference.el (bug-reference-bug-regexp):
7183 Allow linking to specific messages in debbugs reports (eg 123#5).
7184
a7aef6f5
CY
71852012-07-02 Chong Yidong <cyd@gnu.org>
7186
7187 * xml.el: Fix entity and character reference expansion, allowing
7188 them to expand into markup as per XML spec.
7189 (xml-default-ns): New variable.
7190 (xml-entity-alist): Use XML spec definitions for lt and amp.
30eabd7a
SM
7191 (xml-parse-region): Make first two arguments optional.
7192 Discard text properties.
7193 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
7194 All callers changed.
a7aef6f5
CY
7195 (xml-parse-tag): Call xml-parse-tag-1. For backward
7196 compatibility, this function should not modify buffer contents.
7197 (xml-parse-tag-1): Fix opening-tag regexp.
7198 (xml-parse-string): Rewrite, handling entity and character
7199 references properly.
7200 (xml--entity-replacement-text): Signal an error if a parameter
7201 entity is undefined.
7202
3df31c9f
SM
72032012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
7204
2b5208f1
SM
7205 * comint.el (comint-output-filter): Filter out repeated prompts.
7206
3df31c9f
SM
7207 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
7208 and file-name-absolute-p.
7209 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
7210 internal calls.
7211
e3ac1281
PE
72122012-07-02 Paul Eggert <eggert@cs.ucla.edu>
7213
7214 Spelling fixes.
7215 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
7216 Rename from byte-compile--refiy-function. All uses changed.
7217
fbf2e7ad
CY
72182012-07-01 Chong Yidong <cyd@gnu.org>
7219
7220 * xml.el (xml--parse-buffer): New function. Move most of
7221 xml-parse-region here.
7222 (xml-parse-region): Copy region into a temporary buffer, since
7223 parameter entity substitution requires changing buffer contents.
7224 Use xml--parse-buffer.
7225 (xml-parse-file): Use xml--parse-buffer.
7226 (xml-parse-dtd): Make parameter entity substitution work right.
6fe566a7 7227 Use proper regexps for ELEMENT declarations (Bug#7172).
fbf2e7ad 7228
9bf0aa15
GM
72292012-06-30 Glenn Morris <rgm@gnu.org>
7230
bbce2853
GM
7231 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
7232
9bf0aa15
GM
7233 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
7234 Remove outdated and unnecessary dbus declarations.
7235
0d23c240
EZ
72362012-06-30 Eli Zaretskii <eliz@gnu.org>
7237
7238 * emacs-lisp/timer.el (timer-until): Subtract results of
7239 float-time, instead of taking float-time of the result of
7240 time-subtract, since float-time signals an error for negative time
7241 arguments.
7242
b3218de1
CY
72432012-06-30 Chong Yidong <cyd@gnu.org>
7244
7245 * xml.el (xml-*-re): Convert defvars into defconsts, and
7246 eval-and-compile them so eval-and-compile works on derivatives.
7247 (xml--entity-replacement-text): Use eval-and-comple.
7248
a40c87a0
MA
72492012-06-30 Michael Albinus <michael.albinus@gmx.de>
7250
7251 * vc/vc-git.el (vc-git-registered): Use cache property
7252 `git-registered'.
7253 (vc-git-mode-line-string): Call `vc-working-revision' instead of
7254 `vc-git-working-revision' in order to benefit from the cache.
2bb1ae55 7255 (vc-git-root): Use cache property `git-root'. (Bug#11757)
a40c87a0 7256
ac87de97
DG
72572012-06-30 Dmitry Gutov <dgutov@yandex.ru>
7258
7259 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
2bb1ae55 7260 removed (likely outside Emacs). (Bug#11757)
ac87de97 7261
ac10fe06
SM
72622012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
7263
3df31c9f 7264 * emacs-lisp/cl-lib.el: Require macroexp.
ac10fe06 7265
7f3fbd5d
CY
72662012-06-30 Chong Yidong <cyd@gnu.org>
7267
7268 * xml.el: Implement XML parameter entities.
7269 (xml-parameter-entity-alist): New variable.
7270 (xml-parse-region, xml-parse-fragment): Preserve previous values
7271 of xml-entity-alist and xml-parameter-entity-alist, so that
7272 repeated calls on different documents do not change them.
7273 (xml-parse-tag): Fix doctype regexp.
7274 (xml--entity-replacement-text): New function.
7275 (xml-parse-dtd): Use it. Don't handle system entities; doing that
7276 properly requires url retrieval which is unimplemented.
7277 (xml-escape-string): Doc fix.
7278
3cfbebba
SM
72792012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
7280
7281 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
7282
2af3565e
DA
72832012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
7284
7285 * fringe.el (fringe-mode): Doc fix.
7286
929df0e7
MA
72872012-06-29 Michael Albinus <michael.albinus@gmx.de>
7288
7289 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
7290 is non-nil.
7291 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
7292 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
7293
c8d3a25c 72942012-06-29 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 7295
c8d3a25c
GM
7296 * calendar/cal-dst.el (calendar-current-time-zone):
7297 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 7298
c8d3a25c 72992012-06-29 Masatake YAMATO <yamato@redhat.com>
26e8548e
MY
7300
7301 * progmodes/which-func.el (which-func-format):
7302 Add mouse-face. (Bug#11698)
7303
c8d3a25c
GM
73042012-06-29 Leo Liu <sdl.web@gmail.com>
7305
7306 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
7307
73082012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
7309
7310 * minibuffer.el (minibuffer-confirm-exit-commands):
7311 Add completion-at-point (bug#11725).
7312
73132012-06-29 Glenn Morris <rgm@gnu.org>
7314
7315 * progmodes/f90.el (f90-font-lock-keywords-2):
7316 Add some preprocessor elements. (Bug#10499)
7317
73182012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
7319
7320 * progmodes/cperl-mode.el (cperl-update-syntaxification):
7321 Use syntax-propertize (bug#11739).
7322
2badeec4
JB
73232012-06-28 Juanma Barranquero <lekktu@gmail.com>
7324
7325 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
7326
ae4969c2
JD
73272012-06-28 Julien Danjou <julien@danjou.info>
7328
7329 * term.el (term-handle-colors-array): Use a set of new faces to
7330 color the terminal. Also uses :inverse-video property.
7331 (term-default-fg-color): Set to nil by default, deprecate in favor
7332 of `term-face'.
7333 (term-default-bg-color): Set to nil by default, deprecate in favor
7334 of `term-face'.
7335 (term-current-face): Use `term-face' by default.
7336 (term-bold-attribute): Variable deleted.
7337
1c9bd870
GM
73382012-06-28 Glenn Morris <rgm@gnu.org>
7339
7340 * simple.el (completion-list-mode-finish):
7341 Don't use toggle-read-only. (Since completion-list-mode has
7342 a special mode-class, it wasn't doing anything extra anyway.)
7343
c207708c
SM
73442012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
7345
7346 Make inlining of other-mode interpreted functions work (bug#11799).
7347 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
7348 (byte-compile): Use it to fix compilation of lexical-binding closures.
7349 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
7350 function, if needed.
7351
3fd56834
SM
73522012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
7353
04901786
SM
7354 * help-mode.el (help-make-xrefs): Don't just withstand
7355 cyclic-variable-indirection but any error in documentation-property.
7356
1ec4b7b2
SM
7357 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
7358 memory use.
7359 * bindings.el (bindings--define-key): New function.
7360 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
7361 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
7362 * bindings.el: Use it to purecopy define-key bindings.
7363
e309e2a5
SM
7364 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
7365
d5c6faf9
SM
7366 * emacs-lisp/cl.el (flet): Mark obsolete.
7367 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
7368 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
7369 * progmodes/js.el (js-c-fill-paragraph):
7370 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
7371 (ebrowse-switch-member-buffer-to-derived-class):
7372 * play/5x5.el (5x5-solver): Use cl-flet.
7373
6e9590e2
SM
7374 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
7375 (cl--symbol-function): New macro.
7376 (cl--letf, cl--letf*): Use it.
7377
3fd56834
SM
7378 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
7379 Strip "toggle-" if any.
7380
35ff222c
GM
73812012-06-27 Glenn Morris <rgm@gnu.org>
7382
1ba6038a
GM
7383 * info.el (Info-default-directory-list): Move here from paths.el.
7384 * paths.el: Remove file, which is now empty.
7385 * loadup.el: No longer load "paths".
7386
0ea0e51b
GM
7387 * custom.el (custom-initialize-delay): Doc fix.
7388
35ff222c
GM
7389 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
7390 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
7391 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
7392 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
7393 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
7394 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
7395 * eshell/eshell.el (eshell-defgroup): Remove alias.
7396
c89926a5
CY
73972012-06-27 Chong Yidong <cyd@gnu.org>
7398
7399 * help.el (help-enable-auto-load): New variable.
7400
7401 * help-fns.el (help-fns--autoloaded-p): New function.
7402 (describe-function-1): Refer to a function as "autoloaded" if it
7403 was autoloaded at any time in the past. Perform autoloading if
7404 help-enable-auto-load is non-nil.
7405
cc06e7e7
EZ
74062012-06-26 Eli Zaretskii <eliz@gnu.org>
7407
7408 * makefile.w32-in (compile, compile-always): Depend on
7409 update-subdirs, not on subdirs.el. Otherwise, several different
7410 sub-targets of 'bootstrap' running in parallel could
7411 simultaneously write to subdirs.el, producing a garbled file.
7412
d2c32364
SS
74132012-06-26 Sam Steingold <sds@gnu.org>
7414
7415 * files.el (file-name-base): New convenience function.
0d14cc21
GM
7416 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
7417 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
7418 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
7419 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
7420 * textmodes/ispell.el, textmodes/reftex-ref.el:
d2c32364
SS
7421 * textmodes/tex-mode.el: Use it.
7422 Did not touch cedet and org because they are maintained elsewhere.
7423
5cf983b2
MR
74242012-06-26 Martin Rudalics <rudalics@gmx.at>
7425
7426 * calendar/calendar.el (calendar-exit): Don't try to delete or
7427 iconify last frame. See:
7428 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
7429
8c4f2952
JD
74302012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
7431
7432 * server.el (server-process-filter): Remember dir in the
7433 process's `server-client-directory' properties.
7434
772b2e2c
CY
74352012-06-24 Chong Yidong <cyd@gnu.org>
7436
7437 * xml.el (xml-parse-tag): Correctly handle comment embedded in
7438 non-tag text.
7439
711b11e1
JB
74402012-06-23 Juanma Barranquero <lekktu@gmail.com>
7441
7442 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
7443
dc5d230c
SM
74442012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
7445
7446 * help-fns.el (describe-variable): Don't croak when doc is not found.
7447 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
7448 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
7449 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
7450 * emacs-lisp/smie.el (smie-next-sexp): CSE.
7451 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
7452 ((lambda ..) ..).
7453 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
7454
136e1c1d
CY
74552012-06-23 Chong Yidong <cyd@gnu.org>
7456
e8c1cabf
CY
7457 * info.el (Info-mouse-follow-link): Accept symbol values of
7458 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
136e1c1d
CY
7459 (Info-fontify-node): Use Info-link-keymap for all navigation
7460 buttons, with link-args property to perform the desired action.
7461 (Info-link-keymap): Doc fix.
7462 (Info-next-link-keymap, Info-prev-link-keymap)
7463 (Info-up-link-keymap): Delete now-unused keymaps.
7464
0e9e6c6a
CY
74652012-06-23 Chong Yidong <cyd@gnu.org>
7466
05e89fea
CY
7467 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
7468
0e9e6c6a
CY
7469 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
7470 system abbrevs.
7471
7472 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
7473
e33c6771
SM
74742012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
7475
b68581e2
SM
7476 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
7477 (bug#11719).
7478
e33c6771
SM
7479 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
7480 the requote function doesn't work properly (bug#11714).
7481
7117e105
GM
74822012-06-23 Glenn Morris <rgm@gnu.org>
7483
7484 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
7485
36cec983
SM
74862012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
7487
7488 Further GV/CL cleanups.
7489 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
7490 gv-expander.
7491 (gv--defun-declaration): New function.
7492 (defun-declarations-alist): Use it.
7493 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
7494 (gv-place): Autoload.
7495 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
7496 original definition of dotimes and dolist.
7497 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
7498 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
7499 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
7500 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
7501 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
7502 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
7503 to the function's definition.
7504 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
7505 * window.el:
7506 * files.el:
7507 * faces.el:
7508 * env.el: Don't use CL.
7509
d35af63c
PE
75102012-06-22 Paul Eggert <eggert@cs.ucla.edu>
7511
7512 Support higher-resolution time stamps (Bug#9000).
7513
7514 * calendar/time-date.el (with-decoded-time-value): New arg
7515 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
7516 (encode-time-value): New optional arg PICO. New type 3.
7517 (time-to-seconds) [!float-time]: Support the new picoseconds
7518 component if it's used.
7519 (seconds-to-time, time-subtract, time-add):
7520 Support ps-resolution time stamps as well.
7521
7522 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
7523 (timerp): Timer vectors now have length 9, not 8.
7524 (timer--time): Support new-style (4-part) time stamps.
7525 (timer-next-integral-multiple-of-time): Time stamps now have
7526 picosecond resolution, so take a bit more care about rounding.
7527 (timer-relative-time, timer-inc-time): New optional arg psecs.
7528 (timer-set-time-with-usecs): Set psecs to 0.
7529 (timer--activate): Check psecs component, too.
7530
7531 * proced.el (proced-time-lessp): Support ps-resolution stamps.
7532
ac77b21a
SM
75332012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
7534
f143bfe3
SM
7535 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
7536 Move the non-essential binding to the post/pre-command-hook where it is
7537 more obviously correct.
7538
ac77b21a
SM
7539 * subr.el (read-passwd): Don't use a history at all.
7540 * savehist.el (savehist-save): Remove password saved accidentally
7541 because of the above bug.
7542
76386c5a
BG
75432012-06-22 Bastien Guerry <bzg@gnu.org>
7544
7545 * files.el (toggle-read-only): Display a message telling whether
7546 the buffer is read-only or not (bug#11726).
7547
2ee3d7f0
SM
75482012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
7549
7550 * emacs-lisp/gv.el: New file.
7551 * subr.el (push, pop): Extend to generalized variables.
7552 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
7553 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
7554 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
7555 gv-define-simple-setter, and gv-define-expander.
7556 Remove setf-methods defined in gv. Rename cl-setf -> setf.
7557 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
7558 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
7559 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
7560 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
7561 gv-letplace.
7562 (cl-defstruct): Don't define setf-method any more.
7563 * emacs-lisp/cl.el (flet): Don't autoload.
7564 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
7565 (define-setf-expander, defsetf, define-modify-macro)
7566 (cl-struct-setf-expander): Move from cl-lib.el.
7567 * emacs-lisp/syntax.el:
7568 * emacs-lisp/ewoc.el:
7569 * emacs-lisp/smie.el:
7570 * emacs-lisp/cconv.el:
7571 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
7572 (timer--time): Use gv-define-simple-setter.
7573 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
7574 to avoid coding-system problems in subr.el. Adjust all users.
7575 (macroexp--maxsize, macroexp-small-p): New functions.
7576 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
7577 * scroll-bar.el (scroll-bar-mode):
7578 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
7579 (normal-erase-is-backspace-mode): Don't use the `eq' place.
7580 * winner.el (winner-configuration, winner-make-point-alist)
7581 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
7582 * files.el (locate-file-completion-table): Avoid list*.
7583
c5695d1d
CY
75842012-06-22 Chong Yidong <cyd@gnu.org>
7585
7586 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
7587 (dired-create-files): Doc fix (Bug#11329).
7588 (dired-do-copy): Doc fix (Bug#11334).
7589 (dired-mark-read-string): Doc fix (Bug#11553).
7590
2ee3d7f0
SM
7591 * dired.el (dired-recursive-copies, dired-recursive-deletes):
7592 Doc fix (Bug#11326).
c5695d1d
CY
7593 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
7594 (dired-dwim-target): Doc fix.
7595
7596 * wdired.el (wdired-mode): Doc fix.
7597
89b5595a
GM
75982012-06-22 Glenn Morris <rgm@gnu.org>
7599
575db3f1
GM
7600 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
7601 (pcmpl-rpm-cache-stamp-file): New constant.
7602 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
7603 (pcmpl-rpm-packages): Optionally cache list of packages.
7604
a4c8dd51
GM
7605 * pcmpl-rpm.el (pcmpl-rpm): New group.
7606 (pcmpl-rpm-query-options): New option.
7607 (pcmpl-rpm-packages): No need to inline it.
7608 Use pcmpl-rpm-query-options.
7609
89b5595a
GM
7610 * calendar/calendar.el (calendar-in-read-only-buffer):
7611 Avoid some needless mode changes.
7612
e76f0800
CY
76132012-06-21 Chong Yidong <cyd@gnu.org>
7614
7615 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
7616 (desktop-path): Remove . from the default value (Bug#10977).
6b67c0d4 7617 (desktop-read): Use user-emacs-directory if desktop-path is nil.
e76f0800 7618
297a8f1d
CY
76192012-06-20 Chong Yidong <cyd@gnu.org>
7620
7621 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
7622
d34c18b1
DR
76232012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
7624
7625 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
7626 (bug#11201).
7627
32f7f28e
CY
76282012-06-20 Chong Yidong <cyd@gnu.org>
7629
7630 * term.el (term-window-width): Handle the case of a missing right
7631 fringe (Bug#8837).
7632 (term-check-size): Use window-text-height (Bug#5445).
d34c18b1
DR
7633 (term-mode): Use define-derived-mode. Minor cleanups.
7634 Set font-lock-defaults (Bug#7692).
6ff7caa8
CY
7635 (term-move-columns, term-insert-char, term-emulate-terminal)
7636 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
32f7f28e 7637
493c6688
MA
76382012-06-20 Michael Albinus <michael.albinus@gmx.de>
7639
d34c18b1
DR
7640 * net/ange-ftp.el (ange-ftp-get-passwd):
7641 Bind `enable-recursive-minibuffers'.
493c6688
MA
7642 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
7643
3f06ecf4
DR
76442012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
7645
7646 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
7647
68f12411
GM
76482012-06-19 Glenn Morris <rgm@gnu.org>
7649
7650 * progmodes/python.el (python-mode): Derive from prog-mode.
7651
b3820318
KG
76522012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
7653
7654 * emulation/edt.el (edt-default-menu-bar-update-buffers)
7655 (edt-user-menu-bar-update-buffers): New functions.
7656 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
7657
c6bf3022
CY
76582012-06-19 Chong Yidong <cyd@gnu.org>
7659
7660 * subr.el (with-selected-window): Preserve the selected window's
7661 terminal's top-frame (Bug#4702).
7662
7663 * window.el (save-selected-window): Likewise.
7664
25f09295
SM
76652012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
7666
7667 * progmodes/python.el (python-rx-constituents): Move backquote.
7668 (python-skeleton-define, python-define-auxiliary-skeleton):
7669 Use `declare'.
7670
6b11952a
MA
76712012-06-18 Michael Albinus <michael.albinus@gmx.de>
7672
7673 * minibuffer.el (read-file-name-default): Revert the patch from
7674 2012-06-17.
7675
ee4b1330
SM
76762012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
7677
7678 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
7679 (pcase--u1, pcase--q1): Don't use apply-partially.
7680
35647f79
GM
76812012-06-18 Glenn Morris <rgm@gnu.org>
7682
7683 * progmodes/python.el (python-proc, python-buffer)
7684 (python-send-receive, python-send-string): Fix obsolete versions.
7685
24b0cff0
MR
76862012-06-18 Martin Rudalics <rudalics@gmx.at>
7687
7688 * window.el (special-display-p): Completely remove stringp
7689 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
7690
29855149
MA
76912012-06-17 Michael Albinus <michael.albinus@gmx.de>
7692
7693 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
7694
7695 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
7696
7697 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
7698 * net/tramp-sh.el (tramp-maybe-open-connection):
7699 Throw if `non-essential' is non-nil.
7700
07463363
MR
77012012-06-17 Martin Rudalics <rudalics@gmx.at>
7702
7703 * window.el (special-display-p): Signal an error if BUFFER-NAME
7704 is not a string (Bug#11713).
7705
48d1354e
PE
77062012-06-17 Paul Eggert <eggert@cs.ucla.edu>
7707
7708 * progmodes/python.el (python-info-beginning-of-backslash):
7709 Rename from python-info-beginning-of-backlash, as a spelling fix.
7710
eb4a8a9a
CY
77112012-06-17 Chong Yidong <cyd@gnu.org>
7712
7713 * term.el (term-emulate-terminal): If term-check-size is called,
7714 move point to the process mark without resetting point (Bug#4635).
7715
ddfbf826 77162012-06-17 Glenn Morris <rgm@gnu.org>
9c758578
GM
7717
7718 * international/mule-cmds.el (mule-menu-keymap)
7719 (set-language-environment, set-locale-environment): Doc tweaks.
7720
9b0e3eba
AA
77212012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
7722
7723 * cus-face.el (custom-face-attributes): Add wave-style underline
7724 attribute.
7725 * faces.el (set-face-attribute): Update docstring to describe
7726 wave-style underline attribute.
7727
771e3eae
CY
77282012-06-16 Chong Yidong <cyd@gnu.org>
7729
7730 * term/xterm.el (terminal-init-xterm): Discard input before
7731 querying background mode (Bug#10959).
7732
7ae2ea10
SM
77332012-06-16 Stefan Merten <smerten@oekonux.de>
7734
7735 * textmodes/rst.el: Added and corrected some comments.
7736 (rst-re-alist-def): Improve symbol syntax.
7737 (rst-mode-syntax-table): Correct syntax entries.
6665a6fd
SM
7738 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
7739 (rst-official-version, rst-official-cvs-rev): Update version
7740 information.
7ae2ea10 7741
b6974efa
JB
77422012-06-15 Juanma Barranquero <lekktu@gmail.com>
7743
7744 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
7745 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
7746
8826d473
GM
77472012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
7748
7749 * progmodes/python.el: New python.el merge.
7750 (python-guess-indent): Obsolete var.
7751 (python-indent-guess-indent-offset): New defcustom.
7752 (python-indent): Obsolete var.
7753 (python-indent-offset): New defcustom.
7754 (python-python-command, python-jython-command): Delete var.
7755 (python-shell-interpreter): New defcustom.
7756 (python-pdbtrack-do-tracking-p): Delete var.
7757 (python-pdbtrack-activate): New defcustom.
7758 (python-use-skeletons): Obsolete var.
7759 (python-skeleton-autoinsert): New defcustom.
7760 (inferior-python-filter-regexp, python-continuation-offset)
7761 (python-honour-comment-indentation, python-indent-string-contents)
7762 (python-jython-packages, python-mode-hook)
7763 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
7764 (python-shell-prompt-alist)
7765 (python-source-modes): Delete defcustoms.
7766 (python-check-buffer-name, python-eldoc-setup-code)
7767 (python-eldoc-string-code, python-ffap-setup-code)
7768 (python-ffap-string-code, python-fill-comment-function)
7769 (python-fill-decorator-function, python-fill-paren-function)
7770 (python-fill-string-function, python-imenu-include-defun-type)
7771 (python-imenu-make-tree, python-imenu-subtree-root-label)
7772 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
7773 (python-shell-compilation-regexp-alist)
7774 (python-shell-completion-module-string-code)
7775 (python-shell-completion-pdb-string-code)
7776 (python-shell-completion-setup-code)
7777 (python-shell-completion-string-code)
7778 (python-shell-enable-font-lock, python-shell-exec-path)
7779 (python-shell-extra-pythonpaths)
7780 (python-shell-internal-buffer-name, python-shell-interpreter-args)
7781 (python-shell-process-environment)
7782 (python-shell-prompt-block-regexp)
7783 (python-shell-prompt-output-regexp)
7784 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
7785 (python-shell-send-setup-max-wait, python-shell-setup-codes)
7786 (python-shell-virtualenv-path): New defcustoms.
7787 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
7788 (inferior-python-mode-syntax-table, python--prompt-regexp)
7789 (python-buffer, python-command python-python-command)
7790 (python-default-template, python-imports, python-indent-index)
7791 (python-indent-list, python-indent-list-length)
7792 (python-mode-running, python-pdbtrack-is-tracking-p)
7793 (python-preoutput-continuation, python-preoutput-leftover)
7794 (python-preoutput-result, python-preoutput-skip-next-prompt)
7795 (python-prev-dir/file, python-recursing)
7796 (python-saved-check-command, python-version-checked)
7797 (python-which-func-length-limit)
7798 (view-return-to-alist): Delete vars.
7799 (python-check-custom-command, python-dotty-syntax-table)
7800 (python-imenu-index-alist, python-indent-current-level)
7801 (python-indent-dedenters, python-indent-levels)
7802 (python-nav-beginning-of-defun-regexp)
7803 (python-nav-list-defun-positions-cache)
7804 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
7805 (python-shell-internal-buffer)
7806 (python-skeleton-available): New vars.
7807 (def-python-skeleton): Delete macro.
7808 (python-skeleton-define): New macro.
7809 (python-define-auxiliary-skeleton, python-rx): New macros.
7810 (python-insert-class): Delete command.
7811 (python-skeleton-class): New command.
7812 (python-insert-def): Delete command.
7813 (python-skeleton-def): New command.
7814 (python-insert-for): Delete command.
7815 (python-skeleton-for): New command.
7816 (python-insert-if): Delete command.
7817 (python-skeleton-if): New command.
7818 (python-insert-try/except, python-insert-try/finally): Delete commands.
7819 (python-skeleton-try): New command.
7820 (python-insert-while): Delete command.
7821 (python-skeleton-while): New command.
7822 (python-backspace): Delete command.
7823 (python-indent-dedent-line-backspace): New command.
7824 (python-electric-colon): Delete command.
7825 (python-indent-electric-colon): New command.
7826 (python-guess-indent): Delete command.
7827 (python-indent-guess-indent-offset): New command.
7828 (python-shift-left): Delete command.
7829 (python-indent-shift-left): New command.
7830 (python-shift-right): Delete command.
7831 (python-indent-shift-right): New command.
7832 (python-find-function): Delete command.
7833 (python-nav-jump-to-defun): New command.
7834 (python-next-statement): Delete command.
7835 (python-nav-forward-sentence): New command.
7836 (python-previous-statement): Delete command.
7837 (python-nav-backward-sentence): New command.
7838 (python-fill-paragraph): Delete command.
7839 (python-fill-paragraph-function): New command.
7840 (python-send-buffer): Delete command.
7841 (python-shell-send-buffer): New command.
7842 (python-send-defun): Delete command.
7843 (python-shell-send-defun): New command.
7844 (python-send-region, python-send-region-and-go): Delete commands.
7845 (python-shell-send-region)
7846 (python-shell-switch-to-shell): New commands.
7847 (python-send-string): Delete command.
7848 (python-shell-send-string): New command.
7849 (python-switch-to-python): Delete command.
7850 (python-shell-switch-to-shell): New command.
7851 (python-describe-symbol): Delete command.
7852 (python-eldoc-at-point): New command.
7853 (python--set-prompt-regexp, python-args-to-list)
7854 (python-after-info-look, python-check-version)
7855 (python-check-comint-prompt, python-find-imports)
7856 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
7857 (python-unload-function, python-expand-template)
7858 (python-maybe-jython, python-preoutput-filter)
7859 (python-pdbtrack-get-source-buffer)
7860 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
7861 (python-pdbtrack-toggle-stack-tracking)
7862 (python-pdbtrack-track-stack-file, python-initial-text)
7863 (python-first-word, python-comment-line-p, python-send-command)
7864 (python-setup-brm, python-sentinel, python-set-proc)
7865 (python-skip-out, python-input-filter, python-outdent-p)
7866 (python-outline-level, python-backslash-continuation-line-p)
7867 (python-end-of-block, python-end-of-statement, python-mark-block)
7868 (python-beginning-of-block, python-beginning-of-statement)
7869 (python-blank-line-p, python-beginning-of-string)
7870 (python-open-block-statement-p): Delete functions.
7871 (python-indent-line, python-indent-line-1): Delete functions.
7872 (python-indent-line): New function.
7873 (python-indentation-levels): Delete function.
7874 (python-indent-calculate-levels): New function.
7875 (python-proc): Delete function.
7876 (python-shell-get-process): New function.
7877 (python-send-receive): Delete function.
7878 (python-shell-send-string-no-output): New function.
7879 (python-module-path): Delete function.
7880 (python-ffap-module-path): New function.
7881 (python-completion-at-point)
7882 (python-symbol-completions): Delete functions.
7883 (python-completion-complete-at-point): New function.
7884 (python-load-file): Delete function.
7885 (python-shell-send-file): New function.
7886 (python-calculate-indentation): Delete function.
7887 (python-indent-calculate-indentation): New function.
7888 (python-skip-comments/blanks): Delete function.
7889 (python-util-forward-comment): New function.
7890 (python-continuation-line-p): Delete function.
7891 (python-info-continuation-line-p): New function.
7892 (python-which-func, python-current-defun): Delete function.
7893 (python-info-current-defun): New function.
7894 (python-beginning-of-defun): Delete function.
7895 (python-nav-beginning-of-defun): New function.
7896 (python-close-block-statement-p)
7897 (python-block-end-p): Delete function.
7898 (python-info-closing-block): New function.
7899 (python-comint-output-filter-function)
7900 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
7901 (python-fill-comment, python-fill-decorator, python-fill-paren)
7902 (python-fill-string, python-imenu-make-element-tree)
7903 (python-imenu-make-tree, python-imenu-tree-assoc)
7904 (python-indent-context, python-indent-dedent-line)
7905 (python-indent-line-function)
7906 (python-indent-post-self-insert-function)
7907 (python-indent-toggle-levels)
7908 (python-info-assignment-continuation-line-p)
7909 (python-info-beginning-of-backlash)
7910 (python-info-block-continuation-line-p)
7911 (python-info-closing-block-message)
7912 (python-info-line-ends-backslash-p)
7913 (python-info-looking-at-beginning-of-defun)
7914 (python-info-ppss-context, python-info-ppss-context-type)
7915 (python-nav-list-defun-positions, python-nav-read-defun)
7916 (python-nav-sentence-end, python-nav-sentence-start)
7917 (python-pdbtrack-comint-output-filter-function)
7918 (python-pdbtrack-set-tracked-buffer)
7919 (python-shell-calculate-exec-path)
7920 (python-shell-calculate-process-environment)
7921 (python-shell-completion--do-completion-at-point)
7922 (python-shell-completion--get-completions)
7923 (python-shell-completion-complete-at-point)
7924 (python-shell-completion-complete-or-indent)
7925 (python-shell-get-or-create-process)
7926 (python-shell-get-process-name)
7927 (python-shell-internal-get-or-create-process)
7928 (python-shell-internal-get-process-name)
7929 (python-shell-internal-send-string, python-shell-make-comint)
7930 (python-shell-parse-command, python-shell-send-setup-code)
7931 (python-skeleton-add-menu-items)
7932 (python-util-clone-local-variables, python-util-position)
7933 (run-python-internal, python-indentation-levels)
7934 (python-nav-beginning-of-defun)
7935 (python-completion-complete-at-point): New functions.
7936 (run-python): Change arguments. New API requirements.
7937
4302f5ba
SM
79382012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
7939
f38ea36d
SM
7940 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
7941 (bug#11649).
7942
7943 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
7944 (macroexp--expand-all): Use it.
7945
4302f5ba
SM
7946 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
7947 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
7948 Use `cl-function' instead.
7949
33377562
JB
79502012-06-14 Juanma Barranquero <lekktu@gmail.com>
7951
7952 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
7953 Suggested by Stefan Monnier while discussing bug#11657.
7954
54c5ba1a
SS
79552012-06-14 Sam Steingold <sds@gnu.org>
7956
7957 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
7958
f9f1b1fe
AS
79592012-06-14 Andreas Schwab <schwab@linux-m68k.org>
7960
7961 * play/doctor.el (doctor-doc): Remove parameter and use
7962 doctor-sent instead of sent.
7963 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
7964
a81068ba
SM
79652012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
7966
5a315f9c
SM
7967 * files.el: Require cl-lib.
7968 (file-name-non-special): Replace case -> cl-case.
7969
7970 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
7971
a81068ba
SM
7972 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
7973 mapping from #' to function*.
7974
8cca9703
CY
79752012-06-13 Chong Yidong <cyd@gnu.org>
7976
7977 * mouse.el (mouse-drag-track): Do not set the mark if the user
7978 releases the mouse without selecting anything (Bug#11588).
7979
a12ac9d7
SM
79802012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
7981
ccf1dc18
SM
7982 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
7983 as well (bug#11646).
7984
ef62b23d
SM
7985 * loadup.el: Count byte-code functions as well.
7986
c4c8444a
SM
7987 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
7988 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
7989
a12ac9d7
SM
7990 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
7991 (bug#11649). Add cl-defun and cl-defmacro.
7992
87e6e64f
DA
79932012-06-13 Drew Adams <drew.adams@oracle.com>
7994
7995 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
7996 Fix last change.
7997
682cefaf
MA
79982012-06-13 Michael Albinus <michael.albinus@gmx.de>
7999
8000 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
8001 Otherwise, it blocks in batch mode.
8002
773e1f08
JB
80032012-06-13 Juanma Barranquero <lekktu@gmail.com>
8004
8005 * help-mode.el (bookmark-make-record-default): Declare.
8006
60057926
CY
80072012-06-13 Chong Yidong <cyd@gnu.org>
8008
8009 * emacs-lisp/package.el (list-packages): Compute a list of
8010 packages that are newly-available since the last list-packages
8011 invocation.
8012 (package-menu--new-package-list): New var.
8013 (package-menu--generate, package-menu--print-info)
8014 (package-menu--status-predicate, package-menu-mark-install):
8015 Handle new status label "new".
8016
ad4d226c
SM
80172012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
8018
8019 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
8020 conversion to backquotes.
8021
f1a4e679
CY
80222012-06-12 Chong Yidong <cyd@gnu.org>
8023
8024 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
8025 Rename from gud-inhibit-global-bindings.
8026
8027 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
8028
8029 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
8030 hook from nxml-glyph-set-hook.
8031
8032 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
8033 declaration.
8034
8035 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
8036
8037 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
8038 Convert to defcustom.
8039
0c9e42b5
DA
80402012-06-12 Drew Adams <drew.adams@oracle.com>
8041
8042 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
8043 New functions.
8044 (help-mode): Use them.
8045
09e06855
GM
80462012-06-11 Glenn Morris <rgm@gnu.org>
8047
8048 * progmodes/fortran.el (fortran-font-lock-keywords-3):
8049 Use preprocessor face for directives.
8050 (fortran-directive-re): Doc fix.
8051
71adb94b
SM
80522012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
8053
2eb87922
SM
8054 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
8055 conversion to backquotes (bug#11652).
8056
71adb94b
SM
8057 Fix compiler-expansion of CL's cXXr functions (bug#11673).
8058 * emacs-lisp/cl-lib.el (cl--defalias): New function.
8059 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
8060 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
8061 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
8062 (cl-ninth, cl-tenth): Mark them as inlinable.
8063 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
8064 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
8065 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
8066 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
8067 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
8068 (cl-list*, cl-adjoin): Don't put an autoload manually.
8069 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
8070 (cl--compiler-macro-list*): Add autoload cookie.
8071 (cl--compiler-macro-cXXr): New function.
2eb87922 8072
71adb94b
SM
8073 * help-fns.el (help-fns--compiler-macro): New function extracted from
8074 describe-function-1; follow aliases and use `compiler-macro' property.
8075 (describe-function-1): Use it.
8076
a6674402
CY
80772012-06-11 Chong Yidong <cyd@gnu.org>
8078
8079 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
8080 is uninstalled, if imagemagick is installed.
8081
bb3faf5b
SM
80822012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
8083
8084 * emacs-lisp/cl-lib.el: Use lexical-binding.
8085 (cl-map-extents, cl-maclisp-member): Remove.
8086 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
8087 (cl--set-substring, cl--block-wrapper, cl--block-throw)
8088 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
8089 * emacs-lisp/cl-extra.el: Use lexical-binding.
8090 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
8091 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
8092 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
8093 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
8094 * emacs-lisp/cl-seq.el: Use lexical-binding.
8095 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
8096 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
8097 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
8098 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
8099 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
8100 CL's internals.
8101
2fe4b125
MA
81022012-06-11 Michael Albinus <michael.albinus@gmx.de>
8103
8104 Sync with Tramp 2.2.6-pre.
8105
8106 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
8107 `print-length' and `print-level' to nil, in order to avoid
8108 truncation. Reported by Christopher Schmidt
8109 <christopher@ristopher.com>.
8110
8111 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
8112
8113 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
8114 New defmacro.
8115 (tramp-compat-copy-directory): Add optional argument
8116 COPY-CONTENTS. It is not handled yet.
8117
8118 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
8119 (tramp-ftp-file-name-p): Simplify.
8120
8121 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
8122 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
8123 connection vector.
8124
8125 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
8126 (tramp-methods): Do not use `tramp-password-end-of-line'.
8127 (tramp-completion-function-alist-putty): Handle UNIX case.
8128 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
8129 (tramp-do-file-attributes-with-stat)
8130 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
8131 gid as real numbers. They could run out of integer range on cygwin.
8132 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
8133 (tramp-sh-handle-expand-file-name): Handle hops.
87e6e64f
DA
8134 (tramp-open-connection-setup-interactive-shell):
8135 Use `tramp-cleanup'. Move check for busyboxes ...
8136 (tramp-find-shell): ... here. Simplify implementation.
8137 Set "remote-shell" property also for alternative shells.
8138 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
8139 If failing, a regular file would be written otherwise.
8140 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
2fe4b125
MA
8141 (tramp-find-inline-encoding): Cache the coding commands in the
8142 process cache. Apply test command on the remote side, if defined.
8143 (tramp-find-inline-compress): Cache the compress commands in the
8144 process cache.
8145 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
8146 when requested. Handle hops.
8147 (tramp-current-connection): New defvar.
87e6e64f
DA
8148 (tramp-maybe-open-connection): Use `tramp-cleanup'.
8149 Throw `suppress', if there was a failed connection shortly before.
2fe4b125 8150 Handle user interrupt. (Bug#10187)
87e6e64f
DA
8151 (tramp-get-inline-compress, tramp-get-inline-coding):
8152 Read connection properties from the process cache.
2fe4b125
MA
8153
8154 * net/tramp-smb.el (tramp-smb-server-version)
87e6e64f
DA
8155 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
8156 New defconsts.
2fe4b125
MA
8157 (tramp-smb-prompt): Extend for powershell prompt.
8158 (tramp-smb-file-name-handler-alist): Add handlers for
8159 `process-file', `shell-command' and `start-file-process'.
8160 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
8161 (tramp-smb-winexe-shell-command-switch): New defcustoms.
8162 (tramp-smb-file-name-p): Simplify.
8163 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
8164 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
8165 (tramp-smb-shell-quote-argument): New defuns.
8166 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
8167 Implement using "tar". By this, time-stamps are preserved.
8168 (tramp-smb-handle-copy-file): Handle also the case of directories.
8169 (tramp-smb-do-file-attributes-with-stat)
87e6e64f
DA
8170 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
8171 Use `tramp-get-connection-buffer').
2fe4b125
MA
8172 (tramp-smb-handle-rename-file): Use "rename", when source and
8173 target are on the same share.
87e6e64f
DA
8174 (tramp-smb-maybe-open-connection): Handle wrong passwords.
8175 Use `tramp-smb-server-version'.
2fe4b125
MA
8176 (tramp-smb-wait-for-output): Remove prompt.
8177
8178 * net/tramp.el (top): Require 'cl.
87e6e64f
DA
8179 (tramp-methods, tramp-rsh-end-of-line):
8180 Remove `tramp-password-end-of-line' from docstring.
2fe4b125
MA
8181 (tramp-save-ad-hoc-proxies): New defcustom.
8182 (tramp-completion-function-alist): Adapt docstring.
8183 (tramp-default-password-end-of-line): Remove defcustom.
8184 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
8185 (tramp-user-regexp, tramp-file-name-regexp-unified)
8186 (tramp-file-name-regexp-url): Extend regexp by hop separator.
8187 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
8188 (tramp-remote-file-name-spec-regexp): New defconst.
8189 (tramp-file-name-structure): Extend structure for hops.
8190 (tramp-get-method-parameter): Move up.
8191 (tramp-file-name-p, tramp-dissect-file-name)
8192 (with-parsed-tramp-file-name): Handle hops.
8193 (tramp-file-name-hop): New defun.
8194 (tramp-make-tramp-file-name): New optional arg HOP.
8195 (tramp-message-show-progress-reporter-message): New defvar.
8196 (tramp-with-progress-reporter): Use it. We cannot use
8197 `tramp-message-show-message' here, because this suppresses also
8198 error buffers.
8199 (tramp-error-with-buffer): Suppress buffer view, if
87e6e64f
DA
8200 `tramp-message-show-message' is nil.
8201 Use `tramp-get-connection-buffer'.
2fe4b125
MA
8202 (tramp-cleanup): New defun.
8203 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
8204 (tramp-file-name-handler): If `debug-on-error' is set, propagate
8205 an error unchanged.
8206 (tramp-completion-handle-file-name-all-completions): Handle hops.
8207 Fix an error when called from ido.
8208 (tramp-completion-dissect-file-name): Use better local variable
8209 name. Add hop to the vector.
8210 (tramp-handle-insert-file-contents): Use progress-reporter for the
8211 whole scenario.
8212 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
8213 to `t'.
8214 (tramp-check-for-regexp): Simplify search.
8215 (tramp-enter-password): Remove it. Move implementation ...
8216 (tramp-action-password): ... here.
8217 (tramp-mode-string-to-int, tramp-local-host-p)
8218 (tramp-make-tramp-temp-file, tramp-read-passwd)
87e6e64f
DA
8219 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
8220 Set tramp-autoload cookie.
2fe4b125
MA
8221
8222 * net/trampver.el: Update release number.
8223
82242012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8225 Michael Albinus <michael.albinus@gmx.de>
8226
8227 * net/tramp.el (tramp-set-completion-function): Fix docstring.
8228 (tramp-parse-group, tramp-parse-file)
8229 (tramp-parse-shostkeys-sknownhosts): New defuns.
8230 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
8231 (tramp-parse-shosts-group, tramp-parse-sconfig)
8232 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
8233 (tramp-parse-sknownhosts, tramp-parse-hosts)
8234 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
8235 Use them.
8236 (tramp-parse-passwd-group, tramp-parse-netrc-group)
8237 (tramp-parse-putty-group): Don't narrow.
8238 (tramp-parse-putty): Make a loop.
8239 (tramp-file-name-handler): Catch the `suppress' signal.
8240
72834e10
CY
82412012-06-11 Chong Yidong <cyd@gnu.org>
8242
8243 * image.el (imagemagick-register-types): Put the ImageMagick entry
8244 at the end of image-type-file-name-regexps.
8245
a4712e11
JB
82462012-06-11 Johan Bockgård <bojohan@gnu.org>
8247
8248 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
8249 (pcase, pcase-let*, pcase-dolist): Use them.
8250
82ad98e3
SM
82512012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
8252
8253 * emacs-lisp/pcase.el (pcase--let*): New function.
8254 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
8255 (pcase--expand): Use macroexp-let².
8256
f80efb86
SM
82572012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
8258
8259 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
8260 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
8261 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
8262 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
8263 * emacs-lisp/derived.el: Use pcase instead of `cl'.
8264 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
8265
31ca4639 82662012-06-10 Glenn Morris <rgm@gnu.org>
94f0aa34 8267
31ca4639
CY
8268 * mail/rmail.el (rmail-yank-current-message): Leave point at
8269 correct position. (Bug#11660)
94f0aa34 8270
31ca4639 82712012-06-10 Chong Yidong <cyd@gnu.org>
9e1b8ec4 8272
31ca4639 8273 * allout-widgets.el: Fix code header.
9e1b8ec4 8274
31ca4639 82752012-06-10 Chong Yidong <cyd@gnu.org>
00cd0305 8276
f80efb86
SM
8277 * cus-edit.el (customize-changed-options-previous-release):
8278 Bump to 24.1.
31ca4639 8279
642b6d30
AS
82802012-06-09 Andreas Schwab <schwab@linux-m68k.org>
8281
8282 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
8283
4f5d2ba1
CY
82842012-06-09 Chong Yidong <cyd@gnu.org>
8285
8286 * ebuff-menu.el (electric-buffer-list): Preserve header line.
8287
e75852fd
MR
82882012-06-09 Martin Rudalics <rudalics@gmx.at>
8289
8290 * window.el (special-display-popup-frame): Don't use
8291 window--display-buffer (Bug#11651).
8292
1e48e282
EZ
82932012-06-09 Eli Zaretskii <eliz@gnu.org>
8294
8a26b487
EZ
8295 Fix parallel builds: make sure loaddefs.el is not being written
8296 while Lisp files are compiled.
8297 (compile): Don't depend on 'mh-autoloads'.
8298 (compile-CMD, compile-SH): Depend on 'autoloads'.
8299 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
8300
1e48e282
EZ
8301 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
8302
6175e34b
CY
83032012-06-09 Chong Yidong <cyd@gnu.org>
8304
8305 * face-remap.el (face-remap-add-relative, face-remap-set-base)
8306 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
8307 Doc fixes (Bug#11225).
8308
d9857e53
SM
83092012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
8310
8311 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
8312 a function if there's a clear indication that it has a compiler-macro.
8313 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
8314 (macro-declarations-alist): Add arglist to declaration functions.
8315 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
8316 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
8317 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
8318 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
8319 Also add autoload to find the compiler macro.
8320 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
8321 (cl--compiler-macro-member, cl--compiler-macro-assoc)
8322 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
8323 (cl--compiler-macro-get): New functions, replacing calls to
8324 cl-define-compiler-macro.
8325 (cl-typep) [compiler-macro]: Use macroexp-let².
8326
f81298f8 83272012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
ee574791
UJ
8328
8329 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
8330 string properly, fixes Bug#11473.
8331
4b56d0fe
CY
83322012-06-08 Chong Yidong <cyd@gnu.org>
8333
8334 * faces.el (set-face-attribute): Doc fix.
8335 (modify-face): Don't use :bold and :italic.
8336 (error, warning, success): Tweak definitions.
8337
8338 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
8339 (custom-modified, custom-set, custom-changed, custom-themed)
8340 (custom-saved, custom-button, custom-button-mouse)
8341 (custom-button-pressed, custom-state, custom-comment-tag)
8342 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
8343 (custom-group-subtitle): Use new-style face specs.
8344 (custom-invalid-face, custom-rogue-face, custom-modified-face)
8345 (custom-set-face, custom-changed-face, custom-saved-face)
8346 (custom-button-face, custom-button-pressed-face)
8347 (custom-documentation-face, custom-state-face)
8348 (custom-comment-face, custom-comment-tag-face)
8349 (custom-variable-tag-face, custom-variable-button-face)
8350 (custom-face-tag-face, custom-group-tag-face-1)
8351 (custom-group-tag-face): Remove obsolete face alias.
8352
8353 * epa.el (epa-validity-high, epa-validity-medium)
8354 (epa-validity-low, epa-mark, epa-field-name, epa-string)
8355 (epa-field-name, epa-field-body):
8356 * font-lock.el (font-lock-comment-face, font-lock-string-face)
8357 (font-lock-keyword-face, font-lock-builtin-face)
8358 (font-lock-function-name-face, font-lock-variable-name-face)
8359 (font-lock-type-face, font-lock-constant-face):
8360 * ido.el (ido-first-match, ido-only-match, ido-subdir)
8361 (ido-virtual, ido-indicator, ido-incomplete-regexp):
8362 * speedbar.el (speedbar-button-face, speedbar-file-face)
8363 (speedbar-directory-face, speedbar-tag-face)
8364 (speedbar-selected-face, speedbar-highlight-face)
8365 (speedbar-separator-face):
8366 * whitespace.el (whitespace-newline, whitespace-space)
8367 (whitespace-hspace, whitespace-tab, whitespace-trailing)
8368 (whitespace-line, whitespace-space-before-tab)
8369 (whitespace-space-after-tab, whitespace-indentation)
8370 (whitespace-empty):
8371 * emulation/cua-base.el (cua-global-mark):
8372 * eshell/em-prompt.el (eshell-prompt):
8373 * net/newst-plainview.el (newsticker-new-item-face)
8374 (newsticker-old-item-face, newsticker-immortal-item-face)
8375 (newsticker-obsolete-item-face, newsticker-date-face)
8376 (newsticker-statistics-face, newsticker-default-face):
8377 * net/newst-reader.el (newsticker-feed-face)
8378 (newsticker-extra-face, newsticker-enclosure-face):
8379 * net/newst-treeview.el (newsticker-treeview-face)
8380 (newsticker-treeview-new-face, newsticker-treeview-old-face)
8381 (newsticker-treeview-immortal-face)
8382 (newsticker-treeview-obsolete-face)
8383 (newsticker-treeview-selection-face):
8384 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
8385 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
8386 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
8387 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
8388 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
8389 (nxml-outline-active-indicator, nxml-outline-ellipsis):
8390 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
8391 (mpuz-text):
8392 * progmodes/vera-mode.el (vera-font-lock-number)
8393 (vera-font-lock-function, vera-font-lock-interface):
8394 * textmodes/table.el (table-cell): Use new-style face specs, and
8395 don't use the old :bold and :italic attributes.
8396
8397 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
8398 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
8399 (ebrowse-member-class, ebrowse-progress): Likewise.
8400 (ebrowse-tree-mark-face, ebrowse-root-class-face)
8401 (ebrowse-file-name-face, ebrowse-default-face)
8402 (ebrowse-member-attribute-face, ebrowse-member-class-face)
8403 (ebrowse-progress-face): Remove obsolete faces.
8404
8405 * progmodes/flymake.el (flymake-errline, flymake-warnline):
8406 Inherit from error and warning faces respectively.
8407
8408 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
8409 Likewise.
f80efb86
SM
8410 (flyspell-incorrect-face, flyspell-duplicate-face):
8411 Remove obsolete aliases.
4b56d0fe 8412
03310646
MA
84132012-06-08 Michael Albinus <michael.albinus@gmx.de>
8414
8415 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
8416 Avoid infloop.
8417
513749ee
SM
84182012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
8419
8420 * startup.el (argv, argi): Make lexically scoped.
8421 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
8422 * emacs-lisp/cl-macs.el: Use lexical-binding.
8423 Rename cl-bind-* to cl--bind-*.
8424 * files.el: Don't require `cl' since it doesn't use it.
8425 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
8426
595ef4ad
JB
84272012-06-08 Juanma Barranquero <lekktu@gmail.com>
8428
8429 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
8430 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
8431 instead of calling external sort utility.
8432 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
8433
e9f66fcb
EZ
84342012-06-08 Eli Zaretskii <eliz@gnu.org>
8435
8436 * descr-text.el (describe-char): Mention how to insert the
8437 character, if the current input method doesn't support it.
8438 See the discussion in this thread for the details:
8439 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
8440
3d10db47
SS
84412012-06-08 Sam Steingold <sds@gnu.org>
8442
8443 * bindings.el (global-map): Bind XF86Forward to next-buffer and
8444 XF86Back to previous-buffer.
8445 (minibuffer-local-map): Bind them to next-history-element and
8446 previous-history-element respectively.
8447 * help-mode.el (help-mode-map): Bind them to help-go-forward and
8448 help-go-back respectively.
8449 * info.el (Info-mode-map): Bind them to Info-history-forward and
8450 Info-history-back respectively.
8451 These are the keys next to Up on the ThinkPad keyboard.
8452
de7e2b36
SM
84532012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
8454
8455 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
8456 * emacs-lisp/cl-macs.el: Provide itself.
8457 (cl--labels-convert-cache): New var.
8458 (cl--labels-convert): New function.
8459 (cl-flet, cl-labels): New implementation with new semantics, relying on
8460 lexical-binding.
8461 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
8462 (cl-closure-vars, cl--function-convert-cache)
8463 (cl--function-convert): Move from cl-macs.el.
8464 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
8465 rename by removing the "cl-" prefix.
8466 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
8467
6fa6c4ae
SM
84682012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
8469
8470 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
8471 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
8472 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
8473 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
8474 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
8475 (cl-hash-table-count): Add old compatibility aliases.
8476
8477 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
8478 Use macroexpand-all-environment instead.
8479 (cl--old-macroexpand): New var.
8480 (cl--sm-macroexpand): New function.
8481 (cl-symbol-macrolet): Use it during macro expansion.
8482 (cl--function-convert-cache): New var.
8483 (cl--function-convert): New function, extracted from
8484 cl-macroexpand-all.
8485 (cl-lexical-let): Use it.
8486
8487 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
8488 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
8489 (cl-member): Remove old alias.
8490
8491 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
8492 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
8493 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
8494 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
8495 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
8496 (cl-macroexpand-cmacs): Remove var.
8497 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
8498 Use macroexpand-all instead.
8499
4dd1c416
SM
85002012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
8501
8502 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
8503 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
8504 (macroexp-copyable-p): New functions and macros.
8505 * emacs-lisp/edebug.el (edebug-unwrap):
8506 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
8507 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
8508 (pcase--let*): Remove.
8509 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
8510 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
8511 macroexp-const-p instead.
8512 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
8513
8514 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
8515 instead of "cl-" for internal definitions. Use macroexp-const-p.
8516 (cl-old-bc-file-form): Remove var.
8517 (cl-const-exprs-p): Remove fun.
8518 (cl-labels, cl-macrolet): Use backquote.
8519 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
8520 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
8521 (cl-define-setf-expander): Rename from cl-define-setf-method.
8522 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
8523
8524 * international/mule-cmds.el: Don't require CL.
8525 (view-hello-file): Don't use `letf'.
8526
ed8bd4d7
SM
85272012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
8528
7287f2f3
SM
8529 * tmm.el (tmm-prompt): Use string-prefix-p.
8530 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
8531 (tmm-add-prompt): Use minibuffer-completion-help.
8532 (tmm-delete-map): Remove.
8533
ed8bd4d7
SM
8534 * subr.el (kbd): Make it its own function.
8535
7b4cdbf4
SM
85362012-06-07 Stefan Merten <smerten@oekonux.de>
8537
8538 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
8539 Silence compiler warnings. Fix versions.
ed8bd4d7 8540 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
7b4cdbf4 8541 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
ed8bd4d7 8542 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
7b4cdbf4
SM
8543 (rst-package-emacs-version-alist): Correct Emacs version to
8544 represent major merge with upstream.
ed8bd4d7 8545 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
7b4cdbf4 8546
2b48d721
GM
85472012-06-06 Glenn Morris <rgm@gnu.org>
8548
8549 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
8550 Only print environment variables if set.
8551
fa779ab0
SM
85522012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
8553
8554 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
8555 (macroexp--cons): Rename from maybe-cons.
8556 (macroexp--accumulate): Rename from macroexp-accumulate.
8557 (macroexp--all-forms): Rename from macroexpand-all-forms.
8558 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
8559 (macroexp--expand-all): Rename from macroexpand-all-1.
8560
628299e0
SS
85612012-06-06 Sam Steingold <sds@gnu.org>
8562
8563 * calendar/calendar.el (calendar-in-read-only-buffer):
8564 Call `special-mode' to enable the standard read-only keybindings.
8565
b7bb5838
SM
85662012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
8567
8568 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
8569 with "loading" messages (bug#11635).
8570
dfb308ba
MA
85712012-06-06 Michael Albinus <michael.albinus@gmx.de>
8572
8573 * files.el (enable-remote-dir-locals): New option.
8574 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
8575
0372ee92
MA
8576 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
8577 Ensure, that the temp directory is local.
8578
8579 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
8580 `temporary-file-directory'.
8581
eed0bb91
MA
8582 * progmodes/python.el (python-send-region): Ensure, that the
8583 temporary file is created also in the remote case.
8584
7a58f64d
GM
85852012-06-06 Glenn Morris <rgm@gnu.org>
8586
f7dd4e98
GM
8587 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
8588 (vc-rcs-update-changelog): Use it.
8589
090bd7cb 8590 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
276d5f5d 8591
7a58f64d
GM
8592 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
8593 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
8594 (vc-sccs-diff): Replace use of the external vcdiff script.
8595
daed4003
GM
85962012-06-05 Glenn Morris <rgm@gnu.org>
8597
8598 * ledit.el: Move to obsolete/.
8599
48c455c7
SS
86002012-06-05 Sam Steingold <sds@gnu.org>
8601
ed9265fc 8602 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
48c455c7
SS
8603 patch (Bug#11140).
8604
57a7d507
SM
86052012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8606
090bd7cb 8607 * emacs-lisp/cust-print.el: Move to obsolete.
d32926ff 8608
53aacf21
SM
8609 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
8610 compiler-macro expansion.
8611
57a7d507
SM
8612 Add native compiler-macro support.
8613 * emacs-lisp/macroexp.el (macroexpand-all-1):
8614 Support compiler-macros directly. Properly follow aliases and apply
8615 the compiler macros more thoroughly.
8616 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
8617 macroexpand now properly follows aliases.
8618 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
8619 (cl-compiler-macroexpand): Use new prop.
8620 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
8621
8622 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
8623
51a5f9d8
MR
86242012-06-05 Martin Rudalics <rudalics@gmx.at>
8625
8626 * window.el (get-lru-window, get-mru-window, get-largest-window):
8627 New argument NOT-SELECTED to avoid picking the selected window.
8628 (window--display-buffer-1, window--display-buffer-2): Replace by
8629 new function window--display-buffer
8630 (display-buffer-same-window, display-buffer-reuse-window)
57a7d507
SM
8631 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
8632 Use window--display-buffer.
51a5f9d8
MR
8633 (display-buffer-use-some-window): Remove temporary dedication
8634 hack by calling get-lru-window and get-largest-window with
8635 NOT-SELECTED argument non-nil. Call window--display-buffer.
8636
08f9f738
GM
86372012-06-05 Glenn Morris <rgm@gnu.org>
8638
8639 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
8640 Replace external vcdiff script.
8641
e364a2b7
SM
86422012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
8643
8644 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
8645
041df390
CY
86462012-06-04 Chong Yidong <cyd@gnu.org>
8647
e364a2b7
SM
8648 * image.el (imagemagick-types-inhibit): Revert last change.
8649 Add INFO and M.
47b36b94 8650 (imagemagick-enabled-types): Remove CIN and EPS*.
041df390 8651
7c1898a7
SM
86522012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
8653
8654 * emacs-lisp/cl-lib.el: Rename from cl.el.
8655 * emacs-lisp/cl.el: New compatibility file.
8656 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
8657 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
8658 to obey the "cl-" prefix.
8659 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
8660
0c3461de
GM
86612012-06-03 Glenn Morris <rgm@gnu.org>
8662
1e266c88
GM
8663 * emacs-lisp/authors.el (authors-aliases): Addition.
8664
0c3461de
GM
8665 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
8666 Fix :version.
8667
d8a52e15
SM
86682012-06-03 Stefan Merten <smerten@oekonux.de>
8669
8670 * textmodes/rst.el: Add comments.
8671 (rst-transition, rst-adornment): New faces.
8672 (rst-adornment-faces-alist): Make default safe to reevaluate.
8673 Fixes
8674 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
8675 Improve customization tags.
8676 (rst-define-level-faces): Clarify meaning.
8677
5205d6f6
CY
86782012-06-03 Chong Yidong <cyd@gnu.org>
8679
8680 * progmodes/compile.el (compilation-mode-line-fail)
7c1898a7
SM
8681 (compilation-mode-line-run, compilation-mode-line-exit):
8682 New faces.
5205d6f6
CY
8683 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
8684
757ee657
JD
86852012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
8686
7c1898a7
SM
8687 * progmodes/which-func.el (which-func-update-ediff-windows):
8688 New function. Use it in ediff-select-hook (Bug#11478).
757ee657 8689
5f2c76c6
CY
86902012-06-03 Chong Yidong <cyd@gnu.org>
8691
8692 * bindings.el: Remove explicit help text from format-mode-line.
8693 It is now supplied by mode-line-default-help-echo.
8694 (mode-line-front-space, mode-line-end-spaces)
8695 (mode-line-misc-info): New variables.
8696 (mode-line-modes, mode-line-position): Move the default value to
8697 the variable definition.
8698 (mode-line-default-help-echo): New defcustom.
383f7350
CY
8699 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
8700 (mode-line-modified-help-echo): New functions.
8701 (mode-line-mule-info, mode-line-modified): Use them.
8702 (mode-line-eol-desc, propertized-buffer-identification):
8703 Consistency fixes for help text.
cbe46e5f
CY
8704 (mode-line-coding-system-map): Allow using mouse-3 to invoke
8705 set-buffer-file-coding-system (Bug#289).
8706 (mode-line-mule-info-help-echo): Update help text.
5f2c76c6 8707
f2d6a3df
SM
87082012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
8709
8710 * simple.el (execute-extended-command): Set real-this-command
8711 (bug#11506).
8712
37269466
CY
87132012-06-02 Chong Yidong <cyd@gnu.org>
8714
8715 Remove incorrect uses of "modeline" in comments, docstrings, and
8716 function/variable names (Bug#10329).
8717
8718 * cus-edit.el (mode-line):
8719 * dframe.el (dframe-mouse-hscroll):
8720 * emacs-lisp/re-builder.el:
8721 * emacs-lisp/easy-mmode.el (define-minor-mode):
8722 * frame.el (set-frame-name):
8723 * help.el (lookup-minor-mode-from-indicator):
8724 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
8725 * progmodes/cc-cmds.el (c-toggle-auto-newline)
8726 (c-toggle-hungry-state):
8727 * progmodes/antlr-mode.el (antlr-language-alist):
8728 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
8729 * progmodes/vhdl-mode.el (vhdl-mode):
8730 * progmodes/which-func.el (which-func, which-func-cleanup-function):
8731 * term/ns-win.el (ns-face-at-pos):
8732 * term/sup-mouse.el (sup-mouse-report):
8733 * textmodes/flyspell.el (flyspell-mode-line-string):
8734 * textmodes/ispell.el (ispell-highlight-face):
8735 * textmodes/reftex-global.el:
8736 * vc/vc-arch.el (vc-arch-mode-line-string):
8737 * vc/vc-cvs.el (vc-cvs-mode-line-string):
8738 * vc/vc-git.el (vc-git-mode-line-string):
8739 * vc/vc-hooks.el (vc-display-status)
8740 (vc-default-mode-line-string):
8741 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
8742
8743 * ansi-color.el (ansi-color-faces-vector): Change default faces.
8744
8745 * dired.el (dired-sort-set-mode-line): Rename from
8746 dired-sort-set-modeline. All callers changed.
8747
8748 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
8749 eshell-status-in-modeline.
8750
8751 * foldout.el (foldout-mode-line-string): Rename from
8752 foldout-modeline-string. All callers changed.
8753 (foldout-update-mode-line): Rename from foldout-update-modeline.
8754
8755 * subr.el (redraw-modeline): Make into obsolete alias.
8756
8757 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
8758 timeclock-modeline-display. Make old name an alias.
8759 (timeclock-update-mode-line): Likewise. All callers changed.
8760 (timeclock-mode-line-display): No need to check before using
8761 add-hook.
8762 (timeclock-relative, timeclock-day-over-hook)
8763 (timeclock-use-elapsed, timeclock-mode-string)
8764 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
8765
8766 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
8767 crisp-mode-modeline-string.
8768
8769 * play/solitaire.el (solitaire-build-mode-line): Rename from
8770 solitaire-build-modeline. All callers changed.
8771
8772 * play/zone.el (zone-hiding-mode-line): Rename from
8773 zone-hiding-modeline. All callers changed.
8774 (zone): Remove unusued `modeline-hidden-level' property.
8775
8776 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
8777 xscheme-modeline-initialize. All callers changed.
8778
8779 * strokes.el (strokes-lighter): Rename from
8780 strokes-modeline-string.
8781
8782 * textmodes/sgml-mode.el (html-face-tag-alist)
8783 (html-tag-face-alist): Use mode-line face instead of obsolete
8784 alias modeline.
8785
42152ee4
SM
87862012-06-02 Stefan Merten <smerten@oekonux.de>
8787
8788 * textmodes/rst.el: Always require `cl'.
4cf9b38d 8789 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
42152ee4 8790
95f520b5
CY
87912012-06-02 Chong Yidong <cyd@gnu.org>
8792
8793 * image.el (imagemagick-enabled-types): Rename from
8794 imagemagick-types-enable. Add many more types.
8795 (imagemagick-types-inhibit): Change default to nil.
8796 (imagemagick-filter-types): Caller changed.
8797
4a5f187a
SM
87982012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
8799
03fef3e6
SM
8800 * emacs-lisp/cl-macs.el: Use backquotes.
8801 (cl-transform-function-property): Use eval-and-compile rather than
8802 abusing `require'.
8803 (defstruct): Use declare-function instead of with-no-warnings.
8804
4a5f187a
SM
8805 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
8806 (byte-compile-output-docform): Re-add the print-circle bindings.
8807 (byte-compile-fix-header): Use #$ just because it's shorter.
8808 (byte-compile-output-file-form): Remove defun/defmacro.
8809
bd56924f
MR
88102012-06-01 Martin Rudalics <rudalics@gmx.at>
8811
8812 * simple.el (choose-completion): Remove now obsolete binding for
8813 owindow.
8814
046e38ce
MA
88152012-06-01 Michael Albinus <michael.albinus@gmx.de>
8816
8817 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
8818 in order to avoid "Stack overflow in regexp matcher".
8819
32d72c2f
GM
88202012-05-31 Glenn Morris <rgm@gnu.org>
8821
8822 * image.el: For clarity, call imagemagick-register-types at
8823 top-level, rather than relying on a custom :initialize.
8824 (imagemagick-types-enable): New option. (Bug#11557)
60b5f187
GM
8825 (imagemagick-filter-types): New function. (Bug#7406)
8826 (imagemagick-register-types): Use imagemagick-filter-types.
32d72c2f
GM
8827 If disabling support, remove elements altogether rather
8828 than using an impossible regexp.
8829 (imagemagick-types-inhibit): Give it the default init function.
8830
dd41169b
SM
88312012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
8832
4a5f187a
SM
8833 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
8834 Handle arbitrary file name lengths (Bug#11585).
dd41169b 8835
efc00ab1 88362012-05-31 Martin Rudalics <rudalics@gmx.at>
5221ccb9
MR
8837
8838 * desktop.el (desktop-read): Clear previous and next buffers for
8839 all windows and bury *Messages* buffer (bug#11556).
8840
500fcedc
SM
88412012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
8842
8843 Add `declare' for `defun'. Align `defmacro's with it.
8844 * emacs-lisp/easy-mmode.el (define-minor-mode)
8845 (define-globalized-minor-mode): Don't autoload the var definitions.
8846 * emacs-lisp/byte-run.el: Use lexical-binding.
8847 (defun-declarations-alist, macro-declarations-alist): New vars.
8848 (defmacro, defun): Use them.
8849 (make-obsolete, define-obsolete-function-alias)
8850 (make-obsolete-variable, define-obsolete-variable-alias):
8851 Use `declare'.
8852 (macro-declaration-function): Mark obsolete.
8853 * emacs-lisp/autoload.el: Use lexical-binding.
8854 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
8855
6e8a1786
AM
88562012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8857
8858 * textmodes/ispell.el (ispell-with-no-warnings):
8859 Define as a macro.
500fcedc
SM
8860 (ispell-kill-ispell, ispell-change-dictionary):
8861 Use `called-interactively-p' for Emacs instead of obsolete
6e8a1786
AM
8862 `interactive-p'.
8863
61b108cc
SM
88642012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
8865
8866 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
8867 (macro-declaration-function): Move var from C code.
8868 (macro-declaration-function): Define function with defalias.
8869 * emacs-lisp/macroexp.el (macroexpand-all-1):
8870 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
8871 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
8872 defun/defmacro any more.
8873 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
8874 Provide fallback for unknown arglist.
8875 (byte-compile-arglist-warn): Change calling convention.
8876 (byte-compile-output-file-form): Move print-vars binding.
8877 (byte-compile-output-docform): Simplify accordingly.
8878 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
8879 (byte-compile-defmacro-declaration): Remove.
8880 (byte-compile-file-form-defmumble): Generalize to defalias.
8881 (byte-compile-output-as-comment): Return byte-positions.
8882 Simplify callers accordingly.
8883 (byte-compile-lambda): Use `assert'.
8884 (byte-compile-defun, byte-compile-defmacro): Remove.
8885 (byte-compile-file-form-defalias):
8886 Use byte-compile-file-form-defmumble.
8887 (byte-compile-defalias-warn): Remove.
8888
6d3f7c2f
SM
88892012-05-29 Stefan Merten <smerten@oekonux.de>
8890
8891 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
61b108cc 8892 possible. Fix authors. Improve comments. Improve loading of `cl'.
6d3f7c2f
SM
8893
8894 (rst-mode-abbrev-table): Merge definition.
8895 (rst-mode): Make sure `font-lock-defaults' is buffer local.
8896 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
8897
6dbaa1c7
UJ
88982012-05-29 Ulf Jasper <ulf.jasper@web.de>
8899
8900 * calendar/icalendar.el
8901 (icalendar-export-region): Export UID properly.
8902
d209e2fb 89032012-05-29 Leo Liu <sdl.web@gmail.com>
61b108cc
SM
8904 * calendar/icalendar.el (icalendar-import-format):
8905 Add `icalendar-import-format-uid' (Bug#11525).
6dbaa1c7
UJ
8906 (icalendar-import-format-uid): New.
8907 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
8908 Export UID.
8909
6876a58d
SM
89102012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
8911
8912 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
8913 different alternative patterns.
8914 (pcase-codegen): Be more careful to preserve identity.
8915 (pcase--u1): Don't forget to mark vars as used.
8916
8917 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
8918 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
8919 (byte-compile-from-buffer): ...rather than here.
8920
8921 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
8922 functions from byte-compile-function-environment.
8923
46b7967e
TN
89242012-05-29 Troels Nielsen <bn.troels@gmail.com>
8925
8926 * window.el (window-deletable-p): Avoid deleting the root window
8927 of a frame with an active minibuffer.
8928
69d565e2
MR
89292012-05-29 Martin Rudalics <rudalics@gmx.at>
8930
8931 * simple.el (choose-completion): Use quit-window (Bug#11567).
8932
a149fa51
CY
89332012-05-29 Chong Yidong <cyd@gnu.org>
8934
8935 * whitespace.el (whitespace-cleanup): Fix usage of
8936 whitespace-empty-at-bob-regexp (Bug#11492).
8937
2b311310
AH
89382012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
8939
8940 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
8941 revert (Bug#11488).
8942
b9cb2387
JL
89432012-05-29 Juri Linkov <juri@jurta.org>
8944
8945 * isearch.el (isearch-mode-map): Bind `M-s _' to
8946 `isearch-toggle-symbol'. Bind `M-s c' to
8947 `isearch-toggle-case-fold'.
8948 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
8949 (isearch-forward): Add `M-s _' to the docstring.
8950 (isearch-forward-symbol, isearch-toggle-case-fold)
8951 (isearch-symbol-regexp): New functions. (Bug#11381)
8952
d5e61c1c
JL
89532012-05-29 Juri Linkov <juri@jurta.org>
8954
8955 * isearch.el (isearch-word): Add docstring. (Bug#11381)
8956 (isearch-occur, isearch-search-and-update): If `isearch-word' is
8957 a function, call it to get the regexp.
8958 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
8959 property `isearch-message-prefix' instead of the string "word ".
8960 (isearch-search-fun-default): For the case of `isearch-word',
8961 return a lambda that calls re-search-forward/re-search-backward
8962 with a regexp returned by `word-search-regexp' or by the function
8963 in `isearch-word'.
8964
8cbd80f7
JL
89652012-05-29 Juri Linkov <juri@jurta.org>
8966
8967 * isearch.el (isearch-search-fun-default): New function.
8968 (isearch-search-fun): Move default part to the new function
8969 `isearch-search-fun-default'.
8970 (isearch-search-fun-function): Set the default value to
8971 `isearch-search-fun-default'. (Bug#11381)
8972
8973 * comint.el (comint-history-isearch-end):
8974 Use `isearch-search-fun-default'.
8975 (comint-history-isearch-search): Use `isearch-search-fun-default'
8976 and remove spacial case for `isearch-word'.
8977 (comint-history-isearch-wrap): Remove spacial case for
8978 `isearch-word'.
8979
8980 * hexl.el (hexl-isearch-search-function):
8981 Use `isearch-search-fun-default'.
8982
8983 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
8984 Use `word-search-regexp' for `isearch-word'.
8985
8986 * misearch.el (multi-isearch-search-fun):
8987 Use `isearch-search-fun-default'.
8988
8989 * simple.el (minibuffer-history-isearch-search):
8990 Use `isearch-search-fun-default' and remove spacial case for
8991 `isearch-word'.
8992 (minibuffer-history-isearch-wrap): Remove spacial case for
8993 `isearch-word'.
8994
8995 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
8996 Remove spacial case for `isearch-word'.
8997 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
8998
85c8c5b6
AM
89992012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9000
9001 Decrease XEmacs incompatibilities.
9002 * textmodes/flyspell.el (flyspell-check-pre-word-p):
9003 Use `string-match'.
9004 (flyspell-delete-region-overlays): Use alternative definition for
9005 XEmacs.
9006 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
9007 (flyspell-word): Use `process-kill-without-query' if XEmacs.
9008 (flyspell-mode-on): Use `interactive-p' if XEmacs.
9009 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
9010 `define-obsolete-face-alias' under XEmacs, but old method.
9011
9012 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
9013 `with-no-warnings' definition or Emacs alias.
9014 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
9015 (ispell-word): Do not use `region-p' if XEmacs.
9016
8cab9efc
AM
90172012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9018
9019 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
9020 Check for `ispell-dictionary-base-alist' instead of full
9021 `ispell-dictionary-alist'.
9022 (ispell-init-process): Show spellchecker when starting new Ispell
9023 process.
9024
fda91268
RZ
90252012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
9026
9027 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
9028 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
9029
694ea8e3
JB
90302012-05-27 Juanma Barranquero <lekktu@gmail.com>
9031
9032 * version.el (motif-version-string, gtk-version-string)
9033 (ns-version-string): Declare.
9034
e4d4f539
JL
90352012-05-27 Juri Linkov <juri@jurta.org>
9036
9037 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
9038 after the `eval-defun-1' specialcaseing
9039 like in `edebug-eval-defun' (bug#10181).
9040
9041 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
9042 like in `eval-defun-1'.
9043
33017faf 90442012-05-27 Eli Zaretskii <eliz@gnu.org>
b30b64b9 9045
fda91268
RZ
9046 * mail/sendmail.el (mail-yank-region):
9047 Recognize rmail-yank-current-message in addition to insert-buffer.
9048 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
b30b64b9
EZ
9049 a *mail* buffer created through rmail-start-mail with sendmail as
9050 mail-user-agent.
9051
33017faf
GM
90522012-05-27 Chong Yidong <cyd@gnu.org>
9053
9054 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
9055 Default to 256 (Bug#11267).
9056
9057 * help.el (describe-mode): Doc fix.
9058
04188bb9
GM
90592012-05-26 Glenn Morris <rgm@gnu.org>
9060
38264cc9
GM
9061 * w32-fns.el (w32-init-info): Remove.
9062 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
9063
eb7afdad
GM
9064 * info.el (info-initialize): For self-contained NS builds, put the
9065 included info/ directory at the front. (Bug#2791)
9066
04188bb9
GM
9067 * paths.el (Info-default-directory-list): Make it a defcustom,
9068 mainly so that we can use custom-initialize-delay.
9069
a179e3f7
SM
90702012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
9071
43416392
SM
9072 * subr.el (buffer-has-markers-at): Mark obsolete.
9073
a179e3f7 9074 * subr.el (lambda): Use declare.
43416392 9075
a179e3f7
SM
9076 * emacs-lisp/lisp-mode.el (lambda):
9077 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
9078
34a008d9
AH
90792012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
9080
9081 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
9082
0a3b289f
GM
90832012-05-26 Glenn Morris <rgm@gnu.org>
9084
9085 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
9086
758c81e8
GM
90872012-05-25 Glenn Morris <rgm@gnu.org>
9088
f9f334f0
GM
9089 * paths.el: Remove no-byte-compile.
9090 * loadup.el: No need to load paths.el uncompiled.
9091
87eb79c2
GM
9092 * image.el (imagemagick-types-inhibit): Doc fix.
9093
758c81e8
GM
9094 * version.el: Remove no-byte-compile and associated formatting.
9095 * loadup.el: No need to load version.el uncompiled. AFAICS, this
9096 is ancient code from when there was an "inc-vers.el".
9097
e7e85dc0
SM
90982012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
9099
9100 * progmodes/gdb-mi.el: Minor style changes.
9101 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
9102 Turn into minor modes.
9103 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
9104 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
9105 (gdb-shell): Remove unneeded let-binding.
9106 (gdb-get-many-fields): Eliminate O(n²) behavior.
9107
f31237a4
EZ
91082012-05-25 Eli Zaretskii <eliz@gnu.org>
9109
9110 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
9111 platforms that don't link in fontset.c.
9112
bc1b21bb
JL
91132012-05-25 Juri Linkov <juri@jurta.org>
9114
9115 Use the same diff color scheme as in modern VCSes (bug#10181).
9116
9117 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
9118 to avoid confusion with `diff-added' that now uses green colors.
9119 (diff-removed): Use shades of red.
9120 (diff-added): Use shades of green.
9121 (diff-changed): Leave just the yellow color.
9122 (diff-use-changed-face): New variable.
9123 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
9124 how to highlight context diff changes.
9125 (diff-refine-change): Use shades of yellow.
9126 (diff-refine-removed): New face that uses shades of red.
9127 (diff-refine-added): New face that uses shades of green.
9128 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
9129 `diff-refine-removed' in the call to `smerge-refine-subst'
9130 depending on the value of `diff-use-changed-face'.
9131
9132 * vc/smerge-mode.el (smerge-mine): Use shades of red.
9133 (smerge-other): Use shades of green.
9134 (smerge-base): Use shades of yellow.
9135 (smerge-refined-change): Empty face.
9136 (smerge-refined-removed): New face that uses shades of red.
9137 (smerge-refined-added): New face that uses shades of green.
9138 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
9139 args `props-r' and `props-a', and use them. Doc fix.
9140 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
9141 on its value use different faces `smerge-refined-change',
9142 `smerge-refined-removed', `smerge-refined-added' in the call to
9143 `smerge-refine-subst'.
9144
9145 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
9146 Add face condition `min-colors 88' with shades of red.
9147 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
9148 `min-colors 88' with shades of green.
9149 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
9150 `min-colors 88' with shades of yellow.
9151
6df9112c
GM
91522012-05-24 Glenn Morris <rgm@gnu.org>
9153
ead5edc0
GM
9154 * paths.el (prune-directory-list, remote-shell-program): Move to...
9155 * files.el (prune-directory-list, remote-shell-program): ...here.
9156 For the latter, delay initialization, prefer ssh, just search PATH.
9157
f18b81e6
GM
9158 * paths.el (term-file-prefix): Move to faces.el (the only user).
9159 * faces.el (term-file-prefix): Move here, make it a defcustom.
9160
ee2f89a6
GM
9161 * paths.el (news-directory, news-path, news-inews-program):
9162 Move to gnus/nnspool.el.
61a583ca 9163
f8815e4c
GM
9164 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
9165
c8f3b42c
GM
9166 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
9167 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
9168 Make the latter a defcustom, with a delayed initialization.
9169
6df9112c
GM
9170 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
9171 These were deleted from Gnus itself late 2010.
9172
5dadff36
JB
91732012-05-22 Juanma Barranquero <lekktu@gmail.com>
9174
9e1701c6
JB
9175 * progmodes/which-func.el (which-func-ff-hook):
9176 Check against user-error, not error.
9177
bd7239f5 9178 * emacs-lisp/edebug.el (top): Do not load or set up loading of
5dadff36
JB
9179 cl-specs.el, which no longer exists.
9180
3290526d
GM
91812012-05-22 Glenn Morris <rgm@gnu.org>
9182
9183 * info.el (info-emacs-bug): New command.
9184 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
9185 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
9186
ff0c3cfb
GM
91872012-05-21 Glenn Morris <rgm@gnu.org>
9188
9189 * makefile.w32-in (update-subdirs-SH):
9190 * Makefile.in (update-subdirs): Update for moved update-subdirs.
9191
5814f126
SM
91922012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
9193
a52c0aa0
SM
9194 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
9195
5814f126
SM
9196 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9197 Simplify Maven regexp, and make sure the file can't start with a space
9198 (bug#11517).
9199
b847032c
GM
92002012-05-21 Glenn Morris <rgm@gnu.org>
9201
9202 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
9203 Scrap superfluous subshells.
9204
3858bfe7
SM
92052012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
9206
9207 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
9208 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
9209
d14b0029
JB
92102012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
9211
9212 * calc/calc.el (calc-ensure-consistent-units): New variable.
9213
a52c0aa0
SM
9214 * calc/calc-units.el (math-consistent-units-p)
9215 (math-check-unit-consistency): New functions.
9216 (calc-quick-units, calc-convert-units):
9217 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
9218 is non-nil.
d14b0029
JB
9219 (calc-extract-units): Fix typo.
9220
60c4db3a
SM
92212012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
9222
77f3b62e
SM
9223 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
9224
60c4db3a
SM
9225 * textmodes/flyspell.el: Commenting style, plus code simplifications.
9226 (flyspell-default-deplacement-commands): Don't spell check after
9227 repeated window/frame switches (e.g. triggered by mouse-movement).
9228 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
9229 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
9230 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
9231 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
9232 Remove unused vars.
9233 (flyspell-get-casechars, flyspell-get-not-casechars):
9234 Simplify; Don't bother removing a ] just to add it back.
9235 * textmodes/ispell.el (ispell-program-name): Use executable-find.
9236
d209e2fb 92372012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
b1a10716
RS
9238
9239 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
9240 New functions.
bd7239f5 9241 (math-function-table): Add support for more C functions.
b1a10716 9242
3f1b25b5
AM
92432012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9244
090bd7cb
JB
9245 * textmodes/flyspell.el (flyspell-check-pre-word-p)
9246 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
9247 Protect delay handling for otherchars against empty otherchars.
3f1b25b5 9248
b581bb5c
SM
92492012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
9250
9251 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
9252 their respective macro declarations.
9253 * skeleton.el (define-skeleton):
9254 * progmodes/compile.el (define-compilation-mode):
9255 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
9256 (define-ibuffer-filter):
9257 * emacs-lisp/generic.el (define-generic-mode):
9258 * emacs-lisp/easy-mmode.el (define-minor-mode)
9259 (define-globalized-minor-mode):
9260 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
9261 * emacs-lisp/byte-run.el (defsubst):
9262 * custom.el (deftheme): Add doc-string metadata.
9263
70b8ef8f
SM
92642012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
9265
9266 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
9267
b1198e17
SM
92682012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
9269
9abdc45d
SM
9270 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
9271
b1198e17
SM
9272 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
9273 * emacs-lisp/cl-macs.el: Idem.
9274 * emacs-lisp/cl-specs.el: Remove.
9275
4735906a
SM
92762012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
9277
9278 Minor renaming of internal CL functions and variables.
9279 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
9280 (cl--position): Rename from cl-position.
9281 (cl--delete-duplicates): Rename from cl-delete-duplicates.
9282 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
9283 (cl--random-state): Rename from *random-state*.
9284
ac348012
SM
92852012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
9286
9287 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
9288 parens around the arg list (bug#11499).
9289
a0a79cde
JL
92902012-05-17 Juri Linkov <juri@jurta.org>
9291
9292 * isearch.el (word-search-regexp, word-search-backward)
9293 (word-search-forward, word-search-backward-lax)
9294 (word-search-forward-lax): Move functions from search.c
9295 (bug#10145, bug#11381).
9296
65034a51
AM
92972012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9298
090bd7cb
JB
9299 * textmodes/flyspell.el (flyspell-check-pre-word-p)
9300 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
9301 Delay for otherchars as for normal word components.
65034a51 9302
1a72a195
SM
93032012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
9304
9305 * minibuffer.el (completion--sifn-requote): Fix last change.
9306 (minibuffer-local-must-match-filename-map):
9307 Move define-obsolete-variable-alias before its var.
9308
fdb058c2
SM
93092012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
9310
c41045e6
SM
9311 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
9312
036dfb8b
SM
9313 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
9314 behavior.
9315 (completion--string-equal-p): New function.
9316 (completion--twq-all): Use it to get better assertion failure data.
9317
2473256d
SM
9318 Only handle ".." and '..' quoting in shell-mode (bug#11466).
9319 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
9320 (shell--requote-argument): New functions.
9321 (shell-completion-vars): Use them.
9322 (shell--parse-pcomplete-arguments): Rename from
9323 shell-parse-pcomplete-arguments.
9324 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
9325 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
9326 Obey comint-file-name-quote-list.
9327
fdb058c2
SM
9328 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
9329 (smie-indent-keyword): Use it.
9330
51fa99f1
SM
93312012-05-14 Stefan Merten <smerten@oekonux.de>
9332
9333 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
9334
e18afed7 93352012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
d9d1dfef
SM
9336
9337 * net/rlogin.el (rlogin-mode-map): Fix last change.
9338
e18afed7 93392012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
8633b1f4
JW
9340
9341 * mail/smtpmail.el (smtpmail-send-command): Send the command and
9342 the following \r\n using a single `process-send-string', since the
9343 Lotus SMTP server refuses to accept any commands if they are sent
e18afed7 9344 with two `process-send-string's (Bug#11444).
8633b1f4 9345
e18afed7 93462012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
fe263b8f 9347
fdb058c2
SM
9348 * shell.el (shell-parse-pcomplete-arguments):
9349 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
e18afed7 9350
2d21d7f6
WJ
93512012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
9352
e18afed7 9353 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
2d21d7f6
WJ
9354 (image-transform-scale, image-transform-right-angle-fudge): New vars.
9355 (image-transform-width, image-transform-fit-width): New functions.
9356 (image-transform-properties): Use them.
9357 (image-transform-check-size): New function.
9358 (image-toggle-display-image): Use it (for testing).
9359 (image-transform-set-rotation): Reduce angle mod 360.
9360 Delete obsolete comment.
9361
7102e6d0
WJ
93622012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
9363
9364 * image-mode.el: Fix scaling (bug#11399).
9365 (image-transform-resize): Doc fix.
9366 (image-transform-properties): Default scale is 1 and height should
9367 be an integer.
9368
06bc5e6e
SM
93692012-05-13 Johan Bockgård <bojohan@gnu.org>
9370
9371 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
9372 than hard-coding `car', to fix misbehavior when moving forward.
9373
0ae03b6a
CY
93742012-05-13 Chong Yidong <cyd@gnu.org>
9375
9376 * emacs-lisp/tabulated-list.el (tabulated-list-format)
9377 (tabulated-list-entries, tabulated-list-padding)
9378 (tabulated-list-sort-key): Make permanent-local.
9379
9380 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
9381 (electric-buffer-list): Put electric buffer menu
9382 command descriptions in this docstring, instead of the docstring
9383 of electric-buffer-menu-mode. Code cleanups.
9384 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
9385 Electric-buffer-menu-mode.
9386 (electric-buffer-update-highlight): Minor code cleanup.
9387
205a7391
MA
93882012-05-13 Michael Albinus <michael.albinus@gmx.de>
9389
9390 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
9391 (Bug#11447)
9392
e5bd0a28
SM
93932012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
9394
9395 Move define-obsolete-variable-alias before the var's definition.
9396 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
9397 * tooltip.el (tooltip-hook):
9398 * textmodes/reftex-toc.el (reftex-toc-map):
9399 * textmodes/reftex-sel.el (reftex-select-label-map)
9400 (reftex-select-bib-map):
9401 * textmodes/reftex-index.el (reftex-index-map)
9402 (reftex-index-phrases-map):
9403 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
9404 * progmodes/meta-mode.el (meta-mode-map):
9405 * novice.el (disabled-command-hook):
9406 * loadhist.el (unload-hook-features-list):
9407 * frame.el (blink-cursor):
9408 * files.el (find-file-not-found-hooks, write-file-hooks)
9409 (write-contents-hooks):
9410 * emulation/tpu-edt.el (GOLD-map):
9411 * emacs-lock.el (emacs-lock-from-exiting):
9412 * emacs-lisp/generic.el (generic-font-lock-defaults):
9413 * emacs-lisp/chart.el (chart-map):
9414 * dos-fns.el (register-name-alist):
9415 * dired-x.el (dired-omit-files-p):
9416 * desktop.el (desktop-enable):
9417 * cus-edit.el (custom-mode-hook):
9418 * buff-menu.el (buffer-menu-mode-hook):
9419 * bookmark.el (bookmark-read-annotation-text-func)
9420 (bookmark-exit-hooks):
9421 * allout.el (allout-mode-deactivate-hook)
9422 (allout-exposure-change-hook, allout-structure-added-hook)
9423 (allout-structure-deleted-hook, allout-structure-shifted-hook):
9424 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
9425 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
9426 comes before the corresponding variable's definition.
9427
ac59c2f6
CY
94282012-05-12 Chong Yidong <cyd@gnu.org>
9429
9430 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
0d909786
CY
9431 (Buffer-menu-mouse-select): Restore function (Bug#11459).
9432 (Buffer-menu-mode-map): Bind it.
9433 (Buffer-menu--pretty-name): Add a mouse-face property.
ac59c2f6 9434
dee6c9a3
SM
94352012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
9436
2171cea5
SM
9437 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
9438 (prolog-upper-case-string, prolog-lower-case-string)
9439 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
9440 (prolog-use-smie, prolog-smie-grammar): New vars.
9441 (prolog-smie-forward-token, prolog-smie-backward-token)
9442 (prolog-smie-rules): New funs.
9443 (prolog-comment-indent): Remove.
9444 (prolog-mode-variables): Use default comment indentation instead.
9445 Setup SMIE.
9446 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
9447 (prolog-mode): Don't call them any more.
9448 (prolog-electric-colon, prolog-electric-dash)
9449 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
9450
aa0382bd
SM
9451 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
9452
dbacb4bd
SM
9453 * minibuffer.el (completion--twq-all): Again, allow case differences.
9454
13bdd94c
SM
9455 * term.el: Move keymap initialization code to be more idiomatic.
9456 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
9457 (term-terminal-menu): Move initialization into declaration.
9458 (term-escape-char): Let the user set it in her .emacs.
9459
ff46c759
SM
9460 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
9461 Provide SMIE-based indentation (not enabled by default yet).
9462 (sh-mode-map): Don't bind electric keys.
9463 Use electric-pair-mode instead of skeleton-pair.
9464 (sh-assignment-regexp): Fit within 80 columns.
9465 (sh-indent-supported): Specify actual shell name instead of boolean.
9466 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
9467 (sh-maybe-here-document): Use it. Make obsolete.
9468 (sh-electric-here-document-mode) New minor mode.
9469 (sh-mode): Use it. Don't set sh-indent-supported-here here.
9470 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
9471 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
9472 (sh-smie-rc-grammar, sh-use-smie): New vars.
9473 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
9474 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
9475 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
9476 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
9477 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
9478 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
9479 (sh-set-shell): Use smie-setup if requested.
9480
dee6c9a3
SM
9481 * term.el (term-set-escape-char): Properly set term-escape-char.
9482 See http://stackoverflow.com/questions/10524656.
9483
9f9aa044
CY
94842012-05-10 Chong Yidong <cyd@gnu.org>
9485
9486 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
9487 Use url-generic-parse-url, and handle host names and Windows
9488 filenames properly.
9489 (ffap-url-unwrap-remote): Use url-generic-parse-url.
9490 (ffap-url-unwrap-remote): Accept list values, specifying a list of
9491 URL schemes to work on.
9492 (ffap--toggle-read-only): New function.
9493 (ffap-read-only, ffap-read-only-other-window)
9494 (ffap-read-only-other-frame): Use it.
9495 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
9496 necessary for ffap-url-unwrap-remote.
9497
836d29b3
DA
94982012-05-10 Dave Abrahams <dave@boostpro.com>
9499
9500 * cus-start.el (create-lockfiles): Add it.
9501
00fd78ed
CY
95022012-05-09 Chong Yidong <cyd@gnu.org>
9503
9504 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
9505 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
9506
666b903b 95072012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1cb51c12
SM
9508
9509 * shell.el (shell-completion-vars): Fix last change (bug#11348).
9510
666b903b 95112012-05-09 Chong Yidong <cyd@gnu.org>
18f00515
CY
9512
9513 * ansi-color.el (ansi-color-process-output): Check for validity of
9514 comint-last-output-start before using it. This avoids a bad
9515 interaction with gdb-mi's input/output buffer.
9516
666b903b 95172012-05-09 Glenn Morris <rgm@gnu.org>
fd075e7b
GM
9518
9519 * files.el (dir-locals-read-from-file):
9520 Mention dir-locals in any error message.
9521
666b903b 95222012-05-09 Chong Yidong <cyd@gnu.org>
25f292cd
CY
9523
9524 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
9525 package (Bug#11410).
9526
f677562b
CY
9527 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
9528 variables into description.
9529
666b903b 95302012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3d53ee1b
SM
9531
9532 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
9533 shell-delimiter-argument-list (bug#11348).
9534 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
9535
b499d8d0
JB
95362012-05-09 Juanma Barranquero <lekktu@gmail.com>
9537
8f6b6da8
JB
9538 * textmodes/rst.el: Silence byte-compiler warnings.
9539 (rst-re-alist, rst-reset-section-caches): Move around.
9540 (rst-re): Use `characterp', not `char-valid-p'.
9541 (font-lock-beg, font-lock-end): Declare.
9542
4824146a
JB
9543 * progmodes/idlw-shell.el (specs): Remove reference to deleted
9544 variable `idlwave-shell-activate-alt-keybindings' and simplify.
9545
b499d8d0
JB
9546 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
9547
ad89bb83
GM
95482012-05-08 Glenn Morris <rgm@gnu.org>
9549
9550 * files.el (auto-mode-alist): Treat ".make" like ".mk".
9551
8bba5a75
SM
95522012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9553
49ed9c8e
SM
9554 * vc/log-edit.el: Add GNU coding standards highlighting.
9555 (log-edit-font-lock-gnu-style)
9556 (log-edit-font-lock-gnu-keywords): New vars.
9557 (log-edit-font-lock-keywords): New fun.
9558 (log-edit-mode): Don't fold case in font-lock.
9559 (log-edit-font-lock-keywords): Do not assume case-folding.
9560
07d00b56
SM
9561 * imenu.el: Misc cleanup. Make docstrings out of comments.
9562 Use lexical-binding.
9563 (imenu--index-alist, imenu--last-menubar-index-alist)
9564 (imenu-menubar-modified-tick): Use defvar-local.
9565 (imenu--split-menu): Remove unused var.
9566 (imenu--cleanup-seen): Declare as global.
9567 (imenu--cleanup): Use dolist.
9568
8bba5a75
SM
9569 * subr.el (defvar-local): Add debug spec and doc-string position.
9570
5075bdb5
GM
95712012-05-08 Glenn Morris <rgm@gnu.org>
9572
090bd7cb 9573 * language/burmese.el, language/cham.el, language/czech.el:
c052c904
GM
9574 * language/english.el, language/georgian.el, language/greek.el:
9575 * language/japanese.el, language/khmer.el, language/korean.el:
9576 * language/lao.el, language/misc-lang.el, language/romanian.el:
9577 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
9578 * language/thai.el, language/utf-8-lang.el:
9579 Remove no-byte-compile setting.
9580
5075bdb5
GM
9581 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
9582
06f679a7
AH
95832012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
9584
9585 * progmodes/make-mode.el (makefile-browse):
9586 Remove unnecessary interactive. (Bug#11324)
9587
03794570
GM
95882012-05-07 Glenn Morris <rgm@gnu.org>
9589
af8630f4
GM
9590 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
9591
03794570
GM
9592 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
9593
f0809a9d
SM
95942012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
9595
28be5ce7
SM
9596 * loadup.el: Preload newcomment.el.
9597 * newcomment.el: Move autoload-only code to toplevel.
9598
f0809a9d
SM
9599 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
9600 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
9601 Handle new :right-align column property.
9602 (tabulated-list-print-col): Idem, plus use `display' text-property to
9603 try and preserve alignment for variable pitch fonts.
9604
1241b724
CY
96052012-05-07 Chong Yidong <cyd@gnu.org>
9606
9607 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
9608 (tabulated-list-use-header-line): New var.
9609 (tabulated-list-init-header): Use it.
9610 (tabulated-list-print-fake-header): New function.
9611 (tabulated-list-print): Use it.
9612 (tabulated-list-sort-button-map): Add non-header-line commands.
9613 (tabulated-list-init-header): Add column name property to basic
9614 labels as well.
9615 (tabulated-list-col-sort): Handle non-header-line button case.
9616 (tabulated-list--sort-by-column-name): Fix a corner case.
9617
f0809a9d
SM
9618 * buff-menu.el (list-buffers--refresh):
9619 Handle Buffer-menu-use-header-line.
1241b724 9620
e5f9458f
CY
96212012-05-06 Chong Yidong <cyd@gnu.org>
9622
9623 * buff-menu.el: Convert to Tabulated List mode.
9624 (Buffer-menu-buffer+size-width): Make obsolete.
9625 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
9626 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
9627 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
9628 documentation into docstring of buffer-menu.
9629 (Buffer-menu-toggle-files-only): Add an informative message.
9630 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
9631 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
9632 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
9633 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
9634 (Buffer-menu-execute, Buffer-menu-select)
9635 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
9636 (Buffer-menu-bury): Use Tabulated List machinery.
9637 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
9638 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
f0809a9d 9639 Delete.
e5f9458f
CY
9640 (list-buffers--refresh): New function.
9641 (list-buffers-noselect): Use it.
9642 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
9643 (Buffer-menu--pretty-file-name): New helper functions.
9644
9645 * loadup.el: Preload tabulated-list.
9646
9647 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
9648 tabulated-list-sort-column.
9649 (tabulated-list-init-header): Add the initial aligning space even
9650 if tabulated-list-padding is zero.
9651
e129292c
CS
96522012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
9653
9654 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
9655 whose cdr is not a cons cell correctly (bug#11038).
9656
6632d361
CY
96572012-05-06 Chong Yidong <cyd@gnu.org>
9658
e129292c
CS
9659 * emacs-lisp/tabulated-list.el (tabulated-list-format):
9660 Accept additional plist in column descriptors.
6632d361
CY
9661 (tabulated-list-init-header): Obey it.
9662 (tabulated-list-get-entry): New function.
9663 (tabulated-list-put-tag): Use it. Use string-width instead of
9664 length.
9665 (tabulated-list--column-number): New function.
9666 (tabulated-list-print): Use it.
e129292c
CS
9667 (tabulated-list-print-col): New function.
9668 Set `tabulated-list-column-name' property on each column's text.
6632d361 9669 (tabulated-list-print-entry): Use it.
e129292c
CS
9670 (tabulated-list-delete-entry, tabulated-list-set-col):
9671 New functions.
6632d361
CY
9672 (tabulated-list-sort-column): New command (Bug#11337).
9673
3cc99f68
CY
9674 * buff-menu.el (list-buffers): Move C-x C-b binding from
9675 buff-menu.el to bindings.el.
9676
9677 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
9678 :advertised-binding feature.
9679
52b61776
TN
96802012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
9681
9682 * progmodes/compile.el (compilation-internal-error-properties):
9683 Calculate start position correctly when end-col is set but
9684 end-line is not (Bug#11382).
9685
ebfe2597
WJ
96862012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
9687
9688 * man.el (Man-unindent): Use text-property-default-nonsticky to
9689 prevent untabify from inheriting face properties (Bug#11408).
9690
6d3f7c2f
SM
96912012-05-05 Stefan Merten <smerten@oekonux.de>
9692
9693 * textmodes/rst.el: Major merge with upstream development up to
9694 Docutils SVN r7399 / rst.el V1.2.1.
9695
9696 Clarify maintainership and authors.
9697
9698 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
9699 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
9700 (rst-official-version, rst-official-cvs-rev, rst-version)
9701 (rst-package-emacs-version-alist): New functions and variables
9702 for version information.
9703
9704 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
9705 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
9706 (rst-mode-syntax-table, rst-mode): New and corrected functions
9707 and variables representing reStructuredText features.
9708
9709 (rst-re): New function for reStructuredText regexes. Use in
9710 many places.
9711
9712 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
9713 (rst-mode-map): Rebind keys.
9714
9715 (rst-mode-lazy, rst-font-lock-keywords)
9716 (rst-font-lock-extend-region)
9717 (rst-font-lock-extend-region-internal)
9718 (rst-font-lock-extend-region-extend)
9719 (rst-font-lock-find-unindented-line-limit)
9720 (rst-font-lock-find-unindented-line-match)
9721 (rst-adornment-level, rst-font-lock-adornment-level)
9722 (rst-font-lock-adornment-match)
9723 (rst-font-lock-handle-adornment-pre-match-form)
9724 (rst-font-lock-handle-adornment-matcher): Major revision of
9725 font-locking. Integrate with other code. Use `jit-lock-mode'.
9726
9727 (rst-preferred-adornments, rst-adjust-hook)
9728 (rst-new-adornment-down, rst-preferred-bullets)
9729 (rst-preferred-bullets, rst-indent, rst-indent-width)
9730 (rst-indent-field, rst-indent-literal-normal)
9731 (rst-indent-literal-minimized, rst-indent-comment): Change,
9732 extend and improve customization.
9733
9734 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
9735 (rst-normalize-cursor-position, rst-get-decoration)
9736 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
9737 (rst-rstrip, rst-toc-insert-find-delete-contents)
9738 (rst-shift-fill-region, rst-compute-bullet-tabs)
9739 (rst-debug-print-tabs, rst-debug-mark-found)
9740 (rst-shift-region-guts, rst-shift-region-right)
9741 (rst-shift-region-left, rst-use-char-classes)
9742 (rst-font-lock-keywords-function)
9743 (rst-font-lock-indentation-point)
9744 (rst-font-lock-find-unindented-line-begin)
9745 (rst-font-lock-find-unindented-line-end)
9746 (rst-font-lock-find-unindented-line)
9747 (rst-font-lock-adornment-point, rst-font-lock-level)
9748 (rst-adornment-level-alist): Remove functions and variables.
9749
9750 (rst-compare-adornments, rst-get-adornment-match)
9751 (rst-suggest-new-adornment, rst-get-adornments-around)
9752 (rst-adornment-complete-p, rst-get-next-adornment)
9753 (rst-adjust-adornment, rst-display-adornments-hierarchy)
9754 (rst-straighten-adornments): Standardize function names to
9755 use "adornment" instead of "decoration". Correct callers.
9756 Similar standardizing in many places.
9757
9758 (rst-update-section, rst-adjust, rst-promote-region)
9759 (rst-enumerate-region, rst-bullet-list-region)
9760 (rst-repeat-last-character): Correct use of `interactive'.
9761
9762 (rst-classify-adornment, rst-find-all-adornments)
9763 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
9764 (rst-find-leftmost-column, rst-repeat-last-character):
9765 Refactor functions.
9766
9767 (rst-find-title-line, rst-reset-section-caches)
9768 (rst-get-adornments-around, rst-adjust-adornment-work)
9769 (rst-arabic-to-roman, rst-roman-to-arabic)
9770 (rst-insert-list-pos, rst-insert-list-new-item)
9771 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
9772 New functions.
9773
9774 (rst-all-sections, rst-section-hierarchy)
9775 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
9776 New variables.
9777
9778 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
9779 configuration instead of only buffer. Change where necessary.
9780
9781 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
9782 (rst-shift-region, rst-adaptive-fill): New functions for
9783 indentation and filling.
9784
9785 (rst-comment-line-break, rst-comment-indent)
9786 (rst-comment-insert-comment, rst-comment-region)
9787 (rst-uncomment-region): New functions for handling comments.
9788
9789 (rst-compile): Quote shell arguments.
9790
9791 (rst-compile-pdf-preview, rst-compile-slides-preview):
9792 Delete temporary files after use.
9793
a43f98b3
GM
97942012-05-05 Glenn Morris <rgm@gnu.org>
9795
48176e8b
GM
9796 * calendar/cal-html.el: Optionally include holidays in the output.
9797 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
9798 (cal-html-holidays): New option.
9799 (cal-html-css-default): Add holiday entry.
9800 (holiday-in-range): Autoload it.
9801 (cal-html-htmlify-entry): Add optional class argument.
9802 (cal-html-htmlify-list): Add optional holidays argument.
9803 (cal-html-insert-agenda-days): Include holidays in the output.
9804 (cal-html-one-month): Maybe include holidays.
9805
a43f98b3
GM
9806 * calendar/holidays.el (holiday-in-range):
9807 Move here from cal-tex-list-holidays.
9808 * calendar/cal-tex.el (cal-tex-list-holidays):
9809 Make it an obsolete alias for holiday-in-range. Update all callers.
9810
fef9d149 98112012-05-05 Chong Yidong <cyd@gnu.org>
eceeb5fc
CY
9812
9813 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
9814 Nextstep.
9815
248da2f4
RW
98162012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
9817
9818 * files.el (file-auto-mode-skip): New var.
9819 (set-auto-mode-1): Use it.
9820
f95e9344
SM
98212012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
9822
df96ab1e
SM
9823 * repeat.el: Use lexical-binding.
9824 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
9825 (repeat-undo-count): Remove.
9826 (repeat):
9827 * progmodes/octave-mod.el (octave-abbrev-start):
9828 * progmodes/f90.el (f90-abbrev-start):
9829 * face-remap.el (text-scale-adjust):
9830 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
9831
5342bb06
SM
9832 * emacs-lisp/pcase.el (pcase--let*): New function.
9833 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
9834 a bit more.
9835 (pcase--split-pred): Be more clever about ruling out overlap between
9836 a predicate and some constant pattern.
9837 (pcase--q1): Use `null' instead of (eq foo nil).
9838
f95e9344
SM
9839 * subr.el (setq-local, defvar-local): New macros.
9840 (kbd): Redefine as an alias.
9841 (with-selected-window): Leave unrelated frames alone.
9842 (set-temporary-overlay-map): New function.
9843
71873e2b
SM
98442012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
9845
9846 * subr.el (user-error): New function.
9847 * window.el (switch-to-buffer):
9848 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
9849 (smerge-match-conflict):
9850 * simple.el (previous-matching-history-element)
9851 (next-matching-history-element, goto-history-element, undo-more)
9852 (undo-start):
9853 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
9854 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
9855 (next-file, tags-loop-scan, list-tags, complete-tag):
9856 * progmodes/compile.el (compilation-loop):
9857 * mouse.el (mouse-minibuffer-check):
9858 * man.el (Man-bgproc-sentinel, Man-goto-page):
9859 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
9860 (Info-history-forward, Info-follow-reference, Info-menu)
9861 (Info-extract-menu-item, Info-extract-menu-counting)
9862 (Info-forward-node, Info-backward-node, Info-next-menu-item)
9863 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
9864 (Info-next-reference, Info-prev-reference, Info-index)
9865 (Info-index-next, Info-follow-nearest-node)
9866 (Info-copy-current-node-name):
9867 * imenu.el (imenu--make-index-alist)
9868 (imenu-default-create-index-function, imenu-add-to-menubar):
9869 * files.el (basic-save-buffer, recover-file):
9870 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
9871 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
9872 (checkdoc-message-text, checkdoc-defun):
9873 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
9874 * cus-edit.el (customize-changed-options, customize-rogue)
9875 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
9876 (custom-variable-mark-to-reset-standard)
9877 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
9878 (custom-file):
9879 * completion.el (check-completion-length):
9880 * comint.el (comint-search-arg)
9881 (comint-previous-matching-input-string-position)
9882 (comint-previous-matching-input)
9883 (comint-replace-by-expanded-history-before-point, comint-send-input)
9884 (comint-copy-old-input, comint-backward-matching-input)
9885 (comint-goto-process-mark, comint-set-process-mark):
9886 * calendar/calendar.el (calendar-cursor-to-date): Use it.
9887 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
9888
8a61ee22
SM
98892012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
9890
66408d1e
SM
9891 * dabbrev.el (dabbrev--ignore-case-p): New function.
9892 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
9893 Use it.
9894
8a61ee22
SM
9895 * files.el (automount-dir-prefix): Mark as obsolete.
9896
3c74813a
GM
98972012-05-04 Glenn Morris <rgm@gnu.org>
9898
9899 * patcomp.el, play/bruce.el: Move to obsolete/.
9900
0bfcf5c5
PE
99012012-05-04 Paul Eggert <eggert@cs.ucla.edu>
9902
9903 Fix minor Y10k bugs.
9904 * arc-mode.el (archive-unixdate):
9905 * autoinsert.el (auto-insert-alist):
9906 * calc/calc-forms.el (math-this-year):
9907 * emacs-lisp/copyright.el (copyright-current-year)
9908 (copyright-update-year, copyright):
9909 * tar-mode.el (tar-clip-time-string):
9910 * time.el (display-time-update):
9911 Don't assume years have 4 digits.
9912
78f3273a
CY
99132012-05-04 Chong Yidong <cyd@gnu.org>
9914
9915 * dos-w32.el (file-name-buffer-file-type-alist)
9916 (direct-print-region-use-command-dot-com):
9917 * ffap.el (ffap-menu-regexp):
9918 * find-file.el (ff-special-constructs):
9919 * follow.el (follow-debug):
9920 * forms.el (forms--debug):
9921 * iswitchb.el (iswitchb-all-frames):
9922 * ido.el (ido-all-frames):
9923 * emacs-lisp/timer.el (timer-max-repeats):
9924 * mail/feedmail.el (feedmail-mail-send-hook)
9925 (feedmail-mail-send-hook-queued):
9926 * mail/footnote.el (footnote-signature-separator):
9927 * mail/mailabbrev.el (mail-alias-separator-string)
9928 (mail-abbrev-mode-regexp):
9929 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
9930 * progmodes/idlwave.el (idlwave-libinfo-file)
9931 (idlwave-default-completion-case-is-down)
9932 (idlwave-library-routines): Convert defvars to defcustoms.
9933
9934 * mail/rmail.el (rmail-decode-mime-charset):
9935 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
9936 (idlwave-shell-fix-inserted-breaks)
9937 (idlwave-shell-activate-alt-keybindings)
9938 (idlwave-shell-use-breakpoint-glyph):
9939 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
9940
f7ae6719
SM
99412012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
9942
9943 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
9944
47086495
WS
99452012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
9946
9947 * progmodes/verilog-mode.el (font-lock-keywords):
9948 Fix mis-highligting auto. Reported by Craig Barner.
9949 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
fc0c31f8 9950 defines from global name space. Reported by Dan Dever.
47086495
WS
9951 (verilog-auto-reset, verilog-auto-reset-widths)
9952 (verilog-auto-tieoff): Support using unbased numbers for
9953 AUTORESET and AUTOTIEOFF.
9954 (verilog-submit-bug-report): Update variable list.
9955 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
fc0c31f8 9956 parenthesis from not matching. Reported by Michael Rytting.
47086495
WS
9957 (verilog-auto-template-lint): Fix hash error when linting modules
9958 with no used templates.
9959 (verilog-warn, verilog-warn-error)
9960 (verilog-warn-fatal): When non-interactive report multiple
9961 warnings before exiting. Suggested by Brad Dobbie.
9962 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
9963 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
9964 to report unused template errors. Reported by Brad Dobbie.
9965 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
fc0c31f8 9966 nets, bug438. Reported by Vns Blore.
47086495
WS
9967 (verilog-auto-inout-module, verilog-auto-reg)
9968 (verilog-read-decls, verilog-read-sub-decls-sig)
9969 (verilog-signals-edit-wire-reg, verilog-signals-with):
9970 Fix passing of Verilog data types in ANSI input/output ports
fc0c31f8 9971 such as "output logic" into the AUTOs. Special case "wire" and
47086495
WS
9972 "reg" for backwards compatibility presuming Verilog 2001.
9973 (verilog-auto-ascii-enum): Add "auto enum" as alias.
9974 (verilog-preprocess): Fix replication of preprocess output.
9975 Reported by Brad Dobbie.
9976 (verilog-auto-inst-interfaced-ports):
9977 Create verilog-auto-inst-interfaced-ports, bug429.
9978 Reported by Julian Gorfajn.
9979 (verilog-after-save-font-hook)
9980 (verilog-before-save-font-hook): New variable.
9981 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
9982 (verilog-save-font-mods): Wrap disabling fontification, reported
9983 by David Rogoff.
9984 (verilog-do-indent, verilog-pretty-declarations-auto)
9985 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
9986 Reported by Pierre-David Pfister.
9987 (verilog-set-auto-endcomments): Fix endtask auto comments outside
9988 of class declarations, bug292. Reported by Kevin Heilman.
9989 (verilog-read-decls): Fix 'parameter type' not appearing in
9990 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
9991 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
fc0c31f8 9992 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
47086495
WS
9993 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
9994 Reported by David Kravitz.
9995
99962012-05-03 Michael McNamara <mac@mail.brushroad.com>
9997
9998 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
9999 assignment with tests in ifs and for loops.
10000 (verilog-extended-complete-re, verilog-complete-reg): Change so
10001 that DPI inport functions don't look like fuction declarations.
10002 (verilog-pretty-expr): Don't line up assignment
10003 operations to the test and increment in if and for loops
10004 (verilog-extended-complete-re, verilog-complete-reg): Change so
090bd7cb 10005 that DPI inport functions don't look like fuction declarations.
47086495 10006
2e51d4b5
KH
100072012-05-03 Kenichi Handa <handa@m17n.org>
10008
10009 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
c846da43 10010 decoding, and show a warning message without signaling an error
2e51d4b5
KH
10011 (Bug#11282).
10012
2bd785a2
SM
100132012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
10014
10015 * emacs-lisp/bytecomp.el
10016 (byte-compile-file-form-custom-declare-variable): Compile all elements,
10017 since cconv.el might have introduced :fun-body, internal-make-closure,
10018 and friends for bytecomp to handle (bug#11391).
10019 * custom.el (defcustom): Avoid ((λ ..) ..).
10020
99d27583
SM
100212012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
10022
10023 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
10024
55a71479
JB
100252012-05-02 Juanma Barranquero <lekktu@gmail.com>
10026
10027 * notifications.el (dbus-debug):
10028 * term/linux.el (gpm-mouse-enable):
10029 * term/screen.el (xterm-register-default-colors): Declare.
10030
7b97c764
CY
100312012-05-02 Chong Yidong <cyd@gnu.org>
10032
2bc356d7
CY
10033 * cus-start.el (gc-cons-percentage, exec-suffixes)
10034 (dos-display-scancodes, dos-hyper-key, dos-super-key)
10035 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
10036 (make-cursor-line-fully-visible, void-text-area-pointer)
10037 (font-list-limit): Add customization data.
10038
7b97c764
CY
10039 * allout.el (allout-exposure-change-functions)
10040 (allout-structure-added-functions)
10041 (allout-structure-deleted-functions)
10042 (allout-structure-shifted-functions): Rename abnormal hooks from
10043 *-hook, and convert to defcustoms.
5d3385a0
JB
10044 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
10045 Convert to defcustoms.
7b97c764
CY
10046 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
10047
10048 * allout-widgets.el: Hook callers changed.
10049
90207a15 100502012-05-02 Eli Zaretskii <eliz@gnu.org>
91af76bf
EZ
10051
10052 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
10053 the yanked message in preference to the default value of
10054 buffer-file-coding-system.
10055
90207a15 100562012-05-02 Martin Rudalics <rudalics@gmx.at>
d9558cad 10057
5d3385a0
JB
10058 * window.el (display-buffer--action-function-custom-type):
10059 Fix entry.
d9558cad 10060
90207a15 100612012-05-02 Alan Mackenzie <acm@muc.de>
09affde0
AM
10062
10063 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
10064
d80ac57b
GM
100652012-05-01 Glenn Morris <rgm@gnu.org>
10066
976f7668
GM
10067 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
10068
beb83b5a
GM
10069 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
10070
d80ac57b
GM
10071 * cus-edit.el (custom-variable-documentation): Simplify with format.
10072
b593d6a9 100732012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
f1a71c6e 10074 Stefan Monnier <monnier@iro.umontreal.ca>
b593d6a9
AH
10075
10076 * simple.el (suggest-key-bindings, execute-extended-command):
10077 Move from keyboard.c.
10078
782fbf2a
CY
100792012-05-01 Chong Yidong <cyd@gnu.org>
10080
10081 * follow.el: Eliminate advice.
10082 (set-process-filter, process-filter, sit-for): Advice deleted.
10083 (follow-mode-off-hook): Obsolete hook removed.
b593d6a9
AH
10084 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
10085 Vars deleted.
782fbf2a
CY
10086 (follow-auto): Use a :set function.
10087 (follow-mode): Rewritten. Don't advise process filters.
10088 (follow-switch-to-current-buffer-all, follow-scroll-up)
10089 (follow-scroll-down): Assume follow-mode is bound.
10090 (follow-comint-scroll-to-bottom)
10091 (follow-align-compilation-windows): New functions.
10092 (follow--window-sorter): New function.
10093 (follow-all-followers): Use it to explicitly sort windows by their
10094 positions; don't make assumptions about next-window order.
10095 (follow-windows-start-end, follow-delete-other-windows-and-split)
10096 (follow-calc-win-start): Doc fix.
10097 (follow-windows-aligned-p, follow-select-if-visible): Don't call
10098 vertical-motion unnecessarily.
10099 (follow-adjust-window): New function.
10100 (follow-post-command-hook): Use it.
10101 (follow-call-set-process-filter, follow-call-process-filter)
10102 (follow-intercept-process-output, follow-tidy-process-filter-alist)
10103 (follow-stop-intercept-process-output, follow-generic-filter):
10104 Functions deleted.
10105 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
b593d6a9
AH
10106 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
10107 New functions, replacing advice on scroll-bar-* commands.
87233a14 10108 (follow-mwheel-scroll): New function (Bug#4112).
782fbf2a
CY
10109
10110 * comint.el (comint-adjust-point): New function.
b593d6a9
AH
10111 (comint-postoutput-scroll-to-bottom): Use it.
10112 Call follow-comint-scroll-to-bottom for Follow mode buffers.
782fbf2a 10113
290af740
GM
101142012-05-01 Glenn Morris <rgm@gnu.org>
10115
10116 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
10117 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
10118 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
10119 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
10120 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
10121 Remove no-byte-compile setting.
10122
6eac8dc9
SM
101232012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
10124
10125 * minibuffer.el (completion-table-with-quoting): Fix compatibility
10126 all-completions code to not return a number in the last cdr.
10127
9cc7819c
LL
101282012-04-30 Leo Liu <sdl.web@gmail.com>
10129
10130 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
10131 read-only error.
10132
c93b886f
CY
101332012-04-29 Chong Yidong <cyd@gnu.org>
10134
10135 * follow.el (follow-calc-win-end): Rewrite to handle partial
10136 screen lines correctly (Bug#8390).
10137 (follow-avoid-tail-recenter): Minor cleanup.
10138
8b6c19f4
SM
101392012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
10140
10141 Avoid the obsolete `assoc' package.
10142 * speedbar.el (speedbar-refresh): Avoid adelete.
10143 (speedbar-file-lists): Simplify and avoid aput.
10144 * man.el (Man--sections, Man--refpages): New vars, replacing
10145 Man-sections-alist and Man-refpages-alist.
10146 (Man-build-section-alist, Man-build-references-alist):
10147 Use them; avoid aput.
10148 (Man--last-section, Man--last-refpage): New vars.
10149 (Man-follow-manual-reference): Use them.
10150 Use the `default' arg of completing-read.
10151 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
10152
c5bb7569
CY
101532012-04-27 Chong Yidong <cyd@gnu.org>
10154
d1d2e2e8
CY
10155 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
10156
15cd8efd
CY
10157 * startup.el (x-apply-session-resources): New function.
10158
10159 * term/ns-win.el (ns-initialize-window-system):
10160 * term/w32-win.el (w32-initialize-window-system):
10161 * term/x-win.el (x-initialize-window-system): Use it to properly
10162 set menu-bar-mode and other vars from X resources, even if the
10163 initial frame is not a window-system frame (Bug#2299).
10164
c5bb7569
CY
10165 * subr.el (read-key): Avoid running filter function when setting
10166 up temporary tool bar entries (Bug#9922).
10167
a8e7d6d7 101682012-04-27 Andreas Schwab <schwab@linux-m68k.org>
c4347ab9
AS
10169
10170 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
10171 (Bug#11344)
10172
a8e7d6d7 101732012-04-27 Chong Yidong <cyd@gnu.org>
acb71f1d
CY
10174
10175 * select.el (xselect--encode-string): New function, split from
10176 xselect-convert-to-string.
10177 (xselect-convert-to-string): Use it.
10178 (xselect-convert-to-filename, xselect-convert-to-os)
10179 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
10180 returned strings are properly encoded (Bug#11315).
10181
a8e7d6d7 101822012-04-27 Chong Yidong <cyd@gnu.org>
d55486c7
CY
10183
10184 * simple.el (delete-active-region): Move to killing custom group.
10185
a8e7d6d7 101862012-04-27 Andreas Schwab <schwab@linux-m68k.org>
581b6788
AS
10187
10188 * progmodes/which-func.el (which-func-current): Quote %
10189 characters for mode-line processing.
10190
578c1d4b 101912012-04-27 Chong Yidong <cyd@gnu.org>
18edb22d
CY
10192
10193 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
10194 reaching eob (Bug#11286).
10195
a8e7d6d7 101962012-04-27 Eli Zaretskii <eliz@gnu.org>
9ee9f470
EZ
10197
10198 * progmodes/gdb-mi.el (gdb-control-level): New variable.
10199 (gdb): Make it buffer-local and init to zero.
10200 (gdb-control-commands-regexp): New variable.
10201 (gdb-send): Don't wrap in "-interpreter-exec console" if
10202 gdb-control-level is positive. Increment gdb-control-level
10203 whenever the command matches gdb-control-commands-regexp, and
10204 decrement it each time the command is "end". (Bug#11279)
10205
a8e7d6d7 102062012-04-27 Martin Rudalics <rudalics@gmx.at>
41cfe0cb
MR
10207
10208 * window.el (adjust-window-trailing-edge, enlarge-window)
10209 (shrink-window, window-resize):
10210 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
10211 windows (Bug#11276).
10212
b3608390
CY
102132012-04-27 Chong Yidong <cyd@gnu.org>
10214
10215 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
a8e7d6d7 10216 fix "missing prefix" warning. All callers changed.
b3608390 10217
797e6e88
SM
102182012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
10219
10220 * emacs-lisp/assoc.el: Move to obsolete/.
10221
e95a67dc
SM
102222012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
10223
657c21e4 10224 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
e95a67dc
SM
10225
10226 * term/ns-win.el (ns-define-service):
10227 * progmodes/pascal.el (pascal-goto-defun):
10228 * progmodes/js.el (js--read-tab):
10229 * progmodes/etags.el (tags-lazy-completion-table):
10230 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
10231 * emacs-lisp/ewoc.el (ewoc--wrap):
10232 * emacs-lisp/assoc.el (aput, adelete, amake):
10233 * doc-view.el (doc-view-convert-current-doc):
10234 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
10235
cb3e7ae0
CY
102362012-04-26 Chong Yidong <cyd@gnu.org>
10237
dce04f7f
CY
10238 * image.el (image-type-from-buffer): Only return supported image
10239 type (Bug#9045).
10240
cb3e7ae0
CY
10241 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
10242 value, for symmetry with diff-end-of-hunk.
10243 (diff-split-hunk, diff-find-source-location)
10244 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
10245 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
10246 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
10247 compute the relevant hunk or file properly (Bug#6005).
10248 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
10249
0d42eb3e
SM
102502012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
10251
10252 * vc/vc-mtn.el:
10253 * vc/vc-hg.el:
10254 * vc/vc-git.el:
10255 * vc/vc-dir.el:
10256 * vc/vc-cvs.el:
10257 * vc/vc-bzr.el:
10258 * vc/vc-arch.el:
10259 * vc/vc.el: Replace lexical-let by lexical-binding.
10260 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
10261 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
10262 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
10263
f08ae1c9
CY
102642012-04-26 Chong Yidong <cyd@gnu.org>
10265
8b71081d
CY
10266 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
10267 (diff-mode-shared-map): Bind it to / and [remap undo].
10268
f08ae1c9
CY
10269 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
10270 (ediff-window-setup-function): Use it as the default, to set up
10271 windows based on whether the current frame is graphical (Bug#2138).
10272 (ediff-choose-window-setup-function-automatically): Make obsolete.
10273
10274 * vc/ediff-init.el: Always define ediff-pixel-width/height.
10275
ef24141c
SM
102762012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10277
cc356a5d
SM
10278 * ffap.el: Remove old code for obsolete package.
10279 (ffap-complete-as-file-p): Remove.
10280
b4ff4f1f
SM
10281 Use completion-table-with-quoting for comint and pcomplete.
10282 * comint.el (comint--unquote&requote-argument)
10283 (comint--unquote-argument, comint--requote-argument): New functions.
10284 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
10285 (comint-quote-filename): Use regexp-opt-charset.
10286 (comint--common-suffix, comint--common-quoted-suffix)
10287 (comint--table-subvert): Remove.
10288 (comint-unquote-function, comint-requote-function): New vars.
10289 (comint--complete-file-name-data): Use them with
10290 completion-table-with-quoting.
10291 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
10292 * pcomplete.el (pcomplete-arg-quote-list)
10293 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
10294 (pcomplete-unquote-argument-function): Default to non-nil.
10295 (pcomplete-unquote-argument): Simplify.
10296 (pcomplete--common-quoted-suffix): Remove.
10297 (pcomplete-requote-argument-function): New var.
10298 (pcomplete--common-suffix): New function.
10299 (pcomplete-completions-at-point): Use completion-table-with-quoting
10300 and completion-table-subvert.
10301
79c4eeb4
SM
10302 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
10303 (minibuffer--double-dollars): Preserve properties.
10304 (completion--sifn-requote): New function.
10305 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
10306
ef24141c
SM
10307 * minibuffer.el: Add support for completion of quoted/escaped data.
10308 (completion-table-with-quoting, completion-table-subvert): New funs.
10309 (completion--twq-try, completion--twq-all): New functions.
10310 (completion--nth-completion): New function.
10311 (completion-try-completion, completion-all-completions): Use it.
10312
784e7d6e
LL
103132012-04-25 Leo Liu <sdl.web@gmail.com>
10314
dd2ac746
SM
10315 * progmodes/python.el (python-pdbtrack-get-source-buffer):
10316 Use compilation-message if available to find real filename.
784e7d6e 10317
07875ee7
CY
103182012-04-25 Chong Yidong <cyd@gnu.org>
10319
10320 * vc/diff-mode.el (diff-setup-whitespace): New function.
10321 (diff-mode): Use it.
10322
10323 * vc/diff.el (diff-sentinel):
10324 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
10325 Whitespace mode variables based on diff style (Bug#8612).
10326
5055880d
LL
103272012-04-25 Leo Liu <sdl.web@gmail.com>
10328
daf75653
LL
10329 * progmodes/python.el (python-send-region): Add suffix .py to the
10330 temp file.
10331
5055880d
LL
10332 * files.el (auto-mode-alist): Use javascript-mode instead.
10333
db9b177b
AH
103342012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
10335
ef24141c 10336 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b 10337
090bd7cb 10338 * net/soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 10339 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 10340 references, see Bug#9.
ef24141c 10341 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 10342 when receiving a fault reply.
ef24141c 10343 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b 10344
090bd7cb 10345 * net/soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 10346 (soap-inspect-simple-type): New function.
db9b177b 10347
090bd7cb 10348 * net/soap-client.el (soap-simple-type): New struct.
db9b177b 10349 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
10350 (soap-decode-basic-type, soap-encode-basic-type):
10351 support unsignedInt and double basic types.
db9b177b 10352 (soap-resolve-references-for-simple-type)
ef24141c
SM
10353 (soap-parse-simple-type, soap-encode-simple-type): New function.
10354 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b 10355
090bd7cb 10356 * net/soap-client.el (soap-default-xsd-types)
ef24141c
SM
10357 (soap-default-soapenc-types): Add integer, byte and anyURI types.
10358 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
10359 the local name of "soapenc:Array".
10360 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
db9b177b
AH
10361 decoding integer, byte and anyURI xsd types.
10362
1fc6097b
CY
103632012-04-25 Chong Yidong <cyd@gnu.org>
10364
10365 * cus-edit.el (custom-buffer-create-internal): Update header text.
10366
afc6df87
EZ
103672012-04-25 Eli Zaretskii <eliz@gnu.org>
10368
10369 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
10370 settings on 'system-type', not on 'window-system'. On MS-Windows,
10371 set interactive-mode on in GDB.
10372
dfbd787f
SM
103732012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
10374
10375 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
10376 (ruby-syntax-propertize-regexp): Remove.
10377 (ruby-syntax-propertize-function): Split regexp into chunks.
10378 Match following code directly.
10379
85222d44
DG
103802012-04-24 Dmitry Gutov <dgutov@yandex.ru>
10381
51a8ea2a
DG
10382 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
10383 (ruby-syntax-propertize-regexp): New function.
10384 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
10385 by a special keyword.
10386
85222d44
DG
10387 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
10388 (ruby-syntax-general-delimiters-goto-beg)
10389 (ruby-syntax-propertize-general-delimiters): New functions.
10390 (ruby-syntax-propertize-function): Use them to handle GDL.
10391 (ruby-font-lock-keywords): Move old handling of GDL...
10392 (ruby-font-lock-syntactic-keywords): .. to here.
10393 (ruby-calculate-indent): Adjust indentation for GDL.
10394
b613912b
MA
103952012-04-24 Michael Albinus <michael.albinus@gmx.de>
10396
b5380639
MA
10397 * notifications.el (top): Remove unneeded declarations.
10398 (notifications-specification-version): Change to "1.2".
e43042fe 10399 (notifications-interface, notifications-notify-method)
b613912b
MA
10400 (notifications-close-notification-method): Fix docstring.
10401 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
10402 (notifications-notify): Add :action-items, :resident and
10403 :transient hints. Change "image_data" to "image-data" and
10404 "image_path" to "image-path".
b613912b
MA
10405 (notifications-get-capabilities): New defun.
10406
257440aa
LL
104072012-04-24 Leo Liu <sdl.web@gmail.com>
10408
10409 * progmodes/python.el: Move hideshow setup to the end.
10410
b1bac16e
MR
104112012-04-24 Martin Rudalics <rudalics@gmx.at>
10412
10413 * window.el (handle-select-window): Clear echo area since this is
10414 no more done by read_char (Bug#11304).
10415
d81bd059
SM
104162012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
10417
10418 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
10419 and `/ M' to filter-derived-mode.
10420 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
10421 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
10422 (ibuffer-mark-by-mode): Use default rather than initial-input.
10423 (ibuffer-filter-by-derived-mode): Autoload and require-match.
10424
c4cf6d91
IA
104252012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
10426
10427 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
10428 (ibuffer-filter-by-derived-mode): New filter.
10429 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
10430
7511ded8
CY
104312012-04-23 Andreas Politz <politza@fh-trier.de>
10432
10433 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
10434
775c916b
CY
104352012-04-23 Chong Yidong <cyd@gnu.org>
10436
10437 * cus-edit.el (customize-apropos, customize-apropos-options):
10438 Disable matching of non-option variables (Bug#11176).
10439 (customize-option, customize-option-other-window)
10440 (customize-changed-options): Doc fix.
10441 (customize-apropos-options, customize-apropos-faces)
10442 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
10443
10444 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 10445 Fix word list splitting (Bug#11132).
46c71e23
CY
10446 (apropos-symbol, apropos-keybinding, apropos-label)
10447 (apropos-property, apropos-function-button)
10448 (apropos-variable-button, apropos-misc-button): New faces.
10449 (apropos-symbol-face, apropos-keybinding-face)
10450 (apropos-label-face, apropos-property-face, apropos-match-face):
10451 Variables removed (Bug#8396).
10452 (apropos-library-button, apropos-format-plist, apropos-print)
10453 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 10454
2df41f9c
MA
104552012-04-23 Michael Albinus <michael.albinus@gmx.de>
10456
10457 * net/xesam.el (xesam-mode-map): Use let-bound map in
10458 initialization. (Bug#11292)
10459
da00640a
AM
104602012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10461
10462 Preserve ispell session localwords when switching back to
10463 original buffer.
10464
090bd7cb
JB
10465 * textmodes/ispell.el (ispell-buffer-session-localwords):
10466 New buffer-local variable to hold buffer session localwords.
ed9265fc 10467 (ispell-kill-ispell): Add option 'clear to delete session
da00640a
AM
10468 localwords.
10469 (ispell-command-loop, ispell-change-dictionary)
10470 (ispell-buffer-local-words): Preserve session localwords when
10471 needed.
10472
090bd7cb
JB
10473 * textmodes/flyspell.el (flyspell-process-localwords)
10474 (flyspell-do-correct): Preserve session localwords when needed.
da00640a 10475
f621ccf5
AM
104762012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10477
090bd7cb
JB
10478 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
10479 using obsolete `translation-table-for-input'.
ef24141c
SM
10480 (ispell-word, ispell-process-line, ispell-complete-word):
10481 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 10482
c2d1019e
CY
104832012-04-22 Chong Yidong <cyd@gnu.org>
10484
10485 * cus-edit.el (custom-variable-menu)
10486 (custom-variable-reset-saved, custom-face-menu)
10487 (custom-face-reset-saved): If there is no saved value, make the
10488 "reset-saved" operation bring back the default (Bug#9509).
10489 (custom-face-state): Properly detect themed faces.
10490
eeddc531
CY
10491 * faces.el (face-spec-set): Stop supporting deprecated form of
10492 third arg.
10493
dcbf5805
MA
104942012-04-22 Michael Albinus <michael.albinus@gmx.de>
10495
10496 Move functions from C to Lisp. Make non-blocking method calls
10497 the default. Implement further D-Bus standard interfaces.
10498
ef24141c
SM
10499 * net/dbus.el (dbus-message-internal): Declare function.
10500 Remove unneeded function declarations.
dcbf5805
MA
10501 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
10502 (dbus-message-type-method-return, dbus-message-type-error)
10503 (dbus-message-type-signal): Declare variables. Remove local
10504 definitions.
10505 (dbus-interface-dbus, dbus-interface-peer)
10506 (dbus-interface-introspectable, dbus-interface-properties)
10507 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
10508 Adapt docstring.
10509 (dbus-interface-objectmanager): New defconst.
10510 (dbus-call-method, dbus-call-method-asynchronously)
10511 (dbus-send-signal, dbus-method-return-internal)
10512 (dbus-method-error-internal, dbus-register-service)
10513 (dbus-register-signal, dbus-register-method): New defuns, moved
10514 from dbusbind.c
10515 (dbus-call-method-handler, dbus-setenv)
ef24141c
SM
10516 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
10517 New defuns.
dcbf5805
MA
10518 (dbus-call-method-non-blocking): Make it an obsolete function.
10519 (dbus-unregister-object, dbus-unregister-service)
10520 (dbus-handle-event, dbus-register-property)
10521 (dbus-property-handler): Obey the new structure of
10522 `bus-registered-objects'.
10523 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
10524 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
10525 Use `dbus-call-method'.
10526
cf20dee0
CY
105272012-04-22 Chong Yidong <cyd@gnu.org>
10528
10529 * cus-edit.el (custom-commands, custom-reset-menu)
10530 (Custom-reset-standard): Tweak labels.
10531 (custom-reset-button-menu): Change default to t.
10532 (custom-buffer-create-internal): For the custom-reset-button-menu
10533 case, put the revert button first.
10534 (custom-group-subtitle): New face.
10535 (custom-group-value-create): Align docstring to a specific column.
10536
10537 * wid-edit.el (widget-documentation-link-add): Don't handle
10538 indentation in this function.
10539 (widget-documentation-string-indent-to): New function.
10540 (widget-documentation-string-value-create): Use it.
10541
10542 * autorevert.el (auto-revert):
10543 * epg-config.el (epg):
10544 * ibuffer.el (ibuffer):
10545 * mpc.el (mpc):
10546 * ses.el (ses):
10547 * eshell/eshell.el (eshell):
10548 * net/ange-ftp.el (ange-ftp):
10549 * progmodes/ebnf2ps.el (postscript):
10550 * progmodes/flymake.el (flymake):
10551 * progmodes/prolog.el (prolog):
10552 * progmodes/verilog-mode.el (verilog-mode):
10553 * progmodes/which-func.el (which-func):
10554 * term/xterm.el (xterm):
10555 * textmodes/picture.el (picture):
10556 * textmodes/tildify.el (tildify):
10557 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
10558 customization buffers.
10559
583e23bd
AM
105602012-04-22 Alan Mackenzie <acm@muc.de>
10561
10562 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
10563 Adding a ) can hide the resulting (..) from searches. Fix it.
10564 Bound the backward search to the position of the existing (.
10565
7dd51bf1
JB
105662012-04-21 Juanma Barranquero <lekktu@gmail.com>
10567
10568 * progmodes/verilog-mode.el (verilog-mode): Check whether
10569 which-func-modes is t before adding verilog-mode.
10570 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
10571
d64a438f
LL
105722012-04-21 Leo Liu <sdl.web@gmail.com>
10573
7dd51bf1 10574 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 10575
081e8d65
MV
105762012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
10577
10578 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
10579 filling of the last column of a table (Bug#5635).
10580 (woman-find-next-control-line): New arg, specifying an additional
10581 regexp component for the control line.
10582 (woman2-roff-buffer): Use it.
10583 (woman-break-table): New function.
10584 (woman2-TS): Use it.
10585
105862012-04-21 Chong Yidong <cyd@gnu.org>
10587
10588 * woman.el (woman-set-buffer-display-table, woman-decode-region)
10589 (woman-horizontal-escapes, woman-negative-vertical-space)
10590 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
10591 (WoMan-warn-ignored): Use ?\s instead of ?\ .
10592
ed571ccb
SM
105932012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
10594
10595 * minibuffer.el (completion-file-name-table): Complete user names.
10596
39773899
LL
105972012-04-20 Leo Liu <sdl.web@gmail.com>
10598
10599 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
10600 and pcase-let*.
10601
de6ff46d
CY
106022012-04-20 Chong Yidong <cyd@gnu.org>
10603
10604 * server.el (server-execute): Respect initial-buffer-choice if it
10605 is a string and there are no files to open (Bug#2825).
10606 (server-create-window-system-frame, server-create-tty-frame):
10607 Don't switch buffers here.
2d0e8e61
CY
10608 (server-process-filter): Only try to open a window system frame if
10609 compiled with graphical support (Bug#8314).
de6ff46d 10610
54071013
DN
106112012-04-20 Dan Nicolaescu <dann@gnu.org>
10612
10613 * battery.el (battery-echo-area-format): Display remaining time
10614 for sysfs backend too (Bug#11269).
10615 (battery-linux-sysfs): Fix conditional for the charge.
10616
f30d612a
CY
106172012-04-20 Chong Yidong <cyd@gnu.org>
10618
c07a4c0b 10619 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
10620 (gdb-inferior-io--init-proc): New function.
10621 (gdb-init-1): Use it.
10622 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
10623 responsible for allocating a new pty and hooking it to gdb when
10624 the old pty gets an EIO due to process exit.
10625 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
10626 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
10627 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
10628
2116e93c
EZ
106292012-04-20 Eli Zaretskii <eliz@gnu.org>
10630
10631 * window.el (window-min-size, window-sizable, window-min-delta)
10632 (window-max-delta, window--resizable, window-resizable)
10633 (window-total-size, window-full-height-p, window-full-width-p)
10634 (window-in-direction, window--resize-mini-window, window-resize)
10635 (window--resize-child-windows-normal)
10636 (window--resize-child-windows, window--resize-siblings)
10637 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 10638 (enlarge-window, shrink-window): Doc fixes.
2116e93c 10639
c07a4c0b 106402012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 10641
ef24141c
SM
10642 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
10643 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
10644 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
10645 pty process (Bug#11273).
10646 (gdb-update): New arg to suppress talking to the gdb process.
10647 (gdb-done-or-error): Use it.
10648 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
10649 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
10650 sentinel not being called.
10651
10652 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
10653
d02766ab
CY
10654 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
10655
c07a4c0b 106562012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
10657
10658 * net/network-stream.el (open-network-stream): Doc fix.
10659
c07a4c0b 106602012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
10661
10662 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
10663
c07a4c0b 106642012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
10665
10666 Ensure searching for keywords is case sensitive.
10667
10668 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
10669 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
10670 (c-defun-name, c-mark-function, c-cpp-define-name)
10671 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 10672 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 10673
ef24141c
SM
10674 * progmodes/cc-mode.el (c-font-lock-fontify-region):
10675 Bind case-fold-search to nil.
f0f6bc35 10676
c07a4c0b 106772012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
10678
10679 * mail/sendmail.el (mail-bury): Call return action with the right
10680 Rmail buffer (Bug#11242).
10681
9a864fa2
CY
10682 * server.el (server-process-filter): Handle corner case where both
10683 tty and nowait options are present (Bug#11102).
10684
539aa513
EZ
106852012-04-20 Eli Zaretskii <eliz@gnu.org>
10686
10687 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
10688 (top level): Put into the executable the ident-style '$Id:' tag on
10689 windows-nt as well.
539aa513 10690
cfc7d5da
SM
106912012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
10692
10693 * electric.el (electric-indent-post-self-insert-function): Check that
10694 electric-indent-mode is enabled in current buffer.
10695
5b01685c
JB
106962012-04-19 Juanma Barranquero <lekktu@gmail.com>
10697
10698 * imenu.el (imenu-progress-message): Restore; it is "used" in
10699 erc/erc-imenu.el and net/snmp-mode.el.
10700
4d6769e1
JB
107012012-04-19 Juanma Barranquero <lekktu@gmail.com>
10702
10703 * avoid.el (mouse-avoidance-mode): Mark unused arg.
10704 (mouse-avoidance-nudge-mouse): Remove unused binding.
10705
10706 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
10707
10708 * descr-text.el (describe-char):
10709 * progmodes/python.el (python-describe-symbol):
10710 Don't call `toggle-read-only', set `buffer-read-only'.
10711
10712 * imenu.el (imenu-default-goto-function): Mark unused args.
10713 (imenu-progress-message): Remove obsolete macro; all callers changed.
10714
10715 * subr.el (keymap-canonicalize): Remove unused binding.
10716 (read-passwd): Mark unused arg.
10717
10718 * tutorial.el (tutorial--display-changes): Remove unused binding.
10719 (tutorial--save-tutorial-to): Remove unused variable.
10720
10721 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
10722 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
10723 (package-generate-autoloads, package-menu--generate)
10724 (package-menu--find-upgrades): Remove unused bindings.
10725
10726 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
10727 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
10728 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
10729 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
10730 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
10731 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
10732 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
10733 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
10734 (cua-delete-char-rectangle): Mark unused args.
10735 (cua-align-rectangle): Remove unused binding.
10736
10737 * mail/rmail.el (compilation--message->loc)
10738 (epa--find-coding-system-for-mime-charset): Declare.
10739
10740 * net/dbus.el (dbus-register-service): Declare.
10741 (dbus-name-owner-changed-handler): Remove unused binding.
10742
10743 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
10744 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
10745 (nxml-scan-backward-within): Mark unused arg.
10746 (nxml-dynamic-markup-word): Remove unused binding.
10747
10748 * mouse.el (mouse-menu-major-mode-map):
10749 * emacs-lisp/authors.el (authors-scan-change-log)
10750 (authors-add-to-author-list):
10751 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
10752 * emacs-lisp/smie.el (smie-auto-fill):
10753 * mail/sendmail.el (mail-bury):
10754 * mail/unrmail.el (unrmail):
10755 * net/tls.el (open-tls-stream):
10756 * textmodes/picture.el (picture-mouse-set-point):
10757 Remove unused bindings.
10758
8c8fc5df
MA
107592012-04-19 Michael Albinus <michael.albinus@gmx.de>
10760
10761 * net/tramp.el (tramp-action-password): Let-bind
10762 `enable-recursive-minibuffers' to t.
10763
a77b0ac9
SS
107642012-04-18 Sam Steingold <sds@gnu.org>
10765
10766 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
10767 instead of 'string to accommodate values like [f11].
10768 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
10769 * progmodes/gdb-mi.el: Likewise.
10770
12a106a9
LL
107712012-04-18 Leo Liu <sdl.web@gmail.com>
10772
10773 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
10774 current buffer.
10775 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
10776 LOCAL is nil.
10777
bc6494ef
CY
107782012-04-18 Chong Yidong <cyd@gnu.org>
10779
10780 * simple.el (line-move): Use forward-line if in batch mode
10781 (Bug#11053).
10782
c09c46b2
CS
107832012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
10784
10785 * files.el (after-find-file): Do not try to add a final newline if
10786 the buffer is read-only (Bug#11156).
10787
5f6530ea
RS
107882012-04-17 Richard Stallman <rms@gnu.org>
10789
10790 * mail/rmail.el (rmail-start-mail):
10791 Pass (rmail-mail-return...) for the return-action.
10792 Pass (rmail-yank-current-message...) for the yank-action.
10793 (rmail-yank-current-message): New function.
10794 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
10795 (rmail-reply): Likewise.
10796 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
10797
10798 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 10799 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
10800 buffer, not newbuf.
10801
197b6f3c
JB
108022012-04-17 Juanma Barranquero <lekktu@gmail.com>
10803
10804 * server.el (server-ensure-safe-dir): Simplify.
10805
2311d8e5 108062012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 10807
2311d8e5
GM
10808 * emacs-lisp/smie.el: Provide smarter auto-filling.
10809 (smie-auto-fill): New function.
10810 (smie-setup): Use it.
98fb480e 10811
2311d8e5
GM
10812 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
10813
108142012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
10815
10816 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
10817 (comment-indent): Use it.
10818
2311d8e5 108192012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
10820
10821 * ses.el: The overall change is to add cell renaming, that is
10822 setting fancy names for cell symbols other than name matching
10823 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 10824 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 10825 (ses-create-cell-variable): New defun.
2311d8e5 10826 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
10827 (ses-relocate-formula): Relocate formulas only for cells the
10828 symbols of which are not renamed, i.e. symbols whose names do not
10829 match regexp "\\`[A-Z]+[0-9]+\\'".
10830 (ses-relocate-all): Relocate values only for cells the symbols of
10831 which are not renamed.
10832 (ses-load): Create cells variables as the (ses-cell ...) are read,
10833 in order to check row col consistency with cell symbol name only
10834 for cells that are not renamed.
10835 (ses-replace-name-in-formula): New defun.
10836 (ses-rename-cell): New defun.
4bdf2ad2 10837
fc72b15c
PO
108382012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
10839
10840 * progmodes/perl-mode.el (perl-indent-parens-as-block):
10841 New option (bug#11118).
10842 (perl-calculate-indent): Respect it.
10843
12e10e61
GM
108442012-04-17 Glenn Morris <rgm@gnu.org>
10845
10846 * dired-aux.el (dired-mark-read-string): Doc fix.
10847
30009afd
DA
108482012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
10849
10850 * dired-aux.el (dired-mark-read-string): Offer optional completion.
10851 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
10852
41f03f4d
GM
108532012-04-17 Glenn Morris <rgm@gnu.org>
10854
10855 * mouse.el (mouse-drag-track):
10856 * speedbar.el (speedbar-frame-mode):
10857 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
10858
f45f90f3
LL
108592012-04-16 Leo Liu <sdl.web@gmail.com>
10860
10861 * progmodes/python.el: Trivial cleanup.
10862
94ee8db5
GM
108632012-04-16 Glenn Morris <rgm@gnu.org>
10864
121b8917
GM
10865 * vc/vc.el (vc-string-prefix-p):
10866 * vc/pcvs-util.el (cvs-string-prefix-p):
10867 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
10868 * mpc.el (mpc-string-prefix-p):
10869 Make all of these into obsolete aliases for string-prefix-p.
10870 Update callers.
10871 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
10872
1197ecfa
GM
10873 * textmodes/two-column.el: Move custom options to the start.
10874 (frame-width): Remove compat definition.
10875 (2C-associate-buffer, 2C-dissociate):
10876 Use with-current-buffer rather than save-excursion.
10877 (2C-dissociate): Force a mode-line update.
10878 (2C-autoscroll): Use ignore-errors.
10879
099e7202
GM
10880 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
10881 Autoload trivia.
10882
bf350d6a
GM
10883 * emacs-lisp/cl-extra.el (*random-state*):
10884 Remove unnecessary declaration.
10885
0e829eab
GM
10886 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
10887
e3ad7552
GM
10888 * play/cookie1.el (cookie-snarf):
10889 Give an explicit error if input file cannot be read.
10890
68892d27
GM
10891 * play/yow.el (yow-file): Use expand-file-name rather than concat.
10892
20f0c46d
GM
10893 * progmodes/perl-mode.el (c-macro-expand):
10894 Remove unnecessary autoload (it is in loaddefs.el).
10895
5a0978ce
GM
10896 * textmodes/picture.el (picture-desired-column)
10897 (picture-update-desired-column): Convert comments to doc-strings.
10898 (picture-substitute): Remove function.
10899 (picture-mode-map): Initialize in the defvar.
10900
6b955486
GM
10901 * woman.el: Remove eval-after-load for tar-mode.
10902 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
10903 (woman-tar-extract-file): Autoload it.
10904
94ee8db5
GM
10905 * frame.el (automatic-hscrolling): Make this alias obsolete.
10906
177eca34
AM
109072012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10908
090bd7cb 10909 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 10910 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
10911 (ispell-dictionary-base-alist): Revert to original XEmacs
10912 friendly version for default. [:alpha:] will be added in
090bd7cb 10913 `ispell-set-spellchecker-params' if needed.
177eca34 10914
c505aaeb
CY
109152012-04-16 Chong Yidong <cyd@gnu.org>
10916
b19dd9d1 10917 * image.el (imagemagick--file-regexp): New variable.
c505aaeb
CY
10918 (imagemagick-register-types): Use it.
10919 (imagemagick-types-inhibit): Add :set function. Allow new value
10920 of t to inhibit all types.
10921
10922 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
10923 so we can preload it.
10924
10925 * loadup.el (fboundp): Preload regexp-opt, needed by
10926 imagemagick-register-types.
10927
60efac0f
CY
109282012-04-15 Chong Yidong <cyd@gnu.org>
10929
10930 * frame.el (scrolling): Remove nearly unused customization group.
10931
10932 * scroll-all.el (scroll-all-mode): Move to windows group.
10933
5dd1713e
CY
109342012-04-15 Chong Yidong <cyd@gnu.org>
10935
10936 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
10937
e6fd457e
CY
109382012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
10939
10940 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 10941 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 10942
e153c136
GM
109432012-04-15 Glenn Morris <rgm@gnu.org>
10944
10945 * simple.el (process-file-side-effects): Doc fix.
10946
e6fd457e 109472012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
10948
10949 * international/mule-cmds.el (set-language-environment): Doc fix.
10950
3603c3b1
JB
109512012-04-14 Juanma Barranquero <lekktu@gmail.com>
10952
10953 * server.el (server-auth-key, server-generate-key): Doc fixes.
10954 (server-get-auth-key): Doc fix. Use `string-match-p'.
10955 (server-start): Reflow docstring.
10956
e6de100c
LI
109572012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
10958
10959 * server.el (server-generate-key): `called-interactively-p'
10960 requires a parameter.
10961
29734c21
MN
109622012-04-14 Michal Nazarewicz <mina86@mina86.com>
10963
10964 * server.el (server-auth-key): New variable.
75f1671a 10965 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
10966 (server-start): Use the new variable and functions to allow
10967 setting a permanent server key (bug#9423).
10968
d65c9521
LL
109692012-04-14 Leo Liu <sdl.web@gmail.com>
10970
10971 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
10972
5ae255c7
PE
109732012-04-14 Paul Eggert <eggert@cs.ucla.edu>
10974
10975 Spelling fixes.
10976 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
10977 Emacs uses American spelling.
10978
d5e6342e
JB
109792012-04-14 Juanma Barranquero <lekktu@gmail.com>
10980
10981 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
10982 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
10983 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
10984 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
10985
ab036cd7
SM
109862012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
10987
10988 * progmodes/which-func.el (which-func-modes): Change default.
10989
35dc09a1 109902012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
10991
10992 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
10993 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
10994
35dc09a1 109952012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
10996
10997 * custom.el (custom-theme-set-variables): Doc fix.
10998
35dc09a1 109992012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
11000
11001 * international/mule.el (set-auto-coding-for-load): Doc fix.
11002
35dc09a1 110032012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 11004
35dc09a1
GM
11005 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
11006 imenu work again for Objective C Mode. Correct the *-index values,
11007 these having been disturbed by a previous change in 2011-08.
57f845ee 11008
0de3da9f
AM
11009 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
11010 Correct two search limits.
11011
35dc09a1 110122012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
11013
11014 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
11015
35dc09a1 110162012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
11017
11018 * international/characters.el: Fix sorting.
11019
35dc09a1 110202012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
11021
11022 * international/characters.el: Add more missing Latin case pairs.
11023
35dc09a1 110242012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
11025
11026 * files.el (dir-locals-set-class-variables): Doc fix.
11027
35dc09a1 110282012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 11029
3f1b5bf8
EZ
11030 * international/characters.el: Add set-case-syntax-pair call for
11031 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
11032 counterpart. (Bug#11209)
11033
9f847f41
EZ
11034 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
11035
35dc09a1 110362012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
11037
11038 * calendar/holidays.el (calendar-check-holidays): Doc fix.
11039
35dc09a1 110402012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 11041
35dc09a1
GM
11042 * textmodes/ispell.el (ispell-dictionary-base-alist):
11043 Add data for Hebrew.
e2627d21 11044
35dc09a1 110452012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 11046
35dc09a1
GM
11047 * net/rcirc.el (rcirc-cmd-quit):
11048 Revert 2012-03-18 change (Bug#11192).
5c14e333 11049
35dc09a1 110502012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
11051
11052 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
11053
35dc09a1 110542012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 11055
4517fe3a
SM
11056 * minibuffer.el (completion-in-region-mode-map):
11057 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 11058
b472a594
VD
110592012-04-13 Vivek Dasmohapatra <vivek@etla.org>
11060
11061 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
11062
09b95ce3
MY
110632012-04-13 Masatake YAMATO <yamato@redhat.com>
11064
11065 * minibuffer.el (minibuffer-local-filename-syntax): New variable
11066 to allow `C-M-f' and `C-M-b' to move to the nearest path
11067 separator (bug#9511).
11068
4b63a9ca
LI
110692012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
11070
11071 * avoid.el: Require cl when compiling. And also move the
11072 `provide' to the end.
11073
7b55b8bf
TV
110742012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11075
11076 * avoid.el (mouse-avoidance-banish-position): New variable.
11077 (mouse-avoidance-banish-destination): Use it (bug#10165).
11078
adedaa1f
LL
110792012-04-13 Leo Liu <sdl.web@gmail.com>
11080
11081 * progmodes/which-func.el (which-func-modes): Add objc-mode.
11082
70e74021
KB
110832012-04-13 Ken Brown <kbrown@cornell.edu>
11084
11085 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 11086 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
11087 (browse-url-filename-alist): For the same reason, don't modify
11088 file:// URLs on Cygwin.
11089
e75e89ba
SM
110902012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
11091
11092 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
11093 the region on shift if the binding is already shifted (bug#11221).
11094
82f289a4
GM
110952012-04-12 Glenn Morris <rgm@gnu.org>
11096
11097 * mail/mailpost.el: Move to obsolete/.
11098
d333dc4c
DA
110992012-04-12 Drew Adams <drew.adams@oracle.com>
11100
11101 * imenu.el (imenu--generic-function): Ignore invisible definitions
11102 (bug#10123).
11103
0d15b5ba
VD
111042012-04-12 Vivek Dasmohapatra <vivek@etla.org>
11105
11106 * hexl.el (hexl-bits): New variable.
11107 (hexl-options): Mention the variable in the doc string.
75f1671a 11108 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 11109 (hexl-mode): Mention the new variable.
75f1671a
JB
11110 (hexl-mode, hexl-current-address, hexl-current-address):
11111 Use the displen.
0d15b5ba
VD
11112 (hexl-ascii-start-column): New function.
11113 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
11114 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
11115
64a440db
AM
111162012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11117
11118 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
11119 '("-i" ENCODING), in 2 separate command-line arguments, to specify
11120 the encoding, as expected by hunspell.
11121
6decb6c2
SM
111222012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
11123
11124 * battery.el (battery--linux-sysfs-regexp): New const.
11125 (battery-status-function): Use it. Remove yeeloong special case.
11126 (battery-yeeloong-sysfs): Remove.
11127 (battery-echo-area-format): Remove yeeloong special case.
11128
088be6fb
SM
111292012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
11130
6622e416
SM
11131 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
11132 Reported by Noah Friedman.
11133
088be6fb
SM
11134 * subr.el (read-passwd): Use read-string.
11135
b49f886e
LMI
111362012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
11137
11138 * vcursor.el (vcursor-move): Increase the priority of the overlay
11139 (bug#9663).
11140
a63067fc
DD
111412012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
11142
11143 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
11144 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
11145
ac3cf14a
WS
111462012-04-11 William Stevenson <yhvh2000@gmail.com>
11147
11148 * textmodes/artist.el (artist-mode): Convert artist-mode to use
11149 define-minor-mode (bug#10760).
11150
c4fc691b 111512012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 11152
4d6769e1 11153 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
11154 that directories matching `grep-find-ignored-files' won't be
11155 pruned (bug#10351).
11156
af23e2e5
CY
111572012-04-11 Chong Yidong <cyd@gnu.org>
11158
11159 * startup.el (command-line): Remove support for long-obsolete
11160 variable font-lock-face-attributes.
11161
ab7ce8c1
GM
111622012-04-11 Glenn Morris <rgm@gnu.org>
11163
11164 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
11165
de8c03dc
SM
111662012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
11167
11168 * window.el (window--state-get-1): Obey window-point-insertion-type.
11169
050cc68b
LB
111702012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
11171
11172 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
11173 to previous function when point is on the first character of a
75f1671a 11174 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 11175
a38c310c
GM
111762012-04-11 Glenn Morris <rgm@gnu.org>
11177
effed0c2
GM
11178 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
11179 not just file-errors.
11180
a38c310c
GM
11181 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
11182 (vc-bzr-sha1): Use internal sha1.
11183
0221e323
SM
111842012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
11185
11186 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
11187
43956923
SG
111882012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
11189
11190 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
11191 that start in the middle of the line (bug#10496).
11192
6a8c9eaf
DN
111932012-04-10 Dan Nicolaescu <dann@gnu.org>
11194
11195 * battery.el (battery-linux-proc-acpi): Only one battery is
11196 discharged at a time, but that seems to confuse battery.el when
11197 computing `rate-type' for the battery not being discharged
11198 (bug#10332).
11199
1930bf5d
SM
112002012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
11201
2a718f6f
SM
11202 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
11203
599430d0
SM
11204 * international/quail.el: Use dolist and simplify.
11205 (quail-define-package, quail-update-keyboard-layout)
11206 (quail-define-rules): Use dolist.
11207 (quail-insert-kbd-layout, quail-get-translation): CSE.
11208
a2754b6c
SM
11209 * tmm.el: Use dolist, remove left over hook.
11210 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
11211 Use dolist.
11212 (calendar-load-hook): Don't mess with it.
11213
1930bf5d
SM
11214 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
11215 Use derived-mode-p. Run the diff asynchronously.
11216
9f67961c
LMI
112172012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
11218
11219 * obsolete/mouse-sel.el: Add an Obsolete-since header.
11220
2a8ce227
JB
112212012-04-10 Juanma Barranquero <lekktu@gmail.com>
11222
11223 * misc.el: Display absolute path of loaded DLLs (bug#10424).
11224 (list-dynamic-libraries--loaded): New function.
11225 (list-dynamic-libraries--refresh): Use it.
11226
8f33b5f8
NW
112272012-04-10 Nathan Weizenbaum <nweiz@google.com>
11228
1930bf5d
SM
11229 * progmodes/python.el (python-fill-paragraph):
11230 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
11231 disabled (bug#7018).
11232
b12f0439
L
112332012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
11234
1930bf5d 11235 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
11236 DOS/MS Windows for the Baltic languages. There are still plenty
11237 of texts written in this encoding/codepage (bug#6519).
b12f0439 11238
57c3bd01
GM
112392012-04-10 Glenn Morris <rgm@gnu.org>
11240
11241 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
11242 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
11243
6c3eab30
FA
112442012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
11245
1930bf5d 11246 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
11247 next-line "n" and previous-line "p" in order to make recentf more
11248 consistent with ibuffer, dired or org-mode (bug#9387).
11249
24d78a88
LMI
112502012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
11251
bc72b5d9
LMI
11252 * image.el (put-image): Return the overlay created instead of the
11253 optional input string (bug#7834). Note that this may break code
11254 that is (for some reason or other) depending on `put-image'
11255 returning the string.
11256
bd2dba5a
LMI
11257 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
11258
74beb59f
LMI
11259 * simple.el (zap-to-char): Allow zapping using input methods
11260 (bug#1580).
11261
24d78a88
LMI
11262 * textmodes/fill.el (fill-region): Leave point and mark where they
11263 were before filling (bug#5399).
11264
263f20cd
GM
112652012-04-09 Glenn Morris <rgm@gnu.org>
11266
11267 * version.el (emacs-bzr-get-version):
11268 Handle lightweight checkouts of local branches.
11269
58d1f797
AS
112702012-04-09 Andreas Schwab <schwab@linux-m68k.org>
11271
263f20cd 11272 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 11273
b4d3bc10
CY
112742012-04-09 Chong Yidong <cyd@gnu.org>
11275
11276 * custom.el (custom-variable-p): Return nil for non-symbol
11277 arguments instead of signaling an error.
11278 (user-variable-p): Obsolete alias for custom-variable-p.
11279
11280 * apropos.el (apropos-variable):
11281 * files-x.el (read-file-local-variable):
11282 * simple.el (set-variable):
11283 * woman.el (woman-mini-help):
11284 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
11285
fd06db5d
GM
112862012-04-09 Glenn Morris <rgm@gnu.org>
11287
e5fcdb5e
GM
11288 * startup.el (normal-top-level): Don't look for leim-list.el
11289 in places where it will not be found. (Bug#910)
11290
fd06db5d
GM
11291 * international/mule-cmds.el (set-default-coding-systems):
11292 * files.el (normal-mode):
11293 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
11294 This function was removed with ucs-tables.el in 2008.
11295
b39bb7e1
EZ
112962012-04-08 Eli Zaretskii <eliz@gnu.org>
11297
11298 * textmodes/ispell.el (ispell-check-version): For hunspell, set
11299 ispell-encoding8-command to "-i", without a trailing space.
11300 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
11301 separate command-line arguments, to specify the encoding, since
11302 that's how hunspell expects it.
11303
5c5b8e23
GM
113042012-04-08 Glenn Morris <rgm@gnu.org>
11305
11306 * loadup.el: Load bindings before cus-start.
11307 This reduces somewhat the number of "rogue" settings in emacs -Q.
11308
a1ed8b05
GM
113092012-04-07 Glenn Morris <rgm@gnu.org>
11310
11311 * version.el (emacs-bzr-get-version): New function.
dfae128a 11312 (emacs-bzr-version): New variable.
a1ed8b05
GM
11313 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
11314 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
11315
b142f158
EZ
113162012-04-07 Eli Zaretskii <eliz@gnu.org>
11317
dfae128a
GM
11318 * international/uni-bidi.el, international/uni-category.el:
11319 * international/uni-combining.el, international/uni-decimal.el:
11320 * international/uni-decomposition.el, international/uni-digit.el:
11321 * international/uni-lowercase.el, international/uni-mirrored.el:
11322 * international/uni-name.el, international/uni-numeric.el:
11323 * international/uni-titlecase.el, international/uni-uppercase.el:
11324 Update for Unicode 6.1.
b142f158 11325
9078ead6
EZ
113262012-04-07 Eli Zaretskii <eliz@gnu.org>
11327
11328 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
11329
f23d2c7d
LMI
113302012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
11331
11332 * window.el (shrink-window): Mention the `window-min-height'
11333 variable in the doc string.
11334
0a0a3573
BG
113352012-04-05 Bastien Guerry <bzg@altern.org>
11336
11337 * color.el (color-lighten-name): Fix typo.
11338
e5248ac9
SM
113392012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
11340
11341 * server.el (server--on-display-p): New function.
11342 (server--on-display-p): Use it.
11343
b4243e22
GV
113442012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
11345
11346 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
11347 (bug#11145).
11348
305d9f44
SM
113492012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
11350
11351 * comint.el (comint--common-quoted-suffix): Check string boundary
11352 before comparing (bug#11158).
11353 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
11354
3d439cd1
CY
113552012-04-04 Chong Yidong <cyd@gnu.org>
11356
321cc491
CY
11357 * minibuffer.el (completion-extra-properties): Doc fix.
11358
3d439cd1
CY
11359 * subr.el (delayed-warnings-hook): Doc fix.
11360
2d562c0f
DU
113612012-04-04 Daiki Ueno <ueno@unixuser.org>
11362
11363 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
11364 selection (Bug#11159).
11365 (epa-insert-keys): Inform that the default public key will be
11366 exported if no key is selected.
11367
4443f204
RS
113682012-04-04 Richard Stallman <rms@gnu.org>
11369
11370 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
11371
529c06b6
CY
113722012-04-03 Chong Yidong <cyd@gnu.org>
11373
11374 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
11375 mail-insert-file, not its obsolete alias mail-attach-file.
11376
66b907dc
MA
113772012-04-03 Michael Albinus <michael.albinus@gmx.de>
11378
11379 * notifications.el (notifications-notify): Fix docstring.
11380
c0ea195d
GM
113812012-04-02 Glenn Morris <rgm@gnu.org>
11382
11383 * emacs-lisp/authors.el (authors-aliases): Another addition.
11384
5ca64e00
MA
113852012-04-02 Michael Albinus <michael.albinus@gmx.de>
11386
11387 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
11388 `tramp-compat-call-process' instead of `tramp-local-call-process'.
11389 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
11390
42ee526b
CY
113912012-04-01 Chong Yidong <cyd@gnu.org>
11392
11393 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
11394 Handle root directory properly.
11395 (copy-directory): Caller changed.
11396
11397 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
11398 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
11399
0b021094
GM
114002012-03-31 Glenn Morris <rgm@gnu.org>
11401
40f86458
GM
11402 * term/xterm.el (xterm-extra-capabilities): Doc fix.
11403
7019c177
GM
11404 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
11405
a1daddd6
GM
11406 * calendar/calendar.el (calendar-window-list)
11407 (calendar-hide-window): Restore. (Bug#11140)
11408 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
11409
0b021094
GM
11410 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
11411
40311efc
TV
114122012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11413
11414 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
11415 Check if file is a symlink (Bug#10489).
11416
11417 * files.el (copy-directory): Likewise.
11418
5319014e
CY
114192012-03-30 Chong Yidong <cyd@gnu.org>
11420
11421 * image.el (imagemagick-types-inhibit)
11422 (imagemagick-register-types): Doc fix.
11423
935d1290
AM
114242012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11425
090bd7cb 11426 * textmodes/ispell.el (ispell-get-extended-character-mode):
ef24141c 11427 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 11428 and treats ~word as ordinary words in pipe mode.
935d1290 11429
61c6e8fd
GM
114302012-03-30 Glenn Morris <rgm@gnu.org>
11431
11432 * tutorial.el (help-with-tutorial): Ensure local variables don't
11433 happen to make the buffer read-only. (Bug#11127)
11434
81fdff00
SM
114352012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
11436
11437 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
11438 (perl-calculate-indent): Return `noindent' in strings.
11439
6e7a6ec0
SS
114402012-03-28 Sam Steingold <sds@gnu.org>
11441
11442 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
11443 instead of the broken adhockery which does not prevent calendar
11444 buffers from being displayed at random after exit.
11445 (calendar-window-list, calendar-hide-window): Remove the broken
11446 adhockery.
11447
fee88ca0
GM
114482012-03-28 Glenn Morris <rgm@gnu.org>
11449
11450 * replace.el (query-replace-map): Doc fix.
11451
38de3354
AS
114522012-03-28 Andreas Schwab <schwab@linux-m68k.org>
11453
11454 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
11455 contents. (Bug#11109)
11456
b973155e
SM
114572012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
11458
11459 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
11460 (bug#11077).
11461 (avl-tree--check, avl-tree--check-node): New funs.
11462
dcb6e7b3
MR
114632012-03-27 Martin Rudalics <rudalics@gmx.at>
11464
11465 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
11466 (switch-to-prev-buffer, switch-to-next-buffer):
11467 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
11468 showing a buffer already is done on the same frame.
11469
b4fa35fa
GM
114702012-03-27 Glenn Morris <rgm@gnu.org>
11471
11472 * startup.el (mail-host-address): Doc fix.
11473
f9210e18
SM
114742012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
11475
11476 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
11477 than 197 variables.
11478
c0bf7753
AF
114792012-03-26 Ami Fischman <ami@fischman.org>
11480
11481 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
11482
33da7b16
GM
114832012-03-26 Glenn Morris <rgm@gnu.org>
11484
02243d9d
GM
11485 * files.el (save-buffers-kill-emacs): Doc fix.
11486
33da7b16
GM
11487 * startup.el (normal-top-level, command-line, command-line-1):
11488 Give them doc strings.
11489
e5a69fd0
EZ
114902012-03-25 Eli Zaretskii <eliz@gnu.org>
11491
11492 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 11493 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 11494
9a69676a
CY
114952012-03-25 Chong Yidong <cyd@gnu.org>
11496
4125cb8b
CY
11497 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
11498 theme if it was previously enabled before (Bug#11031).
11499
dd470960
CY
11500 * cus-theme.el (custom-theme-write-faces): Retrieve current face
11501 spec with custom-face-get-current-spec if its :shown-value is not
11502 determined yet (Bug#9337).
4125cb8b 11503 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 11504
9a69676a
CY
11505 * button.el (button-at): Minor addition to docstring.
11506
6e7e90fa
SL
115072012-03-24 Simon Leinen <simon.leinen@gmail.com>
11508
11509 * vc/vc.el (vc-merge): Fix a prompt.
11510
f06e2758
CY
115112012-03-24 Chong Yidong <cyd@gnu.org>
11512
11513 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
11514 point (Bug#9623).
11515
6e7e90fa
SL
11516 * button.el (button-at): Minor addition to docstring.
11517
b9d0879b
SM
115182012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
11519
11520 * newcomment.el (comment-choose-indent): No space after BOL.
11521
e71cebb3
SS
115222012-03-22 Sam Steingold <sds@gnu.org>
11523
11524 * window.el (switch-to-prev-buffer): Revert last patch because the
11525 bug turned out to be an advertised feature (Elisp manual 28.14).
11526
335aff35
GM
115272012-03-22 Glenn Morris <rgm@gnu.org>
11528
11529 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
11530 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
11531
c676576a
LMI
115322012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
11533
11534 * net/network-stream.el (network-stream-open-starttls): Make error
11535 message under Windows be less misleading.
11536
126f3d39
LW
115372012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
11538
11539 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
11540 understands (bug#9942).
11541
64fee311
CY
115422012-03-22 Chong Yidong <cyd@gnu.org>
11543
11544 * simple.el (end-of-visible-line): Handle return value of
11545 next-single-property-change properly (Bug#9371).
11546
a640d29a
KH
115472012-03-22 Kenichi Handa <handa@m17n.org>
11548
11549 * international/quail.el (quail-insert-kbd-layout): Fix previous
11550 change. To avoid unwanted bidi reordering, use
11551 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
11552
39675016
DG
115532012-03-21 Dmitry Gutov <dgutov@yandex.ru>
11554
11555 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
11556 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
11557 (ruby-beginning-of-indent): Be more careful with the difference
11558 between word-boundary and symbol boundary.
11559 (ruby-mode-syntax-table): Make : a symbol constituent.
11560
0a6934fc 115612012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 11562
3d008e4f
SM
11563 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
11564
0a6934fc
SM
115652012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
11566
af67c9d7
SM
11567 * progmodes/etags.el (tags-completion-at-point-function):
11568 Improve last fix.
11569
1acad97c
SM
11570 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
11571
e298b5da
SS
115722012-03-21 Sam Steingold <sds@gnu.org>
11573
11574 * progmodes/etags.el (tags-completion-at-point-function):
11575 Avoid the error when point is inside the pattern.
11576
91d82a70
JY
115772012-03-21 John Yates <john@yates-sheets.org> (tiny change)
11578
11579 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
11580 line (Bug#10855).
11581
69188b79
CY
115822012-03-21 Drew Adams <drew.adams@oracle.com>
11583
11584 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
11585
99fc91fe
AK
115862012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
11587
11588 * ido.el (ido-set-current-directory, ido-read-internal)
11589 (ido-choose-completion-string, ido-completion-help): Handle nil
11590 value of ido-completion-buffer (Bug#11008).
11591
087bbb4c
SS
115922012-03-21 Sam Steingold <sds@gnu.org>
11593
11594 * window.el (switch-to-prev-buffer): Do not switch to a visible
11595 window previous buffer, just like with the frame previous buffers.
11596
fb5b8aca
CY
115972012-03-21 Chong Yidong <cyd@gnu.org>
11598
11599 * faces.el (make-face, make-empty-face, copy-face):
11600 * face-remap.el (face-remap-add-relative, face-remap-set-base):
11601 Doc fixes.
11602
dc9924b8
SM
116032012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
11604
11605 * wid-edit.el (widget-complete-field): Remove (bug#11051).
11606 (widget-complete): Remove broken use of it.
11607
f0bcceb9
CY
116082012-03-20 Chong Yidong <cyd@gnu.org>
11609
dc9924b8
SM
11610 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
11611 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
11612 characters.
11613
ee52ebf3
TH
116142012-03-20 Tassilo Horn <tassilo@member.fsf.org>
11615
11616 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
11617 to draw rectangles, not squares. (Regression introduced by revno
11618 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
11619
4c5779ab
CY
116202012-03-18 Chong Yidong <cyd@gnu.org>
11621
11622 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
11623 it is not yet defined (for temacs).
11624
15360934
LL
116252012-03-18 Leo Liu <sdl.web@gmail.com>
11626
735135f9
PE
11627 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
11628 prefix.
15360934 11629
d9a8eb66
EZ
116302012-03-17 Eli Zaretskii <eliz@gnu.org>
11631
11632 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
11633 (ispell-choices-win-default-height, ispell-silently-savep)
11634 (ispell-dictionary-alist, ispell-encoding8-command)
11635 (ispell-check-version, ispell-aspell-find-dictionary)
11636 (ispell-valid-dictionary-list, ispell-words-keyword)
11637 (ispell-get-word, ispell-internal-change-dictionary)
11638 (ispell-region, ispell-skip-region-list)
11639 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
11640 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
11641 (ispell-message-text-end, ispell-message)
11642 (ispell-buffer-local-parsing): Doc fix.
11643
f02ff80d
J
116442012-03-13 Jambunathan K <kjambunathan@gmail.com>
11645
11646 * htmlfontify.el: Add support for code block fontification for ODT
11647 export (Bug #9914).
11648 (hfy-optimisations): Define new option
11649 `body-text-only'
11650 (hfy-fontify-buffer): Honor above setting.
11651 (hfy-begin-span, hfy-end-span): New routines factored out form
11652 `hfy-fontify-buffer'.
11653 (hfy-begin-span-handler, hfy-end-span-handler): New variables
11654 that permit insertion of custom tags.
11655 (hfy-fontify-buffer): Use above handlers.
11656 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
11657 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 11658 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 11659 over multiple runs. This is made possible by having the caller let
f02ff80d
J
11660 bind a special variable `hfy-user-sheet-assoc'.
11661 (htmlfontify-string): New defun.
11662 (hfy-compile-face-map): Make sure that the last char in the
11663 buffer is correctly fontified.
11664 (hfy-face-resolve-face): Whitespace only change.
11665
9ac7a13f
EZ
116662012-03-17 Eli Zaretskii <eliz@gnu.org>
11667
11668 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
11669 message more clear.
11670
e2b5bdd7
LL
116712012-03-16 Leo Liu <sdl.web@gmail.com>
11672
11673 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
11674
2e492df3
AM
116752012-03-16 Alan Mackenzie <acm@muc.de>
11676
677d5c92 11677 Further optimize the handling of large macros.
2e492df3
AM
11678
11679 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
11680 limit to a call of `c-literal-limits'.
11681 (c-determine-+ve-limit): New function.
dc9924b8
SM
11682 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
11683 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
11684 In CASE 5B, restrict a search limit to 500.
11685 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
11686
11687 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
11688 Restrict macro bounds to +-500 from after-change's BEG END.
11689
50e94f0c
LL
116902012-03-16 Leo Liu <sdl.web@gmail.com>
11691
11692 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
11693
6f09f6ed
AH
116942012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
11695
11696 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 11697 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 11698
c7e73d51
GM
116992012-03-16 Glenn Morris <rgm@gnu.org>
11700
da986230
GM
11701 * view.el (view-buffer, view-buffer-other-window)
11702 (view-buffer-other-frame): Doc fixes re special mode-class.
11703
0835f01e
GM
11704 * subr.el (eval-after-load): If named feature is provided not from
11705 a file, run after-load forms. (Bug#10946)
11706
c7e73d51
GM
11707 * calendar/calendar.el (calendar-insert-at-column):
11708 Handle non-unit-width characters a bit better. (Bug#10978)
11709
3f2eafd1
CY
117102012-03-15 Chong Yidong <cyd@gnu.org>
11711
11712 * emacs-lisp/ring.el (ring-extend): New function.
11713 (ring-insert+extend): Extend the ring correctly (Bug#11019).
11714
11715 * comint.el (comint-read-input-ring)
11716 (comint-add-to-input-history): Grow comint-input-ring lazily.
11717
103af3fe
SM
117182012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
11719
663b1677
SM
11720 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
11721 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
11722
103af3fe
SM
11723 * imenu.el: Fix multiple inheritance breakage (bug#9199).
11724 (imenu-add-to-menubar): Don't add a redundant index.
11725 (imenu-update-menubar): Handle a dynamically composed keymap.
11726
899cb7cb
KY
117272012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
11728
11729 * mail/sendmail.el (mail-encode-header):
11730 Bind rfc2047-encode-encoded-words to nil.
11731
3809f91d
GM
117322012-03-13 Glenn Morris <rgm@gnu.org>
11733
11734 * calendar/calendar.el (calendar-string-spread):
11735 Handle non-unit-width characters a bit better. (Bug#10978)
11736
9e345a01
LL
117372012-03-13 Leo Liu <sdl.web@gmail.com>
11738
11739 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
11740 directory and file as argument (Bug#10822).
11741
4a07df36
KS
117422012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
11743
11744 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
11745 For dynamically generated code, follow $PC.
11746 (gdb-disassembly-handler-custom): Handle no function name case.
11747
4aaa9356
TL
117482012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
11749
11750 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
11751 * emulation/ws-mode.el (ws-query-replace):
11752 * sort.el (sort-regexp-fields):
11753 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
11754
225979da
SM
117552012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
11756
11757 * dabbrev.el: Fix cycle completion order (bug#10963).
11758 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
11759 (dabbrev-completion): Don't use an obarray; provide
11760 a cycle-sort-function.
11761
e2f1fdab
LL
117622012-03-12 Leo Liu <sdl.web@gmail.com>
11763
dc9924b8 11764 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
11765 (kill-do-not-save-duplicates): Doc fix.
11766
b19490ed
SM
117672012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
11768
11769 * dabbrev.el: Fix cycle completion (bug#10963).
11770 Use lexical binding and wrap to 80 columns.
11771 (dabbrev-completion): Delay computing the list of completions.
11772
4b05d722
KH
117732012-03-12 Kenichi Handa <handa@m17n.org>
11774
11775 * international/quail.el (quail-insert-kbd-layout): Surround each
11776 row by LRO and PDF instead of inserting many LRMs. Pad the left
11777 and right of each non-spacing marks. Insert invisible space
11778 between lower and upper characters to prevent composition.
11779
dbbc2e69
SM
117802012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
11781
11782 * minibuffer.el (minibuffer-complete): Don't get confused when the
11783 function is run twice via different commands (bug#10958).
11784 (complete-with-action): Fix docstring.
11785
292112ed
CY
117862012-03-12 Chong Yidong <cyd@gnu.org>
11787
5d1ac394
CY
11788 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
11789 (nxml-completion-at-point-function): New function.
11790 (nxml-mode): Use it.
11791 (nxml-bind-meta-tab-to-complete-flag): Default to t.
11792
292112ed
CY
11793 * emacs-lisp/package.el (package-unpack, package-unpack-single):
11794 Load generated autoloads file before byte compiling (Bug#10970).
11795 (package--make-autoloads-and-compile): New helper fun.
11796
4098f8f7
CS
117972012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
11798
11799 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
11800
8f754691
MA
118012012-03-11 Michael Albinus <michael.albinus@gmx.de>
11802
11803 * autorevert.el (auto-revert-handler): Ensure, that
11804 file-readable-p is applied only for local files or in
11805 auto-revert-tail-mode.
11806
e29ab36b
AS
118072012-03-11 Andreas Schwab <schwab@linux-m68k.org>
11808
dbbc2e69
SM
11809 * server.el (server-eval-at): Handle non-tcp connections.
11810 Decode result string.
ad0bf5b6 11811
e29ab36b
AS
11812 * server.el (server-msg-size): New constant.
11813 (server-reply-print): New function.
11814 (server-eval-and-print): Use it.
11815 (server-eval-at): Use server-quote-arg and server-unquote-arg.
11816 Handle -print-nonl.
11817
de5939ba
CS
118182012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
11819
11820 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
11821 (Bug#10987).
11822
0c93eabf
CY
118232012-03-11 Chong Yidong <cyd@gnu.org>
11824
397a688f
CY
11825 * simple.el (goto-line): Doc fix (Bug#9938).
11826
2cc775f9
CY
11827 * subr.el (save-window-excursion): Doc fix (Bug#9979).
11828
0c93eabf
CY
11829 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
11830 when finished (Bug#10963).
11831
c491fa41
MR
118322012-03-11 Martin Rudalics <rudalics@gmx.at>
11833
11834 * window.el (split-window-below): Fix bug in case where
11835 split-window-keep-point is nil (Bug#10971).
11836
300e8fa5
JL
118372012-03-11 Juri Linkov <juri@jurta.org>
11838
11839 * replace.el (replace-highlight): Set isearch-word to nil
11840 unconditionally. (Bug#10887)
11841
dbf6c5a1
EZ
118422012-03-10 Eli Zaretskii <eliz@gnu.org>
11843
11844 * net/mairix.el (mairix-replace-invalid-chars): Rename from
11845 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 11846 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
11847 (mairix-widget-create-query): Add usage information about mairix
11848 search forms: negating words, searching for substrings, etc.
11849
b9e501de
JP
118502012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
11851
11852 * international/fontset.el (font-encoding-alist): Add an entry for
11853 ksx1001 (Bug#5667).
11854
92795c91
RS
118552012-03-10 Richard Stallman <rms@gnu.org>
11856
1694e6c1
RS
11857 * mail/sendmail.el (mail-encode-header):
11858 Set rfc2047-encode-encoded-words.
11859
607e8555
RS
11860 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
11861
de3bc99a
RS
11862 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
11863 view buffer means not swapped.
11864 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
11865 (rmail-write-region-annotate): Error if real text has disappeared.
11866
92795c91
RS
11867 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
11868
699bd04e
CY
118692012-03-10 Chong Yidong <cyd@gnu.org>
11870
11871 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
11872 * emulation/cua-base.el (cua--init-keymaps):
11873 Add delete-forward-char to remappings (Bug#9666).
699bd04e 11874
570a1714
MR
118752012-03-10 Martin Rudalics <rudalics@gmx.at>
11876
dbbc2e69
SM
11877 * speedbar.el (speedbar-unhighlight-one-tag-line):
11878 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 11879
82dcf4e4
CY
118802012-03-10 Chong Yidong <cyd@gnu.org>
11881
7a2c7ca7
CY
11882 * minibuffer.el (completion-in-region, completion-help-at-point):
11883 Give the completion field overlay a high priority (Bug#6830).
11884
82dcf4e4
CY
11885 * dired.el (dired-goto-file): Recognize absolute file name
11886 listings (Bug#7126).
11887 (dired-goto-file-1): New helper function.
11888 (dired-toggle-read-only): Inhibit warnings.
11889
052e28ac
MA
118902012-03-09 Michael Albinus <michael.albinus@gmx.de>
11891
75f1671a 11892 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
11893 there are no properties.
11894
95d5e396
LL
118952012-03-09 Leo Liu <sdl.web@gmail.com>
11896
11897 * savehist.el (savehist-printable): Stricter check for string
11898 value (Bug#10937).
11899
3f018d6d
EZ
119002012-03-09 Eli Zaretskii <eliz@gnu.org>
11901
dbbc2e69
SM
11902 * mail/smtpmail.el (smtpmail-send-it):
11903 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
11904 valid mbox format.
11905
f7fd3d79
GM
119062012-03-09 Glenn Morris <rgm@gnu.org>
11907
11908 * files.el (dir-locals-find-file):
11909 Don't check result is regular, readable.
11910 (dir-locals-read-from-file): Demote errors.
11911
6ff6e72f
EZ
119122012-03-08 Eli Zaretskii <eliz@gnu.org>
11913
dbbc2e69
SM
11914 * international/quail.el (quail-insert-kbd-layout):
11915 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
11916 layout cell, to prevent their reordering by bidi display engine.
11917 For details, see the discussion in
11918 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
11919
9cec7834
AM
119202012-03-08 Alan Mackenzie <acm@muc.de>
11921
11922 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
11923 the starting position; make it extend the marked region when
11924 invoked repeatedly - all under appropriate circumstances.
11925 Fixes bugs #5525, #10906.
11926
9a40b8d4
GM
119272012-03-08 Glenn Morris <rgm@gnu.org>
11928
11929 * files.el (locate-dominating-file, dir-locals-find-file):
11930 Undo 2012-03-06 change.
11931
7a08ed35
EZ
119322012-03-07 Eli Zaretskii <eliz@gnu.org>
11933
dbbc2e69
SM
11934 * international/quail.el (quail-help):
11935 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
11936 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
11937 for the reason.
11938
5aca4f71 119392012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
11940
11941 Avoid superfluous registering of signals. (Bug#10807)
11942
11943 * notifications.el (notifications-on-action-object)
11944 (notifications-on-close-object): New defvars.
11945 (notifications-on-action-signal, notifications-on-closed-signal):
11946 Unregister the signal if not needed any longer.
11947 (notifications-notify): Register `notifications-action-signal' or
11948 `notifications-closed-signal', if :on-action or :on-close has been
11949 passed as argument.
11950
78e8b10a
CY
119512012-03-07 Chong Yidong <cyd@gnu.org>
11952
11953 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
11954 non-X platforms.
11955
69481eb8
GM
119562012-03-06 Glenn Morris <rgm@gnu.org>
11957
11958 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
11959 (x-disown-selection-internal, x-get-selection-internal):
11960 Doc fix (add arglist signatures). (Bug#10783)
11961
133b8e11
KS
119622012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
11963
11964 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
11965 Handle breakpoints with no "type".
11966
99a83064
GM
119672012-03-06 Glenn Morris <rgm@gnu.org>
11968
11969 * files.el (locate-dominating-file): Add optional predicate argument.
11970 (dir-locals-find-file): Make use of above change.
11971
17798e78
TTN
119722012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
11973
11974 * info.el (Info-insert-dir): Also try "dir.gz".
11975
eb182446
GM
119762012-03-06 Glenn Morris <rgm@gnu.org>
11977
8f2114ee
GM
11978 * files.el (dir-locals-find-file):
11979 Ignore non-readable or non-regular files. (Bug#10928)
11980
eb182446
GM
11981 * files.el (locate-dominating-file): Doc fix.
11982
24679323
AS
119832012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
11984
11985 * calendar/calendar.el (calendar-set-mode-line):
11986 `getenv' returns a string. (Bug#10951)
11987
01d972a9
LL
119882012-03-05 Leo Liu <sdl.web@gmail.com>
11989
109aa8a9
LL
11990 * simple.el (backward-delete-char-untabify): Constrain point to
11991 field (Bug#10939).
11992
01d972a9
LL
11993 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
11994
10607bea
CY
119952012-03-05 Chong Yidong <cyd@gnu.org>
11996
11997 * simple.el (count-words): If called from Lisp, return the word
11998 count, for symmetry with `count-lines'. Arglist changed.
11999 (count-words--message): Args changed. Consolidate counting code
12000 from count-words and count-words-region.
12001 (count-words-region): Caller changed.
12002 (count-lines-region): Make it an obsolete alias.
12003
5dd11cfe
TH
120042012-03-04 Tassilo Horn <tassilo@member.fsf.org>
12005
12006 * saveplace.el (save-place-to-alist)
12007 (save-place-ignore-files-regexp): Allow value nil to disable this
12008 feature.
12009
c349f4e6
CY
120102012-03-04 Chong Yidong <cyd@gnu.org>
12011
12012 * faces.el (face-spec-reset-face): For the default face, reset the
12013 attributes to default values (Bug#10748).
12014
e627be4c
LMI
120152012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
12016
12017 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
12018 previous patch: Check `message-send-mail-function', and not the
12019 default function (bug#10897).
12020
ebeabff4
MA
120212012-03-04 Michael Albinus <michael.albinus@gmx.de>
12022
a41a6cf4
MA
12023 * notifications.el (notifications-on-action-signal)
12024 (notifications-on-closed-signal): Check for unique service name of
12025 incoming event. Fix error in removing entry.
ebeabff4 12026 (top): Register for signals with wildcard service name.
a41a6cf4 12027 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 12028
c1ca42b4
CY
120292012-03-04 Chong Yidong <cyd@gnu.org>
12030
dc9924b8 12031 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 12032
ea16568d
GM
120332012-03-04 Glenn Morris <rgm@gnu.org>
12034
12035 * abbrev.el (copy-abbrev-table, abbrev-table-p)
12036 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
12037 (expand-abbrev, define-abbrev-table): Doc fixes.
12038
fbae4637
LMI
120392012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12040
12041 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
12042 `message-default-send-mail-function' and not `send-mail-function'
12043 when doing the prompting for `sendmail-query-once' before sending
12044 in Message buffers (bug#10897).
12045
a1e7225c
LMI
12046 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
12047 This is inconsistent with all the other stream functions, which leave
12048 the setting up to the higher levels (if so wanted) (bug#10931).
12049
56d093a9
AM
120502012-03-02 Alan Mackenzie <acm@muc.de>
12051
12052 Depessimize the handling of very large macros.
12053
12054 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
12055 (c-macro-cache-syntactic): New variables to implement a one
12056 element macro cache.
12057 (c-invalidate-macro-cache): New function.
12058 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
12059 Adapt to use the new cache.
12060 (c-state-safe-place): Use better the cache of safe positions.
12061 (c-state-semi-nonlit-pos-cache)
12062 (c-state-semi-nonlit-pos-cache-limit):
12063 New variables for...
12064 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
12065 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
12066 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
12067 Use c-state-semi-safe-place.
56d093a9 12068
dbbc2e69
SM
12069 * progmodes/cc-langs.el (c-get-state-before-change-functions):
12070 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 12071
817e5c3d
MA
120722012-03-02 Michael Albinus <michael.albinus@gmx.de>
12073
dbbc2e69
SM
12074 * jka-compr.el (jka-compr-call-process):
12075 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
12076 not remote.
12077
a032a702
MA
120782012-03-01 Michael Albinus <michael.albinus@gmx.de>
12079
12080 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
12081 access of FILE2, if FILE1 does not exist.
12082
99a54f21
MA
12083 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
12084 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
12085
12086 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
12087 Add "PAGER=" to `process-environment'.
12088
f6561e1f
MM
120892012-03-01 Michael R. Mauger <mmaug@yahoo.com>
12090
12091 * progmodes/sql.el: Bug fix
12092 (sql-get-login-ext): Save login values in globals.
12093 (sql-get-login): Use new version of `sql-get-login-ext'.
12094 (sql-interactive-mode): Set global `sql-connection' to nil.
12095 (sql-connect): Set global values for connection.
12096 (sql-product-interactive): Save global values as buffer local.
12097
2d44d9cc
LL
120982012-02-29 Leo Liu <sdl.web@gmail.com>
12099
12100 * abbrev.el (define-abbrevs): Reset sys to nil.
12101
96b49301 121022012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12103
bf7f9bc5
JB
12104 * files.el (file-equal-p): Rename from `files-equal-p'.
12105 Return nil when one or both files don't exist.
96b49301 12106 (file-subdir-of-p): Now only top directory must exists,
12107 return nil if it doesn't.
bf7f9bc5
JB
12108 (copy-directory): No need to test with `file-subdir-of-p' after
12109 creating dir.
12110 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
12111 to `file-equal-p'.
96b49301 12112
44e97401
GM
121132012-02-28 Glenn Morris <rgm@gnu.org>
12114
12115 * shell.el (shell-mode):
12116 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
12117 * play/landmark.el (landmark-font-lock-face-O):
12118 * play/handwrite.el (handwrite):
12119 * play/gomoku.el (gomoku-O):
12120 * net/browse-url.el (browse-url-browser-display):
12121 * international/mule.el (define-charset):
12122 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
12123 * filesets.el (filesets-find-file-delay):
12124 * eshell/em-xtra.el (eshell-xtra):
12125 * eshell/em-unix.el (eshell-grep):
12126 * emulation/viper.el (viper-mode):
12127 * emacs-lisp/regexp-opt.el (regexp-opt-group):
12128 * emacs-lisp/easymenu.el (easy-menu-define):
12129 * calendar/timeclock.el (timeclock-use-display-time):
12130 * bs.el (bs-mode):
12131 * bookmark.el (bookmark-save-flag):
12132 Doc fix (standardize possessive apostrophe usage).
12133
c98c6276
CY
121342012-02-27 Chong Yidong <cyd@gnu.org>
12135
bf7f9bc5
JB
12136 * emulation/viper-cmd.el (viper-intercept-ESC-key):
12137 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 12138
c98c6276
CY
12139 * font-lock.el (font-lock-specified-p): Rename from
12140 font-lock-spec-present. Callers changed.
12141
9c62cd04 121422012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 12143
bf7f9bc5
JB
12144 * emacs-lisp/package.el (package-compute-transaction):
12145 Handle holding a package version to t in package-load-list.
8ac9e529 12146
530739c9
MA
121472012-02-26 Michael Albinus <michael.albinus@gmx.de>
12148
12149 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
12150 (tramp-get-inode, tramp-get-device): Use cached values.
12151
487915d7
AM
121522012-02-26 Alan Mackenzie <acm@muc.de>
12153
12154 Check there is a font-lock specification before doing initial
12155 fontification.
12156
12157 * font-core.el (font-lock-mode): Move the conditional from
12158 :after-hook to font-lock-initial-fontify.
12159 (font-lock-default-function): Move the check for a specification
12160 to font-lock-spec-present.
12161
dc9924b8 12162 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
12163 (font-lock-spec-present): New function.
12164
4fd96557
JB
121652012-02-26 Jim Blandy <jimb@red-bean.com>
12166
12167 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
12168 (gdb-send): Apply it to the operand of the '-interpreter-exec
12169 console' command, so that we can pass arguments with (say) quotes
12170 in them. Store exact string sent in gdb-debug-log (Bug#10765).
12171
9a4888c0
CY
121722012-02-26 Chong Yidong <cyd@gnu.org>
12173
07498861
CY
12174 * help-fns.el (describe-function-1): Clarify description of
12175 remapping (Bug#10844).
12176
9a4888c0
CY
12177 * files.el (files-equal-p): Doc fix.
12178 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
12179 and quit the loop once a mismatch is found.
12180
ea8fb88d
JB
121812012-02-25 Juanma Barranquero <lekktu@gmail.com>
12182
12183 * bs.el (bs--show-with-configuration): Don't throw an error
12184 if the window cannot be split; otherwise, subsequent calls to
12185 bs-show fail, restoring a stale window config. (Bug#10882)
12186
525795c1
JD
121872012-02-25 Jan Djärv <jan.h.d@swipnet.se>
12188
12189 * term/ns-win.el (global-map): Bind ns-drag-file to
12190 ns-find-file (Bug#5855, Bug#10050).
12191
f008086f
AS
121922012-02-25 Andreas Schwab <schwab@linux-m68k.org>
12193
12194 * calendar/parse-time.el (parse-time-string): Allow extractor to
12195 return nil.
12196
a3fcfa99
MA
121972012-02-25 Michael Albinus <michael.albinus@gmx.de>
12198
91027d08
JB
12199 * net/tramp.el (tramp-file-name-for-operation):
12200 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
12201
12202 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
12203 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
12204 Add COPY-CONTENTS argument.
a3fcfa99 12205
67b0de11
CY
122062012-02-25 Chong Yidong <cyd@gnu.org>
12207
12208 Add custom groups for VC backends, for consistency with vc-bzr.
12209
12210 * vc/vc-arch.el (vc-arch):
12211 * vc/vc-cvs.el (vc-cvs):
12212 * vc/vc-git.el (vc-git):
12213 * vc/vc-hg.el (vc-hg):
12214 * vc/vc-mtn.el (vc-mtn):
12215 * vc/vc-rcs.el (vc-rcs):
12216 * vc/vc-sccs.el (vc-sccs):
12217 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
12218 All relevant defcustoms reassigned.
12219
3c9dfce6
CY
122202012-02-25 Chong Yidong <cyd@gnu.org>
12221
1339bf43
CY
12222 * newcomment.el (comment-styles): Add autoload (Bug#10868).
12223
3c9dfce6
CY
12224 * term/x-win.el (x-initialize-window-system): Reduce default for
12225 x-selection-timeout to 5 seconds (Bug#8869).
12226
25b2e303 122272012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12228
ec70a47d
GM
12229 * files.el (files-equal-p, file-subdir-of-p): New functions.
12230 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 12231 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
12232 * dired-aux.el (dired-copy-file-recursive): Same.
12233 (dired-create-files): Modify destination when source is equal to
12234 dest when copying files.
53a46cd0 12235 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 12236
914260cd
MA
122372012-02-24 Michael Albinus <michael.albinus@gmx.de>
12238
12239 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
12240 (Bug#10874)
12241
2cb228f7
AM
122422012-02-23 Alan Mackenzie <acm@muc.de>
12243
12244 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
12245 parameter "after-hook:" to allow the expansion to run code after
12246 the execution of the mode hooks.
12247
12248 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 12249 from font-lock-mode-internal.
2cb228f7 12250
91027d08 12251 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
12252 :after-hook.
12253
8f0fde21
SM
122542012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
12255
3e88618b
SM
12256 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
12257 (completion--cache-all-sorted-completions): New function.
12258 (completion-all-sorted-completions): Use it.
12259 (completion--do-completion, minibuffer-force-complete):
12260 Use it to re-instate the flush hook.
12261
8f0fde21
SM
12262 * icomplete.el (icomplete-completions): Replace last fix with a better
12263 one (bug#10850).
12264
8e911f6f
DG
122652012-02-23 Dmitry Gutov <dgutov@yandex.ru>
12266
12267 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
12268 when it might call us back infinitely (bug#10797).
12269
49fe4321
GM
122702012-02-23 Glenn Morris <rgm@gnu.org>
12271
12272 * minibuffer.el (completion-category-overrides): Doc fix.
12273
b291b572
SM
122742012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
12275
12276 * minibuffer.el (completion-table-with-context): Fix inf-loop.
12277 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
12278
31a9ef2e
GM
122792012-02-23 Glenn Morris <rgm@gnu.org>
12280
5e6e6794 12281 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
12282 (authors-obsolete-files-regexps, authors-ignored-files)
12283 (authors-ambiguous-files, authors-renamed-files-alist):
12284 Add more entries.
12285
0bd1e074
JL
122862012-02-23 Juri Linkov <juri@jurta.org>
12287
12288 * isearch.el (isearch-occur): Sync interactive spec with occur's
12289 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
12290
b617673c
JL
12291 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
12292
19e9789e
JL
122932012-02-22 Juri Linkov <juri@jurta.org>
12294
12295 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
12296 (ucs-insert): Doc fix. Check for hex digits in the string.
12297 Don't display `nil' in the error message. (Bug#10857)
12298
f41ce09d
AM
122992012-02-22 Alan Mackenzie <acm@muc.de>
12300
7a71b18d 12301 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 12302
ac2eceee
GM
123032012-02-22 Glenn Morris <rgm@gnu.org>
12304
12305 * ffap.el (ffap-c-path):
12306 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
12307
abd1f678
CY
123082012-02-22 Chong Yidong <cyd@gnu.org>
12309
12310 * custom.el (load-theme): Doc fix.
12311
f25aef2e
GM
123122012-02-22 Glenn Morris <rgm@gnu.org>
12313
12314 * dired-x.el (dired-guess-shell-alist-default):
12315 Remove escape sequences from nroff output. (Bug#172)
12316
5f8dc2ca
GM
123172012-02-21 Glenn Morris <rgm@gnu.org>
12318
6ff86ec4
GM
12319 * vc/emerge.el (emerge-defvar-local):
12320 Set `permanent-local' property rather than unused `preserved'.
12321
be3223a3 12322 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
12323 (picture-mode-map): Use it. (Bug#10860)
12324 (picture-mode): Doc fix.
12325
3fe58f4f
JB
123262012-02-21 Juanma Barranquero <lekktu@gmail.com>
12327
12328 * newcomment.el (uncomment-region-default): Remove unused binding.
12329
f9a998c3
GM
123302012-02-21 Glenn Morris <rgm@gnu.org>
12331
12332 * textmodes/picture.el (picture-motion, picture-motion-reverse)
12333 (picture-self-insert, picture-tab-chars): Doc fix.
12334 (picture-mode-map): Fix C-a, C-e.
12335
c6029348
GM
123362012-02-20 Glenn Morris <rgm@gnu.org>
12337
12338 * emacs-lisp/authors.el (authors-aliases): Add another entry.
12339
ab1ce9d7
LL
123402012-02-20 Leo Liu <sdl.web@gmail.com>
12341
12342 * icomplete.el (icomplete-completions): Check FROM arg before
12343 passing to substring (Bug#10850).
12344
0fd40f89
CY
123452012-02-19 Chong Yidong <cyd@gnu.org>
12346
12347 * comint.el: Require ansi-color.
12348 (comint-output-filter-functions): Add ansi-color-process-output.
12349
12350 * ansi-color.el: Don't set comint-output-filter-functions; it is
12351 now in the initial value defined in comint.el.
12352 (ansi-color-apply-face-function): New variable.
12353 (ansi-color-apply-on-region): Use it.
12354 (ansi-color-apply-overlay-face): New function.
12355
12356 * shell.el (shell): No need to require ansi-color.
12357 (shell-mode): Use ansi-color-apply-face-function to highlight
12358 color escapes using font-lock-face property (Bug#10835).
12359
20af2394
CY
123602012-02-19 Chong Yidong <cyd@gnu.org>
12361
12362 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
12363 mode-line formats (Bug#10839).
12364
e23a3fbe
GM
123652012-02-18 Glenn Morris <rgm@gnu.org>
12366
b474519e
GM
12367 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
12368
12369 * mail/undigest.el (unforward-rmail-message): Doc fix.
12370
e23a3fbe
GM
12371 * saveplace.el (save-place-ignore-files-regexp): Add :version.
12372
57939ff4
EZ
123732012-02-18 Eli Zaretskii <eliz@gnu.org>
12374
12375 * international/characters.el (script-list): Sync with the latest
12376 Unicode Character Database.
12377
0c23686e
AS
123782012-02-18 Andreas Schwab <schwab@linux-m68k.org>
12379
12380 * international/titdic-cnv.el: Remove duplicate coding tag.
12381 * language/cham.el: Likewise.
12382 * language/tai-viet.el: Likewise.
12383
6818b449
GM
123842012-02-18 Glenn Morris <rgm@gnu.org>
12385
12386 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
12387 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
12388 (calendar-bahai-all-holidays-flag, calendar-other-dates):
12389 * calendar/diary-lib.el (diary-abbreviated-year-flag):
12390 * calendar/holidays.el (holiday-bahai-holidays)
12391 (calendar-holidays, list-holidays):
12392 Use utf-8 Bahá'í in doc-strings, menus, etc.
12393
0311a3fc
TH
123942012-02-17 Tassilo Horn <tassilo@member.fsf.org>
12395
12396 * saveplace.el (save-place-ignore-files-regexp): New variable
12397 allowing for excluding files from saving their location of point.
12398 The default value matches the temporary commit message editing
12399 files from Git, SVN, Bazaar, and Mercurial.
12400 (save-place-to-alist): Use it.
12401
d209e2fb 124022012-02-17 Lawrence Mitchell <wence@gmx.li>
f1a71c6e 12403 Stefan Monnier <monnier@iro.umontreal.ca>
eb864a71
LM
12404
12405 * newcomment.el (uncomment-region-default): Don't leave extra space
12406 when an arg is provided (bug#8150).
12407
ee0ce425
TZ
124082012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
12409
eb864a71 12410 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 12411
95ddf442
GM
124122012-02-17 Glenn Morris <rgm@gnu.org>
12413
12414 * net/socks.el: Require network-stream. (Bug#10599)
12415
48dd1e39 124162012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
12417
12418 * international/charprop.el:
12419 * international/uni-name.el:
12420 * international/uni-old-name.el:
12421 * international/uni-comment.el: Regenerate.
12422
d68cd087
GM
124232012-02-16 Glenn Morris <rgm@gnu.org>
12424
12425 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
12426 Interactively in calendar buffer, give an error if not on a date.
12427
13932042
GM
124282012-02-15 Glenn Morris <rgm@gnu.org>
12429
12430 * shell.el (shell-delimiter-argument-list):
12431 Revert 2011-02-17 change. (Bug#8027)
12432
c3a70e2b
CY
124332012-02-15 Chong Yidong <cyd@gnu.org>
12434
60236b0d
CY
12435 * minibuffer.el (completion-at-point-functions): Doc fix.
12436
c3a70e2b
CY
12437 * custom.el (defcustom): Doc fix; note use of defvar.
12438
9f26dc24
GM
124392012-02-15 Glenn Morris <rgm@gnu.org>
12440
12441 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
12442 Doc fixes.
12443
6546b134
GM
124442012-02-14 Glenn Morris <rgm@gnu.org>
12445
12446 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
12447
d29b2b4c
LI
124482012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
12449
12450 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
12451 way the ports list is computed.
835bdcba
LI
12452 (smtpmail-query-smtp-server): Prompt the user for a port number if
12453 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 12454
08dcdbc9
TZ
124552012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
12456
12457 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
12458
2605051a
GM
124592012-02-13 Glenn Morris <rgm@gnu.org>
12460
12461 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
12462
7ee99f32
TZ
124632012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
12464
12465 * net/gnutls.el (gnutls-trustfiles): New variable.
12466 (gnutls-negotiate): Use it.
12467
5f0af64f
LI
124682012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
12469
12470 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
12471 does its stuff if Gnus is running.
12472
c14fcc95
AM
124732012-02-13 Alan Mackenzie <acm@muc.de>
12474
12475 Fix a loop in c-set-fl-decl-start.
12476
7a71b18d 12477 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
12478 c-backward-syntactic-ws actually moves backwards.
12479
142b4d90
LL
124802012-02-13 Leo Liu <sdl.web@gmail.com>
12481
12482 * net/rcirc.el (rcirc-markup-attributes): Move point to the
12483 beginning so that all \C-o chars are removed.
12484
fa9958a6
TZ
124852012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
12486
dc9924b8 12487 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 12488
0bc5886a
AM
124892012-02-12 Alan Mackenzie <acm@muc.de>
12490
12491 Fix infinite loop with long macros.
4d6769e1 12492 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 12493
d4bd55e7
CY
124942012-02-12 Chong Yidong <cyd@gnu.org>
12495
12496 * window.el (display-buffer): Doc fix (Bug#10785).
12497
66f3fe22
GM
124982012-02-12 Glenn Morris <rgm@gnu.org>
12499
bd7da63e
GM
12500 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
12501 (x-disown-selection-internal, x-get-selection-internal):
12502 Sync docs with the xselect.c versions.
12503
66f3fe22
GM
12504 * allout-widgets.el: Add missing license notice.
12505
3e0d2fa7
GM
125062012-02-11 Glenn Morris <rgm@gnu.org>
12507
cfecdf09
GM
12508 * select.el (x-get-selection-internal, x-own-selection-internal)
12509 (x-disown-selection-internal):
12510 * x-dnd.el (x-get-selection-internal): Update declarations.
12511
6d216d7f
GM
12512 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
12513
2bed3f04
GM
12514 * window.el (window-sides-slots):
12515 * tool-bar.el (tool-bar-position):
12516 * term/xterm.el (xterm-extra-capabilities):
12517 * ses.el (ses-self-reference-early-detection):
12518 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
12519 (verilog-auto-wire-type)
12520 (verilog-auto-delete-trailing-whitespace)
12521 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
12522 (verilog-auto-tieoff-declaration):
12523 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
12524 (sql-oracle-statement-starters, sql-oracle-scan-on):
12525 * progmodes/prolog.el (prolog-align-comments-flag)
12526 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
12527 (prolog-left-indent-regexp, prolog-paren-indent-p)
12528 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
12529 (prolog-types, prolog-mode-specificators)
12530 (prolog-determinism-specificators, prolog-directives)
12531 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
12532 (prolog-electric-dot-flag)
12533 (prolog-electric-dot-full-predicate-template)
12534 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
12535 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
12536 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
12537 (prolog-program-switches, prolog-prompt-regexp)
12538 (prolog-debug-on-string, prolog-debug-off-string)
12539 (prolog-trace-on-string, prolog-trace-off-string)
12540 (prolog-zip-on-string, prolog-zip-off-string)
12541 (prolog-use-standard-consult-compile-method-flag)
12542 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
12543 (prolog-imenu-max-lines, prolog-info-predicate-index)
12544 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
12545 (prolog-char-quote-workaround):
12546 * progmodes/cc-vars.el (c-defun-tactic):
12547 * net/tramp.el (tramp-encoding-command-interactive)
12548 (tramp-local-end-of-line):
12549 * net/soap-client.el (soap-client):
12550 * net/netrc.el (netrc-file):
12551 * net/gnutls.el (gnutls):
12552 * minibuffer.el (completion-category-overrides)
12553 (completion-cycle-threshold)
12554 (completion-pcm-complete-word-inserts-delimiters):
12555 * man.el (Man-name-local-regexp):
12556 * mail/feedmail.el (feedmail-display-full-frame):
12557 * international/characters.el (glyphless-char-display-control):
12558 * eshell/em-ls.el (eshell-ls-date-format):
12559 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
12560 (lisp-lambda-list-keyword-parameter-indentation)
12561 (lisp-lambda-list-keyword-parameter-alignment):
12562 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
12563 * dired-x.el (dired-omit-verbose):
12564 * cus-theme.el (custom-theme-allow-multiple-selections):
12565 * calc/calc.el (calc-highlight-selections-with-faces)
12566 (calc-lu-field-reference, calc-lu-power-reference)
12567 (calc-note-threshold):
12568 * battery.el (battery-mode-line-limit):
12569 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
12570 (archive-7z-update):
12571 * allout.el (allout-prefixed-keybindings)
12572 (allout-unprefixed-keybindings)
12573 (allout-inhibit-auto-fill-on-headline)
12574 (allout-flattened-numbering-abbreviation):
12575 * allout-widgets.el (allout-widgets-auto-activation)
12576 (allout-widgets-icons-dark-subdir)
12577 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
12578 (allout-widgets-theme-dark-background)
12579 (allout-widgets-theme-light-background)
12580 (allout-widgets-item-image-properties-emacs)
12581 (allout-widgets-item-image-properties-xemacs)
12582 (allout-widgets-run-unit-tests-on-load)
12583 (allout-widgets-time-decoration-activity)
12584 (allout-widgets-hook-error-post-time)
12585 (allout-widgets-track-decoration):
12586 Add missing :version tags to new defcustoms and defgroups.
12587
5fec1b8e
GM
12588 * progmodes/sql.el (sql-ansi-statement-starters)
12589 (sql-oracle-statement-starters): Add custom type.
12590
3e0d2fa7
GM
12591 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
12592 (prolog-system-version): Give it a type.
12593
90b671e2
EZ
125942012-02-11 Eli Zaretskii <eliz@gnu.org>
12595
12596 * term/pc-win.el (x-select-text, x-selection-owner-p)
12597 (x-own-selection-internal, x-disown-selection-internal)
12598 (x-get-selection-internal): Sync doc strings and argument lists
12599 with xselect.c, common-win.el and x-win.el. (Bug#10783)
12600
5eac0c02
LL
126012012-02-11 Leo Liu <sdl.web@gmail.com>
12602
12603 * progmodes/python.el (python-end-of-statement): Fix infinite
12604 loop. (Bug#10788)
12605
f82cb659
GM
126062012-02-10 Glenn Morris <rgm@gnu.org>
12607
12608 * international/mule-cmds.el (unify-8859-on-encoding-mode)
12609 (unify-8859-on-decoding-mode): Properly mark as obsolete.
12610
cc26d239
LI
126112012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
12612
12613 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
12614 about SMTP before checking the From header.
12615
91027d08 12616 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
12617 into own function for reuse by emacsbug.el.
12618
1be3ca5a
LL
126192012-02-10 Leo Liu <sdl.web@gmail.com>
12620
12621 * subr.el (condition-case-unless-debug): Rename from
12622 condition-case-no-debug. All callers changed.
12623 (with-demoted-errors): Fix caller.
12624
12625 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
12626 * nxml/rng-valid.el (rng-do-some-validation):
12627 * emacs-lisp/package.el (package-refresh-contents)
12628 (package-menu-execute):
12629 * desktop.el (desktop-create-buffer):
91027d08 12630 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 12631
b011fbfe
GM
126322012-02-10 Glenn Morris <rgm@gnu.org>
12633
b2096d72
GM
12634 * textmodes/bibtex.el:
12635 Add missing :version tags for new/changed defcustoms.
12636
b011fbfe
GM
12637 * files.el (remote-file-name-inhibit-cache): Doc fixes.
12638
4c7e65bf
LI
126392012-02-09 Lars Ingebrigtsen <larsi@rusty>
12640
12641 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
12642 (smtpmail-via-smtp): Use it, or fall back on the From address.
12643 (smtpmail-send-it): Ditto.
12644
f3934f6f
SM
126452012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
12646
12647 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
12648 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
12649 (byte-compile-tmp-var): New const.
12650 (byte-compile-defvar): Use it to minimize .elc size.
12651 Just use `defvar' rather than simulate it (bug#10761).
12652
a075a2c5
GM
126532012-02-09 Glenn Morris <rgm@gnu.org>
12654
cf3aa21b
GM
12655 * files.el (rename-uniquely): Doc fix. (Bug#3806)
12656
354998cd
GM
12657 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
12658 Add :version tags.
12659
dc9924b8
SM
12660 * progmodes/compile.el (compilation-error-screen-columns)
12661 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 12662
dab3703d
GM
12663 * vc/log-view.el (log-view-toggle-entry-display):
12664 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
12665
3f88cd72
GM
12666 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
12667 (report-emacs-bug-can-use-xdg-email):
12668 (report-emacs-bug-insert-to-mailer): Doc fixes.
12669 (report-emacs-bug): Message fix.
12670
d95b247d
GM
12671 * net/browse-url.el (browse-url-can-use-xdg-open)
12672 (browse-url-xdg-open): Doc fixes.
12673
a075a2c5
GM
12674 * electric.el (electric-indent-mode, electric-pair-mode)
12675 (electric-layout-rules, electric-layout-mode): Doc fixes.
12676 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
12677
ffb6157e
MR
126782012-02-08 Martin Rudalics <rudalics@gmx.at>
12679
12680 * server.el (server-unselect-display): Don't inadvertently kill
12681 the current buffer. (Bug#10729)
12682
e1ac4066
GM
126832012-02-08 Glenn Morris <rgm@gnu.org>
12684
34e8a2da
GM
12685 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
12686 (sql-list-table): Doc fixes.
12687
b4ac6e8c
GM
12688 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
12689 Comment out (does nothing).
12690
e1ac4066
GM
12691 * completion.el (dynamic-completion-mode):
12692 * dirtrack.el (dirtrack-debug-mode):
12693 * electric.el (electric-layout-mode):
12694 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
12695 * face-remap.el (text-scale-mode, buffer-face-mode):
12696 * iimage.el (iimage-mode):
12697 * image-mode.el (image-transform-mode):
12698 * minibuffer.el (completion-in-region-mode):
12699 * scroll-lock.el (scroll-lock-mode):
12700 * simple.el (next-error-follow-minor-mode):
12701 * tar-mode.el (tar-subfile-mode):
12702 * tooltip.el (tooltip-mode):
12703 * vcursor.el (vcursor-use-vcursor-map):
12704 * wid-browse.el (widget-minor-mode):
12705 * emulation/tpu-edt.el (tpu-edt-mode):
12706 * emulation/tpu-extras.el (tpu-cursor-free-mode):
12707 * international/iso-ascii.el (iso-ascii-mode):
12708 * language/thai-util.el (thai-word-mode):
12709 * mail/supercite.el (sc-minor-mode):
12710 * net/goto-addr.el (goto-address-mode):
12711 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
12712 * progmodes/cwarn.el (cwarn-mode):
12713 * progmodes/flymake.el (flymake-mode):
12714 * progmodes/glasses.el (glasses-mode):
12715 * progmodes/hideshow.el (hs-minor-mode):
12716 * progmodes/pascal.el (pascal-outline-mode):
12717 * textmodes/enriched.el (enriched-mode):
12718 * vc/smerge-mode.el (smerge-mode):
12719 Doc fixes (minor mode argument).
12720
5e0d957f
EZ
127212012-02-07 Eli Zaretskii <eliz@gnu.org>
12722
12723 * ls-lisp.el (ls-lisp-sanitize): New function.
12724 (ls-lisp-insert-directory): Use it to fix or remove any elements
12725 in file-alist with missing attributes. (Bug#4673)
12726
98d7371e
AM
127272012-02-07 Alan Mackenzie <acm@muc.de>
12728
12729 Fix spurious recognition of c-in-knr-argdecl.
12730
12731 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
12732 putative K&R region.
12733
667ced3a
AM
127342012-02-07 Alan Mackenzie <acm@muc.de>
12735
eb864a71
LM
12736 * progmodes/cc-engine.el (c-forward-objc-directive):
12737 Prevent looping in "#pragma mark @implementation".
667ced3a 12738
5b77774d
MA
127392012-02-07 Michael Albinus <michael.albinus@gmx.de>
12740
12741 * notifications.el (notifications-on-closed-signal): Make `reason'
12742 optional. (Bug#10744)
12743
af008560
GM
127442012-02-07 Glenn Morris <rgm@gnu.org>
12745
60d47423
GM
12746 * emacs-lisp/easy-mmode.el (define-minor-mode):
12747 Doc fixes for the macro and the mode it defines.
12748
dd605cc4
GM
12749 * image.el (imagemagick-types-inhibit): Doc fix.
12750
af008560
GM
12751 * cus-start.el (imagemagick-render-type): Add it.
12752
5cc59a37
LI
127532012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
12754
4d6769e1
JB
12755 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
12756 Set the default at load time, too, so that `font-lock-fontify-buffer'
12757 can be called without setting up the entire mode first. This fixes
12758 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 12759
9a6dd747
CY
127602012-02-06 Chong Yidong <cyd@gnu.org>
12761
2d16b285
CY
12762 * simple.el (list-processes--refresh): Delete exited processes
12763 (Bug#8094).
12764
171e9b6e
CY
12765 * comint.el (comint-next-prompt): next-single-char-property-change
12766 and prev-single-char-property-change never return nil (Bug#8657).
12767
9a6dd747
CY
12768 * custom.el (defcustom): Doc fix (Bug#9711).
12769
aa4589a7
CY
127702012-02-05 Chong Yidong <cyd@gnu.org>
12771
5c2a252f
CY
12772 * cus-edit.el (custom-variable-reset-backup): Quote the value
12773 before storing it in the customized-value property (Bug#6712).
4aab9006 12774 (custom-display): Add a customization type tag.
983b9602 12775 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 12776
aa4589a7
CY
12777 * wid-edit.el (widget-field-value-get): New optional arg to
12778 suppress trailing whitespace truncation.
12779 (character): Use it (Bug#2689).
12780
1ff980ae
AS
127812012-02-05 Andreas Schwab <schwab@linux-m68k.org>
12782
12783 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
12784 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
12785
03988c98
CY
127862012-02-05 Chong Yidong <cyd@gnu.org>
12787
eeb6cc88
CY
12788 * cus-edit.el (custom-variable-value-create): For mismatched
12789 types, show the current value (Bug#7600).
12790
03988c98
CY
12791 * custom.el (defcustom): Doc fix.
12792
f8cdeef0
GM
127932012-02-05 Glenn Morris <rgm@gnu.org>
12794
12795 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
12796
0696d255
JB
127972012-02-05 Juanma Barranquero <lekktu@gmail.com>
12798
12799 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
12800 (pp-buffer): Use `ignore-errors', `looking-at-p'.
12801 (pp-last-sexp): Use `looking-at-p'.
12802
34c99998
GM
128032012-02-04 Glenn Morris <rgm@gnu.org>
12804
8f05da42
GM
12805 * files.el (revert-buffer):
12806 Doc fix (mention revert-buffer-in-progress-p).
12807
f160676e
GM
12808 * emacs-lisp/ert-x.el (ert-simulate-command):
12809 Check deferred-action-list (which is obsolete) is bound.
12810
c7291ad9
GM
12811 * subr.el (with-wrapper-hook): Doc fixes.
12812
34c99998
GM
12813 * simple.el (filter-buffer-substring-functions)
12814 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
12815
6283a7d3
LL
128162012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
12817
12818 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
12819 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
12820
e96e3013
LL
128212012-02-04 Leo Liu <sdl.web@gmail.com>
12822
12823 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
12824
8ded50f2
GM
128252012-02-04 Glenn Morris <rgm@gnu.org>
12826
82ff1d13
GM
12827 * image.el (image-extension-data): Add obsolete alias.
12828
987a0a16
GM
12829 * isearch.el (isearch-update): Doc fix.
12830
ea32ef46
GM
12831 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
12832
8ded50f2
GM
12833 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
12834
eea14f31
GM
128352012-02-03 Glenn Morris <rgm@gnu.org>
12836
12837 * image.el (image-animated-p): Doc fix. Use image-animated-types.
12838 (image-animate-timeout): Doc fix.
12839
12840 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
12841
12f381b7
GM
128422012-02-02 Glenn Morris <rgm@gnu.org>
12843
953cebf5
GM
12844 * server.el (server-auth-dir): Doc fix.
12845 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
12846
12f381b7
GM
12847 * subr.el (run-mode-hooks): Doc fix.
12848
953a8c3b
JL
128492012-02-02 Juri Linkov <juri@jurta.org>
12850
12851 * image-mode.el (image-toggle-display-image): Remove tautological
12852 `major-mode' from the `derived-mode-p' test.
12853
c5d3843c
KH
128542012-02-02 Kenichi Handa <handa@m17n.org>
12855
9f6e692e 12856 * composite.el (compose-region): Cancel previous change.
c5d3843c 12857
159462d4 128582012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
12859
12860 * composite.el (compose-region, compose-string): Signal error for
12861 a null string component (Bug#6988).
12862
9f562668
CY
128632012-02-01 Chong Yidong <cyd@gnu.org>
12864
e2cef717
CY
12865 * view.el (view-buffer-other-window, view-buffer-other-frame):
12866 Handle special modes like view-buffer (Bug#10650).
12867 (view-buffer): Simplify.
12868
9f562668
CY
12869 * frame.el (set-frame-font): Tweak meaning of third argument.
12870
9f6e692e
JB
12871 * dynamic-setting.el (font-setting-change-default-font):
12872 Use set-frame-font (Bug#9982).
9f562668 12873
781acb9f
GM
128742012-02-01 Glenn Morris <rgm@gnu.org>
12875
6035be52
GM
12876 * progmodes/compile.el (compilation-internal-error-properties):
12877 Respect compilation-first-column in the "*compilation*" buffer.
12878
781acb9f
GM
12879 * emacs-lisp/easy-mmode.el (define-minor-mode):
12880 Relax :variable's test for a named function.
12881
abbceb00
AM
128822012-01-31 Alan Mackenzie <acm@muc.de>
12883
12884 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
12885 off by one error.
12886
fce3fdeb
CY
128872012-01-31 Chong Yidong <cyd@gnu.org>
12888
12889 * frame.el (set-frame-font): New arg ALL-FRAMES.
12890
12891 * menu-bar.el (menu-set-font): Use set-frame-font.
12892
12893 * faces.el (face-spec-reset-face): Don't apply unspecified
12894 attribute values to the default face.
12895
47893581
JB
128962012-01-31 Juanma Barranquero <lekktu@gmail.com>
12897
12898 * progmodes/cwarn.el (cwarn): Remove dead link.
12899 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
12900 Remove * from defcustom docstrings.
12901 (turn-on-cwarn-mode): Make obsolete.
12902 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
12903 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
12904
e58e988a
GM
129052012-01-31 Glenn Morris <rgm@gnu.org>
12906
60dc2671 12907 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 12908 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 12909 Allow named functions to be used as the cdr of :variable.
e58e988a 12910
7a3f511d
GM
129112012-01-30 Glenn Morris <rgm@gnu.org>
12912
12913 * emacs-lisp/authors.el (authors-fixed-entries):
12914 Remove reference to deleted file rnewspost.el.
12915
cb882333
JB
129162012-01-29 Juanma Barranquero <lekktu@gmail.com>
12917
12918 * window.el (window-with-parameter): Remove unused variable `windows'.
12919 (window--side-check): Remove unused variable `code'.
12920 (window--resize-siblings): Remove unused variable `first'.
12921 (adjust-window-trailing-edge): Remove unused variable `failed'.
12922 (window-deletable-p, window--delete): Remove unused variable `buffer'.
12923 Use `let', not `let*'.
12924 (balance-windows-2): Remove unused variable `found'.
12925 (window--state-put-2): Remove unused variable `splits'.
12926 (window-state-put): Remove unused variable `selected'.
12927 (same-window-p): Use `string-match-p'.
12928 (display-buffer-assq-regexp): Remove unused variable `value'.
12929 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
12930 Mark argument ALIST as ignored.
12931 (pop-to-buffer): Remove unused variable `old-window'.
12932
907201af
EZ
129332012-01-29 Eli Zaretskii <eliz@gnu.org>
12934
12935 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
12936 and .lzma compressed files.
12937
ea162670
CY
129382012-01-29 Chong Yidong <cyd@gnu.org>
12939
5b95ee8a
CY
12940 * frame.el (window-system-default-frame-alist): Doc fix.
12941
ea162670
CY
12942 * dynamic-setting.el (font-setting-change-default-font): Don't
12943 change the default face if SET-FONT argument is non-nil (Bug#9982).
12944
6fccd6e8 129452012-01-29 Samuel Bronson <naesten@gmail.com>
d6e6f4b1
SB
12946
12947 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
12948
0f29fa41 129492012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
12950
12951 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
12952 breakpoints in files outside current directory (Bug#6098).
12953
db174434
CY
129542012-01-29 Chong Yidong <cyd@gnu.org>
12955
6b25e4e2
SE
12956 * progmodes/python.el: Require ansi-color at top-level.
12957
6df6ae42
JB
12958 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
12959 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
12960 (lisp-mode-abbrev-table): Add doc.
12961 (lisp-mode-variables): Don't set local-abbrev-table.
12962 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
12963
e70ee681
RW
129642012-01-28 Roland Winkler <winkler@gnu.org>
12965
12966 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
12967
ace88aa2
RW
129682012-01-28 Roland Winkler <winkler@gnu.org>
12969
12970 * textmodes/bibtex.el (bibtex-entry-alist): New function.
12971 (bibtex-set-dialect): Use it. Either set global values of
12972 dialect-dependent variables or bind these variables buffer-locally
12973 (Bug#10254).
12974 (bibtex-mode): Call bibtex-set-dialect via
12975 hack-local-variables-hook.
eb864a71
LM
12976 (bibtex-dialect): Update docstring.
12977 Add safe-local-variable predicate.
ace88aa2
RW
12978 (bibtex-entry-alist, bibtex-field-alist): Initialize via
12979 bibtex-set-dialect.
12980 (bibtex-mode-map): Define menu for each dialect.
12981 (bibtex-entry): Fix docstring.
12982
93376c5b
CY
129832012-01-28 Chong Yidong <cyd@gnu.org>
12984
12985 * eshell/esh-arg.el (eshell-quote-argument): New function.
12986
12987 * eshell/esh-ext.el (eshell-invoke-batch-file):
12988 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
12989 first arg to eshell-parse-command (Bug#10523).
12990
4372494f
DA
129912012-01-28 Drew Adams <drew.adams@oracle.com>
12992
12993 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
12994 `default-directory' is non-nil.
12995
4d4ec1f8
EZ
129962012-01-28 Eli Zaretskii <eliz@gnu.org>
12997
12998 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
12999 line that displays system-configuration-options. (Bug#9924)
13000
7c188927
DA
130012012-01-28 Drew Adams <drew.adams@oracle.com>
13002
13003 * descr-text.el (describe-char): Show information about POS, in
13004 addition to information about the character at POS. Improve and
13005 update the doc string. Change "code point" to "code point in
13006 charset", to avoid confusion with the character's Unicode code
13007 point shown above that. (Bug#10129)
13008
e0da685a
EZ
130092012-01-28 Eli Zaretskii <eliz@gnu.org>
13010
13011 * descr-text.el (describe-char): Show the raw character, not only
13012 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
13013 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
13014 for the reasons.
13015
70550acf
PH
130162012-01-28 Phil Hagelberg <phil@hagelb.org>
13017
eb864a71
LM
13018 * emacs-lisp/package.el (package-install):
13019 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 13020
0ce8e868
CY
130212012-01-28 Chong Yidong <cyd@gnu.org>
13022
cb882333
JB
13023 * emacs-lisp/package.el (package-maybe-load-descriptor):
13024 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
13025 (package-maybe-load-descriptor): Use it.
13026 (package-download-transaction): Fully load required packages
13027 inside the loop, so that `require' calls work (Bug#10593).
13028 (package-install): No need to call package-initialize now.
13029
2e7f3bea
CY
130302012-01-28 Chong Yidong <cyd@gnu.org>
13031
6e9bad14
CY
13032 * simple.el (deactivate-mark): Doc fix (Bug#8614).
13033
f823b8ca
CY
13034 * tooltip.el (tooltip-mode): Doc fix.
13035 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
13036
2680c309
CY
13037 * frame.el (set-cursor-color): Doc fix (Bug#352).
13038
d7a9e63b
CY
13039 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
13040 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
13041
2e7f3bea
CY
13042 * cus-edit.el (custom-buffer-create-internal): Fix search button
13043 action (Bug#10542).
2ae01800 13044 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 13045
fc4f7a23
EW
130462012-01-27 Eduard Wiebe <usenet@pusto.de>
13047
13048 * dired.el (dired-mark-files-regexp):
13049 Include any subdirectory components. (Bug#10445)
13050
7dd37071
ML
130512012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
13052
13053 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
13054 Handle [host]:port syntax. (Bug#10533)
13055
a268160b
AH
130562012-01-27 Alex Harsanyi <harsanyi@mac.com>
13057
13058 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
13059
e43273ef
GM
130602012-01-26 Glenn Morris <rgm@gnu.org>
13061
13062 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
13063 * term.el (term-raw-escape-map): Use Control-X-prefix.
13064 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
13065
1edf595d
MR
130662012-01-25 Martin Rudalics <rudalics@gmx.at>
13067
13068 * window.el (window-state-get, window--state-get-1): Don't deal
13069 with fixed-sizeness of windows. Simplify code.
13070
fa8eafef
JC
130712012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
13072
6df6ae42
JB
13073 * window.el (window--state-get-1, window--state-put-2):
13074 Don't save and restore the mark.
fa8eafef 13075
0b21c100
CY
130762012-01-25 Chong Yidong <cyd@gnu.org>
13077
13078 * custom.el (custom-variable-p): Doc fix.
13079
5ae1a6c8
GM
130802012-01-25 Glenn Morris <rgm@gnu.org>
13081
40047858
GM
13082 * dired.el (dired-goto-file): Handle some of the more common
13083 characters that `ls -b' escapes. (Bug#10596)
13084
5ddce96c
GM
13085 * progmodes/compile.el (compilation-next-error-function):
13086 Respect compilation-first-column in the "*compilation*" buffer.
13087 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
13088
5ae1a6c8
GM
13089 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
13090
b559f1a9
GM
130912012-01-24 Glenn Morris <rgm@gnu.org>
13092
13093 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
13094
6725d21a
JD
130952012-01-24 Julien Danjou <julien@danjou.info>
13096
13097 * color.el (color-rgb-to-hsl): Fix value computing.
13098 (color-hue-to-rgb): New function.
13099 (color-hsl-to-rgb): New function.
13100 (color-clamp, color-saturate-hsl, color-saturate-name)
13101 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
13102 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
13103
70df4bbe
GM
131042012-01-24 Glenn Morris <rgm@gnu.org>
13105
13106 * vc/vc-rcs.el (vc-rcs-create-tag):
13107 * vc/vc-sccs.el (vc-sccs-create-tag):
13108 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
13109
802a2ae2
ML
131102012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
13111
13112 * eshell/esh-util.el (eshell-read-hosts-file):
13113 Skip comment lines. (Bug#10549)
13114
d7128bb1
ML
13115 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
13116
d1a5c3b4
JB
131172012-01-23 Juanma Barranquero <lekktu@gmail.com>
13118
2724d9c7
JB
13119 * subr.el (display-delayed-warnings): Doc fix.
13120 (collapse-delayed-warnings): New function to collapse identical
13121 adjacent warnings.
13122 (delayed-warnings-hook): Add it.
d1a5c3b4 13123
a5509865
MA
131242012-01-22 Michael Albinus <michael.albinus@gmx.de>
13125
13126 * net/tramp.el (tramp-action-login): Set connection property "login-as".
13127
a5509865
MA
13128 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
13129 (tramp-default-user-alist): Don't add "pscp".
13130 (tramp-do-copy-or-rename-file-out-of-band): Use connection
13131 property "login-as", if set. (Bug#10530)
13132
cc6d5805
MA
131332012-01-21 Michael Albinus <michael.albinus@gmx.de>
13134
13135 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
13136 "plink1" and "psftp". (Bug#10530)
13137
131382012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
13139
13140 * international/mule-cmds.el (prefer-coding-system): Show a
13141 warning message if the default value of file-name-coding-system
13142 was not changed.
13143
f0960428
JC
131442012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
13145
cb882333
JB
13146 * windmove.el (windmove-reference-loc):
13147 Fix windmove-reference-loc miscalculation.
f0960428 13148
dd6f2a63
JB
131492012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
13150
13151 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
13152 default unit.
13153
7b447e9b
GM
131542012-01-21 Glenn Morris <rgm@gnu.org>
13155
117a9ea1
GM
13156 * international/mule.el (auto-coding-alist): Add .tbz.
13157
7b447e9b
GM
13158 * files.el (local-enable-local-variables): Doc fix.
13159 (inhibit-local-variables-regexps): Rename from
13160 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
13161 Doc fix. Add some extensions from auto-coding-alist.
13162 (inhibit-local-variables-suffixes):
13163 Rename from inhibit-first-line-modes-suffixes. Doc fix.
13164 (inhibit-local-variables-p):
13165 New function, extracted from set-auto-mode-1.
13166 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
13167 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
13168 (hack-local-variables): Doc fix. Make the mode-only case
13169 respect enable-local-variables and friends.
13170 Respect inhibit-local-variables-regexps for file-locals, but
13171 not for directory-locals.
13172 (set-visited-file-name):
13173 Take account of inhibit-local-variables-regexps.
13174 Whether it applies may change as the file name is changed.
13175 * jka-cmpr-hook.el (jka-compr-install):
13176 * jka-compr.el (jka-compr-uninstall):
13177 Update for inhibit-first-line-modes-suffixes name change.
13178
dd6e3cdd
MR
131792012-01-20 Martin Rudalics <rudalics@gmx.at>
13180
13181 * help-macro.el (make-help-screen): Temporarily restore original
13182 binding for minor-mode-map-alist (Bug#10454).
13183
0d0deb38
JD
131842012-01-19 Julien Danjou <julien@danjou.info>
13185
13186 * color.el (color-name-to-rgb): Use the white color to find the max
13187 color component value and return correctly computed values.
13188 (color-name-to-rgb): Add missing float conversion for max value.
13189
34a02f46
MR
131902012-01-19 Martin Rudalics <rudalics@gmx.at>
13191
13192 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
13193 special state value for window-persistent-parameters.
13194 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
13195 (window--state-put-2): Reset all window parameters to nil before
13196 assigning values of persistent parameters.
13197
606c44c4
AM
131982012-01-18 Alan Mackenzie <acm@muc.de>
13199
13200 Eliminate sluggishness and hangs in fontification of "semicolon
13201 deserts".
13202
cb882333
JB
13203 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
13204 Change value 10000 -> 3000.
606c44c4
AM
13205 (c-state-safe-place): Reformulate so it doesn't stack up an
13206 infinite number of wrong entries in c-state-nonlit-pos-cache.
13207 (c-determine-limit-get-base, c-determine-limit): New functions to
13208 determine backward search limits disregarding literals.
13209 (c-find-decl-spots): Amend commenting.
13210 (c-cheap-inside-bracelist-p): New function which detects "={".
13211
13212 * progmodes/cc-fonts.el
13213 (c-make-font-lock-BO-decl-search-function): Give a limit to a
13214 backward search.
13215 (c-font-lock-declarations): Fix an occurrence of point being
13216 undefined. Check additionally for point being in a bracelist or
13217 near a macro invocation without a semicolon so as to avoid a
13218 fruitless time consuming search for a declarator. Give a more
13219 precise search limit for declarators using the new
13220 c-determine-limit.
13221
f3860cea
GM
132222012-01-18 Glenn Morris <rgm@gnu.org>
13223
13224 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
13225 (set-auto-mode): Doc fixes.
13226
1db03b16
GM
132272012-01-17 Glenn Morris <rgm@gnu.org>
13228
0e6038be
GM
13229 * isearch.el (search-nonincremental-instead): Fix doc typo.
13230
1db03b16
GM
13231 * dired.el (dired-insert-directory): Handle newlines in directory name.
13232 (dired-build-subdir-alist): Unescape newlines in directory name.
13233
4cb0aa75
MA
132342012-01-17 Michael Albinus <michael.albinus@gmx.de>
13235
13236 * net/tramp.el (tramp-local-end-of-line): New defcustom.
13237 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
13238 (tramp-action-terminal): Use it. (Bug#10530)
13239
1d00653d
SM
132402012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
13241
13242 * minibuffer.el (completion--replace): Strip properties (bug#10062).
13243
6a6ee00d
MR
132442012-01-16 Martin Rudalics <rudalics@gmx.at>
13245
13246 * window.el (window-state-ignored-parameters): Remove variable.
13247 (window--state-get-1): Rename argument MARKERS to IGNORE.
13248 Handle persistent window parameters. Make copy of clone-of
13249 parameter only if requested. (Bug#10348)
13250 (window--state-put-2): Install a window parameter only if it has
13251 a non-nil value or an existing parameter shall be overwritten.
13252
97912def
MA
132532012-01-15 Michael Albinus <michael.albinus@gmx.de>
13254
13255 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
13256
688070a5
EZ
132572012-01-14 Eli Zaretskii <eliz@gnu.org>
13258
13259 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
13260 don't pass the (nil) value of `upnode' to string-match.
13261
301afadc
CY
132622012-01-14 Chong Yidong <cyd@gnu.org>
13263
13264 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 13265 Fix values recognized by the cursorBlink resource.
301afadc 13266
9e5788aa
PE
132672012-01-14 Paul Eggert <eggert@cs.ucla.edu>
13268
13269 * epg.el (epg--make-temp-file): Avoid permission race condition
13270 when running on old Emacs versions (bug#10403).
13271
3cdb7f5a
GM
132722012-01-14 Glenn Morris <rgm@gnu.org>
13273
13274 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
13275
8c82b1b4
AM
132762012-01-13 Alan Mackenzie <acm@muc.de>
13277
13278 Fix filling for when filladapt mode is enabled.
13279
13280 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
13281 c-mask-paragraph, pass in `fill-paragraph' rather than
13282 `fill-region-as-paragraph'. (This is a reversion of a previous
13283 change.)
eb864a71
LM
13284 * progmodes/cc-mode.el (c-basic-common-init):
13285 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 13286
e517eda4
GM
132872012-01-13 Glenn Morris <rgm@gnu.org>
13288
1498536e
GM
13289 * dired.el (dired-switches-escape-p): New function.
13290 (dired-insert-directory): Use dired-switches-escape-p.
13291 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
13292
e517eda4
GM
13293 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
13294
328f984d
GM
132952012-01-12 Glenn Morris <rgm@gnu.org>
13296
13297 * mail/sendmail.el (mail-mode): Update paragraph-separate for
13298 changes in adaptive-fill-regexp. (Bug#10276)
13299
2cc769a8
AM
133002012-01-11 Alan Mackenzie <acm@muc.de>
13301
13302 Fix Emacs bug #10463 - put `widen's around the critical spots.
13303
1d00653d 13304 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
13305 widen around each invocation of c-state-pp-to-literal. Remove an
13306 unused let variable.
13307
e52c37fa
GM
133082012-01-11 Glenn Morris <rgm@gnu.org>
13309
13310 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 13311 Doc fix.
e52c37fa 13312
96f8741e
CY
133132012-01-10 Chong Yidong <cyd@gnu.org>
13314
1d00653d
SM
13315 * net/network-stream.el (network-stream-open-starttls):
13316 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
13317 response to the capability command.
13318
b09a806e
GM
133192012-01-10 Glenn Morris <rgm@gnu.org>
13320
13321 * mail/unrmail.el (unrmail): Tweak previous change.
13322
7655cb66
CY
133232012-01-09 Chong Yidong <cyd@gnu.org>
13324
13325 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
13326
9d5a8f0b
AM
133272012-01-08 Alan Mackenzie <acm@muc.de>
13328
677d5c92 13329 Optimize font locking in long enum definitions.
9d5a8f0b
AM
13330
13331 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
13332 arm to a cond form to handle enums.
13333 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
13334 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
13335
9a0115ab 133362012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
13337
13338 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 13339 (Bug#10401)
6bb72cbd 13340
f186bb95
LMI
133412012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
13342
29232a68
LMI
13343 * faces.el (set-face-attribute): Clarify the meaning of the nil
13344 frame (bug#10294).
13345
4e5d086d
LMI
13346 * subr.el (with-selected-frame): Mention that the selected frame
13347 is restored (bug#9980).
13348
8e66aebe
LMI
13349 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
13350 (bug#9759).
13351
cd394be1 13352 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
13353 (password-read): Don't autoload unused function.
13354
adf4e762
JB
133552012-01-07 Juanma Barranquero <lekktu@gmail.com>
13356
13357 * progmodes/which-func.el (which-func-mode): Turn into a
13358 non-interactive function and mark as obsolete (bug#10428).
13359
89bd9ccd
CY
133602012-01-06 Chong Yidong <cyd@gnu.org>
13361
13362 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
13363 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
13364 functions, along with 1 and -1.
13365
4afee9d5
EZ
133662012-01-06 Eli Zaretskii <eliz@gnu.org>
13367
13368 * time.el (display-time-load-average)
13369 (display-time-default-load-average): Doc fixes. See the thread
13370 starting at
13371 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
13372 for the details.
13373
536aea70
GM
133742012-01-06 Glenn Morris <rgm@gnu.org>
13375
665ae865
GM
13376 * mail/unrmail.el (unrmail): Give an explicit error if the input file
13377 has no messages. (Bug#10377)
13378
c869783d
GM
13379 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
13380 than Info-edit. (Bug#10385)
13381
2bb4227e
GM
13382 * time.el (display-time-load-average, display-time-next-load-average):
13383 Doc fixes.
13384
7d5944b9
GM
13385 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
13386 local setting of buffer-read-only to the input buffer. (Bug#10419)
13387
536aea70
GM
13388 * calendar/calendar.el (calendar-mode):
13389 Locally set scroll-margin to 0. (Bug#10379)
13390
7dccca16
UM
133912012-01-06 Ulrich Mueller <ulm@gentoo.org>
13392
13393 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
13394
afbb7930
GM
133952012-01-05 Glenn Morris <rgm@gnu.org>
13396
13397 * eshell/em-unix.el (diff-no-select): Autoload it.
13398 (eshell/diff): Use diff-no-select. (Bug#10420)
13399
04482335
CY
134002012-01-05 Chong Yidong <cyd@gnu.org>
13401
7baca3bc
CY
13402 * shell.el (shell-dynamic-complete-functions): Revert last change.
13403 (shell-command-completion-function): New function.
13404 (shell-completion-vars): Use it to implement
13405 shell-completion-execonly (Bug#10417).
13406
04482335
CY
13407 * custom.el (enable-theme): Don't set custom-safe-themes.
13408
1d00653d
SM
13409 * cus-theme.el (custom-theme-merge-theme):
13410 Ignore custom-enabled-themes and custom-safe-themes.
04482335 13411
bb5aa5d6
MM
134122012-01-05 Michael R. Mauger <mmaug@yahoo.com>
13413
13414 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
13415 first prompt in `sql-interacive-mode'.
13416 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 13417 keywords.
6df6ae42 13418 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
13419 (sql-product-interactive): Bug fix: Set `sql-buffer' in
13420 context of original buffer. Invoke `sql-login-hook'.
13421
a7183d7c
EZ
134222012-01-04 Eli Zaretskii <eliz@gnu.org>
13423
13424 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
13425 letters in cite-prefix.
13426
a1eacd1e
LMI
134272012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
13428
13429 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
13430
787cdb34
CY
134312012-01-03 Chong Yidong <cyd@gnu.org>
13432
1d00653d
SM
13433 * shell.el (shell-dynamic-complete-functions):
13434 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
13435 comint-filename-completion first (Bug#10417).
13436
30710442
RS
134372012-01-02 Richard Stallman <rms@gnu.org>
13438
13439 * battery.el (battery-status-function):
13440 Detect when to use battery-yeeloong-sysfs.
13441 (battery-echo-area-format): Add string for Yeeloong.
13442 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
13443 (battery-yeeloong-sysfs): New function.
13444
f75bfc33
CY
134452012-01-02 Chong Yidong <cyd@gnu.org>
13446
13447 * dirtrack.el (dirtrack-list): Eliminate unused third element.
13448 (dirtrack): Merge code for handling relative filenames in prompt
13449 from shell-dir-cookie-watcher.
13450 (dirtrack-debug-message): New arg to avoid excess format calls.
13451
13452 * shell.el (shell-dir-cookie-re): Variable deleted.
13453 (shell-dir-cookie-watcher): Function deleted.
13454 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
13455 with dirtrack-mode.
13456
651e947e
EZ
134572012-01-01 Eli Zaretskii <eliz@gnu.org>
13458
1d00653d
SM
13459 * term/w32-win.el (dynamic-library-alist) <gnutls>:
13460 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
13461 libgnutls-26.dll.
13462
94d4c7dc
AS
134632011-12-31 Andreas Schwab <schwab@linux-m68k.org>
13464
13465 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
13466
8d43f3cd
EZ
134672011-12-31 Eli Zaretskii <eliz@gnu.org>
13468
13469 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
13470 headers of non-MIME messages, when rmail-enable-mime is non-nil.
13471
98c8795a
MA
134722011-12-29 Michael Albinus <michael.albinus@gmx.de>
13473
13474 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
13475 also for alternative shells.
13476 (tramp-open-connection-setup-interactive-shell): Check, whether
13477 the shell is a busybox.
13478 (tramp-send-command): Don't suppress multiple prompts for
13479 busyboxes, it hurts.
13480
51281b32
CY
134812011-12-28 Chong Yidong <cyd@gnu.org>
13482
13483 * progmodes/gdb-mi.el (gdb-get-source-file-list)
13484 (gdb-get-source-file): Move mode line update to
13485 gdb-get-source-file (Bug#10087).
13486
2170cb53
CY
134872011-12-25 Chong Yidong <cyd@gnu.org>
13488
13489 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
13490 gud-gdb-marker-filter without taking it as an argument.
13491 (gud-gdb-run-command-fetch-lines): Caller changed.
13492 (gud-gdb-completion-function): New variable.
13493 (gud-gdb-completion-at-point): Use it.
13494 (gud-gdb-completions-1): Split from gud-gdb-completions.
13495
13496 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
13497 function as separate arguments.
13498 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
13499 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
13500 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
13501 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
13502 (gdb-stopped, def-gdb-auto-update-trigger)
13503 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
13504 (gdb-get-changed-registers, gdb-get-main-selected-frame):
13505 Callers changed.
2170cb53
CY
13506 (gud-gdbmi-completions): New function.
13507 (gdb): Use it for generating the completion table.
13508
be8b11bb
AM
135092011-12-24 Alan Mackenzie <acm@muc.de>
13510
13511 Introduce a mechanism to widen the region used in context font
1d00653d 13512 locking. Use this to protect declarations from losing their contexts.
be8b11bb 13513
1d00653d
SM
13514 * progmodes/cc-langs.el (c-before-font-lock-functions):
13515 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 13516 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
13517 functions to be run just before context (etc.) font locking.
13518
13519 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 13520 New, functionality extracted from
be8b11bb 13521 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 13522 (c-in-after-change-fontification): New variable.
be8b11bb
AM
13523 (c-after-change): Set c-in-after-change-fontification.
13524 (c-set-fl-decl-start): Rejig its interface, so it can be called
13525 from both after-change and context fontifying.
b81d40f0
JB
13526 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
13527 New functions.
13528 (c-standard-font-lock-fontify-region-function): New variable.
13529 (c-font-lock-fontify-region): New function.
be8b11bb 13530
341cf6ac
JL
135312011-12-24 Juri Linkov <juri@jurta.org>
13532
13533 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
13534 (Bug#10348)
13535
bffcee0a
MA
135362011-12-23 Michael Albinus <michael.albinus@gmx.de>
13537
13538 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
13539 existence of source file. (Bug#10325)
13540
cb5e207c
AM
135412011-12-23 Alan Mackenzie <acm@muc.de>
13542
13543 Fix unstable fontification inside templates.
13544
b81d40f0
JB
13545 * progmodes/cc-langs.el (c-before-font-lock-functions):
13546 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
13547 additionally has c-set-fl-decl-start. The other languages (apart
13548 from AWK) have that as a single entry.
13549
b81d40f0
JB
13550 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
13551 The functionality for "local" declarations has been extracted to
cb5e207c
AM
13552 c-set-fl-decl-start.
13553
b81d40f0
JB
13554 * progmodes/cc-mode.el (c-common-init, c-after-change):
13555 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
13556 (c-set-fl-decl-start): New function, extracted from
13557 c-font-lock-enclosing-decls and enhanced.
13558
60ff536c
JB
135592011-12-23 Juanma Barranquero <lekktu@gmail.com>
13560
13561 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
13562
1c4757d6
JL
135632011-12-22 Juri Linkov <juri@jurta.org>
13564
13565 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
13566
d031f2c7
CY
135672011-12-22 Chong Yidong <cyd@gnu.org>
13568
13569 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
13570
bace743a
DA
135712011-12-21 Drew Adams <drew.adams@oracle.com>
13572
13573 * files.el (file-remote-p): Fix docstring. (Bug#10319)
13574
728a1f2b
JC
135752011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
13576
13577 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
13578
0d373f73
TZ
135792011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
13580
fec0aaa4
TZ
13581 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
13582 highlighting and support. Fix up comments for capitalization.
13583 (cfengine-mode-debug): New var.
13584 (cfengine3-mode): Change the modeline indicator to "CFE3".
13585 (cfengine3-font-lock-keywords): Improve defun highlighting.
13586 (cfengine2-actions): Rename from `cfengine-actions'.
13587 (cfengine2-font-lock-keywords): Rename from
13588 `cfengine-font-lock-keywords'.
13589 (cfengine2-imenu-expression): Rename from
13590 `cfengine-imenu-expression'.
13591 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
13592 (cfengine2-beginning-of-defun): Rename from
13593 `cfengine-beginning-of-defun'.
13594 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
13595 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
13596 (cfengine2-mode): Rename from `cfengine-mode'. Change the
13597 modeline indicator to "CFE2".
13598 (cfengine-mode): Defalias to `cfengine-auto-mode'.
13599 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 13600
bc86f573
CY
136012011-12-21 Chong Yidong <cyd@gnu.org>
13602
13603 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
13604 filename argument.
13605
d45ba96b
MR
136062011-12-20 Martin Rudalics <rudalics@gmx.at>
13607
13608 * window.el (window-normalize-buffer-to-display): Remove.
13609 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
13610
a6198c90
CY
136112011-12-19 Chong Yidong <cyd@gnu.org>
13612
13613 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
13614 Don't signal an error in a predicate function; return non-nil.
13615 (vc-dir-mark-file): Move the error here.
13616 (vc-dir-mark-unmark): If acting on the region, keep going if one
13617 of the entries cannot be marked/unmarked.
13618 (vc-dir-mark-all-files): If current entry is a directory, mark
13619 only child files, as documented.
13620
34c5fb55
VB
136212011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
13622
13623 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
13624 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
13625 addition.
13626
c803b2b7
JD
136272011-12-18 Jan Djärv <jan.h.d@swipnet.se>
13628
13629 * term/ns-win.el (ns-get-selection-internal)
13630 (ns-store-selection-internal): Declare.
1154d12e
JB
13631 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
13632 Declare as obsolete.
13633 (ns-get-pasteboard, ns-paste-secondary):
13634 Use ns-get-selection-internal.
41e9b956 13635 (ns-set-pasteboard, ns-copy-including-secondary):
1154d12e 13636 Use ns-store-selection-internal.
c803b2b7 13637
9cff91f8 136382011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
13639
13640 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 13641 (vc-deduce-fileset): Doc fix.
99a289d9 13642
f16c898a
AS
136432011-12-16 Andreas Schwab <schwab@linux-m68k.org>
13644
13645 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
13646
763237c4
SS
136472011-12-13 Sam Steingold <sds@gnu.org>
13648
13649 * man.el (Man-getpage-in-background): When running under a
13650 window-system, ignore $MANWIDTH and $COLUMNS.
13651
5fc1c122
KH
136522011-12-15 Kenichi Handa <handa@m17n.org>
13653
13654 * language/ethio-util.el: Change coding tag to utf-8-emacs.
13655 (setup-ethiopic-environment-internal): Comment out key-binding for
13656 ethio-toggle-punctuation.
13657
13d49cbb
AM
136582011-12-13 Alan Mackenzie <acm@muc.de>
13659
898169a2
AM
13660 Add the switch statement to AWK Mode.
13661
7a71b18d 13662 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
13663 "default" to the keywords regexp.
13664
7a71b18d 13665 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 13666 expression as the rest.
1d00653d
SM
13667 (c-nonlabel-token-key): Allow string literals for AWK.
13668 Refactor for the other modes.
898169a2 13669
13d49cbb 13670 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 13671 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
13672 routines. Limit backward searching in c-font-lock-enclosing.decl.
13673
13674 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
13675 pp-state and literal type in addition to the limits.
1d00653d 13676 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 13677 (c-state-literal-at): Use the above new defun.
1d00653d
SM
13678 (c-slow-in-literal, c-fast-in-literal): Remove.
13679 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
13680
13681 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
13682 being in a literal. Add a limit for backward searching.
13683
13684 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
13685 c-slow-in-literal.
13686
15e0efc7
SM
136872011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
13688
13689 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
13690
454592a6
MR
136912011-12-13 Martin Rudalics <rudalics@gmx.at>
13692
13693 * window.el (delete-other-windows): Use correct frame in call to
13694 window-with-parameter.
13695
87393f26
DP
136962011-12-12 Daniel Pfeiffer <occitan@t-online.de>
13697
13698 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
13699 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
13700 (makefile-gmake-statements, makefile-makepp-statements):
13701 Use it and add new makepp keywords.
13702 (makefile-makepp-font-lock-keywords): Add new patterns.
13703 (makefile-match-function-end): Match new [...] and [[...]].
13704
11636b22
JB
137052011-12-11 Juanma Barranquero <lekktu@gmail.com>
13706
13707 * ses.el (ses-call-printer-return, ses-cell-property-get)
13708 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
13709 (ses-create-cell-variable, ses-reset-header-string)
13710 (ses-cell-set-formula, ses-repair-cell-reference-all)
13711 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
13712 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
13713 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
13714 (ses-aset-with-undo, ses-load, ses-truncate-cell)
13715 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
13716 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
13717 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
13718 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
13719 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
13720 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
13721 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
13722 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
13723
cf018193
VB
137242011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
13725
13726 * ses.el: The overall change is to add cell renaming, that is
13727 setting fancy names for cell symbols other than name matching
13728 "\\`[A-Z]+[0-9]+\\'" regexp .
13729 (ses-create-cell-variable): New defun.
13730 (ses-relocate-formula): Relocate formulas only for cells the
13731 symbols of which are not renamed, i.e. symbols whose names do not
13732 match regexp "\\`[A-Z]+[0-9]+\\'".
13733 (ses-relocate-all): Relocate values only for cells the symbols of
13734 which are not renamed.
13735 (ses-load): Create cells variables as the (ses-cell ...) are read,
13736 in order to check row col consistency with cell symbol name only
13737 for cells that are not renamed.
13738 (ses-replace-name-in-formula): New defun.
13739 (ses-rename-cell): New defun.
13740
ee957461
CY
137412011-12-11 Chong Yidong <cyd@gnu.org>
13742
13743 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
13744 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
13745
9a9e9ef0
MR
137462011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
13747
13748 * window.el (other-window): Fix docstring.
13749
92a8eba5
EZ
137502011-12-10 Eli Zaretskii <eliz@gnu.org>
13751
13752 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
13753 `from' or `to' address before taking its substring.
13754 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
13755 encoded name is chopped in the middle of the encoded string, and
13756 thus displayed encoded.
13757
e152e577
JB
137582011-12-10 Juanma Barranquero <lekktu@gmail.com>
13759
13760 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
13761
e5d84bfe
EZ
137622011-12-10 Eli Zaretskii <eliz@gnu.org>
13763
13764 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
13765 to use texinfo-update-node and commands that call it if the
13766 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 13767 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
13768 (texinfo-all-menus-update, texinfo-master-menu)
13769 (texinfo-update-node, texinfo-every-node-update)
13770 (texinfo-multiple-files-update): Doc fix. Warn against updating
13771 all the @node lines.
13772 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
13773 argument is numeric. Explain better in the doc string what the
13774 function really does.
13775 (texinfo-insert-master-menu-list): Improve the error message
13776 displayed if there's no menu in the Top node.
13777 (Bug#2975) See also this thread:
e5d84bfe
EZ
13778 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
13779
1d84e9bb
MG
137802011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
13781
13782 * speedbar.el (speedbar-supported-extension-expressions):
13783 Add .adb and .ads, commonly used for Ada source code (bug#10256).
13784
382c953b
JB
137852011-12-09 Juanma Barranquero <lekktu@gmail.com>
13786
13787 * printing.el (pr-mode-alist):
13788 * simple.el (filter-buffer-substring-functions)
13789 (completion-list-insert-choice-function):
13790 * window.el (window-with-parameter, window-atom-root)
13791 (window-sides-slots, window-size-fixed, window-min-delta)
13792 (window-max-delta, window--resize-mini-window)
13793 (window--resize-child-windows-normal, window-tree)
13794 (delete-other-windows, quit-window, split-window)
13795 (display-buffer-record-window, special-display-buffer-names)
13796 (special-display-regexps, special-display-popup-frame)
13797 (same-window-p, split-window-sensibly)
13798 (display-buffer-overriding-action, display-buffer-alist)
13799 (display-buffer-base-action, display-buffer, switch-to-buffer)
13800 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
13801 (fit-window-to-buffer, recenter-positions)
13802 (mouse-autoselect-window-state, mouse-autoselect-window-select):
13803 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
13804 and remove unneeded backslashes in docstrings.
13805
39c9faef
SM
138062011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
13807
98449af8
SM
13808 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
13809
39c9faef
SM
13810 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
13811 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
13812 end in ".mk".
13813 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
13814 when reading the makefile (bug#10116).
13815
86ed9fdc
SM
138162011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
13817
13818 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
13819 (bug#10116).
13820
5580f89d
GM
138212011-12-06 Glenn Morris <rgm@gnu.org>
13822
13823 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
13824
28d3917c
CY
138252011-12-06 Chong Yidong <cyd@gnu.org>
13826
13827 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
13828
a98edce9
JB
138292011-12-06 Juanma Barranquero <lekktu@gmail.com>
13830
13831 * textmodes/table.el (table-shorten-cell): Fix typo.
13832
e65adfac
CG
138332011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
13834
13835 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
13836
71cc0b74
EZ
138372011-12-05 Eli Zaretskii <eliz@gnu.org>
13838
13839 * descr-text.el (describe-char): Fix display of strong
13840 right-to-left characters and directional embeddings and overrides.
13841
13842 * simple.el (what-cursor-position): Fix display of codepoints of
13843 strong right-to-left characters.
13844
315bc30d
CY
138452011-12-05 Chong Yidong <cyd@gnu.org>
13846
13847 * faces.el (read-color): Doc fix.
13848
58a70b94
GM
138492011-12-05 Glenn Morris <rgm@gnu.org>
13850
13851 * align.el (align--set-marker): Add doc-string.
13852 Don't try to move something that is not a marker. (Bug#10216)
13853
5158face
GM
138542011-12-04 Glenn Morris <rgm@gnu.org>
13855
13856 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
13857 overly zealous deletion of trailing whitespace.
13858
520fca41
JB
138592011-12-04 Juanma Barranquero <lekktu@gmail.com>
13860
13861 * server.el (server-delete-client): On Windows, do not try to delete
13862 the only terminal.
13863 (server-process-filter): On Windows, treat requests for a tty frame as
13864 if they were for a GUI frame if the running server is in GUI mode.
13865
5e605a2e
GM
138662011-12-03 Glenn Morris <rgm@gnu.org>
13867
13868 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
13869
5c3fe83f
SM
138702011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
13871
6f5e57e7
SM
13872 * electric.el: Streamline electric-indent's hook.
13873 (electric-indent-chars): Revert to simple list.
13874 (electric-indent-functions): New var.
13875 (electric-indent-post-self-insert-function): Use it.
13876
5c3fe83f
SM
13877 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
13878 there's no inferior buffer (bug#10196).
13879 (prolog-consult-compile): Don't use toggle-read-only.
13880
6bdac736
MA
138812011-12-02 Michael Albinus <michael.albinus@gmx.de>
13882
13883 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
13884 interrupt. (Bug#10187)
13885
6131ba7f
SM
138862011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
13887
99c79fee
SM
13888 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
13889 (bug#9160).
13890
6131ba7f
SM
13891 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
13892 (bug#10191).
13893
cb0a02ea
JL
138942011-12-02 Juri Linkov <juri@jurta.org>
13895
13896 * info.el (Info-search): Display "end of manual" when Isearch
13897 reaches the end of single-file Info manual. (Bug#9918)
13898
66e0570c
EZ
138992011-12-02 Eli Zaretskii <eliz@gnu.org>
13900
13901 * isearch.el (isearch-message-prefix): Run the input method part
13902 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
13903
02b16839
JL
139042011-12-02 Juri Linkov <juri@jurta.org>
13905
13906 * isearch.el (isearch-occur): Use `word-search-regexp' for
13907 `isearch-word'.
13908 (isearch-search-and-update): Add condition for `isearch-word' and
13909 call `word-search-regexp'. (Bug#10145)
13910
0b950688
GM
139112011-12-01 Glenn Morris <rgm@gnu.org>
13912
13913 * eshell/em-hist.el (eshell-hist-initialize):
13914 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 13915 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 13916
9505c3c7
SM
139172011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
13918
13919 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
13920
1bbe96b2 139212011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 13922
a1beca85
SM
13923 * progmodes/verilog-mode.el (verilog-pretty-expr):
13924 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
13925 verilog, such as += *= and the like.
13926 (verilog-assignment-operator-re): Regular expression to find the
13927 assigment operator in a verilog assignment.
13928 (verilog-assignment-operation-re): Regular expression to find an
13929 assignment statement for pretty-expr.
13930 (verilog-in-attribute-p): Query returns true if point is in an
13931 attribute context; used to skip these for expression line up from
13932 pretty-expr.
13933 (verilog-in-parameter-p): Query returns true if point is in an
13934 parameter definition context; used to skip these for expression
13935 line up from pretty-expr.
13936 (verilog-in-parenthesis-p): Query returns true if point is in a
13937 parenthetical expression, specifically ( ) but not [ ] or { };
13938 used by pretty-expr.
13939 (verilog-just-one-space): If there is no space, don't add one.
13940 (verilog-get-lineup-indent-2): Specifically skip just attribute
13941 contexts for expression lineup, rather than skipping all
13942 parenthetical expressions.
13943 (verilog-calculate-indent): Fix comment, and fix indent.
13944 (verilog-do-indent): Indent declarations in lists (suggested by
13945 Joachim Lechner).
13946 (verilog-mode-abbrev-table): Populate abbrev mode with the various
13947 skeleton items.
13948 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
13949 by Alain Mellan).
13950
1bbe96b2 139512011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
13952
13953 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
13954 parameters with embedded comments. Reported by Ray Stevens.
13955 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
13956 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
13957 Reported by Tim Holt.
13958 (verilog-auto): Fix AUTOing a upper module then AUTOing module
13959 instantiated by upper module causing wrong expansion until AUTOed a
13960 second time. Reported by K C Buckenmaier.
13961 (verilog-diff-auto): Fix showing .* as a difference when
13962 `verilog-auto-star-save' off. Reported by Dan Dever.
13963 (verilog-auto-reset, verilog-read-always-signals)
13964 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
13965 temporary signals in reset list if
13966 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
13967 style to each signal's assignment type, bug381.
13968 Reported by Thomas Esposito.
6288f0ca
WS
13969 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
13970 (verilog-uvm-statement-re): Support UVM indentation and
13971 highlighting, with old OVM keywords only.
a1beca85 13972 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
13973 Support AUTOTIEOFF creating non-wire data types.
13974 Suggested by Jonathan Greenlaw.
6288f0ca
WS
13975 (verilog-auto-insert-lisp, verilog-delete-to-paren)
13976 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
13977 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
13978 (verilog-read-sub-decls, verilog-read-sub-decls-line):
13979 Fix mismatching parenthesis inside commented out code when deleting
382c953b 13980 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
13981 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
13982 non-numeric vector width. Reported by Alex Reed.
13983 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 13984 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
13985 (verilog-auto-delete-trailing-whitespace):
13986 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
13987 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
13988 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
13989 Fix verilog-scan-cache corruption when running user AUTO expansion
13990 hooks that call indentation routines.
13991 (verilog-simplify-range-expression): Fix typo ignoring lower case
13992 identifiers.
13993 (verilog-delete-auto): Fix delete-autos to also remove user created
13994 automatics, as long as they start with AUTO.
13995 (verilog-batch-diff-auto, verilog-diff-auto)
13996 (verilog-diff-function): Add `verilog-diff-auto' and bind to
13997 "C-c?" to report differences in AUTO expansion, ignoring spaces.
13998 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
13999 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
14000 (verilog-re-search-forward-quick, verilog-syntax-ppss):
14001 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
14002 is disabled and its cache will get corrupt, causing AUTOS not to
14003 expand. Instead use only -quick functions.
14004 (verilog-scan-region): Fix scanning over escaped quotes.
14005 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
14006 (verilog-re-search-backward-quick)
14007 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
14008 related functions now ignore strings, to fix misparsing of strings
14009 with magic comments embedded in them.
a1beca85
SM
14010 (verilog-read-auto-template):
14011 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
14012 Reported by Brad Dobbie.
14013 (verilog-read-auto-template):
14014 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 14015 Reported by Brad Dobbie.
6288f0ca
WS
14016 (verilog-auto-inst, verilog-auto-inst-param)
14017 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
14018 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
14019 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
14020 debugging templates without merge conflicts, bug357.
14021 Reported by Brad Dobbie.
14022 (verilog-read-auto-template):
14023 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
14024 Reported by Brad Dobbie.
14025 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
14026 abbrevs so user won't be asked to save.
14027 (verilog-read-auto-lisp-present): Fix to start at beginning of
14028 buffer in case called outside of verilog-auto.
14029 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
14030 to "X-2". Reported by Matthew Myers.
14031 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
14032 all inputs from module templates. Reported by Leith Johnson.
14033 (verilog-module-inside-filename-p): Fix locating programs as with
14034 modules.
14035 (verilog-auto-inst-port): Fix vl-width expressions when using
14036 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
14037 (verilog-decls-get-regs, verilog-decls-get-signals,
14038 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
14039 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
14040 verilog-read-decls): Combine reg and wire structures into one var
14041 structure to represent SystemVerilog concepts.
14042 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
14043 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
14044 (verilog-auto-wire-type, verilog-insert-definition):
14045 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
14046 SystemVerilog "logic" keyword instead of "wire"/"reg".
14047 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
14048 to declares outputs that also have assignments (presumably in an
a1beca85
SM
14049 ifdef or generate if so there's not a driver conflict).
14050 Reported by Matthew Myers.
14051 (verilog-auto-declare-nettype, verilog-insert-definition):
14052 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
14053 `default_nettype none. Reported by Julian Gorfajn.
14054 (verilog-read-always-signals-recurse, verilog-read-decls)
14055 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
14056 malformed end statement, bug325. Reported by Joshua Wise and
14057 Andrew Drake.
14058 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
14059 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
14060 when expanding .* in interfaces, bug320.
14061 Reported by Pierre-David Pfister.
6288f0ca 14062 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
14063 name and open parenthesis, bug317.
14064 Reported by Pierre-David Pfister.
6288f0ca
WS
14065 (verilog-simplify-range-expression): Fix simplification of
14066 multiplications inside AUTOWIRE connections, bug303.
14067 (verilog-auto-inst-port): Support parameter expansion in
14068 multidimensional arrays.
14069 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
14070 after "assert property". Reported by Julian Gorfajn.
14071 (verilog-simplify-range-expression): Fix "couldn't merge" errors
14072 with multiplication, bug303.
14073 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
14074 Reported by Jan Frode Lonnum.
14075
1bbe96b2
GM
140762011-11-30 Juanma Barranquero <lekktu@gmail.com>
14077
14078 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
14079 (hfy-shell-file-name, hfy-shell):
14080 * international/fontset.el (x-decompose-font-name): Fix typos.
14081
140822011-11-29 Ken Brown <kbrown@cornell.edu>
14083
14084 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
14085 (gdb-version): Remove defvar.
14086 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
14087 (gdb-gud-context-command, gdb-non-stop-handler)
14088 (gdb-current-context-command, gdb-stopped): Use it.
14089 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
14090 (gdb-non-stop-handler): Don't enable pretty-printing here.
14091 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
14092 non-stop mode. Use the following.
14093 (gdb-check-target-async): New defun.
14094 (gud-watch, gdb-stopped): Fix whitespace.
14095 (gdb-get-source-file): Don't try to display the source file if
14096 `gdb-main-file' is nil.
14097
140982011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
14099
14100 * align.el: Try to generate fewer markers (bug#10047).
14101 (align--set-marker): New macro.
14102 (align-region): Use it.
14103
c935221f
SM
141042011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
14105
14106 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
14107
e70b5064
CY
141082011-11-29 Chong Yidong <cyd@gnu.org>
14109
14110 * indent.el (indent-for-tab-command, indent-according-to-mode):
14111 Doc fix.
14112 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
14113
f3af92b7
MA
141142011-11-29 Michael Albinus <michael.albinus@gmx.de>
14115
14116 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
14117 aware of remote file names. (Bug#10124)
14118
ed472be9
CY
141192011-11-29 Chong Yidong <cyd@gnu.org>
14120
14121 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
14122
24510c22
SM
141232011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
14124
14125 * files.el (find-file): Don't use force-same-window (bug#10144).
14126 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
14127 use pop-to-buffer if the selected window can't be used.
14128 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
14129
c60c3703
EZ
141302011-11-28 Eli Zaretskii <eliz@gnu.org>
14131
14132 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
14133 special-mode-map.
14134
e95def75
CY
141352011-11-28 Chong Yidong <cyd@gnu.org>
14136
14137 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
14138
c3f1c606
NR
141392011-11-27 Nick Roberts <nickrob@snap.net.nz>
14140
14141 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
14142 gdb-get-source-file-list on gdb-create-source-file-list.
14143
00db469c
EZ
141442011-11-26 Eli Zaretskii <eliz@gnu.org>
14145
14146 * whitespace.el (whitespace-newline): Use a different foreground
14147 color for 16-color light-background displays.
14148
4ad3bc2a
CY
141492011-11-24 Chong Yidong <cyd@gnu.org>
14150
14151 * window.el (display-buffer--special-action): Doc fix.
14152
e9fce1ac
JB
141532011-11-25 Juanma Barranquero <lekktu@gmail.com>
14154
14155 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
14156 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
14157 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
14158 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
14159 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
14160 (avl-tree-stack-first):
14161 * emacs-lisp/cconv.el (cconv--analyse-use):
14162 * net/gnutls.el (gnutls-negotiate): Fix typos.
14163
cb825e5d
GM
141642011-11-24 Glenn Morris <rgm@gnu.org>
14165
3adbe224
GM
14166 * lpr.el (lpr-windows-system, lpr-lp-system):
14167 * mail/binhex.el (binhex-begin-line):
14168 * progmodes/grep.el (grep-history, grep-find-history):
14169 * textmodes/flyspell.el:
14170 * vc/pcvs-defs.el (cvs-global-menu):
14171 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
14172 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
14173 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
14174
321decc8
GM
14175 * net/tls.el: Fix case of "GnuTLS".
14176
420b63ad
GM
14177 * paths.el (rmail-file-name): Format doc-string for make-docfile.
14178
cb825e5d
GM
14179 * version.el (emacs-build-system): Give it a doc-string.
14180
a0649f08
JL
141812011-11-24 Juri Linkov <juri@jurta.org>
14182
14183 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
14184
c0bc0fd4
GM
141852011-11-24 Glenn Morris <rgm@gnu.org>
14186
14187 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
14188 if called on a non-mime message just toggle the headers. (Bug#8006)
14189
20db1522
JB
141902011-11-24 Juanma Barranquero <lekktu@gmail.com>
14191
14192 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
14193 (allout-lead-with-comment-string, allout-structure-deleted-hook)
14194 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
14195 (allout-rebullet-heading, allout-open-sibtopic)
14196 (allout-toggle-current-subtree-encryption)
14197 (allout-toggle-subtree-encryption, allout-encrypt-string)
14198 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
14199 (allout-distinctive-bullets-string, allout-auto-activation):
14200 * window.el (window-normalize-buffer-to-display):
14201 * progmodes/verilog-mode.el (verilog-batch-indent):
14202 * textmodes/bibtex.el (bibtex-field-braces-opt)
14203 (bibtex-field-strings-opt):
14204 * vc/cvs-status.el (cvs-tree-merge):
14205 Fix typos.
14206
7262a87c
MA
142072011-11-23 Michael Albinus <michael.albinus@gmx.de>
14208
14209 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
14210 `non-essential' to t, in order to avoid remote connections.
14211
283430a1
EZ
142122011-11-23 Eli Zaretskii <eliz@gnu.org>
14213
a1beca85
SM
14214 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
14215 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
14216 case-insensitively.
14217
d2992a38
ML
142182011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
14219
14220 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
14221
50419064
GM
142222011-11-23 Glenn Morris <rgm@gnu.org>
14223
da94eca1
GM
14224 * paths.el (rmail-file-name): Reformat the doc-string so that it
14225 is picked up.
14226
9aac4de2
GM
14227 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
14228 (rmail-auto-file): Ignore case in the "special" field names,
14229 as mail-fetch-field does for all others.
14230
8038d2d2
GM
14231 * mail/rmail.el (rmail-forward):
14232 * mail/rmailkwd.el (rmail-set-label):
14233 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
14234 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
14235
f3fe222a
GM
14236 * mail/rmail.el (rmail-current-message): Doc fix.
14237
50419064
GM
14238 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
14239
28109f49
SM
142402011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
14241
14242 * server.el (server-eval-and-print): Allow C-g (bug#6585).
14243
394c65f1
GM
142442011-11-22 Glenn Morris <rgm@gnu.org>
14245
14246 * mail/rmailmm.el (test-rmail-mime-handler)
14247 (test-rmail-mime-bulk-handler)
14248 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
14249
f2a0aa3a
JL
142502011-11-21 Juri Linkov <juri@jurta.org>
14251
1154d12e
JB
14252 * calc/calc.el (calc-read-key-sequence):
14253 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 14254
9c34a344
LMI
142552011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
14256
14257 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
14258 Tell the caller that the next line needs recomputation, even
14259 though it doesn't start a sexp (bug#10094).
14260
f04a3be9
SM
142612011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
14262
14263 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
14264
7978747f
SM
142652011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
14266
f04a3be9
SM
14267 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
14268 Use force-same-window.
7978747f 14269
fe7a3057
JB
142702011-11-20 Juanma Barranquero <lekktu@gmail.com>
14271
14272 * descr-text.el (describe-char-unicode-data):
14273 * json.el (json-string-escape):
14274 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
14275 (Footnote-unicode, Footnote-style-p):
14276 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
14277
24901d61
CY
142782011-11-20 Chong Yidong <cyd@gnu.org>
14279
14280 * window.el (replace-buffer-in-windows): Restore interactive spec.
14281
bac7ff22
SM
142822011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
14283
24f3d7b9
SM
14284 * electric.el (electric-indent-mode): Fix last change (too optimistic).
14285
bac7ff22
SM
14286 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
14287 (byte-compile-global-not-obsolete-vars): New var.
14288 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
14289 Use it.
14290 (byte-compile-warn-obsolete): Align text with the one in *Help*.
14291
cd1181db
JB
142922011-11-20 Juanma Barranquero <lekktu@gmail.com>
14293
14294 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
14295 * progmodes/pascal.el (electric-pascal-equal):
14296 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
14297 * xml.el (xml-substitute-special): Fix typos.
14298
7fb18e9e
GM
142992011-11-20 Glenn Morris <rgm@gnu.org>
14300
14301 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
14302 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
14303 Doc fixes.
14304 (rmail-decode-mime-charset): Mark as obsolete.
14305
14306 * mail/rmailsum.el (rmail-message-regexp-p-1):
14307 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
14308 Before using mime functions, check they are set. (Bug#10077)
14309
d5a6b3ba
JL
143102011-11-19 Juri Linkov <juri@jurta.org>
14311
14312 * info.el (Info-finder-find-node): Use `package--builtins' instead
14313 of `package-alist'. Use node names formed by the pattern "Keyword "
14314 and the keyword name.
14315
e981b61f
AS
143162011-11-19 Andreas Schwab <schwab@linux-m68k.org>
14317
1d00653d 14318 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 14319
3ffbc301
JL
143202011-11-19 Juri Linkov <juri@jurta.org>
14321
14322 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
14323 that calls `revert-buffer' on all Info buffers. (Bug#9915)
14324 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
14325 `old-history', `old-history-forward'. Add let-binding
14326 `window-selected'. Remove calls to `kill-buffer',
14327 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
14328 before calling `Info-find-node', so `Info-find-node-2' will reread
14329 the Info file. Restore window positions only when `window-selected'
14330 is non-nil.
14331
30c62133
JL
143322011-11-19 Juri Linkov <juri@jurta.org>
14333
14334 * isearch.el (isearch-lazy-highlight-new-loop):
14335 Remove condition `(not isearch-error)'. (Bug#9918)
14336
14337 * misearch.el (multi-isearch-search-fun): Add condition
14338 `(not bound)' to ignore lazy-highlighting search.
14339 Add the search-failed message "end of multi" when the end of
14340 multi-sequence is reached. Uncapitalize the search-failed
14341 message "Repeat for next buffer".
14342
14343 * info.el (Info-search): Add the search-failed message
14344 "end of the manual" when the end of the manual is reached
14345 in Isearch mode.
14346
645ca9cf
JL
143472011-11-19 Juri Linkov <juri@jurta.org>
14348
14349 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
14350 Use non-destructive `remove' instead of `delete' because
14351 `Info-history-list' stored to `Info-isearch-initial-history-list' in
14352 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
14353
df754f66
JL
143542011-11-19 Juri Linkov <juri@jurta.org>
14355
14356 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
14357 to nil instead of binding `search-ring' and `regexp-search-ring'.
14358 (Bug#9185)
14359
0e23d96a
EZ
143602011-11-19 Eli Zaretskii <eliz@gnu.org>
14361
14362 * simple.el (line-move): Force movement by logical lines for any
14363 hscrolled window, not only when auto-hscroll-mode is on.
14364 (line-move-visual): Update doc string to that effect. (Bug#10076)
14365
8a6ccb66
AS
143662011-11-19 Andreas Schwab <schwab@linux-m68k.org>
14367
14368 * language/european.el (macintosh): Define as alias for mac-roman.
14369
49ae5b39
EZ
143702011-11-19 Eli Zaretskii <eliz@gnu.org>
14371
14372 * mail/rmailmm.el (rmail-mime-display-header)
14373 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
14374 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
14375 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
14376 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
14377 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
14378 of a raw aref.
14379 (rmail-mime-entity-segment): To get past the tagline, move forward
14380 2 more lines, to account for the 2 empty lines that precede and
14381 follow the line with the buttons.
14382 (rmail-mime-update-tagline): Move one more line, to get past the
14383 empty line that follows the buttons in the tagline. (Bug#9520)
14384
c56cad4a
MR
143852011-11-19 Martin Rudalics <rudalics@gmx.at>
14386
14387 * window.el (window-max-delta-1, window-min-delta-1)
14388 (window-min-size-1, window-state-get-1, window-state-put-1)
14389 (window-state-put-2): Use "window--" prefix.
14390
cbe71af3
SM
143912011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
14392
2ad52c60
SM
14393 * emacs-lisp/smie.el: Improve warnings and conflict detection.
14394 (smie-warning-count): New var.
14395 (smie-set-prec2tab): Use it.
14396 (smie-bnf->prec2): Improve warnings. Add docstring.
14397 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
14398 (smie-bnf--set-class): New function.
14399 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
14400 corner case.
14401
6944dbc1
SM
14402 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
14403 (compilation-error-properties, compilation-move-to-column):
14404 Handle compilation-first-column while in the target buffer.
14405
c400c4d7
SM
14406 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
14407 Don't hardcode point-min==1.
14408
6dbe3e96
SM
14409 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
14410 (eshell-rewrite-for-command): Remove workaround.
14411 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
14412 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
14413 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
14414
cbe71af3
SM
14415 * files-x.el (modify-file-local-variable): Obey commenting conventions.
14416
a8e1496d
GM
144172011-11-17 Glenn Morris <rgm@gnu.org>
14418
14419 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
14420 Ignore buffer-local generated-autoload-file if it is the same
14421 as the global value. (Bug#10049)
14422
df85d315
JB
144232011-11-17 Juanma Barranquero <lekktu@gmail.com>
14424
14425 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
14426 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
14427 (reftex-toc-previous-heading, reftex-toc-max-level)
14428 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
14429 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
14430 (reftex-toc-do-promote, reftex-toc-promote-prepare)
14431 (reftex-toc-promote-action, reftex-toc-extract-section-number)
14432 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
14433 (reftex-toc-rename-label, reftex-toc-visit-location)
14434 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
14435 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
14436 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
14437 leaving "*toc*" only for references to the buffer.
14438
a0c2d0ae
MR
144392011-11-17 Martin Rudalics <rudalics@gmx.at>
14440
14441 * window.el (window-resize, delete-window, split-window):
14442 Replace window-splits by window-combination-resize.
1d00653d 14443 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 14444
35c0bac8
GM
144452011-11-17 Glenn Morris <rgm@gnu.org>
14446
14447 * progmodes/sh-script.el (sh-font-lock-keywords-var):
14448 Make bash entry derive from sh entry, not shell entry.
14449
d0c8fc8a
MA
144502011-11-16 Michael Albinus <michael.albinus@gmx.de>
14451
7262a87c
MA
14452 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
14453 local file name.
14454
7877f373
JB
144552011-11-16 Juanma Barranquero <lekktu@gmail.com>
14456
14457 * menu-bar.el (menu-bar-file-menu):
14458 * printing.el (pr-ps-utility):
14459 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
14460 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
14461 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
14462 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
14463 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
14464 (icalendar--convert-cyclic-to-ical)
14465 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
14466 (icalendar--convert-ical-to-diary)
14467 (icalendar--convert-recurring-to-diary)
14468 (icalendar--convert-non-recurring-all-day-to-diary)
14469 (icalendar-import-format-sample):
14470 * progmodes/idlw-shell.el (idlwave-shell-mode):
14471 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
14472 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
14473 (vhdl-ps-print-init): Fix typos.
14474
10649b82
KM
144752011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
14476
9d0cfcd6
GM
14477 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
14478 FSF and collapse date sequence, obscure author/maintainer email address
14479 better, remove extra version line, track relocation of author's webpage.
10649b82 14480
9d0cfcd6
GM
14481 * progmodes/python.el (python-pdbtrack-input-prompt)
14482 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
14483 regular python pdb prompts. Adjustments shamelessly taken exactly as
14484 suggested in EmacsWiki page (tiny change):
14485 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 14486
58179cce
JB
144872011-11-16 Juanma Barranquero <lekktu@gmail.com>
14488
14489 * expand.el (expand-pos, expand-index, expand-point):
14490 Remove redundant info from docstring.
14491 (expand-add-abbrevs): Doc fix.
14492 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
14493 (expand-sample-perl-mode-expand-list): Fix typos.
14494
14495 * net/dbus.el (dbus-event-member-name):
14496 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
14497 * term/pc-win.el (msdos-create-frame-with-faces):
14498 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
14499
b6f67890
MR
145002011-11-16 Martin Rudalics <rudalics@gmx.at>
14501
14502 * window.el (split-window, window-state-get-1)
14503 (window-state-put-1, window-state-put-2): Rename occurrences of
14504 window-nest to window-combination-limit.
1d00653d 14505 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 14506
ce7ddba0
CY
145072011-11-16 Chong Yidong <cyd@gnu.org>
14508
14509 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
14510 regexp (Bug#10033).
14511
3ae704f4
SM
145122011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
14513
14514 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
14515 `completing-read' will remove *Completions* and will preserve
14516 current-buffer for us.
14517 (tmm-add-prompt): Users of *Completions* will always (re)set its
14518 major mode.
14519 (tmm-old-comp-map): Remove.
14520
6ad1cdde
GM
145212011-11-16 Glenn Morris <rgm@gnu.org>
14522
14523 * mail/rmailedit.el: Require rmailmm when compiling.
14524 (rmail-old-mime-state): New declaration.
14525 (rmail-edit-current-message): If editing a mime message,
14526 edit the "raw" message from the mbox buffer.
14527 (rmail-cease-edit): Handle mime messages. (Bug#9840)
14528
d20faa20
GM
145292011-11-15 Glenn Morris <rgm@gnu.org>
14530
14531 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
14532 which wasn't being used. Add optional arg to force given state.
14533 (rmail-mime): Add optional arg to force given state.
14534
c7015153
JB
145352011-11-15 Juanma Barranquero <lekktu@gmail.com>
14536
14537 * allout.el (allout-encryption-plaintext-sanitization-regexps):
14538 * frame.el (display-mm-dimensions-alist):
14539 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
14540 (outline-move-subtree-down):
14541 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
14542 (newsticker--treeview-do-get-node):
14543 * net/quickurl.el (quickurl-list-buffer-name):
14544 * progmodes/dcl-mode.el (dcl-mode):
14545 * progmodes/gdb-mi.el (gdb-mapcar*):
14546 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
14547
45261b50
GM
145482011-11-15 Glenn Morris <rgm@gnu.org>
14549
14550 * mail/rmail.el (rmail-file-coding-system): It's only ever used
14551 in a boolean sense, so just make it a boolean, and fix the doc.
14552 (rmail-show-mime-function, rmail-mime-feature)
14553 (rmail-require-mime-maybe): Doc fixes.
14554 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
14555
14556 * mail/rmailmm.el (rmail-show-mime): Doc fix.
14557
0d26e0b6
JB
145582011-11-15 Juanma Barranquero <lekktu@gmail.com>
14559
14560 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
14561 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
14562 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
14563 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
14564
447f30f6
GM
145652011-11-15 Glenn Morris <rgm@gnu.org>
14566
672b871d
GM
14567 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
14568 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
14569 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
14570 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
14571 (rmail-mime, rmail-show-mime): Doc fixes.
14572
f6aa5bb1
GM
14573 * term/ns-win.el (mode-line-frame-identification):
14574 Leave it alone. (Bug#10051)
14575
947cd66b
GM
14576 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
14577
447f30f6
GM
14578 * mail/rmailout.el (rmail-output-to-rmail-buffer):
14579 Handle empty buffers. (Bug#9978)
14580
0b381c7e
JB
145812011-11-14 Juanma Barranquero <lekktu@gmail.com>
14582
14583 * international/mule.el (define-charset):
14584 * mail/rmailmm.el (rmail-mime-find-header-encoding):
14585 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
14586 * progmodes/verilog-mode.el (verilog-backward-token):
14587 * textmodes/ispell.el (lookup-words):
14588 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
14589
71e027ac
GM
145902011-11-14 Glenn Morris <rgm@gnu.org>
14591
56632ce4
GM
14592 * progmodes/executable.el
14593 (executable-make-buffer-file-executable-if-script-p):
14594 Handle file-modes returning nil.
14595
40500957
GM
14596 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
14597 message - not necessary, and causes problems. (Bug#9831)
14598
071c2340
GM
14599 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
14600
d3cfca60
GM
14601 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
14602
71e027ac
GM
14603 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
14604 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
14605 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
14606
89d61221
MR
146072011-11-12 Martin Rudalics <rudalics@gmx.at>
14608
14609 * window.el (window-resize, delete-window): Use window-splits
14610 variable instead of function.
14611 (window-state-get-1, window-state-put-2, window-state-put):
14612 Don't deal with windows' splits status.
14613
98282f6f
GM
146142011-11-12 Glenn Morris <rgm@gnu.org>
14615
14616 * apropos.el (apropos-do-all, apropos-library, apropos-value)
14617 (apropos-documentation): Doc fixes.
14618
40a8bdf6
JB
146192011-11-11 Juanma Barranquero <lekktu@gmail.com>
14620
14621 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
14622 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
14623
65bd19ff
SM
146242011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
14625
14626 * electric.el (electric-indent-post-self-insert-function): Make it
14627 possible for a char to only indent in some circumstances.
14628 (electric-indent-mode): Simplify.
14629
54f9154c
MR
146302011-11-11 Martin Rudalics <rudalics@gmx.at>
14631
14632 * window.el (windows-with-parameter): Remove unused function.
14633 (windows-at-side): Rename to window-at-side-list.
14634 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
14635 (window-side-check, window-size-ignore, window-size-fixed-1)
14636 (window-in-direction-2): Prefix with "window--".
14637 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 14638
68cbc58b
GM
146392011-11-11 Glenn Morris <rgm@gnu.org>
14640
14641 * subr.el (eval-after-load): If FILE is already loaded,
14642 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
14643
b2621720
GM
146442011-11-10 Glenn Morris <rgm@gnu.org>
14645
9a4de110
GM
14646 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
14647 Call svn via vc-svn-command rather than vc-do-command.
14648 (vc-svn-command): Add --non-interactive. (Bug#9993)
14649 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
14650
b2621720
GM
14651 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
14652 Add toggle-read-only. (Bug#7292)
14653 * files.el (toggle-read-only): Mention that it should only
14654 be used interactively. (Bug#10006)
14655
1dce7193
SM
146562011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
14657
d9ac1a1e
SM
14658 * progmodes/compile.el (compilation-error-regexp-alist-alist):
14659 Adjust regexp for OCaml warnings.
14660
0c325082
SM
14661 * electric.el (electric-pair-post-self-insert-function): Let user
14662 turn it off buffer-locally (bug#9932).
14663
90132c14
SM
14664 * progmodes/python.el (python-beginning-of-statement):
14665 Rewrite (bug#2703).
14666
1dce7193
SM
14667 * progmodes/compile.el: Better handle TABs (bug#9749).
14668 (compilation-internal-error-properties)
14669 (compilation-next-error-function): Obey the target buffer's
14670 compilation-error-screen-columns.
14671
c4e7c63a
JB
146722011-11-09 Juanma Barranquero <lekktu@gmail.com>
14673
14674 * progmodes/meta-mode.el: Remove obsolete comments.
14675 (meta-right-comment-regexp, meta-ignore-comment-regexp):
14676 Fix typos in docstrings.
14677
2cffd681
MR
146782011-11-09 Martin Rudalics <rudalics@gmx.at>
14679
14680 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 14681 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
14682 (window--resizable): New function. Make all callers of
14683 window-resizable call window--resizable instead.
14684 (window-resizable): Rewrite in terms of window--resizable.
14685
0edcba87
GM
146862011-11-08 Glenn Morris <rgm@gnu.org>
14687
14688 * progmodes/delphi.el (delphi-mode-syntax-table):
14689 Let define-derived-mode define a proper syntax table. (Bug#9994)
14690
4b0d61e3
SM
146912011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
14692
14693 * window.el: Stay away from defsubst.
14694 (window-list-no-nils): Remove.
14695 (window-state-get-1, window-state-get): Use backquote instead.
14696
cd394be1 146972011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 14698
4b0d61e3 14699 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 14700 Fix incorrect use of default argument in `completing-read'.
14701
e1c2c6f2
MR
147022011-11-08 Martin Rudalics <rudalics@gmx.at>
14703
14704 * window.el (display-buffer-function, special-display-function):
14705 Mention display-buffer-record-window but do not mention
14706 help-setup parameter in doc-strings.
b3f4a882 14707 (window-min-delta): Fix doc-string typo.
e1c2c6f2 14708
105216ed
CY
147092011-11-08 Chong Yidong <cyd@gnu.org>
14710
14711 * window.el (window-total-height, window-total-width): Doc fix.
14712 (window-body-size): Move from C.
14713 (window-body-height, window-body-width): Move to C.
14714
0a9f9ab5
SM
147152011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
14716
14717 * window.el: Make special-display like display-buffer-alist (bug#9532).
14718 (display-buffer--special-action): New function, morphed
14719 from display-buffer--special.
14720 (display-buffer): Use it to handle special-display-buffers at higher
14721 priority (just after display-buffer-alist).
14722 (display-buffer-fallback-action, display-buffer--other-frame-action)
14723 (pop-to-buffer-same-window): Remove display-buffer--special.
14724
a769dd15
GM
147252011-11-07 Glenn Morris <rgm@gnu.org>
14726
14727 * calendar/cal-menu.el (cal-menu-set-date-title):
14728 Do nothing if not in a calendar. (Bug#9976)
14729
05a61ee3
SM
147302011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
14731
14732 * files.el (find-file): Always use selected-window.
14733
be7f5545
MR
147342011-11-07 Martin Rudalics <rudalics@gmx.at>
14735
14736 * window.el (window-combinations): Make WINDOW argument
14737 mandatory. Rewrite doc-string.
14738 (walk-window-subtree, window-atom-check, window-min-delta)
14739 (window-max-delta, window--resize-this-window)
14740 (window--resize-root-window-vertically, window-tree)
14741 (balance-windows, window-state-put): Rewrite doc-strings as to
14742 not mention the term "subwindow".
14743 (window--resize-subwindows-skip-p): Rename to
14744 window--resize-child-windows-skip-p.
14745 (window--resize-subwindows-normal): Rename to
14746 window--resize-child-windows-normal.
14747 (window--resize-subwindows): Rename to
14748 window--resize-child-windows.
14749 (window-or-subwindow-p): Rename to window--in-subtree-p.
14750
3c6702ef
ML
147512011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
14752
14753 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
14754 Ensure that mbox format messages end in two newlines (Bug#9974).
14755
49745b39
CY
147562011-11-06 Chong Yidong <cyd@gnu.org>
14757
14758 * window.el (window-combination-p): Function deleted; its
14759 side-effect is not used in any existing code.
14760 (window-combinations, window-combined-p): Call window-*-child
14761 directly.
14762
24300f5f
CY
147632011-11-05 Chong Yidong <cyd@gnu.org>
14764
14765 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
14766 (window-size-ignore, window-state-get): Callers changed.
14767 (window-normalize-window): Rename from window-normalize-any-window.
14768 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 14769 (window-normalize-live-window): Delete.
447f16b8
CY
14770 (window-combination-p, window-combined-p, window-combinations)
14771 (walk-window-subtree, window-atom-root, window-min-size)
14772 (window-sizable, window-sizable-p, window-size-fixed-p)
14773 (window-min-delta, window-max-delta, window-resizable)
14774 (window-resizable-p, window-full-height-p, window-full-width-p)
14775 (window-current-scroll-bars, window-point-1, set-window-point-1)
14776 (window-at-side-p, window-in-direction, window-resize)
14777 (adjust-window-trailing-edge, maximize-window, minimize-window)
14778 (window-deletable-p, delete-window, delete-other-windows)
14779 (record-window-buffer, unrecord-window-buffer)
14780 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
14781 (quit-window, split-window, window-state-put)
14782 (set-window-text-height, fit-window-to-buffer)
14783 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 14784
89bd5ee1
EZ
147852011-11-04 Eli Zaretskii <eliz@gnu.org>
14786
53479029
EZ
14787 * mail/rmail.el (rmail-simplified-subject): Decode subject with
14788 rfc2047-decode-string.
14789 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
14790 warnings.
14791
89bd5ee1
EZ
14792 * window.el (window-body-height, window-body-width): Mention in
14793 the doc string that the return values are in frame's canonical
14794 units. (Bug#9949)
14795
bd17fdee
AM
147962011-11-03 Alan Mackenzie <acm@muc.de>
14797
14798 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
14799 change in cc-engine.el.
14800
acc825c5
SM
148012011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
14802
14803 * window.el (switch-to-buffer): Use `force-same-window' interactively.
14804
1885e5b8
MR
148052011-11-02 Martin Rudalics <rudalics@gmx.at>
14806
14807 * window.el (quit-window): Call unrecord-window-buffer after
14808 showing another buffer in the window. (Bug#9937)
acc825c5 14809 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 14810
ebe06da9
JB
148112011-11-02 Juanma Barranquero <lekktu@gmail.com>
14812
14813 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
14814 Accept status with more than 9 shelves. (Bug#9935)
14815 Reported by Colin D Bennett <colin@gibibit.com>.
14816
4ee88440
MR
148172011-11-01 Martin Rudalics <rudalics@gmx.at>
14818
14819 * help.el (with-help-window): Don't reference
14820 temp-buffer-show-specifiers in doc-string.
14821
08e1d82c
AS
148222011-10-31 Andreas Schwab <schwab@linux-m68k.org>
14823
14824 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
14825 menu-item.
14826
84bd6e9e
VJL
148272011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
14828
14829 * whitespace.el: New version 13.2.2.
14830 (whitespace-newline-mode): Disable properly. Reported by Sarah
14831 <EmacsWiki>.
14832
dba0634a
UJ
148332011-10-30 Ulf Jasper <ulf.jasper@web.de>
14834
14835 * net/newst-treeview.el: Remove "Time-stamp".
14836 (newsticker--group-manage-orphan-feeds): Do not call
14837 newsticker--treeview-tree-update.
db22a3c2
JB
14838 (newsticker-treeview-update, newsticker-treeview):
14839 Call newsticker--treeview-tree-update if necessary.
dba0634a 14840
3d8daefe
MR
148412011-10-30 Martin Rudalics <rudalics@gmx.at>
14842
14843 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
14844 (window-iso-combinations): Remove "iso-" infix.
14845 Suggested by Chong Yidong.
3d8daefe
MR
14846 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
14847 (window-max-delta-1, window-resize, window--resize-siblings)
14848 (window--resize-this-window, adjust-window-trailing-edge)
14849 (split-window, balance-windows-1)
14850 (shrink-window-if-larger-than-buffer):
14851 * calendar/calendar.el (calendar-generate-window):
db22a3c2 14852 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 14853
1bc4c3ae
SM
148542011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
14855
14856 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
14857 in place (bug#9907).
14858 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
14859 (eshell-rewrite-if-command, eshell-rewrite-for-command)
14860 (eshell-structure-basic-command, eshell-rewrite-while-command)
14861 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
14862 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
14863 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
14864 (eshell-do-pipelines-synchronously, eshell-eval-command):
14865 Use backquotes and prefer setq to set.
14866 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
14867 (eshell-macrop): Use functionp.
c1e2f5fa 14868 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 14869
30b65d9c
CY
148702011-10-30 Chong Yidong <cyd@gnu.org>
14871
14872 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
14873 instead of set-mark (Bug#9810).
14874
2d197ffb
CY
148752011-10-30 Chong Yidong <cyd@gnu.org>
14876
14877 * window.el (split-window-below, split-window-right): Rename from
14878 split-window-above-each-other and split-window-side-by-side
14879 respectively. All callers changed.
14880 (split-window-sensibly, split-window-sensibly): Use them.
14881 (split-window-keep-point): Doc fix.
14882
14883 * isearch.el: Add isearch-scroll property to split-window-below
14884 and split-window-right.
14885
14886 * follow.el (follow-mode):
14887 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
14888 * progmodes/ada-xref.el (ada-gdb-application):
14889 * emulation/vip.el (vip-buffer-in-two-windows):
14890 * image-dired.el (image-dired-dired-with-window-configuration):
14891 * dired-x.el (dired-do-find-marked-files):
14892 * dired.el (dired-pop-to-buffer):
14893 * bs.el (bs--show-with-configuration):
14894 * vc/emerge.el (emerge-setup-windows):
14895 * textmodes/two-column.el (2C-two-columns):
14896 * textmodes/reftex-toc.el (reftex-toc):
14897 * progmodes/gdb-mi.el (gdb-setup-windows):
14898 * progmodes/fortran.el (fortran-window-create):
14899 * net/newst-treeview.el (newsticker--treeview-window-init):
14900 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
14901 * emulation/tpu-edt.el (tpu-gold-map):
14902 * emulation/crisp.el (crisp-mode-map):
14903 * calendar/calendar.el (calendar-basic-setup): Callers changed.
14904
38bb2ca8
CY
149052011-10-29 Chong Yidong <cyd@gnu.org>
14906
aa4de341
CY
14907 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
14908
e1eb5385
CY
14909 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
14910
5d2ece3c
CY
14911 * textmodes/flyspell.el (flyspell-word): Fix char offset for
14912 forged Ispell output (Bug#7904).
14913
38bb2ca8
CY
14914 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
14915
d0af9f77
SM
149162011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
14917
14918 * doc-view.el: Avoid ugly errors about not finding nil.
14919 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
14920 (doc-view-dvipdf-program, doc-view-unoconv-program)
14921 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
14922 Avoid nil or absolute file name as default value.
14923 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
14924
52bedd34
AM
149252011-10-28 Alan Mackenzie <acm@muc.de>
14926
db22a3c2 14927 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 14928
7e43cfa5
AM
149292011-10-28 Alan Mackenzie <acm@muc.de>
14930
14931 Amend the handling of c-beginning/end-of-defun in nested declaration
14932 scopes.
14933
52bedd34
AM
14934 * progmodes/cc-vars.el (c-defun-tactic): Move here from
14935 cc-langs.el. Change it to a defcustom.
7e43cfa5 14936
52bedd34
AM
14937 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
14938 cc-vars.el.
7e43cfa5 14939
d0af9f77
SM
14940 * progmodes/cc-engine.el (c-beginning-of-statement-1):
14941 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 14942
52bedd34 14943 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 14944 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
14945 (c-widen-to-enclosing-decl-scope): New function.
14946 (c-while-widening-to-decl-block): New macro.
14947 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
14948 outward for defun boundaries, and correspondingly change symbol
14949 `respect-enclosure' to `go-outward'.
14950 (c-declaration-limits): Change algorithm to report only the "innermost"
14951 defun's boundaries.
14952
1a2ce9ee
DD
149532011-10-28 Deniz Dogan <deniz@dogan.se>
14954
14955 * net/rcirc.el (rcirc-mode): Use hard newlines.
14956
bc97a826
AM
149572011-10-28 Alan Mackenzie <acm@muc.de>
14958
14959 Amend to indent and fontify macros "which include their own semicolon"
14960 correctly, using the "virtual semicolon" mechanism.
14961
52bedd34 14962 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 14963
d0af9f77 14964 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 14965 Recode to scan one line at a time rather than having \n and \r
58179cce 14966 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 14967 (c-forward-label): Amend for virtual semicolons.
58179cce 14968 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 14969
52bedd34
AM
14970 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
14971 of the new C macros.
bc97a826 14972
52bedd34 14973 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
14974 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
14975 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
14976 (c-opt-cpp-macro-define): Make into a full language variable.
14977 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
14978 AWK Mode (including \n, \r) removed, no longer needed.
14979
d0af9f77
SM
14980 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
14981 Invoke c-make-macro-with-semi-re.
bc97a826 14982
52bedd34
AM
14983 * progmodes/cc-vars.el (c-macro-with-semi-re):
14984 (c-macro-names-with-semicolon): New variables.
58179cce 14985 (c-make-macro-with-semi-re): New function.
bc97a826 14986
7a6c0941
SM
149872011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
14988
14989 * vc/log-edit.el: Fill empty field rather than adding new one.
14990 (log-edit-add-field): New function.
14991 (log-edit-insert-changelog): Use it.
14992
b0c4cdcf
ML
149932011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
14994
14995 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
14996
ee1f1da9
SM
149972011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
14998
14999 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
15000 (gdb--check-interpreter): New function.
15001 (gdb): Use it.
15002
51bc5f8b
GM
150032011-10-27 Glenn Morris <rgm@gnu.org>
15004
416a2c45
GM
15005 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
15006 (least-positive-float, least-negative-float)
15007 (least-positive-normalized-float, least-negative-normalized-float)
15008 (float-epsilon, float-negative-epsilon):
15009 Remove unnecessary declarations.
15010
15011 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
15012 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
15013 (least-positive-float, least-negative-float)
15014 (least-positive-normalized-float, least-negative-normalized-float)
15015 (float-epsilon, float-negative-epsilon): Add doc-strings,
15016 based on those in cl.texi.
15017
51bc5f8b
GM
15018 * files.el (set-visited-file-name): If the major-mode changed,
15019 reload the local variables. (Bug#9796)
15020
15de15c6
CY
150212011-10-27 Chong Yidong <cyd@gnu.org>
15022
15023 * subr.el (change-major-mode-after-body-hook): New hook.
15024 (run-mode-hooks): Run it.
15025
ee1f1da9
SM
15026 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
15027 Use change-major-mode-before-body-hook.
15de15c6
CY
15028
15029 * simple.el (fundamental-mode):
15030 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
15031 change introducing fundamental-mode-hook.
15032
5430d399
JB
150332011-10-26 Juanma Barranquero <lekktu@gmail.com>
15034
acc825c5 15035 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 15036
ad74a69e
MA
150372011-10-26 Michael Albinus <michael.albinus@gmx.de>
15038
15039 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 15040 tramp.el explicitly. (Bug#7583)
ad74a69e 15041
71d4c2a5
SM
150422011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
15043
15044 * progmodes/octave-mod.el:
15045 * progmodes/octave-inf.el: Update maintainer.
15046
b1f6fa26
CY
150472011-10-26 Chong Yidong <cyd@gnu.org>
15048
15049 * subr.el (with-wrapper-hook): Rewrite doc.
15050
3f04efd6
MA
150512011-10-25 Michael Albinus <michael.albinus@gmx.de>
15052
15053 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 15054 filenames "/method:foo:". (Bug#9793)
3f04efd6 15055
410488d3
SM
150562011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
15057
15058 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
15059 (bug#9865).
15060
c1ebb47e
GM
150612011-10-24 Glenn Morris <rgm@gnu.org>
15062
15063 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
15064
7f5c46c7
MA
150652011-10-24 Michael Albinus <michael.albinus@gmx.de>
15066
15067 * notifications.el: Add the requirement of a running D-Bus session
15068 bus to the Commentary.
15069
db2440b6
JL
150702011-10-24 Juri Linkov <juri@jurta.org>
15071
15072 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
15073 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
15074 (Bug#9364)
15075
feecf435
JL
150762011-10-24 Juri Linkov <juri@jurta.org>
15077
15078 * info.el (Info-following-node-name-re): Add newline to the list
15079 of allowed characters for leading space. (Bug#9824)
15080
a3839de2
SM
150812011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
15082
acc825c5
SM
15083 * progmodes/octave-inf.el (inferior-octave-mode-map):
15084 Fix C-c C-h binding.
a3839de2
SM
15085 * progmodes/octave-mod.el (octave-help): Remove.
15086
09388e76
MA
150872011-10-23 Michael Albinus <michael.albinus@gmx.de>
15088
15089 Sync with Tramp 2.2.3.
15090
15091 * net/tramp-cache.el (top): Pacify byte-compiler using
15092 `init-file-user' and `site-run-file'.
15093
15094 * net/trampver.el: Update release number.
15095
86c60681
CY
150962011-10-23 Chong Yidong <cyd@gnu.org>
15097
15098 * files.el (toggle-read-only): Remove obsolete comment about
15099 version control.
15100
15101 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
15102 for toggle-read-only. Note that this hasn't called vc-next-action
15103 since 2008-05-02, though it wasn't documented at the time.
15104
a3839de2
SM
15105 * vc/ediff-init.el (ediff-toggle-read-only-function):
15106 Use toggle-read-only.
86c60681 15107
cd5495ff
AM
151082011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
15109
15110 Fix bug #9560, sporadic wrong indentation; improve instrumentation
15111 of c-parse-state.
15112
00b77525 15113 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 15114 correct faulty logical expression.
cd5495ff
AM
15115 (c-parse-state-state, c-record-parse-state-state):
15116 (c-replay-parse-state-state): New defvar/defuns.
15117 (c-debug-parse-state): Use new functions.
15118
42ee24ed
MR
151192011-10-22 Martin Rudalics <rudalics@gmx.at>
15120
15121 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 15122 last fix. Use window-in-direction correctly.
42ee24ed 15123
a7dee7e7
CY
151242011-10-21 Chong Yidong <cyd@gnu.org>
15125
15126 * progmodes/idlwave.el (idlwave-mode):
15127 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
15128 require-final-newline; that's done in prog-mode.
15129 Suggested by Stefan Monnier.
a7dee7e7 15130
e07b9a6d
MR
151312011-10-21 Martin Rudalics <rudalics@gmx.at>
15132
15133 * mouse.el (mouse-drag-window-above)
15134 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
15135 (mouse-drag-mode-line-1, mouse-drag-header-line)
15136 (mouse-drag-vertical-line-rightward-window): Remove.
15137 (mouse-drag-line): New function.
15138 (mouse-drag-mode-line, mouse-drag-header-line)
15139 (mouse-drag-vertical-line): Call mouse-drag-line.
15140 * window.el (window-at-side-p, windows-at-side): New functions.
15141
7e1361d9
UM
151422011-10-21 Ulrich Mueller <ulm@gentoo.org>
15143
15144 * tar-mode.el (tar-grind-file-mode):
15145 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
15146
30fcaf3a
CY
151472011-10-21 Chong Yidong <cyd@gnu.org>
15148
15149 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
15150 * progmodes/vera-mode.el (vera-mode):
15151 Use mode-require-final-newline.
30fcaf3a 15152
516eddb0
GM
151532011-10-20 Glenn Morris <rgm@gnu.org>
15154
db22a3c2 15155 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 15156
10d5f513
CS
151572011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
15158
15159 * emulation/cua-base.el (cua-set-mark): Fix case of string.
15160
ac6c8639
CY
151612011-10-20 Chong Yidong <cyd@gnu.org>
15162
15163 * emulation/cua-base.el (cua-mode):
15164 * mail/footnote.el (footnote-mode):
15165 * mail/mailabbrev.el (mail-abbrevs-mode):
15166 * net/xesam.el (xesam-minor-mode):
15167 * progmodes/bug-reference.el (bug-reference-mode):
15168 * progmodes/cap-words.el (capitalized-words-mode):
15169 * progmodes/compile.el (compilation-minor-mode)
15170 (compilation-shell-minor-mode):
15171 * progmodes/gud.el (gud-tooltip-mode):
15172 * progmodes/hideif.el (hide-ifdef-mode):
15173 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
15174 * progmodes/subword.el (subword-mode):
15175 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
15176 * progmodes/which-func.el (which-function-mode):
15177 * term/tvi970.el (tvi970-set-keypad-mode):
15178 * term/vt100.el (vt100-wide-mode):
15179 * textmodes/flyspell.el (flyspell-mode):
15180 * textmodes/ispell.el (ispell-minor-mode):
15181 * textmodes/nroff-mode.el (nroff-electric-mode):
15182 * textmodes/paragraphs.el (use-hard-newlines):
15183 * textmodes/refill.el (refill-mode):
15184 * textmodes/reftex.el (reftex-mode):
15185 * textmodes/rst.el (rst-minor-mode):
15186 * textmodes/sgml-mode.el (html-autoview-mode)
15187 (sgml-electric-tag-pair-mode):
15188 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
15189 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
15190 * emulation/crisp.el (crisp-mode):
15191 * emacs-lisp/eldoc.el (eldoc-mode):
15192 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
15193 minor mode behavior.
15194
aa42ab43
JL
151952011-10-19 Juri Linkov <juri@jurta.org>
15196
15197 * descr-text.el (describe-char): Add #x2010 and #x2011 to
15198 the list of hard-coded chars with escape-glyph face.
15199
89400f1d
SM
152002011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
15201
15202 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
15203
305c07f6
MA
152042011-10-19 Michael Albinus <michael.albinus@gmx.de>
15205
15206 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
15207 running process.
15208
13754b54
GM
152092011-10-19 Glenn Morris <rgm@gnu.org>
15210
15211 * vc/vc-bzr.el (vc-bzr-after-dir-status):
15212 Ignore ignored files. (Bug#9726)
15213
06e21633
CY
152142011-10-19 Chong Yidong <cyd@gnu.org>
15215
15216 Doc fix for minor modes, stating that an omitted argument enables
15217 the mode unconditionally when called from Lisp.
15218
15219 * abbrev.el (abbrev-mode):
15220 * allout.el (allout-mode):
15221 * autoinsert.el (auto-insert-mode):
15222 * autoarg.el (autoarg-mode, autoarg-kp-mode):
15223 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
15224 (global-auto-revert-mode):
15225 * battery.el (display-battery-mode):
15226 * composite.el (global-auto-composition-mode)
15227 (auto-composition-mode):
15228 * delsel.el (delete-selection-mode):
15229 * desktop.el (desktop-save-mode):
15230 * dired-x.el (dired-omit-mode):
15231 * dirtrack.el (dirtrack-mode):
15232 * doc-view.el (doc-view-minor-mode):
15233 * double.el (double-mode):
15234 * electric.el (electric-indent-mode, electric-pair-mode):
15235 * emacs-lock.el (emacs-lock-mode):
15236 * epa-hook.el (auto-encryption-mode):
15237 * follow.el (follow-mode):
15238 * font-core.el (font-lock-mode):
15239 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
15240 * help.el (temp-buffer-resize-mode):
15241 * hilit-chg.el (highlight-changes-mode)
15242 (highlight-changes-visible-mode):
15243 * hi-lock.el (hi-lock-mode):
15244 * hl-line.el (hl-line-mode, global-hl-line-mode):
15245 * icomplete.el (icomplete-mode):
15246 * ido.el (ido-everywhere):
15247 * image-file.el (auto-image-file-mode):
15248 * image-mode.el (image-minor-mode):
15249 * iswitchb.el (iswitchb-mode):
15250 * jka-cmpr-hook.el (auto-compression-mode):
15251 * linum.el (linum-mode):
15252 * longlines.el (longlines-mode):
15253 * master.el (master-mode):
15254 * mb-depth.el (minibuffer-depth-indicate-mode):
15255 * menu-bar.el (menu-bar-mode):
15256 * minibuf-eldef.el (minibuffer-electric-default-mode):
15257 * mouse-sel.el (mouse-sel-mode):
15258 * msb.el (msb-mode):
15259 * mwheel.el (mouse-wheel-mode):
15260 * outline.el (outline-minor-mode):
15261 * paren.el (show-paren-mode):
15262 * recentf.el (recentf-mode):
15263 * reveal.el (reveal-mode, global-reveal-mode):
15264 * rfn-eshadow.el (file-name-shadow-mode):
15265 * ruler-mode.el (ruler-mode):
15266 * savehist.el (savehist-mode):
15267 * scroll-all.el (scroll-all-mode):
15268 * scroll-bar.el (scroll-bar-mode):
15269 * server.el (server-mode):
15270 * shell.el (shell-dirtrack-mode):
15271 * simple.el (auto-fill-mode, transient-mark-mode)
15272 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
15273 (line-number-mode, column-number-mode, size-indication-mode)
15274 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
15275 * strokes.el (strokes-mode):
15276 * time.el (display-time-mode):
15277 * t-mouse.el (gpm-mouse-mode):
15278 * tool-bar.el (tool-bar-mode):
15279 * tooltip.el (tooltip-mode):
15280 * type-break.el (type-break-mode-line-message-mode)
15281 (type-break-query-mode):
15282 * view.el (view-mode):
15283 * whitespace.el (whitespace-mode, whitespace-newline-mode)
15284 (global-whitespace-mode, global-whitespace-newline-mode):
15285 * xt-mouse.el (xterm-mouse-mode): Doc fix.
15286
a3839de2
SM
15287 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
15288 Fix autogenerated docstring.
06e21633 15289
5214e501
JL
152902011-10-19 Juri Linkov <juri@jurta.org>
15291
15292 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
15293 by checking environment variables "DESKTOP_SESSION" and
15294 "XDG_CURRENT_DESKTOP". (Bug#9779)
15295
195f8db9
JL
152962011-10-19 Juri Linkov <juri@jurta.org>
15297
15298 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
15299 (browse-url-chromium-program, browse-url-chromium-arguments):
15300 New defcustoms.
15301 (browse-url-default-browser): Check for `browse-url-chromium' and
15302 call `browse-url-chromium-program'.
15303 (browse-url-chromium): New command. (Bug#9779)
15304
343a34ff
JB
153052011-10-18 Juanma Barranquero <lekktu@gmail.com>
15306
15307 * facemenu.el (list-colors-duplicates): On Windows, detect more
15308 duplicates by assuming that only colors matching "^System" are
15309 special "system colors". (Bug#9722)
15310
6978a151
SM
153112011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
15312
15313 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
15314 to distinguish the author from the committer.
15315
6a80b297
MA
153162011-10-18 Michael Albinus <michael.albinus@gmx.de>
15317
15318 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
15319
b31a5677
JK
153202011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
15321
15322 * international/mule.el (sgml-html-meta-auto-coding-function):
15323 Add support for detecting encoding in HTML5 specified only as
15324 <meta charset="UTF-8">. Implementation just makes http-equiv and
15325 content-type parts from HTML4 encoding string optional. (Bug#9716)
15326
80c6d77f
GM
153272011-10-18 Glenn Morris <rgm@gnu.org>
15328
15329 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
15330
08b0fee8
CY
153312011-10-18 Chong Yidong <cyd@gnu.org>
15332
15333 * faces.el (cursor): Doc fix.
15334
67e729a5
CY
153352011-10-17 Chong Yidong <cyd@gnu.org>
15336
15337 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
15338
343a34ff 153392011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
15340
15341 * dirtrack.el (dirtrack): Support shell buffers with path
15342 prefixes, e.g. tramp-based remote shells. (Bug#9647)
15343
0bc06380
TZ
153442011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
15345
15346 * json.el: Bump version to 1.3 and note change in History.
15347 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
15348
8b79f3e0
SM
153492011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
15350
5a7c536b
SM
15351 * comint.el (comint-insert-input, comint-send-input)
15352 (comint-get-old-input-default, comint-backward-matching-input)
15353 (comint-next-prompt): Use nil instead of `input' for field property of
15354 past user input (bug#114).
15355
96a8a0df
SM
15356 * minibuffer.el (completion--replace): Inherit surrounding properties
15357 (bug#114).
15358 (minibuffer-complete-and-exit): Use it.
15359
8b79f3e0
SM
15360 * comint.el (comint--table-subvert): Quote the all-completions output
15361 (bug#9160).
15362
b8f7ff0d
MR
153632011-10-17 Martin Rudalics <rudalics@gmx.at>
15364
8b79f3e0 15365 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 15366
b8f7ff0d 15367 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 15368 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
15369 entries and separate them from frame entries.
15370
c235b555
GM
153712011-10-15 Glenn Morris <rgm@gnu.org>
15372
15373 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
15374 Doc fixes.
15375
6bbfa6e1
CY
153762011-10-15 Chong Yidong <cyd@stupidchicken.com>
15377
8b79f3e0
SM
15378 * net/network-stream.el (network-stream-open-starttls):
15379 Improve detection of failure due to lack of TLS support.
ec5c990d 15380
6bbfa6e1
CY
15381 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
15382 putting the input text in front and in bold.
15383
98488977
SM
153842011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
15385
3d1337be
SM
15386 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
15387
ee0b45e4
SM
15388 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
15389 empty buffer.
15390
98488977
SM
15391 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
15392 unread-command-events rather than pushing yet-another event.
15393
186f4720
EZ
153942011-10-14 Eli Zaretskii <eliz@gnu.org>
15395
15396 * mail/sendmail.el (sendmail-query-once): Improve the wording of
15397 the explanation of the possible choices. Make the options passed
15398 to completing-read shorter.
15399
8b7a997c
AM
154002011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
15401
15402 * textmodes/flyspell.el (flyspell-large-region): Make sure
15403 extended character mode is used if defined (Bug#1339).
15404
12587bbb
EZ
154052011-10-13 Eli Zaretskii <eliz@gnu.org>
15406
15407 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
15408 character info for LRE, LRO, RLE, and RLO characters by appending
15409 an invisible PDF.
12587bbb 15410
bad41229
SM
154112011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
15412
15413 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
15414 even in case of error; add debug spec; simplify data flow.
15415 (with-timeout-handler): Remove.
15416
28dbc92f
MA
154172011-10-12 Michael Albinus <michael.albinus@gmx.de>
15418
15419 Fix Bug#6019, Bug#9315.
15420
15421 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
15422 complete `buffer-file-name', the local file name part could look
15423 remotely (for example on VMS).
15424
15425 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
15426 `tramp-run-real-handler'.
15427 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
15428 already quoted by '"'.
15429
15430 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
15431 Let `file-name-handler-alist' be nil, the local file name part
15432 could look remotely (for example on VMS).
15433
e1b0b23a
SM
154342011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
15435
15436 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
15437 from here...
15438 (flyspell-post-command-hook): ...to here.
15439
a120bde9
SM
154402011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
15441
15442 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
15443 if not needed.
15444 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
15445 using completion. Protect against "slow" callers.
15446 Remove the "message hack".
15447
7ce7717b
JL
154482011-10-11 Juri Linkov <juri@jurta.org>
15449
15450 * isearch.el (isearch-lazy-highlight-word): New variable.
15451 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
15452 Use it. (Bug#9727)
15453
c02ee9d6
GM
154542011-10-11 Glenn Morris <rgm@gnu.org>
15455
15456 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
15457 like f90-previous-statement does.
15458
93e616fd 154592011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15460
1f190e73 15461 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
15462 only in interactive use, to avoid error.
15463
af7b6078
SM
154642011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
15465
15466 * minibuffer.el (completion-file-name-table): Fix last change,
15467 i.e. ignore normal errors but not the other ones.
15468
0563dae9
MR
154692011-10-10 Martin Rudalics <rudalics@gmx.at>
15470
15471 * window.el (special-display-buffer-names)
15472 (special-display-regexps): Remove some remnants of earlier
15473 changes from doc-strings.
366ca7f3
MR
15474 (quit-windows-on): New function.
15475
15476 * vc/vc.el (vc-revert, vc-rollback):
15477 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
15478 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 15479 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 15480
49677495
MR
154812011-10-09 Martin Rudalics <rudalics@gmx.at>
15482
15483 * window.el (frame-auto-hide-function): Add version tag.
15484 (Bug#9699)
15485
56f2d1e1
MA
154862011-10-09 Michael Albinus <michael.albinus@gmx.de>
15487
15488 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
15489 condition.
15490
112a6592
LL
154912011-10-09 Leo Liu <sdl.web@gmail.com>
15492
15493 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
15494 (Bug#9701)
15495
0812589b
GM
154962011-10-08 Glenn Morris <rgm@gnu.org>
15497
15498 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
15499 before the first code statement zero indent. (Bug#9690)
15500
b2b0776e
CY
155012011-10-08 Chong Yidong <cyd@stupidchicken.com>
15502
15503 * simple.el (count-words-region): Always count in the region.
15504 Report the number of lines and characters too.
15505 (count-words): New command, which counts in the buffer if the
15506 region is inactive, as count-words-region used to.
15507 (count-words--message): New function. Handle plurals.
15508 (count-lines-region): Make it an alias for count-words-region.
15509
15510 * bindings.el (esc-map): Replace count-lines-region with
15511 count-words-region.
15512
c557cd6b
MR
155132011-10-08 Martin Rudalics <rudalics@gmx.at>
15514
15515 * window.el (window--delete): Delete dedicated frame
15516 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 15517 (switch-to-buffer): Fix doc-string typo.
c557cd6b 15518
61a57ef4 155192011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15520
3a7d293b 15521 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 15522
c3833279
CY
155232011-10-07 Chong Yidong <cyd@stupidchicken.com>
15524
15525 * bindings.el ([M-left],[M-right]): Bind to left-word and
15526 right-word respectively.
15527
21ce8245
GM
155282011-10-07 Glenn Morris <rgm@gnu.org>
15529
15530 * cus-start.el (debug-on-quit): Fix custom type.
15531
6d823bb2
LMI
155322011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
15533
0181e193
LMI
15534 * subr.el (define-key-after): Clarify that the function is not
15535 useful for non-menu keymaps.
15536
6d823bb2
LMI
15537 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
15538
8e3459ce 155392011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15540
21ce8245 15541 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 15542 in current minibuffer (Fix bug with recursive minibuffers).
15543
a1c2d21e
CY
155442011-10-06 Chong Yidong <cyd@stupidchicken.com>
15545
15546 * progmodes/gdb-mi.el (gdb): Doc fix.
15547
5a4cf282
MR
155482011-10-05 Martin Rudalics <rudalics@gmx.at>
15549
15550 * window.el (frame-auto-hide-function): New option replacing
15551 frame-auto-delete. Suggested by Stefan Monnier.
15552 (window--delete): Call frame-auto-hide-function instead of
15553 investigating frame-auto-delete.
c96111ea
MR
15554 (window-point-1, set-window-point-1): New functions.
15555 (window-in-direction, record-window-buffer, window-state-get-1)
15556 (display-buffer-record-window): Use window-point-1 instead of
15557 window-point.
15558 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 15559
9854542e
SM
155602011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
15561
15562 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
15563
8943cfb0
GM
155642011-10-05 Glenn Morris <rgm@gnu.org>
15565
15566 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
15567 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
15568
647ab967
LL
155692011-10-05 Leo Liu <sdl.web@gmail.com>
15570
15571 * subr.el (read-char-choice): Fix argument to buffer-live-p which
15572 works with buffer object.
15573
3ddfbced
SM
155742011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
15575
15576 * mpc.el (mpc-tool-bar-map): Add labels.
15577
bdfa5dd2
GM
155782011-10-04 Glenn Morris <rgm@gnu.org>
15579
15580 * calendar/holidays.el (calendar-check-holidays): Doc fix.
15581
0e2070b5
MR
155822011-10-04 Martin Rudalics <rudalics@gmx.at>
15583
15584 * window.el (window--delete): New function.
15585 (frame-auto-delete): Resuscitate option.
15586 (bury-buffer, replace-buffer-in-windows)
15587 (quit-window): Rewrite using window--delete.
15588 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
15589 Pass display-buffer-mark-dedicated to window--display-buffer-2
15590 (Bug#9639).
15591
3dc61a09
SM
155922011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
15593
915a9b64
SM
15594 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
15595 returns a list (bug#9554). Add remote file name completion.
15596 * comint.el (comint--table-subvert): Curry and get quote&unquote
15597 functions as arguments.
15598 (comint--complete-file-name-data): Adjust call accordingly.
15599 * pcomplete.el (pcomplete--table-subvert): Remove.
15600 (pcomplete-completions-at-point): Use comint--table-subvert instead.
15601
3dc61a09
SM
15602 * minibuffer.el (completion-table-case-fold): Use currying.
15603 (completion--styles-type, completion--cycling-threshold-type):
15604 New constants.
15605 (completion-styles, completion-category-overrides)
15606 (completion-cycle-threshold): Use them.
15607 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
15608 completion-table-case-fold.
15609
8ea0a993
SB
156102011-10-03 Stephen Berman <stephen.berman@gmx.net>
15611
15612 * minibuffer.el (completion-category-overrides): Fix type of styles
15613 and add more user friendly tags (bug#9660).
15614
8c24b7f6
SM
156152011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
15616
15617 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
15618 (mule-input-method-string): New widget.
15619 (default-input-method, language-info-custom-alist): Use it.
15620
428fe61a
SM
156212011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
15622
32c1fffd
SM
15623 * pcomplete.el: Require comint.
15624 (pcomplete--common-suffix): Remove.
15625 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
15626 (pcomplete--table-subvert): Sync with comint--table-subvert.
15627 (pcomplete--entries): Use comint-completion-file-name-table.
15628 * comint.el (comint-unquote-filename): Simplify.
15629 (comint-completion-file-name-table): New function (bug#9616).
15630 (comint--complete-file-name-data): Use it.
15631
428fe61a
SM
15632 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
15633 (pcmpl-gnu-tar-buffer): Remove.
15634 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
15635 around. Make sure pcomplete-suffix-list is only changed temporarily.
15636 Don't look inside the tar's file if it's too large.
428fe61a 15637
04c52e2f
CY
156382011-10-01 Chong Yidong <cyd@stupidchicken.com>
15639
ce3cefcc
CY
15640 * cus-edit.el (custom-mode-map):
15641 * epa.el (epa-key-list-mode-map):
15642 * man.el (Man-mode-map):
15643 * startup.el (splash-screen-keymap):
15644 * simple.el (special-mode-map): Use scroll-up-command and
15645 scroll-down-command.
15646
15647 * progmodes/idlw-help.el (idlwave-help-mode-map):
15648 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
15649 * net/newst-plainview.el (newsticker-mode-map):
15650 * emulation/ws-mode.el (wordstar-mode-map):
15651 * emulation/vi.el (vi-com-map):
15652 * calc/calc-graph.el (calc-graph-show-dumb):
15653 * term/sun.el (terminal-init-sun):
15654 * term/ns-win.el (global-map):
15655 * progmodes/grep.el (grep-mode-map):
15656 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
15657 * mail/rmail.el (rmail-mode-map):
15658 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
15659
04c52e2f
CY
15660 * custom.el (custom-safe-themes, load-theme): Treat value of t for
15661 custom-safe-themes as special.
15662
79adf8c8
JD
156632011-10-01 Julien Danjou <julien@danjou.info>
15664
15665 * notifications.el (notifications-notify): Fix docstring.
15666
63bd50d3
PS
156672011-10-01 Per Starbäck <per@starback.se>
15668
15669 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
15670
199e4c7e
MR
156712011-09-30 Martin Rudalics <rudalics@gmx.at>
15672
15673 * startup.el (command-line-1): Fix last fix by inserting
15674 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 15675 (Bug#9605) and (Bug#9636)
199e4c7e 15676
fe5f08dd
EZ
156772011-09-29 Eli Zaretskii <eliz@gnu.org>
15678
15679 * simple.el (line-move): If auto-hscroll-mode is disabled and the
15680 window is hscrolled, move by logical lines. (Bug#9607)
15681 (line-move-visual): Update the doc string to the above effect.
15682
b5516bbd
MR
156832011-09-29 Martin Rudalics <rudalics@gmx.at>
15684
ccee00c0
MR
15685 * window.el (display-buffer-record-window): When WINDOW is the
15686 selected window use `point' instead of `window-point'. (Bug#9626)
15687
b5516bbd
MR
15688 * startup.el (command-line-1): Use insert-before-markers when
15689 inserting initial-scratch-message. (Bug#9605)
ccee00c0 15690
b5516bbd
MR
15691 * help.el (help-window): Remove variable.
15692
52aa0014
GM
156932011-09-29 Glenn Morris <rgm@gnu.org>
15694
15695 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
15696
df9a7357
JB
156972011-09-29 Juanma Barranquero <lekktu@gmail.com>
15698
15699 * descr-text.el (describe-char-categories): Accept category
15700 descriptions more than one line long.
15701
a8406c20
SM
157022011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
15703
88d9610c
SM
15704 * simple.el (delete-trailing-whitespace): Fix last change.
15705
a5daf810
SM
15706 * progmodes/perl-mode.el (perl-syntax-propertize-function):
15707 Don't confuse "y => 3" as the beginning of a `y' operation.
15708
a8406c20
SM
15709 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
15710 object has more than 4 slots (bug#9613).
15711
a239d4e9
JB
157122011-09-28 Juanma Barranquero <lekktu@gmail.com>
15713
15714 * subr.el (with-output-to-temp-buffer):
15715 * net/quickurl.el (quickurl, quickurl-browse-url):
15716 Fix typos in docstrings.
15717
693fbdb6
EZ
157182011-09-27 Eli Zaretskii <eliz@gnu.org>
15719
15720 * minibuffer.el (completion-styles)
15721 (completion-category-overrides): Cross reference each other in doc
15722 strings.
15723
8b457e28
GM
157242011-09-27 Glenn Morris <rgm@gnu.org>
15725
15726 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
15727 to split-string. (Bug#9606)
15728
85a16208
LMI
157292011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
15730
15731 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
15732 (bug#9615).
15733
502f9ebd
CY
157342011-09-27 Chong Yidong <cyd@stupidchicken.com>
15735
15736 * emacs-lisp/package.el (list-packages): Fix echo area message.
15737
7690bdea
LL
157382011-09-27 Leo Liu <sdl.web@gmail.com>
15739
15740 * ido.el (ido-read-internal): Accept cons cell HIST arg.
15741
e2ee6f30
MA
157422011-09-25 Michael Albinus <michael.albinus@gmx.de>
15743
15744 * net/dbus.el (dbus-unregister-object): Don't release services for
15745 registered signals. (Bug#9581)
15746
f3f98342
TZ
157472011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
15748
15749 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
15750 function that picks between cfengine 2 and 3 support
15751 automatically. Update docs accordingly.
15752
dd7aa8dd
KH
157532011-09-22 Kenichi Handa <handa@m17n.org>
15754
15755 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
15756 ZERO.
15757 (indian-itrans-v5-table-for-tamil): New variable.
15758 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
15759
3f2b07f8
KM
157602011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
15761
15762 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
15763 that's true if the current command involved collapsing of text.
15764 It's reset to false at the beginning of the next command.
15765 (allout-post-command-business): Move the cursor to the beginning
15766 of entry if the cursor is hidden and collapsing activity just
15767 happened.
15768
371d6a61
CY
157692011-09-24 Chong Yidong <cyd@stupidchicken.com>
15770
15771 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
15772 tracking (Bug#9541).
15773
2ac2721a
UJ
157742011-09-24 Ulf Jasper <ulf.jasper@web.de>
15775
15776 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
15777 (newsticker-show-news): Automatically load html rendering package
15778 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
15779 because w3m-fill-column is let-bound" and the error "Symbol's value
15780 as variable is void: w3m-fill-column".
2ac2721a 15781
fac7ae53
MA
157822011-09-24 Michael Albinus <michael.albinus@gmx.de>
15783
15784 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
15785 Release services only if they are defined. (Bug#9581)
15786
e08b633b
RS
157872011-09-23 Richard Stallman <rms@gnu.org>
15788
e488d29c
RS
15789 * textmodes/paragraphs.el (forward-sentence): For backwards case,
15790 distinguish start of paragraph from start of its text.
15791
19c38752
RS
15792 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
15793
e08b633b
RS
15794 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
15795 (rmail-generate-viewer-buffer): Put that hook on view buffer.
15796 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
15797
0a39f27e
AS
157982011-09-23 Andreas Schwab <schwab@linux-m68k.org>
15799
15800 * international/mule-diag.el (mule-diag): Insert a newline after
15801 each fontset description.
15802
db4e950d
SM
158032011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
15804
15805 * simple.el (delete-trailing-whitespace):
15806 Document last change; simplify.
15807
eca3f3ea
PW
158082011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
15809
d68e189a
PW
15810 * simple.el (delete-trailing-whitespace): Also delete
15811 extra newlines at the end of the buffer.
15812
eca3f3ea
PW
15813 * textmodes/picture.el: Make motion commands obey shift-select-mode.
15814 (picture-newline): Use forward-line so as to ignore fields.
15815
01c157cc
SM
158162011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
15817
15818 * subr.el (with-wrapper-hook): Fix edebug spec.
15819
022de23e
LMI
158202011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
15821
15822 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
15823 (bug#4538).
15824
91683089
MA
158252011-09-23 Michael Albinus <michael.albinus@gmx.de>
15826
eca3f3ea
PW
15827 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
15828 Fix nasty bug using wrong cached values.
91683089 15829
5bdd6fa4
AM
158302011-09-23 Alan Mackenzie <acm@muc.de>
15831
15832 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
15833
97adfb97
CY
158342011-09-23 Chong Yidong <cyd@stupidchicken.com>
15835
15836 * window.el (pop-to-buffer): Ensure right window is selected if we
15837 chose another frame.
15838
d4ef2b50
EZ
158392011-09-22 Eli Zaretskii <eliz@gnu.org>
15840
15841 * simple.el (what-cursor-position): Use get-char-property-change
15842 and next-single-char-property-change, to be able to show display
15843 properties that come from overlays as well as text properties.
15844
72258fe5
CY
158452011-09-22 Chong Yidong <cyd@stupidchicken.com>
15846
15847 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
15848
15849 * cmuscheme.el (run-scheme, switch-to-scheme):
15850 * cus-edit.el (customize-group, custom-buffer-create)
15851 (customize-browse):
15852 * info.el (info):
15853 * shell.el (shell):
15854 * mail/sendmail.el (mail):
15855 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
15856
8f098516
RS
158572011-09-22 Richard Stallman <rms@gnu.org>
15858
15859 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
15860 move back only to line beg, don't move back over blank lines.
15861
e74f1bb6
MA
158622011-09-22 Michael Albinus <michael.albinus@gmx.de>
15863
15864 * files.el (copy-directory): Set directory attributes only in case
15865 they could be retrieved from the source directory. (Bug#9565)
15866
bfeef8b6
DK
158672011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
15868
15869 * progmodes/hideshow.el (hs-looking-at-block-start-p)
15870 (hs-find-block-beginning, hs-hide-level-recursive):
15871 Ignore strings as well as comments. (Bug#9502)
15872
7e423bb8
AS
158732011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
15874
15875 * progmodes/sql.el (sql-comint-postgres):
15876 Convert port number to a string. (Bug#9566)
15877
b4d72fcf
MR
158782011-09-22 Martin Rudalics <rudalics@gmx.at>
15879
15880 * window.el (quit-window): Undedicate window when switching to
15881 previous buffer. Reported by Thierry Volpiatto
15882 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
15883 (special-display-popup-frame): When popping up a new frame reset
15884 its previous buffers to nil. Simplify code.
b4d72fcf 15885
a7b88dc6
MA
158862011-09-21 Michael Albinus <michael.albinus@gmx.de>
15887
15888 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
15889 and process filter, as done also in `shell-command'.
15890
cf4eacfd
MR
158912011-09-21 Martin Rudalics <rudalics@gmx.at>
15892
eca3f3ea 15893 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
15894 Call set-window-start with NOFORCE argument t.
15895 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
15896 (quit-window): Reword doc-string. Handle new format of
15897 quit-restore parameter. Don't delete window if it has a
15898 previous buffer we can show instead of the present one.
15899 (display-buffer-record-window): Rewrite using a new format for
15900 the quit-restore window parameter
15901 (special-display-popup-frame, display-buffer-same-window)
15902 (display-buffer-reuse-window, display-buffer-pop-up-frame)
15903 (display-buffer-pop-up-window, display-buffer-use-some-window):
15904 Adapt symbol passed to display-buffer-record-window.
15905 * help.el (help-window-setup): Handle new format of quit-restore
15906 parameter.
15907
8d28cb95
SM
159082011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
15909
94ab793f
SM
15910 * faces.el (face-list): Fix docstring (bug#9564).
15911
8d28cb95
SM
15912 * window.el (display-buffer--action-function-custom-type):
15913 Don't include internal functions in the Custom interface.
15914
3820edeb
JL
159152011-09-20 Juri Linkov <juri@jurta.org>
15916
15917 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
15918 (Info-forward-node, Info-backward-node, Info-next-preorder)
15919 (Info-last-preorder): Use it. (Bug#9528)
15920
5147931d
JL
159212011-09-20 Juri Linkov <juri@jurta.org>
15922
15923 * info.el (Info-last-preorder): Visit last menu item only when
15924 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
15925
cf499a1a
JD
159262011-09-20 Julien Danjou <julien@danjou.info>
15927
15928 * password-cache.el (password-cache-remove): Remove entries even if the
15929 value is nil, so that password with a nil value (negative caching) is
15930 possible to invalidate.
15931
f84e2fe2
LM
159322011-09-20 Lawrence Mitchell <wence@gmx.li>
15933
15934 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
15935 all whitespace around breakpoint. (Bug#9553)
15936 (f90-find-breakpoint): Only break at whitespace inside a comment.
15937
78054a46
SM
159382011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
15939
15940 * minibuffer.el (completion-file-name-table): Keep track of errors.
15941 (completion-table-with-predicate): Handle the case where pred1 is nil.
15942 * pcomplete.el (pcomplete-completions-at-point): Simplify.
15943
345083b2
SM
159442011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
15945
e24e27be
SM
15946 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
15947 (debugger-return-value): Signal an error if the debugging context does
15948 not await any return value.
15949
345083b2
SM
15950 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
15951 * image-mode.el (image-toggle-display-text)
15952 (image-toggle-display-image): Stay away from evil `intangible'.
15953
08d355e3
LL
159542011-09-19 Leo Liu <sdl.web@gmail.com>
15955
15956 * replace.el (occur-revert-arguments): Make it permanent-local.
15957 (occur-mode): Don't call font-lock-defontify.
15958
f01da43f
CY
159592011-09-19 Chong Yidong <cyd@stupidchicken.com>
15960
15961 * net/ldap.el (ldap-search-internal): Don't push empty search
15962 result (Bug#9508).
15963
b6072fa6
SM
159642011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
15965
15966 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
15967
443d6696
MA
159682011-09-19 Michael Albinus <michael.albinus@gmx.de>
15969
15970 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
15971 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
15972
7cc6e154
JL
159732011-09-18 Juri Linkov <juri@jurta.org>
15974
15975 * buff-menu.el (Buffer-menu-mode-map):
15976 * dired.el (dired-mode-map):
15977 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
15978 (lisp-interaction-mode-map):
15979 * emacs-lisp/package.el (package-menu-mode-map):
15980 * epa.el (epa-key-list-mode-map):
15981 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
15982 (menu-bar-options-menu):
15983 * outline.el (outline-mode-menu-bar-map):
15984 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
15985 * vc/vc-dir.el (vc-dir-menu-map):
15986 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
15987 Capitalize non-function content words in menu item strings.
15988
15989 * dired.el (dired-mode-map): Add menu item for
15990 `image-dired-dired-toggle-marked-thumbs'.
15991
80302a81
JL
159922011-09-18 Juri Linkov <juri@jurta.org>
15993
15994 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
15995 to `isearch-case-fold-search' and restore its original value
15996 after the `isearch-mode' call.
15997
46c5cf66
JL
159982011-09-18 Juri Linkov <juri@jurta.org>
15999
16000 * progmodes/grep.el (grep-process-setup): Don't check code for 1
16001 because `zgrep' returns 1 for successful matches (bug#9226).
16002
d18b513b
JL
160032011-09-18 Juri Linkov <juri@jurta.org>
16004
16005 * info.el (Info-extract-menu-node-name): Check the second match
16006 for empty string (second test-case of bug#9528).
16007 (Info-last-preorder): Let-bind `Info-history' to nil to not add
16008 intermediate nodes to the history (first test-case of bug#9528).
16009
72753f87
JL
160102011-09-18 Juri Linkov <juri@jurta.org>
16011
16012 * info.el (Info-mode-syntax-table): New variable.
1154d12e 16013 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 16014
c9384295
JL
160152011-09-18 Juri Linkov <juri@jurta.org>
16016
1154d12e
JB
16017 * info.el (Info-file-supports-index-cookies):
16018 Increment line-beginning-position's arg from 3 to 4 because makeinfo
16019 outputs one more line for long file names (bug#4142).
c9384295 16020
d473dce8
CY
160212011-09-18 Chong Yidong <cyd@stupidchicken.com>
16022
16023 * newcomment.el (comment-normalize-vars): If prompting for
16024 comment-start, set comment-start-skip too (Bug#8424).
16025
2176854d
JB
160262011-09-18 Johan Bockgård <bojohan@gnu.org>
16027
16028 * icomplete.el: Fix previous fix of Bug#5849.
16029 (icomplete-mode): Don't set completion-show-inline-help.
16030 (icomplete-minibuffer-setup): Set completion-show-inline-help
16031 locally during icompletion.
16032
3aace4e4
CY
160332011-09-18 Chong Yidong <cyd@stupidchicken.com>
16034
c940224f
CY
16035 * woman.el (woman2-process-escapes): Don't delete unrecognized
16036 escapes (Bug#7843).
16037
3aace4e4
CY
16038 * files.el (inhibit-first-line-modes-regexps): Add image files.
16039 (hack-local-variables-prop-line): Return nil for malformed
16040 prop-lines (Bug#9044).
16041
710dec63
MA
160422011-09-18 Michael Albinus <michael.albinus@gmx.de>
16043
16044 * net/tramp.el (top): Don't require 'shell.
16045 (tramp-methods): Fix docstring.
16046 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
16047 Return complete remote file name. Handle "smb" case.
16048 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
16049 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
16050
16051 * net/tramp-compat.el (top): Require 'shell.
16052
16053 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
16054 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
16055 `tramp-current-host'.
16056 (tramp-get-remote-tmpdir): Remove.
16057
16058 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
16059 `tramp-tmpdir' entries.
16060 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
16061 (tramp-smb-handle-file-attributes): Ignore errors.
16062 (tramp-smb-wait-for-output): Check also for process end.
16063
5d5ac8ec
LMI
160642011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
16065
16066 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
16067 when sending QUIT (bug#9312).
16068
8c0f49f0
CY
160692011-09-17 Chong Yidong <cyd@stupidchicken.com>
16070
16071 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
16072 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
16073 occur-mode-display-occurrence.
16074 (occur-edit-mode): Add usage message.
16075 (occur-cease-edit): New command.
16076 (occur-after-change-function): Use text properties to find the
16077 position of the prefix text.
16078 (occur-engine): Set stickiness of prefix text properties.
16079
8f1383f7
GM
160802011-09-17 Glenn Morris <rgm@gnu.org>
16081
16082 * progmodes/etags.el (complete-tag):
16083 Fix call to completion-in-region. (Bug#9526)
16084
744ba0e3
JL
160852011-09-17 Juri Linkov <juri@jurta.org>
16086
16087 * textmodes/ispell.el (ispell-word): Add to the error message
16088 the word, ispell program name and current dictionary (bug#9121).
16089 (ispell-tex-arg-end): Capitalize "error" in the error message.
16090
d9bbf400
AS
160912011-09-17 Andreas Schwab <schwab@linux-m68k.org>
16092
16093 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
16094 check. (Bug#4251)
16095
8da11505
JL
160962011-09-17 Juri Linkov <juri@jurta.org>
16097
16098 * window.el (window-safe-min-height, window-safe-min-width):
16099 Fix typos (followup to bug#9522).
16100
a91adc7e
SJ
161012011-09-17 Sven Joachim <svenjoac@gmx.de>
16102
16103 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
16104
064f328a
EZ
161052011-09-16 Eli Zaretskii <eliz@gnu.org>
16106
16107 * simple.el (line-move): If goal-column is set, move by logical
16108 lines, not by display lines. (Bug#971)
16109 (next-line, previous-line, goal-column, line-move-visual): Doc fix
16110 to reflect the above change.
16111
e69df516
SM
161122011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
16113
16114 * image.el (imagemagick-register-types): Use regexp-opt.
16115
cbb0f9ab
CY
161162011-09-15 Chong Yidong <cyd@stupidchicken.com>
16117
16118 * window.el (display-buffer-base-action): Rename from
16119 display-buffer-default-action. Make default value empty.
16120 (display-buffer-overriding-action): Convert to defvar.
16121 (display-buffer-fallback-action): New var.
16122
25322144
CY
161232011-09-15 Chong Yidong <cyd@stupidchicken.com>
16124
16125 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
16126 declaration.
16127 (package--add-to-archive-contents): If there is a duplicate entry
16128 with an older version, remove it.
16129 (package-menu-mark-delete, package-menu-mark-install)
16130 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
16131 (package-menu-mark-obsolete-for-deletion):
16132 Use package-menu-get-status instead of a regexp search.
25322144
CY
16133 (package-menu-get-status): Use tabulated-list-entry.
16134 (package-menu-mark-upgrades): New command.
d770725a 16135 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
16136 (package-menu-execute): Do installation before deletion.
16137 (package-menu-refresh, package-menu-execute): Use derived-mode-p
16138 instead of checking major-mode.
16139 (package-menu--find-upgrades): New function.
16140
7520339c
LMI
161412011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
16142
16143 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
16144 passwords in the log buffer.
65a046c4
LMI
16145 (smtpmail-process-filter): Update the process marker so that the
16146 "broken by peer" status message is inserted in the right place.
7520339c 16147
d3c30954
SM
161482011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
16149
3fe48822
SM
16150 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
16151 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
16152 bibtex-completion-at-point-function.
16153 (bibtex-completion-at-point-function): Use them.
16154
1b8b3954
SM
16155 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
16156
d3c30954
SM
16157 * mpc.el (mpc-constraints-tag-lookup): New function.
16158 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
16159 also to browser "album|playlist".
16160
72779976
JL
161612011-09-14 Juri Linkov <juri@jurta.org>
16162
16163 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
16164 (isearch-edit-string): Use length of `isearch-string' when
16165 `isearch-fail-pos' returns nil.
16166 (isearch-message): Remove duplicate code and call
16167 `isearch-fail-pos' with arg `t'.
16168
a0bf2bcd
CY
161692011-09-14 Chong Yidong <cyd@stupidchicken.com>
16170
17bb0a2d
CY
16171 * replace.el (occur-mode-goto-occurrence): Don't force using other
16172 window (Bug#9499).
16173
a0bf2bcd
CY
16174 * dired-aux.el (dired-do-chmod): Don't provide initial input.
16175
f678e0b6
MR
161762011-09-14 Martin Rudalics <rudalics@gmx.at>
16177
16178 * window.el (display-buffer-window): Remove.
16179 (display-buffer-record-window): Use help-setup window parameter
16180 instead of variable display-buffer-window.
16181 (display-buffer-function, special-display-buffer-names)
16182 (special-display-function): Mention help-setup parameter instead
16183 of display-buffer-window in doc-string.
d3c30954
SM
16184 * help.el (help-window-setup): New argument help-window.
16185 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
16186 Reword some messages.
16187 (with-help-window): Pass window used for displaying the buffer
16188 to help-window-setup. Don't set display-buffer-window.
16189
8e39b2e8
GM
161902011-09-13 Glenn Morris <rgm@gnu.org>
16191
16192 * emacs-lisp/debug.el (debugger-make-xrefs):
16193 Preserve point. (Bug#9462)
16194
85e9c04b
CY
161952011-09-13 Chong Yidong <cyd@stupidchicken.com>
16196
16197 * window.el (window-deletable-p): Use next-frame.
16198
1b36ed6a
MR
161992011-09-13 Martin Rudalics <rudalics@gmx.at>
16200
16201 * window.el (window-auto-delete): Remove.
16202 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 16203 dedication and previous buffers.
1b36ed6a
MR
16204 (switch-to-prev-buffer): Don't delete window.
16205 (delete-windows-on): Delete a window's frame if and only if the
16206 window is dedicated.
16207 (replace-buffer-in-windows): Delete buffer's window or frame if
16208 and only if window is dedicated.
16209 (quit-window): Handle quit-restore as before last change.
4d61f28d 16210 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 16211
ef8ef9fb
CY
162122011-09-13 Chong Yidong <cyd@stupidchicken.com>
16213
16214 * window.el (window-deletable-p): Never delete the last frame on a
16215 given terminal.
16216
b2cba41e
GM
162172011-09-13 Glenn Morris <rgm@gnu.org>
16218
16219 * help.el (describe-key-briefly): Copy previous standard-output change.
16220
51553db6 162212011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
16222
16223 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
16224
b7556719
GM
162252011-09-13 Glenn Morris <rgm@gnu.org>
16226
16227 * emacs-lisp/lisp-mode.el (lisp-indent-function):
16228 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
16229
64b51947
CY
162302011-09-12 Chong Yidong <cyd@stupidchicken.com>
16231
16232 * dired-aux.el (dired-mark-read-string): Don't return default
16233 value on empty input (Bug#9361).
16234 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
16235 Omit initial minibuffer contents.
16236 (dired-do-chmod): Signal an error on empty input.
16237 (dired-mark-read-string): Don't return default on empty input.
16238
16239 * files.el (file-modes-symbolic-to-number): Doc fix.
16240
393a301e
SM
162412011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
16242
16243 * international/mule-cmds.el (ucs-completions): Remove.
16244 (read-char-by-name): Use complete-with-action instead; add metadata.
16245
fa5660f9
CY
162462011-09-11 Chong Yidong <cyd@stupidchicken.com>
16247
16248 * window.el (display-buffer--action-function-custom-type)
16249 (display-buffer--action-custom-type): New vars.
16250 (display-buffer-alist, display-buffer-default-action)
16251 (display-buffer-overriding-action): Add defcustom types.
16252
4a592f66
CY
16253 * frame.el (delete-other-frames): Doc fix (Bug#276).
16254
73d56dbd
LMI
162552011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
16256
16257 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
16258
37ac18a3
CY
162592011-09-11 Chong Yidong <cyd@stupidchicken.com>
16260
16261 Change modes that used same-window-* vars to use switch-to-buffer.
16262
16263 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
16264 Use switch-to-buffer.
16265
16266 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
16267 (customize-browse, custom-buffer-create-other-window):
16268 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
16269
16270 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
16271 (Info-prev, Info-up, Info-speedbar-goto-node)
16272 (info-display-manual): Use switch-to-buffer.
16273 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
16274
16275 * mail/sendmail.el (mail): Use switch-to-buffer.
16276 (mail-recover): Use switch-to-buffer-other-window.
16277
16278 * cmuscheme.el (run-scheme, switch-to-scheme):
16279 * ielm.el (ielm):
16280 * shell.el (shell):
16281 * net/rlogin.el (rlogin):
16282 * net/telnet.el (telnet, rsh):
16283 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
16284
10195bd6
AS
162852011-09-11 Andreas Schwab <schwab@linux-m68k.org>
16286
16287 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
16288
b322f63a
LMI
162892011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
16290
39d7fed6
LMI
16291 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
16292 so don't mention it (bug#9301).
ba5a81f1 16293 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 16294
ee0e9f11
LMI
16295 * faces.el (face-spec-set-match-display): Make `(type graphic)'
16296 match `x', `w32' and `ns', like the manual says (bug#9029).
16297
0b1c89c1 16298 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
16299 (process-kill-buffer-query-function): Mention the buffer name in
16300 the query.
0b1c89c1 16301
77549ea8
LMI
16302 * image-mode.el (image-next-line): The line parameter is mandatory
16303 (bug#9258).
16304
803ef892
LMI
16305 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
16306 which can be useful (bug#9301).
16307
12980837
LMI
16308 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
16309
91054f8f
LMI
16310 * subr.el (match-string): Mention that the current buffer should
16311 be the same as the search was done in (bug#9282).
16312
b322f63a
LMI
16313 * facemenu.el: Disable the remove-* commands if the mark isn't
16314 active (bug#9162).
16315
3199b96f
CY
163162011-09-10 Chong Yidong <cyd@stupidchicken.com>
16317
16318 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
16319 of display-buffer.
16320 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
16321
16322 * replace.el (occur-mode-goto-occurrence)
16323 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
16324 and display-buffer.
16325
16326 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
16327 display-buffer.
16328
16329 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
16330 special-display and same-window variables.
16331 (mail-other-window): Use switch-to-buffer-other-window.
16332 (mail-other-frame): USe switch-to-buffer-other-frame.
16333
393a301e
SM
16334 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
16335 Use display-buffer-other-frame.
3199b96f
CY
16336 (gdb-display-gdb-buffer): Use pop-to-buffer.
16337
16338 * progmodes/gud.el (gud-goto-info): Use info-other-window.
16339
16340 * progmodes/python.el: Don't set same-window-buffer-names.
16341
16342 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
16343
16344 * window.el (display-buffer-alist): Add *Python*.
16345
8319e0bf
CY
163462011-09-10 Chong Yidong <cyd@stupidchicken.com>
16347
16348 * window.el (display-buffer-alist): Add entry for buffers
16349 previously handled same-window-*.
16350 (display-buffer-alist, display-buffer-default-action)
16351 (display-buffer-overriding-action): Mark as risky.
16352 (display-buffer-alist): Document action function changes.
16353 (display-buffer--same-window-action)
16354 (display-buffer--other-frame-action): New variables.
16355 (switch-to-buffer, display-buffer-other-frame): Use them.
16356 (display-buffer): Rename reuse-frame entry to reusable-frames.
16357 (display-buffer-reuse-selected-window): Function deleted.
16358 (display-buffer-reuse-window): Handle reusable-frames alist entry.
16359 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
16360 (display-buffer-special): New function.
16361 (display-buffer--maybe-pop-up-frame-or-window): Rename from
16362 display-buffer-reuse-or-pop-window. Split off special-display
16363 part into display-buffer-special.
16364 (display-buffer-use-some-window): Don't perform any special
16365 pop-up-frames handling.
16366 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 16367 (display-buffer--maybe-same-window): Rename from
0d3ff375 16368 display-buffer-maybe-same-window.
8319e0bf 16369
919a69aa
CY
16370 * info.el: Don't set same-window-regexps.
16371 (info-setup): New function.
16372 (info-other-window, info): Call it.
16373
16374 * cus-edit.el: Don't set same-window-regexps.
16375 (customize-group): New argument.
16376 (customize-group-other-window): Use it.
16377 (customize-face, customize-face-other-window): Likewise.
16378 (custom-buffer-create-other-window): Use pop-to-buffer directly.
16379
8319e0bf
CY
16380 * net/rlogin.el:
16381 * net/telnet.el:
16382 * progmodes/gud.el: Don't set same-window-regexps.
16383
16384 * cmuscheme.el:
16385 * ielm.el:
16386 * shell.el:
16387 * mail/sendmail.el:
16388 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
16389
25173000
JL
163902011-09-10 Juri Linkov <juri@jurta.org>
16391
16392 * isearch.el (isearch-edit-string): Remove obsolete mention of
16393 `C-w' (`isearch-yank-word-or-char') from docstring.
16394 (isearch-query-replace): Fix typo in docstring (bug#9466).
16395
056e44ef
JL
163962011-09-10 Juri Linkov <juri@jurta.org>
16397
16398 * paren.el (show-paren-function): Don't show escaped parens.
16399 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
16400
c3760c17
EZ
164012011-09-10 Eli Zaretskii <eliz@gnu.org>
16402
16403 * mail/sendmail.el (mml-to-mime, mml-attach-file)
16404 (mm-default-file-encoding): Remove autoload forms, they are
16405 replaced with autoload cookies in mml.el and mm-encode.el.
16406 (mail-add-attachment): New command.
16407 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
16408 (mail-mode): Mention mail-insert-file and mail-add-attachment in
16409 the doc string.
16410 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
16411
fece895e
RT
164122011-09-10 Reuben Thomas <rrt@sc3d.org>
16413
e69df516
SM
16414 * simple.el (count-words-region): Use buffer if there's no region
16415 (bug#9429).
fece895e 16416
5e68ce4a
JL
164172011-09-09 Juri Linkov <juri@jurta.org>
16418
16419 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
16420 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
16421 (wdired-isearch-filter-read-only): New function. (Bug#6362)
16422
0a6b9622
AM
164232011-09-09 Alan Mackenzie <acm@muc.de>
16424
16425 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
16426 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
16427
14a29deb
EZ
164282011-09-09 Eli Zaretskii <eliz@gnu.org>
16429
16430 Fix for Savannah bug#9392.
16431 * simple.el (mail-encode-mml): New defvar.
16432
16433 * mail/rmail.el (mail-encode-mml): Add a defvar.
16434 (rmail-enable-mime-composing): Default to t.
16435 (rmail-forward): Use MIME method of forwarding only if both
16436 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
16437 Set mail-encode-mml non-nil if the MIME method was used.
16438
16439 * mail/sendmail.el (mml-to-mime): Add autoload form.
16440 (mail-encode-mml): Add a defvar.
16441 (mail-mode): Make mail-encode-mml buffer-local and initialize it
16442 to nil.
16443 (mail-send): If mail-encode-mml is non-nil, run the outgoing
16444 message through mml-to-mime, and reset mail-encode-mml to nil.
16445
28c45130
GM
164462011-09-09 Glenn Morris <rgm@gnu.org>
16447
16448 * woman.el (woman-if-body): When processing an .el block,
16449 do not delete the next .el block as well. (Bug#9447)
69f4b618 16450 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 16451
9b1c252e
MR
164522011-09-08 Martin Rudalics <rudalics@gmx.at>
16453
16454 * window.el (window-deletable-p): Make sure window is live before
16455 invoking window-prev-buffers.
16456
567457e3
LL
164572011-09-08 Leo Liu <sdl.web@gmail.com>
16458
16459 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
16460
97f05794
JL
164612011-09-08 Juri Linkov <juri@jurta.org>
16462
16463 * progmodes/compile.el (compilation-environment): Make it
16464 a defcustom (bug#8340).
16465
8b0874b5
MR
164662011-09-08 Martin Rudalics <rudalics@gmx.at>
16467
16468 * window.el (frame-auto-delete): Rename to window-auto-delete.
16469 Make it control auto-deletion of windows and/or frames.
16470 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 16471 for deleting window/frame. (Bug#9419)
8b0874b5
MR
16472 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
16473 Rewrite handling of case when window/frame can be deleted.
16474 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 16475 argument t. (Bug#9456)
8b0874b5 16476
4feb6e73
CY
164772011-09-07 Chong Yidong <cyd@stupidchicken.com>
16478
16479 * help-mode.el (help-mode): Restore autoload.
16480
91ab9c13
JL
164812011-09-07 Juri Linkov <juri@jurta.org>
16482
16483 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
16484 `compilation-environment'. Set buffer-local
16485 `compilation-environment' to `thisenv' later after (funcall mode).
16486 (Bug#8340)
16487
16488 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
16489 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
16490 instead of replacing its value. (Bug#8340)
16491
0527e251
JL
164922011-09-07 Juri Linkov <juri@jurta.org>
16493
16494 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
16495 based on text properties put by `grep-filter' instead of matching
16496 escape sequences.
16497 (grep-mode): Set buffer-local `compilation-error-screen-columns'
16498 to the value of `grep-error-screen-columns' (bug#9438).
16499
249f792c
JL
165002011-09-07 Juri Linkov <juri@jurta.org>
16501
16502 * simple.el (next-error-highlight, next-error-highlight-no-select):
16503 Doc fix (bug#9432).
16504
ff7271b9
OT
165052011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
16506
16507 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
16508 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
16509
183fc730
LL
165102011-09-07 Leo Liu <sdl.web@gmail.com>
16511
16512 * net/rcirc.el (rcirc-mode): Conditionally initialize
16513 rcirc-input-ring.
16514
77694924
SM
165152011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
16516
16517 * emacs-lisp/find-func.el (find-function-C-source): Only set
16518 find-function-C-source-directory after checking that we found a source
16519 file there (bug#9440).
16520
d809b8eb
AM
165212011-09-06 Alan Mackenzie <acm@muc.de>
16522
16523 * isearch.el (isearch-other-meta-char): Wherever a key list is
16524 unread, "unread" the prefix arg, too. This fixes bug #8901.
16525
453de99f
OG
165262011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
16527
16528 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
16529
90439906
JL
165302011-09-05 Juri Linkov <juri@jurta.org>
16531
16532 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
16533
f62bd846
JL
165342011-09-05 Juri Linkov <juri@jurta.org>
16535
16536 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
16537 keeping point where processing of grep matches begins, and
16538 continue to delete remaining escape sequences from the same point.
16539 (grep-filter): Make leading zero optional in "0?1;31m" because
16540 git-grep emits "\033[1;31m" escape sequences unlike expected
16541 "\033[01;31m" as GNU Grep does (bug#9408).
16542 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
16543
045820ec
JL
165442011-09-05 Juri Linkov <juri@jurta.org>
16545
16546 * subr.el (y-or-n-p): Capitalize "yes".
16547
f5e29b9b
MA
165482011-09-04 Michael Albinus <michael.albinus@gmx.de>
16549
16550 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
16551 `tramp-cache-unload-hook' where appropriate.
16552 (tramp-methods): Rename `tramp-remote-sh' to
16553 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
16554 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
16555
16556 * net/tramp-sh.el (top): Don't require 'shell.
16557 (tramp-methods): Add `tramp-remote-shell' and
16558 `tramp-remote-shell-args' entries.
16559 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
16560 (tramp-sh-handle-shell-command): Remove.
16561 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
16562 Use `tramp-remote-shell'.
16563
2784c434
CY
165642011-09-03 Chong Yidong <cyd@stupidchicken.com>
16565
393a301e 16566 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
16567 (sendmail-query-once): Save directly to send-mail-function.
16568 Update message-send-mail-function too.
16569
16570 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
16571
464cdf56
CS
165722011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
16573
16574 * progmodes/python.el (python-mode-map): Use correct function to
16575 start python interpreter from menu-bar (as reported by Geert
16576 Kloosterman).
16577 (inferior-python-mode-map): Fix typo.
393a301e 16578 (python-shell-map): Remove.
464cdf56 16579
d37e5c87
DD
165802011-09-03 Deniz Dogan <deniz@dogan.se>
16581
16582 * net/rcirc.el (rcirc-print): Simplify code for
16583 rcirc-scroll-show-maximum-output. There is no need to walk
16584 through all windows to find the right one.
16585
f3ada0ee
CS
165862011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
16587
16588 * help.el (help-return-method): Doc fix.
16589
1f3c99ca
MR
165902011-09-03 Martin Rudalics <rudalics@gmx.at>
16591
16592 * window.el (window-deletable-p): Don't return a non-nil value
16593 when there's a buffer that was shown in the window before.
16594 (Bug#9419)
393a301e
SM
16595 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
16596 Set window's previous buffers to nil.
1f3c99ca 16597
a3cf097f
EZ
165982011-09-03 Eli Zaretskii <eliz@gnu.org>
16599
16600 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
16601 newline before and after the tag line, so it doesn't interfere
16602 with determining the paragraph direction of bidirectional text.
16603
3d03de90
LL
166042011-09-03 Leo Liu <sdl.web@gmail.com>
16605
16606 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
16607
c3313451
CY
166082011-09-02 Chong Yidong <cyd@stupidchicken.com>
16609
393a301e 16610 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
16611 (pop-to-buffer): Change interactive spec. Pass second argument
16612 directly to display-buffer.
16613 (display-buffer): Fix interactive spec. Use functionp to
16614 distinguish between a function and a list of functions.
16615
16616 * abbrev.el (edit-abbrevs):
16617 * arc-mode.el (archive-extract):
16618 * autoinsert.el (auto-insert):
16619 * bookmark.el (bookmark-bmenu-list):
16620 * files.el (find-file):
16621 * view.el (view-buffer):
16622 * progmodes/compile.el (compilation-goto-locus):
16623 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
16624
89894cd8
CY
166252011-09-02 Chong Yidong <cyd@stupidchicken.com>
16626
16627 * window.el (display-buffer-alist): Doc fix.
16628 (display-buffer): Add docstring. Don't treat
16629 display-buffer-default specially.
16630 (display-buffer-reuse-selected-window)
16631 (display-buffer-same-window, display-buffer-maybe-same-window)
16632 (display-buffer-reuse-window, display-buffer-pop-up-frame)
16633 (display-buffer-pop-up-window)
16634 (display-buffer-reuse-or-pop-window)
16635 (display-buffer-use-some-window): New functions.
16636 (display-buffer-default-action): Use them.
393a301e 16637 (display-buffer-default): Delete.
89894cd8
CY
16638 (pop-to-buffer-1): Fix choice of actions.
16639
ae0bc9fb
SM
166402011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
16641
16642 * minibuffer.el (completion--insert-strings): Don't get confused by
16643 completion entries that end with an LF char.
16644
e9d90883
EZ
166452011-09-01 Eli Zaretskii <eliz@gnu.org>
16646
16647 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
16648
437014c8
CY
166492011-09-01 Chong Yidong <cyd@stupidchicken.com>
16650
16651 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
16652 (display-buffer-same-window, display-buffer-other-window):
16653 New functions.
437014c8
CY
16654 (pop-to-buffer-1): New function. Use the above.
16655 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 16656 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
16657
16658 * view.el (view-buffer-other-window, view-buffer-other-frame):
16659 Just use pop-to-buffer.
16660
a5e063d5
TV
166612011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16662
16663 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
16664
793d32bb
WH
166652011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
16666
16667 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
16668
d65e4c15
RS
166692011-08-31 Richard Stallman <rms@gnu.org>
16670
16671 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
16672 of the separation of rmail-view-buffer from rmail-buffer.
16673 If you say no to "replace original", the decrypt is in the
16674 view buffer. If you say yes, the decrypt goes into the
16675 rmail buffer also.
16676
f818cd2a
MR
166772011-08-31 Martin Rudalics <rudalics@gmx.at>
16678
16679 * window.el (display-buffer-window): Rewrite doc-string.
16680 (display-buffer-record-window): New function.
16681 (display-buffer-macro-specifiers)
16682 (display-buffer-even-window-sizes, display-buffer-set-height)
16683 (display-buffer-set-width, display-buffer-in-window)
16684 (display-buffer-reuse-window, display-buffer-split-specifiers)
16685 (display-buffer-side-specifiers, display-buffer-split-window-1)
16686 (display-buffer-split-window, display-buffer-split-atom-window)
16687 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
16688 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
16689 (display-buffer-other-window-means-other-frame)
16690 (display-buffer-normalize-special)
16691 (display-buffer-normalize-default)
16692 (display-buffer-normalize-argument)
16693 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
16694 (display-buffer-normalize-specifiers, display-buffer-frame)
16695 (display-buffer-same-window, display-buffer-same-frame)
16696 (display-buffer-other-window)
16697 (display-buffer-same-frame-other-window)
16698 (display-buffer-other-frame, pop-to-buffer-same-window)
16699 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
16700 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
16701 (switch-to-buffer-same-frame)
16702 (switch-to-buffer-other-window-same-frame)
16703 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
16704 (display-buffer-alist-set-1, display-buffer-alist-set-2)
16705 (display-buffer-alist-set): Remove.
16706 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
16707 (special-display-regexps, special-display-function):
16708 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
16709 parameter.
16710 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
16711 (special-display-frame-alist, special-display-popup-frame)
16712 (same-window-buffer-names, same-window-regexps, same-window-p)
16713 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
16714 (split-window-preferred-function, split-height-threshold)
16715 (split-width-threshold, window-splittable-p)
16716 (split-window-sensibly, window--try-to-split-window)
16717 (window--frame-usable-p, even-window-heights)
16718 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
16719 (window--display-buffer-2, display-buffer-other-frame):
16720 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
16721 (display-buffer-default, display-buffer-assq-regexp): New functions.
16722 (display-buffer-alist): Rewrite doc-string.
16723 (display-buffer-default-action)
16724 (display-buffer-overriding-action): New variables.
16725 (display-buffer, switch-to-buffer): Rewrite.
16726 (pop-to-buffer): Restore Emacs 23 behavior but use
16727 window-normalize-buffer-to-display.
16728 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
16729 Restore Emacs 23 behavior but use
16730 window-normalize-buffer-to-switch-to.
16731 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
16732 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
16733 Rewrite using Emacs 23 options.
f818cd2a 16734
5bc3b51d
MA
167352011-08-31 Michael Albinus <michael.albinus@gmx.de>
16736
16737 * net/tramp.el (tramp-root-regexp): Remove.
16738 (tramp-completion-file-name-regexp-unified)
16739 (tramp-completion-file-name-regexp-separate)
16740 (tramp-completion-file-name-regexp-url): Don't use leading volume
b46a6a83 16741 letter on w32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
16742 (tramp-drop-volume-letter): Simplify definition.
16743 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 16744
b1a4f8e1
SM
167452011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
16746
16747 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
16748 (bug#9356).
16749
5664fa7b
RT
167502011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
16751
b1a4f8e1 16752 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 16753
9a45d6c3
JL
167542011-08-29 Juri Linkov <juri@jurta.org>
16755
16756 * isearch.el (isearch-done): Don't display message "Mark saved"
16757 when arg `edit' is non-nil to prevent its flicker in the echo area.
16758
fb87e0fb
CY
167592011-08-28 Chong Yidong <cyd@stupidchicken.com>
16760
16761 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
16762 obsolete packages for deletion.
16763
09ac1c2a
CS
167642011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
16765
16766 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 16767 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
16768 view-mode from help-mode.
16769 (help-xref-override-view-map): Remove.
16770 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
16771 view-mode is not used anymore.
16772
7a1ff57f
CY
167732011-08-28 Chong Yidong <cyd@stupidchicken.com>
16774
16775 * server.el (server-port): Doc fix.
16776
b9696605
CY
16777 * cus-theme.el (custom-theme-choose-mode): Inherit from
16778 special-mode (Bug#9124).
16779 (custom-theme-choose-mode-map): Add special-mode to parent.
16780
ef8cdf8c
AM
167812011-08-28 Alan Mackenzie <acm@muc.de>
16782
16783 * progmodes/cc-fonts.el
16784 (c-make-font-lock-BO-decl-search-function): New function.
16785 (c-basic-matchers-after - "Fontify the clauses after various
16786 keywords"): Extract the three keyword lists for the 3 erroneous
16787 constructs from the list of four, and use the new function above
16788 in place of an old one.
16789
27de4e20
DD
167902011-08-28 Deniz Dogan <deniz@dogan.se>
16791
16792 * net/rcirc.el (rcirc-insert-prev-input)
16793 (rcirc-insert-next-input): Remove unused argument.
16794
356a3681
SM
167952011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
16796
16797 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
16798
3fc9b218
AM
167992011-08-27 Alan Mackenzie <acm@muc.de>
16800
16801 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
16802 handle function pointer parameters properly.
16803
538a061c
MR
168042011-08-27 Martin Rudalics <rudalics@gmx.at>
16805
16806 * window.el (display-buffer-reuse-window): Fix case where
16807 selected window was reused with non-nil OTHER-WINDOW argument.
16808 (Bug#9381)
16809
35b1c40c
DD
168102011-08-27 Deniz Dogan <deniz@dogan.se>
16811
16812 * net/rcirc.el (rcirc-check-auth-status): Adding support for
16813 oftc's NickServ messages.
16814
2f6a3e79
GM
168152011-08-27 Glenn Morris <rgm@gnu.org>
16816
16817 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
16818
7254299e
CY
168192011-08-26 Chong Yidong <cyd@stupidchicken.com>
16820
16821 * emacs-lisp/package.el (package-install): Call package-initialize
16822 if called interactively.
16823
f8ccf167
LL
168242011-08-26 Leo Liu <sdl.web@gmail.com>
16825
16826 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
16827
3e8cd5ce
JL
168282011-08-25 Juri Linkov <juri@jurta.org>
16829
16830 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
16831 `search-whitespace-regexp' (bug#9364).
16832
93eb7113
JL
168332011-08-25 Juri Linkov <juri@jurta.org>
16834
16835 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
16836 `regexp-search-ring' to their global values to protect from
16837 updating by `read-from-minibuffer' (bug#9185).
16838
f65d1611
JL
168392011-08-25 Juri Linkov <juri@jurta.org>
16840
16841 * textmodes/ispell.el (ispell-command-loop): Add newline
16842 at the end of the "Use option `i'..." line.
16843
f1cf7a31
JL
168442011-08-25 Juri Linkov <juri@jurta.org>
16845
16846 * battery.el (display-battery-mode): If `battery-status-function'
16847 or `battery-mode-line-format' is nil, display the message and set
16848 `display-battery-mode' to nil (bug#9363).
16849
0c95fcf7
EZ
168502011-08-25 Eli Zaretskii <eliz@gnu.org>
16851
16852 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
16853 bidi-string-mark-left-to-right; they are unnecessary now.
16854
a2ebe600
DD
168552011-08-25 Deniz Dogan <deniz@dogan.se>
16856
16857 * net/quickurl.el: Documentation typo fixes.
16858
e4ed06f1
CY
168592011-08-25 Chong Yidong <cyd@stupidchicken.com>
16860
16861 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
16862
e5f1c99e
GM
168632011-08-25 Glenn Morris <rgm@gnu.org>
16864
b2948976
GM
16865 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
16866
e5f1c99e
GM
16867 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
16868 (smtpmail-via-smtp): Handle nil response from smtp.
16869
f22f4808
JL
168702011-08-24 Juri Linkov <juri@jurta.org>
16871
16872 * proced.el (proced-marked): Inherit from `error' instead of
16873 `font-lock-warning-face'.
16874
16875 * ibuffer.el (ibuffer-marked-face): Change default face from
16876 `font-lock-warning-face' to `warning'.
16877 (ibuffer-deletion-face): Change default face from
16878 `font-lock-type-face' to `error'.
16879
16880 * battery.el (battery-update): Use the face `error' instead of
16881 `font-lock-warning-face' (bug#6117).
16882
6a93965e
JL
168832011-08-24 Juri Linkov <juri@jurta.org>
16884
16885 * faces.el (success): Change face color from "Green3" to
16886 "ForestGreen" on light background (bug#9353).
16887
1ed43b09
CY
168882011-08-24 Chong Yidong <cyd@stupidchicken.com>
16889
5664fa7b
RT
16890 * window.el (quit-window): Rename from quit-restore-window.
16891 Use same arglist as old quit-window.
1ed43b09
CY
16892 (frame-auto-delete): Doc fix.
16893
16894 * view.el (view-mode-exit): Use quit-window.
16895
11dcdbb2
JL
168962011-08-24 Juri Linkov <juri@jurta.org>
16897
16898 * isearch.el (isearch-ring-adjust1): Start visiting previous
16899 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
16900 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
16901 for empty search string (when the last search string is reused
16902 automatically) to adjust the isearch ring to the last element and
16903 prepare the correct index for further M-p commands (bug#9185).
16904
de62b4df
KH
169052011-08-24 Kenichi Handa <handa@m17n.org>
16906
16907 * international/ucs-normalize.el: If decomposition property of
16908 CHAR is the default one (i.e. a list of CHAR itself), treat it as
16909 nil.
16910 (nfd, nfkd): Likewise.
16911
963b492b
SM
169122011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
16913
16914 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
16915 from process filters aren't reliably transmitted to the surrounding
16916 accept-process-output.
16917 (mpc-proc-check): New function.
16918 (mpc-proc-sync): Use it (bug#8293)
16919
93b6b5e1
SM
169202011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
16921
16922 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
16923 Add compatibility functions (bug#9313).
16924
bca633fb
EZ
169252011-08-23 Eli Zaretskii <eliz@gnu.org>
16926
b177498a
EZ
16927 * cus-start.el (all): Add entry for bidi-paragraph-direction.
16928
6df6ae42 16929 * international/uni-bidi.el: Regenerate.
bca633fb 16930
0902a04e
KH
169312011-08-23 Kenichi Handa <handa@m17n.org>
16932
16933 * international/charprop.el:
16934 * international/uni-bidi.el:
16935 * international/uni-category.el:
16936 * international/uni-combining.el:
16937 * international/uni-comment.el:
16938 * international/uni-decimal.el:
16939 * international/uni-decomposition.el:
16940 * international/uni-digit.el:
16941 * international/uni-lowercase.el:
16942 * international/uni-mirrored.el:
16943 * international/uni-name.el:
16944 * international/uni-numeric.el:
16945 * international/uni-old-name.el:
16946 * international/uni-titlecase.el:
16947 * international/uni-uppercase.el: Regenerate.
16948
3bbf23bc
MR
169492011-08-23 Martin Rudalics <rudalics@gmx.at>
16950
16951 * help.el (help-window-setup): Fix message displayed when other
16952 window is reused. (Bug#9341)
16953
b3fd59bd
SM
169542011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
16955
1802e444
SM
16956 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
16957 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
16958
b3fd59bd
SM
16959 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
16960 Mark obsolete.
16961 * shell.el (shell-parse-pcomplete-arguments): New function.
16962 (shell-completion-vars): Use it instead (bug#9160).
16963
4eb61348
SM
169642011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
16965
867cab74
SM
16966 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
16967 strings and comments (bug#9333).
16968
4eb61348
SM
16969 * emacs-lisp/debug.el (debug-arglist): New function.
16970 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
16971 (debug-on-entry-1): Handle interpreted closures (bug#9120).
16972
262a1439
JL
169732011-08-22 Juri Linkov <juri@jurta.org>
16974
56ee679c
JL
16975 * progmodes/compile.el (compilation-mode-font-lock-keywords):
16976 Revert regexp that highlights output switches to its old
16977 pre-2010-10-28 value and remove one `?' from it (bug#9319).
16978
262a1439
JL
16979 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
16980 to check for empty output (bug#9226).
16981
f13f86fb
CY
169822011-08-22 Chong Yidong <cyd@stupidchicken.com>
16983
16984 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
16985 symbol-constituent as the default, as that stops font-lock from
16986 working properly (Bug#8843).
16987
c65c9622
LMI
169882011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
16989
16990 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
16991 `coding-system-for-*' around the process open call to avoid
16992 auth-source side effects.
e7f2c178 16993 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
16994 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
16995 probe hangs.
c65c9622 16996
23a8a5ab
CY
169972011-08-21 Chong Yidong <cyd@stupidchicken.com>
16998
ff98b2dd
CY
16999 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
17000
23a8a5ab
CY
17001 * emacs-lisp/find-func.el (find-function-noselect): New arg
17002 lisp-only.
17003
17004 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
17005 signal an error for built-in functions (Bug#6664).
17006
f5e3c598
LMI
170072011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
17008
17009 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
17010 (smtpmail-try-auth-methods): Use it.
17011
a3f2468a
CY
170122011-08-21 Chong Yidong <cyd@stupidchicken.com>
17013
2c34e8da
CY
17014 * font-lock.el (font-lock-fontify-region)
17015 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
17016 (font-lock-default-unfontify-buffer)
17017 (font-lock-default-fontify-region)
17018 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
17019
b3fd59bd
SM
17020 * progmodes/compile.el (compilation-error-properties):
17021 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
17022 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
17023 `ant' regexp.
ee31aabc 17024
a3f2468a
CY
17025 * net/browse-url.el (browse-url-firefox): Don't call
17026 browse-url-firefox-sentinel unless using -remote (Bug#9328).
17027
8e999f70
GM
170282011-08-20 Glenn Morris <rgm@gnu.org>
17029
c21a496a
GM
17030 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
17031
59ee0542
GM
17032 * tutorial.el (tutorial--default-keys): Update some default bindings.
17033
8e999f70
GM
17034 * files.el (hack-local-variables): Fully ignore case for "mode:".
17035
e3715033
AM
170362011-08-20 Alan Mackenzie <acm@muc.de>
17037
17038 Resolve invalid use of a regexp in regexp-opt.
17039
4d61f28d
JB
17040 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
17041 detection for a java annotation.
e3715033 17042
4d61f28d 17043 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
17044 detection for a java annotation.
17045
4d61f28d
JB
17046 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
17047 handling for java.
e3715033
AM
17048 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
17049
04ed2e9c
CY
170502011-08-20 Chong Yidong <cyd@stupidchicken.com>
17051
17052 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
17053 (Bug#9274).
17054
826cee64
AM
170552011-08-20 Alan Mackenzie <acm@muc.de>
17056
58179cce 17057 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
17058 such a construct. Mainly for when jit-lock etc. starts a chunk
17059 here.
17060
58179cce 17061 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 17062 variable.
58179cce 17063 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
17064 c-make-font-lock-search-function.
17065 (c-make-font-lock-search-function): Use the above function.
17066 (c-make-font-lock-context-search-function): New function.
17067 (c-cpp-matchers): Enhance the preprocessor expression case with
17068 the above function
17069 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
17070 which takes an expression.
17071
17072 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
17073
13009bd8
MR
170742011-08-20 Martin Rudalics <rudalics@gmx.at>
17075
17076 * window.el (display-buffer-reuse-window)
17077 (display-buffer-pop-up-window): Don't reuse or split a side
17078 window.
17079
9234ff7f
GM
170802011-08-19 Glenn Morris <rgm@gnu.org>
17081
17082 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 17083 Downcase "Mode:". (Bug#9331)
9234ff7f 17084
f635daa1
CY
170852011-08-18 Chong Yidong <cyd@stupidchicken.com>
17086
17087 * international/characters.el: Add L and R categories.
17088
17089 * subr.el (bidi-string-mark-left-to-right): Rename from
17090 string-mark-left-to-right. Use category search.
17091
17092 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
17093
bc987f8b
JL
170942011-08-18 Juri Linkov <juri@jurta.org>
17095
17096 * faces.el (error, warning, success): New faces with definitions
17097 copied from old default values of `font-lock-warning-face',
17098 `compilation-warning', `compilation-info' (bug#6117).
17099
17100 * font-lock.el (font-lock-warning-face): Inherit from `error'.
17101
17102 * progmodes/compile.el (compilation-error): Inherit from `error'.
17103 (compilation-warning): Inherit from `warning'.
17104 (compilation-info): Inherit from `success'.
17105
17106 * dired.el (dired-marked): Inherit from `warning'.
17107 (dired-flagged): Inherit from `error'.
17108
57173b96
LMI
171092011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
17110
3e79eb87
LMI
17111 * mail/smtpmail.el (auth-source): Require to avoid problems with
17112 binding variables (bug#9298). Also clean up some unused
17113 autoloads.
17114
b3fd59bd
SM
17115 * net/network-stream.el (network-stream-open-starttls):
17116 Support using starttls.el without using gnutls-cli.
57173b96 17117
02b404de
JL
171182011-08-17 Juri Linkov <juri@jurta.org>
17119
17120 * progmodes/grep.el (rgrep): Handle the case when
17121 `grep-find-command' is a cons cell (bug#9278).
17122
8c9177f2
MR
171232011-08-17 Martin Rudalics <rudalics@gmx.at>
17124
17125 * window.el (display-buffer-pop-up-frame): Run frame creation
17126 function with BUFFER current (as special-display-popup-frame
17127 does). Reported by Drew Adams.
17128
3644a0ab
DU
171292011-08-17 Daiki Ueno <ueno@unixuser.org>
17130
17131 * epa-mail.el: Simplify GnuPG group expansion using
17132 epg-expand-group.
17133 (epa-mail-group-alist, epa-mail-group-modtime)
17134 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
17135 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
17136 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
17137 Remove.
17138
5e617bc2 171392011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
17140
17141 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
17142
9c4aeabf
AM
171432011-08-16 Alan Mackenzie <acm@muc.de>
17144
17145 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
17146 Correct, to avoid the inside of macros.
17147
3a99bf64
RS
171482011-08-16 Richard Stallman <rms@gnu.org>
17149
04963aa8
RS
17150 * epa-mail.el: Handle GnuPG group definitions.
17151 (epa-mail-group-alist, epa-mail-group-modtime)
17152 (epa-mail-gnupg-conf-file): New variables.
17153 (epa-mail-parse-groups, epa-mail-sync-groups)
17154 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
17155 (epa-mail-expand-recipients): New functions.
17156 (epa-mail-encrypt): Call epa-mail-expand-recipients.
17157
177549d0
RS
17158 * mail/rmail.el (rmail-epa-decrypt): New command.
17159
fe38beef
RS
17160 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
17161 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
17162 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
17163 (epa-decrypt-armor-in-region): Make error message clearer.
17164
934eacb9
SM
171652011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
17166
17167 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
17168 and "a2b" to "ab" for `prefix'.
17169
d024fb4e
CY
171702011-08-14 Chong Yidong <cyd@stupidchicken.com>
17171
17172 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
17173 filter groups.
de148fee
CY
17174 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
17175 Fourquet (Bug#8804).
d024fb4e 17176
62f1ca49
JB
171772011-08-12 Juanma Barranquero <lekktu@gmail.com>
17178
17179 * startup.el (argi): Declare as global variable (bug#9275).
17180
9ccaaa4b
CY
171812011-08-12 Chong Yidong <cyd@stupidchicken.com>
17182
17183 * subr.el (string-mark-left-to-right): Search the entire string
17184 for RTL script, not just the terminating character. Doc fix.
17185
a3dae87a
SM
171862011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
17187
6cd18349
SM
17188 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
17189 New function.
17190 (js--regexp-literal, js-syntax-propertize-function): Remove.
17191 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
17192 (js-mode-map): Don't rebind electric keys.
17193 (js-insert-and-indent): Remove.
17194 (js-mode): Setup electric-layout and electric-indent instead.
17195
a3dae87a
SM
17196 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
17197
9d5cb631
DU
171982011-08-12 Daiki Ueno <ueno@unixuser.org>
17199
17200 * epa.el (epa-progress-callback-function): Fix the logic of
17201 displaying progress.
17202 * epa-file.el (epa-file-insert-file-contents): Make progress
17203 display more user-friendly.
17204 (epa-file-write-region): Ditto.
17205
3e26a4a2
CY
172062011-08-10 Chong Yidong <cyd@stupidchicken.com>
17207
17208 * subr.el (string-mark-left-to-right): New function.
17209
17210 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
17211 Use string-mark-left-to-right.
17212 (list-buffers-noselect): Caller changed.
17213
a3dae87a
SM
17214 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
17215 Use string-mark-left-to-right.
3e26a4a2
CY
17216 (tabulated-list-print): Recenter after moving point.
17217
ac8cf6e6
JL
172182011-08-10 Juri Linkov <juri@jurta.org>
17219
17220 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
17221 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
17222 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
17223
8d96c9a4
CY
172242011-08-09 Chong Yidong <cyd@stupidchicken.com>
17225
17226 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
17227 (Bug#7554).
17228
7be1c708 172292011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
17230
17231 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
17232 character. (Bug#6594)
17233
37e11a63
CY
172342011-08-08 Chong Yidong <cyd@stupidchicken.com>
17235
839dde57
CY
17236 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
17237 (image-dired--with-db-file): New macro.
17238 (image-dired-write-tags, image-dired-remove-tag)
17239 (image-dired-create-gallery-lists, image-dired-write-comments)
17240 (image-dired-get-comment, image-dired-mark-tagged-files)
17241 (image-dired-list-tags, image-dired-gallery-generate): Use it.
17242 (image-dired-gallery-generate): Use insert-file-contents.
17243
37e11a63
CY
17244 * time.el (display-time-world-list, display-time-world-display):
17245 * time-stamp.el (time-stamp-string):
17246 * vc/add-log.el (add-change-log-entry): Use setenv instead of
17247 set-time-zone-rule (Bug#7337).
17248
0b4946c4
DU
172492011-08-08 Daiki Ueno <ueno@unixuser.org>
17250
17251 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
17252 (epg-error-to-string, epg-errors-to-string): New function.
17253 (epg-wait-for-completion): Reverse errors list.
17254 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
17255 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
17256 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
17257 (epg-sign-keys, epg-generate-key-from-file)
17258 (epg-generate-key-from-string): Format errors by using
17259 epg-errors-to-string (bug#9255).
17260 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
17261
75bfc667
JL
172622011-08-07 Juri Linkov <juri@jurta.org>
17263
17264 * faces.el (list-faces-display): Remove extra angle bracket
17265 from `help-mode-map'.
17266
17267 * info.el (Info-history-toc-nodes): Doc fix.
17268
17269 * longlines.el (longlines-mode): Doc fix.
17270
673e08bb
SM
172712011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
17272
4640dd88
SM
17273 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
17274 of statements and in a few more cases (bug#9183).
17275
673e08bb
SM
17276 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
17277 New functions.
17278 (cl-transform-lambda): Use them (bug#9239).
17279
89b3f019
MR
172802011-08-05 Martin Rudalics <rudalics@gmx.at>
17281
17282 * window.el (display-buffer-same-window)
17283 (display-buffer-same-frame, display-buffer-other-window)
17284 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
17285 (pop-to-buffer-other-window)
17286 (pop-to-buffer-same-frame-other-window)
17287 (pop-to-buffer-other-frame): Make them defuns.
17288 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
17289
640c8776
SM
172902011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
17291
17292 * subr.el (make-composed-keymap): Move from C. Change calling
17293 convention, and improve docstring to bring attention to a subtle point.
17294 * minibuffer.el (completing-read-default): Adjust accordingly.
17295
63648a95
MA
172962011-08-03 Michael Albinus <michael.albinus@gmx.de>
17297
17298 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
17299 (tramp-open-shell): Use `tramp-shell-quote-argument'.
17300
17301 * net/trampver.el: Update release number.
17302
b796c9b7
SM
173032011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
17304
17305 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
17306 "in" (bug#9190).
17307
2239d7d5
LMI
173082011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
17309
e07dd7c3
LMI
17310 * mail/sendmail.el (sendmail-query-once): Restore the current
17311 buffer after querying (bug#9074).
17312
0e6a2bd7
LMI
17313 * dired.el (dired-flagged): Use different faces for marked and
17314 flagged files (bug#6117).
17315
ce887515
LMI
17316 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
17317 (bug#4433).
17318
92f2affc
LMI
17319 * ido.el (ido-mode): Switch off the message if called
17320 non-interactively.
17321
57d5aff0
LMI
17322 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
17323 before 587, since it appears that that's more likely to work for
17324 more people.
17325
98cd6c18 17326 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 17327 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
17328 exist.
17329
b96dec83
LMI
17330 * info.el: Remove the `Info-beginning-of-buffer' function
17331 (bug#8325).
17332
b796c9b7
SM
17333 * net/network-stream.el (network-stream-open-starttls):
17334 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 17335
d90e2ea0
MR
173362011-08-01 Martin Rudalics <rudalics@gmx.at>
17337
17338 * window.el (display-buffer-in-window): Don't set dedicated status
17339 of window here (Bug#9215).
17340 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
17341 (display-buffer-pop-up-side-window)
b796c9b7 17342 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 17343
cca09170
SM
173442011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
17345
17346 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
17347 before binding generated-autoload-file.
17348
027b979c
DD
173492011-08-01 Deniz Dogan <deniz@dogan.se>
17350
17351 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
17352
3c7ee4f3
MA
173532011-07-30 Michael Albinus <michael.albinus@gmx.de>
17354
17355 Sync with Tramp 2.2.2.
17356
17357 * net/trampver.el: Update release number.
17358
2cc8e51a
JL
173592011-07-30 Juri Linkov <juri@jurta.org>
17360
17361 * dired-aux.el (dired-touch-initial): Remove function.
17362 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
17363 current time, and `default' to the last modification time of the
17364 current marked file (bug#6887).
17365
a514d856
JM
173662011-07-28 Jose E. Marchesi <jemarch@gnu.org>
17367
17368 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 17369 numeric argument to read-number (bug#9163).
a514d856 17370
8a7eddd7
MA
173712011-07-27 Michael Albinus <michael.albinus@gmx.de>
17372
17373 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
17374 connection process, it could be nil.
17375
1ddd96f5
LL
173762011-07-27 Leo Liu <sdl.web@gmail.com>
17377
17378 Simplify url handling in rcirc-mode.
17379
17380 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
17381 (rcirc-browse-url-at-mouse): Remove.
17382 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
17383
b248a85d
AM
173842011-07-26 Alan Mackenzie <acm@muc.de>
17385
17386 Fontify bitfield declarations properly.
17387
17388 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
17389 (c-symbol-chars): Now exported as a lang variable.
17390 (c-not-primitive-type-keywords): New lang variable.
17391
17392 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
17393 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 17394 parsed as a bitfield declaration.
b248a85d 17395
b796c9b7
SM
17396 * progmodes/cc-engine.el (c-beginning-of-statement-1):
17397 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
17398 (c-punctuation-in): New function.
17399 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
17400 declarations properly.
17401
68575ab0
UJ
174022011-07-26 Ulf Jasper <ulf.jasper@web.de>
17403
17404 * calendar/icalendar.el (icalendar--all-events): Take care of
17405 multiple vcalendars in a single file.
b796c9b7 17406 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 17407
0f0a88b9
DD
174082011-07-25 Deniz Dogan <deniz@dogan.se>
17409
17410 * image.el (insert-image): Clarifying docstring.
17411
0b3f36df
MA
174122011-07-24 Michael Albinus <michael.albinus@gmx.de>
17413
17414 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
17415 `tramp-send-command-and-check' if there is no error.
17416 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
17417
a9901f61
AM
174182011-07-22 Alan Mackenzie <acm@muc.de>
17419
17420 Prevent cc-langs.elc being loaded at run time.
17421
17422 * progmodes/cc-mode.el: Remove two autoload forms which loaded
17423 cc-langs.
17424
4d61f28d 17425 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
17426 "(require 'cc-langs)". Quote a form so it will evaluate at
17427 (cc-mode's) compilation time.
17428
11d074b2
MA
174292011-07-22 Michael Albinus <michael.albinus@gmx.de>
17430
17431 * net/tramp.el (tramp-file-name-handler): Avoid recursive
17432 loading. (Bug#9114)
17433
938b94c8
MR
174342011-07-21 Martin Rudalics <rudalics@gmx.at>
17435
17436 * window.el (display-buffer-pop-up-window)
17437 (display-buffer-pop-up-side-window)
17438 (display-buffer-in-side-window): Call display-buffer-set-height
17439 and display-buffer-set-width after setting the new window's
b796c9b7 17440 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 17441
bfa4f190
SS
174422011-07-20 Sam Steingold <sds@gnu.org>
17443
17444 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
17445 (etags-tags-included-tables): Call `convert-standard-filename' on
17446 the file names contained in TAGS so that windows Emacs can handle
17447 TAGS files created by cygwin ctags.
17448
8ca42262
LMI
174492011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
17450
17451 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
17452 which apparently didn't work.
17453
5db2afd2 174542011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 17455
5db2afd2
RW
17456 * proced.el (proced-send-signal): For *Marked Processes* buffer
17457 put point at beginning of buffer.
17458
92e15d10
SB
174592011-07-19 Stephen Berman <stephen.berman@gmx.net>
17460
17461 * proced.el (proced-format): Make header lines align with the text
17462 (bug#1779).
17463
1bfd59e5
LMI
174642011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
17465
17466 * view.el (view-buffer): Allow running in `special' modes if we're
17467 visiting a file (bug#8615).
17468
f5aae37c
MR
174692011-07-19 Martin Rudalics <rudalics@gmx.at>
17470
17471 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
17472 (display-buffer-alist-set-1, display-buffer-alist-set-2):
17473 New functions.
f5aae37c
MR
17474 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
17475 more accurately.
17476
bf2c1571
AM
174772011-07-18 Alan Mackenzie <acm@muc.de>
17478
17479 Fontify declarators properly when, e.g., a jit-lock chunk begins
17480 inside a declaration.
17481
17482 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
17483
b796c9b7
SM
17484 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
17485 New function.
bf2c1571
AM
17486 (c-complex-decl-matchers): Insert reference to
17487 c-font-lock-enclosing-decls.
17488
17489 * progmodes/cc-engine.el (c-backward-single-comment):
17490 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
17491 to nil around calls to (forward-comment -1).
17492
4e190b80
LMI
174932011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
17494
12dc863d
LMI
17495 * image.el (put-image): Doc typo fix.
17496
a762e966
LMI
17497 * progmodes/etags.el (tags-search): Doc typo fix.
17498
4e190b80
LMI
17499 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
17500 password if we get errors 550 to 554.
17501
f019fb21
LMI
175022011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
17503
b796c9b7 17504 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 17505
81746738
LMI
17506 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
17507 indentation character (bug#6380).
17508
3ee3a1b5
LMI
17509 * files.el (buffer-offer-save): Made permanently local (bug#6241).
17510
c82f64de
LMI
17511 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
17512 to clarify what the problem is (bug#4291).
17513
f019fb21
LMI
17514 * simple.el (current-kill): Clarify what
17515 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
17516 (auto-fill-mode): Document `auto-fill-function' in relation to
17517 `auto-fill-mode' (bug#2470).
f019fb21 17518
0794775d
LM
175192011-07-16 Lawrence Mitchell <wence@gmx.li>
17520
17521 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
17522 method if slot is read-only (bug#9035).
17523
be39b8cc
MR
175242011-07-16 Martin Rudalics <rudalics@gmx.at>
17525
b796c9b7 17526 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 17527 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
17528 selected before, see discussion of (Bug#8615), (Bug#6954).
17529 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 17530
6ccf7859
GM
175312011-07-15 Glenn Morris <rgm@gnu.org>
17532
17533 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 17534 Respect help-form.
6ccf7859 17535
87e86684
LM
175362011-07-09 Lawrence Mitchell <wence@gmx.li>
17537
17538 * net/gnutls.el (gnutls-min-prime-bits): New variable.
17539 (gnutls-negotiate): Use it.
17540
d6066239
LMI
175412011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
17542
b796c9b7
SM
17543 * net/gnutls.el (gnutls-negotiate):
17544 Upcase `gnutls-algorithm-priority'.
d6066239 17545
bd23ebc0
GM
175462011-07-15 Glenn Morris <rgm@gnu.org>
17547
c65bca65
GM
17548 * jka-compr.el (jka-compr-verbose): Move from here...
17549 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
17550 Add missing :version tag.
17551 * info.el: No need to require jka-compr when compiling.
bd23ebc0 17552
478615cc
LMI
175532011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
17554
7b41decb
LMI
17555 * net/gnutls.el (gnutls-algorithm-priority): New variable.
17556 (gnutls-negotiate): Use it.
17557
dbc44fcd
LMI
17558 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
17559
06789f97
LMI
17560 * info.el (Info-beginning-of-buffer): New command.
17561 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
17562 announcing `b' as the key (bug#8325).
ab896c37 17563 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 17564
c39da690
LMI
17565 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
17566
3aa5f34b
LMI
17567 * international/mule-cmds.el
17568 (describe-specified-language-support): Make the error message
17569 clearer (bug#8905).
17570
4bf0979f
LMI
17571 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
17572
478615cc
LMI
17573 * isearch.el (isearch-barrier): Add a doc string, since it's
17574 mentioned in a function doc string (bug#8678).
17575
75c68aa1
MR
175762011-07-15 Martin Rudalics <rudalics@gmx.at>
17577
17578 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
17579 buffer argument (Bug#9083) and self-identifying label argument.
17580
a7c33da2
GM
175812011-07-15 Glenn Morris <rgm@gnu.org>
17582
17583 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
17584
2f5c6024
LMI
175852011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
17586
17587 * man.el (Man-fontify-manpage): Fix message when formatting the
17588 man page (bug#7929).
17589
0bb23927 175902011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
17591
17592 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
17593 argument LRM; if non-nil, append an invisible LRM character to the
17594 buffer name.
17595 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
17596 last argument non-nil, when formatting buffer names.
0bb23927
EZ
17597 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
17598 paragraph direction.
cce4b0a7 17599
621ef9ab
LMI
176002011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
17601
d1583c48
LMI
17602 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
17603 the man page name (bug#7929).
17604
6a57fb5f
LMI
17605 * image.el (put-image): Mention the `put-image' overlay property
17606 (bug#7834).
17607
d7956b14
LMI
17608 * scroll-bar.el (set-scroll-bar-mode): Mention that
17609 `scroll-bar-mode' lists the values (bug#7772).
17610
5b2d4a66
LMI
17611 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
17612 command (bug#7729).
17613
7509a874
LMI
17614 * rect.el (apply-on-rectangle): Return the point after the last
17615 operation.
17616 (string-rectangle): Go to the point after the last operation
17617 (bug#7522).
17618
4fe74b19
LMI
17619 * printing.el (pr-toggle-region): Clarify the documentation
17620 slightly (bug#7493).
17621
b796c9b7
SM
17622 * time.el (display-time-update):
17623 Allow `display-time-mail-function' to return nil (bug#7158).
17624 Fix suggested by Detlev Zundel.
ab283561 17625
fc233c9d
LMI
17626 * vc/diff.el (diff): Clarify the order the file names are read
17627 (bug#7111).
17628
43f5740b
LMI
17629 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
17630 the doc string (bug#7015).
17631
f2182a76
LMI
17632 * font-lock.el (font-lock-maximum-decoration): Mention what
17633 numeric levels mean (bug#6935).
17634
621ef9ab
LMI
17635 * startup.el (initial-buffer-choice): Don't mention the `none'
17636 selection, which is against policy.
17637
adc47434
MR
176382011-07-14 Martin Rudalics <rudalics@gmx.at>
17639
b796c9b7
SM
17640 * window.el (display-buffer-normalize-special):
17641 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 17642
7e5bfb8f
EZ
176432011-07-14 Eli Zaretskii <eliz@gnu.org>
17644
17645 * subr.el (version<, version<=, version=): Mention "-CVS" and
17646 "-12345" alpha version numbers.
17647
27fa387a
CY
176482011-07-14 Chong Yidong <cyd@stupidchicken.com>
17649
17650 * bindings.el: Add advertised binding for set-mark-command
17651 (Bug#5772).
17652
8bdfa064
CY
176532011-07-14 Chong Yidong <cyd@stupidchicken.com>
17654
17655 * bindings.el (mode-line-other-buffer):
17656 * bookmark.el (bookmark-bmenu-2-window):
17657 * bs.el (bs-cycle-next, bs-cycle-previous):
17658 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
17659 switch-to-buffer.
17660
17661 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 17662 Delete.
8bdfa064 17663
5eba16a3
JB
176642011-07-14 Juanma Barranquero <lekktu@gmail.com>
17665
17666 * follow.el (follow-debug-message, follow-redisplay):
17667 * jka-cmpr-hook.el (with-auto-compression-mode):
17668 Fix typos in docstrings.
17669
15853710
LMI
176702011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
17671
a28e4607
LMI
17672 * subr.el (with-silent-modifications): Clarify somewhat what the
17673 macro inhibits (bug#6525).
17674
15853710
LMI
17675 * simple.el (eval-expression): Note what it does if called
17676 interactively (bug#6495).
17677
bee0fcef
CY
176782011-07-13 Chong Yidong <cyd@stupidchicken.com>
17679
b796c9b7
SM
17680 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
17681 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
17682
17683 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
17684 Remove switch-to-buffer.
17685
58274504
LMI
176862011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
17687
bd2fcc8d
LMI
17688 * files.el (make-directory): Clarify that an error will be raised
17689 if there's an error (bug#6397).
17690
0f04b32c
LMI
17691 * startup.el (initial-buffer-choice): Add `none' as a choice
17692 (bug#6234).
17693
465c5fc8
LMI
17694 * subr.el (add-hook): Clarify section about buffer-local hooks
17695 (bug#6218).
17696
58274504
LMI
17697 * dired.el (dired-flagged): Clarify doc string (bug#6117).
17698
bead9a43
JB
176992011-07-13 Juanma Barranquero <lekktu@gmail.com>
17700
17701 * tabify.el (untabify): Preserve the current column so that point
17702 doesn't move (bug#6032).
17703
3af98a7b
LMI
177042011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
17705
b796c9b7
SM
17706 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
17707 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 17708
6240145a
GM
177092011-07-13 Glenn Morris <rgm@gnu.org>
17710
17711 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
17712 (dired-insert-directory): Give a message the first time
17713 if ls is found not to support --dired.
17714
1d8c2ccc
LMI
177152011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
17716
17717 * simple.el (toggle-truncate-lines): Clarify what is toggled
17718 (bug#5580). Text by Drew Adams.
17719
5fc4038e
CY
177202011-07-13 Chong Yidong <cyd@stupidchicken.com>
17721
17722 * simple.el (blink-matching-open): Make the error message from the
17723 last change less verbose.
17724
bf6012e5
DN
177252011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
17726
17727 * font-lock.el (font-lock-comment-face): Use the high contrast
17728 "yellow" color for font-lock-comment-face on low color terminals
17729 using a dark background color (bug#4221).
17730
343c3b5a
LMI
177312011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
17732
7e9505c5
LMI
17733 * dired.el (dired-insert-set-properties): Make the doc string
17734 reflect what it does now (bug#5325).
17735
c26fdcf5
LMI
17736 * simple.el (blink-matching-open): Say that we were unable to find
17737 the match within the limit, if we're limited (bug#5122).
17738
bb388cc5
LMI
17739 * international/mule-cmds.el (prefer-coding-system): Add an
17740 example (bug#4869).
17741
343c3b5a
LMI
17742 * progmodes/etags.el (tags-search): Document `file-list-form'
17743 (bug#4731).
17744
2a517d45
LM
177452011-07-13 Lawrence Mitchell <wence@gmx.li>
17746
17747 * net/browse-url.el (browse-url-default-browser)
17748 (browse-url-browser-function): Make the default browser choice a
17749 bit more logical (bug#4300). Also clean up the doc string.
17750
b6c78ef2
JB
177512011-07-13 Juanma Barranquero <lekktu@gmail.com>
17752
17753 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
17754 binary endings (bug#4440).
17755
1c4dd947
LMI
177562011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
17757
a2014063
LMI
17758 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
17759 which can be pretty annoying (bug#8971).
17760
9c9c2d88
LMI
17761 * jka-compr.el (jka-compr-verbose): New variable, and use
17762 throughout (bug#8971).
17763
1c4dd947
LMI
17764 * info.el (Info-find-file): Fall back on the installation
17765 directory if we can't find the info node anywhere else.
17766
a1c9f41b
SO
177672011-07-13 Sergei Organov <osv@javad.com> (tiny change)
17768
17769 * vc/vc.el (vc-revert-file):
17770 Don't set file time-stamp in the past. (Bug#5181)
17771
536f3d36
LMI
177722011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
17773
7152b011
LMI
17774 * files.el (after-find-file): Give a better error message when
17775 trying to find a symlink that points to a file that doesn't exist
17776 (bug#4398).
17777
536f3d36
LMI
17778 * progmodes/cc-vars.el: Remove (probably) misleading comment
17779 (bug#4396).
17780
460c0fba
JB
177812011-07-12 Johan Bockgård <bojohan@gnu.org>
17782
17783 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
17784
7a6bda45
CY
177852011-07-12 Chong Yidong <cyd@stupidchicken.com>
17786
17787 * mouse-sel.el: Hack restoring functionality, while keeping
17788 compatibility with 2010-07-03 changes to mouse selection.
17789 (mouse-sel-primary-overlay): New var.
17790 (mouse-sel-selection-alist): Use it.
17791 (mouse-sel-mode): Doc fix; remove points that are default features
17792 of mouse.el.
17793
c79598ef
JB
177942011-07-12 Johan Bockgård <bojohan@gnu.org>
17795
17796 * progmodes/compile.el (compilation-error-regexp-alist-alist):
17797 Fix previous fix (bug#2490).
17798
ff8be6ef
RW
177992011-07-12 Roland Winkler <winkler@gnu.org>
17800
b796c9b7
SM
17801 * textmodes/bibtex.el (bibtex-initialize):
17802 Use pop-to-buffer-same-window.
ff8be6ef
RW
17803 (bibtex-search-entries): Fix interactive call.
17804
296ba3ee
LMI
178052011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
17806
f5242a02 17807 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
17808 Fontise bytecomp Error lines more correctly (bug#2490).
17809 Fix suggested by Johan Bockgård.
f5242a02 17810
296ba3ee
LMI
17811 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
17812
17813 * dired-x.el (dired-guess-default): Use `delete-dups'.
17814
f69fd0d2
CY
178152011-07-12 Chong Yidong <cyd@stupidchicken.com>
17816
17817 * dired.el (dired-mark-prompt):
17818 * dired-aux.el (dired-read-shell-command): Doc fix.
17819
eab5dc07
LMI
178202011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
17821
b796c9b7
SM
17822 * mail/sendmail.el (sendmail-query-once):
17823 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
17824 emacs -Q.
17825
17826 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
17827
eab5dc07
LMI
17828 * cus-edit.el (custom-file): Take an optional no-error variable.
17829 (customize-save-variable): Set the variable, and give a warning if
17830 running under "emacs -q".
17831
a1e65d42
JB
178322011-07-11 Juanma Barranquero <lekktu@gmail.com>
17833
17834 * loadhist.el (unload-feature-special-hooks):
17835 Add `auto-coding-functions', `fill-nobreak-predicate' and
17836 `find-directory-functions' (bug#5327).
17837
1d52da10
LMI
178382011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
17839
be958f1d
LMI
17840 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
17841
5bedb26c
LMI
17842 * cus-edit.el (custom-guess-name-alist): -alist variables should
17843 use the `alist' type (bug#3120). Suggested by Drew Adams.
17844
1d52da10
LMI
17845 * printing.el: Add documentation to all the `pr-toggle-' commands.
17846
cd394be1 178472011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
17848
17849 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
17850 backends where it makes sense (bug#2623).
17851
dcc88d8a
LMI
178522011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
17853
c3de9feb
LMI
17854 * dired-x.el (dired-guess-default): Remove duplicate shell command
17855 entries (bug#2028).
8a93078b 17856 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 17857 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 17858
dcc88d8a
LMI
17859 * subr.el (remove-duplicates): New conveniency function.
17860
505e3645
LMI
178612011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
17862
17863 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
17864 (bug#1526).
17865
178662011-07-10 Martin Rudalics <rudalics@gmx.at>
17867
17868 * window.el (display-buffer-normalize-default): Don't invert
17869 meaning of even-window-heights. Reported by Eli Zaretskii
17870 <eliz@gnu.org>.
17871
455e4fa1
BR
178722011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
17873
17874 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
17875
8e0bc3e9
CY
178762011-07-10 Chong Yidong <cyd@stupidchicken.com>
17877
17878 * window.el (display-buffer): Fix arguments to
17879 display-buffer-reuse-window in last change.
17880
fa7c3228
CY
17881 * faces.el (link): Use a less saturated blue on light backgrounds.
17882
17883 * startup.el (fancy-startup-text, fancy-about-text)
17884 (fancy-startup-tail): Use font-lock faces, for background safety.
17885
c0a7f300
BN
178862011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
17887
b796c9b7
SM
17888 * emulation/viper-cmd.el (viper-change-state-to-vi):
17889 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 17890
4dc2a129
MR
178912011-07-09 Martin Rudalics <rudalics@gmx.at>
17892
17893 * window.el (display-buffer-default-specifiers): Remove.
17894 (display-buffer-macro-specifiers): Remove default specifiers.
17895 (display-buffer-alist): Default to nil.
b796c9b7 17896 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
17897 (display-buffer-pop-up-window): Allow splitting internal
17898 windows. Check whether a live window was created.
17899 (display-buffer-other-window-means-other-frame)
17900 (display-buffer-normalize-arguments): Rename to
17901 display-buffer-normalize-argument and rewrite. Set the
17902 other-window specifier.
17903 (display-buffer-normalize-special): New function.
17904 (display-buffer-normalize-options): Rename to
17905 display-buffer-normalize-default and rewrite.
17906 (display-buffer-normalize-options-inhibit): Remove.
17907 (display-buffer-normalize-specifiers): Rewrite.
17908 (display-buffer): Process other-window specifier and call
17909 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
17910 more faithfully.
b796c9b7 17911 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 17912 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
17913 (display-buffer-in-window, display-buffer-alist-set):
17914 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
17915 <tassilo@member.fsf.org>.
17916
2d43b8c9
LL
179172011-07-09 Leo Liu <sdl.web@gmail.com>
17918
17919 * register.el (insert-register): Restore accidental change on
17920 2011-06-26. (Bug#9028)
17921
7f9b7c53
GM
179222011-07-09 Glenn Morris <rgm@gnu.org>
17923
17924 * subr.el (remq): Handle the empty list. (Bug#9024)
17925
f042cfd8
AS
179262011-07-08 Andreas Schwab <schwab@linux-m68k.org>
17927
17928 * mail/sendmail.el (send-mail-function): No longer delay custom
17929 initialization.
17930 * custom.el (custom-initialize-delay): Doc fix.
17931
856b2f11
SM
179322011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
17933
17934 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
17935
afae1d68
MA
179362011-07-08 Michael Albinus <michael.albinus@gmx.de>
17937
17938 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
17939 human-friendly prompt.
17940
0757af94
SM
179412011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
17942
17943 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
17944 provided by a particular plugin.
17945
d760b731
LMI
179462011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
17947
17948 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
17949 save customizations (with "emacs -Q"), just set the variable
17950 instead of erroring out.
17951
17952 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
17953
cd79ce90
JL
179542011-07-08 Juri Linkov <juri@jurta.org>
17955
17956 * arc-mode.el (archive-zip-expunge, archive-zip-update)
17957 (archive-zip-update-case): Use 7z if found by `executable-find'.
17958 The order of searching the available programs is the same as in
17959 `archive-zip-extract' (bug#8968).
17960
14cc04aa
CY
179612011-07-07 Chong Yidong <cyd@stupidchicken.com>
17962
17963 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
17964 (menu-bar-options-menu): Tweak descriptions.
17965
0a1848ec
LMI
179662011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
17967
17968 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
17969 menu items into verb phrases (bug#1421). Also refill to fit under
17970 80 columns.
17971
f5bd0689
CY
179722011-07-07 Chong Yidong <cyd@stupidchicken.com>
17973
538e85c6
CY
17974 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
17975 (Info-read-node-name): Doc fix (Bug#1084).
17976
f5bd0689
CY
17977 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
17978 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
17979 (end-of-sexp, beginning-of-sexp)
17980 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
17981 (forward-symbol, forward-same-syntax, word-at-point)
17982 (sentence-at-point): Doc fix (Bug#1144).
17983
56ec5115
LMI
179842011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
17985
f3f8e37f
LMI
17986 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
17987 should cover it (bug#1281).
17988
0757af94 17989 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 17990
e9fce1ac 17991 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
17992 negotiation fails, then possibly try again with a non-encrypted
17993 connection (bug#9017).
17994
56ec5115
LMI
17995 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
17996 be used.
17997
c2f9aec8
RS
179982011-07-07 Richard Stallman <rms@gnu.org>
17999
18000 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
18001 property, and handle its changed format.
18002 Look for the correct line number.
18003 Use file's line contents (but not past first =) to find
18004 correct line in message.
18005
ef7b981d 180062011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
18007
18008 * international/characters.el (build-unicode-category-table):
18009 Delete it.
0757af94 18010 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 18011
0757af94 18012 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
18013 to src/chartab.c.
18014 (get-char-code-property): Call unicode-property-table-internal to
18015 load a file. Call get-unicode-property-internal where necessary.
18016 (put-char-code-property): Call unicode-property-table-internal to
18017 load a file. Call put-unicode-property-internal where necessary.
18018 put-unicode-property-internal where necessary.
0757af94
SM
18019 (char-code-property-description):
18020 Call unicode-property-table-internal to load a file.
c805dec0
KH
18021
18022 * international/charprop.el:
18023 * international/uni-bidi.el:
18024 * international/uni-category.el:
18025 * international/uni-combining.el:
18026 * international/uni-comment.el:
18027 * international/uni-decimal.el:
18028 * international/uni-decomposition.el:
18029 * international/uni-digit.el:
18030 * international/uni-lowercase.el:
18031 * international/uni-mirrored.el:
18032 * international/uni-name.el:
18033 * international/uni-numeric.el:
18034 * international/uni-old-name.el:
18035 * international/uni-titlecase.el:
18036 * international/uni-uppercase.el: Regenerate.
18037
18038 * loadup.el: Load international/charprop.el before
18039 international/characters.
18040
e14b388a
CY
180412011-07-07 Chong Yidong <cyd@stupidchicken.com>
18042
18043 * window.el (next-buffer, previous-buffer): Signal an error if
18044 called from a minibuffer window.
18045
18046 * bindings.el: Revert 2011-07-04 change.
18047
354cf0ba
RS
180482011-07-06 Richard Stallman <rms@gnu.org>
18049
18050 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
18051 (rmail-mime-insert-bulk, rmail-mime-insert-text):
18052 Treat markers like ints.
18053 (rmail-mime-entity): Doc fix.
18054
a48868a7
LMI
180552011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
18056
4906cd3d
LMI
18057 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
18058 defcustom again for backwards compatibility.
18059
e0457abe
LMI
18060 * simple.el (shell-command-on-region): Fill.
18061
d67f7e1f
LMI
18062 * dired-aux.el (dired-kill-line): Add a doc string.
18063
fe204702
LMI
18064 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
18065 to "\\sw\\|\\s_" (bug#358).
18066
a48868a7
LMI
18067 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
18068 (dired-unmark-backward): Ditto.
18069 (dired-flag-backup-files): Ditto.
18070
18071 * dired-x.el (dired-mark-sexp): Ditto.
18072
aa8a705c
RS
180732011-07-06 Richard Stallman <rms@gnu.org>
18074
18075 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
18076 (rmail-mime-entity): New arg TRUNCATED.
18077 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
18078 New functions.
18079 (rmail-mime-save): Warn if entity is truncated.
18080 (rmail-mime-toggle-hidden): Likewise, for showing.
18081 (rmail-mime-process-multipart): Record when an entity is truncated.
18082
a9a936b9
RS
18083 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
18084 if ENTITY is a string.
18085
1f2b92cb
LMI
180862011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
18087
f4f73198 18088 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
18089 of faces when `M-C-x'-ing their definitions (bug#8378).
18090 Also clean up the code slightly.
f4f73198 18091
12b16734 18092 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 18093 because that makes the colors go away.
12b16734 18094
f0691d22
LMI
18095 * mail/sendmail.el (send-mail-function): Change the default to
18096 `sendmail-query-once'.
9e87df06 18097 (sendmail-query-once): Add an autoload cookie.
f0691d22 18098
1f2b92cb
LMI
18099 * net/network-stream.el (network-stream-open-starttls): Try using
18100 a plain connection even if the server offered STARTTLS, and we
18101 kinda wanted to use it, if Emacs doesn't have any STARTTLS
18102 capability. This should make smtpmail.el work in slightly more
18103 configurations.
18104
1cdd2a1b
MA
181052011-07-06 Michael Albinus <michael.albinus@gmx.de>
18106
18107 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
18108 New defun.
18109 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
18110
fbcc67e2
MM
181112011-07-06 Michael R. Mauger <mmaug@yahoo.com>
18112
18113 * progmodes/sql.el: Version 3.0
0757af94 18114 (sql-product-alist): Add product :completion-object,
fbcc67e2 18115 :completion-column, and :statement attributes.
0757af94 18116 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 18117 (sql-mode-syntax-table): Mark all punctuation.
0757af94 18118 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
18119 ansi keywords.
18120 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 18121 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
18122 (sql-oracle-show-reserved-words): New function for development.
18123 (sql-product-font-lock): Simplify for source code buffers.
18124 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
18125 New functions.
18126 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
18127 (sql-mode-map): Add statement movement functions.
18128 (sql-ansi-statement-starters, sql-oracle-statement-starters):
18129 New variable.
fbcc67e2
MM
18130 (sql-statement-regexp, sql-beginning-of-statement)
18131 (sql-end-of-statement, sql-signum): New functions.
0757af94 18132 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
18133 (sql-show-sqli-buffer): Bug fix.
18134 (sql-interactive-mode): Store connection data as buffer local.
0757af94 18135 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
18136 with sql-interactive-mode.
18137 (sql-save-connection): Save buffer local settings.
0757af94 18138 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
18139 (sql-product-interactive): Bug fix.
18140 (sql-preoutput-hold): New variable.
18141 (sql-interactive-remove-continuation-prompt): Bug fixes.
18142 (sql-debug-redirect): New variable.
18143 (sql-str-literal): New function.
18144 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 18145 Redesign.
fbcc67e2
MM
18146 (sql-oracle-save-settings, sql-oracle-restore-settings)
18147 (sql-oracle-list-all, sql-oracle-list-table): New functions.
18148 (sql-completion-object, sql-completion-column)
18149 (sql-completion-sqlbuf): New variables.
18150 (sql-build-completions-1, sql-build-completions)
18151 (sql-try-completion): New functions.
18152 (sql-read-table-name): Use them.
18153 (sql-contains-names): New buffer local variable.
18154 (sql-list-all, sql-list-table): Use it.
18155 (sql-oracle-completion-types): New variable.
18156 (sql-oracle-completion-object, sql-sqlite-completion-object)
18157 (sql-postgres-completion-object): New functions.
18158
d4eaeab1
GM
181592011-07-06 Glenn Morris <rgm@gnu.org>
18160
18161 * window.el (pop-to-buffer): Doc fix.
18162
322b7dab 181632011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
18164
18165 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
18166
322b7dab 181672011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 18168
322b7dab 18169 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 18170
322b7dab 18171 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 18172
605dd5bf
CY
181732011-07-05 Chong Yidong <cyd@stupidchicken.com>
18174
18175 * button.el (button): Inherit from link face. Suggested by Dan
18176 Nicolaescu.
18177
7dbfa719
SM
181782011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
18179
3db614b0
SM
18180 * progmodes/gdb-mi.el: Fit in 80 columns.
18181 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
18182 switch-to-buffer.
18183
7dbfa719
SM
18184 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
18185 if imenu is simply not configured (bug#8941).
18186
919d884a
KM
181872011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
18188
18189 * allout.el (allout-post-undo-hook): New allout outline-change
18190 event hook to signal undo activity.
18191 (allout-post-command-business): Run allout-post-undo-hook if an
18192 undo just occurred.
7dbfa719
SM
18193 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
18194 * allout-widgets.el (allout-widgets-after-undo-function):
18195 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
18196 in the vicinity of an undo.
18197 (allout-widgets-mode): Include allout-widgets-after-undo-function
18198 on the new allout-post-undo-hook.
18199
450a0f09
SM
182002011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
18201
18202 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
18203 Let define-derived-mode define it.
18204 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
18205 cycles of abbrev-table inheritance (bug#8998).
18206
2de69e00
RW
182072011-07-05 Roland Winkler <winkler@gnu.org>
18208
18209 * textmodes/bibtex.el: Add support for biblatex.
18210 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
18211 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
18212 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
18213 (bibtex-entry-alist, bibtex-field-alist): New variables.
18214 (bibtex-entry-field-alist): Obsolete alias for
18215 bibtex-BibTeX-entry-alist.
18216 (bibtex-entry-alist, bibtex-field-alist): New widgets.
18217 (bibtex-set-dialect): New command.
18218 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
18219 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
18220 Bind via bibtex-set-dialect.
2de69e00
RW
18221 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
18222 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
18223 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
18224 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
18225 Define via bibtex-set-dialect.
450a0f09
SM
18226 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
18227 Obey bibtex-no-opt-remove-re.
2de69e00
RW
18228 (bibtex-vec-push, bibtex-vec-incr): New functions.
18229 (bibtex-format-entry, bibtex-field-list)
18230 (bibtex-print-help-message, bibtex-validate)
18231 (bibtex-search-entries): Use new format of bibtex-entry-alist.
18232
2dcdbdd9
SM
182332011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
18234
18235 * progmodes/compile.el (compilation-goto-locus):
18236 * net/tramp-cmds.el (tramp-append-tramp-buffers):
18237 * bs.el (bs-cycle-next, bs-cycle-previous):
18238 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
18239 * bindings.el (mode-line-other-buffer):
18240 * autoinsert.el (auto-insert):
18241 * arc-mode.el (archive-extract):
18242 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
18243
b27640fe
JB
182442011-07-05 Juanma Barranquero <lekktu@gmail.com>
18245
18246 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
18247 Fix check of `emacs-lock-unlockable-modes'.
18248 Coerce true values of `emacs-lock--try-unlocking' to t.
18249
53bbe3ad
JB
182502011-07-05 Juanma Barranquero <lekktu@gmail.com>
18251
18252 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
18253 * emacs-lock.el: New file.
18254
1d3cdbc7
JD
182552011-07-05 Julien Danjou <julien@danjou.info>
18256
18257 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
18258 than `boundp' to check if face is set.
18259
9173deec
JB
182602011-07-05 Juanma Barranquero <lekktu@gmail.com>
18261
18262 * register.el (registerv-make):
18263 * window.el (window-min-height): Fix typos in docstrings.
18264
869795d6
JD
182652011-07-05 Jan Djärv <jan.h.d@swipnet.se>
18266
9173deec 18267 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
18268 Update doc string.
18269
b768cdcd
JB
182702011-07-04 Juanma Barranquero <lekktu@gmail.com>
18271
18272 * server.el (server-execute): Catch quit and call
18273 `server-return-error' to pass the error back to emacsclient and
18274 close the connection (bug#8942).
18275
13aa217b
KM
182762011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
18277
18278 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
18279 insecure exception for current topic. Also note that auto-saves
18280 are handled differently.
18281
5d3385a0 18282 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
13aa217b
KM
18283 State variables for tracking auto-save inhibition situation.
18284
18285 (allout-write-contents-hook-handler): Rename from
18286 'allout-write-file-hook-handler', and describe how it depends on
18287 write-contents-functions sensitivity to non-nil value to prevent
18288 file write.
18289
18290 (allout-auto-save-hook-handler): Remove. auto-save does not check
18291 this in individual buffers, only in the starting buffer, so this
18292 is not the right way for us to inhibit auto-save in a buffer
18293 according to its condition.
18294
18295 (allout-mode): Use new allout-write-contents-hook-handler, and
18296 only with write-contents-functions. Remove auto-save provisions -
18297 they're implemented elsewhere.
18298
18299 (allout-before-change-handler): If undo is in progress, note that
18300 for attention of allout-post-command-business.
18301
18302 (allout-post-command-business): If the command we're following was
18303 an undo, check for change in the status of encrypted items and
18304 adjust auto-save inhibitions accordingly.
18305
18306 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
18307 according to whether there are or aren't any plain-text topics
18308 pending encryption.
18309
2dcdbdd9 18310 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
18311 Adjust buffer-saved-size and some allout state to inhibit auto-saves
18312 if there are plain-text topics pending encryption.
13aa217b
KM
18313
18314 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
18315 buffer-saved-size and some allout state to not inhibit auto-saves
18316 if there are no longer any plain-text topics pending encryption.
18317
0757af94
SM
18318 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
18319 No longer provide for exemption of the current topic.
13aa217b 18320
ac89b32c
JL
183212011-07-04 Juri Linkov <juri@jurta.org>
18322
18323 Add 7z operations to delete and save changed members (bug#8968).
18324 * arc-mode.el (archive-7z-expunge, archive-7z-update):
18325 New defcustoms.
18326 (archive-7z-write-file-member): New function.
18327 (archive-7z-summarize): Fix the number of dashes in the
18328 listing output.
18329
8fa39615
SM
183302011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
18331
18332 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
18333 (bug#8958).
18334
2f11b3f1
CY
183352011-07-04 Chong Yidong <cyd@stupidchicken.com>
18336
d66fef2b
CY
18337 * bindings.el: Ignore next-buffer and previous-buffer in
18338 minibuffer-local-map.
18339
2f11b3f1
CY
18340 * font-lock.el (font-lock-builtin-face): Change light background
18341 color to dark slate blue (Bug#6693).
18342
f932a347
WD
183432011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
18344
18345 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
18346
c8af70e1
SM
183472011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
18348
18349 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
18350 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
18351 Add switch-to-buffer.
18352
f158badc
LMI
183532011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
18354
18355 * isearch.el (isearch-search-fun-function): Clarify further the
18356 meaning of the function returned.
18357
6d95bd46
MA
183582011-07-04 Michael Albinus <michael.albinus@gmx.de>
18359
18360 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
18361
18362 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
18363 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
18364 Use it.
18365 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
18366 `tramp-default-remote-path' does not exist.
18367 (tramp-send-command-and-read): New optional argument NOERROR.
18368 (tramp-open-connection-setup-interactive-shell)
18369 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
18370 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
18371 (tramp-process-sentinel): Flush also process' connection property.
18372 (tramp-sh-handle-start-file-process): Do not set process
18373 sentinel. It is done now ...
18374 (tramp-maybe-open-connection): ... here. (Bug#8929)
18375
909e6b67
MK
183762011-07-04 MON KEY <monkey@sandpframing.com>
18377
18378 * play/animate.el (animate-string): Doc fixes and allow changing
18379 the buffer name (bug#5417).
18380
183812011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
18382
c8af70e1 18383 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 18384
f34755dc
PE
183852011-07-04 Paul Eggert <eggert@cs.ucla.edu>
18386
396cec72
PE
18387 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
18388 This is simpler and helps future-proof the code.
18389 (timer-until): Use time-subtract and float-time.
08235028 18390 (timer--time-less-p): Use time-less-p.
f34755dc 18391
56e6cc31
JB
183922011-07-04 Juanma Barranquero <lekktu@gmail.com>
18393
3abb79e5
JB
18394 * type-break.el (timep): Use the value of `float-time' to avoid a
18395 byte-compiler warning.
18396
56e6cc31
JB
18397 * server.el (server-eval-and-print): Return any result, even nil.
18398
7b9430b4
PE
183992011-07-03 Paul Eggert <eggert@cs.ucla.edu>
18400
18401 * type-break.el: Accept time formats that the builtins accept.
18402 (timep, type-break-time-difference): Accept any format that
18403 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
18404 This is simpler and helps future-proof the code.
18405 (type-break-time-difference): Round rather than ignoring
18406 subseconds components.
18407
3034e9e7
LMI
184082011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
18409
18410 * info.el (Info-apropos-matches): Make non-interactive, since it
18411 doesn't seem to do anything useful as a command (bug#8829).
18412
1485f4c0
CY
184132011-07-03 Chong Yidong <cyd@stupidchicken.com>
18414
18415 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 18416 Move from faces.el.
1485f4c0
CY
18417 (frame-default-terminal-background): New function.
18418
18419 * custom.el (custom-push-theme): Don't record faces in `changed'
18420 theme; this doesn't work correctly for per-frame face settings.
18421 (disable-theme): Use face-set-after-frame-default to reset faces.
18422 (custom--frame-color-default): New function.
18423
9fa3dd45
LMI
184242011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
18425
c8af70e1 18426 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
18427 (bug#8769).
18428
6cbbc20c
KR
184292011-03-29 Kevin Ryde <user42@zip.com.au>
18430
18431 * progmodes/compile.el (compilation-error-regexp-alist-alist):
18432 `perl-Test2' extend to match possible "fail #N" rep count
18433 (bug#8377).
18434
c7f98048
LMI
184352011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
18436
65676592
LMI
18437 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
18438 `smtpmail-via-smtp' now returns the error instead of nil.
18439
c7f98048
LMI
18440 * isearch.el (isearch-search-fun-function): Clarify the doc string
18441 (bug#8101).
18442
56e6cc31 184432011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
18444
18445 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
18446 unnecessary spaces (bug#8987).
18447
2b216704
LMI
184482011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
18449
18450 * net/network-stream.el (open-network-stream): Use the
18451 :end-of-capability command thoughout.
18452
184532011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
18454
18455 * net/network-stream.el (open-network-stream): Add the
18456 :end-of-capability command parameter, used by pop3.el.
18457
36adf6ce
LMI
184582011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
18459
1ca0da0e
LMI
18460 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
18461
fc00f69c
LMI
18462 * fringe.el (fringe-query-style): Remove redundant text " (type ?
18463 for list)" (bug#6475).
18464
28fd8759 18465 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 18466 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
18467 an error (bug#6297).
18468
0dd8b6da
LMI
18469 * man.el (Man-reference-regexp): Allow matching possible
18470 word-wrapped references (bug#6289).
18471
ce1438d6
LMI
18472 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
18473 for consistency with the other vc buffers (bug#6197).
18474 (vc-checkin): Ditto.
18475
18476 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
18477
36adf6ce
LMI
18478 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
18479
e83cc1f7
LMI
184802011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
18481
8a20ca4c
LMI
18482 * custom.el (defcustom): Clarify that :set is only used in the
18483 Customize user interface (bug#6089).
18484
83319045
LMI
18485 * progmodes/flymake.el (flymake-mode): If the buffer isn't
18486 associated with a file, refuse to run instead of erroring out
18487 (bug#6084).
18488
a8392169
LMI
18489 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
18490 the doc string, since it appears that using `fill-column' always
18491 controls the width (bug#7845).
18492
e83cc1f7
LMI
18493 * simple.el (shell-command-on-region): Say where the error output
18494 went if `shell-command-default-error-buffer' is set (bug#6857).
18495
e47ca23b
KM
184962011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
18497
18498 * allout.el (allout-yank-processing): Adjust cursor position for
18499 backwards-deleted space.
18500
18501 (allout-rebullet-heading): Register changes with
18502 allout-exposure-changed-hook, so the modified topic is properly
18503 decorated.
18504
5cf56143
LMI
185052011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
18506
08549772
LMI
18507 * minibuffer.el (completion-in-region): Document PREDICATE
18508 (bug#7136).
18509
48e96771
LMI
18510 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
18511 of keyword/argument pairs (bug#6904).
18512
c8af70e1
SM
18513 * replace.el (multi-occur):
18514 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 18515
e17d05e2
LMI
185162011-07-02 Drew Adams <drew.adams@oracle.com>
18517
18518 * dired.el (dired-mark-if): Make the message about whether it's
18519 marking or unmarking clearer (bug#8523).
18520
063b0e45
LMI
185212011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
18522
18523 * disp-table.el (display-table-print-array): New function.
18524 (describe-display-table): Use it to print the vectors more pretty
18525 (Bug#8859).
18526
28545e04
MR
185272011-07-02 Martin Rudalics <rudalics@gmx.at>
18528
18529 * window.el (window-state-get-1): Don't assign clone numbers.
18530 Add clone-of item to list of window parameters.
18531 (window-state-put-2): Don't process clone numbers.
18532 (display-buffer-alist): Fix doc-string.
18533
3349e122
SM
185342011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
18535
18536 * subr.el (remq): Don't allocate if it's not needed.
18537 (keymap--menu-item-binding, keymap--menu-item-with-binding)
18538 (keymap--merge-bindings): New functions.
18539 (keymap-canonicalize): Use them to refine the canonicalization.
18540 * minibuffer.el (minibuffer-local-completion-map)
18541 (minibuffer-local-must-match-map): Move initialization from C.
18542 (minibuffer-local-filename-completion-map): Move initialization from C;
18543 don't inherit from anything here.
18544 (minibuffer-local-filename-must-match-map): Make obsolete.
18545 (completing-read-default): Use make-composed-keymap to combine
18546 minibuffer-local-filename-completion-map with either
18547 minibuffer-local-must-match-map or
18548 minibuffer-local-filename-completion-map.
18549
d224ac83
GM
185502011-07-01 Glenn Morris <rgm@gnu.org>
18551
3de63bf8
GM
18552 * type-break.el (type-break-time-sum): Use dolist.
18553
d224ac83
GM
18554 * textmodes/flyspell.el (flyspell-word-search-backward):
18555 Replace CL function.
18556
1a1e3f32
SM
185572011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
18558
fe3f64d5
SM
18559 * mouse.el (mouse--strip-first-event): New function.
18560 (function-key-map): Use it to map fringe clicks to normal clicks
18561 by default.
18562
eb604e34
SM
18563 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
18564 (vc-bzr-revision-completion-table): Add support for annotate and date.
18565
1a1e3f32
SM
18566 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
18567 inherit from parent.
18568
5bd35902
LMI
185692011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
18570
ace6c69c 18571 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 18572 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 18573
191e2bed
LMI
18574 * dired.el (dired-mode): Fix up the doc string as suggested by
18575 Drew Adams (bug#8817).
18576
5bd35902
LMI
18577 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
18578 cookie, since the manual says that it should be possible to add
18579 this function to `find-file-hook' (bug#8709).
18580
eee8207a
TZ
185812011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
18582
18583 * progmodes/cfengine.el: Moved all cfengine3.el functionality
18584 here. Noted Ted Zlatanov as the maintainer.
18585 (cfengine-common-settings, cfengine-common-syntax): New functions
18586 to set up common things between `cfengine-mode' and
18587 `cfengine3-mode'.
18588 (cfengine3-mode): New mode.
18589 (cfengine3-defuns cfengine3-defuns-regex
18590 (cfengine3-class-selector-regex cfengine3-category-regex)
18591 (cfengine3-vartypes cfengine3-font-lock-keywords)
18592 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 18593 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 18594
36b148cf
MA
185952011-07-01 Michael Albinus <michael.albinus@gmx.de>
18596
18597 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
18598
18599 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
18600
0bf4ba9a
MR
186012011-07-01 Martin Rudalics <rudalics@gmx.at>
18602
18603 * window.el (same-window-buffer-names, same-window-regexps)
18604 (same-window-p, special-display-frame-alist)
18605 (special-display-popup-frame, special-display-function)
18606 (special-display-buffer-names, special-display-regexps)
18607 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
18608 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
18609 (split-window-preferred-function, split-height-threshold)
18610 (split-width-threshold, even-window-heights)
18611 (display-buffer-mark-dedicated, window-splittable-p)
18612 (split-window-sensibly, window-safely-shrinkable-p):
18613 Un-obsolete.
18614 (display-buffer): Don't spread args with function specifier
18615 because special-display-popup-frame won't like it.
18616
35837f51
PE
186172011-07-01 Paul Eggert <eggert@cs.ucla.edu>
18618
d0672f86
PE
18619 Time-stamp simplifications and fixes.
18620 These improve accuracy slightly, and future-proof the code
18621 against some potential changes to current-time format.
18622
b9444d97
PE
18623 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
18624 by using time-since and float-time.
18625
0ef923dc
PE
18626 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
18627 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
18628 + NNN microseconds".
18629
2f81380d
PE
18630 * type-break.el (type-break-time-sum): Rewrite using time-add.
18631
845b5c3e
PE
18632 * play/hanoi.el (hanoi-current-time-float): Remove.
18633 All uses replaced by float-time.
18634
ee6f1be0
PE
18635 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
18636 This yields a more-accurate answer.
18637 (rng-time-to-float): Remove; no longer needed.
18638
fe955043
PE
18639 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
18640
5777162a
PE
18641 * calendar/timeclock.el (timeclock-seconds-to-time):
18642 Defalias to seconds-to-time, since they're the same thing.
18643
3103f8b6 18644 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 18645 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
18646 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
18647
0e61a35f
SM
186482011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
18649
18650 * window.el (bury-buffer): Don't iconify the only frame.
18651 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
18652 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
18653
ddd63a1e
CY
186542011-07-01 Chong Yidong <cyd@stupidchicken.com>
18655
0e61a35f
SM
18656 * eshell/em-smart.el (eshell-smart-display-navigate-list):
18657 Add mouse-yank-primary.
ddd63a1e 18658
055f4923
TZ
186592011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
18660
18661 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
18662
6a2fb145
SM
186632011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
18664
18665 * emacs-lisp/find-func.el (find-library--load-name): New fun.
18666 (find-library-name): Use it to find relative load names when provided
18667 absolute file name (bug#8803).
18668
fd4983f2
LMI
186692011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
18670
887d14ad
LMI
18671 * textmodes/flyspell.el (flyspell-word): Consider words that
18672 differ only in case as potential doublons (bug#5687).
18673
c53dc7fc
LMI
18674 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
18675 Remove two rather uninteresting debugging-like messages to make
18676 debbugs.el more silent.
18677
fd4983f2
LMI
18678 * comint.el (comint-password-prompt-regexp): Accept "Response" as
18679 a password-like phrase.
18680
7a71b18d 186812011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
18682
18683 * progmodes/cc-guess.el: New file.
18684
6a2fb145 18685 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
18686
18687 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
18688 derived from `c-basic-common-init'.
18689
18690 * progmodes/cc-mode.el (top-level): Require cc-guess.
18691 (c-basic-common-init): Use `cc-choose-style-for-mode'.
18692
1fa280a3
LM
186932011-06-30 Lawrence Mitchell <wence@gmx.li>
18694
18695 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
18696
e6597158
AM
186972011-06-30 Alan Mackenzie <acm@muc.de>
18698
1fa280a3
LM
18699 * progmodes/cc-engine.el (c-guess-continued-construct):
18700 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
18701 lock is disabled. Name this case as "CASE G".
18702
68ba37fb
KM
187032011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
18704
18705 * allout.el (allout-yank-processing): Fix injection of extra space
18706 between bullet and non-whitespace character in first topic when
18707 pasting, ensuring that the actual spacing in the pasted topic
18708 following the bullet char is preserved. This extra space was
18709 causing pasted encrypted topics to get a decrypted status even
18710 when the content was actually still encrypted. Now the decryption
18711 status from before the paste is preserved.
18712
18713 (allout-flag-region): Set all allout overlays so they evaporate
18714 when reduced to zero length (evanescent), to prevent overlay
18715 leakage.
18716
887a0b34
GM
187172011-06-30 Glenn Morris <rgm@gnu.org>
18718
94b9acce
GM
18719 * w32-fns.el (w32-charset-info-alist): Declare.
18720
1d9b46d4
GM
18721 * find-dired.el (find-grep-options): Simplify.
18722
cc232200
GM
18723 * term/ns-win.el (ns-set-resource): Declare.
18724
28e77c46
GM
18725 * ses.el (row, col): Declare dynamic variables honestly.
18726
887a0b34
GM
18727 * textmodes/reftex-parse.el (index-tags): Declare.
18728
658d8eb8
CY
187292011-06-30 Chong Yidong <cyd@stupidchicken.com>
18730
18731 * cus-edit.el (customize-push-and-save): New function.
18732
18733 * files.el (hack-local-variables-confirm): Use it.
18734
1fa280a3
LM
18735 * custom.el (load-theme): New arg NO-CONFIRM.
18736 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
18737 (custom-enabled-themes): Doc fix.
18738
18739 * cus-theme.el (customize-create-theme)
18740 (custom-theme-merge-theme): Callers to load-theme changed.
18741
bb617717
LMI
187422011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
18743
d61bdd5d
LMI
18744 * thingatpt.el (thing-at-point-short-url-regexp): Require that
18745 short URLs have at least one dot in them (bug #7614).
18746
bb617717
LMI
18747 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
18748 nil, because using a pty is apparently too slow (bug #895).
18749
2f31f37a
LMI
187502011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
18751
18752 * mail/sendmail.el (sendmail-query-once): New function.
18753 (sendmail-query-once-function): New variable.
18754
3076b24e
GM
187552011-06-29 Glenn Morris <rgm@gnu.org>
18756
faf2a174
GM
18757 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
18758
3076b24e
GM
18759 * ses.el (top-level): Require cl when compiling.
18760 (ses-set-localvars): Fix error statement.
18761 Call it at compile time to silence a storm of warnings.
18762
5386012d
MR
187632011-06-29 Martin Rudalics <rudalics@gmx.at>
18764
18765 * window.el (normalize-live-buffer): Rename to
18766 window-normalize-buffer.
18767 (normalize-live-frame): Rename to window-normalize-frame.
18768 (normalize-any-window): Rename to window-normalize-any-window.
18769 (normalize-live-window): Rename to window-normalize-live-window.
18770 (make-window-atom): Rename to window-make-atom.
18771 (window-resize-reset): Rename to window--resize-reset.
18772 (window-resize-reset-1): Rename to window--resize-reset-1.
18773 (resize-mini-window): Rename to window--resize-mini-window.
18774 (resize-subwindows-skip-p): Rename to
18775 window--resize-subwindows-skip-p.
18776 (resize-subwindows-normal): Rename to
18777 window--resize-subwindows-normal.
18778 (resize-subwindows): Rename to window--resize-subwindows.
18779 (resize-other-windows): Rename to window--resize-siblings.
18780 (resize-this-window): Rename to window--resize-this-window.
18781 (resize-root-window): Rename to window--resize-root-window.
18782 (resize-root-window-vertically): Rename to
18783 window--resize-root-window-vertically.
18784 (normalize-buffer-to-display): Rename to
18785 window-normalize-buffer-to-display.
18786 (normalize-buffer-to-switch-to): Rename to
18787 window-normalize-buffer-to-switch-to.
18788 Correspondingly update all callers of the functions listed
18789 above.
18790 (display-buffer-alist, display-buffer-normalize-arguments)
18791 (display-buffer-normalize-options, display-buffer)
18792 (display-buffer-alist-set): Use "function" instead of
18793 "fun-with-args".
18794
1176868d
CY
187952011-06-28 Chong Yidong <cyd@stupidchicken.com>
18796
18797 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
18798 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
18799 debbugs.gnu.org. Mention acknowledgment email.
18800
20a7a65f
LMI
188012011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
18802
18803 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
18804 buffer multibyteness, since it shouldn't matter.
18805
5f45cca5
MR
188062011-06-28 Martin Rudalics <rudalics@gmx.at>
18807
18808 * window.el (display-buffer-in-side-window): Handle dedicated
18809 windows as in display-buffer-reuse-window.
18810 (display-buffer-normalize-alist): Use value of override
18811 specifier.
18812 (display-buffer-normalize-specifiers): Use value of
18813 other-window-means-other-frame specifier.
18814 (display-buffer-alist): Rewrite some texts in widgets.
18815 (display-buffer): Spread arguments when calling function
18816 specified by fun-with-args.
18817
ad85fe1f
DD
188182011-06-28 Deniz Dogan <deniz@dogan.se>
18819
1fa280a3
LM
18820 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
18821 Unnest `let'.
da68c4c8 18822
ad85fe1f
DD
18823 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
18824 selectors (Bug#5732).
ec49bd31 18825 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 18826
a08cc025
JA
188272011-06-27 Jari Aalto <jari.aalto@cante.net>
18828
18829 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
18830 (eshell-ls-date-format): New defcustom.
18831 (eshell-ls-file): Use it.
18832
e2b551c5
SM
188332011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
18834
18835 * help-fns.el (describe-variable): Fix message for terminal-local vars.
18836
8982b231
KY
188372011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
18838
18839 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
18840 (ange-ftp-make-tmp-name): New arg.
18841 (ange-ftp-file-local-copy): Use it.
18842
36c9fa27
J
188432011-06-27 Jambunathan K <kjambunathan@gmail.com>
18844
18845 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
18846 no-conversion (Bug#8870).
18847
d68443dc
MR
188482011-06-27 Martin Rudalics <rudalics@gmx.at>
18849
18850 * window.el (window-right, window-left, window-child)
18851 (window-child-count, window-last-child)
18852 (window-iso-combination-p, walk-window-tree-1)
18853 (window-atom-check-1, window-tree-1, delete-window)
18854 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
18855 new naming conventions - window-vchild, window-hchild,
18856 window-next and window-prev are now called window-top-child,
18857 window-left-child, window-next-sibling and window-prev-sibling
18858 respectively.
d615d6d2
MR
18859 (resize-window-reset): Rename to window-resize-reset.
18860 (resize-window-reset-1): Rename to window-resize-reset-1.
18861 (resize-window): Rename to window-resize.
18862 (window-min-height, window-min-width)
18863 (resize-mini-window, resize-this-window, resize-root-window)
18864 (resize-root-window-vertically, adjust-window-trailing-edge)
18865 (enlarge-window, shrink-window, maximize-window)
18866 (minimize-window, delete-window, quit-restore-window)
18867 (split-window, balance-windows, balance-windows-area-adjust)
18868 (balance-windows-area, window-state-put-2)
18869 (display-buffer-even-window-sizes, display-buffer-set-height)
18870 (display-buffer-set-width, set-window-text-height)
18871 (fit-window-to-buffer): Rename all "resize-window" prefixed
18872 calls to use the "window-resize" prefix convention.
18873 (display-buffer-alist): Fix symbol for label specifier.
18874 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
18875 corresponding specifier.
18876 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 18877
b6458526
VB
188782011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
18879
18880 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
18881 convention.
18882 (ses-call-printer): Does not pass an empty string to formatter when the
18883 cell is empty to keep from barking printer Calc math-format-value.
18884
d31fd9ac
RS
188852011-06-27 Richard Stallman <rms@gnu.org>
18886
43d5bf84
RS
18887 * battery.el (battery-mode-line-limit): New variable.
18888 (battery-update): Handle it.
18889
d31fd9ac
RS
18890 * mail/rmailmm.el (rmail-mime-process-multipart):
18891 Handle truncated messages.
18892
819a6054
GM
188932011-06-27 Glenn Morris <rgm@gnu.org>
18894
18895 * progmodes/flymake.el (flymake-err-line-patterns):
18896 Allow for column numbers in the ant/javac pattern. (Bug#8866)
18897
cedc73f2
VB
188982011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
18899
819a6054 18900 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
18901 (ses--clean-!, ses--clean-_): New functions.
18902 (ses-range): Add configurability of readout order, and conversion
18903 to Calc vector.
18904
5e5d49b6
VB
18905 * ses.el (ses-repair-cell-reference-all): New function.
18906 (ses-cell-symbol): Set macro as safe, so that it can be used in
18907 formulas.
18908
56e6cc31 18909 * ses.el: Update cycle detection algorithm.
90ca8b49 18910 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 18911 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
18912 (ses-set-localvars): New function.
18913 (ses-make-cell): Add property-list as a cell element.
18914 (ses-cell-property-get-fun, ses-cell-property-get)
18915 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
18916 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
18917 New functions.
90ca8b49
VB
18918 (ses-cell-property-set, ses-cell-property-pop)
18919 (ses-cell-property-get-handle): New macro.
18920 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
18921 New aliases, used for code readability.
18922 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
18923 cycle detection.
18924 (ses-self-reference-early-detection): New defcustom.
fac916bf 18925 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
18926 (ses-mode): Use ses-set-localvars.
18927 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
18928 before lauching the update processing.
18929 (ses-initialize-Dijkstra-attempt): New function.
18930 (ses-recalculate-cell): Update for cycle detection based on
18931 Dijkstra algorithm.
18932
2bb63e81
VB
18933 * ses.el: Fix commenting and indenting convention.
18934
c9d29fb8
SM
189352011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
18936
18937 * bs.el (bs-cycle-next): Complete last change.
18938
d8e4b68b
JB
189392011-06-27 Drew Adams <drew.adams@oracle.com>
18940
18941 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
18942
40098786
LMI
189432011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
18944
c9d29fb8
SM
18945 * net/network-stream.el (network-stream-open-starttls):
18946 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
18947 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
18948
40098786
LMI
18949 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
18950 to binary to possibly avoid line encoding issues on Windows (among
18951 other things).
18952
468d09d4
LMI
189532011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
18954
18955 * net/network-stream.el (open-network-stream): Return an :error
18956 saying what the problem was, if possible.
18957
18958 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
18959 server.
18960
18961 * net/network-stream.el (network-stream-open-starttls): If we
18962 wanted to use STARTTLS, and the server offered it, but we weren't
18963 able to because we had no STARTTLS support, then close the connection.
18964 (open-network-stream): Return an :error element, if present.
18965
16f07dd7
CY
189662011-06-26 Chong Yidong <cyd@stupidchicken.com>
18967
88821ca0
CY
18968 * hl-line.el (hl-line-sticky-flag): Doc fix.
18969 (global-hl-line-sticky-flag): New option (Bug#8323).
18970 (global-hl-line-highlight): Obey it.
18971
16f07dd7
CY
18972 * vc/vc.el (vc-revert-show-diff): Default to t.
18973
6b5ccddf
KM
189742011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
18975
c9d29fb8
SM
18976 * allout-widgets.el (allout-widgets-post-command-business):
18977 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
18978 undecorated when an isearch is continued past, and isearch
18979 automatically collapses them. This leads to "widget leaks", where
18980 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
18981 hidden widgets can slow down cursor travel, substantially.
18982 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
18983 so we're doing without this nicety.
18984
18985 (allout-widgets-tally-string): Don't try to do a hash-table-count
18986 of allout-widgets-tally when it's nil. This eliminates spurious "Error
18987 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
18988 *Messages* when allout-widgets-maintain-tally is t.
18989
355f2e07
MR
189902011-06-26 Martin Rudalics <rudalics@gmx.at>
18991
18992 * window.el (display-buffer-normalize-argument): Rename to
18993 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
18994 LABEL argument. Respect special-display-function when popping up
18995 a new frame. Fix code searching for a window showing the buffer
18996 on another frame.
c9d29fb8
SM
18997 (display-buffer-normalize-specifiers):
18998 Call display-buffer-normalize-arguments.
355f2e07
MR
18999 (display-buffer-in-window): Don't undedicate the window if its
19000 buffer remains the same.
19001 Reported by Drew Adams <drew.adams@oracle.com>.
19002 (display-buffer-alist): Add choice for same-window macro
19003 specfier.
19004 (display-buffer): Mention special meaning of LABEL argument in
19005 doc-string. Fix quoting. Don't pop up a new frame even as
19006 fallback.
19007
7ca8fc42
JB
190082011-06-26 Juanma Barranquero <lekktu@gmail.com>
19009
19010 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
19011 avoid deleting the current window in some cases (bug#8911).
19012
bc312254
AS
190132011-06-26 Andreas Schwab <schwab@linux-m68k.org>
19014
19015 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
19016 (Bug#8934)
19017
2db18f3f
LMI
190182011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
19019
c9d29fb8
SM
19020 * net/network-stream.el (network-stream-open-starttls):
19021 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
19022 (network-stream-open-tls): Ditto.
19023
6302e0d3
LL
190242011-06-26 Leo Liu <sdl.web@gmail.com>
19025
19026 * register.el (registerv): New struct.
19027 (registerv-make): New function.
c9d29fb8
SM
19028 (jump-to-register, describe-register-1, insert-register):
19029 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
19030 struct. (Bug#8415)
19031
5fdd4046
CY
190322011-06-26 Chong Yidong <cyd@stupidchicken.com>
19033
2afef60a
CY
19034 * vc/vc.el (vc-revert-show-diff): New defcustom.
19035 (vc-diff-internal): New arg specifying diff buffer.
19036 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
19037 reuse an existing *vc-diff* buffer (Bug#8927).
19038
5fdd4046
CY
19039 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
19040
e93db24a
GM
190412011-06-26 Glenn Morris <rgm@gnu.org>
19042
19043 * progmodes/f90.el (f90-critical-indent): New option.
19044 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
19045 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
19046 (f90-mode): Doc fix.
19047 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
19048 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
19049 (f90-beginning-of-block, f90-next-block, f90-indent-region)
19050 (f90-match-end): Handle block, critical.
19051
eefff499
GM
190522011-06-25 Glenn Morris <rgm@gnu.org>
19053
f6ba4cc9
GM
19054 * calendar/diary-lib.el (diary-included-files): Doc fix.
19055 (diary-include-files): New function, extracted from
19056 diary-include-other-diary-files and diary-mark-included-diary-files.
19057 (diary-include-other-diary-files, diary-mark-included-diary-files):
19058 Just call diary-include-files.
19059 (diary-mark-entries): Reset diary-included-files on first call.
19060
16712304
GM
19061 * calendar/diary-lib.el (diary-mark-entries)
19062 (diary-mark-included-diary-files):
19063 Visit included diary-files in temp buffers.
19064
5d8e0d43
GM
19065 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
19066 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
19067 (f90-start-block-re, f90-imenu-generic-expression)
19068 (f90-looking-at-program-block-start, f90-no-block-limit):
19069 Add support for submodules.
19070
ccf7a5d5
GM
19071 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
19072 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 19073
11fdef7d 190742011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
19075
19076 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
19077 buffer-file-type before setting its value, to avoid disastrous
eefff499 19078 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 19079
74f53697
JB
190802011-06-25 Juanma Barranquero <lekktu@gmail.com>
19081
19082 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
19083
19084 * ses.el (ses-unload-function):
19085 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
19086
19087 * proced.el (proced-unload-function):
19088 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
19089
18a4ce5e
AR
190902011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
19091
19092 * server.el (server-create-window-system-frame): Add parameters arg.
19093 (server-process-filter): Doc fix. Handle frame-parameters.
19094
519d22cc
JB
190952011-06-25 Juanma Barranquero <lekktu@gmail.com>
19096
19097 Fix bug#8730, bug#8781.
19098
19099 * loadhist.el (unload--set-major-mode): New function.
19100 (unload-feature): Use it.
19101
19102 * progmodes/python.el (python-after-info-look): Add autoload cookie.
19103 (python-unload-function): New function.
19104
c206f5b0
SM
191052011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
19106
19107 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
19108
f9ad64f3
GS
191092011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
19110
19111 * net/browse-url.el (browse-url-firefox-program): Add icecat to
19112 the candidates list.
19113
7d0da90e
JB
191142011-06-24 Juanma Barranquero <lekktu@gmail.com>
19115
19116 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
19117
14b4e83d
RS
191182011-06-23 Richard Stallman <rms@gnu.org>
19119
19120 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
19121 (rmail-variables): Set next-error-move-function.
19122 (rmail-what-message): Take argument POS.
19123 (rmail-next-error-move): New function.
19124
273d2baf
SM
191252011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
19126
19127 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
19128 messages for adjacent non-terminals.
19129
56c2cc9a
RS
191302011-06-23 Richard Stallman <rms@gnu.org>
19131
19132 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 19133 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
19134 (rmail-start-mail): Don't specify use of rmail-mail-return;
19135 that's done by mail-bury now.
19136 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 19137
d59eb518
MA
191382011-06-23 Michael Albinus <michael.albinus@gmx.de>
19139
19140 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
19141 SIZE is a number.
19142
02cfc6d6
MR
191432011-06-23 Martin Rudalics <rudalics@gmx.at>
19144
19145 * window.el (get-lru-window, get-mru-window)
19146 (get-largest-window): Never return a minibuffer window.
19147 (display-buffer-pop-up-window): Fix a bug that could lead to
19148 reusing the minibuffer window.
19149 (display-buffer): Pass original specifier argument to
19150 display-buffer-function instead of the normalized one.
19151 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
19152
4e323265
LL
191532011-06-22 Leo Liu <sdl.web@gmail.com>
19154
19155 * minibuffer.el (completing-read-function)
1f9f395d 19156 (completing-read-default): Move from minibuf.c.
4e323265 19157
7a70468f
RS
191582011-06-22 Richard Stallman <rms@gnu.org>
19159
50718fc2
RS
19160 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
19161 to Rmail even if not started by a special Rmail command.
19162
7a70468f
RS
19163 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
19164 Copy the buffer currently showing just one message.
19165
297dde5a
RW
191662011-06-22 Roland Winkler <winkler@gnu.org>
19167
19168 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
19169 (bibtex-clean-entry): First delete the old key so that a
19170 customized algorithm for generating the new key does not get
19171 confused by the old key.
19172 (bibtex-url): Obey regexp of first step.
19173 (bibtex-search-entries): Do not use add-to-list with local
19174 list-var.
19175
97bb1093
LMI
191762011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
19177
19178 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
19179 stored a user name, then query for the password first, instead of
19180 waiting for SMTP to give an error message and the trying again.
19181
1c0f1a19
JD
191822011-06-22 Lawrence Mitchell <wence@gmx.li>
19183
19184 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
19185 BUFFER in call-process.
19186
396f7c9d
LMI
191872011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
19188
19189 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
19190 QUIT twice.
ddb7ffee
LMI
19191 (smtpmail-try-auth-methods): Require user name and password from
19192 auth-source.
396f7c9d 19193
8998d1b3
MR
191942011-06-22 Martin Rudalics <rudalics@gmx.at>
19195
19196 * window.el (display-buffer-default-specifiers)
19197 (display-buffer-alist): Remove entries for pop-up-frame-alist.
19198 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 19199 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
19200
19201 * frame.el (pop-up-frame-alist, pop-up-frame-function)
19202 (special-display-frame-alist, special-display-popup-frame):
19203 Remove duplicate declarations. These are now in window.el.
19204
4ea31e07
LMI
192052011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
19206
c9d29fb8
SM
19207 * mail/smtpmail.el (smtpmail-via-smtp):
19208 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
19209 server supports it. SMTP servers that support STARTTLS commonly
19210 require it.
19211
19212 * net/network-stream.el (network-stream-open-starttls): Support
19213 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 19214 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 19215
95f41d9a
LMI
19216 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
19217 upgrades with `open-network-stream', and rely solely on
19218 auth-source for all credentials. Big changes throughout the file,
19219 but in particular:
c9d29fb8
SM
19220 (smtpmail-auth-credentials): Remove.
19221 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
19222 (smtpmail-via-smtp): Check for servers saying they want AUTH after
19223 MAIL FROM, too.
95f41d9a 19224
c9d29fb8
SM
19225 * net/network-stream.el (network-stream-open-starttls):
19226 Provide support for client certificates both for external and built-in
4ea31e07
LMI
19227 STARTTLS.
19228 (auth-source): Require.
19229 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
19230 (network-stream-certificate): Change cert-cert to cert and
19231 cert-key to key.
4ea31e07 19232
065ec2c7
MA
192332011-06-21 Michael Albinus <michael.albinus@gmx.de>
19234
19235 * net/tramp-cache.el (top): Don't load the persistency file when
19236 "emacs -Q" has been called.
19237
cd93b359
DR
192382011-06-21 Tim Harper <timcharper@gmail.com>
19239
d8e4b68b
JB
19240 * term/ns-win.el (ns-initialize-window-system):
19241 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
19242 resource to NO as it is not yet supported by the NS port.
19243
ae9c0411
JB
192442011-06-21 Juanma Barranquero <lekktu@gmail.com>
19245
19246 * misc.el (list-dynamic-libraries--refresh): Compute header here...
19247 (list-dynamic-libraries): ...not here.
19248
7f3f739f
LL
192492011-06-21 Leo Liu <sdl.web@gmail.com>
19250
19251 * subr.el (sha1): Implement sha1 using secure-hash.
19252
327c8fb1
MR
192532011-06-21 Martin Rudalics <rudalics@gmx.at>
19254
19255 * window.el (display-buffer-alist): In default value do not
19256 enforce searching a window on any but the selected frame.
19257 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
19258 (display-buffer-select-window): Remove function.
19259 (display-buffer-in-window): When a window on another frame gets
19260 reused, do not select it any more but just raise its frame if
19261 necessary (Bug#8851) and (Bug#8856).
19262 (display-buffer-normalize-options): Handle pop-up-frames related
19263 options more faithfully.
19264 (pop-to-buffer): Don't rely on `display-buffer' selecting the
19265 window if it is on another frame.
c9d29fb8
SM
19266 (display-buffer-alist, display-buffer-default-specifiers):
19267 Don't make new frame unsplittable by default.
9e9de014
MR
19268 (display-buffer-normalize-argument): Fix doc-string typo and use
19269 'same-frame-other-window instead of 'other-window when associating
19270 with display-buffer-macro-specifiers.
327c8fb1 19271
7cf3f556
VB
192722011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
19273
19274 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
19275 New functions.
19276 (5x5-mode-map, 5x5-mode-menu): Bind them.
19277 (5x5-draw-grid): Tweak the solver's rendering.
19278
60a406cf
SM
192792011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
19280
19281 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
19282 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
19283
d8e4b68b 192842011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
19285
19286 * menu-bar.el: Use function variable instead of switch-to-buffer.
19287 (menu-bar-select-buffer-function): New variable.
60a406cf 19288 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 19289
478d6f95
SM
192902011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
19291
19292 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
19293 variable's status.
19294
ca530739
JD
192952011-06-20 Jan Djärv <jan.h.d@swipnet.se>
19296
19297 * x-dnd.el (x-dnd-version-from-flags)
19298 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
19299 and long as number (Bug#8899).
19300 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
19301
bcd70d97
SM
193022011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
19303
60a406cf 19304 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
19305 (completion-try-completion, completion-all-completions): Compute the
19306 metadata argument if it's missing; make it optional (bug#8795).
19307
60a406cf 19308 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
19309 (widget-complete): Use new :completion-function property.
19310 (widget-completions-at-point): New function.
19311 (default): Use :completion-function instead of :complete.
60a406cf
SM
19312 (widget-default-completions): Rename from widget-default-complete;
19313 Rewrite.
bcd70d97
SM
19314 (widget-string-complete, widget-file-complete, widget-color-complete):
19315 Remove functions.
19316 (file, symbol, function, variable, coding-system, color):
19317 * international/mule-cmds.el (default-input-method, charset)
19318 (language-info-custom-alist):
19319 * cus-edit.el (face): Use new property :completions.
19320
19321 * progmodes/pascal.el (pascal-completions-at-point): New function.
19322 (pascal-mode): Use it.
19323 (pascal-mode-map): Use completion-at-point.
19324 (pascal-toggle-completions): Make obsolete.
19325 (pascal-complete-word, pascal-show-completions):
19326 * progmodes/octave-mod.el (octave-complete-symbol):
19327 Redefine as obsolete alias.
19328 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
19329 Signal absence of completion info for old Octave,
19330 (inferior-octave-complete): Redefine as obsolete alias.
19331 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
19332 (meta-completions-at-point): Rename from meta-complete-symbol and
19333 adapt it for use on completion-at-point-functions.
19334 (meta-common-mode): Use it.
19335 (meta-looking-at-backward, meta-match-buffer): Remove.
19336 (meta-complete-symbol): Redefine as obsolete alias.
19337 (meta-common-mode-map): Use completion-at-point.
19338 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
19339 (makefile-mode-map): Use completion-at-point.
19340 (makefile-completions-at-point): Rename from makefile-complete and
19341 adapt it for use on completion-at-point-functions.
19342 (makefile-mode): Use it.
19343 (makefile-complete): Redefine as obsolete alias.
19344
aebf69c8
DD
193452011-06-20 Deniz Dogan <deniz@dogan.se>
19346
19347 * net/rcirc.el: Delete trailing whitespaces once and for all.
19348
bfbbb27d
DC
193492011-06-20 Daniel Colascione <dan.colascione@gmail.com>
19350
19351 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
19352
d264a46b
CY
193532011-06-19 Chong Yidong <cyd@stupidchicken.com>
19354
4ca009e5
CY
19355 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
19356
d264a46b
CY
19357 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
19358
fbf5b3ce
MR
193592011-06-19 Martin Rudalics <rudalics@gmx.at>
19360
19361 * window.el (display-buffer-other-window-means-other-frame):
19362 Call display-buffer-normalize-alist.
19363 (display-buffer-normalize-specifiers-1): Rename to
19364 display-buffer-normalize-argument. New argument other-frame.
19365 Rewrite.
19366 (display-buffer-normalize-specifiers-2): Rename to
19367 display-buffer-normalize-options.
19368 (display-buffer-normalize-alist-1): New function.
19369 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
19370 display-buffer-normalize-alist.
19371 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
19372 (display-buffer-normalize-options-inhibit): New variable.
19373 (display-buffer-normalize-specifiers): Rewrite calling
19374 display-buffer-normalize-alist,
19375 display-buffer-normalize-argument, and
19376 display-buffer-normalize-options. Don't call the latter if
19377 display-buffer-normalize-options-inhibit is non-nil.
19378 (frame-auto-delete): New option.
19379 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
19380 (window-list-no-nils, window-state-ignored-parameters)
19381 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
19382 (window-state-put-1, window-state-put-2, window-state-put):
19383 New functions.
9a028c23
MR
19384 (display-buffer-normalize-options): Move special-display-p group
19385 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 19386
6d10d800
CY
193872011-06-18 Chong Yidong <cyd@stupidchicken.com>
19388
6420d28b
CY
19389 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
19390 groups (Bug#8776).
19391 (rx-submatch-n): New function.
19392 (rx): Document it.
19393
ddb8b596
CY
19394 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
19395 (Bug#8768).
19396
19397 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
19398
77080289
CY
19399 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
19400
61dfb316
CY
19401 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
19402 anytime existing face settings are present (Bug#8889).
19403
6d10d800
CY
19404 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
19405 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
19406 Remove unused argument.
19407
be3fb2b8
MR
194082011-06-18 Martin Rudalics <rudalics@gmx.at>
19409
bcd70d97
SM
19410 * window.el (display-buffer-default-specifiers):
19411 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
19412 pop-up-window-min-width, and another reuse-window specifier
19413 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
19414 (display-buffer-normalize-specifiers-2):
19415 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
19416 pop-up-windows is unset. Add a reuse-window specifier for the
19417 case popping up a new window fails.
19418 (special-display-popup-frame): Remove double quoting.
28dec25a 19419 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 19420
1c6d8c76
SM
194212011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
19422
19423 * shell.el (shell-completion-vars): Set pcomplete-termination-string
19424 according to comint-completion-addsuffix.
19425
19426 * pcomplete.el: Convert to lexical binding and fix bug#8819.
19427 (pcomplete-suffix-list): Mark as obsolete.
19428 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
19429 pcomplete-seen in the closure.
19430 (pcomplete-comint-setup): Setup completion-at-point as well.
19431 (pcomplete--entries): New function.
19432 (pcomplete--env-regexp): New var.
19433 (pcomplete-entries): Rewrite to work with partial-completion and
19434 without relying on pcomplete-suffix-list.
19435 (pcomplete-pare-list): Remove, unused.
19436
25aef8b8
MR
194372011-06-17 Martin Rudalics <rudalics@gmx.at>
19438
19439 * window.el (display-buffer-alist): Set pop-up-window-min-height
19440 and pop-up-window-min-width in default value. Reported by
19441 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
19442 other-window-means-other-frame.
19443 (display-buffer-macro-specifiers): Comment out entry for
19444 other-window specifier.
19445 (display-buffer-other-window-means-other-frame): New function.
19446 (display-buffer-normalize-specifiers-1): New arguments
19447 buffer-name and label. Treat other-window case specially.
19448 (display-buffer-normalize-specifiers-2): Treat other-window case
19449 specially.
19450 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
19451 (display-buffer-normalize-specifiers):
19452 Call display-buffer-normalize-specifiers-3.
25aef8b8 19453
dbad4f69
MR
194542011-06-17 Martin Rudalics <rudalics@gmx.at>
19455
19456 * window.el (same-window-p): Fix two typos introduced when
19457 adding with-no-warnings.
d1067961
MR
19458 (display-buffer-normalize-specifiers-1): Don't check
19459 pop-up-frames for 'unset initialization.
19460 (display-buffer-normalize-specifiers-2): Major rewrite using
19461 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
19462 (pop-up-frames, display-buffer-reuse-frames)
19463 (display-buffer-mark-dedicated): Don't initialize to 'unset.
19464 Suggested by David Engster <deng@randomsample.de>.
19465 (even-window-heights): Initialize to 'unset.
19466 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
19467 (display-buffer-macro-specifiers): Don't pop up a new frame in the
19468 other window case.
dbad4f69 19469
9b9c9e3a
MR
194702011-06-16 Martin Rudalics <rudalics@gmx.at>
19471
bcd70d97
SM
19472 * window.el (display-buffer-normalize-specifiers-1):
19473 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 19474 second argument of display-buffer (Bug#8865).
981d5c09
MR
19475 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
19476 (switch-to-buffer-other-window-same-frame)
19477 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
19478 Adams (Bug#8875).
9c2755e9
MR
19479 (display-buffer): Don't check noninteractive when calling
19480 display-buffer-pop-up-frame.
19481 (display-buffer-pop-up-frame): Never pop up a frame in
19482 noninteractive mode (Bug#8857).
67222e1d
MR
19483 (enlarge-window, shrink-window): Don't report an error when the
19484 window can't be resized as requested (Bug#8862).
9b9c9e3a 19485
2b75be67
SM
194862011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
19487
9ffdd3ba
SM
19488 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
19489
cb581a67
SM
19490 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
19491
2b75be67
SM
19492 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
19493
8c0e3589
AM
194942011-06-15 Alan Mackenzie <acm@muc.de>
19495
cb581a67
SM
19496 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
19497 for declarators, disable knr checking to speed up for normal files.
19498 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 19499
b96e6cde
LMI
195002011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
19501
4bba86e6
LMI
19502 * net/network-stream.el (open-network-stream): Add the keyword
19503 :always-query-capabilities for the case where you want to force a
19504 `plain' network connection, but the protocol still requires the
19505 capabilitiy command (i.e., SMTP and EHLO).
19506
2b75be67 19507 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
19508 consistency with other `-live-p' functions.
19509
efdcdbf8
SM
195102011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
19511
19512 * window.el (same-window-buffer-names, same-window-regexps)
19513 (special-display-frame-alist, special-display-popup-frame)
19514 (special-display-function, special-display-buffer-names)
19515 (special-display-regexps, pop-up-frame-alist)
19516 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
19517 (pop-up-windows, split-window-preferred-function)
19518 (split-height-threshold, split-width-threshold, even-window-heights)
19519 (display-buffer-mark-dedicated): Don't encourage the use of
19520 display-buffer-alist from Elisp code.
19521
c5cde042
DN
195222011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
19523
19524 * progmodes/python.el (python-mode): Derive from prog-mode.
19525 * progmodes/ps-mode.el (ps-mode):
19526 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 19527 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
19528 * progmodes/ld-script.el (ld-script-mode): Likewise.
19529
baa1c9ab
MR
195302011-06-15 Martin Rudalics <rudalics@gmx.at>
19531
19532 * window.el (display-buffer-alist): Trim default value to avoid
19533 popping up a new frame (Bug#8857) or reusing an arbitrary window
19534 on another frame.
19535 (display-buffer): Do not fall back on popping up a new frame in
19536 batch mode (Bug#8857).
19537
c5dd5a51
CY
195382011-06-14 Chong Yidong <cyd@stupidchicken.com>
19539
19540 * cus-theme.el (describe-theme-1): Use custom-theme-p.
19541 (custom-theme-summary): New function.
19542 (customize-themes): Use it.
19543
d647b7c4
GM
195442011-06-13 Glenn Morris <rgm@gnu.org>
19545
19546 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
19547
9481c002
MR
195482011-06-13 Martin Rudalics <rudalics@gmx.at>
19549
357f93d2
MR
19550 * help.el (help-window): Remove variable.
19551 (help-window-point-marker, temp-buffer-max-height)
19552 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
19553 (help-print-return-message): Don't set help-window.
19554 (resize-temp-buffer-window): Rewrite cod eand doc-string.
19555 (help-window-setup-finish): Remove.
19556 (help-window-display-message, help-window-setup)
19557 (with-help-window): Major rewrite based on new
19558 display-buffer-window variable.
19559
19560 * help-mode.el (help-mode-finish): Remove help-window related
19561 code.
19562
19563 * view.el (view-exits-all-viewing-windows): Remove reference to
19564 view-return-to-alist in doc-string.
19565 (view-return-to-alist): Make obsolete.
19566 (view-buffer): Call pop-to-buffer-same-window and remove
19567 undo-window code.
19568 (view-buffer-other-window): Call pop-to-buffer-other-window and
19569 simplify code. Ignore second argument.
19570 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
19571 simplify code. Ignore second argument.
19572 (view-return-to-alist-update): Make obsolete.
19573 (view-mode-enter): Rename second argument to QUIT-RESTORE.
19574 Rewrite using quit-restore window parameters.
2b75be67
SM
19575 (view-mode-exit): Rename second argument to EXIT-ONLY.
19576 Rewrite using quit-restore-window.
357f93d2
MR
19577 (View-exit, View-exit-and-edit, View-leave, View-quit)
19578 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
19579 appropriate arguments.
19580 (view-end-message): Use quit-restore window parameter.
19581
9481c002
MR
19582 * window.el (display-buffer-function): Rewrite doc-string.
19583 (display-buffer-window, display-buffer-alist): New variables.
19584 (display-buffer-split-specifiers)
19585 (display-buffer-side-specifiers)
19586 (display-buffer-macro-specifiers): New constants.
19587 (display-buffer-even-window-sizes, display-buffer-set-height)
19588 (display-buffer-set-width, display-buffer-select-window)
19589 (display-buffer-in-window, display-buffer-reuse-window)
19590 (display-buffer-split-window-1, display-buffer-split-window)
19591 (display-buffer-split-atom-window, display-buffer-pop-up-window)
19592 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
19593 (display-buffer-in-side-window, normalize-buffer-to-display)
19594 (display-buffer-normalize-specifiers-1)
19595 (display-buffer-normalize-specifiers-2)
2b75be67
SM
19596 (display-buffer-normalize-specifiers, display-buffer-frame):
19597 New functions.
9481c002
MR
19598 (display-buffer): Major rewrite.
19599 (display-buffer-other-window, display-buffer-other-frame)
19600 (pop-to-buffer, switch-to-buffer-other-window)
19601 (switch-to-buffer-other-frame): Rewrite.
19602 (display-buffer-same-window, display-buffer-same-frame)
19603 (display-buffer-same-frame-other-window)
19604 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
19605 (pop-to-buffer-other-window)
19606 (pop-to-buffer-same-frame-other-window)
19607 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
19608 (switch-to-buffer-other-window-same-frame): New functions.
19609 (same-window-p, special-display-p): Rewrite disabling warnings.
19610 Make obsolete.
19611 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
19612 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
19613 Make obsolete
19614 (same-window-buffer-names, same-window-regexps)
19615 (special-display-frame-alist, special-display-popup-frame)
19616 (special-display-function, special-display-buffer-names)
19617 (special-display-regexps, pop-up-frame-alist)
19618 (pop-up-frame-function, split-window-preferred-function)
19619 (split-height-threshold, split-width-threshold)
19620 (even-window-heights): Make obsolete.
19621
9db51aca
GM
196222011-06-12 Glenn Morris <rgm@gnu.org>
19623
19624 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 19625 Misc simplifications.
9db51aca 19626
39cffb44
MR
196272011-06-12 Martin Rudalics <rudalics@gmx.at>
19628
19629 * window.el (window-safely-shrinkable-p): Restore function which
19630 was inadvertently removed in change from 2011-06-11. Declare as
19631 obsolete.
19632
2b75be67
SM
19633 * calendar/calendar.el (calendar-generate-window):
19634 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
19635 window-safely-shrinkable-p.
19636
a8955be7
GM
196372011-06-12 Glenn Morris <rgm@gnu.org>
19638
19639 * progmodes/fortran.el (fortran-mode-syntax-table):
19640 * progmodes/f90.el (f90-mode-syntax-table):
19641 Set % to punctuation. (Bug#8820)
19642 (f90-find-tag-default): Remove, no longer needed.
19643
f0d4059d
DC
196442011-06-12 Daniel Colascione <dan.colascione@gmail.com>
19645
19646 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
19647
1100a63c
CY
196482011-06-11 Chong Yidong <cyd@stupidchicken.com>
19649
19650 * image.el (image-animated-p): Return animation delay in seconds.
19651 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
19652 (image-animate-timeout): Remove DELAY argument. Don't assume
19653 every subimage has the same delay; get it from image-animated-p.
19654 (image-animate): Caller changed.
19655
def722bf
MA
196562011-06-11 Michael Albinus <michael.albinus@gmx.de>
19657
19658 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
19659 to ignored backtrace functions.
19660
0a2bb1a9
GM
196612011-06-11 Glenn Morris <rgm@gnu.org>
19662
19663 * calendar/appt.el (appt-disp-window-function): Doc fix.
19664 (appt-check): Handle overlapping appointments. (Bug#8337)
19665
6198ccd0
MR
196662011-06-11 Martin Rudalics <rudalics@gmx.at>
19667
19668 * window.el (window-tree-1, window-tree): New functions, moving
19669 the latter to window.el.
19670 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
19671 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
19672 (bw-refresh-edges): Remove.
19673 (balance-windows-1, balance-windows-2): New functions.
19674 (balance-windows): Rewrite in terms of window tree functions,
19675 balance-windows-1 and balance-windows-2.
19676 (bw-adjust-window): Remove.
19677 (balance-windows-area-adjust): New function with functionality of
19678 bw-adjust-window but using resize-window.
2b75be67
SM
19679 (set-window-text-height): Rewrite doc-string.
19680 Use normalize-live-window and resize-window.
19681 (enlarge-window-horizontally, shrink-window-horizontally):
19682 Rename argument to DELTA.
6198ccd0
MR
19683 (window-buffer-height): New function.
19684 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
19685 Rewrite using new window resize routines.
2b75be67
SM
19686 (kill-buffer-and-window, mouse-autoselect-window-select):
19687 Use ignore-errors instead of condition-case.
6198ccd0
MR
19688 (quit-window): Call delete-frame instead of delete-windows-on
19689 for the only buffer on frame.
19690
9397e56f
MR
196912011-06-10 Martin Rudalics <rudalics@gmx.at>
19692
19693 * loadup.el (top-level): Load window before files for the sake
19694 of replace-buffer-in-windows.
19695
19696 * files.el (read-buffer-to-switch)
19697 (switch-to-buffer-other-window)
2b75be67
SM
19698 (switch-to-buffer-other-frame, display-buffer-other-frame):
19699 Move to window.el.
9397e56f
MR
19700
19701 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
19702 (previous-buffer): Move to window.el.
19703
19704 * bindings.el (unbury-buffer): Move to window.el.
19705
19706 * window.el (delete-other-windows-vertically): Move after
19707 definition of delete-other-windows.
19708 (other-window, delete-windows-on, replace-buffer-in-windows):
19709 Move here from window.c.
19710 (record-window-buffer, unrecord-window-buffer)
19711 (set-window-buffer-start-and-point, switch-to-prev-buffer)
19712 (switch-to-next-buffer): New functions.
19713 (get-next-valid-buffer, last-buffer, next-buffer): Move here
19714 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
19715 (previous-buffer): Move here from simple.el.
19716 Call switch-to-prev-buffer.
9397e56f
MR
19717 (bury-buffer): Move here from buffer.c. Switch to previous
19718 buffer when window cannot be deleted.
19719 (unbury-buffer): Move here from bindings.el.
19720 (ctl-x-map): Move binding for other-window from window.c to
19721 here.
19722 (read-buffer-to-switch, switch-to-buffer-other-window)
19723 (switch-to-buffer-other-frame): Move here from files.el.
19724 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
19725 (switch-to-buffer): Move here from buffer.c.
19726 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 19727
562dd5e9
MR
197282011-06-10 Martin Rudalics <rudalics@gmx.at>
19729
19730 * window.el (window-min-height, window-min-width): Move here
19731 from window.c. Add defcustoms and rewrite doc-strings.
19732 (resize-mini-window, resize-window): New functions.
19733 (adjust-window-trailing-edge, enlarge-window, shrink-window):
19734 Move here from window.c.
19735 (maximize-window, minimize-window): New functions.
19736 (delete-window, delete-other-windows, split-window): Move here
19737 from window.c.
19738 (window-split-min-size): New function.
19739 (split-window-keep-point): Mention split-window-above-each-other
19740 instead of split-window-vertically.
2b75be67 19741 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
19742 Rename split-window-vertically to split-window-above-each-other
19743 and provide defalias for old definition.
19744 (split-window-side-by-side, split-window-horizontally):
19745 Rename split-window-horizontally to split-window-side-by-side
19746 and provide defalias for the old definition.
562dd5e9
MR
19747 (ctl-x-map): Move bindings for delete-window,
19748 delete-other-windows and enlarge-window here from window.c.
19749 Replace bindings for split-window-vertically and
19750 split-window-horizontally by bindings for
19751 split-window-above-each-other and split-window-side-by-side.
19752
19753 * cus-start.el (all): Remove entries for window-min-height and
19754 window-min-width. Add entries for window-splits and
19755 window-nest.
19756
f0da764a
GM
197572011-06-09 Glenn Morris <rgm@gnu.org>
19758
80675c21
GM
19759 * calendar/appt.el (appt-mode-line): New function.
19760 (appt-check, appt-disp-window): Use it.
19761
f0da764a
GM
19762 * files.el (hack-one-local-variable-eval-safep):
19763 Allow minor-modes with explicit +/-1 arguments.
19764
59f623b7
TZ
197652011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
19766
19767 * term/xterm.el (xterm): Add defgroup.
19768 (xterm-extra-capabilities): Add defcustom to supply known xterm
19769 capabilities, skip querying them, or query them (default).
19770 (terminal-init-xterm): Use it.
19771 (terminal-init-xterm-modify-other-keys): New function to set up
19772 modifyOtherKeys support to simplify `terminal-init-xterm'.
19773
9aab8e0d
MR
197742011-06-09 Martin Rudalics <rudalics@gmx.at>
19775
19776 * window.el (resize-window-reset, resize-window-reset-1)
19777 (resize-subwindows-skip-p, resize-subwindows-normal)
19778 (resize-subwindows, resize-other-windows, resize-this-window)
19779 (resize-root-window, resize-root-window-vertically)
19780 (window-deletable-p, window-or-subwindow-p)
19781 (frame-root-window-p): New functions.
19782
e8b08aee
GM
197832011-06-09 Glenn Morris <rgm@gnu.org>
19784
19785 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
19786 (ange-ftp-get-files): Use it.
19787
254c37a5
AK
197882011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
19789
19790 * mail/sendmail.el (mail-recover-1, mail-recover):
19791 * files.el (recover-file, recover-session):
19792 Handle dired-listing-switches not being just a single short option.
19793
35d7dbd3
GM
197942011-06-09 Glenn Morris <rgm@gnu.org>
19795
19796 * calendar/appt.el (appt-display-message, appt-disp-window):
19797 Handle lists of appointments.
19798
387522b2
MR
197992011-06-08 Martin Rudalics <rudalics@gmx.at>
19800
2b75be67
SM
19801 * window.el (one-window-p): Move down in code.
19802 Rewrite doc-string.
19803 (window-current-scroll-bars): Rewrite doc-string.
19804 Normalize live window argument.
387522b2
MR
19805 (walk-windows, get-window-with-predicate, count-windows):
19806 Rewrite doc-string. Use window-list-1.
19807 (window-in-direction-2, window-in-direction, get-mru-window):
19808 New functions.
19809
d8e4b68b 198102011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
19811
19812 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
19813 Doc fix (Bug#8713).
19814
198152011-06-08 Chong Yidong <cyd@stupidchicken.com>
19816
19817 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
19818
198192011-06-08 Juanma Barranquero <lekktu@gmail.com>
19820
19821 * loadhist.el (unload-feature-special-hooks):
19822 Add `comint-output-filter-functions'.
19823
0de12c52
IK
198242011-06-08 Ivan Kanis <gnu@kanis.fr>
19825
19826 * calendar/appt.el (appt-check): Move some initializations into the let.
19827
f3d1777e
MR
198282011-06-08 Martin Rudalics <rudalics@gmx.at>
19829
19830 * window.el (window-height): Defalias to window-total-height.
19831 (window-width): Defalias to window-body-width.
19832
18af70d0
CY
198332011-06-07 Chong Yidong <cyd@stupidchicken.com>
19834
19835 * image-mode.el (image-toggle-animation): New command.
19836 (image-mode-map): Bind it to RET.
19837 (image-mode): Update message.
19838 (image-toggle-display-image): Avoid a spurious cache flush.
19839 (image-transform-rotation): Doc fix.
19840 (image-transform-properties): Return quickly in the normal case.
19841 (image-animate-loop): Rename from image-animate-max-time.
19842
2b75be67 19843 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
19844 (create-animated-image): Remove unnecessary function.
19845 (image-animate): Rename from image-animate-start. New arg.
2b75be67 19846 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
19847 (image-animate-timer): Use car-safe.
19848 (image-animate-timeout): Rename argument.
19849
190b47e6
MR
198502011-06-07 Martin Rudalics <rudalics@gmx.at>
19851
19852 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
19853 window.c. Rename first argument to ALL-FRAMES.
19854 Rephrase doc-strings.
19855 (get-buffer-window-list): Rewrite using window-list-1.
19856 Rephrase doc-string.
a1511caf
MR
19857 (window-safe-min-height, window-safe-min-width): New constants.
19858 (window-size-ignore, window-min-size, window-min-size-1)
19859 (window-sizable, window-sizable-p, window-size-fixed-1)
19860 (window-size-fixed-p, window-min-delta-1, window-min-delta)
19861 (window-max-delta-1, window-max-delta, window-resizable)
19862 (window-resizable-p, window-total-height, window-total-width)
19863 (window-body-width): New functions.
19864 (window-full-height-p, window-full-width-p): Rewrite using
19865 window-total-size.
19866 (window-body-height): Rewrite using window-body-size.
190b47e6 19867
85cc1f11
MR
198682011-06-06 Martin Rudalics <rudalics@gmx.at>
19869
19870 * window.el (window-right, window-left, window-child)
19871 (window-child-count, window-last-child, window-any-p)
19872 (normalize-live-buffer, normalize-live-frame)
19873 (normalize-any-window, normalize-live-window)
19874 (window-iso-combination-p, window-iso-combined-p)
19875 (window-iso-combinations)
19876 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
19877 (windows-with-parameter, window-with-parameter)
19878 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
19879 (window-atom-check, window-side-check, window-check):
19880 New functions.
85cc1f11
MR
19881 (ignore-window-parameters, window-sides, window-sides-vertical)
19882 (window-sides-slots): New variables.
19883 (window-size-fixed): Move down in code. Minor doc-string fix.
19884
e7156492
AS
198852011-06-05 Andreas Schwab <schwab@linux-m68k.org>
19886
19887 * comint.el (comint-dynamic-complete-as-filename)
19888 (comint-dynamic-complete-filename): Correctly call
19889 completion-in-region.
19890
7e821d0d
DD
198912011-06-05 Deniz Dogan <deniz@dogan.se>
19892
19893 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
19894 in last change.
19895
ac09b8a1
DD
198962011-06-05 Deniz Dogan <deniz@dogan.se>
19897
19898 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
19899 (rcirc): Use it to prompt for encryption.
19900
34699b85
RW
199012011-06-05 Roland Winkler <winkler@gnu.org>
19902
19903 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
19904 (bibtex-search-entries): New command bound to C-c C-a.
19905 (bibtex-display-entries): New function.
19906
004dedd3
RW
199072011-06-05 Roland Winkler <winkler@gnu.org>
19908
19909 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
19910 (bibtex-insert-kill): After yanking insert newline if necessary.
19911 (bibtex-initialize): Call bibtex-string-files-init only once.
19912 (bibtex-mode): Do not call easy-menu-add.
19913 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
19914 (bibtex-yank): Set arg properly if nil.
19915
022fe7ce
RW
199162011-06-05 Roland Winkler <winkler@gnu.org>
19917
2b75be67
SM
19918 * textmodes/bibtex.el (bibtex-search-entry-globally):
19919 New variable.
022fe7ce
RW
19920 (bibtex-search-entry): Use it.
19921
b7c3692a
RW
199222011-06-05 Roland Winkler <winkler@gnu.org>
19923
19924 * textmodes/bibtex.el (bibtex-entry-format): New option
19925 sort-fields.
19926 (bibtex-format-entry, bibtex-reformat): Honor this option.
19927 (bibtex-parse-entry): Return fields in proper order.
19928
8eda563d
JB
199292011-06-05 Juanma Barranquero <lekktu@gmail.com>
19930
19931 * doc-view.el (doc-view-remove-if): Move computation of result out
19932 of `dolist' to silence misleading lexical-binding warning.
19933
7dbe3dbc
CY
199342011-06-04 Chong Yidong <cyd@stupidchicken.com>
19935
19936 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
19937 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
19938
0c33dd17
MA
199392011-06-04 Michael Albinus <michael.albinus@gmx.de>
19940
19941 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
19942 "SunOS 5.10".
19943
f8f91c2b
MA
199442011-06-04 Michael Albinus <michael.albinus@gmx.de>
19945
19946 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
19947 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
19948 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
19949 (tramp-parse-putty):
19950 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
19951 (tramp-completion-function-alist-ssh)
19952 (tramp-completion-function-alist-telnet)
19953 (tramp-completion-function-alist-su)
19954 (tramp-completion-function-alist-putty): Set `tramp-autoload'
19955 cookie.
19956
19957 * net/tramp-ftp.el:
19958 * net/tramp-sh.el:
19959 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
19960 load "tramp.el" `tramp-set-completion-function'.
19961
e17d9003
SM
199622011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
19963
19964 * shell.el: Require and use pcomplete.
19965 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
19966 (shell-completion-vars): Set pcomplete-default-completion-function.
19967
6c4cab03
DD
199682011-06-04 Deniz Dogan <deniz@dogan.se>
19969
19970 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
19971 `memq' (Bug#8799).
19972
ea9fafe0
SM
199732011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
19974
19975 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
19976
b3e945d3
JB
199772011-06-02 Juanma Barranquero <lekktu@gmail.com>
19978
19979 * bs.el (bs--mark-unmark, bs--nth-wrapper):
19980 * mpc.el (mpc-select-extend, mpc-songpointer-context):
19981 * vc/log-view.el (log-view-beginning-of-defun):
19982 * vc/smerge-mode.el (smerge-apply-resolution-patch)
19983 (smerge-refine-forward, smerge-refine-chopup-region):
19984 Silence warning for unused `dotimes' counter variables.
19985
7d520089
SM
199862011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
19987
19988 * net/tramp.el (tramp-with-progress-reporter): Rename from
19989 with-progress-reporter. Use `declare'.
19990 * net/tramp-smb.el:
19991 * net/tramp-sh.el:
19992 * net/tramp-gvfs.el: Update all uses.
19993
a1c2400f
JB
199942011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
19995
19996 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
19997 buffer isn't killed before making it current.
19998
2403c841
SM
199992011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
20000
20001 Silence various byte-compiler warnings.
20002 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
20003 `access-type' and new obsolescence format.
20004 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
20005 new format.
20006 (byte-compile-check-variable): New `access-type' argument.
20007 Only warn if the access-type is obsolete.
20008 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
20009 (byte-compile-variable-set): Adjust callers.
20010 * help-fns.el (describe-variable): Adjust to new obsolescence format.
20011 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
20012 setting it as obsolete.
20013 * simple.el (minibuffer-completing-symbol):
20014 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
20015 access as obsolete.
20016 * minibuffer.el (minibuffer-completing-file-name): Don't make it
20017 obsolete yet.
20018 * international/quail.el (quail-mouse-choose-completion): Remove unused
20019 code referring to obsolete var.
20020 (quail-choose-completion-string): Remove.
20021 * server.el (server-clients-with, server-kill-buffer-query-function)
20022 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
20023 * proced.el (proced-send-signal):
20024 * emacs-lisp/lisp.el (lisp-complete-symbol):
20025 Replace completion-annotate-function with completion-extra-properties.
20026
2462470b
SM
200272011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
20028
fb5b2591
SM
20029 * simple.el (goto-line): Use read-number.
20030 (overriding-map-is-bound): Remove.
20031 (saved-overriding-map): Change default.
20032 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
20033 Take the map as argument.
20034 (universal-argument, negative-argument, digit-argument): Use it.
20035 (restore-overriding-map): Adjust.
20036 (do-auto-fill): Use fill-forward-paragraph.
20037 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
20038
fd6fa53f
SM
20039 * minibuffer.el (minibuffer-inactive-mode-map): New var.
20040 (minibuffer-inactive-mode): New major mode.
20041 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
20042 the *Messages* buffer" hack.
20043 (mouse-popup-menubar): Don't burp if the event is a normal key.
20044
2462470b
SM
20045 Miscellaneous tweaks.
20046 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
20047 lexical scoping as in subr.el's dolist and dotimes.
20048 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
20049 Silence compiler warning.
20050 * thingatpt.el (forward-whitespace): Trivial coding style fix.
20051 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
20052 * international/ccl.el (ccl-compile): Trivial simplification.
20053 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
20054 * emacs-lisp/testcover.el (testcover-end): Remove spurious
20055 `printflag' argument.
20056 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
20057 Purecopy the whole obsolescence data.
20058
108bf785
LL
200592011-06-01 Leo Liu <sdl.web@gmail.com>
20060
20061 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
20062 improve doc-string as suggested by Marco Pessotto
20063 <melmothx@gmail.com>.
20064 (rcirc-print): Fix last change.
20065
30a23501
SM
200662011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
20067
20068 * minibuffer.el (complete-with-action): Return nil for the metadata and
20069 boundaries of non-functional tables.
20070 (completion-table-dynamic): Return nil for the metadata.
20071 (completion-table-with-terminator): Add default case, using
20072 complete-with-action.
20073 (completion--metadata): New function.
20074 (completion-all-sorted-completions, minibuffer-completion-help): Use it
20075 to try and avoid pathological performance problems.
20076 (completion--embedded-envvar-table): Return `category' metadata.
20077
bcd54f83
LMI
200782011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
20079
20080 * subr.el (process-alive-p): New tiny convenience function.
20081
e227544d
SM
200822011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
20083
20084 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
20085 content but also its previous major mode.
20086
e8296fdc
HE
200872011-05-31 Helmut Eller <eller.helmut@gmail.com>
20088
4d61f28d 20089 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
20090 *Backtrace* buffer when we exit with C-M-c.
20091
620c53a6
SM
200922011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
20093
20094 * minibuffer.el: Add metadata method to completion tables.
20095 (completion-category-overrides): New defcustom.
20096 (completion-metadata, completion--field-metadata)
20097 (completion-metadata-get, completion--styles)
20098 (completion--cycle-threshold): New functions.
20099 (completion-try-completion, completion-all-completions):
20100 Add `metadata' argument to choose completion-styles.
20101 (completion--do-completion): Use metadata to choose cycling.
20102 (completion-all-sorted-completions): Use metadata for sorting.
20103 Remove :completion-cycle-penalty which is not needed any more.
20104 (completion--try-word-completion): Add `metadata' argument.
20105 (minibuffer-completion-help): Check metadata for annotation function
20106 and sorting.
20107 (completion-file-name-table): Return `category' metadata.
20108 (minibuffer-completing-file-name): Make obsolete.
20109 * simple.el (minibuffer-completing-symbol): Make obsolete.
20110 * icomplete.el (icomplete-completions): Pass new `metadata' param to
20111 completion-try-completion.
20112
1257e755
SM
201132011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
20114
20115 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
20116
3767e706
LL
201172011-05-30 Leo Liu <sdl.web@gmail.com>
20118
20119 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
20120 (rcirc-print): Decode all incoming messages (bug#8744).
20121 (rcirc-decode-coding-system): Allow value nil for automatic coding
20122 system detection.
3767e706 20123
d1a5d56a
GM
201242011-06-01 Glenn Morris <rgm@gnu.org>
20125
20126 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
20127
e8cbec34
CY
201282011-05-29 Chong Yidong <cyd@stupidchicken.com>
20129
20130 * image.el (image-animate-max-time): Allow nil and t values.
20131 Default to nil.
20132 (create-animated-image): Doc fix.
20133 (image-animate-start): Remove second arg; just use
20134 image-animate-max-time.
20135 (image-animate-timeout): Doc fix. Args changed.
20136
20137 * image-mode.el (image-toggle-display-image): Ensure that the
20138 image spec passed to the animate timer is the same object as in
58179cce 20139 the buffer's display property (Bug#6981).
e8cbec34
CY
20140 (image-transform-properties): Doc fix.
20141
20142 * image.el (image-animate-max-time): Default to nil.
20143
159daf87
MR
201442011-05-29 Martin Rudalics <rudalics@gmx.at>
20145
20146 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
20147 entire buffer list (Bug#8184).
20148
d66c4c7c
CY
201492011-05-29 Chong Yidong <cyd@stupidchicken.com>
20150
20151 * image.el (imagemagick-types-inhibit)
20152 (imagemagick-register-types): Doc fix.
20153
80aec780
DD
201542011-05-29 Deniz Dogan <deniz@dogan.se>
20155
20156 * net/rcirc.el (rcirc): Use the user's stored encryption method by
20157 default.
20158
1dd3c2d9
CY
201592011-05-29 Chong Yidong <cyd@stupidchicken.com>
20160
20161 * select.el: Don't perform clipboard-manager saving in hooks;
20162 leave the hooks empty.
20163
60e56523
LL
201642011-05-28 Leo Liu <sdl.web@gmail.com>
20165
20166 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
20167 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
20168 (occur-edit-mode): New major mode (Bug#8463).
20169 (occur-after-change-function): New function.
20170 (occur-engine): Give Occur tags a read-only property.
20171
2b1e1a22
KR
201722011-05-28 Kevin Ryde <user42@zip.com.au>
20173
20174 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
20175
5d344e88
CY
201762011-05-28 Chong Yidong <cyd@stupidchicken.com>
20177
8e6ca83d
CY
20178 * bindings.el (help-echo): Make the initial non-indicator dash
20179 empty on graphical terminals (Bug#7295).
20180
5d344e88
CY
20181 * files.el (auto-mode-alist): Move config rule after the
20182 in-stripping one (Bug#8547).
20183
bfbbace7
CY
20184 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
20185
fbeba6e2
CY
20186 * startup.el (normal-splash-screen): Remove gratuitous mode-line
20187 setting (Bug#8740).
20188
60ed8c72
AA
201892011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
20190
4ac619f0
AA
20191 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
20192 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
20193 (Bug#8539).
60ed8c72 20194
23db196e
CY
201952011-05-28 Chong Yidong <cyd@stupidchicken.com>
20196
20197 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
20198
5012f24c
DK
201992011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
20200
20201 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
20202 (hs-hide-block-at-point, hs-find-block-beginning)
20203 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
20204 (Bug#8279).
20205
6a639b16
GM
202062011-05-28 Glenn Morris <rgm@gnu.org>
20207
20208 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
20209
d43eaf2c
CY
202102011-05-28 Chong Yidong <cyd@stupidchicken.com>
20211
5199bde1
CY
20212 * help-fns.el (describe-function-1): If the function is a derived
20213 major mode, print the parent mode.
20214
d43eaf2c
CY
20215 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
20216 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
20217
423428a8
SM
202182011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
20219
0ff8e1ba 20220 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 20221 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
20222 * progmodes/etags.el (tags-completion-at-point-function):
20223 * info-look.el (info-lookup-completions-at-point): Mark as
20224 non-exclusive.
20225 (info-complete): Adjust accordingly.
20226
423428a8
SM
20227 * info-look.el: Convert to lexical-binding and completion-at-point.
20228 (info-lookup-completions-at-point): New function.
20229 (info-complete): Use it and completion-in-region.
20230
b74aa22b
DA
202312011-05-28 Drew Adams <drew.adams@oracle.com>
20232
20233 * isearch.el: Let M-e start with point at the first mismatched char.
20234 (isearch-fail-pos): New function.
20235 (isearch-edit-string): Use it.
20236
66e2e71d
DK
202372011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
20238
20239 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
20240
b1890b0f 202412011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
20242
20243 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
20244 traversal functions for avl-trees.
20245 (avl-tree--stack): New struct.
20246 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
20247 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
20248 (avl-tree--do-enter): Add optional `updatefun' arg.
20249 Change return value.
eb95d01d 20250 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
20251 (avl-tree--do-delete): Add `test' and `nilflag' args.
20252 Change return value.
eb95d01d
TC
20253 (avl-tree-member): Add optional `nilflag'
20254 (avl-tree-member-p): New function.
20255 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
20256 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
20257 (avl-tree-stack-empty-p): New functions.
20258
3769ddcf
TC
20259 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
20260 avl-tree--del-balance1 and make it work both ways.
20261 (avl-tree--del-balance2): Remove.
20262 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
20263 make it work both ways.
20264 (avl-tree--enter-balance2): Remove.
20265 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
20266 New macros.
20267 (avl-tree--mapc, avl-tree-map): Add direction argument.
20268
eb95d01d 202692011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
20270
20271 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
20272
a9f737ee
CY
202732011-05-27 Chong Yidong <cyd@stupidchicken.com>
20274
20275 * select.el: Support clipboard managers with built-in function
20276 x-clipboard-manager-save, via delete-frame-functions and
20277 kill-emacs-hook.
20278 (xselect-convert-to-targets): Add MULTIPLE target to list.
20279 (xselect-convert-to-save-targets): New function.
20280
c92a1e54
KH
202812011-05-27 Kenichi Handa <handa@m17n.org>
20282
20283 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
20284 let-binding rfc2047-encode-encoded-words to nil.
20285
e145f188
GM
202862011-05-27 Glenn Morris <rgm@gnu.org>
20287
5ec8a862
GM
20288 * mail/emacsbug.el: Don't require url-util.
20289
4b29d9fb
GM
20290 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
20291
e145f188
GM
20292 * files.el (set-auto-mode):
20293 Also respect mode: entries at the end of the file. (Bug#8586)
20294
7d15102b
GM
202952011-05-26 Glenn Morris <rgm@gnu.org>
20296
98f593b8
GM
20297 * files.el (hack-local-variables-prop-line, hack-local-variables):
20298 Downcase mode names, as seems to be traditional.
27b48e63 20299 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 20300
7d15102b
GM
20301 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
20302 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
20303
51d5b4ec
JD
203042011-05-25 Julien Danjou <julien@danjou.info>
20305
20306 * textmodes/rst.el (rst-define-level-faces): Do not define face
20307 symbol if it is already defined.
20308
91513f63
VB
203092011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
20310
20311 * play/5x5.el (5x5-new-game, 5x5-randomize):
20312 Reset 5x5-solver-output to nil when a new grid is cast.
20313 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
20314 these debugging traces, as defmacro breaks the compiled code.
20315
4d90d6d0
DK
203162011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
20317
20318 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
20319
e1b90ef6
LL
203202011-05-24 Leo Liu <sdl.web@gmail.com>
20321
20322 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
20323 (vc-bzr-sha1): Adapt.
20324
d8e4b68b 20325 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
20326
20327 * bindings.el: Provide sha1 feature.
20328
db0406bb 203292011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
20330
20331 * mail/sendmail.el: Require `rfc2047'.
20332 (mail-insert-from-field): Do not perform RFC2047 encoding.
20333 (mail-encode-header): New function.
20334 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
20335 buffer to the return value of select-message-coding-system.
20336 Call mail-encode-header.
b8d747b9
KH
20337
20338 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
20339
db0406bb 203402011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 20341
4d90d6d0
DK
20342 * mail/supercite.el (sc-default-cite-frame):
20343 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 20344
eb8a5e9b
GM
203452011-05-24 Glenn Morris <rgm@gnu.org>
20346
f8630703
GM
20347 * progmodes/python.el (brm-menu): Declare.
20348
8831bbed
GM
20349 * emulation/viper.el (viper-set-hooks): Declare.
20350
eb8a5e9b
GM
20351 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
20352 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
20353 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
20354 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
20355 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
20356 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
20357
a2a25d24
SM
203582011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
20359
20360 Add an :exit-function for completion-at-point.
20361
20362 * minibuffer.el (completion--done): New fun.
20363 (completion--do-completion): Use it. New arg `expect-exact'.
20364 (minibuffer-complete, minibuffer-complete-word): Don't output message,
20365 since completion--do-completion does it for us now.
20366 (minibuffer-force-complete): Use completion--done and
20367 completion--replace. Handle sole-completion case with more care.
20368 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
20369 (completion-extra-properties): New var.
20370 (completion-annotate-function): Make obsolete.
20371 (minibuffer-completion-help): Adjust accordingly.
20372 Use completion-list-insert-choice-function.
20373 (completion-at-point, completion-help-at-point):
20374 Bind completion-extra-properties.
20375 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
20376 * simple.el (completion-list-insert-choice-function): New var.
20377 (completion-setup-function): Preserve it.
20378 (choose-completion): Pay attention to it, shuffle the code a bit.
20379 (choose-completion-string): New arg `insert-function'.
20380
20381 * textmodes/bibtex.el: Convert to lexical binding.
20382 (bibtex-mode-map): Use completion-at-point.
20383 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
20384 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
20385 (bibtex-complete): Define as obsolete alias.
20386 (bibtex-complete-internal): Remove.
20387 (bibtex-format-entry): Remove unused sub-group in regexp.
20388 * shell.el (shell--command-completion-data)
20389 (shell-environment-variable-completion):
20390 * pcomplete.el (pcomplete-completions-at-point):
20391 * comint.el (comint--complete-file-name-data): Use :exit-function
20392 instead of completion-table-with-terminator so it also works for
20393 choose-completion.
20394
e44e373d
SM
203952011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
20396
4f91a816
SM
20397 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
20398
782fc819
SM
20399 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
20400 (bug#8710).
20401
e44e373d
SM
20402 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
20403
381987c3
KM
204042011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
20405
20406 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
20407 customization variable and implement: If non-nil, auto-fill will
20408 be inhibited while on topic's header line.
20409
b776bc70
VB
204102011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
20411
20412 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 20413 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
20414 always have a solution in grid size = 5 cases.
20415 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
20416 (5x5-solver-output, 5x5-log-buffer): New vars.
20417 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
20418 Make these variables buffer local to achieve 5x5 multi-session-ness.
20419 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
20420 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
20421 (5x5-solve-suggest): New funs.
20422 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
20423 randomize a grid so that we ensure that there is always a solution.
20424 (5x5-make-random-grid): Allow other movement than flipping.
20425
7de88b6e
KR
204262011-05-23 Kevin Ryde <user42@zip.com.au>
20427
20428 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 20429 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
20430 advice and passes PREDICATE.
20431
b1ef1257
SM
204322011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
20433
bbca48fe
SM
20434 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
20435 byte-compile-lambda if it's actually a lambda.
20436
b1ef1257
SM
20437 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
20438 Fix function quoting. Use backquote better.
20439
92a9cc65
YS
204402011-05-22 Yuanle Song <sylecn@gmail.com>
20441
20442 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
20443 matching (Bug#8516).
20444
f0fb8059
JA
204452011-01-22 Jari Aalto <jari.aalto@cante.net>
20446
20447 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
20448 different face (Bug#8178).
20449
d5b44c93
CY
204502011-05-22 Chong Yidong <cyd@stupidchicken.com>
20451
20452 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
20453 defface (Bug#8144).
20454
79106a44
SM
204552011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
20456
9c848d8a
SM
20457 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
20458 funcall as well (bug#8712). Warn when performing those conversions.
20459 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
20460
79106a44
SM
20461 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
20462
88dfa756
GM
204632011-05-22 Glenn Morris <rgm@gnu.org>
20464
20465 * files.el (hack-local-variables-prop-line): Small simplifications.
20466 (hack-local-variables, hack-local-variables-prop-line):
20467 If MODE-ONLY, return the mode, rather than just `t'.
20468
b7cf2c79
SM
204692011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
20470
20471 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
20472
3f1a8558
GM
204732011-05-21 Glenn Morris <rgm@gnu.org>
20474
7e4ccca3
GM
20475 * files.el (hack-local-variables-prop-line, hack-local-variables):
20476 If only interested in the mode, don't bother doing the other stuff.
20477
637d46ca
GM
20478 * image-mode.el (image-after-revert-hook):
20479 Redraw all frames on which the image is visible. (Bug#8567)
20480
973d955b
GM
20481 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
20482
3f1a8558
GM
20483 * wid-edit.el (widget-checklist-match-inline):
20484 Fix 2011-04-19 change. (Bug#8649)
20485
96479927
SM
204862011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
20487
1dcf791f
SM
20488 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
20489 Also allow singlespace after single-letter capitals followed by a dot.
20490
96479927
SM
20491 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
20492 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
20493
35fd0881
N
204942011-05-20 Nix <nix@esperi.org.uk>
20495
20496 * files.el (basic-save-buffer-2):
20497 Fix handling of break-hardlink-on-save with non-existent files.
20498
82745640
DD
204992011-05-19 Deniz Dogan <deniz@dogan.se>
20500
20501 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 20502 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 20503
4a720484
GM
205042011-05-19 Glenn Morris <rgm@gnu.org>
20505
d1f21341
GM
20506 * progmodes/f90.el (f90-type-def-re):
20507 Handle "type, bind(c)". (Bug#8691)
20508
4a720484
GM
20509 * emacs-lisp/autoload.el (batch-update-autoloads):
20510 Set autoload-excludes by parsing loadup.el rather than Makefiles.
20511
2fb0a219
MA
205122011-05-18 Michael Albinus <michael.albinus@gmx.de>
20513
20514 * net/tramp.el (tramp-process-actions): Set "first-password-request"
20515 property for the correct connection in case of multihops.
20516
e565dd37
GM
205172011-05-18 Glenn Morris <rgm@gnu.org>
20518
c2571358 20519 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
20520 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
20521
e565dd37
GM
20522 Rationalize calendar handling of day and month abbrev-arrays.
20523 * calendar/calendar.el (calendar-customized-p): New function.
20524 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
20525 (calendar-day-name-array, calendar-month-name-array): Doc fix.
20526 Add :set function.
20527 (calendar-abbrev-length, calendar-day-abbrev-array)
20528 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
20529 (calendar-day-abbrev-array, calendar-month-abbrev-array):
20530 Elements may no longer be nil.
20531 (calendar-day-name, calendar-month-name):
20532 Update for changed nature of abbrev arrays.
20533 * calendar/diary-lib.el (diary-name-pattern):
20534 Update for changed nature of abbrev arrays.
20535 (diary-mark-entries-1): Update calendar-make-alist calls.
20536 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
20537 * calendar/cal-html.el (cal-html-day-abbrev-array):
20538 Simply inherit from calendar-day-abbrev-array.
20539
1d99a745
SM
205402011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
20541
20542 * progmodes/grep.el (grep-mode): Disable default
20543 compilation-directory-matcher setting (bug#8684).
20544
7c1d9aa0
MA
205452011-05-17 Michael Albinus <michael.albinus@gmx.de>
20546
20547 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
20548 instead of "head" and "tail". There were problems with SunOS 5.9,
20549 and it performs better.
20550
3952e9d8
GM
205512011-05-17 Glenn Morris <rgm@gnu.org>
20552
2dd12e7f
GM
20553 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
20554
e4157b9c
GM
20555 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
20556 Replace obsolete function.
20557
8e249bbd
GM
20558 * shell.el (pcomplete-parse-arguments-function): Declare.
20559
3952e9d8
GM
20560 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
20561 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
20562 (appt-check): Doc fixes.
20563 (appt-disp-window-function, appt-delete-window-function):
20564 Remove needless special case in custom :type.
20565 (appt-display-count): Default to 0, not nil.
20566 (appt-check): Reset appt-display-count to 0, not nil.
20567
c71a0d48 205682011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 20569
c71a0d48
GM
20570 * progmodes/python.el (python-font-lock-keywords):
20571 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 20572
31d55be9
SM
205732011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
20574
20575 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
20576
3bfacb2f
KR
205772011-05-16 Kevin Ryde <user42@zip.com.au>
20578
20579 * info-look.el (makefile-automake-mode): New setups, looking in
20580 automake manual, then makefile-mode.
20581 (makefile-mode): Remove automake manual, have it just in
20582 makefile-automake-mode since there's various things different or
20583 not relevant to plain make.
20584 (makefile-mode): Remove "other-modes" non-existent automake-mode,
20585 believe a hypothetical automake-mode would go to makefile-mode,
20586 not the other way around.
20587
c8e83751
CY
205882011-05-15 Chong Yidong <cyd@stupidchicken.com>
20589
5e9e35cd
CY
20590 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
20591 hunk-end tags (Bug#8672).
20592
c8e83751
CY
20593 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
20594 vc-annotate-show-diff-revision-at-line (Bug#8671).
20595
50b23e5a
GM
205962011-05-14 Glenn Morris <rgm@gnu.org>
20597
7210a739
GM
20598 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
20599 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
20600 (change-log-font-lock-keywords): Also handle multiple author lines
20601 with leading tabs. (Bug#8644)
7210a739 20602
4691905a
GM
20603 * calendar/appt.el (appt-check): Rename some local variables.
20604 Some simplification/reordering.
20605
50b23e5a
GM
20606 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
20607 (feedmail-sendmail-f-doesnt-sell-me-out)
20608 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
20609 (feedmail-debug-sit-for, feedmail-queue-express-hook)
20610 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
20611 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
20612 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
20613 (feedmail-binmail-gnulinuxish-template):
20614 Rename from feedmail-binmail-linuxish-template.
20615 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
20616 Use insert-buffer-substring.
20617
215cda7c
BC
206182011-05-14 Bill Carpenter <bill@carpenter.org>
20619
20620 * mail/feedmail.el (feedmail-patch-level): Increase.
20621 (feedmail-debug): New custom group.
20622 (feedmail-confirm-outgoing-timeout)
20623 (feedmail-sendmail-f-doesnt-sell-me-out)
20624 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
20625 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
20626 (feedmail-sender-line, feedmail-from-line)
20627 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 20628 (feedmail-spray-this-address)
215cda7c
BC
20629 (feedmail-spray-address-fiddle-plex-list)
20630 (feedmail-queue-use-send-time-for-date)
20631 (feedmail-queue-use-send-time-for-message-id)
20632 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
20633 (feedmail-buffer-eating-function):
20634 Doc fixes.
20635 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
20636 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
20637 (feedmail-message-action-scroll-down): New functions.
20638 (feedmail-queue-directory, feedmail-queue-draft-directory):
20639 Use expand-file-name.
20640 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
20641 Remove C-v help entry.
20642 (feedmail-queue-buffer-file-name): New variable.
20643 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
20644 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
20645 (feedmail-message-action-send-strong, feedmail-message-action-edit)
20646 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
20647 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
20648 (feedmail-message-action-toggle-spray)
20649 (feedmail-run-the-queue-no-prompts)
20650 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
20651 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
20652 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
20653 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
20654 (feedmail-envelope-deducer, feedmail-fiddle-from)
20655 (feedmail-fiddle-sender, feedmail-default-date-generator)
20656 (feedmail-fiddle-date, feedmail-fiddle-message-id)
20657 (feedmail-fiddle-spray-address)
20658 (feedmail-fiddle-list-of-spray-fiddle-plexes)
20659 (feedmail-fiddle-list-of-fiddle-plexes)
20660 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
20661 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
20662 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
20663 Change default. Doc fix.
20664 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
20665 (feedmail-binmail-linuxish-template): New constant.
20666 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
20667 Respect feedmail-sendmail-f-doesnt-sell-me-out.
20668 (feedmail-send-it): Add debug call.
20669 Use feedmail-queue-buffer-file-name, and
20670 feedmail-send-it-immediately-wrapper.
20671 (feedmail-message-action-send): Add debug call.
20672 Use feedmail-send-it-immediately-wrapper.
20673 (feedmail-queue-express-to-queue): Add debug call.
20674 Run feedmail-queue-express-hook.
20675 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
20676 (feedmail-message-action-help-blat):
20677 Rename from feedmail-queue-send-edit-prompt-help-first.
20678 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
20679 Check line-endings. Handle errors better.
20680 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
20681 Doc fix. Add debug call.
20682 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
20683 Use feedmail-queue-send-edit-prompt-inner.
20684 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
20685 (feedmail-queue-send-edit-prompt-inner): New function, extracted
20686 from feedmail-queue-send-edit-prompt.
20687 (feedmail-queue-send-edit-prompt-help)
20688 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
20689 (feedmail-tidy-up-slug): Add debug call.
20690 Respect feedmail-queue-slug-suspect-regexp.
20691 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
20692 (feedmail-dump-message-to-queue): Add debug call.
20693 Expand queue-directory.
20694 (feedmail-dump-message-to-queue): Change message slightly.
20695 Use feedmail-say-chatter.
20696 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
20697 (feedmail-send-it-immediately-wrapper): New function.
20698 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
20699 Insert empty string rather than newline. Handle full-frame case.
20700 Use catch/throw. Use feedmail-say-chatter.
20701 (feedmail-fiddle-from): Try mail-host-address.
20702 (feedmail-default-message-id-generator): Doc fix.
20703 Bind system-time-locale. Handle missing end.
20704 (feedmail-fiddle-x-mailer): Add debug call.
20705 Handle feedmail-x-mailer-line being nil.
20706 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
20707 Add debug call. Use buffer-substring-no-properties.
20708 (feedmail-say-debug, feedmail-say-chatter): New functions.
20709 (feedmail-find-eoh): Give an explicit error.
20710
42c7e61e
UJ
207112011-05-13 Ulf Jasper <ulf.jasper@web.de>
20712
c2571358 20713 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 20714 family from helvetica to sans.
c2571358 20715 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
20716 etc/images/newsticker.
20717
c2571358 20718 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
20719 family from helvetica to sans.
20720
20721 * net/newst-plainview.el (newsticker-new-item-face)
20722 (newsticker-old-item-face, newsticker-immortal-item-face)
20723 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 20724 (newsticker-statistics-face): Change default family from
42c7e61e 20725 helvetica to sans.
c2571358 20726 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
20727 etc/images/newsticker.
20728
5d3385a0
JB
20729 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
20730 (newsticker--process-auto-mark-filter-match): Tell user about
42c7e61e
UJ
20731 auto-marking.
20732
8497a297
DV
207332011-05-13 Didier Verna <didier@xemacs.org>
20734
20735 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
20736 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
20737 TODO entries.
8497a297
DV
20738 (lisp-lambda-list-keyword-parameter-indentation)
20739 (lisp-lambda-list-keyword-parameter-alignment)
20740 (lisp-lambda-list-keyword-alignment): New customizable user options.
20741 (lisp-indent-defun-method): Improve docstring.
20742 (extended-loop-p): Fix comment.
20743 (lisp-indent-lambda-list-keywords-regexp): New variable.
20744 (lisp-indent-lambda-list): New function.
20745 (lisp-indent-259): Use it.
20746 (lisp-indent-defmethod): Support for more than one
20747 method qualifier and properly indent methods lambda-lists.
20748 (defgeneric): Provide a missing common-lisp-indent-function property.
20749
f278f87f
SM
207502011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
20751
20752 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
20753 bounds for the empty string (bug#8667).
20754
5233edd7
GM
207552011-05-13 Glenn Morris <rgm@gnu.org>
20756
5237a44f
GM
20757 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
20758
8340026c 20759 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 20760 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 20761
5233edd7 20762 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 20763 (appt-time-msg-list): Doc fix.
a5464014 20764 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 20765
92d10796
AS
207662011-05-12 Andreas Schwab <schwab@linux-m68k.org>
20767
20768 * progmodes/ld-script.el (ld-script-keywords)
20769 (ld-script-builtins): Update keywords list.
20770
914a0ae1
SM
207712011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
20772
c89be45f
SM
20773 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
20774
914a0ae1
SM
20775 * shell.el (shell-completion-vars): New function.
20776 (shell-mode):
20777 * simple.el (read-shell-command): Use it.
20778 (blink-matching-open): No need for " [...]" in minibuffer-message.
20779
98dc3df3
GM
207802011-05-12 Glenn Morris <rgm@gnu.org>
20781
20782 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
20783 (appt-check): Simplify.
20784
d2fc7e3d 207852011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 20786
4d61f28d 20787 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
20788 literal "/dev/null".
20789
d2fc7e3d 207902011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
20791
20792 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
20793 Fix typo.
20794
d2fc7e3d 207952011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 20796
3f254caa
SM
20797 * progmodes/which-func.el (which-function):
20798 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
20799 which might not be defined (Bug#8260).
20800
d45885f7
GM
208012011-05-12 Glenn Morris <rgm@gnu.org>
20802
20803 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
20804 Let byte-compile-initial-macro-environment always take precedence.
20805
488086f4
SM
208062011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
20807
20808 * net/rcirc.el: Add support for SSL/TLS connections.
20809 (rcirc-server-alist): New field `encryption'.
20810 (rcirc): Check `encryption' settings.
20811 (rcirc-connect): New arg `encryption'. Use open-network-stream.
20812 Merge make-local-variable into `set'.
20813 (rcirc--connection-open-p): New function.
20814 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
20815 the process is not a network process (e.g. running gnutls-cli).
20816 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
20817 Make rcirc-(en|de)code-coding-system local here.
20818 (rcirc-mode): Merge make-local-variable into `set'.
20819 (rcirc-parent-buffer): Make permanent buffer-local.
20820 (rcirc-multiline-minor-mode): Don't do it here.
20821 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
20822 there's no server buffer.
20823
7d3b9d44
GM
208242011-05-11 Glenn Morris <rgm@gnu.org>
20825
f64049c6
GM
20826 * newcomment.el (comment-kill): Prefix "unused" local.
20827
93c9df73
GM
20828 * term/w32console.el (get-screen-color): Declare.
20829
7d3b9d44
GM
20830 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
20831 Handle symbol elements of byte-compile-initial-macro-environment.
20832
9e2dd53f
LL
208332011-05-10 Leo Liu <sdl.web@gmail.com>
20834
488086f4
SM
20835 * bookmark.el (bookmark-bmenu-mode-map):
20836 Bind bookmark-bmenu-search to `/'.
8b340240 20837
9e2dd53f 20838 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
20839 (footnote-unicode-string, footnote-unicode-regexp): New variable.
20840 (Footnote-unicode): New function.
20841 (footnote-style-alist): Add unicode style to the list.
20842 (footnote-style): Doc fix.
9e2dd53f 20843
79b70037
GM
208442011-05-10 Jim Meyering <meyering@redhat.com>
20845
20846 Fix doubled-word typos.
20847 * international/quail.el (quail-insert-kbd-layout): and and -> and
20848 * kermit.el: and and -> and
20849 * net/ldap.el (ldap-search-internal): to to -> to
20850 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
20851 * progmodes/js.el (js-mode): and and -> and
20852 * textmodes/artist.el (artist-move-to-xy): at at -> at
20853 (artist-draw-region-trim-line-endings): if if -> if
20854 And Safetyc -> Safety.
20855 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
20856
b8f82dc1 208572011-05-10 Glenn Morris <rgm@gnu.org>
f1a71c6e 20858 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
20859
20860 * files.el (hack-one-local-variable-eval-safep):
20861 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
20862
4f99f44b
GM
208632011-05-10 Glenn Morris <rgm@gnu.org>
20864
20865 * calendar/diary-lib.el (diary-list-entries-hook)
20866 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
20867 (diary-nongregorian-marking-hook, diary-list-entries)
20868 (diary-include-other-diary-files, diary-mark-entries)
20869 (diary-mark-included-diary-files): Doc fixes.
20870
84f29e6b
JB
208712011-05-09 Juanma Barranquero <lekktu@gmail.com>
20872
20873 * misc.el: Require tabulated-list.el during compilation.
20874
9bedd73a
CY
208752011-05-09 Chong Yidong <cyd@stupidchicken.com>
20876
488086f4
SM
20877 * progmodes/compile.el (compilation-start):
20878 Run compilation-filter-hook for the async case too.
9bedd73a
CY
20879 (compilation-filter-hook): Doc fix.
20880
797c735c
DD
208812011-05-09 Deniz Dogan <deniz@dogan.se>
20882
20883 * wdired.el: Remove outdated installation comment. Fix usage
20884 comment.
20885
5f4b1dfe
JB
208862011-05-09 Juanma Barranquero <lekktu@gmail.com>
20887
20888 * misc.el: Implement new command `list-dynamic-libraries'.
20889 (list-dynamic-libraries--loaded-only-p): New variable.
20890 (list-dynamic-libraries--refresh): New function.
20891 (list-dynamic-libraries): New command.
20892
4c44026c
CY
208932011-05-09 Chong Yidong <cyd@stupidchicken.com>
20894
488086f4
SM
20895 * progmodes/compile.el (compilation-error-regexp-alist-alist):
20896 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
20897 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
20898 higher priority to avoid clobbering by gnu.
20899
027f966d
CY
209002011-05-08 Chong Yidong <cyd@stupidchicken.com>
20901
20902 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
20903 if the face has existing theme settings (Bug#8454).
20904
085f5d7d
CY
209052011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
20906
488086f4
SM
20907 * progmodes/perl-mode.el (perl-imenu-generic-expression):
20908 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 20909
2a86a00c
RS
20910 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
20911 special file names `.' and `..' (Bug#8259).
20912
d9c54a06
CY
209132011-05-08 Chong Yidong <cyd@stupidchicken.com>
20914
488086f4
SM
20915 * progmodes/grep.el (grep-mode-font-lock-keywords):
20916 Remove buffer-changing entries.
d9c54a06
CY
20917 (grep-filter): New function.
20918 (grep-mode): Add it to compilation-filter-hook.
20919
20920 * progmodes/compile.el (compilation-filter-hook)
20921 (compilation-filter-start): New defvars.
20922 (compilation-filter): Call compilation-filter-hook prior to
20923 updating the process mark.
20924
c4662635
SM
209252011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
20926
20927 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
20928
b0512a1d
EZ
209292011-05-07 Eli Zaretskii <eliz@gnu.org>
20930
605c9376
EZ
20931 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
20932 mailclient-send-it even if window-system is nil. (Bug#8595)
20933
c4662635
SM
20934 * term/w32console.el (terminal-init-w32console):
20935 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
20936 background-mode. (Bug#8597)
20937
d1dc2cc2
SM
209382011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
20939
20940 Make bytecomp.el understand that defmethod defines funs (bug#8631).
20941 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
20942 New functions.
20943 (defgeneric, eieio--defmethod): Use them.
20944 (eieio-defgeneric): Remove.
20945 (defmethod): Call defgeneric in a way visible to the byte-compiler.
20946
915d1300
GM
209472011-05-07 Glenn Morris <rgm@gnu.org>
20948
a3961c3e
GM
20949 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
20950 Use let rather than let*.
20951 (timeclock-find-discrep): Remove unused local.
20952
314347b9
GM
20953 * calendar/diary-lib.el (diary-comment-start): Doc fix.
20954
915d1300
GM
20955 * calendar/appt.el (appt-time-msg-list): Doc fix.
20956
275b59b0
NF
209572011-05-06 Noah Friedman <friedman@splode.com>
20958
20959 * apropos.el (apropos-print-doc): Only use
20960 emacs-lisp-docstring-fill-column when it is bound to an integer,
20961 per that variable's documentation.
20962
6c19f744
SM
209632011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
20964
20965 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 20966 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 20967
60f884b2
GM
209682011-05-06 Glenn Morris <rgm@gnu.org>
20969
5006e634
GM
20970 * calendar/appt.el (appt-message-warning-time): Doc fix.
20971 (appt-warning-time-regexp): New option.
20972 (appt-make-list): Respect appt-message-warning-time.
20973
548d0a63
GM
20974 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
20975 New options.
20976 (diary-add-to-list): Strip comments from the displayed string.
20977 (diary-mode): Set comment-start and comment-end.
20978
60f884b2
GM
20979 * vc/diff-mode.el (smerge-refine-subst): Declare.
20980 (diff-refine-hunk): Don't require smerge-mode when compiling.
20981
989681bb
JB
209822011-05-06 Juanma Barranquero <lekktu@gmail.com>
20983
20984 * simple.el (list-processes): Return nil as the docstring says.
20985
a6bc05e1
MA
209862011-05-05 Michael Albinus <michael.albinus@gmx.de>
20987
20988 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
20989 to "".
20990 (ange-ftp-write-region, ange-ftp-insert-file-contents)
20991 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
20992 determining of binary transfer. (Bug#7383)
20993
23c22e9a
MA
209942011-05-05 Michael Albinus <michael.albinus@gmx.de>
20995
c4662635
SM
20996 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
20997 Fix port computation bug. (Bug#8618)
23c22e9a 20998
0bff894f
GM
209992011-05-05 Glenn Morris <rgm@gnu.org>
21000
b8296902
GM
21001 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
21002
1f522ce8
GM
21003 * simple.el (shell-dynamic-complete-functions)
21004 (comint-dynamic-complete-functions): Declare.
21005
cf5bee67
GM
21006 * net/network-stream.el (gnutls-negotiate):
21007 * simple.el (tabulated-list-print): Fix declarations.
21008
21009 * progmodes/gud.el (syntax-symbol, syntax-point):
21010 Remove unnecessary and incorrect declarations.
21011
0bff894f 21012 * emacs-lisp/check-declare.el (check-declare-scan):
1f9f395d 21013 Handle byte-compile-initial-macro-environment in bytecomp.el.
0bff894f 21014
9869b3ae
SM
210152011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
21016
21017 Fix earlier half-done eieio-defmethod change (bug#8338).
21018 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
21019 Streamline and change calling convention.
21020 (defmethod): Adjust accordingly and simplify.
21021 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
21022 new eieio--defmethod.
21023 (slot-boundp): Minor CSE simplification.
21024
9c1d5ac5
MZ
210252011-05-05 Milan Zamazal <pdm@zamazal.org>
21026
21027 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
21028 (glasses-make-readable): Use glasses-separate-capital-groups.
21029
455c834e
JB
210302011-05-05 Juanma Barranquero <lekktu@gmail.com>
21031
21032 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
21033 (warning-series): Doc fix.
21034 (display-warning): Don't try to create the buffer if we just found it.
21035
9ed7c8cb
CY
210362011-05-04 Chong Yidong <cyd@stupidchicken.com>
21037
21038 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
21039 (autoload-find-generated-file): New function.
21040 (generate-file-autoloads): Bind generated-autoload-file to
21041 buffer-file-name.
9869b3ae
SM
21042 (update-file-autoloads, update-directory-autoloads):
21043 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
21044 output file (Bug#7989).
21045 (batch-update-autoloads): Doc fix.
21046
0898ca10
JB
210472011-05-04 Juanma Barranquero <lekktu@gmail.com>
21048
21049 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
21050
31dfb76c
GM
210512011-05-04 Glenn Morris <rgm@gnu.org>
21052
f330b642
GM
21053 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
21054 function, so it follows changes in calendar-date-style.
21055 (diary-fancy-date-matcher): New function.
21056 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
21057 (diary-fancy-font-lock-fontify-region-function):
21058 Use diary-fancy-date-pattern as a function.
21059
31dfb76c
GM
21060 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
21061 non-numbers for `year' etc pseudo-variables. (Bug#8583)
21062
48e79d6a
TZ
210632011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
21064
21065 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
21066 instead of positional arguments. Allow :keylist and :crlfiles
21067 arguments.
21068 (open-gnutls-stream): Call it.
21069
21070 * net/network-stream.el (network-stream-open-starttls): Adjust to
21071 call `gnutls-negotiate' with :process and :hostname arguments.
21072
dd5a5ee0
SM
210732011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
21074
ef80fc09
SM
21075 * minibuffer.el (completion--message): New function.
21076 (completion--do-completion, minibuffer-complete)
21077 (minibuffer-force-complete, minibuffer-complete-word): Use it.
21078 (completion--do-completion): Don't ignore completion-auto-help when in
21079 icomplete-mode.
21080
dd5a5ee0
SM
21081 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
21082 internal encoding (e.g. tibetan zero is not whitespace).
21083 (global-whitespace-mode): Prefer save-current-buffer.
21084 (whitespace-trailing-regexp): Remove useless save-match-data.
21085 (whitespace-empty-at-bob-regexp): Minor simplification.
21086
b7d22a83
CY
210872011-05-03 Chong Yidong <cyd@stupidchicken.com>
21088
21089 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
21090
5192af46
AM
210912011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
21092
21093 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 21094 Use `concat' to create string for insertion.
5192af46 21095
5767d190
SM
210962011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
21097
21098 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
21099 Avoid open-line which runs post-self-insert-hook.
21100 (bibtex-fill-entry): Remove unused `end' var.
21101
bf242939
AM
211022011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
21103
5767d190
SM
21104 * textmodes/ispell.el (ispell-add-per-file-word-list):
21105 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 21106
25666126
LL
211072011-05-03 Leo Liu <sdl.web@gmail.com>
21108
21109 * isearch.el (isearch-yank-pop): New command.
5767d190 21110 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
21111 (isearch-forward): Mention it.
21112
52d3c2d0
SM
211132011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
21114
1bcace58
SM
21115 * simple.el (minibuffer-complete-shell-command): Remove.
21116 (minibuffer-local-shell-command-map): Use completion-at-point.
21117 (read-shell-command): Setup completion vars here instead.
21118 (read-expression-map): Bind TAB to symbol completion.
21119
52d3c2d0
SM
21120 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
21121 error directly rather via storing it into `results'.
21122
35813471
LL
211232011-05-02 Leo Liu <sdl.web@gmail.com>
21124
21125 * vc/diff.el: Fix description.
21126
e793a940
LMI
211272011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
21128
21129 * server.el (server-eval-at): New function.
21130
8de66e05
LMI
211312011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
21132
21133 * net/network-stream.el (open-network-stream): Take a :nowait
21134 parameter and pass it on to `make-network-process'.
21135 (network-stream-open-plain): Ditto.
21136
dcb79f20
AS
211372011-04-30 Andreas Schwab <schwab@linux-m68k.org>
21138
21139 * faces.el (face-spec-set-match-display): Don't match toolkit
21140 options on terminal frames.
21141
14a7fbd8
SM
211422011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
21143
7eabc1be
SM
21144 * progmodes/pascal.el: Use lexical binding.
21145 (pascal-mode-map): Remove author preferences.
21146
14a7fbd8
SM
21147 * pcomplete.el (pcomplete-std-complete): Don't abuse
21148 completion-at-point.
21149
50f84510
JB
211502011-04-28 Juanma Barranquero <lekktu@gmail.com>
21151
6e087a44
JB
21152 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
21153 removing code that has been dead since 1991 or so.
21154
50f84510
JB
21155 * startup.el (command-line): When warning about "_emacs", use a
21156 delayed warning to allow the user to filter it out.
21157
0ba690bd
DD
211582011-04-28 Deniz Dogan <deniz@dogan.se>
21159
21160 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
21161 user has not joined.
21162
08abfaad
SM
211632011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
21164
21165 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
21166 aren't any completions at point.
21167
638f053a
JB
211682011-04-28 Juanma Barranquero <lekktu@gmail.com>
21169
21170 * subr.el (display-delayed-warnings): New function.
21171 (delayed-warnings-hook): New variable.
21172
8fff8daa
SM
211732011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
21174
08abfaad
SM
21175 * minibuffer.el (completion-at-point, completion-help-at-point):
21176 Don't presume that a given completion-at-point-function will always
21177 use the same calling convention.
21178
8fff8daa
SM
21179 * pcomplete.el (pcomplete-completions-at-point):
21180 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
21181 pcomplete-seen is non-nil.
21182 (pcomplete-comint-setup): Also recognize the new comint/shell
21183 completion functions.
21184 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
21185 pcomplete-seen is non-nil.
21186
841a1577 211872011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 21188
841a1577 21189 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 21190 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 21191 the first character in the entry. This allows for code to add its
211ec907
UJ
21192 own uid to the entry.
21193 (icalendar--convert-float-to-ical): Add export of
21194 `diary-float'-entries save for those with the optional DAY
21195 argument.
21196
2a782793
DC
211972011-04-27 Daniel Colascione <dan.colascione@gmail.com>
21198
21199 * subr.el (shell-quote-argument): Use alternate escaping strategy
21200 when we spot a variable reference in a string.
21201
0438ce91
DC
212022011-04-26 Daniel Colascione <dan.colascione@gmail.com>
21203
21204 * cus-start.el (all): Define customization for debug-on-event.
21205
841a1577 212062011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
21207
21208 * subr.el (shell-quote-argument): Escape correctly under Windows.
21209
d090ed6c
SM
212102011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
21211
21212 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
21213
bfd31217
MA
212142011-04-25 Michael Albinus <michael.albinus@gmx.de>
21215
d090ed6c
SM
21216 * net/tramp.el (tramp-process-actions): Add POS argument.
21217 Delete region between POS and (pos).
bfd31217 21218
d090ed6c
SM
21219 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
21220 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
21221 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
21222
21223 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
21224 position in `tramp-process-actions' call.
21225
21226 * net/trampver.el: Update release number.
21227
e92f3bd3
SM
212282011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
21229
850256b5
SM
21230 * custom.el (defcustom): Obey lexical-binding.
21231
e92f3bd3
SM
21232 Fix octave-inf completion problems reported by Alexander Klimov.
21233 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
21234 Inherit from octave-mode-syntax-table.
21235 (inferior-octave-mode): Set info-lookup-mode.
21236 (inferior-octave-completion-at-point): New function.
21237 (inferior-octave-complete): Use it and completion-in-region.
21238 (inferior-octave-dynamic-complete-functions): Use it as well, and use
21239 comint-filename-completion.
21240 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
21241 symbol elements which shouldn't be word elements.
21242 (octave-font-lock-keywords, octave-beginning-of-defun)
21243 (octave-function-header-regexp): Adjust regexps accordingly.
21244 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
21245
cd22b309
JB
212462011-04-25 Juanma Barranquero <lekktu@gmail.com>
21247
21248 * net/gnutls.el (gnutls-errorp): Declare before first use.
21249
8b492194
TZ
212502011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
21251
21252 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
21253 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 21254 default trustfile exists before going to use it. Add missing
5a5fa834 21255 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
21256 Reported by Claudio Bley <claudio.bley@gmail.com>.
21257 (open-gnutls-stream): Add usage example.
21258
21259 * net/network-stream.el (network-stream-open-starttls): Give host
21260 parameter to `gnutls-negotiate'.
21261 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 21262 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 21263
841a1577 212642011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 21265
cd22b309
JB
21266 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
21267 Use correct match group (bug#8438).
05842630 21268
3ba7869c
CY
212692011-04-24 Chong Yidong <cyd@stupidchicken.com>
21270
512e3ae1
CY
21271 * emacs-lisp/package.el (package-built-in-p): Fix typo.
21272 (package-menu--generate): New arg specifying packages to show.
21273 (package-menu-refresh, package-menu-execute, list-packages):
21274 Callers changed.
21275 (package-show-package-list): New function, replacing deleted
21276 package--list-packages (renamed because it is non-internal).
21277
21278 * finder.el (finder-list-matches): Use package-show-package-list
21279 instead of deleted package--list-packages.
21280
e92f3bd3
SM
21281 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
21282 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
21283 (vc-annotate-mode-map): Bind it to RET.
21284
7031be6d
UR
212852011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
21286
21287 * progmodes/etags.el (next-file): Don't use set-buffer to change
21288 buffers (Bug#8478).
21289
4ef177aa
CY
212902011-04-24 Chong Yidong <cyd@stupidchicken.com>
21291
c8d173eb
CY
21292 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
21293
4ef177aa
CY
21294 * apropos.el (apropos-label-face): Avoid variable-pitch face.
21295 (apropos-accumulator): Doc fix.
21296 (apropos-function, apropos-macro, apropos-command)
21297 (apropos-variable, apropos-face, apropos-group, apropos-widget)
21298 (apropos-plist): Add face property.
21299 (apropos-symbols-internal): Fix indentation.
21300 (apropos-print): Simplify help, and recognize apropos-multi-type.
21301 (apropos-print-doc): Use button-type-get to extract the button's
21302 face property. Fill docstring (Bug#8352).
21303
4ffd0d6b 213042011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
21305
21306 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
21307
c6c32125 21308 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 21309 (mpuz-mode-map): Use mapc.
c6c32125
JB
21310 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
21311 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
21312 Fix typos in docstrings.
21313
58d468b4
JB
21314 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
21315 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
21316
6470c3c6
JB
21317 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
21318
4ffd0d6b 213192011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
21320
21321 * minibuffer.el (completion--do-completion): Avoid the "Next char
21322 not unique" prompt if icomplete-mode is enabled (Bug#5849).
21323
3ad8bad0
CY
21324 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
21325 mouse-2 into unread-command-events, it is interpreted correctly.
21326
71d73c9c 21327 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 21328 (image-toggle-display): Doc fix.
71d73c9c 21329
841a1577 213302011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 21331
4ffd0d6b
GM
21332 * textmodes/page.el (what-page): Use line-number-at-pos to
21333 calculate line number (Bug#6825).
6e1dbaa9 21334
c2fb1b60
JB
213352011-04-22 Juanma Barranquero <lekktu@gmail.com>
21336
21337 * eshell/esh-mode.el (find-tag-interactive): Declare function.
21338 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
21339 Pass argument NO-DEFAULT to `find-tag-interactive'.
21340
e02f48d7
JB
213412011-04-22 Juanma Barranquero <lekktu@gmail.com>
21342
21343 Lexical-binding cleanup.
21344
21345 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
21346 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
21347 * progmodes/ada-prj.el (ada-prj-initialize-values)
21348 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
21349 (ada-prj-show-value):
21350 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
21351 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
21352 (antlr-invalidate-context-cache, antlr-options-menu-filter)
21353 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
21354 * progmodes/bug-reference.el (bug-reference-push-button):
21355 * progmodes/fortran.el (fortran-line-length):
21356 * progmodes/glasses.el (glasses-change):
21357 * progmodes/octave-mod.el (octave-fill-paragraph):
21358 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
21359 (python-pdbtrack-grub-for-buffer, python-sentinel):
21360 * progmodes/sql.el (sql-save-connection):
21361 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
21362 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
21363 Mark unused parameters.
21364
21365 * progmodes/compile.el (compilation--flush-directory-cache)
21366 (compilation--flush-parse, compile-internal): Mark unused parameters.
21367 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
21368 (compilation-next-error-function): Remove unused variable `timestamp'.
21369
21370 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
21371 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
21372
21373 * progmodes/dcl-mode.el (dcl-end-of-command):
21374 Remove unused variable `start'.
21375 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
21376 (dcl-option-value-basic, dcl-option-value-offset)
21377 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
21378 Mark unused parameters.
21379 (dcl-save-local-variable): Remove unused variable `val'.
21380 (mode): Declare.
21381
21382 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
21383 Mark unused parameters.
21384 (delphi-ignore-changes): Move before first use.
21385 (delphi-charset-token-at): Remove unused variable `start'.
21386 (delphi-else-start): Remove unused variable `if-count'.
21387 (delphi-comment-block-start, delphi-comment-block-end):
21388 Remove unused variable `kind'.
21389 (delphi-indent-line): Remove unused variable `new-point'.
21390
21391 * progmodes/ebrowse.el (ebrowse-files-list)
21392 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
21393 Mark unused parameters. Don't quote `lambda'.
21394 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
21395 Don't quote `lambda'.
21396 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
21397 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
21398 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
21399 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
21400 Use `ignore-errors'.
21401 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
21402 (ebrowse-view/find-file-and-search-pattern)
21403 (ebrowse-view/find-member-declaration/definition):
21404 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
21405 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
21406 Rename parameter PREFIX-ARG to PREFIX.
21407 (ebrowse-tags-read-name): Remove unused variables `start' and
21408 `member-info'.
21409 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
21410 to `tags-file'.
21411
21412 * progmodes/etags.el (local-find-tag-hook): Declare.
21413 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
21414 Mark unused parameters.
21415
21416 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
21417 (executable-interpret): Mark unused parameter.
21418
21419 * progmodes/flymake.el (flymake-process-sentinel)
21420 (flymake-after-change-function)
21421 (flymake-create-temp-with-folder-structure)
21422 (flymake-get-include-dirs-dot): Mark unused parameters.
21423 (flymake-safe-delete-directory): Remove unused variable `err'.
21424
21425 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
21426 (speedbar-timer-fn, speedbar-line-text)
21427 (speedbar-change-expand-button-char, speedbar-delete-subblock)
21428 (speedbar-center-buffer-smartly): Declare functions.
21429 (gdb-find-watch-expression): Remove unused variable `array'.
21430 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
21431 (gdb-starting): Mark unused parameters.
21432 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
21433 (gdb-table-string): Remove unused variable `res'.
21434 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
21435 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
21436 (gdb-display-buffer): Remove unused variable `cur-size'.
21437
21438 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
21439 allow lexical-binding compilation.
21440 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
21441 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
21442 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
21443 Mark unused parameters.
21444 (gud-gdb-marker-filter): Remove unused variable `match'.
21445 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
21446 lambda expressions and funcall them, instead of using `fset'.
21447
21448 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
21449 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
21450
21451 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
21452 variable `header-beg'; use `let'.
21453
21454 * progmodes/icon.el (indent-icon-exp): Remove unused variables
21455 `restart', `last-sexp' and `at-do'.
21456
21457 * progmodes/js.el (js--debug): Mark unused parameter.
21458 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
21459 (js--splice-into-items): Remove unused variable `item'.
21460 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
21461
21462 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
21463 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
21464 (makefile-complete): Remove unused variable `try'.
21465 (makefile-fill-paragraph, makefile-match-function-end):
21466 Mark unused parameters.
21467
21468 * progmodes/octave-inf.el (inferior-octave-complete):
21469 Remove unused variable `proc'.
21470 (inferior-octave-output-digest): Mark unused parameter.
21471
21472 * progmodes/perl-mode.el (perl-calculate-indent):
21473 Remove unused variable `err'.
21474
21475 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
21476 (prolog-indent-line): Mark unused parameters.
21477 (prolog-indent-line): Remove unused variable `beg'.
21478
21479 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
21480 (reporter-dont-compact-list): Declare.
21481
21482 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
21483 Remove unused variable `char'.
21484 (sh-debug): Mark unused parameter.
21485 (sh-get-indent-info): Remove unused variable `start'.
21486 (sh-calculate-indent): Remove unused variable `var'.
21487
21488 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
21489 (simula-electric-keyword): Remove unused variable `null'.
21490 (simula-search-backward, simula-search-forward): Remove unused
21491 variables `begin' and `end'.
21492
21493 * progmodes/vera-mode.el (vera-guess-basic-syntax):
21494 Remove unused variable `pos'.
21495 (vera-electric-tab, vera-comment-uncomment-region):
21496 Mark unused parameters.
21497 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
21498
7ede3b65
CY
214992011-04-22 Chong Yidong <cyd@stupidchicken.com>
21500
21501 * emacs-lisp/package.el (package--builtins, package-alist)
21502 (package-load-descriptor, package-built-in-p, package-activate)
21503 (define-package, package-installed-p)
21504 (package-compute-transaction, package-buffer-info)
21505 (package--push): Doc fix. Distinguish more clearly between
21506 version strings and version lists.
21507
121656e9
JB
215082011-04-21 Juanma Barranquero <lekktu@gmail.com>
21509
21510 Lexical-binding cleanup.
21511
21512 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
21513 (5x5-make-mutate-best):
21514 * play/fortune.el (fortune-in-buffer):
21515 * play/gomoku.el (gomoku-init-display):
21516 * play/solitaire.el (solitaire, solitaire-do-check):
21517 * play/tetris.el (tetris-default-update-speed-function):
21518 Mark unused parameters.
21519
21520 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
21521 (bubbles--shift): Remove unused variable `char-org'.
21522 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
21523 (bubbles--show-images): Remove unused variable `char'.
21524
21525 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
21526 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
21527 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
21528 (decipher-analyze-buffer): Use ?\s.
21529 (decipher-make-checkpoint): Remove unused variable `mapping'.
21530
21531 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
21532
21533 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
21534 Remove unused variable `result'; use `let'.
21535
21536 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
21537 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
21538 (gametree-children-shown-p, gametree-compute-reduced-score):
21539 Use `ignore-errors'.
21540
21541 * play/handwrite.el (ps-lpr-switches): Declare.
21542 (handwrite): Remove unused variables `pmin' and `lastp'.
21543
21544 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
21545
21546 * play/landmark.el (landmark-init-display)
21547 (landmark-update-naught-weights): Mark unused parameters.
21548 (landmark-y): Remove unused variable `noise'. Simplify.
21549 (landmark-human-plays): Remove unused variable `score'.
21550
21551 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
21552 (mpuz-try-proposal): Remove unused variable `game'.
21553
21554 * play/zone.el (life-patterns): Declare.
21555
80f499c7
JB
215562011-04-20 Juanma Barranquero <lekktu@gmail.com>
21557
21558 * vc/vc.el (ediff-vc-internal): Declare function.
21559
024ff170
SM
215602011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
21561
c0a193ea
SM
21562 * shell.el: Use lexical-binding and std completion UI.
21563 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
21564 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
21565 comint-preoutput-filter-functions rather than on
21566 comint-output-filter-functions.
21567 (shell-command-completion, shell--command-completion-data)
21568 (shell-filename-completion, shell-environment-variable-completion)
21569 (shell-c-a-p-replace-by-expanded-directory): New functions.
21570 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
21571 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
21572 (shell-dynamic-complete-environment-variable): Use them.
21573 (shell-dynamic-complete-as-environment-variable)
21574 (shell-dynamic-complete-as-command): Remove.
21575 (shell-match-partial-variable): Match past point.
21576 * comint.el: Clean up use of completion-at-point-functions.
21577 (comint-completion-at-point): New function.
21578 (comint-mode): Use it completion-at-point-functions.
21579 (comint-dynamic-complete): Make it obsolete.
21580 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
21581 (comint-c-a-p-replace-by-expanded-history): New function.
21582 (comint-dynamic-complete-functions)
21583 (comint-replace-by-expanded-history): Use it.
21584 * minibuffer.el (completion-table-with-terminator): Allow dynamic
21585 termination strings. Try harder to avoid second try-completion.
21586 (completion-in-region-mode-map): Disable bindings that don't work yet.
21587
2dbaa080
SM
21588 * comint.el: Use lexical-binding. Require CL.
21589 (comint-dynamic-complete-functions): Use comint-filename-completion.
21590 (comint-completion-addsuffix): Tweak custom type.
21591 (comint-filename-completion, comint--common-suffix)
21592 (comint--common-quoted-suffix, comint--table-subvert)
21593 (comint--complete-file-name-data): New functions.
21594 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
21595 (comint-dynamic-list-filename-completions): Use them.
21596 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 21597
2dbaa080
SM
21598 * minibuffer.el (completion-in-region-mode):
21599 Keep completion-in-region-mode--predicate global.
21600 (completion-in-region--postch):
21601 Assume completion-in-region-mode--predicate is not null.
21602
c79a6f38
SM
21603 * progmodes/flymake.el (flymake-start-syntax-check-process):
21604 Obey `dir'. Simplify.
21605
024ff170
SM
21606 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
21607 we're in VC after all.
21608
1c6c854e
CS
216092011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
21610
21611 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 21612 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
21613 (vc-version-diff): Use vc-diff-build-argument-list-internal.
21614
bed7f140
SM
216152011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
21616
332e62ab
SM
21617 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
21618 add sanity check.
21619
bed7f140
SM
21620 * obsolete/erc-hecomplete.el: Make obsolete.
21621 * obsolete/: Standardize obsolescence info in the header.
21622
f195c582
GM
216232011-04-20 Glenn Morris <rgm@gnu.org>
21624
21625 * calendar/solar.el (solar-horizontal-coordinates):
21626 Use the longitude argument rather than `calendar-longitude'.
21627 (solar-date-next-longitude): Remove unused locals.
21628
cb79b8c0
VJL
216292011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
21630
21631 * whitespace.el: New version 13.2.1.
21632
216332011-04-20 felix <EmacsWiki> (tiny change)
21634
d8e4b68b 21635 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
21636 switching between major modes on a file.
21637
602ea69d
SM
216382011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
21639
21640 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
21641 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
21642 multi-line comments as well.
21643
06b60517
JB
216442011-04-19 Juanma Barranquero <lekktu@gmail.com>
21645
21646 Lexical-binding cleanup.
21647
21648 * arc-mode.el (archive-mode-revert):
21649 * cmuscheme.el (scheme-interactively-start-process):
21650 * custom.el (custom-initialize-delay):
21651 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
21652 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
21653 * emacs-lock.el (emacs-lock-clear-sentinel):
21654 * ezimage.el (defezimage):
21655 * follow.el (follow-avoid-tail-recenter):
21656 * fringe.el (set-fringe-mode-1):
21657 * generic-x.el (bat-generic-mode-compile):
21658 * help-mode.el (help-info-variable, help-do-xref)
21659 (help-mode-revert-buffer):
21660 * help.el (view-emacs-todo):
21661 * iswitchb.el (iswitchb-completion-help):
21662 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
21663 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
21664 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
21665 * locate.el (locate-update):
21666 * longlines.el (longlines-encode-region)
21667 (longlines-after-change-function):
21668 * outline.el (outline-isearch-open-invisible):
21669 * ps-def.el (declare-function, charset-dimension, char-width)
21670 (encode-char):
21671 * ps-mule.el (ps-mule-plot-string):
21672 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
21673 (recentf-edit-list-select, recentf-edit-list-validate)
21674 (recentf-open-files-action):
21675 * rect.el (delete-whitespace-rectangle-line)
21676 (rectangle-number-line-callback):
21677 * register.el (window-configuration-to-register)
21678 (frame-configuration-to-register):
21679 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
21680 * select.el (xselect-convert-to-string, xselect-convert-to-length)
21681 (xselect-convert-to-targets, xselect-convert-to-delete)
21682 (xselect-convert-to-filename, xselect-convert-to-charpos)
21683 (xselect-convert-to-lineno, xselect-convert-to-colno)
21684 (xselect-convert-to-os, xselect-convert-to-host)
21685 (xselect-convert-to-user, xselect-convert-to-class)
21686 (xselect-convert-to-name, xselect-convert-to-integer)
21687 (xselect-convert-to-atom, xselect-convert-to-identity):
21688 * subr.el (declare, ignore, process-kill-without-query)
21689 (text-clone-maintain):
21690 * terminal.el (te-get-char, te-tic-sentinel):
21691 * tool-bar.el (tool-bar-make-keymap):
21692 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
21693 * type-break.el (type-break-mode, type-break-noninteractive-query):
21694 * view.el (View-back-to-mark):
21695 * wid-browse.el (widget-browse-action, widget-browse-widget)
21696 (widget-browse-widgets, widget-browse-sexp):
21697 * widget.el (define-widget-keywords):
21698 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
21699 Mark unused parameters.
21700
21701 * align.el (align-adjust-col-for-rule): Mark unused parameter.
21702 (align-areas): Remove unused variable `look'.
21703 (align-region): Remove unused variables `real-end' and `pos-list'.
21704
21705 * apropos.el (apropos-score-doc): Remove unused variable `i'.
21706
21707 * bindings.el (mode-line-modified, mode-line-remote):
21708 Mark unused parameters.
21709 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
21710
21711 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
21712 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
21713
21714 * comint.el (comint-history-isearch-pop-state)
21715 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
21716 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
21717 (comint-substitute-in-file-name): Doc fix.
21718
21719 * completion.el (cmpl-statistics-block): Mark unused parameter.
21720 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
21721 (save-completions-to-file, load-completions-from-file):
21722 Remove unused local variable `e'.
21723
21724 * composite.el (compose-chars): Remove unused variable `len'.
21725 (lgstring-insert-glyph): Remove unused variable `g'.
21726 (compose-glyph-string): Remove unused variables `ascent',
21727 `descent', `lbearing' and `rbearing'.
21728 (compose-glyph-string-relative): Remove unused variables
21729 `lbearing', `rbearing' and `wadjust'.
21730 (compose-gstring-for-graphic): Remove unused variables `header',
21731 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
21732 (compose-gstring-for-terminal): Remove unused variables `header'
21733 and `nchars'. Use `let', not `let*'.
21734
21735 * cus-edit.el (Custom-set, Custom-save, custom-reset)
21736 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
21737 (Custom-buffer-done, custom-buffer-create-internal)
21738 (custom-browse-visibility-action, custom-browse-group-tag-action)
21739 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
21740 (widget-magic-mouse-down-action, custom-toggle-parent)
21741 (custom-add-parent-links, custom-toggle-hide-variable)
21742 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
21743 (custom-toggle-hide-face, face, hook, custom-group-link-action)
21744 (custom-face-menu-create, custom-variable-menu-create, get)
21745 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
21746 (custom-reset-standard-save-and-update): Remove unused variable `value'.
21747 (customize-apropos): Remove unused variable `tests'.
21748 (custom-group-value-create): Remove unused variable `hidden-p'.
21749 (sort-fold-case): Declare.
21750
21751 * cus-theme.el (custom-reset-standard-faces-list)
21752 (custom-reset-standard-variables-list): Declare.
21753 (customize-create-theme, custom-theme-revert, custom-theme-write)
21754 (custom-theme-choose-mode, customize-themes, custom-theme-save):
21755 Mark unused parameters.
21756
21757 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
21758
21759 * delim-col.el (delimit-columns-max): Move defvar before first use.
21760
21761 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 21762 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
21763
21764 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
21765 (auto-insert): Declare.
21766 (desktop-restore-file-buffer): Rename desktop-* parameters;
21767 mark unused ones.
21768 (desktop-create-buffer): Rename desktop-* parameters and bind them.
21769 (desktop-buffer): Rename desktop-* parameters.
21770
21771 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
21772 (dframe-reposition-frame-xemacs, dframe-help-echo)
21773 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
21774 Mark unused parameters.
21775
21776 * dired-aux.el (backup-extract-version-start, overwrite-query)
21777 (overwrite-backup-query, rename-regexp-query)
21778 (rename-non-directory-query): Declare.
21779 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
21780 (dired-add-entry): Remove unused variable `orig-file-name'.
21781 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
21782 Use parameter PRESERVE-TIME instead of accessing dynamic variable
21783 `dired-copy-preserve-time' directly.
21784 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
21785 (dired-insert-subdir-newpos): Rename unused variable `pos'.
21786
21787 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
21788 (dired-virtual-revert, dired-make-relative-symlink):
21789 Mark unused parameters.
21790 (manual-program): Declare.
21791 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
21792 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
21793 wrapped in `with-no-warnings' to avoid replacing one warning by another.
21794
21795 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
21796
21797 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
21798
21799 * echistory.el (electric-history-in-progress, Helper-return-blurb):
21800 Declare.
21801
21802 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
21803
21804 * electric.el (Electric-command-loop): Rename parameter
21805 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
21806
21807 * expand.el (expand-in-literal): Remove unused variable `here'.
21808
21809 * facemenu.el (facemenu-add-new-color):
21810 Remove unused variable `docstring'.
21811
21812 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
21813 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
21814 (face-attr-construct): Mark unused parameter. Doc fix.
21815 (read-color): Remove unused variable `hex-string'.
21816
21817 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
21818 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
21819 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
21820 (display-buffer-other-frame): Remove unused variable `old-window'.
21821 (kill-buffer-hook): Declare.
21822 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
21823 Mark unused parameters.
21824 (after-find-file): Pass 1 to `auto-save-mode', not t.
21825
21826 * files-x.el (auto-insert): Declare.
21827 (modify-file-local-variable-prop-line): Remove unused variable `val'.
21828
21829 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 21830 variable `buf'. Mark unused parameter.
06b60517
JB
21831 (find-lisp-insert-directory): Mark unused parameter.
21832
21833 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
21834 (format-encode-region): Remove unused variables `cur-buf' and `result'.
21835 (format-common-tail): Remove, unused.
21836 (format-deannotate-region): Remove unused variable `loc'.
21837 (format-annotate-region): Remove unused variable `p'.
21838 (format-annotate-single-property-change): Remove unused variables
21839 `default' and `tail'.
21840
21841 * forms.el (read-file-filter): Declare.
21842 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
21843
21844 * frame.el (frame-creation-function-alist): Mark unused parameter.
21845 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
21846
21847 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
21848 Remove unused parameters.
21849 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
21850 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
21851
21852 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
21853 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
21854 (hfy-prepare-tag-map): Mark unused parameters.
21855 (htmlfontify-buffer): Use `called-interactively-p'.
21856
21857 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
21858 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
21859 (ibuffer-do-occur): Mark unused parameters.
21860 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
21861 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
21862
21863 * ibuffer.el: Don't quote `lambda'.
21864 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
21865 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
21866 Mark unused parameters.
21867
21868 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
21869 (ido-completing-read): Mark unused parameters.
21870 (ido-copy-current-word): Mark unused parameters;
21871 remove unused variable `name'.
21872 (ido-sort-merged-list): Remove unused parameter `dirs'.
21873
21874 * ielm.el (ielm-input-sender): Mark unused parameter.
21875 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
21876 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
21877 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
21878 `ielm-string' as a dynamic variable accessible from the IELM prompt.
21879 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
21880
21881 * image-dired.el (image-dired-display-thumbs): Remove unused
21882 variables `curr-file' and `count'.
21883 (image-dired-remove-tag): Remove unused variable `start'.
21884 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
21885 variable `curr-file'
21886 (image-dired-rotate-original): Remove unused variable `temp-file'.
21887 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
21888 Remove unused variable `file'.
21889 (image-dired-gallery-generate): Remove unused variable `curr'.
21890 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
21891
21892 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
21893
21894 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
21895
21896 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
21897
21898 * isearch.el (minibuffer-history-symbol): Declare.
21899 (isearch-edit-string): Remove unused variable `err'.
21900 (isearch-message-prefix, isearch-message-suffix):
21901 Mark unused parameters.
21902
21903 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
21904
21905 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
21906
21907 * makesum.el (double-column): Remove unused variable `cnt'.
21908
21909 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
21910 (ido-ignore-item-temp-list): Declare.
21911
21912 * mouse-drag.el (mouse-drag-throw): Remove unused variables
21913 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
21914 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
21915 (mouse-drag-drag): Remove unused variables `mouse-delta' and
21916 `mouse-col-delta'.
21917
21918 * mouse-sel.el (mouse-extend-internal):
21919 Remove unused variable `orig-window-frame'.
21920
21921 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
21922 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
21923 Move declarations before first use.
21924 (pcomplete-opt): Mark unused parameters; doc fix.
21925
21926 * proced.el (proced-revert): Mark unused parameter.
21927 (proced-send-signal): Remove unused variable `err'.
21928
21929 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
21930 Rename parameter PREFIX-ARG to ARG.
21931 (ps-basic-plot-string, ps-basic-plot-whitespace):
21932 Mark unused parameters.
21933
21934 * replace.el (replace-count): Define.
21935 (occur-revert-function): Mark unused parameters.
21936 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
21937 (isearch-case-fold-search, isearch-string): Declare.
21938 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
21939 bind `case-fold-search'. Remove unused variables `beg' and `end',
21940 and simplify.
21941 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
21942 COUNT and bind `replace-count'.
21943 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
21944 to COUNT.
21945
21946 * savehist.el (print-readably, print-string-length): Declare.
21947
21948 * shadowfile.el (shadow-expand-cluster-in-file-name):
21949 Remove unused variable `cluster'.
21950 (shadow-copy-file): Remove unused variable `i'.
21951 (shadow-noquery, shadow-clusters, shadow-site-cluster)
21952 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
21953 (shadow-define-literal-group, shadow-define-regexp-group)
21954 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
21955
21956 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
21957 (shell): Use `called-interactively-p'.
21958 (shell-directory-tracker): Remove unused variable `chdir-failure'.
21959
21960 * simple.el (compilation-context-lines, comint-file-name-quote-list)
21961 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
21962 (delete-backward-char): Remove unused variable `ocol'.
21963 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
21964 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
21965 (event-apply-hyper-modifier, event-apply-shift-modifier)
21966 (event-apply-control-modifier, event-apply-meta-modifier):
21967 Mark unused parameters.
21968 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
21969 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
21970
21971 * speedbar.el (speedbar-ignored-directory-expressions)
21972 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
21973 (speedbar-find-file, speedbar-dir-follow)
21974 (speedbar-directory-buttons-follow, speedbar-tag-find)
21975 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
21976 (speedbar-buffers-line-directory, speedbar-buffer-click):
21977 Mark unused parameters.
21978 (speedbar-tag-file): Remove unused variable `mode'.
21979 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
21980
21981 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
21982
21983 * talk.el (talk): Remove unused variable `display'.
21984
21985 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
21986 (tar-write-region-annotate): Mark unused parameter.
21987
21988 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
21989 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
21990 Declare them, wrapped in `with-no-warnings' to avoid replacing one
21991 warning by another.
21992
21993 * time-stamp.el (time-stamp-string-preprocess):
21994 Remove unused variable `require-padding'.
21995
21996 * tree-widget.el (widget-glyph-enable): Declare.
21997 (tree-widget-action): Mark unused parameter.
21998
21999 * w32-fns.el (x-get-selection): Mark unused parameter.
22000 (autoload-make-program, generated-autoload-file): Declare.
22001
22002 * wdired.el (wdired-revert): Mark unused parameters.
22003 (wdired-xcase-word): Remove unused variable `err'.
22004
22005 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
22006 (whitespace-help-scroll): Remove unused variable `data-help'.
22007
22008 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
22009 (widget-image-insert, widget-after-change, default)
22010 (widget-default-format-handler, widget-default-notify)
22011 (widget-default-prompt-value, widget-info-link-action)
22012 (widget-url-link-action, widget-function-link-action)
22013 (widget-variable-link-action, widget-file-link-action)
22014 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
22015 (widget-field-prompt-internal, widget-field-action, widget-field-match)
22016 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
22017 (widget-insert-button-action, widget-delete-button-action, visibility)
22018 (widget-documentation-link-action, widget-documentation-string-action)
22019 (widget-const-prompt-value, widget-regexp-match, symbol)
22020 (widget-coding-system-prompt-value)
22021 (widget-key-sequence-value-to-external, sexp)
22022 (widget-sexp-value-to-internal, character, vector, cons)
22023 (widget-choice-prompt-value, widget-boolean-prompt-value)
22024 (widget-color--choose-action): Mark unused parameters.
22025 (widget-item-match-inline, widget-choice-match-inline)
22026 (widget-checklist-match, widget-checklist-match-inline)
22027 (widget-group-match): Rename parameter VALUES to VALS.
22028 (widget-field-value-set): Remove unused variable `size'.
22029 (widget-color-action): Remove unused variables `value' and `start'.
22030
22031 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 22032 variable `dir'. Doc fix.
06b60517
JB
22033 (windmove-find-other-window): Don't pass it.
22034
22035 * window.el (count-windows): Mark unused parameter.
22036 (bw-adjust-window): Remove unused variable `err'.
22037
22038 * woman.el (woman-file-name): Remove unused variable `default'.
22039 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
22040 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
22041 (global-font-lock-mode): Declare.
22042 (woman-decode-region): Mark unused parameter.
22043 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
22044
22045 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
22046 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
22047 (x-dnd-handle-moz-url): Remove unused variable `title'.
22048 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
22049
22050 * xml.el (xml-parse-tag, xml-parse-attlist):
22051 Remove unused variable `pos'.
22052
bc4f7f3d
GM
220532011-04-19 Glenn Morris <rgm@gnu.org>
22054
22055 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
22056 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
22057 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
22058 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
22059 * calendar/cal-html.el (cal-html-insert-minical):
22060 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
22061 (calendar-mark-date-pattern):
22062 Prefix "unused" locals.
22063
22064 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
22065 optional argument `style'.
22066
22067 * calendar/appt.el (appt-make-list):
22068 * calendar/cal-china.el (calendar-chinese-date-string):
22069 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
22070 (diary-hebrew-yahrzeit):
22071 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
22072 * calendar/calendar.el (calendar-generate-window):
22073 * calendar/time-date.el (time-to-days):
22074 Remove unused local variables.
22075
16a43933
CY
220762011-04-18 Chong Yidong <cyd@stupidchicken.com>
22077
22078 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
22079 glyphless-char-display table.
22080 (tabulated-list-glyphless-char-display): New var.
22081
7eed1860
SS
220822011-04-18 Sam Steingold <sds@gnu.org>
22083
22084 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
22085 to acknowledgments.
22086
4d2d1ccd
GM
220872011-04-17 Glenn Morris <rgm@gnu.org>
22088
22089 * calendar/diary-lib.el (diary-sexp-entry):
22090 * calendar/holidays.el (holiday-sexp):
22091 Set debug-on-error rather than the removed stack-trace-on-error.
22092
239da61d
GM
220932011-04-16 Glenn Morris <rgm@gnu.org>
22094
22095 * progmodes/f90.el: Use lexical-binding.
22096 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
22097
8b05752a
SM
220982011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
22099
daca8ba5
SM
22100 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
22101 (mail-mode): Setup mailalias completion here instead.
22102 * mail/mailalias.el: Use lexical-binding.
22103 (pattern, mailalias-done): Declare dynamic.
22104 (mail-completion-at-point-function): New function, from mail-complete.
22105 (mail-complete): Use it.
22106 (mail-completion-expand): New function.
22107 (mail-get-names): Use it.
22108 (mail-directory, mail-directory-process, mail-directory-stream):
22109 Don't use `pattern' for lexically bound arg.
22110
6f542485
SM
22111 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
22112
037e7c3f
SM
22113 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
22114 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
22115 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
22116
8b05752a
SM
22117 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
22118 (byte-save-window-excursion, byte-temp-output-buffer-setup)
22119 (byte-interactive-p): Define them again, for use when inlining
22120 old code.
22121
49093f60
JB
221222011-04-15 Juanma Barranquero <lekktu@gmail.com>
22123
22124 * loadup.el: Use `string-to-number', not `string-to-int'.
22125
b5b8e7de
SM
221262011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
22127
22128 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
22129 gud-gdb-complete-command.
22130 (gud-gdb-completions): New function, from gud-gdb-complete-command.
22131 (gud-gdb-completion-at-point): New function.
22132 (gud-gdb-completions): Remove.
22133
f42efeb5
MA
221342011-04-14 Michael Albinus <michael.albinus@gmx.de>
22135
49093f60
JB
22136 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
22137 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
22138 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
22139 whether `executable-find' is bound.
f42efeb5
MA
22140
22141 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
22142
e240cc21
SM
221432011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
22144
22145 * minibuffer.el (completion-in-region-mode-predicate)
22146 (completion-in-region-mode--predicate): New vars.
22147 (completion-in-region, completion-in-region--postch)
22148 (completion-in-region-mode): Use them.
22149 (completion--capf-wrapper): Also return the hook function.
22150 (completion-at-point, completion-help-at-point):
22151 Adjust and provide a predicate.
c2bd2ab0
SM
22152
22153 Preserve arg names for advice of subr and lexical functions (bug#8457).
22154 * help-fns.el (help-function-arglist): Consolidate the subr and
22155 new-byte-code cases. Add argument `preserve-names' to extract names
22156 from the docstring when needed.
22157 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
22158 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
22159 (ad-arglist): Use help-function-arglist's new arg.
22160 (ad-definition-type): Use cond.
22161
c183f693
JB
221622011-04-13 Juanma Barranquero <lekktu@gmail.com>
22163
06641a47
JB
22164 * autorevert.el (auto-revert-handler):
22165 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
22166 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
22167 Don't quote lambda.
22168
c183f693
JB
22169 * image-mode.el (image-transform-set-scale):
22170 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
22171
1e3b6001
G
221722011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
22173
22174 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 22175 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
22176 Upgrades via gnutls-cli are too slow to be done opportunistically.
22177
2d6af8dd
JB
221782011-04-12 Juanma Barranquero <lekktu@gmail.com>
22179
22180 * dframe.el (dframe-current-frame): Remove spurious quote.
22181
c0749a51
GM
221822011-04-12 Glenn Morris <rgm@gnu.org>
22183
088d0d61
GM
22184 * calendar/cal-tex.el (cal-tex-end-document):
22185 Try to automatically use latin1 input if needed.
22186
c0749a51
GM
22187 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
22188 Don't try to cons a mark onto an empty element.
22189
5c90fde0
LL
221902011-04-11 Leo Liu <sdl.web@gmail.com>
22191
22192 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
22193 buffers.
22194 (ido-kill-buffer-at-head): Support killing virtual buffers.
22195
369e974d
CY
221962011-04-10 Chong Yidong <cyd@stupidchicken.com>
22197
22198 * minibuffer.el (completion-show-inline-help): New var.
22199 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
22200 (minibuffer-force-complete, minibuffer-complete-word):
22201 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
22202
22203 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
22204 to avoid interference from inline help (Bug#5849).
22205
37f1c930
LL
222062011-04-10 Leo Liu <sdl.web@gmail.com>
22207
099c39a4
JB
22208 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
22209 Fix typo.
37f1c930 22210
a32d4040
CY
222112011-04-09 Chong Yidong <cyd@stupidchicken.com>
22212
22213 * image-mode.el (image-toggle-display-image): Signal an error if
22214 not in Image mode.
22215 (image-transform-mode, image-transform-resize)
22216 (image-transform-set-rotation): Doc fix.
daca8ba5 22217 (image-transform-set-resize): Delete.
a32d4040
CY
22218 (image-transform-set-scale, image-transform-fit-to-height)
22219 (image-transform-fit-to-width): Handle image-toggle-display-image
22220 and image-transform-resize directly.
22221
099c39a4 222222011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
22223
22224 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
22225 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
22226 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
22227 (doc-view-mode-map): Add bindings for the new functions.
22228
099c39a4 222292011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 22230
4d61f28d 22231 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
22232 Fix typo in docstring.
22233
3726838a
EZ
222342011-04-08 Eli Zaretskii <eliz@gnu.org>
22235
04f33f1e
EZ
22236 * files.el (file-size-human-readable): Produce one digit after
22237 decimal, like "ls -lh" does.
22238
22239 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
22240 the file size representation.
22241
3726838a
EZ
22242 * simple.el (list-processes): If async subprocesses are not
22243 available, error out with a clear error message.
22244
cbb59342
CY
222452011-04-08 Chong Yidong <cyd@stupidchicken.com>
22246
22247 * help.el (help-form-show): New function, to be called from C.
22248 Put help-form output in a buffer named differently than *Help*.
22249
e3971c44
EZ
222502011-04-08 Eli Zaretskii <eliz@gnu.org>
22251
22252 * files.el (file-size-human-readable): New function.
22253
22254 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
22255 computing the representation inline. Don't require `cl'.
22256
12544bbe
GM
222572011-04-08 Glenn Morris <rgm@gnu.org>
22258
a1de6c6a
GM
22259 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
22260
3c4671f4
GM
22261 * net/browse-url.el (browse-url-firefox):
22262 Test system-type, not system-configuration.
22263
b605679c
GM
22264 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
22265 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
22266 Use log-edit-empty-buffer-p. (Bug#7598)
22267
56442f0c
GM
22268 * net/rlogin.el (rlogin-process-connection-type): Simplify.
22269 (rlogin-mode-map): Initialize in the defvar.
22270 (rlogin): Use ignore-errors.
22271
12544bbe
GM
22272 * replace.el (occur-mode-map): Some fixes for menu items.
22273
eb237b0f
AH
222742011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
22275
22276 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
22277
7d668f2c
CY
222782011-04-06 Chong Yidong <cyd@stupidchicken.com>
22279
e67a13ab
CY
22280 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
22281 issuing unused warnings.
22282
22283 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
22284 macro directly.
22285
7d668f2c
CY
22286 * simple.el: Lisp reimplement of list-processes. Based on an
22287 earlier reimplementation by Leo Liu, but using tabulated-list.el.
22288 (process-menu-mode): New major mode.
22289 (list-processes--refresh, list-processes):
22290 (process-menu-visit-buffer): New functions.
22291
22292 * files.el (save-buffers-kill-emacs): Don't assume any return
22293 value of list-processes, which is undocumented anyway.
22294
a83ec3c9
CY
222952011-04-06 Chong Yidong <cyd@stupidchicken.com>
22296
22297 * emacs-lisp/tabulated-list.el: New file.
22298
e91a96fe
CY
22299 * emacs-lisp/package.el: Use Tabulated List mode.
22300 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
22301 (package-menu-mode): Derive from tabulated-list-mode. Set up the
22302 table format using Tabulated List mode variables.
22303 (package--push): New macro, replacing package-list-maybe-add.
22304 (package-menu--generate): Use package--push. Renamed from
22305 package--generate-package-list.
22306 (package-menu-refresh, list-packages): Use it.
daca8ba5 22307 (package-menu--print-info): Rename from package-print-package.
e91a96fe 22308 Return insertion data instead of inserting it directly.
099c39a4
JB
22309 (package-menu-describe-package, package-menu-execute):
22310 Use tabulated-list-get-id.
e91a96fe
CY
22311 (package-menu-mark-delete, package-menu-mark-install)
22312 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
22313 (package-menu-mark-obsolete-for-deletion):
22314 Use tabulated-list-put-tag.
e91a96fe
CY
22315 (package--list-packages, package-menu-revert)
22316 (package-menu-get-package, package-menu-get-version)
22317 (package-menu-sort-by-column): Functions deleted.
22318 (package-menu-package-list, package-menu-sort-key): Vars deleted.
22319 (package-menu--status-predicate, package-menu--version-predicate)
22320 (package-menu--name-predicate)
22321 (package-menu--description-predicate): Handle arguments in the
22322 Tabulated List format.
22323 (package-list-packages-no-fetch): Call list-packages.
22324
3e214b50
JB
223252011-04-06 Juanma Barranquero <lekktu@gmail.com>
22326
22327 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 22328 (after-find-file): Don't bind it.
3e214b50
JB
22329 (revert-buffer-in-progress-p): New variable.
22330 (revert-buffer): Bind it.
22331 Pass nil for `after-find-file-from-revert-buffer'.
22332
22333 * saveplace.el (save-place-find-file-hook): Use new variable
22334 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
22335
3f0f1700
GM
223362011-04-06 Glenn Morris <rgm@gnu.org>
22337
c0274801
GM
22338 * Makefile.in (AUTOGEN_VCS): New variable.
22339 (autoloads): Use $AUTOGEN_VCS.
22340
3f0f1700
GM
22341 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
22342 * calendar/calendar.el (calendar-mode-map):
22343 Check for toolkit scroll bars. (Bug#8305)
22344
41ea9e48
CY
223452011-04-05 Chong Yidong <cyd@stupidchicken.com>
22346
22347 * minibuffer.el (completion-in-region--postch)
22348 (completion-in-region-mode): Remove unnecessary messages.
22349
6194c800
JB
223502011-04-05 Juanma Barranquero <lekktu@gmail.com>
22351
33256f14
JB
22352 * font-lock.el (font-lock-refresh-defaults):
22353 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
22354 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
22355
6194c800
JB
22356 * info.el (Info-directory-list, Info-read-node-name-2)
22357 (Info-split-parameter-string): Doc fixes.
22358 (Info-virtual-nodes): Reflow docstring.
22359 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
22360 (Info-apropos-toc-nodes, info-finder, Info-get-token)
22361 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
22362 Fix typos in docstrings.
22363 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
22364 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
22365 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
22366 (Info-restore-desktop-buffer): Mark unused parameters.
22367 (Info-directory-find-file, Info-directory-find-node)
22368 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
22369 (Info-virtual-index-find-node, Info-apropos-find-file)
22370 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 22371 Mark unused parameters; fix typos in docstrings.
6194c800
JB
22372 (Info-virtual-index): Remove unused local variable `nodename'.
22373
b87a8200 223742011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 22375
b87a8200
DD
22376 * net/rcirc.el: Update my e-mail address.
22377 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 22378
3b2ff876
CY
223792011-04-05 Chong Yidong <cyd@stupidchicken.com>
22380
22381 * startup.el (command-line): Save the cursor's theme-face
22382 directly, instead of using face-override-spec.
22383
22384 * custom.el (load-theme): Minor optimization in assigning faces.
22385
8d17e7ca
JB
223862011-04-04 Juanma Barranquero <lekktu@gmail.com>
22387
22388 * help-fns.el (describe-variable): Complete all variables having
22389 documentation, including keywords.
22390 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
22391
2fbc1934
JB
223922011-04-04 Juanma Barranquero <lekktu@gmail.com>
22393
22394 Convert to lexical-binding.
22395
22396 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
22397 (bs--get-marked-string, bs--get-modified-string)
22398 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
22399 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
22400 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
22401
22402 * ehelp.el (electric-help-execute-extended)
22403 (electric-help-ctrl-x-prefix):
22404 * hexl.el (hexl-revert-buffer-function):
22405 * linum.el (linum-after-change, linum-after-scroll):
22406 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
22407
22408 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
22409
74f50695
DU
224102011-04-04 Daiki Ueno <ueno@unixuser.org>
22411
22412 * epa-dired.el:
22413 * epa-mail.el:
22414 * epa-hook.el:
22415 * epa-file.el:
22416 * epa.el:
22417 * epg.el: Use lexical binding.
22418
c11325f7
CY
224192011-04-03 Chong Yidong <cyd@stupidchicken.com>
22420
0d9e9a12
CY
22421 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
22422
c11325f7 22423 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
22424 dictionary case for flyspell-mark-duplications-exceptions.
22425 Use regexp matching for languages.
c11325f7
CY
22426 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
22427 default dictionary (Bug#7926).
22428
da91b5f2
CY
224292011-04-02 Chong Yidong <cyd@stupidchicken.com>
22430
099c39a4
JB
22431 * emacs-lisp/package.el (package--with-work-buffer):
22432 Recognize https URLs.
da91b5f2 22433
099c39a4
JB
22434 * net/network-stream.el: Move from gnus/proto-stream.el.
22435 Change prefix to network-stream throughout.
da91b5f2
CY
22436 (open-protocol-stream): Merge into open-network-stream, leaving
22437 open-protocol-stream as an alias. Handle nil BUFFER args.
22438
22439 * subr.el (open-network-stream): Move to net/network-stream.el.
22440
afa8e9f6
GM
224412011-04-02 Glenn Morris <rgm@gnu.org>
22442
1d2e369d
GM
22443 * find-dired.el (find-exec-terminator): New option.
22444 (find-ls-option): Test for -ls support.
22445 (find-ls-subdir-switches): Test for -b in find-ls-option.
22446 (find-dired, find-grep-dired): Doc fixes.
22447 (find-dired): Use find-exec-terminator.
22448
8abb7da8 22449 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
22450 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
22451 (find-name-arg): Remove purecopy.
8abb7da8 22452
f3ca7378
GM
22453 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
22454 (grep-compute-defaults): Check for `-exec COMMAND +' support.
22455 Set grep-find-use-xargs, grep-find-command, and grep-find-template
22456 accordingly. Don't add the null-device if not needed.
22457
afa8e9f6
GM
22458 * files.el (save-some-buffers): Doc fix.
22459
35eae264
EZ
224602011-04-02 Eli Zaretskii <eliz@gnu.org>
22461
22462 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
22463
26b51db5
JB
224642011-04-01 Juanma Barranquero <lekktu@gmail.com>
22465
22466 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
22467 Use `dolist' rather than `mapcar'.
22468
7200d79c
SM
224692011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
22470
03408648 22471 Add lexical binding.
7200d79c 22472
03408648
SM
22473 * subr.el (apply-partially): Use new closures rather than CL.
22474 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
22475 (dolist, dotimes): Use slightly different expansion for lexical code.
22476 (functionp): Move to C.
22477 (letrec): New macro.
22478 (with-wrapper-hook): Use it and apply-partially instead of CL.
22479 (eval-after-load): Preserve lexical-binding.
22480 (save-window-excursion, with-output-to-temp-buffer): Turn them
22481 into macros.
7200d79c 22482
03408648
SM
22483 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
22484
22485 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
22486 than the arglist.
22487 (help-add-fundoc-usage): Don't add `Not documented'.
22488 (help-function-arglist): Handle closures, subroutines, and new
22489 byte-code-functions.
22490 (help-make-usage): Remove leading underscores.
22491 (describe-function-1): Handle closures.
22492 (describe-variable): Use special-variable-p for completion.
22493
22494 * files.el (lexical-binding): Declare safe.
f488fb65 22495
03408648
SM
22496 * emacs-lisp/pcase.el: Don't use destructuring-bind.
22497 (pcase--memoize): Rename from pcase-memoize. Change weakness.
22498 (pcase): Add `let' pattern.
22499 Change memoization so it actually works.
22500 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
22501 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
22502 <let>: New case.
f488fb65 22503
03408648
SM
22504 * emacs-lisp/macroexp.el: Use lexical binding.
22505 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
22506 Don't convert ' to #' without checking that it's indeed quoting
22507 a lambda.
22508
22509 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 22510 Use eval-sexp-add-defvars.
03408648
SM
22511 (eval-sexp-add-defvars): New fun.
22512
22513 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
22514
22515 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
22516 Don't autoload.
22517 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
22518 than the internal `byte-compile-lambda'.
22519 (defmethod): Don't hide code under quotes.
22520 (eieio-defmethod): New `code' argument.
22521
22522 * emacs-lisp/eieio-comp.el: Remove.
22523
22524 * emacs-lisp/edebug.el (edebug-eval-defun)
22525 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
22526 (edebug-toggle): Avoid `eval'.
22527
22528 * emacs-lisp/disass.el (disassemble-internal): Handle new
22529 `closure' objects.
22530 (disassemble-1): Handle new byte codes.
22531
22532 * emacs-lisp/cl.el (pushnew): Silence warning.
22533
22534 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
22535 (cl-byte-compile-throw): Remove.
22536 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
22537
22538 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
22539 closures.
22540
22541 * emacs-lisp/cconv.el: New file.
22542
22543 * emacs-lisp/bytecomp.el: Use lexical binding instead of
22544 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
22545 (byte-compile-initial-macro-environment):
22546 Handle declare-function here.
22547 (byte-compile--lexical-environment): New var.
22548 (byte-stack-ref, byte-stack-set, byte-discardN)
22549 (byte-discardN-preserve-tos): New lap codes.
22550 (byte-interactive-p): Don't use any more.
22551 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
22552 New macros.
22553 (byte-compile-lapcode): Use them and handle new lap codes.
22554 (byte-compile-obsolete): Remove.
22555 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
22556 (byte-compile-arglist-warn): Check late def of inlinable funs.
22557 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
22558 since they should have been expanded by now.
22559 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
22560 (byte-compile-from-buffer): Remove unused second arg.
22561 (byte-compile-preprocess): New function.
22562 (byte-compile-toplevel-file-form): New function to distinguish
22563 file-form calls from outside from file-form calls from hunk-handlers.
22564 (byte-compile-file-form): Simplify.
22565 (byte-compile-file-form-defsubst): Remove.
22566 (byte-compile-file-form-defmumble): Simplify now that
22567 byte-compile-lambda always returns a byte-code-function.
22568 (byte-compile): Preprocess.
22569 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
22570 Remove, not used any more.
22571 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
22572 (byte-compile-make-args-desc): New funs.
22573 (byte-compile-lambda): Handle lexical functions. Always return
22574 a byte-code-function.
22575 (byte-compile-reserved-constants): New var, to make up room for
22576 closed-over variables.
22577 (byte-compile-constants-vector): Obey it.
22578 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
22579 (byte-compile-macroexpand-declare-function): New function.
22580 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
22581 byte-code-functions.
22582 (byte-compile-form): Check obsolescence here.
22583 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
22584 (byte-compile-variable-ref): Remove.
22585 (byte-compile-dynamic-variable-op): New fun.
22586 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
22587 (byte-compile-variable-set): New funs.
22588 (byte-compile-discard): Add 2 args.
22589 (byte-compile-stack-ref, byte-compile-stack-set)
22590 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
22591 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
22592 macroexpand-all instead.
22593 (byte-compile-quote-form): Remove.
22594 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
22595 (byte-compile-bind, byte-compile-unbind): New funs.
22596 (byte-compile-let): Handle let* and lexical binding.
22597 (byte-compile-let*): Remove.
22598 (byte-compile-catch, byte-compile-unwind-protect)
22599 (byte-compile-track-mouse, byte-compile-condition-case):
22600 Handle a new :fun-body form, used for lexical scoping.
22601 (byte-compile-save-window-excursion)
22602 (byte-compile-with-output-to-temp-buffer): Remove.
22603 (byte-compile-defun): Simplify.
22604 (byte-compile-stack-adjustment): New fun.
22605 (byte-compile-out): Use it.
22606 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
22607
22608 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
22609 handler any more.
22610
22611 * emacs-lisp/byte-opt.el: Use lexical binding.
22612 (byte-inline-lapcode): Remove (to bytecomp).
22613 (byte-compile-inline-expand): Pay attention to inlining to/from
22614 lexically bound code.
22615 (byte-compile-unfold-lambda): Don't handle byte-code-functions
22616 any more.
22617 (byte-optimize-form-code-walker): Don't handle save-window-excursion
22618 any more and don't call compiler-macros.
22619 (byte-compile-splice-in-already-compiled-code): Remove.
22620 (byte-code): Don't inline any more.
22621 (disassemble-offset): Receive `bytes' as argument rather than via
22622 dynamic scoping.
22623 (byte-compile-tag-number): Declare before first use.
22624 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
22625 `return' even if make-spliceable.
22626 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
22627 obsolete interactive-p.
22628 (byte-optimize-lapcode): Optimize new lap-codes.
22629 Don't trip up on new form of `byte-constant' lap code.
22630
22631 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
22632
22633 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
22634
22635 * custom.el (custom-initialize-default, custom-declare-variable):
22636 Use `defvar'.
22637
22638 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
22639 New variables.
22640 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
22641 (COMPILE_FIRST): Add macroexp and cconv.
22642 * makefile.w32-in: Mirror changes in Makefile.in.
22643
22644 * vc/cvs-status.el:
22645 * vc/diff-mode.el:
22646 * vc/log-edit.el:
22647 * vc/log-view.el:
22648 * vc/smerge-mode.el:
22649 * textmodes/bibtex-style.el:
090bd7cb 22650 * textmodes/css-mode.el:
03408648
SM
22651 * startup.el:
22652 * uniquify.el:
da91b5f2
CY
22653 * minibuffer.el:
22654 * newcomment.el:
22655 * reveal.el:
22656 * server.el:
22657 * mpc.el:
22658 * emacs-lisp/smie.el:
22659 * doc-view.el:
22660 * dired.el:
03408648
SM
22661 * abbrev.el: Use lexical binding.
22662
0f0c1f27
EZ
226632011-04-01 Eli Zaretskii <eliz@gnu.org>
22664
22665 * info.el (info-display-manual): New function.
22666
c82b2579
SM
226672011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
22668
22669 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
22670
221ddf68
TH
226712011-03-31 Tassilo Horn <tassilo@member.fsf.org>
22672
22673 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 22674 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 22675
cba6e77e
GM
226762011-03-31 Glenn Morris <rgm@gnu.org>
22677
e040639f
GM
22678 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
22679
cba6e77e
GM
22680 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
22681
6d0f1c9e
CS
226822011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
22683
22684 * progmodes/python.el (python-default-interpreter)
22685 (python-python-command-args, python-jython-command-args)
22686 (python-which-shell, python-which-args, python-which-bufname)
22687 (python-file-queue, python-comint-output-filter-function)
22688 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
22689 variables and functions.
22690
3e2d70fd
SM
226912011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
22692
22693 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
22694 (completion-in-region-mode): New minor mode.
22695 (completion-in-region): Use it.
22696 (completion-in-region--data, completion-in-region-mode-map): New vars.
22697 (completion-in-region--postch): New function.
22698 (completion--capf-misbehave-funs, completion--capf-safe-funs):
22699 New vars.
22700 (completion--capf-wrapper): New function.
22701 (completion-at-point): Use it to track well-behavedness of
22702 hook functions.
22703 (completion-help-at-point): New command.
22704
f3e4086c
JM
227052011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
22706
22707 * vc/add-log.el (add-change-log-entry): Don't use whitespace
22708 syntax class to search for whitespace on a single line
22709 (Message-ID: <4D938140.4030905@redhat.com>).
22710
eb7ffc14
LL
227112011-03-30 Leo Liu <sdl.web@gmail.com>
22712
22713 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
22714 New commands.
22715 (edit-abbrevs-map): Bind them here.
22716 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
22717
d806ab68
KM
227182011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
22719
22720 * allout.el (allout-hide-by-annotation, allout-flag-region):
22721 Reduce possibility of overlay leakage by making them volatile.
22722
22723 * allout-widgets.el (allout-widgets-tally): Define as nil so the
22724 hash is not shared between buffers. Mode initialization is
22725 responsible for giving it a useful starting value.
22726 (allout-item-span): Reduce possibility of overlay leakage by
22727 making them volatile.
22728 (allout-widgets-count-buttons-in-region): Add diagnostic function
22729 for tracking down button overlay leaks.
22730
ea622834
LL
227312011-03-29 Leo Liu <sdl.web@gmail.com>
22732
22733 * ido.el (ido-read-internal): Use the default history var
22734 minibuffer-history if no HISTORY is specified.
22735
b62f8267
G
227362011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
22737
03408648
SM
22738 * net/imap.el (imap-shell-open, imap-process-connection-type):
22739 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
22740 Kerberos, SSL, other subprocesses.
22741
947b6566
LL
227422011-03-28 Leo Liu <sdl.web@gmail.com>
22743
22744 * abbrev.el (abbrev-table-empty-p): New function.
22745 (prepare-abbrev-list-buffer): Place empty abbrev tables after
22746 nonempty ones. (Bug#5937)
22747
5ffb62aa
JD
227482011-03-27 Jan Djärv <jan.h.d@swipnet.se>
22749
22750 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
22751
7a097943
LL
227522011-03-27 Leo Liu <sdl.web@gmail.com>
22753
22754 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
22755 for foreground and background colors.
22756 (ansi-color-make-color-map): Adapt.
22757
c5b40130
LL
227582011-03-25 Leo Liu <sdl.web@gmail.com>
22759
1f48f7d2
LL
22760 * midnight.el (midnight-time-float): Remove. Note it calculates
22761 the microsecond component incorrectly and seconds-to-time does the
22762 same job.
625897ec 22763 Remove redundant (require 'timer).
1f48f7d2 22764
c5b40130
LL
22765 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
22766 (ido-completions): Remove unused arguments. (Bug#8329)
22767
d86d2721
SM
227682011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
22769
22770 * minibuffer.el (completion--flush-all-sorted-completions):
22771 Remove itself from hook.
22772 (completion-at-point): Let the functions perform the completion
22773 immediately and return nil or t.
22774 * comint.el (comint-dynamic-complete-functions): Now identical to
22775 completion-at-point-functions.
22776 (comint-dynamic-list-input-ring): Remove unused var `index'.
22777 (comint--match-partial-filename, comint--unquote&expand-filename):
22778 New funs, split from comint-match-partial-filename.
22779 (comint-dynamic-complete): Use completion-at-point.
22780 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
22781
e8974c48
DA
227822011-03-24 Drew Adams <drew.adams@oracle.com>
22783
22784 * thingatpt.el: Support `defun'.
22785
def71b5e
LL
227862011-03-23 Leo Liu <sdl.web@gmail.com>
22787
cb5af48e
LL
22788 * abbrevlist.el: Move to obsolete/abbrevlist.el.
22789
def71b5e
LL
22790 * help-mode.el (help-mode-finish): Tweak regexp.
22791
927c53e7
GM
227922011-03-23 Glenn Morris <rgm@gnu.org>
22793
18d05bed
GM
22794 * eshell/esh-opt.el (eshell-eval-using-options):
22795 Do not bind unused local variable `eshell-option-stub'.
22796
927c53e7
GM
22797 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
22798
9d0da923
JB
227992011-03-22 Juanma Barranquero <lekktu@gmail.com>
22800
22801 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
22802 keymap variable in `with-no-warnings' to avoid a warning when the
22803 keymap has been already `defconst'ed.
22804
4b978a67
LL
228052011-03-22 Leo Liu <sdl.web@gmail.com>
22806
22807 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
22808 encode all chars in abbrevs; otherwise use emacs-mule or
22809 utf-8-emacs. (Bug#8308)
22810
5fd62452
JB
228112011-03-22 Juanma Barranquero <lekktu@gmail.com>
22812
0b1596c6
JB
22813 * simple.el (backward-delete-char-untabify):
22814 Avoid warning about using `delete-backward-char'.
22815
5fd62452
JB
22816 * image.el (image-type-file-name-regexps): Make it variable.
22817 `imagemagick-register-types' modifies it, and the user may want
22818 to add new extensions for known image types.
22819 (imagemagick-register-types): Throw error if not using ImageMagick.
22820
0b4e93f1
LL
228212011-03-22 Leo Liu <sdl.web@gmail.com>
22822
22823 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
22824 located before rcirc-prompt-end-marker.
22825 (rcirc-complete): Error if point is not after rcirc prompt.
22826 Handle the case when table is nil.
9882e214 22827 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 22828
fccee4ab
CY
228292011-03-22 Chong Yidong <cyd@stupidchicken.com>
22830
22831 * custom.el (custom--inhibit-theme-enable): Make it affect only
22832 custom-theme-set-variables and custom-theme-set-faces.
22833 (provide-theme): Ignore custom--inhibit-theme-enable.
22834 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
22835 (custom-enabling-themes): Delete variable.
d86d2721
SM
22836 (enable-theme): Accept only loaded themes as arguments.
22837 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
22838 (custom-enabled-themes): Forbid themes from setting this.
22839 Eliminate use of custom-enabling-themes.
22840 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 22841
af896da6
LL
228422011-03-21 Leo Liu <sdl.web@gmail.com>
22843
22844 * ido.el (ido-read-internal): Add ido-selected to history instead
22845 of user input.
22846
78f64af0
SM
228472011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
22848
22849 * subr.el (deferred-action-list, deferred-action-function):
22850 Mark obsolete.
22851
b16ac1ec
LL
228522011-03-21 Leo Liu <sdl.web@gmail.com>
22853
810f7698
LL
22854 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
22855 change on 2011-02-13 (bug#8309).
22856
b16ac1ec
LL
22857 * minibuffer.el (read-file-name-function): Change default value.
22858 (read-file-name--defaults): Rename from read-file-name-defaults.
22859 (read-file-name-default): Rename from read-file-name.
22860 (read-file-name): Call read-file-name-function.
22861
4e05e67e
GM
228622011-03-21 Glenn Morris <rgm@gnu.org>
22863
22864 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
22865 Doc fixes.
22866
4359915b
CY
228672011-03-21 Chong Yidong <cyd@stupidchicken.com>
22868
22869 * cus-theme.el: Add missing provide statement.
22870 (customize-create-theme): Extract theme value correctly.
22871 (custom-theme-visit-theme): Autoload.
22872 (customize-create-theme): Prompt before inserting default faces.
22873
1fe275ee
JB
228742011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
22875
22876 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
22877 units and musical notes.
22878
cd394be1 228792011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
22880
22881 * ido.el (ido-read-internal): Use completing-read-default.
22882 (ido-completing-read): Fix compatibility with completing-read.
22883
7d476bde
CO
228842011-03-20 Christian Ohler <ohler@gnu.org>
22885
22886 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
22887 (ert-delete-all-tests): Use `called-interactively-p' rather than
22888 `interactive-p'.
22889 (ert--make-xrefs-region): Respect END.
22890
fe0fb33e
CY
228912011-03-19 Chong Yidong <cyd@stupidchicken.com>
22892
ff854b0b
CY
22893 * dired-aux.el (dired-create-directory): Signal an error if the
22894 directory already exists (Bug#8246).
22895
fe0fb33e
CY
22896 * facemenu.el (list-colors-display): Call list-faces-display
22897 inside with-help-window.
22898 (list-colors-print): Use display property to align the final
22899 column, instead of checking window-width.
22900
576bce32
EZ
229012011-03-19 Eli Zaretskii <eliz@gnu.org>
22902
4d61f28d 22903 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
22904 windows-nt systems.
22905 (emerge-protect-metachars): Quote correctly for ms-dos and
22906 windows-nt systems.
22907
89c41d68 229082011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
22909
22910 * info.el (info-initialize): Replace all uses of `:' with
22911 path-separator for compatibility with non-Unix systems.
22912 Cache quoting of path-separator. (Bug#8258)
22913
b14e3e21 229142011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
22915
22916 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
22917 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
22918 (mouse-avoidance-mode): Fix typos in docstrings.
22919
4525ce3e
CY
229202011-03-19 Chong Yidong <cyd@stupidchicken.com>
22921
22922 * startup.el (package-subdirectory-regexp): Move from package.el.
22923 Omit \\` and \\', and let callers add them.
22924
22925 * emacs-lisp/package.el (package-strip-version)
22926 (package-load-all-descriptors): Add \\` and \\' to
22927 package-subdirectory-regexp before using it.
22928 (package-untar-buffer): New arg DIR; ensure that file untars only
22929 into this expected directory. Remove superfluous delete-region.
22930 (package-unpack): Caller changed.
22931 (package-tar-file-info): Use package-subdirectory-regexp.
22932
a904a09a 229332011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 22934
a904a09a
SM
22935 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
22936 diff-mode-shared-map (bug#8284).
22937 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
22938
229392011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
22940
22941 * calendar/time-date.el (format-seconds): Use assoc instead of
22942 assoc-string, since assoc-string doesn't exist in XEmacs.
22943
171fc304
JB
229442011-03-17 Juanma Barranquero <lekktu@gmail.com>
22945
22946 * custom.el (custom-known-themes): Reflow docstring.
22947 (custom-theme-load-path): Fix typo in docstring.
22948 (load-theme): Fix typo in error message.
22949 (custom-available-themes, custom-variable-theme-value):
22950 Use `let', not `let*'.
22951
d71990a1
JB
229522011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
22953
22954 * calc/README: Mention inclusion of musical notes.
22955
22956 * calc/calc-units.el (calc-lu-quant): Rename from
22957 `calc-logunits-quantity'.
22958 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
22959 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
22960 (calc-db): Rename from `calc-dblevel'.
22961 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
22962 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
22963 (calc-np): Rename from `calc-nplevel'.
22964 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
22965 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
22966 (calc-lu-plus): Rename from `calc-logunits-add'.
22967 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
22968 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
22969 (calc-lu-minus): Rename from `calc-logunits-sub'.
22970 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
22971 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
22972 (calc-lu-times): Rename from `calc-logunits-mul'.
22973 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
22974 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
22975 (calc-lu-divide): Rename from `calc-logunits-div'.
22976 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
22977 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
22978
22979 * calc/calc-ext.el (calc-init-extensions): Update the names of the
22980 functions being autoloaded.
22981
22982 * calc/calc.el (calc-lu-power-reference): Rename from
22983 `calc-logunits-power-reference'.
22984 (calc-lu-field-reference): Rename from
22985 `calc-logunits-field-reference'.
22986
7a71b18d
GM
22987 * calc/calc-help.el (calc-l-prefix-help):
22988 Mention musical note functions.
d71990a1 22989
40c2934b
SM
229902011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
22991
22992 * minibuffer.el (completion-all-sorted-completions):
22993 Use :completion-cycle-penalty text property if present.
22994
b0911414
KM
229952011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
22996
22997 * allout.el (allout-yank-processing): Adjust for new rebulleting
22998 regime so bullet being yanked is used without prompting the user
22999 for a choice.
23000
8a05b668
JB
230012011-03-16 Juanma Barranquero <lekktu@gmail.com>
23002
23003 * startup.el (command-line): Warn the user that _emacs is deprecated.
23004
5ba5fb81
JB
230052011-03-16 Juanma Barranquero <lekktu@gmail.com>
23006
23007 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
23008 (delphi-verbose, delphi-comment-face, delphi-string-face)
23009 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
23010 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
23011 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
23012 (delphi-new-comment-line, delphi-font-lock-defaults)
23013 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
23014 Fix typos in docstrings.
23015
2dab465b
KM
230162011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
23017
5ba5fb81 23018 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
23019 Invert the roles of character and string values for INSTEAD, so a
23020 string is used for the more common case of a defaulting prompt.
23021
0adf5618
SM
230222011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
23023
23024 * progmodes/ruby-mode.el (ruby-backward-sexp):
23025 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
23026 * play/gamegrid.el (gamegrid-make-face):
23027 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
23028 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
23029 * notifications.el (notifications-notify):
23030 * net/xesam.el (xesam-search-engines):
23031 * net/quickurl.el (quickurl-list-insert):
23032 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
23033
d72700e5
CY
230342011-03-15 Chong Yidong <cyd@stupidchicken.com>
23035
23036 * startup.el (command-line): Update package subdirectory regexp.
23037
49c5410a
SM
230382011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
23039
c6eee9aa
SM
23040 * allout.el (allout-abbreviate-flattened-numbering)
23041 (allout-mode-deactivate-hook): Fix up obsolescence "date".
23042
49c5410a
SM
23043 * subr.el (read-char-choice): Only show the cursor after the prompt,
23044 not after the answer.
23045
047b2bb9
KR
230462011-03-15 Kevin Ryde <user42@zip.com.au>
23047
23048 * help-fns.el (variable-at-point): Skip leading quotes, if any
23049 (bug#8253).
23050
0a57d256
SM
230512011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
23052
23053 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
23054 warning message.
23055
77c992bc
MA
230562011-03-14 Michael Albinus <michael.albinus@gmx.de>
23057
23058 * shell.el (shell): When called interactively, offer to change the
23059 shell file name on remote hosts.
23060
eebc475d
TZ
230612011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
23062
23063 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
23064 integration for LDAP parameters. The host, base, user or binddn,
23065 and secret tokens can be specified in a netrc file, for instance.
23066 This is optional because an `auth-source' parameter must be
23067 specified in the search attributes.
23068
9d05d1ba
JB
230692011-03-13 Juanma Barranquero <lekktu@gmail.com>
23070
23071 * help.el (describe-mode): Link to the mode's definition (bug#8185).
23072
09d9db2c
GM
230732011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
23074
23075 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
23076 into declaration. Remove redundant and harmful binding.
23077
230782011-03-12 Eli Zaretskii <eliz@gnu.org>
23079
23080 * files.el (file-ownership-preserved-p): Pass `integer' as an
23081 explicit 2nd argument to `file-attributes'. If the file's owner
23082 is the Administrators group on Windows, and the current user is
23083 Administrator, consider that a match.
23084
23085 * server.el (server-ensure-safe-dir): Consider server directory
23086 safe on MS-Windows if its owner is the Administrators group while
23087 the current Emacs user is Administrator. Use `=' to compare
23088 numerical UIDs, since they could be integers or floats.
23089
219bd536
JB
230902011-03-12 Juanma Barranquero <lekktu@gmail.com>
23091
23092 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
23093
f3afd36b
MA
230942011-03-12 Michael Albinus <michael.albinus@gmx.de>
23095
23096 Sync with Tramp 2.2.1.
23097
23098 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
23099
23100 * net/trampver.el: Update release number.
23101
3aaaa6f1
SM
231022011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
23103
94642599
SM
23104 * progmodes/compile.el (compilation--previous-directory): Fix up
23105 various nil/dead-marker mismatches (bug#8014).
23106 (compilation-directory-properties, compilation-error-properties):
23107 Don't call it at a position past the one we're about to change.
23108
3aaaa6f1
SM
23109 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
23110 Disable obsolescence warnings in the file that declares it.
23111
14239447
KM
231122011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
23113
099c39a4
JB
23114 * allout-widgets.el (allout-widgets-tally):
23115 Initialize allout-widgets-tally as a hash table rather than nil to
23116 prevent mode-line redisplay warnings. Also, clarify the module
23117 description and fix a comment typo.
14239447 23118
135e287c
JB
231192011-03-11 Juanma Barranquero <lekktu@gmail.com>
23120
23121 * help-fns.el (describe-variable): Don't complete keywords.
23122 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
23123
ffbf300e
CY
231242011-03-10 Chong Yidong <cyd@stupidchicken.com>
23125
ba08b241
CY
23126 * emacs-lisp/package.el (package-version-join): Impose a standard
23127 string representation for pre/alpha/beta version lists.
23128 (package-unpack-single): Standardize the directory name by passing
23129 it through package-version-join.
23130 (package-strip-rcs-id): Accept any version string that does not
23131 signal an error in version-to-list.
ffbf300e 23132
f346fd6b
MA
231332011-03-10 Michael Albinus <michael.albinus@gmx.de>
23134
23135 * simple.el (delete-trailing-whitespace): Return nil for the
23136 benefit of `write-file-functions'.
23137
ccb55d27
GM
231382011-03-10 Glenn Morris <rgm@gnu.org>
23139
5ceaac0c
GM
23140 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
23141
02da65ff
GM
23142 * vc/vc-git.el (vc-git-program): New option.
23143 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
23144 (vc-git--call): Use it.
23145
b2f603cc
GM
23146 * eshell/esh-util.el (eshell-condition-case): Doc fix.
23147
5772caab
GM
23148 * cus-edit.el (Custom-newline): If no button at point, look
23149 for a subgroup button at start-of-line. (Bug#2298)
23150
ccb55d27
GM
23151 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
23152
ec6ecaed
JD
231532011-03-10 Julien Danjou <julien@danjou.info>
23154
23155 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
23156 `cursor-type' is nil.
23157
9d5aa01d
JB
231582011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
23159
23160 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
23161
b6a5875b
KM
231622011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
23163
7a71b18d 23164 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
23165 preserves the existing header prefix, rebulleting it if necessary,
23166 rather than replacing it. This is necessary for proper operation
23167 of cooperative addons like allout-widgets.
1154d12e
JB
23168 (allout-make-topic-prefix, allout-rebullet-heading):
23169 Change SOLICIT arg to INSTEAD, and interpret additionally a string
23170 value as alternate bullet to be used, instead of prompting the user
23171 for a bullet character.
b6a5875b 23172
ee545c35
MA
231732011-03-09 Michael Albinus <michael.albinus@gmx.de>
23174
d86d2721
SM
23175 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
23176 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
23177 `tramp-default-port'.
23178
c47971d7
DD
231792011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
23180
23181 * net/rcirc.el (rcirc-handler-001): Remove useless
23182 with-rcirc-process-buffer.
23183 (rcirc-check-auth-status): Swap arguments to string-match.
23184
13522cb4
GM
231852011-03-09 Glenn Morris <rgm@gnu.org>
23186
0be6f4f1
GM
23187 * shell.el (shell-mode):
23188 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
23189
13522cb4
GM
23190 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
23191 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
23192
515de2e3
CY
231932011-03-08 Chong Yidong <cyd@stupidchicken.com>
23194
23195 * emacs-lisp/package.el (package-refresh-contents)
23196 (package-menu-execute): Use condition-case-no-debug.
23197
b511b994
MA
231982011-03-08 Michael Albinus <michael.albinus@gmx.de>
23199
23200 * simple.el (shell-command-to-string): Use `process-file'.
23201
23202 * emacs-lisp/package.el (package-tar-file-info): Handle also
23203 remote files.
23204
d86d2721
SM
23205 * emacs-lisp/package-x.el (package-upload-buffer-internal):
23206 Use `equal' for upload base check.
b511b994 23207
25bbfb31
AM
232082011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
23209
23210 * textmodes/texinfo.el (texinfo-environments):
23211 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
23212
be996521
GM
232132011-03-08 Glenn Morris <rgm@gnu.org>
23214
e9c8529f
GM
23215 * cus-start.el (cursor-in-non-selected-windows):
23216 Fix :set quoting oddness. (Bug#8192)
23217
be996521
GM
23218 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
23219 in some setf expressions. (Bug#2159)
23220
2bb5649e
CY
232212011-03-08 Chong Yidong <cyd@stupidchicken.com>
23222
23223 * custom.el (custom-available-themes): Return themes in
23224 alphabetical order.
23225
33383987 23226See ChangeLog.15 for earlier changes.
e3d51b27
MR
23227
23228;; Local Variables:
23229;; coding: utf-8
e3d51b27
MR
23230;; End:
23231
ab422c4d 23232 Copyright (C) 2011-2013 Free Software Foundation, Inc.
e3d51b27
MR
23233
23234 This file is part of GNU Emacs.
23235
23236 GNU Emacs is free software: you can redistribute it and/or modify
23237 it under the terms of the GNU General Public License as published by
23238 the Free Software Foundation, either version 3 of the License, or
23239 (at your option) any later version.
23240
23241 GNU Emacs is distributed in the hope that it will be useful,
23242 but WITHOUT ANY WARRANTY; without even the implied warranty of
23243 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
23244 GNU General Public License for more details.
23245
23246 You should have received a copy of the GNU General Public License
23247 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.