* lisp/emacs-lisp/pcase.el (pcase--split-equal): Also take advantage if
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
a4648137
SM
12013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
2
4bdc3526
SM
3 * emacs-lisp/pcase.el (pcase--split-equal): Also take advantage if
4 the predicate returns nil.
5
a4648137
SM
6 * simple.el: Use lexical-binding.
7 (primitive-undo): Use pcase.
8 (minibuffer-history-isearch-push-state): Use a closure.
9
3bace969
AH
102013-01-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
11
12 * simple.el (primitive-undo): Move from undo.c.
13
a731fc1b
SM
142013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
15
1c851e98
SM
16 * vc/pcvs.el (cvs-cleanup-collection): Extend meaning of `rm-handled'.
17 (cvs-mode-remove-handled): Use it (bug#13380).
18
a731fc1b
SM
19 * emacs-lisp/nadvice.el (advice--tweak): New function.
20 (advice--remove-function, advice--subst-main): Use it.
21
22 * emacs-lisp/advice.el: Update commentary.
23
2a22c83b
MA
242013-01-08 Michael Albinus <michael.albinus@gmx.de>
25
a731fc1b
SM
26 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
27 Remove spurious entry.
2a22c83b 28
83c1803a
GM
292013-01-08 Glenn Morris <rgm@gnu.org>
30
31 * net/tramp.el (tramp-default-host-alist): Add :version.
32
8a2e287c
JL
332013-01-08 Juri Linkov <juri@jurta.org>
34
35 * info.el (Info-read-node-name-2): Don't duplicate suffixes for
36 single completion. (Bug#12456)
37 (info--manual-names): Expand node completions into an explicit list
38 before appending it to another list. Filter out internal buffers
39 with the leading space in the buffer name. (Bug#10771)
40
c6a22ce2
JL
412013-01-08 Juri Linkov <juri@jurta.org>
42
43 * info.el (Info-read-node-name-1): Allow empty node name in (FILENAME)
44 that defaults to the Top node.
45 (Info-goto-node, Info-read-node-name): Doc fix to mention that
46 the short format (FILENAME) goes to the Top node.
47 (Info-build-node-completions): Rename arg `file' to `filename'.
48 (Bug#13365)
49
acfe10b7
BG
502013-01-07 Bastien Guerry <bzg@gnu.org>
51
a731fc1b
SM
52 * menu-bar.el (menu-bar-search-documentation-menu):
53 Use `apropos-user-option' and fix the help message.
acfe10b7
BG
54
552013-01-07 Bastien Guerry <bzg@gnu.org>
56
57 * apropos.el (apropos-do-all): Update docstring.
58 (apropos-user-option-button): New face.
59 (apropos-user-option): Rename from `apropos-variable' and update
60 docstring.
61 (apropos-variable): Rewrite, now show all variables by default.
62 (apropos-print): Mention "User option" instead of "Variable" when
63 printing doc for user options. (Bug#13276)
64
62bcf670
JH
652013-01-07 Jürgen Hötzel <juergen@archlinux.org>
66
67 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
68 Handle filename correctly, when parsing "source -> target" symlink
69 output.
70 (tramp-adb-handle-set-file-times): New defun.
71
4986fa21
SM
722013-01-07 Stefan Monnier <monnier@iro.umontreal.ca>
73
74 * emacs-lisp/advice.el (ad-activate-advised-definition): Refresh the
75 advice list when the interactive-spec of ad-Advice-* changes.
76
3bee311e
KY
772013-01-07 Katsumi Yamaoka <yamaoka@jpl.org>
78
79 * wid-edit.el (widget-default-get): Work for inlined elements.
80 (Bug#12670)
81
b49eebcc
MA
822013-01-07 Michael Albinus <michael.albinus@gmx.de>
83
84 * net/tramp.el (tramp-default-host-alist): New defcustom.
85 (tramp-find-host): Use it.
4986fa21 86 (tramp-eshell-directory-change): Move from tramp-sh.el. Add to
b49eebcc
MA
87 `eshell-directory-change-hook'.
88
89 * net/tramp-adb.el (top): Add adb specific entry in
90 `tramp-default-host-alist'.
91 (tramp-adb-file-name-host): Remove function.
92 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
93 Use `tramp-file-name-host' instead of `tramp-adb-file-name-host'.
94
3bee311e 95 * net/tramp-sh.el: Move eshell integration code to tramp.el.
b49eebcc 96
84f6744a
JH
972013-01-06 Jürgen Hötzel <juergen@archlinux.org>
98
99 * net/tramp-adb.el (tramp-methods): Add `tramp-tmpdir' entry.
100
b6cfbcd0
MA
1012013-01-06 Michael Albinus <michael.albinus@gmx.de>
102
103 * net/tramp-adb.el (tramp-adb-ls-toolbox-regexp): The file size can
b49eebcc 104 consist of more than one digit.
4986fa21
SM
105 (tramp-adb-file-name-handler-alist):
106 Use `tramp-handle-file-exists-p' consistently.
b6cfbcd0
MA
107 (tramp-adb-file-name-handler): Don't tweak `tramp-default-host'.
108 (tramp-adb-handle-file-exists-p): Remove function.
109 (tramp-adb-file-name-host): New defun.
110 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
111 Use it.
112 (tramp-adb-maybe-open-connection): Set "remote-path" property.
113
58ba7b1b
CY
1142013-01-06 Chong Yidong <cyd@gnu.org>
115
116 * vc/vc.el (vc-next-action): Detect buffer modifications
117 conflicting with locking VCS operation (Bug#11490).
118
119 * vc/vc-hooks.el (vc-after-save): DTRT for locking VCSes.
120
f4566fe9
MA
1212013-01-05 Michael Albinus <michael.albinus@gmx.de>
122
123 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
124 (tramp-adb-handle-directory-files-and-attributes): Fix typos.
125
838cf298
MA
1262013-01-05 Jürgen Hötzel <juergen@archlinux.org>
127
128 * net/tramp-adb.el (tramp-adb-handle-file-attributes): More robust
129 parsing of ls output using regular expression (handle filenames
130 with spaces). Use virtual device number.
131 (tramp-do-parse-file-attributes-with-ls): New defun (Code
132 cleanup).
133
1bd71e9f
DU
1342013-01-04 Daiki Ueno <ueno@gnu.org>
135
136 * epg.el: Silence byte-compiler warnings.
137 (epg--start): Use delete-char instead of delete-backward-char.
138 (epg-wait-for-completion): Pass FRAME arg to redraw-frame.
139
00cd4c1c
DU
1402013-01-04 Daiki Ueno <ueno@gnu.org>
141
142 * epg.el (epg--start): Don't call "tty" program on W32 platforms.
143 Suggested by Eli Zaretskii <eliz@gnu.org>.
144
f99ced35
MA
1452013-01-04 Michael Albinus <michael.albinus@gmx.de>
146
147 * net/tramp-sh.el (tramp-set-file-uid-gid): UID and GID must be
148 non-negative integers. Otherwise, the default values are used.
149 (tramp-convert-file-attributes): Convert uid and gid to integers.
150
0f668a4d 1512013-01-04 Glenn Morris <rgm@gnu.org>
ad235a8b 152
d2be4dcc
GM
153 * term.el (term-handle-colors-array): Ensure face attributes
154 are fully specified, not nil. (Bug#13337)
155
5b00b749
GM
156 * term.el (term-default-fg-color, term-default-bg-color):
157 Fix custom type.
158
220740a3
GM
159 * progmodes/etags.el (tags-compression-info-list): Doc fix.
160 (tag-find-file-of-tag-noselect): Check auto-compression-mode
161 rather than 'jka-compr being loaded. (Bug#13338)
162
bdd9367d
WD
1632013-01-04 Wesley Dawson <whd@lavabit.com> (tiny change)
164
165 * icomplete.el (icomplete-completions):
166 Honor icomplete-prospects-height once more following
167 2012-11-29 changes. (Bug#13224)
168
96dd18b1
SM
1692013-01-04 Stefan Monnier <monnier@iro.umontreal.ca>
170
c0bd248c
SM
171 * subr.el (internal--called-interactively-p--get-frame): Find aliases
172 of called-interactively-p as well (bug#13237).
173
4a74c818
SM
174 * view.el (view--enable, view--disable): Rename from view-mode-enable
175 and view-mode-disable and assume it's called from view-mode.
176 (view-mode-enable, view-mode-disable): Redefine as obsolete
177 compatibility layer above view-mode.
178 (view-mode-enter): Call `view-mode'.
179
180 * files.el (after-find-file): Call `view-mode'.
181
96dd18b1
SM
182 * doc-view.el (doc-view-scale-internally): New var.
183 (doc-view-enlarge, doc-view-insert-image): Obey it.
184
c2cf1829
DU
1852013-01-03 Daiki Ueno <ueno@gnu.org>
186
187 * epg.el (epg--start): Ignore errors when /dev/fd/0 does not
188 exist. (Bug#13344)
189
ad235a8b
GM
1902013-01-03 Glenn Morris <rgm@gnu.org>
191
a8aa6c2d
GM
192 * mail/rmail.el (rmail-set-header-1): Ignore case.
193 Handle multi-line headers. (Bug#13330)
194
a6d6c20b
GM
195 * progmodes/make-mode.el (makefile-fill-paragraph): Add doc.
196 Handle paragraph starting at beginning of buffer.
197
ed5bdeb9
GM
198 * subr.el (eval-after-load): Don't purecopy the form, so that it
199 can be nconc'd later on; reverts 2009-11-11 change. (Bug#13331)
200
ad235a8b
GM
201 * emacs-lisp/byte-run.el (defun): Place cl declarations
202 after any interactive spec. (Bug#13265)
203
9539d465 2042013-01-02 Andreas Schwab <schwab@linux-m68k.org>
5cebef2d
AS
205
206 * emacs-lisp/byte-run.el (defmacro): Use same argument parsing as
207 defun. Don't check for DECL if DOCSTRING isn't a string.
208 (defun): Likewise.
209
9539d465 2102013-01-02 Glenn Morris <rgm@gnu.org>
4cddca30 211
5ee1772e
GM
212 * eshell/em-cmpl.el (eshell-pcomplete):
213 More thoroughly imitate pcomplete. (Bug#13293)
214
4cddca30
GM
215 * files.el (parse-colon-path): Doc fix. (Bug#12351)
216 Return nil for empty path elements. (Bug#13296)
217
9539d465 2182013-01-02 Fabián Ezequiel Gallina <fgallina@cuca>
6861432e
FEG
219
220 * progmodes/python.el (python-nav-end-of-statement): Rewrite in
221 order to improve efficiency (Based on Daniel Colascione's
222 <dancol@dancol.org> patch). (Bug#13182)
223
9539d465 2242013-01-02 Glenn Morris <rgm@gnu.org>
b83a2ddd
GM
225
226 * vc/log-edit.el (log-edit-header-contents-regexp): Add doc string.
227
9539d465 2282013-01-02 Andreas Schwab <schwab@linux-m68k.org>
bdcad781
AS
229
230 * emacs-lisp/byte-run.el (defmacro): Don't lose final nil if
231 neither DOCSTRING nor DECL was given. (Bug#13316)
232
aca3d51d
MA
2332013-01-02 Michael Albinus <michael.albinus@gmx.de>
234
235 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Add argument to
236 `error' call.
237 (tramp-do-copy-or-rename-file): Ignore errors when calling
238 `set-file-extended-attributes'.
239
4986fa21
SM
240 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
241 Add handler for `file-acl'.
aca3d51d
MA
242 (tramp-smb-handle-file-acl): New defun.
243
87e65f96
JB
2442013-01-02 Jay Belanger <jay.p.belanger@gmail.com>
245
246 * calc/README: Mention ISO 8601 week-numbering dates.
247
0aac98ac
MR
2482013-01-01 Martin Rudalics <rudalics@gmx.at>
249
250 * view.el (view-mode-enable): New argument run-view-mode-hook.
251 Run view-mode-hook only when it's non-nil (Bug#13315).
252 (view-mode-enter): Call view-mode-enable with run-view-mode-hook
253 argument t.
254
1a82330c
JH
2552012-12-31 Jürgen Hötzel <juergen@archlinux.org>
256
257 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Handle errors
258 (No device connected, invalid device name). (Bug #13299)
259
27fcfe31
MR
2602012-12-31 Martin Rudalics <rudalics@gmx.at>
261
262 * window.el (window-resizable--p): Rename to window-resizable-p.
263 (window-resize-no-error): New function.
264
265 * mail/rmail.el (rmail-maybe-display-summary): Restore behavior
266 broken in fix from 2012-12-28.
267
96c052a5
SM
2682012-12-31 Stefan Monnier <monnier@iro.umontreal.ca>
269
270 * subr.el (special-form-p): Don't signal errors on undef aliases.
271
fd1f1603
JB
2722012-12-31 Jay Belanger <jay.p.belanger@gmail.com>
273
274 * calc/calc-forms.el (math-parse-date): Try using
96c052a5
SM
275 `math-parse-iso-date' when it looks like it might be needed.
276 Allow times of 24:00.
fd1f1603
JB
277 (math-parse-date-validate, math-parse-iso-date-validate): Allow times
278 of 24:00.
279
8db39aeb
GM
2802012-12-30 Glenn Morris <rgm@gnu.org>
281
282 * net/mairix.el (rmail, rmail-summary-displayed, rmail-summary):
283 Remove unnecessary/buggy autoloads (missing interactive). (Bug#13294)
284 (rmail-summary-displayed, rmail-summary): Declare.
285 (mairix-rmail-display): Just require rmail.
286
d5e5e7b4 2872012-12-30 Chong Yidong <cyd@gnu.org>
3c94d7a6
CY
288
289 * emacs-lisp/package.el (package-untar-buffer): Improve integrity
290 check for the tarball contents.
291
d5e5e7b4 2922012-12-30 Matt Fidler <matt.fidler@alcon.com> (tiny change)
af39894a
MF
293
294 * emacs-lisp/package.el (package-untar-buffer): Handle problematic
295 tarfile content listings (Bug#13136).
296
d5e5e7b4 2972012-12-30 Mark Lillibridge <mark.lillibridge@hp.com>
bb709253 298
96c052a5
SM
299 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
300 Insert the undecoded text of the message being forwarded. (Bug#9521)
bb709253 301
4f752957
MA
3022012-12-30 Michael Albinus <michael.albinus@gmx.de>
303
3ee24a3b
MA
304 * net/tramp-sh.el (tramp-set-file-uid-gid): Convert UID and GID to
305 integers, if they are real numbers. (Bug#13282)
306
4f752957
MA
307 * net/tramp-sh.el (tramp-sh-handle-set-file-selinux-context):
308 Return `t' on success.
309
96c052a5
SM
310 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
311 Add handler for `set-file-selinux-context'.
4f752957 312
eff2eb58
MA
3132012-12-29 Michael Albinus <michael.albinus@gmx.de>
314
315 * net/tramp-sh.el (tramp-sh-handle-file-acl): Suppress basic attributes.
316 (tramp-sh-handle-set-file-acl): Return `t' on success.
317
ccad023b
EZ
3182012-12-29 Eli Zaretskii <eliz@gnu.org>
319
96c052a5
SM
320 * files.el (backup-buffer-copy, basic-save-buffer-2):
321 If set-file-extended-attributes fails, fall back on set-file-modes
ccad023b 322 instead of signaling an error. (Bug#13298)
7e56b103 323 (basic-save-buffer): Likewise.
ccad023b 324
ccb1c17e
FEG
3252012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
326
327 * progmodes/python.el: Support other commands triggering
328 python-indent-line so indentation cycling continues to work.
329 (python-indent-trigger-commands): New defcustom.
330 (python-indent-line): Use it.
331
16768034
FEG
3322012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
333
334 * progmodes/python.el (python-shell-send-region): Add blank lines
335 for non sent code so backtraces remain correct.
336
66164d2f
FEG
3372012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
338
339 * progmodes/python.el: Remove cl dependency.
340 (python-syntax-count-quotes): Replace incf call.
341 (python-fill-string): Replace setf call.
342
761231d1
DC
3432012-12-29 Damien Cassou <damien.cassou@gmail.com>
344
43ebd12b 345 * info.el (info-other-window): New arg, for consistency with info.
761231d1 346
7c3e220a
MR
3472012-12-28 Martin Rudalics <rudalics@gmx.at>
348
96c052a5
SM
349 * mail/rmail.el (rmail-maybe-display-summary):
350 Rewrite (Bug#13066).
7c3e220a 351
361828b5
AS
3522012-12-28 Andreas Schwab <schwab@linux-m68k.org>
353
354 * epg.el (epg--start): Modify process-environment locally.
355
23bd348c
DU
3562012-12-28 Daiki Ueno <ueno@gnu.org>
357
358 * epg.el: Support pinentry-curses.
359 Suggested by Werner Koch in
360 <http://lists.gnu.org/archive/html/emacs-devel/2007-02/msg00755.html>.
361 (epg-agent-file, epg-agent-mtime): New variable.
362 (epg--start): Record the modified time of gpg-agent socket file,
363 to restore Emacs frame after pinentry-curses termination.
364 (epg-wait-for-completion): Restore Emacs frame here.
365
313f39aa
JL
3662012-12-27 Juri Linkov <juri@jurta.org>
367
368 * info.el (Info-file-completions): New variable.
369 (Info-read-node-name-1): Complete node names in the Info file
370 when a file name is given. Call `Info-build-node-completions'
371 with a file name.
372 (Info-build-node-completions): Add new arg `file'. When it is
373 non-nil, visit it in a temporary buffer and cache its completions in
374 `Info-current-file-completions'. Move most of the function body to
375 `Info-build-node-completions-1'.
376 (Info-build-node-completions-1): New function with the body from
377 `Info-build-node-completions'. (Bug#12456)
378
a45b7647
JL
3792012-12-27 Juri Linkov <juri@jurta.org>
380
381 * frame.el (frame-maximization-style): Remove user option.
382 (cycle-frame-maximized): Remove function.
383 (toggle-frame-maximized): Rewrite and bind to M-<f10>.
384 (toggle-frame-fullscreen): New command bound to <f11> instead of
385 `toggle-frame-maximized'.
386 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00703.html
387
10ffd0be
MA
3882012-12-27 Michael Albinus <michael.albinus@gmx.de>
389
390 * net/tramp.el (tramp-handle-file-accessible-directory-p): New defun.
391
392 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
393 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
394 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
395 for `file-accessible-directory-p'. (Bug#13275)
396
fd146719
SS
3972012-12-27 Sam Steingold <sds@gnu.org>
398
399 * progmodes/cperl-mode.el (cperl-calculate-indent): Do not stagger
400 continuations, see <http://stackoverflow.com/questions/3582436>.
401
82e2a1f0 4022012-12-27 Dmitry Gutov <dgutov@yandex.ru>
db590ef6
DG
403
404 * progmodes/ruby-mode.el (ruby-indent-beg-re): Only allow "class",
96c052a5
SM
405 "module" and "def" to have indentation before them.
406 Regression from 2012-09-07T04:15:56Z!dgutov@yandex.ru (see the new test).
db590ef6 407
ea0857a1
DG
408 * progmodes/ruby-mode.el: Bump the version to 1.2 (Bug#13200).
409
82e2a1f0 4102012-12-27 Alan Mackenzie <acm@muc.de>
3f6b93cd
AM
411
412 Speed up fontification where there's large brace blocks.
413 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Add a limit
414 to a call of c-beginning-of-decl-1.
415
c34339f3
VS
4162012-12-27 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
417
418 * comint.el (comint-adjust-window-point): New function.
96c052a5
SM
419 (comint-postoutput-scroll-to-bottom):
420 Call comint-adjust-window-point (Bug#13248).
c34339f3 421
78269b95
DG
4222012-12-26 Dmitry Gutov <dgutov@yandex.ru>
423
424 * progmodes/ruby-mode.el (auto-mode-alist): `purecopy' the
425 Rakefile regexp.
426 (auto-mode-alist): Associate .gemspec files with ruby-mode
427 (https://bugs.ruby-lang.org/issues/5453).
428
bd8c13f9
JH
4292012-12-26 Jürgen Hötzel <juergen@archlinux.org>
430
96c052a5
SM
431 * net/tramp-adb.el (tramp-adb-get-ls-command): New defun.
432 Suppress coloring, if possible (required for BusyBox based systems like
bd8c13f9
JH
433 CynagenMod).
434 (tramp-adb-handle-file-attributes)
435 (tramp-adb-handle-insert-directory)
436 (tramp-adb-handle-file-name-all-completions): Use it.
437 (tramp-adb-get-toolbox): New defun. Check for remote shell
438 implementation (BusyBox or Toolbox).
439
dc646358
CK
4402012-12-24 Constantin Kulikov <zxnotdead@gmail.com> (tiny change)
441
442 * startup.el (initial-buffer-choice): Allow function as value
443 (Bug#13251).
444 (command-line-1): Handle case where initial-buffer-choice
445 specifies a function.
446 * server.el (server-execute): Handle case where
447 initial-buffer-choice specifies a function.
448
e7d52a4d
LI
4492012-12-24 Lars Ingebrigtsen <larsi@gnus.org>
450
451 * mail/smtpmail.el (smtpmail-try-auth-method): Refactored out into
452 its own function.
453 (smtpmail-try-auth-methods): Forget the user name/password if the
454 login is unsuccessful (bug#12424).
455
cdb07539
MA
4562012-12-22 Michael Albinus <michael.albinus@gmx.de>
457
1ef5f225
MA
458 * notifications.el (notifications-notify): Protect body with
459 `with-demoted-errors'.
460
96c052a5
SM
461 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
462 Check properties of remote device. Restart connection, if there is a
cdb07539
MA
463 change.
464
594f37aa
CY
4652012-12-21 Chong Yidong <cyd@gnu.org>
466
467 * sort.el (sort-subr): Doc fix (Bug#13056).
468
a4b0cca1 4692012-12-21 Bastien Guerry <bzg@gnu.org>
acc650b8 470
acc650b8
BG
471 * progmodes/etags.el (tags-search): Fix typo. Bug #13232.
472
0e9c7693
MA
4732012-12-21 Michael Albinus <michael.albinus@gmx.de>
474
475 * simple.el (process-file): Overwrite stderr file, if exists.
476
c6609164
DU
4772012-12-21 Daiki Ueno <ueno@gnu.org>
478
479 * epg.el (epg--start): Print GPG_AGENT_INFO in the debug buffer.
3eb05092 480 (epg-error): Set `error-message' property.
c6609164 481
aa26f345
CY
4822012-12-21 Chong Yidong <cyd@gnu.org>
483
34b4b7eb
CY
484 * international/mule-cmds.el (read-char-by-name): Signal an error
485 if the user does not supply a valid character (Bug#13177).
486
aa26f345
CY
487 * simple.el (transpose-subr-1): Preserve marker positions by
488 changing the insertion sequence (Bug#13122).
489
05c22d87
KD
4902012-12-21 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
491
492 * simple.el (kill-region): Deactivate mark even for empty regions
493 (Bug#13169).
494
f5733f87
CY
4952012-12-21 Chong Yidong <cyd@gnu.org>
496
497 * help-fns.el (describe-variable): Make sure we get the right
498 buffer name (Bug#13105). Suggested by Kelly Dean.
499
fab6916d
MM
5002012-12-20 Michael R. Mauger <mmaug@yahoo.com>
501
502 * comint.el (comint-redirect-previous-input-string): New variable.
503 (comint-redirect-setup, comint-redirect-cleanup)
504 (comint-redirect-preoutput-filter): Use it. Fixes redirection bug.
505 (comint-redirect-preoutput-filter): Fix verbose message.
506
91b982a0
MA
5072012-12-20 Michael Albinus <michael.albinus@gmx.de>
508
509 * progmodes/grep.el (rgrep): Escape command line. Sometimes, it
510 is too long for Tramp. See discussion in
511 <http://thread.gmane.org/gmane.emacs.tramp/8233/focus=8244>.
512
513 * progmodes/compile.el (compilation-start): Remove line escape
514 template.
515
87523aed
DA
5162012-12-20 Dmitry Antipov <dmantipov@yandex.ru>
517
518 * vc/ediff-ptch.el (ediff-map-patch-buffer): Use `point-min-marker'.
519 Adjust comment.
520
ee3c0aec
JB
5212012-12-19 Jonas Bernoulli <jonas@bernoul.li>
522
523 * emacs-lisp/lisp-mnt.el (lm-section-end): Always end before the
524 following non-comment text (bug#13207).
525 (lm-header-multiline): Continuation lines need to be indented more than
526 the first line.
527 (lm-homepage): New function.
528 (lm-with-file): Don't be confused if narrowing is in effect.
f4d79bd0 529
4a74c818
SM
5302012-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
531
f4d79bd0
SM
532 * vc/diff-mode.el (diff-post-command-hook): Don't ignore changes at the
533 very beginning of a hunk (e.g. killing the first line).
534
3c532af6
MA
5352012-12-19 Michael Albinus <michael.albinus@gmx.de>
536
537 * net/tramp-sh.el (tramp-sh-handle-file-acl): Delete empty lines
538 and text properties from returned ACL string.
539 (tramp-sh-handle-set-file-acl): Do not use additional parentheses
540 for "setfacl" command.
541
e0d01ef3
MA
5422012-12-18 Michael Albinus <michael.albinus@gmx.de>
543
544 * net/tramp.el (tramp-error-with-buffer): Give a hint to use
545 `tramp-cleanup-this-connection', when the process has died.
546 (Bug#13151)
547
2387610d
SM
5482012-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
549
550 * icomplete.el (icomplete-completions): Also use … to truncate prefix.
551
19156242
KR
5522012-12-17 Kevin Ryde <user42@zip.com.au>
553
554 * files.el (auto-save-file-name-p): Use \` and \' (bug#13186).
555
53b6a8b1
MA
5562012-12-17 Michael Albinus <michael.albinus@gmx.de>
557
558 Add support for preserving ACL entries of files.
559
560 * net/tramp.el (tramp-file-name-for-operation): Add `file-acl' and
561 `set-file-acl' handlers.
562
19156242
KR
563 * net/tramp-adb.el (tramp-adb-handle-copy-file):
564 Handle PRESERVE-EXTENDED-ATTRIBUTES.
53b6a8b1 565
19156242
KR
566 * net/tramp-compat.el (tramp-compat-copy-file):
567 Handle PRESERVE-EXTENDED-ATTRIBUTES.
53b6a8b1 568
19156242
KR
569 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
570 Add `file-acl' and `set-file-acl' handlers.
571 (tramp-gvfs-handle-copy-file):
572 Handle PRESERVE-EXTENDED-ATTRIBUTES.
573 (tramp-gvfs-handle-file-acl, tramp-gvfs-handle-set-file-acl):
574 New defuns.
53b6a8b1 575
19156242
KR
576 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
577 Add `file-acl' and `set-file-acl' handlers.
53b6a8b1
MA
578 (tramp-remote-acl-p, tramp-sh-handle-file-acl)
579 (tramp-sh-handle-set-file-acl): New defuns.
19156242
KR
580 (tramp-sh-handle-copy-file, tramp-do-copy-or-rename-file):
581 Handle PRESERVE-EXTENDED-ATTRIBUTES.
53b6a8b1 582
19156242
KR
583 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
584 Add `file-acl' and `set-file-acl' handlers.
53b6a8b1
MA
585 (tramp-smb-handle-copy-file): Handle PRESERVE-EXTENDED-ATTRIBUTES.
586
6ae57a67
KD
5872012-12-17 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
588
589 * help-macro.el (make-help-screen): Instead of switch-to-buffer
19156242 590 use pop-to-buffer with NORECORD argument t. As buffer name, use
6ae57a67
KD
591 *Metahelp* with a leading space (Bug#13190).
592
7c3d167f
RF
5932012-12-16 Romain Francoise <romain@orebokech.com>
594
595 * files.el (file-extended-attributes)
596 (set-file-extended-attributes): New functions.
597 (backup-buffer): Use them to handle both SELinux context and ACL
598 entries.
599 (backup-buffer-copy): Work with an alist of extended attributes,
600 rather than an SELinux context.
601 (basic-save-buffer-2): Ditto.
602
19b748ad
TM
6032012-12-16 Timo Myyrä <timo.myyra@gmail.com>
604
605 * battery.el (battery-bsd-apm): New function.
606
70042c64
JB
6072012-12-16 Jay Belanger <jay.p.belanger@gmail.com>
608
609 * calc/calc.el (calc-standard-date-formats): Adjust one of the
610 standard date formats.
611
279f9b06
JL
6122012-12-15 Juri Linkov <juri@jurta.org>
613
614 * isearch.el (isearch-mode-map): Bind `C-x 8 RET' to
615 `isearch-insert-char-by-name'.
616 (with-isearch-suspended): New defmacro with body mostly from
617 `isearch-edit-string' except the part that sets
618 `isearch-new-string' and `isearch-new-message'.
619 (isearch-edit-string): Use new macro `with-isearch-suspended' with
620 body that sets `isearch-new-string' and `isearch-new-message'.
621 (isearch-insert-char-by-name): New command.
622 * international/mule-cmds.el (read-char-by-name): Let-bind
623 `enable-recursive-minibuffers' to t.
624 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00234.html
625
8370def5
JL
6262012-12-15 Juri Linkov <juri@jurta.org>
627
628 * isearch.el (isearch-delete-char, isearch-del-char): Doc fix.
629 (Bug#13175)
630
178fb95d
CS
6312012-12-15 Christopher Schmidt <christopher@ch.ristopher.com>
632
633 * dired-x.el (dired-guess-shell-command): Put colon at the end of
634 the prompt. (Bug#13045)
635
a5f74442
GM
6362012-12-14 Glenn Morris <rgm@gnu.org>
637
638 * emacs-lisp/macroexp.el (macroexp--warn-and-return):
639 Try to include filename in non-bytecomp warning. (Bug#13132)
640
97976f9f
PE
6412012-12-14 Paul Eggert <eggert@cs.ucla.edu>
642
643 Fix permissions bugs with setgid directories etc. (Bug#13125)
644 * files.el (backup-buffer): Don't rely on 9th output of
645 file-attributes, as it's now a placeholder. Instead, use the new
646 optional arg of file-ownership-preserved-p.
647 (file-ownership-preserved-p): New optional arg GROUP.
648 Fix mishandling of setuid directories that would cause this
649 function to return t when it should have returned nil.
650 Document what happens if the file does not exist, and when
651 it's not known whether the ownership will be preserved.
652 * net/tramp-sh.el (tramp-sh-handle-file-ownership-preserved-p):
653 Likewise.
654 (tramp-get-local-gid): Use group-gid for integer, as that's
655 faster and more reliable.
656
016b2a42
JD
6572012-12-14 Julien Danjou <julien@danjou.info>
658
19156242
KR
659 * progmodes/sql.el (sql-mode-postgres-font-lock-keywords):
660 Update keywords list, data type and PL/pgSQL.
016b2a42 661
665e5e07
DA
6622012-12-14 Dave Abrahams <dave@boostpro.com>
663
664 * vc/ediff-util.el (ediff-buffer-type): New function.
665 (ediff-clone-buffer-for-current-diff-comparison): Compute the buf-type
666 rather than taking it as as argument.
667 (ediff-inferior-compare-regions): Adjust calls accordingly (bug#11319).
668
d72e9e92
RC
6692012-12-14 Ryan Crum <ryan.crum@eleostech.com>
670
671 * json.el: Add pretty-print option (bug#12634).
672 (json-encoding-separator, json-encoding-default-indentation)
673 (json--encoding-current-indentation, json-encoding-pretty-print)
674 (json-encoding-lisp-style-closings): New vars.
675 (json--with-indentation): New macro.
676 (json-encode-hash-table, json-encode-alist, json-encode-plist)
677 (json-encode-array): Use it to obey json-encoding-pretty-print.
678 (json-pretty-print-buffer, json-pretty-print): New commands.
679
dbb530d9
DG
6802012-12-14 Dmitry Gutov <dgutov@yandex.ru>
681
682 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
683 Extract `ruby-syntax-propertize-expansions'.
684 (ruby-syntax-propertize-expansions): Only change syntax on
685 certain string delimiters, to punctuation. This way the common
686 functions like forward-word and thing-at-point still work.
687 (ruby-match-expression-expansion): Improve readability.
bb808526
DG
688 (ruby-block-contains-point): New function.
689 (ruby-add-log-current-method): Handle several edge cases.
dbb530d9 690
ce0440ff
JB
6912012-12-13 Juanma Barranquero <lekktu@gmail.com>
692
693 * emacs-lisp/edebug.el (edebug-unload-function): Make sure that
694 unload-feature finishes even when aborting an ongoing edebug session.
695 Also, do not worry about edebug-mode, unload-feature takes care of it.
696
f10331bf
AS
6972012-12-13 Andreas Schwab <schwab@suse.de>
698
699 * net/tls.el (tls-program): Update customize type.
700
5f3a3bb1
JB
7012012-12-13 Juanma Barranquero <lekktu@gmail.com>
702
703 * emacs-lisp/edebug.el (edebug--require-cl-read): New function.
704 (edebug-setup-hook, cl-read-load-hooks): Use it.
705 (edebug-unload-function): New function. (Bug#13163)
706
6ce21463
MA
7072012-12-13 Michael Albinus <michael.albinus@gmx.de>
708
709 * net/tramp-adb.el (tramp-adb-file-name-p): Make it a defsubst.
710 Otherwise, there could be errors in autoloading. (Bug#13151)
711
d754b364
JH
7122012-12-13 Jürgen Hötzel <juergen@archlinux.org>
713
714 * net/tramp-adb.el (tramp-adb-wait-for-output): Remove spurious " ^H"
715 sequences.
716
727f9739 7172012-12-13 Alan Mackenzie <acm@muc.de>
14b8c3d9
AM
718
719 Make CC Mode not hang when _some_ lines end in CRLF. Bug #11841.
720 * progmodes/cc-engine.el (c-backward-comments): Add code to work
721 around `forward-comment' not recognizing ^M as whitespace.
722
727f9739 7232012-12-13 Fabián Ezequiel Gallina <fgallina@cuca>
2c43a9ad
FEG
724
725 * progmodes/python.el (python-skeleton-class)
726 (python-skeleton-def): Do not add space after defun name.
727
eb8006c6
SM
7282012-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
729
730 * emacs-lisp/cl.el (letf): Make it an alias of cl-letf.
731 (cl--symbol-function): Remove (now that funbound is like nil).
732
4c74b1e4
GM
7332012-12-12 Glenn Morris <rgm@gnu.org>
734
735 * button.el (button--area-button-p): Fix typo.
736
37f38bca
SS
7372012-12-12 Sam Steingold <sds@gnu.org>
738
739 * frame.el (frame-maximization-style): New user option.
740 (toggle-frame-maximized): Toggle frame maximization according to
741 `frame-maximization-style', bound to <f11>.
742 (cycle-frame-maximized): Cycle between all maximization styles and
743 non-maximized frame, bound to shift-<f11>.
744
fd49a218
DC
7452012-12-12 David Cadé <codename68@gmail.com>
746
747 * mpc.el (mpc-format): Use truncate-string-to-width (bug#13143).
748
69e1c203
JB
7492012-12-12 Jonas Bernoulli <jonas@bernoul.li>
750
751 * lisp/emacs-lisp/eieio.el: Prettier object pretty-printing (bug#13115).
752 (eieio-override-prin1): Don't quote kewords and booleans.
753 (object-write) <eieio-default-superclass>: Don't put closing parens
754 on new line, avoid needless empty lines, align values that are objects
755 with the slot keyword (instead of beginning on the same line).
756 (eieio-list-prin1): Align value with slot keyword; increase
757 eieio-print-depth before printing members of the list.
758
4b0df848
SM
7592012-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
760
030f4af5
SM
761 * mail/emacsbug.el (report-emacs-bug): Move the intangible text to
762 a display text-property.
763 (report-emacs-bug-hook): Don't bother deleting it any more.
764
6ac1f8ca
SM
765 * hilit-chg.el (highlight-save-buffer-state): Delete.
766 Use with-silent-modifications instead.
767 (hilit-chg-set-face-on-change): Only fixup the text that's modified.
768
4b0df848
SM
769 * button.el: Handle buttons in display text-properties.
770 (button--area-button-p, button--area-button-string):
771 Use (STRING . STRING-POS) representation instead of just STRING.
772
d46d2d3a
EZ
7732012-12-11 Eli Zaretskii <eliz@gnu.org>
774
775 * makefile.w32-in (compile4-SH): Fix a typo that caused term
776 subdirectory be skipped.
777
a0099d31
GM
7782012-12-11 Glenn Morris <rgm@gnu.org>
779
36327e4f
GM
780 * net/rcirc.el (rcirc-urls, rcirc-condition-filter): Doc fixes.
781
a0099d31
GM
782 * progmodes/f90.el (f90-line-continued, f90-indent-region):
783 Treat preprocessor lines embedded in continuations like comments.
784 (f90-indent-line): Special-case preprocessor lines. (Bug#13138)
785
ff3f6c26
JB
7862012-12-11 Jay Belanger <jay.p.belanger@gmail.com>
787
788 * calc/calc.el (calc-standard-date-formats): Add more date
789 formats.
790 * calc/calc-forms.el (math-parse-iso-date): New function.
791 (math-parse-date): Use `math-parse-iso-date' when appropriate.
792 (math-parse-iso-date-validate): Add extra error checking.
793 (calc-date-notation): Add ability to access new date formats.
794
ed6f2cd4
SM
7952012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
796
797 * hi-lock.el (hi-lock--regexps-at-point): Fix boundary case for
798 font-lock as well as when there's no text-property.
799
c868b919
J
8002012-12-10 Jambunathan K <kjambunathan@gmail.com>
801
802 * hi-lock.el: Refine the choice of default face.
803 (hi-lock-keyword->face): New function. Use it wherever we used
804 cadadadr instead.
805 (hi-lock--regexps-at-point): Ignore faces that can't come from hi-lock.
806 (hi-lock--last-face): Remove var.
807 (hi-lock--unused-faces): New var to replace it.
808 (hi-lock-read-face-name): Use/maintain it.
809 (hi-lock-unface-buffer): Maintain it. Fix error for the C-u case.
810 (hi-lock-set-pattern): Ignore new rule if it has the same regexp even
811 if it has another face.
812
2b8c9064
EZ
8132012-12-10 Eli Zaretskii <eliz@gnu.org>
814
815 * subr.el (w32notify-handle-event): New function.
816 (inotify-handle-event): Doc fix.
817
81606b10
RS
8182012-12-10 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
819
820 * subr.el (inotify-event-p, inotify-handle-event): New functions.
821
265c2fbf 8222012-12-10 Dani Moncayo <dmoncayo@gmail.com>
6ce49f24
DM
823
824 * simple.el (just-one-space): Doc fix.
825
265c2fbf 8262012-12-10 Eli Zaretskii <eliz@gnu.org>
8d43bd30 827
c868b919 828 * textmodes/texinfo.el (texinfo-enable-quote-envs): Add "smallexample".
8d43bd30 829
265c2fbf 8302012-12-10 Le Wang <l26wang@gmail.com>
3a21537c
LW
831
832 * hilit-chg.el (hilit-chg-set-face-on-change): Don't burp in
833 narrowed buffer (bug#12361).
834
265c2fbf 8352012-12-10 Juanma Barranquero <lekktu@gmail.com>
bf741d33
JB
836
837 * vc/vc-hooks.el (vc-state): Doc fix.
838
265c2fbf 8392012-12-10 Glenn Morris <rgm@gnu.org>
07026166
GM
840
841 * mail/rmail.el (rmail-maybe-display-summary):
842 Preserve buffer, in case select-window changes it. (Bug#13066)
843
265c2fbf 8442012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
82e1f390
SM
845
846 * emacs-lisp/cl.el, emacs-lisp/cl-lib.el: Move cl-unload-function and
847 cl-load-hook where they belong.
848
bad162fd
SM
8492012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
850
851 * emacs-lisp/cl-lib.el (cl-declaim): Paren typo.
852
ca065258
EZ
8532012-12-09 Eli Zaretskii <eliz@gnu.org>
854
855 Parallelize byte compilation on MS-Windows.
856 * makefile.w32-in (WINS_BASIC1, WINS_BASIC2, WINS_BASIC3)
bad162fd 857 (WINS_BASIC4): New variables, subdivide subdirectories into 4 parts.
ca065258
EZ
858 (WINS_BASIC): Define as concatenation of the above.
859 (compile): Subdivide into 4 separate and independent jobs that can
860 be run in parallel.
861 (compile0-CMD, compile0-SH): New targets for compiling
862 COMPILE_FIRST files, which are prerequisites for the rest of the
863 byte-compilation.
bad162fd
SM
864 (compile1-CMD, compile2-CMD, compile3-CMD, compile4-CMD):
865 New targets for parallel compilation with cmd.exe.
ca065258
EZ
866 (compile1-SH, compile2-SH, compile3-SH, compile4-SH): Ditto for
867 compiling under a Unixy shell.
868
5dea55d2
CY
8692012-12-09 Chong Yidong <cyd@gnu.org>
870
871 * simple.el (set-mark-default-inactive): Delete this
872 accidentally-introduced option.
873 (set-mark-command, exchange-point-and-mark): Remove calls.
874
c6c08d3f
GM
8752012-12-09 Glenn Morris <rgm@gnu.org>
876
877 * emacs-lisp/lisp-mode.el (eval-defun-1): Doc fix.
878 Respect a defcustom's :set function, if appropriate. (Bug#109)
879 (eval-defun): Doc fix.
880
858aab4c
JL
8812012-12-08 Juri Linkov <juri@jurta.org>
882
883 * info.el (Info-copy-current-node-name, Info-breadcrumbs)
884 (Info-fontify-node, Info-bookmark-make-record): Remove the
885 file extension from Info-current-file (Bug#13016).
886
2e4ad7e5
SM
8872012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
888
889 * hi-lock.el (hi-lock-unface-buffer): If there's no matching regexp at
890 point, still provide some default.
891 (hi-lock--regexps-at-point): Don't enforce a "hi-lock-" prefix on face
892 names, since we don't use it right now. Actually return the list.
893 (hi-lock-file-patterns, hi-lock-interactive-patterns): Use defvar-local.
894
75498db0
CY
8952012-12-07 Chong Yidong <cyd@gnu.org>
896
ffe7ba8f
CY
897 * novice.el (disabled-command-function): Remove a spurious help
898 xref (Bug#13043). Suggested by Kelly Dean.
899
454eb095
CY
900 * subr.el (text-clone-maintain): Fix clone overlay deletion when a
901 syntax is specified (Bug#13025).
902
75498db0
CY
903 * info.el (Info-set-mode-line): Remove the file extension from
904 Info-current-file if there is one (Bug#13016).
905
13a40633
GM
9062012-12-07 Glenn Morris <rgm@gnu.org>
907
54c8b5ba
GM
908 * mail/rmail.el (rmail-mime-decoded): New permanent local.
909 (rmail-show-message-1): Set rmail-mime-decoded when appropriate.
910 * mail/rmailedit.el (rmail-cease-edit): Respect rmail-mbox-format
911 and rmail-mime-decoded. (Bug#9841)
912
13a40633
GM
913 * mail/unrmail.el (unrmail-mbox-format): New option. (Bug#6574)
914 (batch-unrmail, unrmail): Doc fixes.
915 (unrmail): Respect unrmail-mbox-format.
916 * mail/rmail.el (rmail-mbox-format): New option.
917 (rmail-show-message-1): Respect rmail-mbox-format.
918
4611a3cc
SM
9192012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
920
921 * emacs-lisp/cl-macs.el (cl-tagbody): New macro.
922
1812c724
SM
9232012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
924
338bfefa
SM
925 Further cleanup of the "cl-" namespace. Fit CL in 80 columns.
926 * emacs-lisp/cl-macs.el (cl--pop2, cl--optimize-safety)
927 (cl--optimize-speed, cl--not-toplevel, cl--parse-loop-clause)
928 (cl--expand-do-loop, cl--proclaim-history, cl--declare-stack)
929 (cl--do-proclaim, cl--proclaims-deferred): Rename from the "cl-" prefix.
930 (cl-progv): Don't rely on dynamic scoping to find the body.
931 * emacs-lisp/cl-lib.el (cl--optimize-speed, cl--optimize-safety)
932 (cl--proclaims-deferred): Rename from the "cl-" prefix.
933 (cl-declaim): Use backquotes.
934 * emacs-lisp/cl-extra.el (cl-make-random-state, cl-random-state-p):
935 Use "cl--" prefix for the object's tag.
936
1812c724
SM
937 * ses.el: Use advice-add/remove.
938 (ses--advice-copy-region-as-kill, ses--advice-yank): New functions.
939 (copy-region-as-kill, yank): Use advice-add.
940 (ses-unload-function): Use advice-remove.
941
24fc9480
JB
9422012-12-06 Jonas Bernoulli <jonas@bernoul.li>
943
944 * button.el: Make them work in header-lines (bug#12817).
945 (button-map): Add bindings for header-line and mode-line use.
946 (button-get, button-put, button-label): `button' may now be a string.
947 (button-activate): Don't make it a defsubst.
948 (button--area-button-p, button--area-button-string): New functions.
949 (make-text-button): Fix the return value when `beg' was a string.
950 (push-button): Handle the mode-line case.
951
853c1ffc
SM
9522012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
953
93852cb0
SM
954 * progmodes/sql.el: Use cl-lib and lexical-binding; various cleanup.
955 (sql-signum): Remove. Use `cl-signum' instead.
956 (sql-read-passwd): Remove; use read-passwd instread.
957 (sql-get-login-ext): Use read-string.
958 (sql-get-login): Use dolist and pcase.
959 (sql--completion-table): Rename from sql-try-completion.
960 Use complete-with-action.
961 (sql-mode): Don't change abbrev-all-caps globally.
962 (sql-connect): Don't rely on dynamic scoping for `new-name'.
963 (sql-postgres-completion-object): Initialize vars in their `let'.
964 (sql-comint-sybase, sql-comint-sqlite, sql-comint-mysql)
965 (sql-comint-solid, sql-comint-ms, sql-comint-postgres)
966 (sql-comint-interbase): Use a single append, without setq.
967 (sql-comint-linter): Same, and unwind-protect the LINTER_MBX var.
968
853c1ffc
SM
969 * hi-lock.el: Rework the default face and the serialize regexp code.
970 (hi-lock--auto-select-face-defaults): Remove.
971 (hi-lock-string-serialize-serial): Remove.
972 (hi-lock--hashcons-hash): Rename from hi-lock-string-serialize-hash;
973 make weak.
974 (hi-lock--hashcons): Rename from hi-lock-string-serialize, return an
975 equal string.
976 (hi-lock-set-pattern): Adjust accordingly.
977 (hi-lock--regexps-at-point): Simplify accordingly.
978 (hi-lock--auto-select-face-defaults): Remove.
979 (hi-lock--last-face): New var to replace it.
980 (hi-lock-read-face-name): Rewrite (bug#11095).
981 (hi-lock-unface-buffer): Arrange for the face to be the next default.
982
5504e2c7
MA
9832012-12-06 Michael Albinus <michael.albinus@gmx.de>
984
853c1ffc
SM
985 * net/tramp.el (tramp-replace-environment-variables):
986 Hide compiler warning.
5504e2c7
MA
987 (tramp-file-name-for-operation): Remove `executable-find',
988 `start-process', `call-process' and `call-process-region'.
989
853c1ffc 990 * net/tramp-compat.el (top): Don't require 'tramp-util and 'tramp-vc.
5504e2c7
MA
991
992 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Ensure backward
993 compatibility.
994
995 * net/tramp-sh.el (top): Remove `tramp-sh-handle-call-process-region'.
996
e1d51545
CY
9972012-12-06 Chong Yidong <cyd@gnu.org>
998
999 * ffap.el (ffap-replace-file-component): Fix typo.
1000
d8ad4d3f 10012012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
ef54d315
SM
1002
1003 * progmodes/octave-mod.el (octave-mark-block): Move out of tokens and
1004 fix open-paren-like token test (bug#12785).
1005
d8ad4d3f 10062012-12-06 Glenn Morris <rgm@gnu.org>
52d129cd
GM
1007
1008 * mail/rmailsum.el (rmail-new-summary): Tweak for
1009 rmail-maybe-display-summary changing buffer. (Bug#13066)
1010
d8ad4d3f 10112012-12-06 Juri Linkov <juri@jurta.org>
68bf4e09
JL
1012
1013 * info.el (Info-fontify-node): Don't hide the last newline.
1014 (Bug#12272)
1015
9ad948e2
KY
10162012-12-06 Katsumi Yamaoka <yamaoka@jpl.org>
1017
1018 * mail/mailabbrev.el (mail-abbrev-expand-wrapper): Work in minibuffer
1019 so as to enable message-read-from-minibuffer to expand mail aliases.
1020
4b5c89ee
SM
10212012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
1022
1023 * minibuf-eldef.el (minibuf-eldef-update-minibuffer): Don't mess with
1024 the `intangible' property.
1025 Suggested by Christopher Schmidt <christopher@ch.ristopher.com>
1026
5602a53a
DD
10272012-12-05 Deniz Dogan <deniz@dogan.se>
1028
1029 * net/rcirc.el (rcirc-urls): Update documentation.
1030 (rcirc-condition-filter): New function.
1031 (rcirc-browse-url, rcirc-markup-urls): Use only URLs before point
1032 and exclude consecutive duplicate URLs (Bug#6082).
1033
51b890ac
MA
10342012-12-05 Michael Albinus <michael.albinus@gmx.de>
1035
d5f97f62
MA
1036 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
1037 Check return code of copy command.
1038
853c1ffc
SM
1039 * net/tramp-adb.el (tramp-adb-sdk-dir, tramp-adb-prompt):
1040 Use group `tramp'. Add version.
51b890ac 1041
04b14f2b
CY
10422012-12-05 Chong Yidong <cyd@gnu.org>
1043
a3680194
CY
1044 * ffap.el (ffap-url-regexp): Don't require matching at front of
1045 string (Bug#4952).
1046 (ffap-url-p): If only a substring matches, return that.
1047 (ffap-url-at-point): Use the return value of ffap-url-p.
1048 (ffap-read-file-or-url, ffap-read-file-or-url-internal)
1049 (find-file-at-point, dired-at-point, dired-at-point-prompter)
1050 (ffap-guess-file-name-at-point): Likewise.
1051 (ffap-replace-file-component): Fix typo.
1052
04b14f2b
CY
1053 * info.el (info-display-manual): Add existing Info buffers, whose
1054 files may not be in Info-directory-list, to the completion.
1055 (info--manual-names): New helper function.
1056
49596095
GM
10572012-12-05 Glenn Morris <rgm@gnu.org>
1058
1059 * vc/vc-hg.el (vc-hg-resolve-when-done, vc-hg-find-file-hook):
1060 New functions, for detecting and resolving conflicts. (Bug#10709)
1061
b85aec93
J
10622012-12-04 Jambunathan K <kjambunathan@gmail.com>
1063
1064 * hi-lock.el (hi-lock-auto-select-face): New user variable.
1065 (hi-lock-auto-select-face-defaults): New buffer local variable.
1066 (hi-lock-read-face-name): Honor `hi-lock-auto-select-face'.
1067 (hi-lock-unface-buffer): Prompt user with useful defaults.
1068 With prefix arg, unhighlight all hi-lock patterns in buffer.
1069
8515507f
SM
10702012-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
1071
1072 * obsolete/terminal.el, obsolete/longlines.el: Add obsolecence info.
1073
72cebfb7
MA
10742012-12-04 Michael Albinus <michael.albinus@gmx.de>
1075
1076 * Makefile.in (TRAMP_SRC):
1077 * makefile.w32-in (TRAMP_SRC): Add tramp-adb.el.
1078
0ec3f7ea
JH
10792012-12-04 Juergen Hoetzel <juergen@archlinux.org>
1080
1081 * net/tramp-adb.el: New package.
1082
770de7cf
CY
10832012-12-04 Chong Yidong <cyd@gnu.org>
1084
ce3e7725
CY
1085 * terminal.el: Move to obsolete/.
1086
770de7cf
CY
1087 * longlines.el: Move to obsolete/.
1088
1089 * vc/ediff-diff.el (ediff-extract-diffs, ediff-extract-diffs3):
1090 Remove code referring to longlines mode.
1091
c38a186c
JL
10922012-12-03 Juri Linkov <juri@jurta.org>
1093
1094 * sort.el (delete-duplicate-lines): New command. (Bug#13032)
1095
329bfd64
AM
10962012-12-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1097
1098 * textmodes/ispell.el (ispell-init-process)
475eea6f
AM
1099 (ispell-start-process, ispell-internal-change-dictionary):
1100 Make sure personal dictionary name is expanded after initial
1101 `default-directory' value. Use expanded strings for
1102 keep/restart checks and for value (Bug#13019).
329bfd64 1103
77a74935
JB
11042012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
1105
1106 * calc/calc-forms.el (math-date-to-iso-dt): Fix weekday number.
1107
c5bc2d1d 11082012-12-03 Leo Liu <sdl.web@gmail.com>
ff3d86d0
LL
1109
1110 * files.el (dir-locals-read-from-file): Check file non-empty
1111 before reading. (Bug#13038)
1112
c5bc2d1d 11132012-12-03 Glenn Morris <rgm@gnu.org>
6247eff5
GM
1114
1115 * jka-cmpr-hook.el (jka-compr-get-compression-info):
1116 Remove any version extension before checking filename. (Bug#13006)
1117 (jka-compr-compression-info-list): Belated :version bump.
1118
c5bc2d1d 11192012-12-03 Chong Yidong <cyd@gnu.org>
a5bf43ba 1120
8ecba97d
CY
1121 * simple.el (transient-mark-mode): Doc fix (Bug#11523).
1122
a5bf43ba
CY
1123 * buff-menu.el (Buffer-menu-delete-backwards, Buffer-menu-mode)
1124 (buffer-menu): Doc fix (Bug#12294).
1125
c5bc2d1d 11262012-12-03 Roland Winkler <winkler@gnu.org>
34755291
RW
1127
1128 * calendar/diary-lib.el (diary-header-line-format): Use keybinding
1129 of diary-show-all-entries in the diary buffer (Bug#12994).
1130
c5bc2d1d 11312012-12-03 Michael Albinus <michael.albinus@gmx.de>
c2f5b60a
MA
1132
1133 * net/tramp-sh.el (tramp-perl-encode): Use "read STDIN" instead of
1134 "<STDIN>". This is binary safe.
1135
682ceaf8
JB
11362012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
1137
1138 * calc/calc-forms.el (math-absolute-from-iso-dt)
1139 (math-date-to-iso-dt, math-parse-iso-date-validate)
1140 (math-iso-dt-to-date): New functions.
1141 (math-fd-iso-dt, math-fd-isoyear, math-fd-isoweek)
1142 (math-fd-isoweekday): New variables.
1143 (calc-date-notation, math-parse-standard-date, math-format-date)
1144 (math-format-date-part): Add support for more formatting codes.
1145
db47d5e9
DG
11462012-12-02 Dmitry Gutov <dgutov@yandex.ru>
1147
1148 * vc/vc.el (vc-delete-file, vc-rename-file): Default to the
1149 current buffer's file name when called interactively (Bug#12488).
1150
3faf4944
JL
11512012-12-02 Juri Linkov <juri@jurta.org>
1152
1153 * info.el (info-display-manual): Don't clobber an existing Info
010db6da 1154 buffer (Bug#10770). Add completion (Bug#10771).
3faf4944 1155
cb5d51dc
YN
11562012-12-01 Yuya Nishihara <yuya@tcha.org> (tiny change)
1157
1158 * vc/vc-hooks.el (vc-find-file-hook): Expand buffer-file-truename
1159 before using it for comparison (Bug#5297).
1160
f38cd76e
JA
11612012-12-01 Jari Aalto <jari.aalto@cante.net>
1162
1163 * textmodes/css-mode.el (css-current-defun-name): New function.
1164 (css-mode): Use it.
1165
1166 * textmodes/sgml-mode.el (html-current-defun-name): New function.
1167 (html-mode): Use it.
1168
ba03d0d9
CY
11692012-12-01 Chong Yidong <cyd@gnu.org>
1170
1171 Modularize add-log-current-defun (Bug#2224).
1172 Suggested by Jari Aalto.
1173
1174 * vc/add-log.el (add-log-current-defun-function): Doc fix.
1175 (add-log-current-defun): Move mode-specific code to other files.
1176 (add-log-lisp-like-modes, add-log-c-like-modes)
1177 (add-log-tex-like-modes): Variables deleted.
1178
1179 * emacs-lisp/lisp-mode.el (lisp-current-defun-name): New.
1180 (lisp-mode-variables): Use it.
1181
1182 * progmodes/cc-mode.el (c-common-init):
1183 * progmodes/cperl-mode.el (cperl-mode): Set a value for
1184 add-log-current-defun-function.
1185
1186 * progmodes/m4-mode.el (m4-current-defun-name): New function.
1187 (m4-mode): Use it.
1188
1189 * progmodes/perl-mode.el (perl-current-defun-name): New.
1190 (perl-mode): Use it.
1191
853c1ffc
SM
1192 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
1193 Use lisp-current-defun-name.
ba03d0d9
CY
1194
1195 * textmodes/tex-mode.el (tex-current-defun-name): New.
1196 (tex-common-initialization): Use it.
1197
1198 * textmodes/texinfo.el (texinfo-current-defun-name): New.
1199 (texinfo-mode): Use it.
1200
92eadba5
CY
12012012-12-01 Chong Yidong <cyd@gnu.org>
1202
1203 * emacs-lisp/lisp-mode.el (lisp-mode-variables, lisp-mode):
1204 * progmodes/autoconf.el (autoconf-mode):
1205 * progmodes/js.el (js-mode):
1206 * progmodes/make-mode.el (makefile-mode, makefile-makepp-mode)
1207 (makefile-bsdmake-mode, makefile-imake-mode, makefile-browse):
1208 * progmodes/perl-mode.el (perl-mode):
1209 * progmodes/sh-script.el (sh-mode, sh-set-shell):
1210 * textmodes/css-mode.el (css-mode):
1211 * textmodes/sgml-mode.el (html-mode, sgml-mode)
1212 (sgml-tags-invisible, sgml-guess-indent):
1213 * textmodes/tex-mode.el (tex-common-initialization)
1214 (latex-complete-bibtex-keys, tex-shell, tex-main-file)
1215 (doctex-mode, plain-tex-mode, latex-mode):
1216 * textmodes/texinfo.el (texinfo-mode): Use setq-local.
1217
3ddbf803
KK
12182012-12-01 Kirk Kelsey <kirk.kelsey@0x4b.net>
1219
1220 * vc/vc-hg.el (vc-hg-next-revision):
1221 Ensure use of default "tip" output format. (Bug#6968)
1222
f0b6ae63
KS
12232012-12-01 Kim F. Storm <storm@cua.dk>
1224
1225 * startup.el (fancy-startup-tail): Add a clickable link
1226 (Bug#2176).
1227
c01bf73e
CY
12282012-12-01 Chong Yidong <cyd@gnu.org>
1229
1230 * startup.el (fancy-startup-tail): Improve the message about
1231 auto-save files (Bug#2176).
1232
f0b6ae63
KS
1233 * files.el (recover-session): Improve the descriptive message, and
1234 use substitute-command-keys.
1235
a9400458
GM
12362012-12-01 Glenn Morris <rgm@gnu.org>
1237
1238 * ido.el (ido-file-internal):
1239 Handle other-window, other-frame for dired. (Bug#13036)
1240
fb3bf6ce
GM
12412012-11-30 Glenn Morris <rgm@gnu.org>
1242
1243 * icomplete.el (icomplete-separator): Fix :version.
1244
a813fe3f
CY
12452012-11-30 Chong Yidong <cyd@gnu.org>
1246
1247 * shell.el (shell): For C-u M-x shell, use an inactive shell
1248 buffer as the default (Bug#1975).
276479fd
CY
1249 (shell-apply-ansi-color, shell-reapply-ansi-color): New functions.
1250 (shell-mode): Use them to reapply ansi colorization if Shell mode
1251 is re-enabled.
a813fe3f 1252
a8b733a5
CY
12532012-11-30 Yuriy Vostrikov <delamonpansie@gmail.com> (tiny change)
1254
1255 * vc/vc-git.el (vc-git-command): Disable the pager (Bug#6137).
1256
6fccd6e8
SB
12572012-11-30 Samuel Bronson <naesten@gmail.com>
1258
1259 * progmodes/grep.el (grep-compute-defaults): Do not pass the -e
1260 flag to xargs, for compatibility with BSD xargs (Bug#11703).
1261
53c9a337
TT
12622012-11-30 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
1263
1264 * textmodes/fill.el (fill-region-as-paragraph): Handle overshoot
1265 by move-to-column (Bug#3234).
1266
ccf520bb
CY
12672012-11-30 Chong Yidong <cyd@gnu.org>
1268
1269 * longlines.el (longlines-wrap-line, longlines-encode-region):
1270 Preserve text properties (Bug#1425).
1271
171b0949
OT
12722012-11-30 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
1273
1274 * vc/vc.el (vc-register): Allow registering a file which is
1275 already registered with a different backend (Bug#10589).
1276
cc37e70f
J
12772012-11-29 Jambunathan K <kjambunathan@gmail.com>
1278 Stefan Monnier <monnier@iro.umontreal.ca>
1279
1280 * icomplete.el: Change separator; add ido-style commands.
1281 (icomplete-show-key-bindings): Remove custom var.
1282 (icomplete-get-keys): Remove function.
1283 (icomplete-forward-completions, icomplete-backward-completions):
1284 New commands.
1285 (icomplete-minibuffer-map): New var.
1286 (icomplete-minibuffer-setup): Use it.
1287 (icomplete-exhibit): Don't delay if the list of completions is known.
1288 (icomplete-separator): New custom.
1289 (icomplete-completions): Use it.
1290 * minibuffer.el (completion-all-sorted-completions): Delete duplicates.
1291 (minibuffer-force-complete-and-exit): New command.
1292 (minibuffer--complete-and-exit): New function extracted from
1293 minibuffer-complete-and-exit.
1294 (minibuffer-complete-and-exit): Use it.
83e12fe0
SM
1295
1296 * progmodes/etags.el (visit-tags-table-buffer): Give a more precise
1297 error message when the file doesn't exist (bug#12974).
1298
31646597
KD
12992012-11-29 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
1300
1301 * simple.el (activate-mark): Run activate-mark-hook (bug#13027).
1302
e9df8f87
GM
13032012-11-29 Glenn Morris <rgm@gnu.org>
1304
824eefe4
GM
1305 * files.el (hack-dir-local-variables): Warn if try to set
1306 coding via dir-locals, since it doesn't work. (Bug#7169)
1307
4ad900d9
GM
1308 Add desktop support for restoring vc-dir buffers. (Bug#10606)
1309 * vc/vc-dir.el (vc-dir-mode): Autoload it (for desktop restore).
1310 Set buffer-local value of desktop-save-buffer.
1311 (vc-dir-desktop-buffer-misc-data, vc-dir-restore-desktop-buffer):
1312 New functions.
1313 (desktop-buffer-mode-handlers): Add vc-dir-mode entry.
1314 * desktop.el (desktop-save-buffer-p): Treat vc-dir like dired.
1315
e9df8f87
GM
1316 * files.el (inhibit-local-variables-ignore-case): New. (Bug#10610)
1317 (inhibit-local-variables-p): Use inhibit-local-variables-ignore-case.
1318 Doc fix.
1319 (inhibit-local-variables-regexps, inhibit-local-variables-suffixes):
1320 Doc fixes.
1321
e7c8fcc4
JB
13222012-11-28 Jay Belanger <jay.p.belanger@gmail.com>
1323
1324 * calc/calc-forms.el (calc-date-notation): Fix regexp
1325 used to find time codes. Fix symbol for seconds.
1326
48d6d9c0
GM
13272012-11-27 Glenn Morris <rgm@gnu.org>
1328
1329 * emacs-lisp/derived.el (derived-mode-make-docstring):
1330 Don't mention "abbrev" or "syntax" if nil. (Bug#11277)
1331
369f945d
SM
13322012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
1333
1334 * textmodes/table.el (table-insert): Don't use `symbol-name' on
1335 lexically scoped variables (bug#13005).
1336
5c9cf0a3 13372012-11-27 Glenn Morris <rgm@gnu.org>
98f99594 1338
999e745e
GM
1339 * vc/vc-hooks.el (vc-mistrust-permissions):
1340 Default to t, to avoid data-loss. (Bug#11490)
98f99594 1341
5c9cf0a3 13422012-11-27 Fabián Ezequiel Gallina <fgallina@cuca>
207cb73c 1343
999e745e
GM
1344 * progmodes/python.el (python-indent-guess-indent-offset):
1345 If indentation is guessed make python-indent-offset buffer-local.
1346
207cb73c 1347 Fix Imenu regression.
999e745e
GM
1348 * progmodes/python.el (python-nav-beginning-of-defun):
1349 Fix forward movement when statement(s) separates point from defun.
207cb73c
FEG
1350 (python-imenu-prev-index-position): New function.
1351
5c9cf0a3 13522012-11-27 Eli Zaretskii <eliz@gnu.org>
33a488e4
EZ
1353
1354 * subr.el (buffer-file-type): Declare with defvar-local. Doc fix.
1355
1356 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
865f7d8f 1357 Don't set buffer-file-type. Return nil. (Bug#12989)
33a488e4 1358
5c9cf0a3 13592012-11-27 Glenn Morris <rgm@gnu.org>
50207191
GM
1360
1361 * hippie-exp.el (hippie-expand-try-functions-list):
1362 Re-autoload it. (Bug#12982)
1363
5c9cf0a3 13642012-11-27 Eli Zaretskii <eliz@gnu.org>
2147c6ab 1365
369f945d
SM
1366 * descr-text.el (describe-char-padded-string):
1367 Call internal-char-font only on GUI frames. (Bug#11964)
2147c6ab 1368
5c9cf0a3 13692012-11-27 Andreas Schwab <schwab@linux-m68k.org>
58b1ae1e
AS
1370
1371 * buff-menu.el (Buffer-menu-buffer+size-width): Fix customize type
1372 and obsoletion message.
1373
5c9cf0a3 13742012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
35a10516
SM
1375
1376 * emacs-lisp/cl-macs.el (cl--transform-lambda): Add back `declare' in
1377 the constructs to keep outside of the `cl-block' (bug#12977).
1378
5c9cf0a3 13792012-11-27 Chong Yidong <cyd@gnu.org>
0c5ef133
CY
1380
1381 * mouse.el (mouse-drag-line): Even if the line is not draggable,
1382 keep reading until we get the up-event anyway, in order to process
1383 the up-event for mouse-1-click-follows-link (Bug#12971).
1384
848a2dd1
SM
13852012-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
1386
1387 * emacs-lisp/advice.el (ad-should-compile): Don't compile advice if the
1388 base function is not yet defined (bug#12965).
1389 (ad-activate-advised-definition): Use ad-compile-function.
1390 (ad-activate): Use cond.
1391
9ad79506
LL
13922012-11-25 Leo Liu <sdl.web@gmail.com>
1393
1394 * textmodes/sgml-mode.el (sgml-tag): Fix indentation for closing tag.
1395 (Bug#12979)
1396
e2cb57f5
VB
13972012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
1398
1399 * textmodes/reftex-parse.el (reftex-parse-from-file): Use variable
1400 reftex-section-info-function in order to be compatible with
1401 Texinfo integration.
1402
1403 * textmodes/reftex.el (reftex-section-pre-regexp)
848a2dd1
SM
1404 (reftex-section-post-regexp, reftex-section-info-function):
1405 New variable.
1406 (reftex-compile-variables): Use variables reftex-section-pre-regexp,
1407 reftex-section-post-regexp, and reftex-section-info-function in order
1408 to be compatible with Texinfo integration.
1409
1410 * textmodes/reftex-toc.el (reftex-toc-promote-action):
1411 use reftex-section-pre-regexp variable in order to be compatible with
e2cb57f5
VB
1412 Texinfo integration.
1413
1c4f115d
CY
14142012-11-25 Chong Yidong <cyd@gnu.org>
1415
1416 * faces.el: Make face-spec-set more analogous to setq.
1417 (face-spec-set): Change the third arg to specify whether this
1418 function is being called via defface, customize, or a third party.
1419 Set the appropriate symbol properties. Clear the override spec if
1420 setting via Custom. Initialize face if necessary. (Bug#4988)
1421 (face-spec-recalc): Allow theme faces to completely replace the
1422 defface spec, in the same way as custom faces (Bug#8454).
1423
1424 * cus-face.el (custom-declare-face): Move face initialization to
1425 face-spec-set.
1426 (custom-theme-set-faces): Don't initialize the face name here, as
1427 that is now done in face-spec-set.
1428
1429 * cus-edit.el (custom-face-set, custom-face-mark-to-save)
1430 (custom-face-reset-saved, custom-face-mark-to-reset-standard):
1431 Simplify by using the new arg to face-spec-set.
1432
1433 * emacs-lisp/lisp-mode.el (eval-defun-1): When evaluating defface,
1434 reset face-override-spec too, and use custom-declare-face.
1435
c2350548
JD
14362012-11-24 Jan Djärv <jan.h.d@swipnet.se>
1437
1438 * term/ns-win.el (ns-initialize-window-system): Move creation of
1439 fontsets here (Bug#11964).
1440
ecfc364c
VB
14412012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
1442
1443 * ses.el (ses-rename-cell): Correct bug on mode-line update after
1444 cell renaming.
1445
0917cc54
CY
14462012-11-24 Chong Yidong <cyd@gnu.org>
1447
433212bf
CY
1448 * woman.el (woman-default-faces, woman-monochrome-faces): Mark as
1449 obsolete.
1450
0917cc54
CY
1451 * custom.el (custom-theme-set-variables): Use a topological sort
1452 for ordering by custom dependencies (Bug#12952).
1453 (custom--sort-vars, custom--sort-vars-1): New functions.
1454
d125ca15 14552012-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
002c019c
SM
1456
1457 * emacs-lisp/bytecomp.el (byte-compile-file): Setup default value for
1458 lexical-binding (bug#12938).
1459
d125ca15 14602012-11-24 Wolfgang Jenkner <wjenkner@inode.at>
977f9325
WJ
1461
1462 * image-mode.el (image-transform-check-size): Use assertions only
1463 for images of type imagemagick.
1464
1465 Otherwise no error, image-transform-fit-to-{width,height} is
1466 silently ignored, as before. Doc fix.
1467
d125ca15 14682012-11-24 Chong Yidong <cyd@gnu.org>
bccffa83
CY
1469
1470 * faces.el (color-defined-p): Doc fix (Bug#12853).
1471
d125ca15 14722012-11-24 Juri Linkov <juri@jurta.org>
61a2a122
JL
1473
1474 * dired.el (dired-mark): Add optional arg `interactive'.
1475 Check for `use-region-p' if `interactive' is non-nil.
1476 (dired-unmark, dired-flag-file-deletion): Add optional arg
1477 `interactive'. Call `dired-mark' with the arg `interactive'.
1478 (Bug#10624)
1479
cc4c01bd
JL
1480 * wdired.el: Revert 2012-10-17 change partly and replace it with
1481 Patch by Christopher Schmidt <christopher@ch.ristopher.com>.
1482 (wdired-finish-edit): Add marks for new file names to
1483 `wdired-old-marks'. Restore marks using `dired-mark-remembered'
1484 after `revert-buffer'.
1485 (wdired-do-renames): Remove calls to `dired-remove-file',
1486 `dired-add-file', `dired-add-entry'. (Bug#11795)
1487
d125ca15 14882012-11-24 Alan Mackenzie <acm@muc.de>
b03aabda 1489
dc310ed0
AM
1490 * progmodes/cc-defs.el (c-version): Bump to 5.32.4.
1491
b03aabda
AM
1492 Fix bugs in the state cache. Enhance a debugging mechanism.
1493 * progmodes/cc-engine.el (c-parse-state-get-strategy): Don't use
1494 "brace at column zero" strategy for C++.
1495 (c-append-lower-brace-pair-to-state-cache): Repair algorithm.
1496 (c-parse-state-point): New variable.
1497 (c-record-parse-state-state): Record old parse state with
1498 `copy-tree'. Record previous value of point.
1499 (c-debug-parse-state-double-cons): New debugging function.
1500 (c-debug-parse-state): Call the above new function.
1501 (c-toggle-parse-state-debug): Output a confirmatory message.
1502
002c019c
SM
1503 * progmodes/cc-mode.el (c-before-change, c-after-change):
1504 Call c-invalidate-state-cache from `c-before-change' instead of
b03aabda
AM
1505 `c-after-change'.
1506
930a6273
CY
15072012-11-23 Chong Yidong <cyd@gnu.org>
1508
1509 * find-cmd.el (find-constituents): Add executable, ipath,
1510 readable, samefile, writable, daystart, regextype (Bug#12856).
1511
15c9d04e
SM
15122012-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
1513
1514 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: Use cl-lib and lexical-binding.
1515
2ecb2679
PE
15162012-11-22 Paul Eggert <eggert@cs.ucla.edu>
1517
1518 * calc/calc.el (calc-gregorian-switch): Move to after calc-refresh
1519 definition. This fixes a bootstrap failure.
a14a5a40
PE
1520 (calc-gregorian-switch): In menu, put dates before regions.
1521 This is easier to follow, lines up better in the menu, and lets us
1522 coalesce regions that switch at the same time. Give country
15c9d04e
SM
1523 names, not "Vatican", as that's better for non-expert users.
1524 Use names that are stable between the date of switch and now, e.g.,
a14a5a40
PE
1525 Bohemia and Moravia (which existed then and now) and not
1526 Czechoslovakia (which didn't exist then and doesn't exist now).
1527 What is now the U.S. mostly did not switch at the same time as
1528 Britain, so omit the U.S. Correct spelling of "Britain".
1529 Catholic Switzerland was too much of a mess, so omit it.
2ecb2679 1530
723da6aa
JB
15312012-11-22 Jay Belanger <jay.p.belanger@gmail.com>
1532
1533 * calc/calc.el (calc-gregorian-switch): Refresh the Calc buffer
1534 after the variable is changed.
1535
21fa2482
DC
15362012-11-21 Daniel Colascione <dancol@dancol.org>
1537
1538 * progmodes/sql.el (sql-mode-font-lock-object-name): Support IF NOT EXISTS
b6096e85
DC
1539 in SQL declarations for font-lock.
1540 (sql-imenu-generic-expression): Teach imenu about IF NOT EXISTS.
21fa2482 1541
3ca2f1bf
GM
15422012-11-21 Glenn Morris <rgm@gnu.org>
1543
1bf335cf
GM
1544 * faces.el (face-underline-p, face-inverse-video-p, face-bold-p)
1545 (face-italic-p): Add optional argument "inherit".
1546
3ca2f1bf
GM
1547 * faces.el (set-face-inverse-video, set-face-bold, set-face-italic):
1548 Remove -p suffix from names, for consistency with other set-face-*.
1549 (set-face-inverse-video): Fix interactive spec.
1550 * play/gamegrid.el (gamegrid-make-mono-tty-face):
1551 * textmodes/table.el (table--update-cell-face):
1552 Use set-face-inverse-video rather than now obsolete alias.
1553
6ef2e5ef 15542012-11-21 Eli Zaretskii <eliz@gnu.org>
7cf95797
EZ
1555
1556 * simple.el (line-move): Don't call line-move-partial if
1557 scroll-conservatively is in effect. (Bug#12927)
1558
6ef2e5ef 15592012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
63f25172 1560
93b05041
SM
1561 * eshell/em-cmpl.el (eshell-pcomplete): Refine fix for bug#12838:
1562 Fallback on completion-at-point rather than
1563 pcomplete-expand-and-complete, and only if pcomplete actually failed.
1564 (eshell-cmpl-initialize): Setup completion-at-point.
1565
1566 * pcomplete.el (pcomplete--entries): Obey pcomplete-ignore-case.
1567
bc715d67
SM
1568 * emacs-lisp/ert.el (ert--expand-should-1): Adapt to cl-lib.
1569
6ef2e5ef 15702012-11-21 Michael Albinus <michael.albinus@gmx.de>
d7f2a65c
MA
1571
1572 * net/tramp-sh.el (tramp-do-copy-or-rename-file): If both files
1573 are remote, check out-of-band property for both.
1574
6ef2e5ef 15752012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
d1c0cddf
SM
1576
1577 * window.el (switch-to-buffer): Re-add the warning that was lost in the
1578 code rewrite.
1579
6ef2e5ef 15802012-11-21 Paul Eggert <eggert@cs.ucla.edu>
0c93aa38 1581
535efd4a
PE
1582 More minor time fixes.
1583 * calendar/time-date.el: Commentary fix.
1584 * net/tramp-sh.el (tramp-do-file-attributes-with-ls): Undo last change;
1585 too much other code depends on (0 0) time stamps.
1586 * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
1587 Add a couple of FIXME comments.
1588
0c93aa38
PE
1589 Minor cleanup for times as lists of four integers.
1590 * files.el (dir-locals-directory-cache):
1591 * ps-bdf.el (bdf-file-mod-time, bdf-read-font-info):
1592 Doc fixes.
1593 * net/tramp-sh.el (tramp-do-file-attributes-with-ls):
1594 * ps-bdf.el (bdf-file-newer-than-time):
1595 Process four-integers time stamps, not two. Doc fixes.
1596
23ba2705
SM
15972012-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
1598
2e31777b
SM
1599 * uniquify.el (uniquify-managed): Use defvar-local.
1600 (rename-buffer, create-file-buffer): Advise with advice-add.
1601 (uniquify-unload-function): Unadvise accordingly.
1602
8b62d742
SM
1603 * emacs-lisp/trace.el: Rewrite, use nadvice and lexical-binding.
1604 (trace-buffer): Don't purecopy.
1605 (trace-entry-message, trace-exit-message): Add `context' arg.
1606 (trace--timer): New var.
1607 (trace-make-advice): Adjust for use in nadvice.
1608 Add `context' argument. Delay `display-buffer' via a timer.
1609 (trace-function-internal): Use advice-add.
1610 (trace--read-args): New function.
1611 (trace-function-foreground, trace-function-background): Use it.
1612 (trace-function): Rename to trace-function-foreground and redefine as
1613 an alias to that new name.
1614 (untrace-function, untrace-all): Adjust to the use of nadvice.
1615
5d0ccd95
SM
1616 * emacs-lisp/bytecomp.el (byte-compile): Fix handling of closures.
1617
3837d988
SM
1618 * emacs-lisp/byte-run.el (defun-declarations-alist): Fix last change.
1619
23ba2705
SM
1620 * subr.el (called-interactively-p-functions): New var.
1621 (internal--called-interactively-p--get-frame): New macro.
1622 (called-interactively-p, interactive-p): Rewrite in Lisp.
1623 * emacs-lisp/nadvice.el (advice--called-interactively-skip): New fun.
1624 (called-interactively-p-functions): Use it.
1625 * emacs-lisp/edebug.el (edebug--called-interactively-skip): New fun.
1626 (called-interactively-p-functions): Use it.
1627 * allout.el (allout-called-interactively-p): Don't assume
1628 called-interactively-p is a subr.
1629
b0636be7
GM
16302012-11-20 Glenn Morris <rgm@gnu.org>
1631
1632 * profiler.el (profiler-report-mode-map): Add a menu.
1633 No need to bind `q' because we derive from special-mode.
1634 (profiler-report-find-entry): Handle calls from the menu-bar.
1635
855b17af
SM
16362012-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
1637
14146222
SM
1638 * emacs-lisp/byte-run.el (defun-declarations-alist):
1639 Allow a compiler-macro to be a lambda expression.
1640
1641 * progmodes/python.el: Use cl-lib. Move var declarations outside of
1642 eval-when-compile.
1643 (python-syntax-context): Add compiler-macro.
1644 (python-font-lock-keywords): Simplify with De Morgan.
1645
1000d895
SM
1646 * vc/diff-mode.el (diff-hunk): Don't make useless timers.
1647
ac5392dc
SM
1648 * files.el (load-file): Require match in minibuffer selection, as was
1649 the case in Emacs-20 before we changed the spec to allow .elc files
1650 (bug#12935).
1651
19dc7206
SM
1652 * json.el: Don't require cl since we don't use it.
1653 * color.el: Don't require cl.
1654 (color-complement): `caddr' -> `nth 2'.
1655
855b17af
SM
1656 * calendar/time-date.el (time-to-seconds): De-obsolete.
1657
e8909bdc
JB
16582012-11-19 Jay Belanger <jay.p.belanger@gmail.com>
1659
1660 * calc/calc-forms.el (math-leap-year-p): Fix formula for negative
1661 year numbers.
1662 (math-date-to-julian-dt): Adjust the initial approximation for the
1663 year to deal with the new definition of the DATE.
1664
6e9f7997
DC
16652012-11-19 Daniel Colascione <dancol@dancol.org>
1666
855b17af
SM
1667 * term/w32-win.el (cygwin-convert-path-from-windows):
1668 Accomodate rename of cygwin_convert_path* to cygwin_convert_file_name*.
6e9f7997 1669
6a3dd257
CY
16702012-11-18 Chong Yidong <cyd@gnu.org>
1671
1672 * filecache.el (file-cache--read-list): New function.
1673 (file-cache-add-directory-list, file-cache-add-file-list)
1674 (file-cache-delete-file-list, file-cache-delete-directory-list):
1675 Use it to read a list of files or directories (Bug#12846).
1676 (file-cache-add-file, file-cache-add-directory)
1677 (file-cache-delete-file-list, file-cache-delete-file-regexp)
1678 (file-cache-delete-directory): Print an message.
1679
eef97f35
JB
16802012-11-18 Jay Belanger <jay.p.belanger@gmail.com>
1681
1682 * calc/calc-forms.el (math-date-to-dt): Use integer date when
1683 calling `math-date-to-julian-dt' and 'math-date-to-gregorian-dt'.
1684
913c8291
GM
16852012-11-18 Glenn Morris <rgm@gnu.org>
1686
1687 * image.el (insert-image, insert-sliced-image): Doc fix.
1688
2ac9538d 16892012-11-18 Chong Yidong <cyd@gnu.org>
ec6f8ce6
CY
1690
1691 * emacs-lisp/syntax.el (syntax-propertize-function): Doc fix
1692 (Bug#12810).
1693
2ac9538d 16942012-11-18 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
c2d07557
CY
1695
1696 * vc/vc-svn.el (vc-svn-merge-news): Properly parse the merge
1697 response when the target file is in a subdirectory (Bug#12757).
1698
2ac9538d 16992012-11-18 Chong Yidong <cyd@gnu.org>
33f8917c
CY
1700
1701 * filecache.el (file-cache-add-file-list): Doc fix (Bug#12694).
1702
2ac9538d 17032012-11-18 Glenn Morris <rgm@gnu.org>
65463c40 1704
9a5e2ee3
GM
1705 * emacs-lisp/cl-lib.el (face-underline-p):
1706 Use set-face-underline rather than the alias set-face-underline-p.
1707
65463c40 1708 * window.el (with-temp-buffer-window): Doc fix.
95f0501e
GM
1709 * subr.el (with-output-to-temp-buffer):
1710 Add doc xref to with-temp-buffer-window.
65463c40 1711
c9ed8e3d
JB
17122012-11-18 Juanma Barranquero <lekktu@gmail.com>
1713
1714 * woman.el (woman-non-underline-faces): Use `set-face-underline'.
1715 * calc/calc.el (math-format-date-cache): Declare.
1716
310e60d9
PE
17172012-11-17 Paul Eggert <eggert@cs.ucla.edu>
1718
6f6b82d6
PE
1719 Calc by default uses the Gregorian calendar for all dates (Bug#12633).
1720 It also uses January 1, 1 AD as its day number 1.
310e60d9 1721 * calc/calc-forms.el (math-julian-date-beginning)
6f6b82d6 1722 (math-julian-date-beginning-int): Implement this.
310e60d9 1723
d7fe6352
JB
17242012-11-17 Juanma Barranquero <lekktu@gmail.com>
1725
1726 * descr-text.el (quail-find-key):
1727 * dired.el (desktop-file-name):
1728 * dirtrack.el (shell-prefixed-directory-name, shell-process-cd):
1729 * generic-x.el (comint-mode, comint-exec):
1730 * image-dired.el (widget-forward):
1731 * info.el (speedbar-add-expansion-list, speedbar-center-buffer-smartly)
1732 (speedbar-change-expand-button-char)
1733 (speedbar-change-initial-expansion-list, speedbar-delete-subblock)
1734 (speedbar-make-specialized-keymap, speedbar-make-tag-line):
1735 * printing.el (easy-menu-add-item, easy-menu-remove-item)
1736 (widget-field-action, widget-value-set):
1737 * speedbar.el (imenu--make-index-alist):
1738 * term.el (ring-empty-p, ring-ref, ring-insert-at-beginning)
1739 (ring-length, ring-insert):
1740 * vcursor.el (compare-windows-skip-whitespace):
1741 * woman.el (dired-get-filename):
1742 Declare functions.
1743
1744 * term/w32-win.el (cygwin-convert-path-from-windows): Fix declaration.
1745
c9f618db
JB
17462012-11-17 Jay Belanger <jay.p.belanger@gmail.com>
1747
1748 * calc/calc.el (calc-gregorian-switch): New variable.
1749
1750 * calc/calc-forms.el (math-day-in-year, math-dt-before-p)
1751 (math-absolute-from-gregorian-dt, math-absolute-from-julian-dt)
1752 (math-date-to-julian-dt, math-date-to-gregorian-dt): New functions.
1753 (math-leap-year-p): Add option to distinguish between Julian
1754 and Gregorian calendars.
1755 (math-day-number): Use `math-day-in-year' to do the computations.
1756 (math-absolute-from-dt): Rename from `math-absolute-from-date'.
1757 Use `math-absolute-from-gregorian' and `math-absolute-from-julian'
1758 to do the computations.
1759 (math-date-to-dt): Use `math-date-to-julian-dt' and
1760 `math-date-to-gregorian-dt' to do the computations.
1761 (calcFunc-weekday, math-format-date-part): Use the new version of
1762 the DATE to determine the weekday.
1763 (calcFunc-newmonth, calcFunc-newyear): Use `calc-gregorian-switch'
1764 when necessary.
1765
3804f7bc
EZ
17662012-11-17 Eli Zaretskii <eliz@gnu.org>
1767
1768 * term/w32-win.el (w32-handle-dropped-file): Use 'file://' only on
1769 Cygwin; otherwise use 'file:'. (Bug#12914)
1770 (cygwin-convert-path-from-windows): Declare, to avoid
1771 byte-compiler warnings.
1772
de959d4d
AP
17732012-11-17 Andreas Politz <politza@fh-trier.de>
1774
1775 * ibuffer.el (ibuffer-mark-forward, ibuffer-unmark-forward)
1776 (ibuffer-unmark-backward, ibuffer-mark-interactive): Support plain
1777 prefix and negative numeric prefix args (Bug#12795).
1778
e45deaef
SB
17792012-11-17 Stephen Berman <stephen.berman@gmx.net>
1780
1781 * play/gamegrid.el (gamegrid-add-score-with-update-game-score-1):
1782 Don't signal an error with a score that is too low to add to the
1783 list of top scores. (Bug#12779)
1784
ec15e0ff
CY
17852012-11-17 Chong Yidong <cyd@gnu.org>
1786
8e7696a1
CY
1787 * help-mode.el (help-xref-interned): End on point-min (Bug#12737).
1788
ec15e0ff
CY
1789 * filecache.el (file-cache-add-file): Handle relative file name in
1790 the argument (Bug#12694).
1791
60c4ee66
JH
17922012-11-16 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
1793
1794 * eshell/em-unix.el (eshell/mkdir): Handle "--parents" (bug#12897).
1795
cdc5d88c
SM
17962012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
1797
dd0c5bbb
SM
1798 * emacs-lisp/advice.el (ad-make-advised-definition): Improve last fix.
1799
cdc5d88c
SM
1800 * emacs-lisp/cl-lib.el: Set more meaningful version number.
1801
0ff7851c
MR
18022012-11-16 Martin Rudalics <rudalics@gmx.at>
1803
1804 * window.el (enlarge-window, shrink-window): Don't mention return
1805 value in doc-string (Bug#12896).
1806 (window--display-buffer): Don't resize frames - it won't work
1807 with all window managers and defeat pop-up-frame-alist.
1808 (display-buffer-alist): In doc-string explain that CONDITION can
1809 be a function and which arguments are passed to it (Bug#12854).
1810 (display-buffer-assq-regexp): New argument ACTION. Handle lambda
1811 expressions (Bug#12854).
1812 (display-buffer): Pass ACTION argument to
1813 display-buffer-assq-regexp.
1814
dedd1884
GM
18152012-11-16 Glenn Morris <rgm@gnu.org>
1816
7c82753d
GM
1817 * window.el (fit-frame-to-buffer-bottom-margin)
1818 (fit-frame-to-buffer, fit-window-to-buffer): Doc fixes.
1819
dedd1884
GM
1820 * faces.el (face-underline-p): Use face-attribute-specified-or.
1821
96e05507 18222012-11-16 Juanma Barranquero <lekktu@gmail.com>
662b0ee6
JB
1823
1824 * emacs-lisp/cl-macs.el (cl-loop, cl-do, cl-do*): Doc fixes.
1825
96e05507 18262012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
eb31fa40
SM
1827
1828 * emacs-lisp/cl-macs.el (cl-flet, cl-flet*): Fix docstring (bug#12895).
1829
96e05507 18302012-11-16 Glenn Morris <rgm@gnu.org>
e2e13f18 1831
17c083ac
GM
1832 * eshell/em-cmpl.el (eshell-pcomplete): New command. (Bug#12838)
1833 (eshell-cmpl-initialize): Bind eshell-pcomplete to TAB, C-i.
1834
bde3c6c0
GM
1835 * faces.el (face-underline-p): Doc fix. Handle :underline being
1836 things other than `t' (a string, a list).
1837 (face-inverse-video-p): Doc fix.
1838 (set-face-underline): Rename it back from set-face-underline-p.
1839 Doc fix. Allow interactive input of values other than t.
1840 (read-face-attribute): Apply formatting to :underline,
1841 since like :box and :stipple it can take list values.
1842
e2e13f18
GM
1843 * term.el (ansi-term): Don't let C-x escape-char binding
1844 clobber the more standard C-c binding. (Bug#12842)
1845
e0ea8060
GM
1846 * subr.el (set-temporary-overlay-map): Doc fix.
1847
96e05507 18482012-11-16 Martin Rudalics <rudalics@gmx.at>
92346275
MR
1849
1850 * window.el (record-window-buffer)
1851 (display-buffer-record-window): When copying the markers to
1852 window-point preserve window-point-insertion-type. (Bug#12588)
1853
96e05507 18542012-11-16 Glenn Morris <rgm@gnu.org>
7b1bf173
GM
1855
1856 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
1857 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error):
1858 Use new names for hooks rather than obsolete aliases.
1859
faeafc01
DC
18602012-11-15 Daniel Colascione <dancol@dancol.org>
1861
1862 * term/w32-win.el (w32-handle-dropped-file): Use a "file://"
9533048d
DC
1863 prefix instead of "file:" so that when FILE-NAME begins with "//",
1864 as it does when the target file is on a network share, url-handler
1865 isn't confused.
1866
1232d6c2
SM
18672012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
1868
1869 * emacs-lisp/advice.el (ad-definition-type): Make sure we don't use
1870 a preactivated advice from an old advice.el; they're not compatible!
1871
47f01a8a
KY
18722012-11-15 Katsumi Yamaoka <yamaoka@jpl.org>
1873
1874 * emacs-lisp/nadvice.el (advice--make-interactive-form):
1875 Fix string-spec case.
1876
1877 * emacs-lisp/advice.el (ad-make-advised-definition): Fix undefined case.
1878
a61428c4
SM
18792012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
1880
1881 * emacs-lisp/nadvice.el: Add buffer-local support to add-function.
1882 (advice--buffer-local-function-sample): New var.
1883 (advice--set-buffer-local, advice--buffer-local): New functions.
1884 (add-function, remove-function): Use them.
1885
875ce3a7
DA
18862012-11-15 Drew Adams <drew.adams@oracle.com>
1887
1888 * imenu.el (imenu--split-submenus): Use imenu--subalist-p (bug#12717).
1889
589fc479
SM
18902012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
1891
1892 * emacs-lisp/cl-macs.el (cl--transform-lambda): Defend against
1893 potential binding of print-gensym to t, and prettify (back)quotes in
1894 case they appear in args's default values (bug#12884).
1895
1668ea90
SM
18962012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1897
1898 * emacs-lisp/nadvice.el: Add around advice for interactive specs.
1899 (advice-eval-interactive-spec): New function.
1900 (advice--make-interactive-form): Support around advice (bug#12844).
1901
8619323f
DG
19022012-11-14 Dmitry Gutov <dgutov@yandex.ru>
1903
1904 * progmodes/ruby-mode.el (ruby-expr-beg): Make heredoc detection
1905 more strict. Add docstring.
c62792e7
DG
1906 (ruby-expression-expansion-re): Extract from
1907 `ruby-match-expression-expansion'.
1908 (ruby-syntax-propertize-function): After everything else, search
1909 for expansions in string literals, mark their insides as
1910 whitespace syntax and save match data for font-lock.
1911 (ruby-font-lock-keywords): Use the 2nd group from expression
1912 expansion matches.
1913 (ruby-match-expression-expansion): Use the match data saved to the
1914 text property in ruby-syntax-propertize-function.
8619323f 1915
9c3912d3
SM
19162012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1917
1918 * emacs-lisp/gv.el (setf): Fix debug spec for multiple assignments
1919 (bug#12879).
1920
5e9419e8
DG
19212012-11-13 Dmitry Gutov <dgutov@yandex.ru>
1922
1923 * progmodes/ruby-mode.el (ruby-move-to-block): Looks for a block
1924 start/end keyword a bit harder. Works with different values of N.
1925 Add more comments.
1926 (ruby-end-of-block): Update accordingly.
1927
3c442f8b
SM
19282012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
1929
fa470af0
SM
1930 * woman.el (woman-file-name): Don't mess with unread-command-events
1931 (bug#12861).
1932
3c442f8b
SM
1933 * emacs-lisp/advice.el: Layer on top of nadvice.el.
1934 Remove out of date self-require hack.
1935 (ad-do-advised-functions): Use simple `dolist'.
1936 (ad-advice-name, ad-advice-protected, ad-advice-enabled)
1937 (ad-advice-definition): Redefine as functions.
1938 (ad-advice-classes): Move before first use.
1939 (ad-make-origname, ad-set-orig-definition, ad-clear-orig-definition)
fa470af0 1940 (ad-make-mapped-call, ad-make-advised-docstring,ad-make-plain-docstring)
3c442f8b 1941 (ad--defalias-fset): Remove functions.
fa470af0 1942 (ad-make-advicefunname, ad-clear-advicefunname-definition): New funs.
3c442f8b
SM
1943 (ad-get-orig-definition): Rewrite.
1944 (ad-make-advised-definition-docstring): Change base docstring.
1945 (ad-real-orig-definition): Rewrite.
1946 (ad-map-arglists): Change name of called function.
1947 (ad--make-advised-docstring): Redirect `function' from ad-Advice-...
1948 (ad-make-advised-definition): Simplify.
1949 (ad-assemble-advised-definition): Tweak for new calling context.
fa470af0 1950 (ad-activate-advised-definition): Setup ad-Advice-* i.s.o ad-Orig-*.
3c442f8b
SM
1951 (ad--defalias-fset): Rename from ad-handle-definition. Make it set the
1952 function and call ad-activate if needed.
1953 (ad-activate, ad-deactivate): Don't call ad-handle-definition any more.
1954 (ad-recover): Clear ad-Advice-* instead of ad-Orig-*.
1955 (ad-compile-function): Compile ad-Advice-*.
1956 (ad-activate-on-top-level, ad-with-auto-activation-disabled): Remove.
1957 (ad-start-advice, ad-stop-advice): Remove.
1958
5745cae6
DG
19592012-11-13 Dmitry Gutov <dgutov@yandex.ru>
1960
1961 * progmodes/ruby-mode.el (ruby-add-log-current-method): Print the
1962 period before class method names, not after. Remove handling of
1963 one impossible case. Add comments.
1964
413d4689
SM
19652012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
1966
7db1bda8
SM
1967 * emacs-lisp/advice.el: Remove support for freezing.
1968 (ad-make-freeze-docstring, ad-make-freeze-definition): Remove functions.
1969 (ad-make-single-advice-docstring, ad-defadvice-flags, defadvice):
1970 Remove support for `freeze'.
1971
413d4689
SM
1972 * emacs-lisp/cl.el (dolist, dotimes, declare): Use advice-add to
1973 override the default.
1974 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Rewrite without using
1975 cl--dotimes/dolist.
1976 * subr.el (dolist, dotimes, declare): Redefine them normally, even when
1977 `cl' is loaded.
1978
1979 * emacs-lisp/nadvice.el (advice--normalize): New function, extracted
1980 from add-advice.
1981 (advice--strip-macro): New function.
1982 (advice--defalias-fset): Use them to handle macros.
1983 (advice-add): Use them.
1984 (advice-member-p): Correctly handle macros.
1985
f178c32d
DG
19862012-11-13 Dmitry Gutov <dgutov@yandex.ru>
1987
7db1bda8
SM
1988 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
1989 Never font-lock the beginning of singleton class as heredoc.
f178c32d 1990
f78ee6af 19912012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
f8705f6e
SM
1992
1993 * emacs-lisp/gv.el (gv-define-simple-setter): One more fix (bug#12871).
1994
f78ee6af 19952012-11-13 Wolfgang Jenkner <wjenkner@inode.at>
9db94175
WJ
1996
1997 * ansi-color.el (ansi-color-apply-sequence): Implement SGR codes
f78ee6af
GM
1998 39 and 49 (bug#12792). Also, treat unimplemented parameters as 0,
1999 thereby restoring the behavior of revisions prior to 2012-08-15T03:33:55Z!monnier@iro.umontreal.ca.
9db94175 2000
f78ee6af 20012012-11-13 Fabián Ezequiel Gallina <fgallina@cuca>
2e6625b5
FEG
2002
2003 Fix end-of-defun misbehavior.
2004 * progmodes/python.el (python-nav-beginning-of-defun): Rename from
2005 python-beginning-of-defun-function. Handle nested defuns
2006 correctly.
2007 (python-nav-end-of-defun): Rename from
2008 python-end-of-defun-function. Ensure forward movement.
f8705f6e 2009 (python-info-current-defun): Reimplement to work as intended
2e6625b5
FEG
2010 with new fixed python-nav-{end,beginning}-of-defun. Stop scanning
2011 parent defuns as soon as possible.
2012
f78ee6af 20132012-11-13 Glenn Morris <rgm@gnu.org>
24c38527
GM
2014
2015 * progmodes/flymake.el (flymake-error-bitmap)
2016 (flymake-warning-bitmap, flymake-fringe-indicator-position): Doc fixes.
2017 (flymake-error-bitmap, flymake-warning-bitmap): Fix :types.
2018
f78ee6af 20192012-11-13 Dmitry Gutov <dgutov@yandex.ru>
d1e1e53d
DG
2020
2021 * progmodes/ruby-mode.el (ruby-move-to-block): When moving
2022 backward, always stop at indentation. Reverts the change from
2023 2012-08-12T22:06:56Z!monnier@iro.umontreal.ca (Bug#12851).
2024
f78ee6af 20252012-11-13 Glenn Morris <rgm@gnu.org>
68146aa5 2026
a1d3e07e
GM
2027 * ibuffer.el (ibuffer-mode-map, ibuffer-mode):
2028 Add ibuffer-filter-by-derived-mode.
2029
84acf328
GM
2030 * ibuffer.el (ibuffer-mode-map): Don't have two menu items with
2031 the same name shadowing each other.
2032
38785e75
GM
2033 * window.el (with-temp-buffer-window): Doc tweak.
2034
57fc0fee
GM
2035 * emacs-lisp/debug.el (debugger-bury-or-kill): Doc tweak.
2036
6ba6a3e5
GM
2037 * help.el (temp-buffer-max-height):
2038 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-bottom-margin):
68146aa5
GM
2039 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix :version.
2040
231d8498
SM
20412012-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
2042
2043 * emacs-lisp/nadvice.el: New package.
2044 * subr.el (special-form-p): New function.
2045 * emacs-lisp/elp.el: Use lexical-binding and advice-add.
2046 (elp-all-instrumented-list): Remove var.
2047 (elp-not-profilable): Remove elp-wrapper.
2048 (elp-profilable-p): Use autoloadp and special-form-p.
2049 (elp--advice-name): New const.
2050 (elp-instrument-function): Use advice-add.
2051 (elp--instrumented-p): New predicate.
2052 (elp-restore-function): Use advice-remove.
2053 (elp-restore-all, elp-reset-all): Use mapatoms.
2054 (elp-set-master): Use elp--instrumented-p.
2055 (elp--make-wrapper): Rename from elp-wrapper, return a function
2056 suitable for advice-add. Use cl-inf.
2057 (elp-results): Use mapatoms+elp--instrumented-p.
2058 * emacs-lisp/debug.el: Use lexical-binding and advice-add.
2059 (debug-function-list): Remove var.
2060 (debug): Rename arg, and then let-bind it explicitly inside.
2061 (debugger-setup-buffer): Rename arg.
2062 (debugger-setup-buffer): Adjust counts to new debug-on-entry setup.
2063 (debugger-frame-number): Adjust to new debug-on-entry setup.
2064 (debug--implement-debug-on-entry): Rename from
2065 implement-debug-on-entry, add argument.
2066 (debugger-special-form-p): Remove, use special-form-p instead.
2067 (debug-on-entry): Use advice-add.
2068 (debug--function-list): New function.
2069 (cancel-debug-on-entry): Use it, along with advice-remove.
2070 (debug-arglist, debug-convert-byte-code, debug-on-entry-1): Remove.
2071 (debugger-list-functions): Use debug--function-list instead of
2072 debug-function-list.
2073 * emacs-lisp/advice.el (ad-save-real-definition): Remove, unused.
2074 (ad-special-form-p): Remove, use special-form-p instead.
2075 (ad-set-advice-info): Use add-function and remove-function.
2076 (ad--defalias-fset): Adjust accordingly.
2077
19e09879
GM
20782012-11-10 Glenn Morris <rgm@gnu.org>
2079
714cebd1
GM
2080 * mail/emacsbug.el (report-emacs-bug-tracker-url)
2081 (report-emacs-bug-bug-alist, report-emacs-bug-choice-widget)
2082 (report-emacs-bug-create-existing-bugs-buffer)
2083 (report-emacs-bug-parse-query-results)
2084 (report-emacs-bug-query-existing-bugs): Remove. (Bug#7449)
2085
bf67dafa
GM
2086 * term.el (term-default-fg-color, term-default-bg-color):
2087 Make obsolete, rather than just saying "deprecated" in the doc.
2088
19e09879
GM
2089 * term.el (term): Rename from `term-face'.
2090 (term-current-face, ansi-term-color-vector)
2091 (term-default-fg-color, term-default-bg-color, term-ansi-reset):
2092 Update all users.
2093
6baf66d5 20942012-11-10 Jan Djärv <jan.h.d@swipnet.se>
531bdce6
JD
2095
2096 * server.el (server-create-window-system-frame): Handle Nextstep
2097 specially (Bug#12780).
2098
6baf66d5 20992012-11-10 Glenn Morris <rgm@gnu.org>
fedb154e
GM
2100
2101 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
2102 Unautoload, and make obsolete. (Bug#7449)
2103
6baf66d5 21042012-11-10 Chong Yidong <cyd@gnu.org>
9d9e48d9
CY
2105
2106 * vc/diff-mode.el (diff-delete-trailing-whitespace): Rewrite, and
2107 rename from diff-remove-trailing-whitespace (Bug#12831).
2108
6baf66d5 21092012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
32170f7f
SM
2110
2111 * emacs-lisp/advice.el: Require `cl-lib' at run-time to fix
2112 miscompilation of trace.el.
2113
6baf66d5 21142012-11-10 Glenn Morris <rgm@gnu.org>
26f59676
GM
2115
2116 * vc/diff-mode.el (diff-remove-trailing-whitespace): Doc fix.
2117
6baf66d5 21182012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
41626722
SM
2119
2120 * emacs-lisp/gv.el (gv-define-simple-setter): Fix last change
2121 (bug#12812).
2122
6baf66d5 21232012-11-10 Chong Yidong <cyd@gnu.org>
7d806bfe
CY
2124
2125 * minibuf-eldef.el (minibuffer-eldef-shorten-default): Convert to
2126 a defcustom with an appropriate :set function.
2127 (minibuffer-default--in-prompt-regexps): New function.
2128
6baf66d5 21292012-11-10 Glenn Morris <rgm@gnu.org>
2ee1d59f 2130
031b2ea7
GM
2131 * emacs-lisp/cl.el (define-setf-expander, defsetf)
2132 (define-modify-macro): Doc fixes.
2133
2ee1d59f
GM
2134 * emacs-lisp/gv.el (gv-letplace): Fix doc typo.
2135 (gv-define-simple-setter): Update doc of `fix-return'.
2136
6baf66d5 21372012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
d57c286e 2138
b715ed44
SM
2139 * emacs-lisp/gv.el (gv-define-simple-setter): Don't evaluate `val'
2140 twice when `fix-return' is set (bug#12813).
2141
d57c286e
SM
2142 * emacs-lisp/cl.el (defsetf): Pass the third arg to
2143 gv-define-simple-setter (bug#12812).
2144
c9cac599
SM
2145 * woman.el (woman-decode-region): Disable adaptive-fill when rendering
2146 (bug#12756).
2147
6baf66d5 21482012-11-10 Glenn Morris <rgm@gnu.org>
6b3770fb
GM
2149
2150 * emacs-lisp/gv.el (gv-define-setter): Fix doc typo.
2151
5593ed90
GM
2152 * emacs-lisp/cl-extra.el (cl-prettyexpand):
2153 * emacs-lisp/cl-lib.el (cl-proclaim, cl-declaim):
2154 * emacs-lisp/cl-macs.el (cl-destructuring-bind, cl-locally)
2155 (cl-the, cl-compiler-macroexpand): Add basic doc strings.
2156
2157 * emacs-lisp/cl-extra.el (cl-maplist, cl-mapcan): Doc fix.
2158
05a859c1
LL
21592012-11-10 Leo Liu <sdl.web@gmail.com>
2160
2161 * ido.el (ido-set-matches-1): Improve flex matching performance by
2162 removing backtracking in the regexp (suggested by Stefan). (Bug#12796)
2163
32e5c58c
SM
21642012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
2165
2166 * emacs-lisp/advice.el (ad-set-advice-info): Set defalias-fset-function.
2167 (ad--defalias-fset): New function.
2168 (ad-safe-fset): Remove.
2169 (ad-make-freeze-definition): Use cl-letf*.
2170
f5925cd9
SM
21712012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
2172
da03ef8a
SM
2173 * subr.el (dolist): Don't bind VAR in RESULT.
2174
6858633a
SM
2175 * emacs-lisp/advice.el: Miscellaneous cleanup. Use lexical-binding.
2176 (fset, documentation): Don't save real def since we don't advise.
2177 (ad-do-advised-functions): Remove problematic `result-form'.
2178 (ad-safe-fset): `ad-real-fset' => `fset'.
2179 (ad-read-advised-function): Don't assume that ad-do-advised-functions
2180 uses CL's dolist internally.
2181 (ad-arglist): Remove unused arg `name'.
2182 (ad-docstring, ad-make-advised-docstring):
2183 `ad-real-documentation' => `documentation'.
2184 (warning-suppress-types): Declare.
2185 (ad-set-arguments): Simple CSE.
2186 (ad-recover-normality): Sanity check.
2187
f5925cd9
SM
2188 * emacs-lisp/bytecomp.el (byte-compile-out-toplevel): Don't turn
2189 (funcall '(lambda ..) ..) into ((lambda ..) ..).
2190
93a66b3a
VB
21912012-11-09 Vincent Belaïche <vincentb1@users.sourceforge.net>
2192
2193 * ses.el: symbol to coordinate mapping is made by symbol property
f5925cd9
SM
2194 `ses-cell'. This means that the same mapping is done for all SES
2195 sheets. That is good enough for cells with standard A1 names, but
2196 not for named cell. So a hash map is added for the latter.
2197 (defconst ses-localvars): Add local variable ses--named-cell-hashmap
93a66b3a
VB
2198 (ses-sym-rowcol): Use hashmap for named cell.
2199 (ses-is-cell-sym-p): New defun.
2200 (ses-decode-cell-symbol): New defun.
f5925cd9
SM
2201 (ses-create-cell-variable): Add cell to hashmap when name is not
2202 A1-like.
93a66b3a
VB
2203 (ses-rename-cell): Check that cell new name is not already in
2204 spreadsheet with the use of ses-is-cell-sym-p
2205 (ses-rename-cell): Use hash map for named cells, but accept also
2206 renaming back to A1-like.
2207
67dd8ad1
SM
22082012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
2209
57618ecf
SM
2210 * emacs-lisp/advice.el: Use new dynamic docstrings.
2211 (ad-make-advised-definition-docstring, ad-advised-definition-p):
2212 Use dynamic-docstring-function instead of ad-advice-info.
2213 (ad--make-advised-docstring): New function extracted from
2214 ad-make-advised-docstring.
2215 (ad-make-advised-docstring): Use it.
2216 * progmodes/sql.el (sql--make-help-docstring): New function, extracted
2217 from sql-help.
2218 (sql-help): Use it with dynamic-docstring-function.
2219
67dd8ad1
SM
2220 * env.el (env--substitute-vars-regexp): Don't use rx (for bootstrap).
2221
be883b34
SM
22222012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
2223
d41706aa
SM
2224 * files.el (hack-one-local-variable--obsolete): New function.
2225 (hack-one-local-variable): Use it for obsolete settings.
2226
85e55412
SM
2227 * subr.el (locate-user-emacs-file): If both old and new name exist, use
2228 the new name.
2229
be883b34
SM
2230 * progmodes/js.el (js--filling-paragraph): New var.
2231 (c-forward-sws, c-backward-sws, c-beginning-of-macro): Advise.
2232 (js-c-fill-paragraph): Prefer advice to cl-letf so the rebinding is
2233 less sneaky.
2234
cabc040a
JD
22352012-11-08 Julien Danjou <julien@danjou.info>
2236
2237 * progmodes/ruby-mode.el (auto-mode-alist): Add Rakefile in
2238 `auto-mode-alist' (Bug#12835).
2239
d14bb752
SM
22402012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
2241
79b3e376
SM
2242 * progmodes/perl-mode.el (perl-prettify-symbols): New defcustom.
2243 (perl--prettify-symbols-alist): New const.
2244 (perl--font-lock-compose-symbol, perl--font-lock-symbols-keywords):
2245 New functions.
2246 (perl-font-lock-keywords-2): Use them.
2247 (perl-electric-noindent-p): New function.
2248 (perl-mode): Use it to set up electric-indent-mode.
2249 (perl-electric-terminator, perl-indent-command): Mark obsolete.
2250 (perl-mode-map): Remove bindings for them.
2251 (perl-imenu-generic-expression, perl-outline-level):
2252 Match functions&packages in column>0.
2253
3b11e6ac
SM
2254 * env.el (env--substitute-vars-regexp): New const.
2255 (substitute-env-vars): Use it. Add `only-defined' arg.
2256 * net/tramp.el (tramp-replace-environment-variables): Use it.
2257
784c1a7b
SM
2258 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
2259 Byte-compile *before* eval in eval-and-compile.
2260 (byte-compile-log-warning): Remove redundant inhibit-read-only.
2261 (byte-compile-file-form-autoload): Don't hide actual definition.
2262 (byte-compile-maybe-guarded): Accept `functionp' as well.
2263
d14bb752
SM
2264 * emacs-lisp/gv.el (gv-ref, gv-deref): New function and macro.
2265
499a0f7a
MA
22662012-11-07 Michael Albinus <michael.albinus@gmx.de>
2267
2268 * notifications.el (notifications-get-server-information-method):
2269 New defconst.
2270 (notifications-get-capabilities): Fix docstring.
2271 (notifications-get-server-information): New defun.
2272
f0704a9a
AM
22732012-11-06 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2274
2275 * textmodes/ispell.el (ispell-region): Standard re-indent for better
2276 readability.
2277
b159a1fd
AM
2278 * textmodes/ispell.el: Experimental support for support debugging.
2279 (ispell-create-debug-buffer): Create a `ispell-debug-buffer' debug
2280 buffer for ispell.
2281 (ispell-print-if-debug): New function to print stuff to
2282 `ispell-debug-buffer' if debugging is enabled.
2283 (ispell-region, ispell-process-line): Use `ispell-print-if-debug' to
2284 show some debugging info.
2285 (ispell-buffer-with-debug): New function that creates a debugging
2286 buffer and calls `ispell-buffer' with debugging enabled.
2287
056cb3a1
AM
2288 * textmodes/ispell.el (ispell-region): Do not prefix sent string by
2289 comment in autoconf mode. (Bug#12768)
2290
8e6a67b7
DA
22912012-11-06 Dmitry Antipov <dmantipov@yandex.ru>
2292
2293 * emacs-lisp/byte-opt.el (toplevel): Add compare-window-configurations,
2294 frame-first-window, frame-root-window, frame-selected-window,
2295 minibuffer-selected-window, minibuffer-window,
2296 window-absolute-pixel-edges, window-at, window-body-height,
2297 window-body-width, window-display-table, window-combination-limit,
2298 window-frame, window-fringes, window-inside-absolute-pixel-edges,
2299 window-inside-edges, window-inside-pixel-edges, window-left-child,
2300 window-left-column, window-margins, window-next-buffers,
2301 window-next-sibling, window-new-normal, window-new-total,
2302 window-normal-size, window-parameter, window-parameters, window-parent,
2303 window-pixel-edges, window-point, window-prev-buffers,
2304 window-prev-sibling, window-redisplay-end-trigger, window-scroll-bars,
2305 window-start, window-text-height, window-top-child, window-top-line,
2306 window-total-height, window-total-width and window-use-time to the list
2307 of functions without side-effects.
2308 (toplevel): Add window-valid-p to the list of error-free functions
2309 without side-effects.
2310
53fc914f
AM
23112012-11-05 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2312
f5925cd9
SM
2313 * textmodes/ispell.el (ispell-program-name):
2314 Update spellchecker parameters when customized.
53fc914f 2315
9749e2b0
GM
23162012-11-04 Glenn Morris <rgm@gnu.org>
2317
2318 * vc/vc-svn.el (vc-svn-state-heuristic): Avoid calling svn. (Bug#7850)
2319
2cbafa56
CY
23202012-11-04 Chong Yidong <cyd@gnu.org>
2321
2322 * bookmark.el (bookmark-bmenu-switch-other-window): Avoid binding
2323 same-window-* variables.
2324
85178ca1
JL
23252012-11-04 Juri Linkov <juri@jurta.org>
2326
2327 * isearch.el (isearch-help-for-help, isearch-describe-bindings)
2328 (isearch-describe-key, isearch-describe-mode): Use a display
2329 action instead of binding same-window-* variables (Bug#10040).
2330
5c677d44
GM
23312012-11-03 Glenn Morris <rgm@gnu.org>
2332
49138400
GM
2333 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
2334 Rename handler properties back from cl-- to cl-. (Bug#12788)
2335
5c677d44
GM
2336 * emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string.
2337
1d4341f9
EZ
23382012-11-03 Eli Zaretskii <eliz@gnu.org>
2339
2340 * term/pc-win.el: Don't load term/internal from here.
2341
2342 * loadup.el: Load term/internal from here.
2343
12fd5ee1
FEG
23442012-11-03 Fabián Ezequiel Gallina <fgallina@cuca>
2345
2346 * progmodes/python.el (inferior-python-mode): Fix hang in
2347 jit-lock (Bug#12645).
2348
43bcfda6
MR
23492012-11-03 Martin Rudalics <rudalics@gmx.at>
2350
2351 * window.el (switch-to-visible-buffer)
2352 (switch-to-buffer-preserve-window-point): Fix doc-strings.
2353
376a8e83
GM
23542012-11-03 Glenn Morris <rgm@gnu.org>
2355
2356 * emacs-lisp/cl-lib.el (cl--random-time):
2357 Rename from cl-random-time. (Bug#12773)
2358 (cl--gensym-counter, cl--random-state): Update callers.
2359 * emacs-lisp/cl-extra.el (cl-make-random-state): Update callers.
2360
0f7b074f
CY
23612012-11-03 Chong Yidong <cyd@gnu.org>
2362
2363 * cus-start.el: Make cursor-type customizable (Bug#11633).
2364
3a6851d9
GM
23652012-11-02 Glenn Morris <rgm@gnu.org>
2366
00a3b041
GM
2367 * filecache.el: No need to load find-lisp when compiling.
2368 (find-lisp-find-files): Autoload it.
2369 (file-cache-add-directory-recursively): Don't require find-lisp.
2370
11fef14a
GM
2371 * image.el (image-type-from-file-name): Trivial simplification.
2372
3a6851d9
GM
2373 * emacs-lisp/bytecomp.el (byte-compile-eval):
2374 Decouple "noruntime" and "cl-functions" warnings.
2375
b4b096e4
SB
23762012-11-01 Stephen Berman <stephen.berman@gmx.net>
2377
2378 * play/gomoku.el (gomoku-display-statistics): Update mode line
2379 only if in Gomoku buffer; don't capitalize "won" (Bug#12771).
2380
218e997a
MR
23812012-10-31 Martin Rudalics <rudalics@gmx.at>
2382
2383 * window.el (quit-restore-window): If the window has been
2384 created on an existing frame and ended up as the sole window on
2385 that frame, do not delete it (Bug#12764).
2386
b08b6da7
SM
23872012-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
2388
3618df45
SM
2389 * progmodes/sh-script.el (sh--inside-noncommand-expression):
2390 Rename from sh--inside-arithmetic-expression, handle more cases
2391 (bug#11263).
2392
b08b6da7
SM
2393 * progmodes/sh-script.el (sh--inside-arithmetic-expression): New func.
2394 (sh-font-lock-open-heredoc): Use it (bug#12770).
2395
4ddedf94
GM
23962012-10-30 Glenn Morris <rgm@gnu.org>
2397
f43a5263
GM
2398 * emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie. Doc fix.
2399
4ddedf94
GM
2400 * emacs-lisp/cl.el (letf): Doc fix. (Bug#12760)
2401
748b0d84
CY
24022012-10-29 Chong Yidong <cyd@gnu.org>
2403
b5dd9a77
CY
2404 * isearch.el (isearch-other-meta-char): Ensure that a reprocessed
2405 function key is stored in a keyboard macro (Bug#4894).
2406
748b0d84
CY
2407 * thingatpt.el (number-at-point): Apply a thing-at-point property.
2408
e07fcbdc
SM
24092012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
2410
d7f9cc85
SM
2411 * vc/diff-mode.el (diff-context->unified): Don't get confused by "hunk
2412 header comments".
2413 (diff-unified->context, diff-context->unified)
2414 (diff-reverse-direction, diff-fixup-modifs): Use `use-region-p'.
2415
c606253c
SM
2416 * emacs-lisp/cl.el (letf): Add missing indent rules (bug#12759).
2417
e07fcbdc
SM
2418 * files.el (find-alternate-file): Only ask one question (bug#12487).
2419
894b9dd9
CY
24202012-10-29 Chong Yidong <cyd@gnu.org>
2421
1dc2755a
CY
2422 * vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
2423 Suggested by Dan Nicolaescu (Bug#6326).
2424
329c48d8
CY
2425 * info.el (Info-complete-menu-item): Avoid duplicates (Bug#12705).
2426
2230fa5b 2427 * startup.el (fancy-about-screen): Don't message (Bug#12680).
5c2f2631 2428
e84cad57
CY
2429 * thingatpt.el (thing-at-point): Doc fix (Bug#12691).
2430
1913c5f5
CY
2431 * imenu.el (imenu): Inhibit push-mark message (Bug#12726).
2432
894b9dd9
CY
2433 * face-remap.el (face-remap-add-relative): Handle the case where a
2434 face-remapping-alist entry is a cons cell (Bug#12762).
2435
329c48d8
CY
24362012-10-29 Kevin Ryde <user42@zip.com.au>
2437
2438 * woman.el (woman-parse-numeric-value): Handle picas correctly
2439 (Bug#12639).
2440
a0ccbcbd
GM
24412012-10-29 Glenn Morris <rgm@gnu.org>
2442
2443 * emacs-lisp/cl.el (defsetf): Doc fix.
2444
b3871e59
SM
24452012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
2446
2447 * progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation
2448 syntax to the matching opener, if any (bug#12547).
2449 (sh-smie-sh-forward-token, sh-smie-sh-backward-token): Recognize this
2450 matching open as a "case-(".
2451 (sh-smie-rc-grammar): Add a corresponding rule for it.
2452
cd44022c
DH
24532012-10-28 Daniel Hackney <dan@haxney.org>
2454
2455 * emacs-lisp/package.el (package-generate-autoloads): Kill buffer
2456 "PKGNAME-autoloads.el" in case we created it.
2457
70edffb1
SM
24582012-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
2459
86957a0c
SM
2460 * minibuffer.el (completion--sifn-requote): Rewrite to handle things
2461 like Tramp's "/foo:~bar//baz" -> "/scpc:foo:/baz" mapping (bug#11714).
b9383404 2462 (completion--twq-all): Disable too-strict assertions.
86957a0c 2463
70edffb1
SM
2464 * tmm.el (tmm-prompt): Use map-keymap (bug#12744).
2465
d069271c
EZ
24662012-10-27 Eli Zaretskii <eliz@gnu.org>
2467
2468 * profiler.el (profiler-report-make-entry-part): Fix help-echo
2469 text to match the real keybindings.
2470
e2f022a3
JL
24712012-10-27 Juri Linkov <juri@jurta.org>
2472
2473 * wdired.el (wdired-keep-marker-rename): New defcustom.
2474 (wdired-do-renames): Use it instead of `dired-keep-marker-rename'.
2475 (Bug#11795)
2476
2477 * dired.el (dired-keep-marker-rename): Add reference to
2478 `wdired-keep-marker-rename' in the docstring.
2479 Add default character value ?R to display initially in
2480 Customization UI instead of ?@.
2481
df171c23
MR
24822012-10-27 Martin Rudalics <rudalics@gmx.at>
2483
2484 * window.el (display-buffer): In doc-string describe
2485 window-height and window-width alist entries.
2486
2487 * time.el (display-time-world): Restore fit-window-to-buffer
2488 behavior.
2489
05b621a6
CY
24902012-10-27 Chong Yidong <cyd@gnu.org>
2491
2492 * subr.el (insert-buffer-substring-as-yank): Doc fix.
2493
55f197b2
J
24942012-10-26 Jambunathan K <kjambunathan@gmail.com>
2495
2496 * minibuffer.el (completion-category-overrides): New completion
2497 category `bookmark' (bug#11131).
2498
372212df
SM
24992012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
2500
150f809c
SM
2501 * emacs-lisp/advice.el (ad-assemble-advised-definition):
2502 Silence bogus compiler warnings for ad-do-it.
2503
372212df
SM
2504 * bookmark.el (bookmark-completing-read): Set the completion category
2505 to `bookmark' (bug#11131).
2506
c5772569
B
25072012-10-26 Bastien <bzg@altern.org>
2508 Stefan Monnier <monnier@iro.umontreal.ca>
2509
2510 * face-remap.el: Use lexical-binding.
2511 (text-scale-adjust): Improve docstring. Use itself for the temporary
2512 overlay-map bindings, so as to repeat the "Use..." message each time.
2513
a2be0357
SM
25142012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
2515
63314e57
SM
2516 * emacs-lisp/macroexp.el (macroexp--expand-all):
2517 Obey byte-compile-warning-enabled-p (bug#12486).
2518
a2be0357
SM
2519 * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
2520 (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).
2521
8c7727c3
MR
25222012-10-26 Martin Rudalics <rudalics@gmx.at>
2523
2524 * mouse.el (mouse-drag-line): Move last form into preceding when
2525 clause (Bug#12731).
2526
2527 * help.el (resize-temp-buffer-window): Fix doc-string.
2528
3f2a848d
DE
25292012-10-25 David Engster <deng@randomsample.de>
2530
2531 * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
a2be0357 2532 Remove. This feature is already integrated in imenu.
3f2a848d
DE
2533
2534 * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
2535 always loaded. Require `speedbar' unconditionally.
2536
a7723be6
SM
25372012-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
2538
aaabfc8b
SM
2539 * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
2540
414a8595
SM
2541 * minibuffer.el (minibuffer-force-complete): Fix thinko.
2542
fb5b9475
SM
2543 * net/ldap.el (ldap-search-internal): The official ldif format starts
2544 with a "version: 1" header (bug#12724).
2545
a7723be6
SM
2546 * emacs-lisp/package.el (package-installed-p): Warn if not ready
2547 (bug#12721).
2548
a05cb6e3
GM
25492012-10-25 Glenn Morris <rgm@gnu.org>
2550
2551 * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
2552
3c92de70
SM
25532012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
2554
2555 * minibuffer.el (minibuffer-force-complete): Use one more marker
2556 for the temporary-overlay-map command (bug#12619).
2557
a4b6d7c6
CY
25582012-10-24 Chong Yidong <cyd@gnu.org>
2559
2560 * time.el (display-time-world-mode): Derive from special-mode.
2561 (display-time-world): Use display-buffer (Bug#12708).
2562 (display-time-world-mode-map): Variable deleted.
9321d8d7
CY
2563 (display-time-world-display): Wrap the final delete-char inside
2564 inhibit-read-only.
a4b6d7c6 2565
75e8f9d2
CY
25662012-10-24 Chong Yidong <cyd@gnu.org>
2567
cd996018
CY
2568 * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
2569 Doc fix.
2570
75e8f9d2
CY
2571 * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
2572
d92df117
SM
25732012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
2574
2575 * minibuffer.el (completion--all-sorted-completions-location): New var.
2576 (completion--cache-all-sorted-completions)
2577 (completion--flush-all-sorted-completions): Use it.
2578 (completion-in-region, completion-in-region--postch)
2579 (completion-at-point, completion-help-at-point): Use markers in
2580 completion-in-region--data (bug#12619).
2581
9c3e39f3
SM
25822012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
2583
c79825bd
SM
2584 * progmodes/compile.el (compilation-start): Try to handle common
2585 quoting of `cd' argument (bug#12640).
2586
9c3e39f3
SM
2587 * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
2588 (bug#12671).
2589
a6709bc7
GM
25902012-10-23 Glenn Morris <rgm@gnu.org>
2591
2592 * progmodes/gud.el (gud-menu-map):
2593 Check gdb-active-process is bound. (Bug#12358)
2594
d1069532
SM
25952012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
2596
d20d69c0
SM
2597 * repeat.el (repeat): Set real-this-command (bug#12232).
2598
d1069532
SM
2599 * htmlfontify.el (hfy-post-html-hook):
2600 * filesets.el (filesets-cache-fill-content-hook):
2601 * arc-mode.el (archive-extract-hook):
2602 * progmodes/cc-mode.el (c-prepare-bug-report-hook):
2603 * net/rcirc.el (rcirc-sentinel-functions)
2604 (rcirc-receive-message-functions, rcirc-activity-functions)
2605 (rcirc-print-functions):
2606 * net/dbus.el (dbus-event-error-functions):
2607 * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
2608 * emacs-lisp/checkdoc.el (checkdoc-style-functions)
2609 (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
2610 * term/sun.el (sun-raw-prefix-hooks):
2611 * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
2612
f7eac6d8
MA
26132012-10-23 Michael Albinus <michael.albinus@gmx.de>
2614
d1069532
SM
2615 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
2616 Set `tramp-chunksize' to 1. This improves the performance.
f7eac6d8
MA
2617 (tramp-smb-wait-for-output): Add timeout to
2618 `tramp-accept-process-output' calls.
2619
608d9d7c
CY
26202012-10-23 Chong Yidong <cyd@gnu.org>
2621
49238e7f
CY
2622 * faces.el (font-list-limit): Define as an obsolete variable.
2623
2624 * startup.el (command-line):
2625 * cus-start.el: Don't refer to font-list-limit.
2626
608d9d7c
CY
2627 * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
2628
4ff5b1b2
SM
26292012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
2630
2631 * subr.el (internal-temp-output-buffer-show): Rename from
2632 temp-output-buffer-show, since previously compiled files expect this name.
2633
ea1d4aac
GM
26342012-10-23 Glenn Morris <rgm@gnu.org>
2635
2636 * image.el (image-type-from-file-name): If multiple types match,
2637 return the first one that is supported. (Bug#9045)
2638
eda82a31
GM
26392012-10-22 Glenn Morris <rgm@gnu.org>
2640
2641 * image.el (imagemagick-enabled-types): Doc fix.
2642
4f020bec
TA
26432012-10-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
2644
2645 * progmodes/which-func.el (which-func-current): The hash-table may have
2646 an explicit nil (bug#12338).
2647
c77d37e2
SM
26482012-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
2649
2650 * electric.el (electric-pair-delete-selection-self-insert-function):
2651 Rename to electric-pair-will-use-region, return a boolean.
2652 (electric-pair-mode): Adjust accordingly. Don't require delsel.
2653
2654 * delsel.el (delete-selection-helper): Use a function instead of a hook.
2655 (delete-selection-pre-hook): Use use-region-p.
2656 (delete-selection-self-insert-function): Remove.
2657 (self-insert-command): Obey self-insert-uses-region-functions.
2658 (self-insert-iso): Revert to previous setting, since we don't actually
2659 know what that command does.
2660 (delete-selection-self-insert-hooks): Remove.
2661
b1d39ccc
SL
26622012-10-22 Simon Law <sfllaw@sfllaw.ca> (tiny change)
2663
2664 * delsel.el (delete-selection-helper): New function, extracted from
2665 delete-selection-pre-hook.
2666 (delete-selection-pre-hook): Use it.
2667 (delete-selection-self-insert-function): New function.
2668 (delete-selection-self-insert-hooks): New hook.
2669 (self-insert-command, self-insert-iso): Use it.
2670 * electric.el (electric-pair-syntax): New function, extracted from
2671 electric-pair-post-self-insert-function.
2672 (electric-pair-post-self-insert-function): Use it.
2673 (electric-pair-delete-selection-self-insert-function): New function.
2674 (electric-pair-mode): Require delsel and setup
2675 delete-selection-self-insert-hooks (bug#11520).
2676
045ef729
CY
26772012-10-20 Chong Yidong <cyd@gnu.org>
2678
4c5d08a8
CY
2679 * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
2680 no changes to show (Bug#12586).
2681
045ef729
CY
2682 * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
2683 list explicitly (Bug#12571).
2684
3503c798 26852012-10-20 Arne Jørgensen <arne@arnested.dk>
79e1997a 2686
b1d39ccc
SL
2687 * progmodes/flymake.el (flymake-create-temp-inplace):
2688 Use file-truename.
79e1997a 2689
2068905b
EZ
26902012-10-20 Eli Zaretskii <eliz@gnu.org>
2691
2692 * loadup.el: Update comment about uncompiled Lisp files. (Bug#12395)
2693
4c9e9550
JB
26942012-10-20 Jay Belanger <jay.p.belanger@gmail.com>
2695
2696 * calc/calc-units.el (math-extract-units): Properly extract powers
2697 of units.
2698
1a6e7e38
DC
26992012-10-20 Daniel Colascione <dancol@dancol.org>
2700
2701 * frame.el (make-frame): Set x-display-name as we used to in order
2702 to unbreak creating an X11 frame from an Emacs daemon started
2703 without a display.
2704
8e808318
SM
27052012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
2706
2707 * minibuffer.el (minibuffer-force-complete): Make the next completion use
f5925cd9 2708 the same completion-field (bug#12221).
8e808318 2709
fb0104da
MR
27102012-10-19 Martin Rudalics <rudalics@gmx.at>
2711
2712 * emacs-lisp/debug.el (debug): Record height of debugger window
2713 also when debugger will be back (Bug#8789).
2714
8c27235e
CY
27152012-10-18 Chong Yidong <cyd@gnu.org>
2716
2717 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
2718 Convert to defcustom.
2719 (gdb-get-source-file): Don't bind pop-up-windows.
2720
2721 * progmodes/gud.el (gud-display-line): Don't specially re-use
2722 other frames for the gdb-mi case (Bug#12648).
2723
90eacf99
SM
27242012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
2725
aaf0c300
SM
2726 * emacs-lisp/advice.el: Clean up commentary a bit.
2727 (ad-do-advised-functions, ad-with-originals): Use `declare'.
2728 (byte-code-function-p): Never redefine.
2729
90eacf99
SM
2730 * emacs-lisp/gv.el (cond): Same fix as before for `if'.
2731
281c9d2b
GM
27322012-10-18 Glenn Morris <rgm@gnu.org>
2733
40714e3d
GM
2734 * dired.el (dired-sort-toggle): Some ls implementations only allow
2735 a single option string. (Bug#12666)
2736
281c9d2b
GM
2737 * minibuffer.el (completion-cycle-threshold): Doc fix.
2738
b278604e
KH
27392012-10-17 Kenichi Handa <handa@gnu.org>
2740
90eacf99
SM
2741 * international/mule.el (set-keyboard-coding-system):
2742 Recover input meta mode when the new coding system doesn not use 8-bit.
b278604e
KH
2743 Supply TERMINAL arg to set-input-meta-mode.
2744
df171c23 27452012-10-17 Michael Heerdegen <michael_heerdegen@web.de>
7ebc5f5a
MH
2746
2747 * wdired.el (wdired-old-marks): New variable.
2748 (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
2749 (wdired-do-renames): Move point with renamed file and don't lose
2750 mark status (Bug#11795).
2751
e5a94ec4
JL
27522012-10-16 Juri Linkov <juri@jurta.org>
2753
2754 * replace.el (query-replace-help): Mention multi-buffer replacement
2755 keys in the Help message. (Bug#12655)
2756
d18a0d24
CY
27572012-10-15 Chong Yidong <cyd@gnu.org>
2758
2759 * emacs-lisp/byte-run.el (defsubst): Doc fix.
2760
8111f5e6
EZ
27612012-10-14 Eli Zaretskii <eliz@gnu.org>
2762
7b9abf24
EZ
2763 * window.el (display-buffer): Doc fix.
2764
8111f5e6
EZ
2765 * progmodes/compile.el (compilation-error-regexp-alist-alist):
2766 Adjust the msft regexp to the output of Studio 2010, and move msft
2767 before edg-1. See the discussion on emacs-devel,
2768 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
2769 for the details.
2770
5046ef67
SM
27712012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
2772
9760c73c
SM
2773 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
2774 (oset): Move uses of object-class-fast macro after its definition.
2775
5046ef67
SM
2776 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
2777
0d11ff1c
CY
27782012-10-13 Chong Yidong <cyd@gnu.org>
2779
2780 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
2781 enabled, re-enable it (Bug#11963).
2782
88ded8ac
MR
27832012-10-13 Martin Rudalics <rudalics@gmx.at>
2784
2785 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
2786 non-nil, restore window configuration (Bug#12623).
2787
bd0ffffd
SM
27882012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
2789
06485aa8
SM
2790 * help-fns.el (describe-variable, describe-function-1):
2791 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
2792
bd0ffffd
SM
2793 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
2794
3a989246
GM
27952012-10-12 Glenn Morris <rgm@gnu.org>
2796
2797 * mail/rmailsum.el (rmail-header-summary):
2798 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
2799
55cd00c8
FEG
28002012-10-12 Fabián Ezequiel Gallina <fgallina@cuca>
2801
bd0ffffd
SM
2802 * progmodes/python.el (python-mode-map):
2803 Replace subtitute-key-definition with proper command remapping.
55cd00c8
FEG
2804 (python-nav--up-list): Fix behavior for blocks on the same level.
2805
ac9fc2c7
SM
28062012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
2807
d8cc4c00 2808 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
d8cc4c00 2809
5253a5fd
SM
2810 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
2811 changes to the format of load-history.
2812
ac9fc2c7
SM
2813 * international/mule-cmds.el (read-char-by-name): Move let-binding of
2814 completion-ignore-case in case that var is buffer-local (bug#12615).
2815
cde44a77
KH
28162012-10-11 Kenichi Handa <handa@gnu.org>
2817
2818 * international/eucjp-ms.el: Re-generated.
2819
4ef4a10d
KH
28202012-10-10 Kenichi Handa <handa@gnu.org>
2821
2822 * select.el (xselect--encode-string): If a coding is specified for
2823 selection, and that is compatible with COMPOUND_TEXT, use it.
2824
9d7f027b
MR
28252012-10-10 Martin Rudalics <rudalics@gmx.at>
2826
2827 * window.el (switch-to-buffer-preserve-window-point): New option.
ac9fc2c7
SM
2828 (switch-to-buffer):
2829 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
9d7f027b 2830
238f3a58
SM
28312012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
2832
2833 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
2834 Don't document nil as a useful value (bug#12583).
2835
1d51f99c
MA
28362012-10-09 Michael Albinus <michael.albinus@gmx.de>
2837
238f3a58
SM
2838 * net/tramp.el (tramp-debug-message):
2839 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
1d51f99c
MA
2840 (with-tramp-progress-reporter): Rename from
2841 `tramp-with-progress-reporter'.
238f3a58
SM
2842 (with-tramp-file-property, with-tramp-connection-property):
2843 Move from tramp-cache.el, rename from `with-file-property' and
1d51f99c
MA
2844 `with-connection-property', respectively.
2845
2846 * net/tramp-cache.el: Remove `with-file-property' and
2847 `with-connection-property'.
2848
2849 * net/tramp.el:
2850 * net/tramp-gvfs.el:
2851 * net/tramp-sh.el:
2852 * net/tramp-smb.el: Adapt callees.
2853
2854 * net/trampver.el: Update release number.
2855
26b77251
GM
28562012-10-09 Glenn Morris <rgm@gnu.org>
2857
9a5f296f
GM
2858 * w32-fns.el (set-message-beep):
2859 * term/w32-win.el (set-message-beep): Update declarations.
2860
94c66ce5
SM
28612012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
2862
10766e9e
SM
2863 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
2864 (mode-line-widen, mode-line-input-method-map)
2865 (mode-line-coding-system-map, mode-line-remote)
2866 (mode-line-unbury-buffer, mode-line-bury-buffer)
2867 (mode-line-next-buffer, mode-line-previous-buffer):
2868 Replace save-selected-window+select-window => with-selected-window.
2869
f754db08
SM
2870 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
2871 * progmodes/cc-vars.el (bq-process): Remove, unused.
2872
94c66ce5
SM
2873 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
2874
a4ff7fe1
FEG
28752012-10-09 Fabián Ezequiel Gallina <fgallina@cuca>
2876
2877 Implemented `backward-up-list'-like navigation.
2878 * progmodes/python.el (python-nav-up-list)
2879 (python-nav-backward-up-list): New functions.
2880 (python-mode-map): Define substitute key for backward-up-list to
2881 python-nav-backward-up-list.
2882
24517d82
FEG
28832012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
2884
2885 * progmodes/python.el (python-fill-paragraph): Rename from
2886 python-fill-paragraph-function. Fixed fill-paragraph for
2887 decorators (Bug#12605).
2888
51867ae2
FEG
28892012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
2890
2891 * progmodes/python.el (python-shell-output-filter): Handle extra
2892 carriage return in OSX (Bug#12409).
2893
a5b773c4
FEG
28942012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
2895
2896 Fix shell handling of unbalanced quotes and parens in output.
94c66ce5 2897 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
a5b773c4
FEG
2898 (python-syntax-propertize-function): Use it.
2899 (python-shell-output-syntax-table): New var.
2900 (inferior-python-mode): Prevent unbalanced parens/quotes from
2901 previous output mess with current input context.
2902
13373538
JB
29032012-10-08 Juanma Barranquero <lekktu@gmail.com>
2904
2905 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
2906 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
2907
775a132d
MA
29082012-10-08 Michael Albinus <michael.albinus@gmx.de>
2909
2910 * ffap.el (ffap-replace-file-component): Support Tramp file name
2911 syntax, not only ange-ftp's one.
2912
3ab44929
GM
29132012-10-08 Glenn Morris <rgm@gnu.org>
2914
57f1dee4
GM
2915 * cus-start.el (message-log-max): Set :version.
2916
3ab44929
GM
2917 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
2918
6a088630
MR
29192012-10-08 Martin Rudalics <rudalics@gmx.at>
2920
2921 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
2922 the minibuffer window (Bug#10851).
2923
8dbce54c
FEG
29242012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
2925
2926 Enhancements on forward-sexp movement.
2927 * progmodes/python.el (python-nav-beginning-of-statement)
2928 (python-nav-end-of-statement): Return point-marker.
2929 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
2930 (python-info-current-symbol)
2931 (python-info-statement-starts-block-p): Rename from
2932 python-info-beginning-of-block-p.
2933 (python-info-statement-ends-block-p): Rename from
2934 python-info-end-of-block-p.
2935 (python-info-beginning-of-statement-p)
2936 (python-info-end-of-statement-p)
2937 (python-info-beginning-of-block-p, python-info-end-of-block-p):
2938 New functions.
2939
5acd2b3e
SM
29402012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
2941
2942 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
2943 frame-selected-windows.
2944
e08348a0
DC
29452012-10-08 Daniel Colascione <dancol@dancol.org>
2946
2947 * battery.el (battery-status-function): Check for
2948 w32-battery-status itself, not system-time windows-nt.
2949
2950 * frame.el: Require cl-lib.
2951 (display-format-alist): New variable mapping frame types to
2952 functions that initialize them.
2953 (window-system-for-display): New function: interprets
2954 display-format-alist.
2955 (make-frame-on-display): Remove existing display-selection logic
2956 and just forward to make-frame, which will now DTRT.
2957 (make-frame): Restructure to use window-system-for-display to
2958 figure out how to create a frame on a given display.
2959 (display-mouse-p): Look for frame-type w32, not a particular
2960 system-type.
2961
2962 * loadup.el: Load w32 lisp code when we have the w32 feature.
2963
2964 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
2965 system-type windows-nt.
2966
2967 * server.el (server-create-window-system-frame): Look for window
2968 type.
2969 (server-proces-filter): Only force a window system when windows-nt
2970 _and_ w32. Explain why.
2971
2972 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
2973 of window systems we configure for the mode.
2974
2975 * startup.el (command-line): Mark window system is initialized
2976 after we've done it.
2977
2978 * common-win.el (x-select-text): Look for w32, not windows-nt.
2979
2980 * ns-win.el: Require cl-lib. Add ourselves to
2981 display-format-alist.
2982 (ns-initialize-window-system): Assert we're not initialized twice.
2983
2984 * w32-win.el: Enable lexical binding; require cl-lib; add
2985 ourselves to display-format-alist.
2986 (w32-handle-dropped-file): Convert incoming dropped files from
2987 Windows paths to Cygwin ones before passing them on to the rest of
2988 Emacs.
2989 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
2990 (w32-initialize-window-system): Assert we're not initialized twice.
2991
2992 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
2993 (x-initialize-window-system): Assert we're not initialized twice.
2994
2995 * w32-common-fns.el: New File.
2996 (w32-version, w32-using-nt, w32-get-clipboard-data)
2997 (w32-set-clipboard-data, x-set-selection, x-get-selection)
2998 (w32-charset-info-alist, x-last-selected, text)
2999 (x-get-selection-value, x-selection-value): Move here.
3000
3001 * w32-fns.el: Require w32-common-fns.
3002 (w32-version, w32-using-nt, w32-get-clipboard-data)
3003 (w32-set-clipboard-data, x-set-selection, x-get-selection)
3004 (w32-charset-info-alist, x-last-selected, text)
3005 (x-get-selection-value, x-selection-value): Move to
3006 w32-common-fns.
3007
3008 * w32-vars.el:
3009 (w32-allow-system-shell, w32-system-shells): Define only in
3010 non-cygwin case.
3011
795b1482
SM
30122012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
3013
3014 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
3015 (read-passwd): Remove a few more potential sources of leaks.
3016
f27c99dc
FEG
30172012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
3018
3019 * progmodes/python.el (inferior-python-mode)
795b1482 3020 (python-shell-make-comint): Fix initialization of local
f27c99dc
FEG
3021 variables copied from parent buffer.
3022
fcacb558
JD
30232012-10-07 Jan Djärv <jan.h.d@swipnet.se>
3024
3025 * term/ns-win.el (ns-read-file-name): Update declaration to match
3026 nsfns.m.
3027 (ns-respond-to-change-font): Change fontsize separatly so we are sure
3028 it is set when font is acted upon.
3029
be0d5bae
FEG
30302012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
3031
3032 Enhancements to indentation.
3033 * progmodes/python.el (python-indent-context): Give priority to
3034 inside-string context. Make comments indentation markers.
3035 (python-indent-region): Do not mess with strings, unless it's the
3036 enclosing set of quotes.
3037
13af0d10
SM
30382012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
3039
662a9d0e
SM
3040 * window.el (internal--before-save-selected-window)
3041 (internal--after-save-selected-window): New functions extracted from
3042 save-selected-window. Make sure we return the `alist' we construct.
3043 (save-selected-window): Use them.
3044
3045 * textmodes/tex-mode.el (tex-recenter-output-buffer):
3046 Use with-selected-window.
3047
13af0d10
SM
3048 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
3049 forms that define macros (bug#12593).
3050
6aa75fb6
KH
30512012-10-07 Kenichi Handa <handa@gnu.org>
3052
13af0d10
SM
3053 * international/mule-conf.el (compound-text-with-extensions):
3054 Add :mime-charset property as x-ctext.
6aa75fb6 3055
78d876b9
SM
30562012-10-07 Stefan Merten <smerten@oekonux.de>
3057
3058 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
3059 (rst-indent-literal-normal, rst-indent-literal-minimized)
3060 (rst-indent-comment): Correct :version tag.
557337e9 3061 (rst-official-cvs-rev): Correct version string.
78d876b9 3062
99a1e701
GM
30632012-10-07 Glenn Morris <rgm@gnu.org>
3064
3065 * mail/rmailmm.el (rmail-mime-process-multipart):
3066 Do not confuse a multipart message with an epilogue
3067 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
3068
08f18c3d
FEG
30692012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
3070
3071 Fix shell output retrieval and comint-prompt-regexp init.
3072 * progmodes/python.el (inferior-python-mode):
3073 (python-shell-make-comint): Fix initialization of
3074 comint-prompt-regexp from copied file local variables.
3075 (python-shell-fetched-lines): Remove var.
3076 (python-shell-output-filter-in-progress): Rename from
3077 python-shell-fetch-lines-in-progress.
3078 (python-shell-output-filter-buffer): Rename from
3079 python-shell-fetch-lines-string.
3080 (python-shell-fetch-lines-filter): Delete function.
3081 (python-shell-output-filter): New function.
3082 (python-shell-send-string-no-output): Use them.
3083
82ed3ab4
GM
30842012-10-07 Glenn Morris <rgm@gnu.org>
3085
1595ecfa
GM
3086 * hi-lock.el (hi-lock-process-phrase):
3087 Try to make it less fragile. (Bug#7161)
3088
82ed3ab4
GM
3089 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
3090
f1f4dba0
GM
30912012-10-06 Glenn Morris <rgm@gnu.org>
3092
addc11ed 3093 * ehelp.el (electric-help-mode): Use help-mode rather than
32939005
GM
3094 non-existent mode `help'.
3095 (electric-help-map): Use button-buffer-map. (Bug#10917)
addc11ed 3096
460042b8
GM
3097 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
3098 (reftex-create-bibtex-footer): Fix custom types.
3099
67667c70
GM
3100 * progmodes/sh-script.el (sh-indent-after-continuation):
3101 Add explicit :group.
3102
18dec750
GM
3103 * textmodes/rst.el (rst-preferred-decorations)
3104 (rst-shift-basic-offset): Clarify obsolescence versions.
3105
d1a1c7e6
GM
3106 * profiler.el (profiler): Add missing group :version tag.
3107 * avoid.el (mouse-avoidance-banish-position):
3108 * proced.el (proced-renice-command):
3109 * calc/calc.el (calc-ensure-consistent-units):
3110 * calendar/icalendar.el (icalendar-import-format-uid):
3111 * net/tramp.el (tramp-save-ad-hoc-proxies):
3112 * progmodes/bug-reference.el (bug-reference-bug-regexp):
3113 * progmodes/flymake.el (flymake-error-bitmap)
3114 (flymake-warning-bitmap, flymake-fringe-indicator-position):
3115 * progmodes/sh-script.el (sh-indent-after-continuation):
3116 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
3117 (verilog-before-save-font-hook, verilog-after-save-font-hook):
3118 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
3119 (vhdl-array-index-record-field-in-sensitivity-list)
3120 (vhdl-indent-comment-like-next-code-line):
3121 * textmodes/reftex-vars.el (reftex-ref-style-alist)
3122 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
3123 (reftex-cite-key-separator, reftex-create-bibtex-header)
3124 (reftex-create-bibtex-footer):
3125 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
3126 (rst-indent-literal-normal, rst-indent-literal-minimized)
3127 (rst-indent-comment): Add missing custom :version tags.
3128
ef35abb4
GM
3129 * calendar/timeclock.el (timeclock-modeline-display):
3130 Add missing obsolete alias for renamed user option.
3131
d1aae614
GM
3132 * strokes.el (strokes-modeline-string):
3133 * emulation/crisp.el (crisp-mode-modeline-string):
3134 * eshell/esh-mode.el (eshell-status-in-modeline):
3135 Aliases to defcustoms must come before the defcustom.
3136
f1f4dba0
GM
3137 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
3138 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
3139 (cal-tex-cursor-week-monday): Doc fixes.
3140 (cal-tex-cursor-week2-summary): Doc fix.
3141 Rename from cal-tex-cursor-week-at-a-glance.
3142
3143 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
3144 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
3145
3146 * calendar/calendar.el (calendar-mode-map):
3147 Add cal-tex-cursor-week2-summary.
3148
d39109c3
SM
31492012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
3150
685f87b0
SM
3151 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
3152
d39109c3
SM
3153 * subr.el (read-passwd-map): New var.
3154 (read-passwd): Use `read-string' again.
3155 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
3156
5694896d
J
31572012-10-06 Jambunathan K <kjambunathan@gmail.com>
3158
3159 * register.el (append-to-register, prepend-to-register):
3160 Deactivate mark, as does `copy-to-register' (bug#12389).
3161
9414dd8d
CY
31622012-10-06 Chong Yidong <cyd@gnu.org>
3163
3164 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
3165
2b89bca4
KH
31662012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
3167
3168 * international/characters.el: Fix simple mistake ((car chars) ->
3169 elt), delete duplicated code.
3170
d5acb99a
GM
31712012-10-06 Glenn Morris <rgm@gnu.org>
3172
3173 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
3174
123ec157
JS
31752012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
3176
3177 * color.el (color-hsl-to-rgb): Fix incorrect results for
3178 small and large hue values. (Bug#12559)
3179
7fa36ccb
FEG
31802012-10-05 Fabián Ezequiel Gallina <fgallina@cuca>
3181
3182 Enhancements to docstring formatting when filling paragraphs.
3183 * progmodes/python.el (python-fill-docstring-style): Rename from
3184 python-fill-string-style. Added new style.
3185 (python-fill-string): Use new style. Better checks for
3186 docstrings.
3187
d8788e1e
GM
31882012-10-05 Glenn Morris <rgm@gnu.org>
3189
204f3953
GM
3190 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
3191
d8788e1e
GM
3192 * color.el (color-name-to-rgb, color-rgb-to-hex)
3193 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
3194 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
3195 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
3196 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
3197
8d956cef
GM
3198 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
3199
e8757f09 32002012-10-05 Juanma Barranquero <lekktu@gmail.com>
ea9a3563
JB
3201
3202 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
3203 to get the correct size across symlinks.
3204
e8757f09
GM
3205 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
3206
0e2ae83d
JL
32072012-10-04 Juri Linkov <juri@jurta.org>
3208
3209 * replace.el (query-replace-interactive): Declare obsolete.
3210 (query-replace-read-from): Add the last incremental search string
3211 to the list of default values accessible via M-n.
3212 (map-query-replace-regexp): Use `read-regexp'.
3213 (query-replace, query-replace-regexp, query-replace-regexp-eval)
3214 (map-query-replace-regexp, replace-string, replace-regexp):
3215 Fix docstrings to replace mentions of `query-replace-interactive'
3216 with alternatives. (Bug#12526)
3217
93cacb6d
JL
32182012-10-04 Juri Linkov <juri@jurta.org>
3219
3220 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
3221 (dired-pop-to-buffer): Declare obsolete.
3222 (dired-mark-pop-up): Doc fix.
3223
fc345011
FEG
32242012-10-04 Fabián Ezequiel Gallina <fgallina@cuca>
3225
3226 Allow user to set docstring style for fill-paragraph.
3227 * progmodes/python.el
3228 (python-fill-comment-function, python-fill-string-function)
3229 (python-fill-decorator-function, python-fill-paren-function):
3230 Remove :safe for defcustoms.
3231 (python-fill-string-style): New defcustom
5694896d 3232 (python-fill-paragraph-function): Enhance context detection.
fc345011
FEG
3233 (python-fill-string): Honor python-fill-string-style settings.
3234
6bab5d8b
MR
32352012-10-04 Martin Rudalics <rudalics@gmx.at>
3236
3237 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
3238 after setting its buffer (Bug#10805).
3239
a1a9f411
FEG
32402012-10-03 Fabián Ezequiel Gallina <fgallina@cuca>
3241
3242 Fix cornercase for string syntax.
3243 * progmodes/python.el (python-syntax-propertize-function):
3244 Simplify and enhance the regexp for unescaped quotes. Now it also
3245 matches quotes in weird situations like the single quote in
3246 "something\"'".
3247 (python-syntax-stringify): Simplify num-quotes detecting code.
3248
05e153a6
GM
32492012-10-03 Glenn Morris <rgm@gnu.org>
3250
3251 * help-macro.el (three-step-help):
3252 Revert 2012-09-29 change. (Bug#12567)
3253
2e566ecb
MR
32542012-10-03 Martin Rudalics <rudalics@gmx.at>
3255
96ef9ccd
MR
3256 * menu-bar.el (kill-this-buffer): Don't do anything when
3257 `menu-frame' is not alive or visible (Bug#8184).
3258
2e566ecb
MR
3259 * emacs-lisp/debug.el (debug): When quitting the debugger window
3260 restore current buffer (Bug#12502).
3261
a96e1cb7
CY
32622012-10-02 Chong Yidong <cyd@gnu.org>
3263
5694896d
J
3264 * progmodes/hideif.el (hif-lookup, hif-defined):
3265 Handle semantic-c-takeover-hideif.
a96e1cb7 3266
b3ecad33
PE
32672012-10-02 Paul Eggert <eggert@cs.ucla.edu>
3268
3269 Change sampling interval units from ms to ns.
3270 * profiler.el (profiler-sampling-interval): Change units
3271 from ms to ns, multiplying the default by 1000000 so that
3272 it remains 1 ms.
3273 (profiler-report-cpu-line-format): Give enough room for
3274 the maximum counters on 64-bit hosts.
3275 (profiler-report-render-calltree-1): Call them "CPU samples",
3276 not "Time (ms)", since they are not milliseconds now (and
3277 never really were).
3278
8cb51b66 32792012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
c623f81a 3280
5694896d
J
3281 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
3282 Fix querying BBDB for entries without a last name (Bug#11580).
c623f81a 3283
fd795bf4
CY
32842012-10-02 Chong Yidong <cyd@gnu.org>
3285
3286 * emacs-lisp/eieio.el: Restore Version header.
3287
fe0a74f9
SM
32882012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
3289
6be9197e
SM
3290 * vc/diff-mode.el (diff--auto-refine-data): New var.
3291 (diff-hunk): Use it to delay refinement.
3292 (diff-mode): Remove overlays when we turn off font-lock.
3293
18486139
SM
3294 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
3295 (table-initialize-table-fixed-width-mode)
3296 (table-set-table-fixed-width-mode): Remove functions.
3297 (table-command-list): Move initialization into declaration.
3298 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
3299 (table-with-cache-buffer): Use `declare'.
3300 (table-span-cell): Simplify via CSE.
3301 (table-fixed-width-mode): Use define-minor-mode.
3302 (table-call-interactively, table-funcall, table-apply): Remove.
3303 (table-function): New function, to replace them.
3304
d83ef976
SM
3305 * bookmark.el (bookmark-search-pattern): Remove var.
3306 (bookmark-read-search-input): Remove function.
3307 (bookmark-bmenu-search): Reimplement using a minibuffer.
3308
cd386662
SM
3309 * faces.el (modeline): Remove obsolete face name.
3310
fe0a74f9
SM
3311 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
3312 and give a non-nil default value.
3313 (add-change-log-entry): Simplify accordingly.
3314
9f7b98f8
DG
33152012-10-01 Dmitry Gutov <dgutov@yandex.ru>
3316
3317 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
3318 (vc-git-log-edit-toggle-amend): New function.
3319 (vc-git-log-edit-toggle-signoff): New function.
3320 (vc-git-log-edit-mode): New major mode.
3321 (vc-git-log-edit-mode-map): Keymap for it.
3322 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
3323
3324 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
3325 header names.
3326 (log-edit-toggle-header): New function.
3327 (log-edit-extract-headers): Accept function values in HEADERS alist.
3328
62a81506
CY
33292012-10-01 David Engster <deng@randomsample.de>
3330
3331 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
3332 from symbol property and change message to be more consistent with
3333 Emacs proper.
3334 (eieio-describe-generic): Add filename for each implementation.
3335 Fix indices for generic and normal methods.
3336 (eieio-method-def, eieio-class-def): New buttons.
3337 (eieio-help-find-method-definition)
3338 (eieio-help-find-class-definition): New functions.
3339 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
3340 class, constructor and method definitions.
3341
3342 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
3343 information in symbol property.
3344 (scoped-class): Remove.
3345 (eieio-slot-name-index, call-next-method): Check if it is bound.
3346
33472012-10-01 Leo P. White <lpw25@cam.ac.uk>
3348
3349 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
3350 (eieio-custom-mode): New major mode.
3351 (eieio-customize-object): Use it.
3352
33532012-10-01 Eric Ludlam <zappo@gnu.org>
3354
3355 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
3356 specifying the expected class, and whether subclassing is allowed.
3357 (eieio-persistent-convert-list-to-object):
1f9f395d
JB
3358 (eieio-persistent-validate/fix-slot-value)
3359 (eieio-persistent-slot-type-is-class-p): New functions.
3360 (eieio-named::slot-missing): Doc fix.
62a81506
CY
3361
3362 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
3363 Stop using unused publd variable.
3364
3365 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
3366 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
3367 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
3368 (eieio-speedbar-handle-click): Do not specify a class for the
3369 method. Fixes method invocation order problems with EDE.
3370
375e49d4
SM
33712012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
3372
3373 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
3374 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
3375
16ce6ccd
KF
33762012-10-01 Karl Fogel <kfogel@red-bean.com>
3377
3378 * bookmark.el (bookmark-version-control): Give tags in the
3379 :type choices (Bug#12309), and improve doc string.
e4c4abdd
KF
3380 (bookmark-write-file): Bind `print-circle' to `t' to allow
3381 circular custom bookmark types. (Bug#12503)
16ce6ccd 3382
19e54a4d
PE
33832012-10-01 Paul Eggert <eggert@cs.ucla.edu>
3384
86ec63ba
PE
3385 Revert the FOLLOW-SYMLINKS change for file-attributes.
3386 * files.el (remote-file-name-inhibit-cache, after-find-file):
3387 * time.el (display-time-file-nonempty-p): Undo last change.
3388
19e54a4d
PE
3389 * profiler.el (profiler-sampling-interval): Change default back to 1.
3390 See Stefan Monnier in
3391 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
3392
0478776b
FEG
33932012-10-01 Fabián Ezequiel Gallina <fgallina@cuca>
3394
3395 Shell output catching a la gud-gdb.
3396 * progmodes/python.el (python-shell-fetch-lines-in-progress)
375e49d4
SM
3397 (python-shell-fetch-lines-string, python-shell-fetched-lines):
3398 New Vars.
0478776b
FEG
3399 (python-shell-fetch-lines-filter): New function.
3400 (python-shell-send-string-no-output): Use them.
3401
c22bac2c
TM
34022012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
3403
3404 * profiler.el (profiler-sampling-interval): Rename from
3405 profiler-sample-interval.
3406 (profiler-sampling-interval): Default to 10.
3407 (profiler-find-profile): New command (was profiler-find-log).
3408 (profiler-find-profile-other-window): New command.
3409 (profiler-find-profile-other-frame): New command.
3410 (profiler-profile): Introduce API-level data structure.
3411
e7a2937b
PE
34122012-09-30 Paul Eggert <eggert@cs.ucla.edu>
3413
3414 file-attributes has a new optional arg FOLLOW-SYMLINKS.
3415 * files.el (remote-file-name-inhibit-cache):
3416 * time.el (display-time-file-nonempty-p): Use it.
3417 * files.el (after-find-file): Don't chase links before calling
3418 file-exists-p, as file-exists-p already does the right thing.
3419
4f595e15
RA
34202012-09-30 Ralf Angeli <angeli@caeruleus.net>
3421
3422 Merge from standalone RefTeX repository.
3423
3424 The following ChangeLog entries are shortened versions of the
3425 original ones with file paths adapted. A not so strongly edited
3426 version of the original ChangeLog can be found in the commit log.
3427
3428 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
375e49d4
SM
3429 (reftex-arg-cite): Use `reftex-cite-key-separator'.
3430 Correctly handle new value type returned by `reftex-citation'.
4f595e15
RA
3431
3432 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
375e49d4
SM
3433 that entries with whitespace at various places are found.
3434 Doc fix. Include entries that are cross-referenced from cited entries.
4f595e15
RA
3435 Include @String definitions in the resulting bib file. Add header
3436 and footer defined in `reftex-create-bibtex-header' and
3437 `reftex-create-bibtex-footer'.
3438 (reftex-do-citation): Make it possible again to insert
3439 non-existent entries. Save match data when asking for optional
3440 arguments. Return all keys, not just the first one.
3441 (reftex-all-used-citation-keys): Fix regexp to correctly extract
3442 all citations in the same line.
3443 (reftex-parse-bibtex-entry): Accept additional optional argument
3444 `raw' and keep quotes or braces if it is non-nil. Match fields
3445 containing hyphens besides word constituents.
3446 (reftex-get-string-refs): New function.
3447 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
3448 and ask if it should be reread in case it did.
3449 (reftex-pop-to-bibtex-entry)
3450 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
3451 entries with spaces or tabs in front of arguments.
3452 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
375e49d4
SM
3453 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
3454 Match entries containing numbers and symbol constituents.
3455 (reftex-do-citation, reftex-figure-out-cite-format):
3456 Use `reftex-cite-key-separator'.
4f595e15
RA
3457
3458 * textmodes/reftex-dcr.el: Move provide statement to end of file.
3459 (reftex-mouse-view-crossref): Explain why point is set.
3460
3461 * textmodes/reftex-global.el: Whitespace changes.
3462
3463 * textmodes/reftex-index.el: Move provide statement to end of
3464 file.
3465 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
3466 (reftex-index-visit-phrases-buffer): Set marker when visiting
3467 buffer. This allows for returning from the phrases file to the
3468 file one was just editing instead of the file where the last
3469 phrases was added from.
3470 (reftex-index-phrases-syntax-table): New variable. Give ?\"
3471 punctuation syntax as it usually is not used as string quote in
3472 TeX-related modes and may occur unmatched. The change also
3473 prevents fontification of quoted content.
3474 (reftex-index-phrases-mode): Use it.
3475
375e49d4
SM
3476 * textmodes/reftex-parse.el (reftex-parse-from-file):
3477 Move backward one char if a `\' was matched after a section macro.
4f595e15
RA
3478 (reftex-parse-from-file): Use beginning of match instead of end as
3479 bound.
3480
3481 * textmodes/reftex-ref.el: Adapt creation of
3482 `reftex-<package>-<macro>' functions to new structure of
3483 `reftex-ref-style-alist'.
375e49d4
SM
3484 (reftex-reference): Use `reftex-ref-style-list' function.
3485 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
4f595e15
RA
3486 reference macro if `reftex-ref-macro-prompt' is non-nil.
3487 (reftex-reference): Pass refstyle to `reftex-format-special'.
3488 Determine reference macro by looking at
375e49d4
SM
3489 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
3490 Use only one special format function.
4f595e15
RA
3491 (reftex-varioref-vref, reftex-fancyref-fref)
3492 (reftex-fancyref-Fref): Remove definitions. The functions are now
3493 generated from `reftex-ref-style-alist'.
3494 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
3495 Remove.
3496 (reftex-format-special): New function.
3497
3498 * textmodes/reftex-sel.el
3499 (reftex-select-cycle-ref-style-internal): Adapt to new structure
3500 of `reftex-ref-style-alist'. Remove code for testing macro type.
3501 (reftex-select-toggle-varioref)
3502 (reftex-select-toggle-fancyref): Remove.
3503 (reftex-select-cycle-ref-style-internal)
3504 (reftex-select-cycle-ref-style-forward)
3505 (reftex-select-cycle-ref-style-backward): New functions.
3506 (reftex-select-label-map): Use `v' and `V' for general cycling
3507 through reference styles. Add `p' for switching between number
3508 and page reference types.
3509
375e49d4
SM
3510 * textmodes/reftex-toc.el (reftex-re-enlarge):
3511 Call `enlarge-window' only if there is something to do because in Emacs
4f595e15
RA
3512 the horizontal version throws an error even if the parameter is 0.
3513
3514 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
3515 (reftex-plug-into-AUCTeX): Doc fix.
3516 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
3517 string. Adapt to new name.
3518 (reftex-ref-style-alist): Change structure so that it is not
3519 possible to use multiple different package names within a style.
375e49d4
SM
3520 Remove the symbols for symbols for macro type distinction.
3521 Add characters for macro selection.
4f595e15
RA
3522 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
3523 (reftex-create-bibtex-footer): New variables.
3524 (reftex-format-ref-function): Mention third argument of special
3525 format function.
375e49d4
SM
3526 (reftex-ref-style-alist, reftex-ref-style-default-list):
3527 New variables.
4f595e15
RA
3528 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
3529 to new implementation. Mark as obsolete. Add compatibility code
3530 for honoring the variable values in case they are set.
375e49d4
SM
3531 (reftex-cite-format-builtin, reftex-bibliography-commands):
3532 Add support for ConTeXt.
3533 (reftex-format-ref-function, reftex-format-cite-function):
3534 Fix custom type.
4f595e15
RA
3535 (reftex-cite-key-separator): New variable.
3536
3537 * textmodes/reftex.el (reftex-syntax-table-for-bib)
3538 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
3539 `reftex-syntax-table' because parens have to retain their paren
3540 syntax in order for parsing of BibTeX entries like @book(...) to
3541 work.
3542 (reftex-in-comment): Do not error out if `comment-start-skip' is
3543 not set. Deal correctly with escaped comment characters.
375e49d4
SM
3544 (reftex-tie-multifile-symbols): Add doc string.
3545 Initialize `reftex-ref-style-list'.
4f595e15
RA
3546 (reftex-untie-multifile-symbols): Add doc string.
3547 (reftex-add-index-macros): Doc fix.
3548 (reftex-ref-style-activate, reftex-ref-style-toggle)
3549 (reftex-ref-style-list): New functions.
3550 (reftex-mode-menu): Use them. Adapt to new structure of
3551 `reftex-ref-style-alist'.
3552 (reftex-select-with-char): Kill the RefTeX Select buffer when
3553 done.
3554 (reftex-remove-if): New function.
3555 (reftex-erase-all-selection-and-index-buffers)
3556 (reftex-mode-menu): Reference styles are now computed from
3557 `reftex-ref-style-alist'. Fix typo.
3558 (reftex-report-bug): New function.
3559 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
3560 algorithms with O(n log n). Introduce optional argument SORT (not
3561 yet used).
3562
440ba395
FEG
35632012-09-30 Fabián Ezequiel Gallina <fgallina@cuca>
3564
3565 Enhancements for triple-quote string syntax.
375e49d4
SM
3566 * progmodes/python.el (python-syntax-propertize-function):
3567 Match both quote cases in one regexp.
440ba395
FEG
3568 (python-syntax-stringify): Handle matches properly.
3569
4c478e6b
JL
35702012-09-30 Juri Linkov <juri@jurta.org>
3571
3572 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
93cacb6d 3573 to nil around the call to `insert' to prevent
4c478e6b
JL
3574 directory time modification by lock_file. (Bug#2295)
3575 * tar-mode.el (tar-summarize-buffer): Idem.
3576
d80d54b2
JL
35772012-09-30 Juri Linkov <juri@jurta.org>
3578
3579 * facemenu.el (list-colors-sort): Add option "Luminance".
3580 (list-colors-sort-key): Implement it.
3581
3582 * vc/diff-mode.el (diff-refine-removed):
3583 * vc/ediff-init.el (ediff-fine-diff-A):
3584 * vc/smerge-mode.el (smerge-refined-removed):
3585 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
3586
d7e642cc
JD
35872012-09-30 Jan Djärv <jan.h.d@swipnet.se>
3588
3589 * term/ns-win.el (x-file-dialog): New function.
3590
ee41332b
JB
35912012-09-30 Juanma Barranquero <lekktu@gmail.com>
3592
3593 * ido.el (ido-max-directory-size): Default to nil; the current
3594 default is small for POSIX systems, and impractical on Windows 7
3595 now that lstat returns directory sizes for NTFS.
3596
5938d519
MR
35972012-09-30 Martin Rudalics <rudalics@gmx.at>
3598
3599 In buffer display functions handle window-height/window-width
3600 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
375e49d4
SM
3601 * window.el (window--display-buffer): New argument ALIST.
3602 Obey window-height and window-width alist entries.
3603 (window--try-to-split-window): New argument ALIST.
3604 Bind window-combination-limit to t when the window's size shall be
5938d519
MR
3605 changed and window-combination-limit equals `window-size'.
3606 (display-buffer-in-atom-window)
3607 (display-buffer-in-major-side-window)
3608 (display-buffer-in-side-window, display-buffer-same-window)
3609 (display-buffer-reuse-window, display-buffer-pop-up-frame)
3610 (display-buffer-pop-up-window, display-buffer-below-selected)
3611 (display-buffer-at-bottom, display-buffer-in-previous-window)
3612 (display-buffer-use-some-window): Adjust all callers of
3613 window--display-buffer and window--try-to-split-window.
3614 (fit-frame-to-buffer): New option.
3615 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
3616 is non-nil.
3617 (display-buffer-in-major-side-window): Evaluate window-height /
3618 window-width alist entries.
3619
3620 * help.el (temp-buffer-resize-frames)
3621 (temp-buffer-resize-regexps): Remove options.
3622 (temp-buffer-resize-mode): Adjust doc-string.
3623 (resize-temp-buffer-window): Don't consult
3624 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
3625 temp-buffer-resize-frames.
3626
375e49d4
SM
3627 * dired.el (dired-mark-pop-up):
3628 Call display-buffer-below-selected with a fit-window-to-buffer alist
5938d519
MR
3629 entry.
3630
c4c0c2df
CY
36312012-09-30 Chong Yidong <cyd@gnu.org>
3632
48de8b12
CY
3633 * server.el (server-host): Document the security implications.
3634 (server-auth-key): Doc fix.
3635
3636 * startup.el (initial-buffer-choice): Doc fix.
3637
3638 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
3639
a97dc380
CY
3640 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
3641 restriction change.
3642
d39d3c8e
CY
3643 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
3644
c4c0c2df
CY
3645 * help-fns.el (help-fns--obsolete): Fix last change.
3646
98a5e33b
SM
36472012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
3648
34cf6f39
SM
3649 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
3650 (minor-mode-map-alist): Remove redundant code.
3651
e01c13fe
SM
3652 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
3653 visited in a buffer.
3654 (cvs-insert-visited-file): New function.
3655 (find-file-hook): Use it.
3656
3657 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
3658
02661b3a
SM
3659 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
3660 chose face.
3661 (log-edit-empty-buffer-p): Don't require a space after a header.
3662
43711d4b
SM
3663 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
3664
38a30d64
SM
3665 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
3666
4ffb41a9
SM
3667 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
3668 a proper minor-mode.
3669
98a5e33b
SM
3670 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
3671
de82e29b
GM
36722012-09-29 Glenn Morris <rgm@gnu.org>
3673
5cc2e639
GM
3674 * winner.el (winner-mode): Remove variable (let define-minor-mode
3675 handle it).
3676 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
3677 Doc fixes.
3678 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
3679 (winner-mode): Use define-minor-mode.
3680
7bd302eb
GM
3681 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
3682 the full definition in loaddefs, rather than duplicating it.
3683
2923922f 3684 * help-macro.el (three-step-help): No need to autoload defcustom.
ced08382 3685
0e3e4156
GM
3686 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
3687 (inferior-lisp-program, inferior-lisp-load-command)
3688 (inferior-lisp-prompt, inferior-lisp-mode-hook):
2923922f 3689 No need to autoload defcustoms.
0e3e4156 3690
de82e29b
GM
3691 * hippie-exp.el (hippie-expand-try-functions-list)
3692 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
3693 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
3694 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
2923922f 3695 (hippie-expand-only-buffers): No need to autoload defcustoms.
de82e29b
GM
3696 * progmodes/vhdl-mode.el (vhdl-line-expand):
3697 Explicitly load hippie-exp, so it does not get autoloaded
3698 while hippie-expand-try-functions-list is let-bound.
3699
e60b51ab
GM
37002012-09-28 Glenn Morris <rgm@gnu.org>
3701
277f0cfa
GM
3702 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
3703
e60b51ab
GM
3704 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
3705 Only "cl.el" counts as cl these days.
3706
53baf48a
JL
37072012-09-28 Juri Linkov <juri@jurta.org>
3708
3709 Display archive errors in the echo area instead of inserting
3710 to the file buffer.
3711
3712 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
3713 to STDERR-TEST that can be a regexp matching a successful output.
3714 Create a temporary file and redirect stderr to it. Search for
3715 STDERR-TEST in the stderr output and display it in the echo area
3716 if no match is found.
3717 (archive-extract-by-file): New function like
3718 `archive-extract-by-stdout' but extracting archives to files
3719 and looking for successful matches in stdout. Function body is
3720 mostly copied from `archive-rar-extract'.
3721 (archive-rar-extract): Use `archive-extract-by-file'.
3722 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
3723
9c1228c3
LL
37242012-09-28 Leo Liu <sdl.web@gmail.com>
3725
375e49d4
SM
3726 * pcomplete.el (pcomplete-show-completions):
3727 Use minibuffer-message to make pcomplete usable in minibuffer.
147c0425 3728
9c1228c3
LL
3729 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
3730
7f457c06
SM
37312012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
3732
3df749b0
SM
3733 * type-break.el: Use lexical-binding.
3734 (type-break-mode): Use define-minor-mode.
3735
7f457c06
SM
3736 * emacs-lisp/pcase.el (pcase--mark-used): New.
3737 (pcase--u1): Use it (bug#12512).
3738
3739 * custom.el (load-theme): Set buffer-file-name so the load is recorded
3740 in load-history with the right file name.
3741
c00ebc98
TH
37422012-09-28 Tassilo Horn <tsdh@gnu.org>
3743
3744 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
3745 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
3746 (doc-view-get-bounding-box): Make bounding box slicing work for
3747 ODF and DVI documents.
3748
96fb7170
GM
37492012-09-28 Glenn Morris <rgm@gnu.org>
3750
3751 * type-break.el (type-break-mode, type-break-interval)
3752 (type-break-good-rest-interval, type-break-keystroke-threshold):
3753 No need to autoload.
3754 (type-break-good-rest-interval, type-break-keystroke-threshold):
3755 Add :set-after.
3756
5bc93c67
CY
37572012-09-28 Chong Yidong <cyd@gnu.org>
3758
3759 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
3760 Add :version tag.
3761
9cad61d6
SM
37622012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
3763
e28e67b3 3764 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
9cad61d6 3765
daee954c
GM
37662012-09-27 Glenn Morris <rgm@gnu.org>
3767
a88324d4
GM
3768 * faces.el (x-display-name): Declare (for without-x builds).
3769
8e5064e5
GM
3770 * linum.el (linum-format): Don't autoload it. Improve :type.
3771
cc1783c2
GM
3772 * progmodes/tcl.el: Don't require outline when compiling.
3773 (outline-regexp, outline-level): Declare.
1dddcf4c
GM
3774 * textmodes/sgml-mode.el: Don't require outline when compiling.
3775 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
3776
48c339f2
GM
3777 * term.el (term-ansi-reset):
3778 Try setting term-ansi-face-already-done to nil. (Bug#11785)
3779
daee954c
GM
3780 * vc/vc.el (vc-next-action): Only gripe about committing read-only
3781 files for RCS and SCCS. (Bug#9781)
3782
b7f42161
CY
37832012-09-27 Chong Yidong <cyd@gnu.org>
3784
3785 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
3786 change; value should be t.
3787
a2e770db
SM
37882012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
3789
83600dc8
SM
3790 * image-mode.el: Use lexical-binding.
3791 (image-mode-winprops): Use t to stand for the window of
3792 a buffer that's not displayed.
3793 * doc-view.el (doc-view-new-window-function): Handle the new
3794 t in winprops.
3795 (doc-view-enlarge): Make it a real nop if the size is not changed.
3796 (doc-view-display): Handle the case where the buffer is not (yet?)
3797 displayed in any window.
3798 (doc-view-saved-settings): New var.
3799 (doc-view-mode): Use it.
3800 (doc-view-fallback-mode): Set it.
3801
a2e770db
SM
3802 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
3803 Set lexical-binding.
3804 (minibuffer-eldef-shorten-default): New var.
3805 (minibuffer-default-in-prompt-regexps): Use it for new default.
3806 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
3807
e3b60857
JB
38082012-09-26 Juanma Barranquero <lekktu@gmail.com>
3809
3810 * international/uni-bidi.el:
3811 * international/uni-category.el:
3812 * international/uni-name.el:
3813 * international/uni-numeric.el: Regenerate.
3814
3a880af4
SM
38152012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
3816 Stefan Monnier <monnier@iro.umontreal.ca>
3817
3818 * profiler.el: New file.
3819
07b1a5fb
SM
38202012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
3821
3822 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
3823 (testcover-reinstrument): Simplify with CSE.
3824
42019c2e
JB
38252012-09-26 Juanma Barranquero <lekktu@gmail.com>
3826
3827 * window.el (temp-buffer-window-setup): Fix typo in docstring.
3828
179f044b
WS
38292012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
3830
3831 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
3832 (verilog-auto-input, verilog-auto-insert-lisp)
3833 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
3834 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
3835 (verilog-auto-unused, verilog-auto-wire)
3836 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
3837 newline. Reported by Andrew Jones.
3838 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
3839 Reported by Brad Dobbie.
07b1a5fb
SM
3840 (verilog-batch-delete-trailing-whitespace):
3841 Create verilog-batch-delete-trailing-whitespace.
3842 Reported by Brad Dobbie.
179f044b
WS
3843 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
3844 parameters from another module. Reported by Dan Katz.
3845 (verilog-auto, verilog-auto-assign-modport)
3846 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
3847 AUTOINOUTMODPORT for UVM interface module shell generation.
3848 Reported by Brad Dobbie.
3849 (verilog-auto-inst-interfaced-ports): Make default nil, as more
3850 standard behavior.
3851 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
3852 Reported by Matt Martin.
3853
9c52dd5a
MR
38542012-09-25 Martin Rudalics <rudalics@gmx.at>
3855
3856 * window.el (window--resize-child-windows): When resizing child
3857 windows proportionally, process them in reverse order to
3858 preserve the "when splitting a window the new one gets the odd
3859 line" behavior.
3860 (window--resize-root-window-vertically): When resizing the
3861 minibuffer window try to affect only windows at the bottom of the
3862 frame. (Bug#12419)
3863
863666eb
CY
38642012-09-25 Chong Yidong <cyd@gnu.org>
3865
3866 * subr.el (declare): Doc fix.
3867
3868 * help-fns.el (help-fns--obsolete): Handle macros properly.
3869
59f7af81
CY
38702012-09-25 Chong Yidong <cyd@gnu.org>
3871
3872 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
3873 this function obsolete.
3874
3875 * calendar/cal-x.el (calendar-two-frame-setup)
3876 (calendar-only-one-frame-setup, calendar-one-frame-setup):
3877 * calendar/calendar.el (american-calendar, european-calendar)
3878 (calendar-for-loop):
3879 * comint.el (comint-dynamic-simple-complete)
3880 (comint-dynamic-complete-as-filename, comint-unquote-filename):
3881 * desktop.el (desktop-load-default):
3882 * dired-x.el (dired-omit-here-always)
3883 (dired-hack-local-variables, dired-default-directory):
3884 * emacs-lisp/derived.el (derived-mode-class):
3885 * emacs-lisp/timer.el (timer-set-time-with-usecs):
3886 * emacs-lock.el (toggle-emacs-lock):
3887 * epa.el (epa-display-verify-result):
3888 * epg.el (epg-sign-keys, epg-start-sign-keys)
3889 (epg-passphrase-callback-function):
3890 * eshell/esh-util.el (eshell-for):
3891 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
3892 (eshell-add-to-window-buffer-names):
3893 * files.el (locate-file-completion):
3894 * imenu.el (imenu-example--create-c-index)
3895 (imenu-example--create-lisp-index)
3896 (imenu-example--lisp-extract-index-name)
3897 (imenu-example--name-and-position):
3898 * international/mule-cmds.el (princ-list):
3899 * international/mule-diag.el (decode-codepage-char):
3900 * international/mule-util.el (detect-coding-with-priority):
3901 * iswitchb.el (iswitchb-read-buffer):
3902 * mail/mailalias.el (mail-complete):
3903 * mail/sendmail.el (mail-sent-via):
3904 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
3905 (mouse-major-mode-menu):
3906 * password-cache.el (password-read-and-add):
3907 * pcomplete.el (pcomplete-parse-comint-arguments):
3908 * progmodes/sh-script.el (sh-maybe-here-document):
3909 * replace.el (query-replace-regexp-eval):
3910 * savehist.el (savehist-load):
3911 * simple.el (choose-completion-delete-max-match):
3912 * term.el (term-dynamic-simple-complete):
3913 * vc/ediff-init.el (ediff-check-version):
3914 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
3915 * vc/vc.el (vc-diff-switches-list):
3916 * view.el (view-return-to-alist-update): Likewise.
3917
3918 * subr.el (eval-next-after-load, makehash, insert-string)
3919 (assoc-ignore-representation, assoc-ignore-case): Use declare to
3920 mark obsolete.
3921 (mode-line-inverse-video): Variable deleted.
3922
3923 * international/mule-util.el (string-to-sequence): Remove.
3924
3925 * calendar/calendar.el (calendar-version):
3926 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
3927 (icalendar-convert-diary-to-ical):
3928 * cus-edit.el (custom-mode):
3929 * ansi-color.el (ansi-color-unfontify-region):
3930 * international/latin1-disp.el (latin1-char-displayable-p):
3931 * progmodes/cwarn.el (turn-on-cwarn-mode):
07b1a5fb
SM
3932 * progmodes/which-func.el (which-func-update-1):
3933 Use define-obsolete-function-alias.
59f7af81
CY
3934
3935 * net/newst-backend.el (newsticker-cache-filename):
07b1a5fb
SM
3936 * net/newst-treeview.el (newsticker-groups-filename):
3937 Fix incorrect obsolescence declaration.
59f7af81
CY
3938
3939 * allout.el (allout-passphrase-hint-string): Likewise.
3940 (allout-init): Use a declare form to mark obsolete.
3941
3942 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
3943 this applies to functions.
3944
3945 * iswitchb.el (iswitchb-read-buffer): Move code of
3946 iswitchb-define-mode-map here, and delete that obsolete function.
3947
3948 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
3949 font-lock-reference-face.
3950
cca96c97
GM
39512012-09-25 Glenn Morris <rgm@gnu.org>
3952
b06eeda8
GM
3953 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
3954 Doc fixes.
3955
cca96c97
GM
3956 * eshell/em-term.el (eshell-term-name):
3957 Default to term-term-name. (Bug#12485)
3958
dc4f818b
FEG
39592012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
3960
cca96c97
GM
3961 * progmodes/python.el (python-shell-send-buffer): Better handling
3962 of "if __name__ == '__main__':" conditionals when sending the buffer.
dc4f818b 3963
289c24bd
GM
39642012-09-24 Glenn Morris <rgm@gnu.org>
3965
3966 * eshell/esh-cmd.el (eshell-find-alias-function):
3967 Tighten up file-name regexp. (Bug#12499)
3968
8fb8b88f
FEG
39692012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
3970
3971 Enhancements for triple-quote string syntax.
3972 * progmodes/python.el (python-quote-syntax): Remove.
3973 (python-syntax-propertize-function): New value.
07b1a5fb
SM
3974 (python-syntax-count-quotes, python-syntax-stringify):
3975 New functions.
8fb8b88f 3976
6c27f0f8
CY
39772012-09-24 Chong Yidong <cyd@gnu.org>
3978
a5f2b6ec
CY
3979 * mail/supercite.el (sc-version): Remove obsolete function.
3980 (sc-describe): Don't mark as obsolete, since it is bound.
3981 (sc-submit-bug-report): Remove.
3982
3983 * vc/log-edit.el (cvs-changelog-full-paragraphs)
3984 (cvs-commit-buffer-require-final-newline): Remove.
0c765e5f
CY
3985 (log-edit-require-final-newline)
3986 (log-edit-changelog-full-paragraphs): Default to t.
a5f2b6ec
CY
3987
3988 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
3989 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
3990 * vc/vc.el (vc-checkout-carefully): Likewise.
3991
3992 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
3993 (emerge-version): Remove.
3994
3995 * progmodes/compile.el (compile-internal): Remove.
3996 (compilation-parse-errors-function): Fix typo.
3997
3998 * international/mule.el (set-char-table-default): Remove.
3999 (set-coding-priority, make-coding-system, generic-char-p)
4000 (charset-list, charset-bytes, charset-id): Use declare to mark
4001 functions as obsolete.
4002
4003 * vc/pcvs-defs.el (cvs-buffer-name-alist)
4004 (cvs-invert-ignore-marks): Remove references to obsolete vars.
4005 * vc/vc-hooks.el (vc-default-registered): Don't use
4006 vc-master-templates.
4007
07b1a5fb
SM
4008 * font-lock.el (font-lock-reference-face):
4009 Use define-obsolete-variable-alias.
6c27f0f8
CY
4010
4011 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
4012 * calendar/calendar.el (calendar-font-lock-keywords):
4013 * calendar/diary-lib.el (diary-font-lock-keywords)
4014 (diary-fancy-font-lock-keywords):
4015 * textmodes/reftex-sel.el (reftex-insert-docstruct):
4016 * textmodes/reftex-index.el (reftex-insert-index):
4017 * textmodes/reftex-cite.el (reftex-format-bib-entry):
4018 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
4019 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
4020 * progmodes/prolog.el (prolog-font-lock-keywords):
4021 * progmodes/idlwave.el (idlwave-idl-keywords):
4022 * progmodes/ada-mode.el (ada-font-lock-keywords):
4023 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
4024
bcc0adbf
GM
40252012-09-24 Glenn Morris <rgm@gnu.org>
4026
4027 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
4028
095bb823
FEG
40292012-09-23 Fabián Ezequiel Gallina <fgallina@cuca>
4030
4031 * progmodes/python.el (python-indent-line): More consistent cursor
4032 movement behavior.
4033
70efc5c9
SM
40342012-09-23 Stefan Merten <smerten@oekonux.de>
4035
4036 * textmodes/rst.el: Fix compiler warning.
4037
2f438239
RW
40382012-09-23 Roland Winkler <winkler@gnu.org>
4039
07b1a5fb
SM
4040 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
4041 Transcribe also LaTeX hyphenation.
2f438239
RW
4042 (bibtex-reformat): Bug fix. Do not quote twice the elements of
4043 bibtex-reformat-previous-options.
4044
936ad041
RW
40452012-09-23 Roland Winkler <winkler@gnu.org>
4046
4047 * proced.el (proced-renice-command): New variable.
4048 (proced-marked-processes): New function.
4049 (proced-with-processes-buffer): New macro.
4050 (proced-send-signal): Use them.
4051 (proced-renice): New command bound to r.
4052
6fab0274
RW
40532012-09-23 Roland Winkler <winkler@gnu.org>
4054
4055 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
4056 ibuffer-saved-filter-groups has one element, shortcut the call of
4057 completing-read. (Bug#12331)
4058
9a930676
CY
40592012-09-23 Chong Yidong <cyd@gnu.org>
4060
4061 * bindings.el (mode-line-toggle-read-only):
4062 * bs.el (bs-toggle-readonly):
4063 * buff-menu.el (Buffer-menu-toggle-read-only):
4064 * dired.el (dired-toggle-read-only):
4065 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
4066
d07ff9db
CY
40672012-09-23 Chong Yidong <cyd@gnu.org>
4068
4069 * image.el (image-type-available-p): Adapt to init-image-library
4070 argument changes.
4071
51c4474e
JL
40722012-09-22 Juri Linkov <juri@jurta.org>
4073
4074 * dired.el (dired-mode-map): Add [remap read-only-mode] for
4075 `dired-toggle-read-only'. (Bug#12462)
4076
43bf5e8e
MR
40772012-09-22 Martin Rudalics <rudalics@gmx.at>
4078
4079 * subr.el (temp-output-buffer-show): New function.
4080 (with-output-to-temp-buffer): Call temp-output-buffer-show
4081 instead of internal-temp-output-buffer-show.
4082
c88b867f
CY
40832012-09-22 Chong Yidong <cyd@gnu.org>
4084
3df47cd5
CY
4085 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
4086 (Bug#12462).
4087
c88b867f
CY
4088 * repeat.el (repeat): Doc fix (Bug#12348).
4089
4090 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
4091 (Bug#10909).
4092
4093 * simple.el (shell-command-on-region): Doc fix.
3171e303 4094 (read-only-mode): Doc fix.
c88b867f 4095
df9685f3
EZ
40962012-09-22 Eli Zaretskii <eliz@gnu.org>
4097
4098 * emacs-lisp/timer.el (run-with-idle-timer)
4099 (timer-activate-when-idle): Warn against reinvoking an idle timer
4100 from within its own timer action. (Bug#12447)
4101
8e17c9ba
MR
41022012-09-22 Martin Rudalics <rudalics@gmx.at>
4103
4104 * cus-start.el (window-combination-limit): Add new optional
4105 values.
4106 * window.el (temp-buffer-window-show)
4107 (window--try-to-split-window): Handle new values of
4108 window-combination-limit (Bug#1806).
4109 (split-window): Test window-combination-limit for t instead of
4110 non-nil.
4111 (display-buffer-at-bottom): New buffer display action function.
4112 * help.el (temp-buffer-resize-regexps): New option.
4113 (temp-buffer-resize-mode): Rewrite doc-string.
4114 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
bd909927 4115 Don't resize reused window. Suggested by Glenn Morris.
8e17c9ba 4116
48a24920
SM
41172012-09-22 Stefan Merten <smerten@oekonux.de>
4118
70efc5c9 4119 * textmodes/rst.el: Revamp section title faces.
48a24920
SM
4120 (rst-official-version)
4121 (rst-package-emacs-version-alist): Sync with official version
4122 V1.4.0.
4123 (rst-faces-defaults, rst-set-level-default)
4124 (rst-level-face-max, rst-level-face-base-color)
4125 (rst-level-face-base-light, rst-level-face-format-light)
4126 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
4127 (rst-adornment-faces-alist): Match new setup.
4128 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
4129 (rst-level-5, rst-level-6): New faces.
4130
82f8cd94
CY
41312012-09-22 Chong Yidong <cyd@gnu.org>
4132
4133 * simple.el (undo): Handle indirect buffers (Bug#8207).
4134
acfa068f 41352012-09-21 Leo Liu <sdl.web@gmail.com>
a8c14da8
LL
4136
4137 IDO: Disable match re-ordering for buffer switching.
2bc9406c 4138 * ido.el (ido-buffer-disable-smart-matches): New variable.
a8c14da8
LL
4139 (ido-set-matches-1): Use it. (Bug#2042)
4140
acfa068f 41412012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
a316d229
JM
4142
4143 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
4144 Fix 2011-05-17 change. (Bug#12418)
4145
acfa068f 41462012-09-21 Leo Liu <sdl.web@gmail.com>
d02e58f8
LL
4147
4148 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
4149
acfa068f 41502012-09-21 Glenn Morris <rgm@gnu.org>
511fd0b2
GM
4151
4152 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
4153 Be more robust about locating simple.el.
4154
acfa068f 41552012-09-21 Glenn Morris <rgm@gnu.org>
fa05bfe0
GM
4156
4157 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
4158
acfa068f
CY
41592012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
4160
4161 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
4162
41a97e6f
JL
41632012-09-20 Juri Linkov <juri@jurta.org>
4164
eb2deaff
JL
4165 * replace.el (query-replace-read-from): Use `read-regexp' instead
4166 of `read-from-minibuffer' when `regexp-flag' is non-nil.
4167 (occur-read-primary-args): Use `read-regexp' instead of
4168 `read-string'.
4169 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
4170 `read-from-minibuffer'.
4171 * isearch.el (isearch-occur): Use `read-regexp' instead of
4172 `read-string'.
4173 * dired.el (dired-read-regexp): Use `read-regexp' instead of
4174 `read-from-minibuffer'.
4175 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
4176 of `read-string'. (Bug#7567)
4177
5825610b
JL
4178 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
4179 and allow accepting a list of strings prepended to a list of
4180 standard default values. Doc fix. (Bug#12321)
4181
eebbf404
JL
4182 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
4183
41a97e6f
JL
4184 * replace.el (read-regexp): Don't add ": " when PROMPT already
4185 ends with a colon and space. (Bug#12321)
4186
c9e452d3
TH
41872012-09-20 Tassilo Horn <tsdh@gnu.org>
4188
4189 * doc-view.el (doc-view-display): Better fix for the cl-assertion
4190 error.
4191
ee97deee
SM
41922012-09-20 Stefan Merten <smerten@oekonux.de>
4193
70efc5c9 4194 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
ee97deee
SM
4195 Fixes feature request bug#11711.
4196 (rst-mode): Create `imenu-create-index-function'.
4197 (rst-get-stripped-line): Delete after refactoring.
4198 (rst-section-tree, rst-section-tree-rec)
4199 (rst-section-tree-point): Refactor and document properly.
4200 (rst-imenu-find-adornments-for-position)
07b1a5fb
SM
4201 (rst-imenu-convert-cell, rst-imenu-create-index):
4202 New function.
ee97deee 4203
f490dab9
SM
42042012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
4205
95b9712e
SM
4206 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
4207 (macroexp--expand-all): Use it.
4208 (macroexp--funcall-and-return): Remove by folding it into its sole
4209 caller (macroexp--warn-and-return).
4210 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
4211 Use macroexp--obsolete-warning.
4212
f490dab9
SM
4213 * calc/calc.el: Fix last change by removing the whole chunk, since it
4214 was only needed back when Calc was not bundled.
4215
96e8d411
MR
42162012-09-20 Martin Rudalics <rudalics@gmx.at>
4217
4218 * emacs-lisp/debug.el (debug): Restore assignment to
4219 debugger-old-buffer removed on 2012-09-08.
4220
0876a82d
JL
42212012-09-20 Juri Linkov <juri@jurta.org>
4222
4223 * dired-aux.el (dired-diff): Remove (require 'diff) since
4224 `diff-latest-backup-file' is now autoloaded.
4225
9f7c28f0
CY
42262012-09-20 Chong Yidong <cyd@gnu.org>
4227
4228 * vc/diff.el (diff-latest-backup-file): Autoload.
4229
7a04bee9
SM
42302012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
4231
e6f0a80d
SM
4232 * calc/calc.el: Remove redundant autoload shape check.
4233 (sel-mode): Don't defvar.
4234 (calc-get-stack-element): Add `sel-mode' arg instead.
4235 (calc-top, calc-top-list): Pass it this additional argument.
4236 * calc/calc-store.el (calc-store-map):
4237 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
4238 (calc-map-equation, calc-outer-product, calc-inner-product):
4239 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
4240
7a04bee9
SM
4241 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
4242
12734222
JL
42432012-09-19 Juri Linkov <juri@jurta.org>
4244
4245 * dired-aux.el (dired-diff): Add (require 'diff) because
4246 `diff-latest-backup-file' is not autoloaded.
4247 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
4248 of `dired-get-filename' to t to not report error when there is
4249 no default file on the current line.
4250
46624b4f
SM
42512012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
4252
ce97595b
SM
4253 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
4254 macroexp--eval-if-compile.
4255 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
4256 (macroexp--expand-all): Use them (bug#12371).
4257
46624b4f
SM
4258 * doc-view.el (doc-view-guess-paper-size)
4259 (doc-view-scale-bounding-box): Fix unbound `caddr'.
4260
db8a5a18
TH
42612012-09-19 Tassilo Horn <tsdh@gnu.org>
4262
4263 New feature: set optimal slice from BoundingBox information.
4264 * doc-view.el (doc-view-mode-map): Add keybinding.
4265 (doc-view-menu): Add menu entry.
4266 (doc-view-set-slice): Adapt docstring.
4267 (doc-view-get-bounding-box, doc-view-guess-paper-size)
4268 (doc-view-scale-bounding-box)
4269 (doc-view-set-slice-from-bounding-box): New functions.
4270 (doc-view-paper-sizes): New defvar.
4271
69f6644c
GM
42722012-09-19 Glenn Morris <rgm@gnu.org>
4273
35f5b19d
GM
4274 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
4275 (byte-compile-log-warning): Autoload. (Bug#12371)
4276
69f6644c
GM
4277 * calendar/calendar.el (calendar-american-month-header)
4278 (calendar-european-month-header, calendar-iso-month-header)
4279 (calendar-month-header): New options.
4280 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
4281 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
4282
e543ae91
JD
42832012-09-19 Jan Djärv <jan.h.d@swipnet.se>
4284
4285 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
4286
2fd5e67d
JL
42872012-09-18 Juri Linkov <juri@jurta.org>
4288
4289 * dired-aux.el (dired-diff): Restore original functionality of
4290 getting the default value, but keep new feature of using the
4291 latest existing backup file (`diff-latest-backup-file').
4292
42917e79
JL
42932012-09-18 Juri Linkov <juri@jurta.org>
4294
4295 * dired.el (dired-mark): If the region is active in Transient Mark
4296 mode, mark all files in the active region. Doc fix.
4297 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
4298 Doc fix. (Bug#10624)
4299
20f70ede
JL
43002012-09-18 Juri Linkov <juri@jurta.org>
4301
4302 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
4303 attributes for M-n are pulled from the file at point.
4304 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
4305 Suggested by Drew Adams. (Bug#10624)
4306
32fb8162
DG
43072012-09-18 Dmitry Gutov <dgutov@yandex.ru>
4308
4309 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
4310 whitespace after "end".
4311 (ruby-do-end-to-brace): Collapse block to one line if it fits
4312 within fill-column.
4313
37ab5092
MR
43142012-09-18 Martin Rudalics <rudalics@gmx.at>
4315
4316 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
4317 value.
4318 (debug): Don't remove debugger window when debugger is expected
4319 to be back.
4320
ed1f0bd3
CY
43212012-09-18 Chong Yidong <cyd@gnu.org>
4322
4323 * custom.el (defface): Doc fix.
4324
4325 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
4326
a11035b8
MB
43272012-09-18 Martin Blais <blais@furius.ca> (tiny change)
4328
4329 * progmodes/compile.el (compilation-start): Use compilation-always-kill
4330 to initialize query-on-exit; then test that instead (bug#12288).
4331
64f6a736
SM
43322012-09-17 Stefan Merten <smerten@oekonux.de>
4333
70efc5c9 4334 * textmodes/rst.el: Add support for `testcover'.
64f6a736
SM
4335 (rst-defcustom-testcover, rst-testcover-add-compose)
4336 (rst-testcover-add-1value): New functions.
4337 (rst-portable-mark-active-p): Replace by `use-region-p'.
4338 (rst-update-section, rst-classify-adornment)
4339 (rst-find-title-line): Mark `1value' forms.
4340 (rst-classify-adornment): Remove superfluous form.
4341 (rst-update-section, rst-get-adornments-around)
4342 (rst-adornment-complete-p, rst-get-next-adornment)
4343 (rst-adjust, rst-promote-region)
4344 (rst-display-adornments-hierarchy, rst-straighten-adornments)
4345 (rst-find-pfx-in-region, rst-section-tree-rec)
4346 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
4347 (rst-toc-node, rst-toc, rst-forward-section)
4348 (rst-iterate-leftmost-paragraphs)
4349 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
4350 (rst-bullet-list-region)
4351 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
4352 (rst-compile-find-conf, rst-compile)
4353 (rst-repeat-last-character): Fix style.
4354
580bd868
CY
43552012-09-17 Chong Yidong <cyd@gnu.org>
4356
4357 * comint.el (comint--complete-file-name-data): Don't add a space
4358 if the status is `sole'; that adds a gratuitous space in the
4359 completion-cycling case (Bug#12092).
4360
4361 * pcomplete.el (pcomplete-completions-at-point): Likewise.
4362
69de3ec6
RS
43632012-09-17 Richard Stallman <rms@gnu.org>
4364
0dee970c
RS
4365 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
4366 only in the mime-shown mode, not in raw mode.
4367 (rmail-mime): Toggle off mime by displaying the message without
6b250df6 4368 mime processing. (Bug#12305)
0dee970c 4369
6b250df6
GM
4370 * mail/rmail.el (rmail-retry-failure):
4371 Turn off mime processing first. (Bug#12037)
acb1c47b 4372
69de3ec6
RS
4373 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
4374
d079ee5f
CY
43752012-09-17 Chong Yidong <cyd@gnu.org>
4376
4377 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
4378 (shell-dynamic-complete-functions): Convert to defcustom.
4379 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
4380
865fe16f
CY
4381 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
4382 * comint.el (comint-prompt-read-only):
4383 * custom.el (defcustom):
4384 * hi-lock.el (hi-lock-mode):
4385 * ibuffer.el (ibuffer-formats):
4386 * ielm.el (ielm-prompt-read-only):
4387 * novice.el (disable-command):
4388 * saveplace.el (toggle-save-place):
4389 * speedbar.el (speedbar-supported-extension-expressions):
4390 * startup.el (auto-save-list-file-prefix, init-file-user)
4391 (after-init-hook, inhibit-startup-echo-area-message):
4392 * strokes.el (strokes-help):
4393 * time-stamp.el (time-stamp):
4394 * calendar/calendar.el (calendar, diary-file):
4395 * calendar/diary-lib.el (diary-mail-entries, diary)
4396 (diary-list-entries-hook):
4397 * calendar/holidays.el (holidays, calendar-holidays):
4398 * calendar/lunar.el (lunar-phases):
4399 * calendar/solar.el (sunrise-sunset):
4400 * emulation/edt.el (edt-load-keys):
4401 * emulation/viper.el (viper-mode):
4402 * eshell/em-alias.el (eshell-command-aliases-list):
4403 * eshell/esh-util.el (eshell-convert-numeric-arguments):
4404 * international/ogonek.el (ogonek-information):
4405 * net/tramp-cmds.el (tramp-bug):
4406 * net/quickurl.el (quickurl-reread-hook-postfix):
4407 * play/decipher.el (decipher-font-lock-keywords):
4408 * progmodes/cc-styles.el (c-set-style):
4409 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
4410 * progmodes/inf-lisp.el (inferior-lisp-prompt):
4411 * progmodes/octave-mod.el (octave-mode):
4412 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
4413 * progmodes/verilog-mode.el (verilog-read-defines):
4414 * textmodes/two-column.el (2C-mode): Likewise.
4415
48093eb9
KY
44162012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
4417
4418 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
4419 that holds many addresses.
4420
c584eaf9
CY
44212012-09-16 Chong Yidong <cyd@gnu.org>
4422
40d70ecb
CY
4423 * align.el (align-areas): Call the indication function with
4424 positions instead of markers for arguments (Bug#12343).
4425
1667e065
CY
4426 * files.el (parse-colon-path): Use split-string (Bug#12351).
4427
fdc2806d 4428 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
71ce58e7 4429 (display-buffer-function): Mark as obsolete.
fdc2806d 4430
f1be615c 4431 * progmodes/compile.el (compilation-parse-errors): Accept list
ce97595b
SM
4432 values similar to font-lock-keywords (Bug#12136).
4433 Suggested by Oleksandr Manzyuk.
c584eaf9
CY
4434 (compilation-error-regexp-alist): Doc fix.
4435
f40a9709
GM
44362012-09-15 Glenn Morris <rgm@gnu.org>
4437
72aa16e1
GM
4438 * version.el (emacs-bzr-version-bzr): New function.
4439 (emacs-bzr-get-version): Add optional EXTERNAL argument.
4440
82375160
GM
4441 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
4442 checkouts, check the parent dirstate matches the branch.
4443 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
4444 empty string.
4445
f40a9709
GM
4446 * version.el (emacs-bzr-version): Doc fix.
4447 (emacs-bzr-version-dirstate): New function.
4448 (emacs-bzr-get-version): For lightweight checkouts, if the parent
4449 is local try and check that it matches the branch. If not, just
4450 use dirstate information. (Bug#12441)
4451
cb26b7f5
JL
44522012-09-14 Juri Linkov <juri@jurta.org>
4453
4454 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
4455 (Bug#12399)
4456
2de39f08
SM
44572012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
4458
0fb3cb7c
SM
4459 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
4460
2de39f08
SM
4461 * emacs-lisp/edebug.el: Miscellaneous cleanup.
4462 Remove obsolete byte-compiler hack that tried to silence some warnings.
4463 (edebug-submit-bug-report): Remove.
4464 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
4465 Remove aliases, use the un-prefixed name instead.
4466 (edebug-pop-to-buffer): Consider other frames.
4467 (edebug-original-read):: Make it more obvious that it's always defined.
4468 (edebug--make-form-data-entry, edebug--form-data-name)
4469 (edebug--form-data-begin, edebug--form-data-end): Rename from the
4470 single-dashed name, and implement with cl-defstruct.
4471 (edebug-set-form-data-entry): Use the standard accessors.
4472 (edebug-make-top-form-data-entry): Use push.
4473 (edebug-no-match): Drop useless `funcall'.
4474 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
4475 to functions.
4476 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
4477 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
4478 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
4479 (easy-menu-define, with-custom-print): Remove redundant specs.
4480 (edebug-outside-overriding-local-map)
4481 (edebug-outside-overriding-terminal-local-map): Remove, unused.
4482 (edebug--display): Bind unread-command-events directly to nil rather
4483 than binding it to unread-command-events and later setting it to nil.
4484 (edebug--display): Kill edebug-eval-buffer here...
4485 (edebug--recursive-edit): ...rather than here.
4486 Bind standard-output and standard-input.
4487 (edebug-eval): Check cl-macroexpand-all is fboundp.
4488 (edebug-temp-display-freq-count): Fix last change.
4489
4490 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
4491 * subr.el (noreturn, 1value): Add `debug' spec.
4492 * emacs-lisp/advice.el: Require cl-lib.
4493 (ad-copy-tree): Remove, use copy-tree instead.
4494 (ad-dolist): Remove use dolist or cl-dolist instead.
4495 (ad-do-return): Remove, use cl-return instead.
4496 (defadvice): Add `debug' spec.
4497
5b68b333
JL
44982012-09-13 Juri Linkov <juri@jurta.org>
4499
4500 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
4501 (Bug#12399)
4502
b9800ec4
GM
45032012-09-13 Glenn Morris <rgm@gnu.org>
4504
6a2e6868
GM
4505 * calc/calc.el (math-compose-expr):
4506 * calc/calc-ext.el (math-compose-expr):
4507 * progmodes/cc-defs.el (cl-macroexpand-all):
4508 * progmodes/cc-langs.el (delete-duplicates, mapcan)
4509 (cl-macroexpand-all): Update declarations.
4510
b9800ec4
GM
4511 * vc/vc.el: No need to require ediff.
4512 (ediff-load-version-control): Declare.
4513 (ediff-vc-internal): Fix declaration.
4514 (vc-version-ediff): Require ediff.
4515
c18e885b
PE
45162012-09-13 Paul Eggert <eggert@cs.ucla.edu>
4517
4518 Use a more backwards-compatible timer format (Bug#12430).
4519 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
4520 being right after USECS, as that better supports old code that
4521 inadvisedly looked directly at the timer vector.
4522
d607d303
KH
45232012-09-13 Kenichi Handa <handa@gnu.org>
4524
4525 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
4526 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
4527 `coding-priority' property of these language environment.
4528
72eac303
PE
45292012-09-13 Paul Eggert <eggert@cs.ucla.edu>
4530
4531 Fix glitches caused by addition of psec to timers (Bug#12430).
4532 * image.el (image-animate-timer):
4533 * time.el (display-time-world-timer):
4534 Use timer--function and timer--args rather than raw access to
4535 timer vector.
4536
2168fe4f
GM
45372012-09-13 Glenn Morris <rgm@gnu.org>
4538
4539 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
4540 If not compiling a file, try using load-file-name.
4541
bd8d6108
SM
45422012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
4543
c0c54fbd
SM
4544 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
4545 Fix last change.
4546 (edebug-update-eval-list): Use `push'.
4547
bd8d6108
SM
4548 * emacs-lisp/edebug.el: Use lexical-binding.
4549 Remove the "edebug-" prefix from non-dynamically-scoped variables.
4550 Mark unused args with underscore.
4551 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
4552 (edebug-form-data): Use defvar-local.
4553 (edebug-make-before-and-after-form, edebug-make-after-form):
4554 Use backquote.
4555 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
4556 Not dynamically scoped any more.
4557 (edebug--enter-trace): Add arguments `function' and `args'.
4558 Rename from edebug-enter-trace.
4559 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
4560 (edebug--update-coverage): Add `after-index' and `value' args.
4561 Rename from edebug-update-coverage.
4562 (edebug-slow-after): Call it accordingly.
4563 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
4564 edebug-recursive-edit.
4565 (edebug--display): Call it accordingly. Add args `value',
4566 `offset-index', and `arg-mode'. Rename from edebug-display.
4567 (edebug-debugger, edebug): Call it accordingly.
4568 (edebug-eval-display-list): Use dolist.
4569
a9f9d9de
JL
45702012-09-12 Juri Linkov <juri@jurta.org>
4571
4572 * info.el (Info-search): Don't check for isearch-mode and
4573 isearch-regexp before let-binding search-spaces-regexp to
4574 Info-search-whitespace-regexp.
4575 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
4576 search-whitespace-regexp if isearch-lax-whitespace or
4577 isearch-regexp-lax-whitespace is non-nil.
4578 (Info-mode): Don't set local variable search-whitespace-regexp.
4579 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
4580
bfeae2cf
SM
45812012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
4582
4583 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
4584 (debugger-env-macro): Remove support for unread-command-char.
4585
4586 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
4587 the temporary map re-appearing on emulation-mode-map-alists.
4588
4589 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
4590 since 22.1.
4591
4592 * ehelp.el (with-electric-help): Accept functions in
4593 electric-help-form-to-execute.
4594 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
4595 And replace unread-command-char -> unread-command-events.
4596
fbbcaf1b
MA
45972012-09-12 Michael Albinus <michael.albinus@gmx.de>
4598
4599 Sync with Tramp 2.2.6.
4600
4601 * net/tramp.el (tramp-accept-process-output): Don't use
4602 JUST-THIS-ONE in the XEmacs case.
4603
4604 * net/trampver.el: Update release number.
4605
4dece104
MR
46062012-09-12 Martin Rudalics <rudalics@gmx.at>
4607
bfeae2cf
SM
4608 * emacs-lisp/debug.el (debugger-previous-window-height):
4609 New variable.
4dece104
MR
4610 (debug): When debugger-jumping-flag is non-nil try to restore
4611 height of debugger window. (Bug#8789)
4612
45b82ad0
SM
46132012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
4614
60c49c0f
SM
4615 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
4616 overriding-local-map and pre/post-command-hook here.
4617 (edebug-recursive-edit): Do it here instead (bug#12345).
4618 (edebug-outside-unread-command-char): Remove all uses of
4619 unread-command-char.
4620
45b82ad0
SM
4621 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
4622 inhibit-debugger is bound instead.
4623
baa26ea0
BG
46242012-09-11 Bastien Guerry <bzg@gnu.org>
4625
4626 * subr.el (set-temporary-overlay-map): Add a docstring.
fc0c31f8 4627 (Bug#12346)
baa26ea0 4628
04e8abfa
BG
46292012-09-11 Bastien Guerry <bzg@gnu.org>
4630
96d03571 4631 * minibuffer.el (completion-table-subvert): Fix docstring.
fc0c31f8 4632 (Bug#12347)
96d03571
BG
4633
46342012-09-11 Bastien Guerry <bzg@gnu.org>
4635
fc0c31f8 4636 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
04e8abfa 4637
04e082b0
MM
46382012-09-10 Michael R. Mauger <mmaug@yahoo.com>
4639
4640 * progmodes/sql.el: Version 3.1
4641 (sql-db2-escape-newlines): New variable.
4642 (sql-escape-newlines-filter): Use it.
4643
399a361b
JB
46442012-09-10 Juanma Barranquero <lekktu@gmail.com>
4645
4646 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
4647
0780c517
DN
46482012-09-10 Dan Nicolaescu <dann@gnu.org>
4649
45b82ad0
SM
4650 * vc/diff-mode.el (diff-mode-menu):
4651 Bind diff-remove-trailing-whitespace.
0780c517 4652
9b851e25
SM
46532012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
4654
4655 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
fc0c31f8
JB
4656 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
4657 (emacs-lisp-byte-code-mode): New functions.
9b851e25
SM
4658 (eval-sexp-add-defvars): Don't skip defvars in column >0.
4659 (eval-defun-2): Remove bogus interactive spec.
4660 (lisp-indent-line): Remove redundant whole-exp code, now done in
4661 indent-according-to-mode.
4662 (save-match-data): Remove redundant indent data.
4663
4664 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
4665 Use `declare'.
4666
3231d532
JL
46672012-09-09 Juri Linkov <juri@jurta.org>
4668
4669 * replace.el (replace-regexp-lax-whitespace): New defcustom.
4670 (replace-lax-whitespace, query-replace-regexp)
4671 (query-replace-regexp-eval, replace-regexp): Doc fix.
4672 (perform-replace, replace-highlight): Let-bind
4673 isearch-lax-whitespace to replace-lax-whitespace and
4674 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
4675
4676 * isearch.el (isearch-query-replace): Let-bind
4677 replace-lax-whitespace to isearch-lax-whitespace and
4678 replace-regexp-lax-whitespace to
4679 isearch-regexp-lax-whitespace. (Bug#10885)
4680
70fe8236
SM
46812012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
4682
4683 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
4684
8ed43f15
AM
46852012-09-09 Alan Mackenzie <acm@muc.de>
4686
70fe8236
SM
4687 * progmodes/cc-engine.el (c-state-cache-init):
4688 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
4689 (c-record-parse-state-state):
4690 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
8ed43f15 4691
bfabf70a
AS
46922012-09-09 Andreas Schwab <schwab@linux-m68k.org>
4693
4694 * register.el (register-separator): Rename from
4695 separator-register. All uses changed. Doc fix.
4696 (register): Fix version.
4697
011474aa
CY
46982012-09-09 Chong Yidong <cyd@gnu.org>
4699
4700 * replace.el (query-replace-map): Bind four new symbols for
4701 requesting window scrolling.
4702
4703 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
4704 query-replace-map (Bug#8948).
4705
4706 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
4707
4708 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
4709 since they are now in query-replace-map.
4710
4711 * window.el (scroll-other-window-down): Make the arg optional.
4712
a8b7cd8d
CY
47132012-09-09 Chong Yidong <cyd@gnu.org>
4714
4715 * files.el (hack-local-variables-confirm): Use quit-window to kill
4716 the *Local Variables* buffer.
4717
c3268831
DG
47182012-09-08 Dmitry Gutov <dgutov@yandex.ru>
4719
4720 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
4721 not just expect to be at its beginning. Adjust callees.
4722 Succeed when do-end block has no space before the pipe character.
4723 (ruby-brace-to-do-end): When the original block is one-liner,
4724 convert to multiline. Reindent the result.
4725
0979429b
J
47262012-09-08 Jambunathan K <kjambunathan@gmail.com>
4727
4728 * register.el (register): New group.
27359e99 4729 (separator-register): New user option.
0979429b
J
4730 (increment-register): Route it to `append-to-register', if
4731 register contains text. Implication is that `C-x r +' can now be
4732 used for appending to a text register (bug#12217).
4733 (append-to-register, prepend-to-register): Add separator based on
5b9c45a6 4734 `separator-register'.
0979429b 4735
ace2989a
AM
47362012-09-08 Alan Mackenzie <acm@muc.de>
4737
4738 AWK Mode: make auto-newline work when there's "==" in the pattern.
4739 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
4740 correctly.
0979429b
J
4741 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
4742 Test more rigorously for "=" token.
ace2989a 4743
616c6c36
DG
47442012-09-08 Dmitry Gutov <dgutov@yandex.ru>
4745
0979429b
J
4746 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
4747 Only fail when reached LIMIT.
616c6c36 4748
35d98877
CY
47492012-09-08 Chong Yidong <cyd@gnu.org>
4750
4751 * dired.el (dired-mode-map): Don't bind M-=.
4752
4753 * dired-aux.el (dired-diff): Use backup file as default.
4754
1715f2db
DA
47552012-09-08 Drew Adams <drew.adams@oracle.com>
4756
4757 * subr.el (add-to-history): Fix delete usage (Bug#12314).
4758
6dcef6ec
CY
47592012-09-08 Chong Yidong <cyd@gnu.org>
4760
4761 * subr.el (syntax-after, syntax-class): Doc fix.
4762
fa2bcf43
MR
47632012-09-08 Martin Rudalics <rudalics@gmx.at>
4764
4765 * window.el (display-buffer-in-previous-window): New buffer
4766 display action function.
4767
4768 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
4769 (debugger-previous-window): New variable.
4770 (debug): Rewrite using display-buffer-in-previous-window,
4771 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
4772
daac280a
SM
47732012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
4774
4775 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
4776
9dd40b00
MM
47772012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
4778
daac280a
SM
4779 * progmodes/python.el (python-shell-send-string):
4780 When default-directory is remote, create temp file on remote
9dd40b00
MM
4781 filesystem.
4782 (python-shell-send-file): When file is remote, pass local view of
4783 file paths to remote Python interpreter. (Bug#12340)
4784
145823ec
CY
47852012-09-07 Chong Yidong <cyd@gnu.org>
4786
cee2e90d
CY
4787 * window.el (switch-to-buffer): Doc fix (Bug#12181).
4788
0d7eb2ea
CY
4789 * files.el (after-find-file): Don't fail on a read-only buffer if
4790 require-final-newline is `visit' or `visit-save' (Bug#11156).
4791
145823ec
CY
4792 * subr.el (read-char-choice): Allow quitting via ESC ESC.
4793
daac280a
SM
4794 * userlock.el (ask-user-about-supersession-threat):
4795 Use read-char-choice (Bug#12093).
145823ec 4796
74c582e6
CY
47972012-09-07 Chong Yidong <cyd@gnu.org>
4798
e5c2edf7
CY
4799 * subr.el (buffer-narrowed-p): New function.
4800
4801 * ses.el (ses-widen):
4802 * simple.el (count-words--buffer-message):
1f9f395d 4803 * net/browse-url.el (browse-url-of-buffer): Use it.
e5c2edf7
CY
4804
4805 * simple.el (count-words-region): Don't signal an error if there
4806 is a non-nil prefix arg and the mark is not set.
c640e87d 4807
74c582e6
CY
4808 * help.el (describe-key-briefly): Allow the message to be seen
4809 when invoked from the minibuffer (Bug#7014).
4810
d81ceaaf
DG
48112012-09-07 Dmitry Gutov <dgutov@yandex.ru>
4812
4813 * progmodes/ruby-mode.el (ruby-end-of-defun)
4814 (ruby-beginning-of-defun): Simplify, allow indentation before
4815 block beginning and end keywords.
8f06acce
DG
4816 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
4817 (ruby-end-of-defun): Expect that the point is at the beginning of
4818 the defun.
d81ceaaf 4819
d458ef98
SM
48202012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4821
4822 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
4823 (bug#12367).
4824 (cl--make-usage-args): Strip _ from argument names.
4825
20367d28
RS
48262012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4827
4828 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
4829 obsolete alias speedbar-key-map.
4830 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
4831 (vhdl-index-menu-init): Don't use obsolete variable
4832 font-lock-maximum-size.
4833
3424a4f6
CY
48342012-09-06 Chong Yidong <cyd@gnu.org>
4835
4836 * frame.el (window-system-version): Mark as obsolete.
4837
fcbfbdea
CY
4838 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
4839 of obsolete variable speedbar-key-map.
4840
826b3235
JL
48412012-09-06 Juri Linkov <juri@jurta.org>
4842
4843 * replace.el (replace-lax-whitespace): New defcustom.
4844 (query-replace, query-replace-regexp, query-replace-regexp-eval)
4845 (replace-string, replace-regexp): Mention it in docstrings.
4846 (perform-replace, replace-highlight): Let-bind
4847 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
4848 to the values of replace-lax-whitespace and regexp-flag.
4849 Don't let-bind search-whitespace-regexp. (Bug#10885)
4850
4851 * isearch.el (isearch-query-replace): Let-bind
4852 replace-lax-whitespace instead of let-binding
4853 replace-search-function and replace-re-search-function.
4854 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
4855 and isearch-regexp-lax-whitespace to lazy-highlight variables.
4856 (isearch-toggle-symbol): Set isearch-regexp to nil
4857 in isearch-word mode (like in isearch-toggle-word).
4858
1ec5e41d
JL
48592012-09-06 Juri Linkov <juri@jurta.org>
4860
4861 * replace.el (replace-search-function)
4862 (replace-re-search-function): Set default values to nil.
4863 (perform-replace): Let-bind isearch-related variables based on
4864 replace-related values, call `isearch-search-fun' and let-bind
4865 the result to `search-function'. Remove code that sets
4866 `search-function' and `search-string' separately for
4867 `delimited-flag'.
4868 (replace-highlight): Add new argument `delimited-flag' and
4869 rename other arguments to the names used in `perform-replace'.
4870 Let-bind `isearch-word' to the argument `delimited-flag'.
4871 (Bug#10885, bug#10887)
4872
0ba2d4b6
DG
48732012-09-07 Dmitry Gutov <dgutov@yandex.ru>
4874
4875 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
4876 ruby-beginning-of-indent, simplify, allow all keywords to have
4877 indentation before them.
4878 (ruby-beginning-of-indent): Adjust for above. Search until the
4879 found point is not inside a string or comment.
4880 (ruby-font-lock-keywords): Allow symbols to start with "@"
4881 character, give them higher priority than variables.
4882 (ruby-syntax-propertize-function)
4883 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
4884 matchers. Expression expansions are not comments when inside a
4885 string, and there comment syntax status is irrelevant.
4886 (ruby-match-expression-expansion): New function. Check that
4887 expression expansion is inside a string, and it's not escaped.
4888 (ruby-font-lock-keywords): Use it.
4889
ef654460
MR
48902012-09-05 Martin Rudalics <rudalics@gmx.at>
4891
4892 * help.el (temp-buffer-max-height): New default value.
4893 (temp-buffer-resize-frames): New option.
4894 (resize-temp-buffer-window): Optionally resize frame.
4895
4896 * window.el (fit-frame-to-buffer-bottom-margin): New option.
4897 (fit-frame-to-buffer): New function.
4898
7e570fbf 48992012-09-05 Glenn Morris <rgm@gnu.org>
72308848
GM
4900
4901 * emulation/cua-rect.el (cua--init-rectangles):
4902 * textmodes/picture.el (picture-mode-map):
4903 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
4904 like forward-char and backward-char. (Bug#12317)
4905
7e570fbf 49062012-09-05 Leo Liu <sdl.web@gmail.com>
3aca1291
LL
4907
4908 * progmodes/flymake.el (flymake-warning-re): New variable.
4909 (flymake-parse-line): Use it.
4910
7e570fbf 49112012-09-05 Glenn Morris <rgm@gnu.org>
b6683353
GM
4912
4913 * calendar/holidays.el (holiday-christian-holidays):
4914 Rename an entry. (Bug#12289)
4915
7e570fbf 49162012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
64f8c4bd
SM
4917
4918 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
4919 (bug#12222).
4920
972debf2
SM
49212012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
4922
4923 * loadup.el: Load macroexp. Remove hack.
4924 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
4925 (macroexp--expand-all): Use it to get better warnings.
4926 (macroexp--backtrace, macroexp--trim-backtrace-frame)
4927 (internal-macroexpand-for-load): New functions.
4928 (macroexp--pending-eager-loads): New var.
4929 (emacs-startup-hook): New hack to replace one in loadup.el.
4930 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
4931 (cl--compiler-macro-cXXr): Move to top, before they can be used.
4932 (cl-psetf): Simplify.
4933 (cl-defstruct): Add indent rule.
4934
8ce192e3
LI
49352012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
4936
4937 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
4938 over `user-mail-address' for the SMTP MAIL FROM envelope.
4939 (smtpmail-via-smtp): Ditto.
4940
6578b4d8
DG
49412012-09-04 Dmitry Gutov <dgutov@yandex.ru>
4942
4943 * progmodes/ruby-mode.el: Clean up keybindings.
4944 (ruby-mode-map): Don't bind ruby-electric-brace,
4945 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
4946 backward-kill-word, reindent-then-newline-and-indent.
4947 (ruby-mark-defun): Remove.
4948 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
4949 (ruby-mode): Set local beginning-of-defun-function and
4950 end-of-defun-function values.
4951
c5e28e39
MR
49522012-09-03 Martin Rudalics <rudalics@gmx.at>
4953
4954 * window.el (temp-buffer-window-setup-hook)
4955 (temp-buffer-window-show-hook): New hooks.
4956 (temp-buffer-window-setup, temp-buffer-window-show)
4957 (with-temp-buffer-window): New functions.
972debf2
SM
4958 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
4959 (special-display-popup-frame): Make sure the window used shows BUFFER.
c5e28e39
MR
4960
4961 * help.el (temp-buffer-resize-mode): Fix doc-string.
4962 (resize-temp-buffer-window): New optional argument WINDOW.
4963
4964 * files.el (recover-file, save-buffers-kill-emacs):
4965 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
4966
73406194
MA
49672012-09-02 Michael Albinus <michael.albinus@gmx.de>
4968
4969 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
4970 remote definition of `default-directory', ensure we can connect.
4971
63dd1c6f
JL
49722012-09-02 Juri Linkov <juri@jurta.org>
4973
4974 Toggle whitespace matching mode with M-s SPC.
4975 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
4976
4977 * isearch.el (search-whitespace-regexp): Doc fix.
4978 Remove cons cell customization.
4979 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
4980 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
4981 New variables.
4982 (isearch-forward, isearch-forward-regexp): Doc fix.
4983 (isearch-toggle-lax-whitespace): New command.
4984 (search-forward-lax-whitespace, search-backward-lax-whitespace)
4985 (re-search-forward-lax-whitespace)
4986 (re-search-backward-lax-whitespace): New functions.
4987 (isearch-whitespace-regexp): Remove function.
4988 (isearch-query-replace): Let-bind replace-search-function and
4989 replace-re-search-function.
4990 (isearch-occur): Let-bind search-spaces-regexp according to the
4991 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
4992 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
4993 condition for C-q SPC.
4994 (isearch-search-fun-default): Use new functions mentioned above.
4995 (isearch-search-forward, isearch-search-backward): Remove functions.
4996 (isearch-search): Don't let-bind search-spaces-regexp.
4997 (isearch-lazy-highlight-space-regexp): Remove variable.
4998 (isearch-lazy-highlight-lax-whitespace)
4999 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
5000 (isearch-lazy-highlight-new-loop): Use them.
5001 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
5002
af7dda05
CY
50032012-09-02 Chong Yidong <cyd@gnu.org>
5004
5005 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
5006
d67d3afd
GM
50072012-09-02 Glenn Morris <rgm@gnu.org>
5008
5009 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
5010
69678719
GM
50112012-09-01 Glenn Morris <rgm@gnu.org>
5012
5013 * term.el: Tidy up menu definitions.
5014 (term-mode-map): Use easymenu for In/Out, Complete menus.
5015 (term-pager-break-map): Initialize in the defvar.
5016 (term-terminal-menu, term-signals-menu): Define with easymenu.
5017 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
5018 (term-pager-menu): New, extracted from term-process-pager.
5019 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
5020 (term-update-mode-line): Propertize line/char and page items.
5021 (term-process-pager): Move keymap initialization elsewhere.
5022
78dd6ab1
MR
50232012-09-01 Martin Rudalics <rudalics@gmx.at>
5024
5025 * window.el (switch-to-prev-buffer): Handle additional values of
5026 BURY-OR-KILL argument. Don't switch in minibuffer window.
5027 (switch-to-next-buffer): Don't switch in minibuffer window.
5028 (quit-restore-window): New function based on quit-window.
5029 Handle additional values of former KILL argument.
5030 (quit-window): Call quit-restore-window with appropriate
5031 interpretation of KILL argument.
5032 (display-buffer-below-selected): New buffer display action
5033 function.
5034
3d10e134
SM
50352012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
5036
5037 * minibuffer.el (completion-at-point-functions): Complete docstring
5038 (bug#12254).
5039
0e23ef9d
PE
50402012-09-01 Paul Eggert <eggert@cs.ucla.edu>
5041
5042 Better seed support for (random).
5043 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
5044 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
5045 * play/mpuz.el, play/tetris.el, play/zone.el:
5046 * calc/calc-comb.el (math-init-random-base):
5047 * play/blackbox.el (bb-init-board):
5048 * play/life.el (life):
5049 * server.el (server-use-tcp):
5050 * type-break.el (type-break):
5051 Remove unnecessary call to (random t).
5052 * net/sasl.el (sasl-unique-id-function):
5053 Change (random t) to (random), now that the latter is more random.
5054 * play/life.el (life-initialized): Remove no-longer-needed var.
5055
862382df
MR
50562012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
5057
5058 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
5059 Consider frame's buffer predicate when choosing the buffer.
5060 (Bug#12081)
5061
262a66e1
RS
50622012-08-30 Richard Stallman <rms@gnu.org>
5063
5064 * simple.el (special-mode-map): Delete binding for `z'.
5065
f17e1d00
AS
50662012-08-30 Andreas Schwab <schwab@linux-m68k.org>
5067
5068 * progmodes/compile.el (compilation-always-kill): Doc fix.
5069
24777832
CY
50702012-08-30 Chong Yidong <cyd@gnu.org>
5071
5072 * window.el (display-buffer-reuse-frames): Make the obsolescence
5073 message more informative.
5074
69ba1f04
GM
50752012-08-30 Glenn Morris <rgm@gnu.org>
5076
5077 * paren.el (show-paren-delay):
5078 Add a :set function. Doc fix. (Bug#12297)
5079
f0019ede
MB
50802012-08-29 Martin Blais <blais@furius.ca> (tiny change)
5081
5082 * progmodes/compile.el (compilation-always-kill): New var.
5083 (compilation-start): Use it.
5084
35e62fc9
SM
50852012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
5086
af070a1c
SM
5087 * simple.el (read-only-mode): Move from files.el for bootstrapping.
5088 * files.el (read-only-mode): Move to simple.el.
5089
35e62fc9
SM
5090 * files.el (read-only-mode): New minor mode.
5091 (toggle-read-only): Use it and mark obsolete.
5092 (find-file--read-only):
5093 * vc/vc.el (vc-next-action, vc-checkout):
5094 * vc/vc-cvs.el (vc-cvs-checkout):
5095 * obsolete/vc-mcvs.el (vc-mcvs-update):
5096 * ffap.el (ffap--toggle-read-only): Update callers.
5097
c2c43c23
MA
50982012-08-29 Michael Albinus <michael.albinus@gmx.de>
5099
5100 * eshell/esh-ext.el (eshell-external-command): Do not examine
972debf2
SM
5101 remote shell scripts.
5102 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
c2c43c23
MA
5103
5104 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
5105 "/usr/local/sbin".
5106
9fba804b
SM
51072012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
5108
5109 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
5110
eada0861 51112012-08-28 Leo Liu <sdl.web@gmail.com>
22ab32ef 5112
806f0cc7
LL
5113 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
5114 completion-at-point. (Bug#12220)
5115
3bb213b9
LL
5116 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
5117
22ab32ef
LL
5118 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
5119
eada0861 51202012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
db148c21 5121
19c17fc1
CY
5122 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
5123 be buffer-local; add delete-trailing-whitespace (bug#12259).
db148c21 5124
eada0861 51252012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
ffe6eaf1
JM
5126
5127 * progmodes/hideif.el (hif-compress-define-list):
5128 Fix typo. (Bug#11951)
5129
eada0861 51302012-08-28 Dan Nicolaescu <dann@gnu.org>
d30aca1b
DN
5131
5132 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
5133 buffer local setting.
5134
27d6c5a8
LL
5135 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
5136 rcirc-encode-coding-system.
5137
eada0861 51382012-08-28 Leo Liu <sdl.web@gmail.com>
4432d2e2
LL
5139
5140 * net/rcirc.el (rcirc-split-message): New function.
5141 (rcirc-send-message): Use it. (Bug#12051)
5142
d44688e4
JL
51432012-08-28 Juri Linkov <juri@jurta.org>
5144
5145 * info.el (Info-fontify-node): Hide empty lines at the end of
5146 the node. (Bug#12272)
5147
34f10d41
MR
51482012-08-27 Drew Adams <drew.adams@oracle.com>
5149
5150 * dired.el (dired-pop-to-buffer): Make window start at beginning
5151 of buffer (Bug#12281).
5152
77f1f99c
CY
51532012-08-26 Chong Yidong <cyd@gnu.org>
5154
5155 * window.el (special-display-regexps, special-display-frame-alist)
5156 (special-display-buffer-names, special-display-function)
5157 (display-buffer-reuse-frames): Mark as obsolete.
5158
5159 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
5160
5161 * help.el (help-print-return-message): Don't treat
5162 display-buffer-reuse-frames specially.
5163
d97af5a0
CY
51642012-08-26 Chong Yidong <cyd@gnu.org>
5165
9fba804b
SM
5166 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
5167 New variable, replacing gdb-frame-parameters.
d97af5a0
CY
5168 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
5169 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
5170 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
5171 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
5172 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
5173 the functions directly with gdb-display-buffer-other-frame-action.
5174 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
5175 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
5176 (gdb-display-stack-buffer, gdb-display-locals-buffer)
5177 (gdb-display-registers-buffer): Define directly.
5178 (def-gdb-display-buffer): Macro deleted.
5179 (gdb-display-buffer): Remove second and third args, callers don't
5180 use them. Defer to the default display-buffer behavior, apart
5181 from making windows dedicated.
5182 (gdb-setup-windows): Don't call display-buffer unnecessarily.
5183
5184 * progmodes/gud.el (gud-display-line): Just use display-buffer.
5185
5186 * window.el (display-buffer-pop-up-frame): Handle a
5187 pop-up-frame-parameters alist entry.
5188 (display-buffer): Document it.
5189
dd7ffad6
CY
51902012-08-26 Chong Yidong <cyd@gnu.org>
5191
5192 * isearch.el (search-whitespace-regexp): Make string and nil
5193 values apply to both ordinary and regexp search. Allow a cons
5194 cell value to distinguish between the two.
5195 (isearch-whitespace-regexp, isearch-search-forward)
5196 (isearch-search-backward): New functions.
5197 (isearch-occur, isearch-search-fun-default, isearch-search)
5198 (isearch-lazy-highlight-new-loop): Use them.
5199 (isearch-forward, isearch-forward-regexp): Doc fix.
5200
4c47bd1e
CY
52012012-08-26 Chong Yidong <cyd@gnu.org>
5202
5203 * faces.el (help-argument-name): Always inherit from italic
5204 (Bug#12213).
5205
9aba119d
MR
52062012-08-25 Martin Rudalics <rudalics@gmx.at>
5207
5208 * window.el (window--even-window-heights): Even heights when
5209 WINDOW and the selected window form a vertical combination.
5210 (display-buffer-use-some-window): Provide that window used gets
5211 sized back by quit-window. (Bug#11880) and (Bug#12091)
5212
ca5256ad
PE
52132012-08-24 Paul Eggert <eggert@cs.ucla.edu>
5214
5215 Fix file time stamp problem with bzr and CVS (Bug#12001).
5216 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
5217 in the file's time stamp, since the version control system loses
5218 that information.
5219
d1c0d176
JL
52202012-08-22 Juri Linkov <juri@jurta.org>
5221
5222 * info.el (Info-fontify-node): Hide the suffix of the
5223 Info file name in the header line. (Bug#12187)
5224
141562ff
GM
52252012-08-22 Glenn Morris <rgm@gnu.org>
5226
5227 * calendar/cal-tex.el (cal-tex-weekly-common):
5228 Restore leading blank page.
5229
3a21537c 52302012-08-22 Le Wang <l26wang@gmail.com>
add9ca2d
BG
5231
5232 * misc.el (forward-to-word, backward-to-word): Activate or extend
61a48e19
GM
5233 the region under `shift-select-mode'. (Bug#12231)
5234
52352012-08-22 Bastien Guerry <bzg@gnu.org>
0fcd3d9f
BG
5236
5237 * progmodes/executable.el (executable-prefix): Set to "#!" instead
5238 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
5239 gives details on why the space is never needed.
5240
ea95074e
MR
52412012-08-22 Martin Rudalics <rudalics@gmx.at>
5242
9fba804b
SM
5243 * window.el (walk-window-tree, window-with-parameter):
5244 New optional argument MINIBUF to control whether these functions
ea95074e
MR
5245 should run on the minibuffer window.
5246 (window-at-side-list): Don't operate on minibuffer window.
5247 (window-in-direction): Simplify and rewrite doc-string.
9fba804b
SM
5248 (window--size-ignore): Rename to window--size-ignore-p.
5249 Update callers.
caceae25
MR
5250 (display-buffer-in-atom-window, window--major-non-side-window)
5251 (window--major-side-window, display-buffer-in-major-side-window)
9fba804b
SM
5252 (delete-side-window, display-buffer-in-side-window):
5253 New functions.
caceae25
MR
5254 (window--side-check, window-deletable-p, delete-window)
5255 (delete-other-windows, split-window): Handle side windows and
5256 atomic windows appropriately.
5257 (window--display-buffer): Call display-buffer-record-window also
5258 when the window buffer did not change.
ea95074e 5259
80a51fa0
CS
52602012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
5261
5262 * help-fns.el (help-fns--key-bindings):
5263 Abbreviate non-symbol remap targets. (Bug#12174)
5264
fbb6300b
MR
52652012-08-22 Martin Rudalics <rudalics@gmx.at>
5266
5267 * dired.el (dired-mark-remembered): Don't clobber point.
5268 (Bug#11795)
5269
2b2c0794
GM
52702012-08-22 Glenn Morris <rgm@gnu.org>
5271
5272 * progmodes/bug-reference.el (bug-reference): New custom group.
5273 (bug-reference-bug-regexp): Make it a defcustom.
5274
37219830
DU
52752012-08-22 Daiki Ueno <ueno@unixuser.org>
5276
5277 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
5278 (js-paren-indent-offset, js-square-indent-offset)
5279 (js-curly-indent-offset): Add :safe (Bug#12257).
5280
94e0e559
EC
52812012-08-22 Edward O'Connor <hober0@gmail.com>
5282
5283 * json.el (json-key-format): Add error properties.
5284 (json-encode-key): New function.
5285 (json-encode-hash-table, json-encode-alist, json-encode-plist):
5286 Use json-encode-key.
5287
da485f5e
GM
52882012-08-22 Glenn Morris <rgm@gnu.org>
5289
5290 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
5291 (cal-tex-leftday, cal-tex-rightday): Remove functions.
5292 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
5293 Update for above change.
5294
c6cc78b8
AS
52952012-08-21 Andreas Schwab <schwab@linux-m68k.org>
5296
5297 * cus-face.el (custom-face-attributes): Fix customize type for the
5298 :underline attribute. (Bug#11805)
5299
5481664a
MR
53002012-08-21 Martin Rudalics <rudalics@gmx.at>
5301
5302 * window.el (window-point-1, set-window-point-1): Remove.
5303 (window-in-direction, record-window-buffer)
5304 (set-window-buffer-start-and-point, split-window-below)
9fba804b
SM
5305 (window--state-get-1, display-buffer-record-window):
5306 Replace calls to window-point-1 and set-window-point-1 by calls to
5481664a
MR
5307 window-point and set-window-point respectively.
5308
6d74698e
GM
53092012-08-21 Glenn Morris <rgm@gnu.org>
5310
b7fa2691
GM
5311 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
5312 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
5313 Use it.
5314
52f56d5a
GM
5315 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
5316 (cal-tex-shortday): New function.
5317 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
5318 (cal-tex-cursor-filofax-daily): Use the above.
5319
9f1ee09e
GM
5320 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
5321 New functions.
5322 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
5323 (cal-tex-cursor-filofax-week): Use them.
5324
79858159
GM
5325 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
5326 New constants.
5327 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
5328 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
5329
d346b2b4
GM
5330 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
5331 (cal-tex-end-document): Don't rely on buffer name.
5332
b2403709
GM
5333 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
5334 Use cal-tex-vspace.
5335 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
5336 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
2d225a3a
GM
5337 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
5338 Use cal-tex-arg.
b2403709 5339
1cebb5c0
GM
5340 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
5341 (cal-tex-cursor-week, cal-tex-cursor-week2)
5342 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
5343 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
5344 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
5345 (cal-tex-insert-preamble, cal-tex-b-document)
5346 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
5347 Improve cal-tex-cmd usage.
5348
c68cd5d4
GM
5349 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
5350 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
5351 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
5352 (cal-tex-weekly-paper): New function.
5353 (cal-tex-cursor-week, cal-tex-cursor-week2)
5354 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
5355 (cal-tex-cursor-day): Use it.
5356
9dca4801
GM
5357 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
5358 (cal-tex-cursor-filofax-week): Remove leading blank page.
5359
1941e134
GM
5360 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
5361 Add autoload cookie. For now at least, don't use color, since
5362 no other cal-tex function does.
5363
6d74698e
GM
5364 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
5365 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
5366 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
5367
64cde199
JL
53682012-08-21 Juri Linkov <juri@jurta.org>
5369
5370 * info.el (Info-file-attributes): New variable.
5371 (info-insert-file-contents): Add file attributes to
5372 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
5373 `Info-toc-nodes' when previous modtime of the Info file is less
5374 than new modtime.
5375 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
5376 of info.el. (Bug#12230)
5377
32757648
GM
53782012-08-20 Glenn Morris <rgm@gnu.org>
5379
5380 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
5381 * calendar/holidays.el (calendar-holiday-list):
5382 Report errors with display-warning rather than beep'n'sleep.
5383
a32fbbcf
MA
53842012-08-20 Michael Albinus <michael.albinus@gmx.de>
5385
5386 * net/tramp.el (tramp-accept-process-output): Accept only output
5387 from PROC. Otherwise, process filters and sentinels might be
5388 confused. (Bug#12145)
5389
a05731a0
CY
53902012-08-20 Chong Yidong <cyd@gnu.org>
5391
5392 * descr-text.el (describe-text-properties-1): Use overlays-in to
5393 report on empty overlays (Bug#3322).
5394
36e8d1eb
GM
53952012-08-20 Glenn Morris <rgm@gnu.org>
5396
3d300447
GM
5397 * mail/rmailout.el (rmail-output-read-file-name):
5398 Trap and report errors in rmail-output-file-alist elements.
5399
36e8d1eb
GM
5400 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
5401 since most non-font-lock faces are not also variables).
5402
b96e5814
ER
54032012-08-20 Edward Reingold <reingold@iit.edu>
5404
5405 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
5406 New function. (Bug12160)
5407
7cef3569
GM
54082012-08-19 Glenn Morris <rgm@gnu.org>
5409
5410 * mail/rmailout.el (rmail-output-read-file-name):
5411 Fix previous change (when the alist is nil or does not match).
5412
17975d7f
CY
54132012-08-19 Chong Yidong <cyd@gnu.org>
5414
5415 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
5416 (Bug#12228).
5417
2170b1bd
CY
54182012-08-18 Chong Yidong <cyd@gnu.org>
5419
5420 * simple.el (yank-handled-properties): New defcustom.
5421 (yank-excluded-properties): Add font-lock-face and category.
5422 (yank): Doc fix.
5423
9fba804b
SM
5424 * subr.el (remove-yank-excluded-properties):
5425 Obey yank-handled-properties. The special handling of font-lock-face
2170b1bd
CY
5426 and category is now done this way, instead of being hard-coded.
5427 (insert-for-yank-1): Remove font-lock-face handling.
5428 (yank-handle-font-lock-face-property)
5429 (yank-handle-category-property): New function.
5430
ee218151
GM
54312012-08-17 Glenn Morris <rgm@gnu.org>
5432
5433 * mail/rmailout.el (rmail-output-read-file-name):
5434 Check rmail-output-file-alist against the full message body
5435 in the correct rmail buffer. (Bug#12214)
5436
4a6bc3fd
MA
54372012-08-17 Michael Albinus <michael.albinus@gmx.de>
5438
9fba804b
SM
5439 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
5440 Eliminate superfluous prompt. (Bug#12203)
4a6bc3fd 5441
383dcbf9
CY
54422012-08-17 Chong Yidong <cyd@gnu.org>
5443
5444 * mouse.el (mouse-appearance-menu): If x-select-font returns a
5445 font spec, set the font directly (Bug#3228).
5446
998c4a6a
MR
54472012-08-17 Martin Rudalics <rudalics@gmx.at>
5448
5449 * window.el (delete-window): Fix last fix.
5450
52162052
MR
54512012-08-16 Martin Rudalics <rudalics@gmx.at>
5452
5453 * window.el (window-valid-p): Move to window.c.
85c2386b
MR
5454 (window-child, window-child-count, window-last-child)
5455 (window-normalize-window, window-combined-p)
5456 (window-combinations, window-atom-root, window-min-size)
5457 (window-sizable, window-sizable-p, window-size-fixed-p)
5458 (window-min-delta, window-max-delta, window--resizable)
5459 (window--resizable-p, window-resizable, window-total-size)
5460 (window-full-height-p, window-full-width-p, window-body-size)
5461 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
5462 (minimize-window, window-deletable-p, delete-window)
5463 (delete-other-windows, set-window-buffer-start-and-point)
5464 (next-buffer, previous-buffer, split-window, balance-windows-2)
5465 (set-window-text-height, window-buffer-height)
5466 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
9fba804b
SM
5467 (truncated-partial-width-window-p): Minor code adjustments.
5468 In doc-strings state whether the argument window has to denote a
85c2386b 5469 live, valid or any window.
52162052 5470
1c308380
PS
54712012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
5472
5473 * progmodes/subword.el (subword-forward-function)
5474 (subword-backward-function, subword-forward-regexp)
5475 (subword-backward-regexp): New variables.
5476 (subword-forward, subword-forward-internal, subword-backward-internal):
5477 Use new variables, eg so that different "word" definitions
5478 can be easily used. (Bug#11411)
5479
94c9ece1
SM
54802012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
5481
5482 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
5483 for composite selectors.
5484 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
5485 operation just because we can't find a previous revision.
5486
f2045622
CY
54872012-08-15 Chong Yidong <cyd@gnu.org>
5488
5489 * frame.el (set-frame-font): Accept font objects.
5490
582db660
SM
54912012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
5492
5493 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
5494
2f29c200
WJ
54952012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
5496
456e62c2
WJ
5497 * man.el (Man-overstrike-face, Man-underline-face)
5498 (Man-reverse-face): Remove variables.
5499 (Man-overstrike, Man-underline, Man-reverse): New faces.
5500 (Man-fontify-manpage): Use them instead of the variables.
5501 (Man-cleanup-manpage): Comment change.
5502 (Man-ansi-color-map): New variable.
5503 (Man-fontify-manpage): Use it.
5504 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
5505
2f29c200
WJ
5506 Implement ANSI SGR parameters 22-27 (bug#12146).
5507 * ansi-color.el (ansi-colors): Doc fix.
5508 (ansi-color-context, ansi-color-context-region): Doc fix.
5509 (ansi-color--find-face): New function.
5510 (ansi-color-apply, ansi-color-apply-on-region): Use it.
5511 Rename the local variable `face' to `codes' since it is now a list of
5512 ansi codes. Doc fix.
5513 (ansi-color-get-face): Remove.
5514 (ansi-color-parse-sequence): New function, derived from
5515 ansi-color-get-face.
5516 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
5517 codes 22-27.
5518
b4f5e9df
SM
55192012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
5520
5521 * subr.el (read-passwd): Allow use from a minibuffer.
5522
ba025fbd
EZ
55232012-08-14 Eli Zaretskii <eliz@gnu.org>
5524
5525 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
5526 inside comments and strings as identifiers.
5527
5528 * progmodes/gud.el (gud-tooltip-print-command): Quote the
5529 expression to evaluate. This allows to evaluate expressions with
5530 embedded whitespace.
5531 (gud-tooltip-tips): Add a blank before the newline in the
5532 message-box text, for the benefit of message-box emulation on
5533 MS-Windows.
5534
5535 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
5536 messages from GDB, pop them up in a tooltip to give feedback to
5537 user.
b4f5e9df
SM
5538 (gdb-tooltip-print-1): Quote the expression to evaluate.
5539 This allows to evaluate expressions with embedded whitespace.
ba025fbd
EZ
5540 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
5541 if the TTY name is nil or empty (which happens when communicating
5542 with the inferior via pipes, e.g. on MS-Windows).
5543 (gdb-internals): If GDB sends a "&\n" empty debugging message,
5544 don't send that to the GUD buffer.
5545
c548f821
GM
55462012-08-14 Glenn Morris <rgm@gnu.org>
5547
5548 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
5549 Optimize away setq-default with no args, as for setq. (Bug#12195)
5550
55802e4a
CY
55512012-08-14 Chong Yidong <cyd@gnu.org>
5552
4abcdac8
CY
5553 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
5554
55802e4a
CY
5555 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
5556 (Bug#12085).
5557
3c3cda1a
GM
55582012-08-14 Glenn Morris <rgm@gnu.org>
5559
5560 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
5561
e1873bd0
MA
55622012-08-14 Michael Albinus <michael.albinus@gmx.de>
5563
5564 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
5565 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
5566 Use cached shell name.
5567
925411b4
FEG
55682012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
5569
5570 * progmodes/python.el (python-shell-send-string):
3c3cda1a 5571 (python-shell-send-setup-code): Do not use `format' with `message'.
925411b4 5572
e636fafe
DG
55732012-08-14 Dmitry Gutov <dgutov@yandex.ru>
5574
5575 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
5576 (ruby-percent-literal-beg-re): New constant.
5577 (ruby-syntax-general-delimiters-goto-beg): Rename to
5578 `ruby-syntax-enclosing-percent-literal', improve literal type check.
5579 (ruby-syntax-propertize-general-delimiters): Rename to
5580 `ruby-syntax-propertize-percent-literal', it's a shorter and more
5581 popular term. Adjust comments everywhere.
5582 (ruby-syntax-propertize-percent-literal): Only propertize when not
5583 inside a simple string or comment. When the literal is unclosed,
5584 leave the text after it unpropertized.
f063063a
DG
5585 (ruby-syntax-methods-before-regexp): New constant.
5586 (ruby-syntax-propertize-function): Use it to recognize regexps.
5587 Don't look at the text after regexp, just use the whitelist.
e636fafe 5588
e5b19827
AS
55892012-08-14 Andreas Schwab <schwab@linux-m68k.org>
5590
5591 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
5592 non-nil always load the compiled file if it exists. (Bug#12197)
5593
a9f6f311
CY
55942012-08-14 Chong Yidong <cyd@gnu.org>
5595
5596 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
5597 (hi-lock-set-pattern): When deciding whether to use font lock or
5598 overlays, look at font-lock-mode instead of font-lock-fontified
5599 (Bug#12168).
5600 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
5601 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
5602
7d806b1e
DU
56032012-08-14 Daiki Ueno <ueno@unixuser.org>
5604
5605 * subr.el (internal--after-with-selected-window): Fix typo
5606 (Bug#12193).
5607
5beed586
FEG
56082012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
5609
5610 Use `completion-table-dynamic' for completion functions.
5611 * progmodes/python.el
5612 (python-shell-completion--do-completion-at-point)
e636fafe
DG
5613 (python-shell-completion--get-completions):
5614 Remove functions.
5beed586
FEG
5615 (python-shell-completion-complete-at-point): New function.
5616 (python-completion-complete-at-point): Use it.
5617
92cb3b04
J
56182012-08-13 Jambunathan K <kjambunathan@gmail.com>
5619
5620 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
5621 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
5622
89660017
SM
56232012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
5624
3c98c962
SM
5625 * subr.el (function-get): Refine `autoload' arg so it can also
5626 autoload functions for gv.el (bug#12191).
5627 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
5628 autoloads macros.
5629
aa7c6dbe
SM
5630 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
5631 Prefer pcase-let over destructuring-bind.
5632 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
5633 Also, remove whitespace as we go, rather than after accumulating the
5634 various places.
5635
89660017
SM
5636 * subr.el (internal--before-with-selected-window)
5637 (internal--after-with-selected-window): Fix typo seleted->selected.
5638 (with-selected-window): Adjust callers.
5639 Reported by Dmitry Gutov <dgutov@yandex.ru>.
5640
31cd32c9
BG
56412012-08-13 Bastien Guerry <bzg@gnu.org>
5642
0fcd3d9f 5643 * window.el (special-display-popup-frame): Minor docstring
31cd32c9
BG
5644 enhancement. (Bug#12172)
5645
1b15d8ad
AS
56462012-08-13 Andreas Schwab <schwab@linux-m68k.org>
5647
31e54db0
AS
5648 * tar-mode.el (tar-header-data-end): Only ignore size for files of
5649 type 1-6.
5650 (tar-header-block-summarize, tar-get-descriptor): Handle pax
5651 extended headers.
5652
1b15d8ad
AS
5653 * files.el (hack-local-variables-filter): Remove useless eval.
5654
35cb9c06
MR
56552012-08-13 Martin Rudalics <rudalics@gmx.at>
5656
5657 * subr.el (with-selected-window): Fix last change.
5658
1439443b
SM
56592012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
5660
5661 * subr.el (internal--before-with-seleted-window)
5662 (internal--after-with-seleted-window): New functions.
1b15d8ad
AS
5663 (with-selected-window): Use them, to replace dependency on
5664 tty-top-frame.
1439443b 5665
0d9e2599
NN
56662012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
5667
5668 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
5669 binding for `newline'.
5670 (ruby-move-to-block): When moving backward, stop at block opening,
5671 not indentation.
5672 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
5673 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
5674 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
5675 `ruby-toggle-block'.
5676
ba10c48c
SM
56772012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
5678
5679 * ibuffer.el (ibuffer-do-toggle-read-only):
5680 * dired.el (dired-toggle-read-only):
5681 * buff-menu.el (Buffer-menu-toggle-read-only):
5682 * bindings.el (mode-line-toggle-read-only):
5683 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
5684
9229c658
AS
56852012-08-12 Andreas Schwab <schwab@linux-m68k.org>
5686
5687 * descr-text.el (describe-char): Put the overlays over the
5688 "displayed as" character.
5689
0fd09128
JB
56902012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
5691
5692 * calc/calc-units.el (math-default-units-table): Give an
5693 initial value.
5694 (math-put-default-units): Add options to put composite units and
5695 unit systems in the default units table.
5696 (calc-convert-units): Send composite units to
5697 `math-put-default-units' when appropriate.
5698
9ff9402d 56992012-08-11 Glenn Morris <rgm@gnu.org>
7aacaf15 5700
fbb5e336
GM
5701 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
5702
7aacaf15
GM
5703 * tutorial.el (help-with-tutorial):
5704 * emacs-lisp/copyright.el (copyright-update-directory):
5705 * emacs-lisp/autoload.el (autoload-find-generated-file)
5706 (autoload-find-file): Disable local eval: (for insurance).
5707
f40b9f10
GM
5708 * files.el (hack-local-variables-filter): If an eval: form is not
5709 known to be safe, and enable-local-variables is :safe, then ignore
5710 the form totally, as is done for non-eval forms. (Bug#12155)
6f97980a 5711 This is CVE-2012-3479.
f40b9f10 5712
daa9f1a6
SM
57132012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
5714
5715 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
5716 (rx-form): Simplify.
5717
9cd80478
DG
57182012-08-09 Dmitry Gutov <dgutov@yandex.ru>
5719
0d9e2599
NN
5720 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
5721 ?, _, and : are symbol constituents, ! is not (but kinda should be).
5722 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
5723 (ruby-syntax-propertize-function): Adjust for changes in
5724 `ruby-syntax-propertize-heredoc'.
5725
57262012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
5727
9cd80478
DG
5728 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
5729 binding (use `M-;' instead).
9cd80478 5730 (ruby-singleton-class-p): New function.
0d9e2599 5731 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
9cd80478 5732
d301b413
SM
57332012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
5734
5735 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
5736
1530c98e
CY
57372012-08-10 Chong Yidong <cyd@gnu.org>
5738
5739 * progmodes/python.el (python-shell-get-process-name): Don't mess
5740 with same-window-buffer-names.
5741
5742 * eshell/eshell.el (eshell-add-to-window-buffer-names)
5743 (eshell-remove-from-window-buffer-names): Make obsolete.
5744 (eshell-buffer-name, eshell-unload-hook): Don't use them.
5745 (eshell): Just use pop-to-buffer-same-window instead.
5746
e1293765
CY
57472012-08-10 Chong Yidong <cyd@gnu.org>
5748
5749 * bindings.el: Bind M-= back to count-words-region.
5750
5751 * simple.el (count-words-region): Accept a prefix arg for acting
5752 on the entire buffer.
5753 (count-words--buffer-message): New helper function.
5754
e1894109
SM
57552012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
5756
5757 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
5758 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
5759 (event-start, event-end): Use posn-at-point to return a more
5760 informative posn.
5761 (posnp): New function.
5762 * mouse.el (popup-menu-normalize-position): Use it.
5763
c69f56a2
MY
57642012-08-10 Masatake YAMATO <yamato@redhat.com>
5765
5766 * mouse.el (popup-menu-normalize-position): New function.
5767 (popup-menu): Use `popup-menu-normalize-position' to normalize
5768 the form for POSITION argument.
5769
5770 * term/x-win.el (x-menu-bar-open):
5771 Use the value returend from (posn-at-point) as position
5772 passed to `popup-menu'.
5773
31673780
JB
57742012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
5775
5776 * calc/calccomp.el (math-compose-expr): Add extra argument
5777 indicating that parentheses should be put around products in
5778 denominators. Give multiplication precedence over division during
5779 composition.
5780
dab7711b
CY
57812012-08-09 Chong Yidong <cyd@gnu.org>
5782
dee4ef93
CY
5783 * man.el (Man-switches, Man-sed-command, Man-awk-command)
5784 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
5785 (Man-untabify-command, manual-program): Convert to defcustom
5786 (Bug#10429).
5787
73e2bbc5
CY
5788 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
5789
3e861c8a
CY
5790 * descr-text.el (describe-char): Don't insert extra newlines
5791 (Bug#10127).
5792
a9f5a649
CY
5793 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
5794 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
5795
dab7711b
CY
5796 * align.el (align-region): Delete temporary markers (Bug#10047).
5797 Plus some code cleanups.
5798
e0cc4efa
FEG
57992012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
5800
5801 * progmodes/python.el (python-pdbtrack-tracked-buffer)
5802 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
5803 (python-shell-internal-last-output): Use make-local-variable
5804 instead of make-variable-buffer-local.
5805
489af14f
FEG
58062012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
5807
5808 * progmodes/python.el: Enhancements to forward-sexp.
5809 (python-nav-forward-sexp): Rename from
5810 python-nav-forward-sexp-function.
c69f56a2
MY
5811 (python-nav--forward-sexp, python-nav--backward-sexp):
5812 New functions.
489af14f 5813
0fc50303
JB
58142012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
5815
5816 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
5817 modes and simplification modes.
5818
5d65606a
SM
58192012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
5820
5821 * delsel.el (delete-selection-pre-hook): Don't propagate the
5822 file-supersession signals (bug#12161).
5823
4250fdf5
SM
58242012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
5825
5826 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
5827 (cl-map-extents): Add compatibility aliases (bug#12135).
5828
d9f9b465
MA
58292012-08-08 Michael Albinus <michael.albinus@gmx.de>
5830
5831 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
5832 tests by `ignore-error'.
5833 (tramp-find-shell): Open also a new shell, when cache is already
5834 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
5835
ce0fcefa
JL
58362012-08-08 Juri Linkov <juri@jurta.org>
5837
5838 * bookmark.el: Add `defaults' property to the bookmark record.
5839 (bookmark-current-buffer): Doc fix.
5840 (bookmark-make-record): Add `defaults' property with default values
5841 to the bookmark record.
5842 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
5843 with `bookmark-insert-current-bookmark'.
5844 (bookmark-set): Get `defaults' property from the bookmark record
5845 and use it in `read-from-minibuffer'.
5846 (bookmark-insert-current-bookmark): Remove function.
5847
5848 * info.el (Info-bookmark-make-record): Add `defaults' property
5849 with values of canonical Info node name, the current Info file
5850 name and the current Info node name. (Bug#12107)
5851
53fa8652
JL
58522012-08-08 Juri Linkov <juri@jurta.org>
5853
5854 * files.el (basic-save-buffer): Use `buffer-name' as the default
5855 of `read-file-name' when buffer is not visiting a file (bug#12128).
5856
242c0a95
JL
58572012-08-08 Juri Linkov <juri@jurta.org>
5858
5859 * info.el (Info-isearch-search): Doc fix.
5860 (Info-search): Change search-failed message from "initial node" to
5861 "end of node" (bug#12078).
5862 (Info-isearch-search): Change `isearch-string-state' to
5863 `isearch--state-string'.
5864
32ac3a6b
GM
58652012-08-08 Glenn Morris <rgm@gnu.org>
5866
5867 * language/persian.el: Remove file.
f8c1afd5 5868 * language/misc-lang.el: Move unique part of persian.el here.
32ac3a6b
GM
5869 * loadup.el: Remove language/persian.
5870
2c2d9c9c
OF
58712012-08-08 Óscar Fuentes <ofv@wanadoo.es>
5872
5873 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
5874
2d79ec42
FEG
58752012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
5876
5877 * progmodes/python.el Fixed defsubst warning.
5878 (python-syntax-context) Rename from python-info-ppss-context.
5879 (python-syntax-context-type): Rename from
5880 python-info-ppss-context-type.
5881 (python-syntax-comment-or-string-p): Rename from
5882 python-info-ppss-comment-or-string-p.
5883
2bd255dd
JB
58842012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
5885
5886 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
5887
c395097f
AS
58882012-08-07 Andreas Schwab <schwab@linux-m68k.org>
5889
6125983e
AS
5890 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
5891 a defcustom that is quoted with backquote.
5892
4250fdf5
SM
5893 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
5894 Fix handling of interactive spec when the body uses return.
651eaf36
AS
5895 (math-do-arg-check, math-define-function-body): Use backquote forms.
5896 * calc/calc-ext.el (math-defcache): Likewise.
5897 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
5898 * allout.el (allout-new-exposure): Likewise.
5899 * calc/calcalg2.el (math-tracing-integral): Likewise.
5900 * info.el (Info-last-menu-item): Likewise.
5901 * emulation/vip.el (vip-loop): Likewise.
5902 * textmodes/artist.el (artist-funcall): Likewise.
5903 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
5904 Construct menu-item directly.
5905
4250fdf5
SM
5906 * progmodes/autoconf.el (font-lock-syntactic-keywords):
5907 Don't declare.
c395097f 5908
5fb50dd3
CY
59092012-08-07 Chong Yidong <cyd@gnu.org>
5910
5911 * simple.el (deactivate-mark): Preserve text properties when
5912 saving the primary selection (Bug#8384).
5913
54eea618
KR
59142012-08-07 Kevin Ryde <user42@zip.com.au>
5915
5916 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
5917 (woman-parse-numeric-value): On a bad .IP line, issue a warning
5918 and continue processing (Bug#12110).
5919
638eaeb9
SM
59202012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
5921
5922 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
5923 syntax-propertize-function (bug#10095).
5924
ea376861
SM
59252012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
5926
f91b35be
SM
5927 * help-fns.el (help-fns--key-bindings, help-fns--signature)
5928 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
5929 describe-function-1.
5930 (describe-function-1): Use them. Move compiler macro after sig.
5931 (help-fns--compiler-macro): Use function-get. Assume we're already in
5932 standard-output. Adjust layout to new call order.
5933
ea376861
SM
5934 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
5935 re-binding a symbol that has a symbol-macro (bug#12119).
5936
d5be7bd0
MB
59372012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
5938
5939 * language/persian.el: New file. (Bug#11812)
5940 * loadup.el: Add language/persian.el.
5941
90749b53
CY
59422012-08-06 Chong Yidong <cyd@gnu.org>
5943
5944 * window.el (window--maybe-raise-frame): New function.
5945 (window--display-buffer): Split off from here.
5946 (display-buffer-reuse-window, display-buffer-pop-up-frame)
5947 (display-buffer-pop-up-window, display-buffer-use-some-window):
5948 Obey an inhibit-switch-frame action alist entry.
5949 (display-buffer): Update doc.
5950
5951 * replace.el (occur-after-change-function): Avoid losing focus by
5952 using the inhibit-switch-frame display parameter (Bug#12139).
5953
ba7b0154
FEG
59542012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
5955
5956 Make internal shell process buffer names start with space.
5957 * progmodes/python.el (python-shell-make-comint): Add optional
5958 argument INTERNAL.
5959 (run-python-internal): Use it.
5960 (python-shell-internal-get-or-create-process): Check for new
5961 internal buffer names.
5962
5eaeacb5
GM
59632012-08-06 Glenn Morris <rgm@gnu.org>
5964
e296d94b 5965 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
5eaeacb5
GM
5966 Do less getting and setting of environment variables.
5967
b7ccbdc2
CY
59682012-08-05 Chong Yidong <cyd@gnu.org>
5969
777fe95e
CY
5970 * proced.el (proced): Add substitution string to docstring to
5971 trigger autoloading of the proced library on C-h f (Bug#1768).
5972
4250fdf5
SM
5973 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
5974 Don't show defvars which have no second argument (Bug#8638).
b7ccbdc2
CY
5975
5976 * imenu.el (imenu-generic-expression): Move documentation here
5977 from imenu--generic-function.
5978 (imenu--generic-function): Refer to imenu-generic-expression.
5979
9e3b7800 59802012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
d5c31f1d
5981
5982 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
5983 indentation declaration.
5984 (viper-loop): Add indentation declaration (Bug#7025).
5985
e5d9c0d1
CY
59862012-08-05 Chong Yidong <cyd@gnu.org>
5987
f0422feb
CY
5988 * help-fns.el (describe-variable): Add hyperlink for
5989 directory-local variables files. Improve buffer-local and
5990 permanent-local reporting; suggested by MON KEY (Bug#6644).
5991
5992 * help-mode.el (help-dir-local-var-def): New button type.
5993
e5d9c0d1
CY
5994 * files.el (kill-buffer-hook): Provide a defvar.
5995
a4f2deaa
GM
59962012-08-05 Glenn Morris <rgm@gnu.org>
5997
5998 * eshell/esh-ext.el (eshell/addpath):
5999 Also update eshell-path-env. (Bug#12013)
6000
a9dd5754
CY
60012012-08-05 Chong Yidong <cyd@gnu.org>
6002
a4f2deaa 6003 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
615b0bf0 6004
d014c740
CY
6005 * fringe.el (fringe-styles): Add docstring.
6006 (fringe--check-mode): New function.
6007 (set-fringe-mode, set-fringe-style): Use it.
6008 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
6009
a9dd5754
CY
6010 * files.el (set-auto-mode): Fix invalid setq call.
6011
7c2dc8bd
SM
60122012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
6013
6014 * isearch.el: Misc simplification; use defstruct.
6015 (isearch-mode-map): Dense maps now work like sparse ones.
6016 (isearch--state): New defstruct.
6017 (isearch-string-state, isearch-message-state, isearch-point-state)
6018 (isearch-success-state, isearch-forward-state)
6019 (isearch-other-end-state, isearch-word-state, isearch-error-state)
6020 (isearch-wrapped-state, isearch-barrier-state)
6021 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
6022 replaced by defstruct's accessors.
6023 (isearch--set-state): Rename from isearch-top-state and change
6024 calling convention.
6025 (isearch-push-state): Use new isearch--get-state.
6026 (isearch-toggle-word): Disable regexp when enabling word.
6027 (isearch-message-prefix): Remove unused arg _c-q-hack.
6028 (isearch-message-suffix): Remove unused arg _ellipsis.
6029
7fcc0070
AS
60302012-08-04 Andreas Schwab <schwab@linux-m68k.org>
6031
6032 * simple.el (list-processes--refresh): For a server use :host or
6033 :local as the address.
97ad0769 6034 (list-processes): Doc fix.
7fcc0070 6035
a11035b8 60362012-08-04 Michal Nazarewicz <mina86@mina86.com>
00340faf
MN
6037
6038 * lisp/mpc.el: Support password in host argument.
6039 (mpc--proc-connect): Parse and use new password element.
6040 Set mpc-proc variable instead of returning process.
6041 (mpc-proc): Adjust accordingly.
6042
6dad7178
EZ
60432012-08-03 Eli Zaretskii <eliz@gnu.org>
6044
18949c2f
EZ
6045 * whitespace.el (whitespace-display-mappings): Use Unicode
6046 codepoints, instead of emacs-mule codepoints. See
6047 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
6048 for the details.
6049
6dad7178
EZ
6050 * files.el (file-truename): Don't skip symlink-chasing part on
6051 windows-nt. Incorporate the resolution of 8+3 short aliases on
4250fdf5
SM
6052 Windows into the loop that recursively chases symlinks.
6053 Compare directory and its parent case-insensitively on MS-Windows and
6dad7178
EZ
6054 MS-DOS.
6055
385b0198
CY
60562012-08-03 Chong Yidong <cyd@gnu.org>
6057
6200f3c4
CY
6058 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
6059
385b0198
CY
6060 * sort.el (sort-regexp-fields): Doc fix.
6061
b9e74744
TH
60622012-08-03 Tassilo Horn <tsdh@gnu.org>
6063
6064 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
6065 labels regex position point at the expected place.
6066
41013cb4
MK
60672012-08-03 MON KEY <monkey@sandpframing.com>
6068
6069 * net/imap.el (imap-interactive-login, imap-authenticate)
6070 (imap-mailbox-lsub, imap-mailbox-list)
6071 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
6072 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
6073 (imap-parse-response): Doc fix.
6074
0ffee616
JT
60752012-08-03 João Távora <joaotavora@gmail.com>
6076
6077 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
6078 if sexp scanning does not move point (Bug#5734).
6079
cfcc9cc8
TH
60802012-08-02 Tassilo Horn <tsdh@gnu.org>
6081
6082 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
6083 Add listings, minted, and ctable packages.
6084 (reftex-label-alist-builtin): Move listings, minted, and ctable
6085 entries before LaTeX.
a01bbb84 6086 (reftex-label-alist): Docfix.
cfcc9cc8 6087
66ec2442
BG
60882012-08-02 Bastien Guerry <bzg@gnu.org>
6089
6090 * replace.el (occur): Fix docstring (bug#12122).
6091
837b365b
GM
60922012-08-02 Glenn Morris <rgm@gnu.org>
6093
6094 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
6095
e098de97
PE
60962012-08-02 Paul Eggert <eggert@cs.ucla.edu>
6097
6098 Obsolete alias inactivate-current-input-method-function (Bug#10150).
6099 * international/mule-cmds.el: Create
6100 inactivate-current-input-method-function as an obsolete alias for
6101 deactivate-current-input-method-function. See Katsumi Yamaoka in
6102 <http://bugs.gnu.org/10150#46>.
6103
a0f95636
JB
61042012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
6105
6106 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
6107 of nested `if's.
6108
0d26d7c4
GM
61092012-08-01 Glenn Morris <rgm@gnu.org>
6110
6111 * progmodes/autoconf.el (autoconf-definition-regexp):
6112 Add AH_TEMPLATE, adjust submatch numbering.
6113 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
6114 (autoconf-current-defun-function): Update for above change.
6115 (autoconf-current-defun-function): First skip to end of current word.
6116
b686ba06
RS
61172012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
6118
6119 * calendar/cal-html.el (cal-html-insert-agenda-days):
6120 Fix typo. (Bug#12018)
6121
0d49da68
FEG
61222012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
6123
6124 Shell processes: enhancements to startup and CEDET compatibility.
6125 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
6126 (python-shell-make-comint): accept-process-output at startup.
6127 (run-python-internal): Set inferior-python-mode-hook to nil.
6128 (python-shell-internal-get-or-create-process): call sit-for.
6129 (python-preoutput-result): Add obsolete alias.
6130 (python-shell-internal-send-string): Use it.
6131 (python-shell-send-setup-code): Remove call to
6132 accept-process-output.
6133
f1a71c6e
AS
61342012-07-31 Andreas Schwab <schwab@linux-m68k.org>
6135
6136 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
6137 (Bug#12108)
6138
d2605269
JB
61392012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
6140
6141 * calc-mode.el (calc-basic-simplification-mode): Rename from
6142 `calc-limited-simplification-mode'.
6143 (calc-alg-simplification-mode): New function.
fc0c31f8 6144 (calc-set-simplify-mode): Adjust message.
f1a71c6e 6145
d2605269
JB
6146 * calc.el (calc-set-mode-line): Adjust mode line display for
6147 basic simplification mode.
6148
6149 * calc-help.el (calc-m-prefix-help): Update help message.
6150
6151 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
6152 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
6153
a3827a43
BG
61542012-07-31 Bastien Guerry <bzg@gnu.org>
6155
6156 * man.el (man): Fix comment. (bug#12101)
6157
502e3f89
MR
61582012-07-31 Martin Rudalics <rudalics@gmx.at>
6159
6160 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
6161 Don't return a non-nil value when no suitable buffer was found.
6162
d7714961
FEG
61632012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
6164
6165 * progmodes/python.el (run-python-internal): Disable font lock for
6166 internal shells.
6167
1f45e27e
SM
61682012-07-30 Stefan Merten <smerten@oekonux.de>
6169
70efc5c9 6170 * textmodes/rst.el: Silence `checkdoc-ispell'.
1f45e27e
SM
6171 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
6172 (rst-official-version, rst-official-cvs-rev)
6173 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
6174 (rst-mode-map): New key binding.
6175
0aee6912
PE
61762012-07-30 Paul Eggert <eggert@cs.ucla.edu>
6177
6178 Update .PHONY listings in makefiles.
6179 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
6180 autoloads, update-subdirs, updates, bzr-update, update-authors,
6181 compile-onefile, compile-calc, backup-compiled-files,
6182 compile-after-backup, compile-one-process, mh-autoloads,
6183 bootstrap-clean, distclean, maintainer-clean.
6184
9052f9f0
JB
61852012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
6186
1823ac5a
JB
6187 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
6188 (calc-set-mode-line): Don't display "AlgSimp ".
6189
6190 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
6191 (calc-lim-simplify-mode): New function.
6192 (calc-set-simplify-mode): Default to 'alg.
6193 (calc-default-simplify-mode): Make algebraic simplifications
6194 the default.
6195
6196 * calc/calc-ext.el (calc-init-extensions): Remove binding for
6197 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
6198
8d7c7eed 6199 * calc/calc-help.el (calc-m-prefix-help): Change messages to
4b337409
JB
6200 indicate new simplification modes.
6201
1823ac5a
JB
6202 * calc/README: Mention new default simplification mode.
6203
9052f9f0
JB
6204 * calc/calc.el (math-normalize-error): New variable.
6205 (math-normalize): Set `math-normalize-error' to t
6206 when there's an error.
6207
6208 * calc/calc-alg.el (math-simplify): Don't simplify when
6209 `math-normalize' returns an error.
6210
20ba0cb4
EZ
62112012-07-29 Eli Zaretskii <eliz@gnu.org>
6212
6213 * international/mule-cmds.el (set-locale-environment): Revert last
6214 change, since display-graphic-p returns nil when this function is
6215 called during startup. Instead...
6216
6217 * term/w32console.el (terminal-init-w32console): ...setup the
6218 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
6219
a5dcc929
JL
62202012-07-29 Juri Linkov <juri@jurta.org>
6221
6222 * simple.el (goto-line): Don't display default line number in the
6223 prompt because it should be displayed by `read-number' (bug#9952).
6224 Add the current line number to the defaults of `goto-line' to
6225 allow its easier modification by users with `M-n' (bug#9201).
6226
6227 * subr.el (read-number): Support multiple default values like in
6228 other minibuffer reading functions. Replace `read' with
6229 `string-to-number' for consistency with `number-to-string'.
6230
72b255c7
PE
62312012-07-29 Paul Eggert <eggert@cs.ucla.edu>
6232
6233 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
6234 * emulation/viper-init.el (viper-deactivate-input-method-action):
6235 Rename from viper-inactivate-input-method-action.
6236 (viper-deactivate-input-method):
6237 Rename from viper-inactivate-input-method.
6238 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
6239 * international/mule-cmds.el (deactivate-input-method):
6240 Rename from inactivate-input-method.
6241 Also run input-method-deactivate-hook.
6242 (deactivate-current-input-method-function):
6243 Rename from inactivate-current-input-method-function.
6244 (input-method-deactivate-hook): New hook.
6245 (input-method-inactivate-hook): Mark obsolete.
bb6eb9fc
PE
6246 (inactivate-input-method): Mark obsolete.
6247
72b255c7
PE
6248 * international/quail.el (quail-activate):
6249 Also run quail-deactivate-hook.
6250 (quail-deactivate): Rename from quail-inactivate.
6251 * international/robin.el (robin-activate):
6252 Also run robin-deactivate-hook.
6253 (robin-deactivate): Rename from robin-inactivate.
6254
2549c068
CY
62552012-07-29 Chong Yidong <cyd@gnu.org>
6256
6257 * simple.el (indicate-copied-region): New function.
6258 (kill-ring-save): Split off from here.
6259
6260 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
6261 (kill-rectangle): Set deactivate-mark to t on read-only error.
6262
6263 * register.el (copy-to-register, copy-rectangle-to-register):
6264 Deactivate the mark, and use indicate-copied-region (Bug#10056).
4c478e6b
JL
6265 (append-to-register, prepend-to-register): Call indicate-copied-region.
6266
62672012-07-29 Juri Linkov <juri@jurta.org>
17711ed9
JL
6268
6269 * simple.el (async-shell-command-buffer): New defcustom.
6270 (shell-command): Use it. (Bug#4719)
6271
01bd1b0d
EZ
62722012-07-28 Eli Zaretskii <eliz@gnu.org>
6273
6274 * international/mule-cmds.el (set-locale-environment): In a
6275 console session on MS-Windows, set up keyboard and terminal
6276 encoding from the OEM codepage, not the ANSI codepage.
6277 (Bug#12055)
6278
a55739d3
CY
62792012-07-28 Chong Yidong <cyd@gnu.org>
6280
6281 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
6282 gdb-get-location.
6283
0e1a094f 62842012-07-28 Leo Liu <sdl.web@gmail.com>
9a0f8f2e
LL
6285
6286 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
6287 the alist (bug#12029).
6288
20329d73
EZ
62892012-07-28 Eli Zaretskii <eliz@gnu.org>
6290
6291 * makefile.w32-in (custom-deps, finder-data, updates, compile)
6292 (compile-always, compile-first)
6293 ($(lisp)/calendar/cal-loaddefs.el)
6294 ($(lisp)/calendar/diary-loaddefs.el)
6295 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
6296 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
6297 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
6298 instead of on update-subdirs.
6299 (bootstrap-clean): Delete $(lisp)/subdirs.el.
6300
345a2258
CY
63012012-07-28 Chong Yidong <cyd@gnu.org>
6302
1eee6341
CY
6303 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
6304 directory if vc-deduce-backend returns nil (Bug#7350).
6305
345a2258
CY
6306 * simple.el (delete-trailing-lines): New option.
6307 (delete-trailing-whitespace): Obey it (Bug#11879).
6308
049a0936
DE
63092012-07-28 David Engster <deng@randomsample.de>
6310
6311 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
6312 Explanation of new 'symbol-qnames feature in doc-strings.
6313 (xml-maybe-do-ns): Return expanded names as plain symbols if
6314 'symbol-qnames was provided in XML-NS argument (Bug#11916).
6315 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
6316
aa81af71
FEG
63172012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
6318
6319 Consistent completion in inferior python with emacs -nw.
6320 * progmodes/python.el (inferior-python-mode): replace "<tab>"
6321 binding in inferior-python-mode-map with "\t".
6322 (python-shell-completion-complete-at-point)
6323 (python-completion-complete-at-point): Remove interactive spec.
6324
e827b1eb
JB
63252012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
6326
6327 * calc/calccomp.el (math-compose-expr): Undo previous change.
6328
a90dfb95
FEG
63292012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
6330
4250fdf5 6331 * progmodes/python.el (python-mode-map): Add keybinding for
a90dfb95
FEG
6332 run-python.
6333 (python-shell-make-comint): Fix pop-to-buffer call.
6334 (run-python): Autoload. New arg SHOW.
6335 (python-shell-get-or-create-process): Do not pop python process
6336 buffer.
6337
32770973 63382012-07-27 Michael Albinus <michael.albinus@gmx.de>
1c6ef030
MA
6339
6340 * notifications.el (notifications-on-action-signal)
6341 (notifications-on-closed-signal): Use also the bus address for the map.
6342 (notifications-notify, notifications-close-notification)
fc0c31f8 6343 (notifications-get-capabilities): Add optional argument BUS.
1c6ef030 6344
86332df2
TH
63452012-07-27 Tassilo Horn <tsdh@gnu.org>
6346
4250fdf5
SM
6347 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
6348 Add support for the lstlisting and minted environments, and for the
86332df2
TH
6349 ctable macro.
6350 * textmodes/reftex.el (reftex-compile-variables): Also recognize
6351 labels written in keyvals syntax.
6352
ca1302a4
JB
63532012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
6354
6355 * calc/calccomp.el (math-compose-expr): Use parentheses when
6356 there is a product in the denominator of a fraction.
6357
f8b91036
EZ
63582012-07-26 Eli Zaretskii <eliz@gnu.org>
6359
6360 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
6361 ($(lisp)/calendar/diary-loaddefs.el)
6362 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
4250fdf5
SM
6363 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
6364 Fixes failures in parallel bootstrap because subdirs.el is being
f8b91036
EZ
6365 rewritten while the autoload files are built at the same time,
6366 which needs to load subdirs.el.
6367
c8e5a42c
MR
63682012-07-26 Martin Rudalics <rudalics@gmx.at>
6369
6370 * mouse.el (popup-menu): Fix doc-string and re-indent code.
6371 (mouse-drag-line): Don't exit tracking when a switch-frame or
6372 switch-window event occurs (Bug#12006).
6373
670d85ea
SM
63742012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6375
6376 * mouse.el (popup-menu): Fix last change.
6377
7abaf5cc
SM
63782012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6379
6380 Autoload from Lisp with more care. Follow aliases when looking for
6381 function properties.
6382 * subr.el (autoloadp): New function.
6383 (symbol-file): Use it.
6384 (function-get): New function.
6385 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
6386 autoload-do-load.
6387 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
6388 (lisp-indent-function):
6389 * emacs-lisp/gv.el (gv-get):
6390 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
6391 * emacs-lisp/byte-opt.el (byte-optimize-form):
6392 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
6393 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
6394 Use function-get.
6395 * emacs-lisp/cl.el: Don't propagate function properties any more.
6396
6397 * speedbar.el (speedbar-add-localized-speedbar-support):
6398 * emacs-lisp/disass.el (disassemble-internal):
6399 * desktop.el (desktop-load-file):
6400 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
6401 (describe-function-1):
6402 * emacs-lisp/find-func.el (find-function-noselect):
6403 * emacs-lisp/elp.el (elp-instrument-function):
6404 * emacs-lisp/advice.el (ad-has-proper-definition):
6405 * apropos.el (apropos-safe-documentation, apropos-macrop):
6406 * emacs-lisp/debug.el (debug-on-entry):
6407 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
6408 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
6409 * calc/calc.el (name): Use autoloadp & autoload-do-load.
6410
b1364986
AA
64112012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
6412
6413 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
6414 function, not an obsolete variable (Bug#12046).
6415
67ada220
AS
64162012-07-25 Andreas Schwab <schwab@linux-m68k.org>
6417
6418 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
6419
f08088e3
CS
64202012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
6421
6422 * emacs-lisp/pp.el (pp-display-expression): Select old selected
6423 window only if it is still live (Bug#12034).
6424
8137e7b3
MR
64252012-07-25 Martin Rudalics <rudalics@gmx.at>
6426
6427 * subr.el (redirect-frame-focus): Add advertised calling
6428 convention (Bug#12030).
6429
09ae5da1
PE
64302012-07-25 Paul Eggert <eggert@cs.ucla.edu>
6431
6432 Prefer typical American spelling for "acknowledgment".
6433 * vc/add-log.el (change-log-acknowledgment): Rename from
6434 change-log-acknowledgement, with an alias for the old name.
6435
3cc5a3a8
JB
64362012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
6437
6438 * calc-alg.el (math-simplify-divide): Don't cross multiply
6439 in an equation when the lhs is a variable.
6440
b7af7f62
JD
64412012-07-24 Julien Danjou <julien@danjou.info>
6442
6443 * net/netrc.el (netrc-find-service-number, netrc-store-data):
6444 Remove, unused.
6445
ec1b09b1
EZ
64462012-07-23 Eli Zaretskii <eliz@gnu.org>
6447
6448 * startup.el (command-line): Don't display an empty user name in
6449 the error message about non-existent home directory, when
6450 init-file-user was set to an empty string. See
6451 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
6452 for the details and context.
6453
b525fd8a
VB
64542012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
6455
6456 * ses.el (ses-cell-formula-aset): New macro.
6457 (ses-cell-references-aset): New macro.
6458 (ses-cell-p): New function.
6459 (ses-rename-cell): Do no longer rely on complex operations like
6460 ses-cell-set-formula or ses-set-cell to change the cell and handle
6461 the undo at the same time, but rather use lower level new macros
6462 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
fc0c31f8 6463 the undo directly. Refresh the mode line.
b525fd8a 6464
2c73e345
LL
64652012-07-21 Leo Liu <sdl.web@gmail.com>
6466
670d85ea
SM
6467 * progmodes/cc-cmds.el (c-defun-name):
6468 Use match-string-no-properties instead for consistency.
2c73e345 6469
542dfbde
LL
64702012-07-20 Leo Liu <sdl.web@gmail.com>
6471
3646bcd6
LL
6472 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
6473 (Bug#7879)
6474
542dfbde
LL
6475 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
6476
25721031
CY
64772012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
6478
6479 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
6480 * progmodes/bug-reference.el, misearch.el: Provide themselves
6481 (bug#11915).
6482
6483 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
6484 of narrowed buffer (bug#11966).
6485
316e68a7
VB
64862012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
6487
6488 * ses.el (ses-rename-cell): Set new name also in reference list of
6489 cells of which the renamed cell depends.
6490
bbf0e7d9
MY
64912012-07-20 Masatake YAMATO <yamato@redhat.com>
6492
6493 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
6494 to check whether menu-bar is shown or not. If not shown,
6495 show the menu-bar as a popup menu instead of using tmm.
6496 * mouse.el (popup-menu): Accept `point' as `position' argument.
6497
c28662a8
DG
64982012-07-20 Dmitry Gutov <dgutov@yandex.ru>
6499
6500 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
6501 up inside string symbol literal (bug#11923).
6502
87ab808f
EZ
65032012-07-20 Eli Zaretskii <eliz@gnu.org>
6504
6505 * startup.el (fancy-startup-text): Read the whole tutorial, not
6506 just its first 256 bytes. Prevents gibberish in display of the
6507 tutorial title.
6508
89dea803
DA
65092012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
6510
6511 Drop idle buffer compaction due to an absence of the
6512 proved efficiency.
6513 * compact.el: Remove.
6514
8a4e6db8
SS
65152012-07-19 Sam Steingold <sds@gnu.org>
6516
6517 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
6518 vc-bzr-pull & vc-bzr-merge-branch.
6519 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
6520 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
6521 for consistency with compilation-error-regexp-alist.
6522 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
6523 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
6524 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
6525 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
6526
5db81e33
SM
65272012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
6528
6529 * emacs-lisp/chart.el: Use lexical-binding.
6530 (chart-emacs-storage): Don't hardcode the list of entries.
6531
5b835e1d
DA
65322012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
6533
6534 Next round of tweaks caused by Fgarbage_collect changes.
6535 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
6536
9cd47b72
DA
65372012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
6538
6539 Compact buffers when idle.
6540 * compact.el: New file.
6541
1d6fc0df
SM
65422012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
6543
6544 * subr.el (eventp): Presume that if it looks vaguely like an event,
6545 it's an event (bug#10190).
6546
1d29cc7d
FEG
65472012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
6548
6549 Enhancements to ppss related code (thanks Stefan).
6550 * progmodes/python.el (python-indent-context)
6551 (python-indent-calculate-indentation, python-indent-dedent-line)
6552 (python-indent-electric-colon, python-nav-forward-block)
6553 (python-mode-abbrev-table)
1d6fc0df 6554 (python-info-assignment-continuation-line-p): Simplify checks
1d29cc7d
FEG
6555 for ppss context.
6556 (python-info-continuation-line-p): Cleanup.
6557 (python-info-ppss-context): Do not catch 'quote.
6558 (python-info-ppss-context-type)
6559 (python-info-ppss-comment-or-string-p): Simplify.
6560
d583cbe6
FEG
65612012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
6562
6563 * progmodes/python.el: Enhancements to eldoc support.
6564 (python-info-current-symbol): New function.
6565 (python-eldoc-at-point): Use python-info-current-symbol.
6566 (python-info-current-defun): Fix cornercase on first defun scan.
6567 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
6568 and signal error when no inferior python process is available.
6569
eceb6feb
DG
65702012-07-18 Dmitry Gutov <dgutov@yandex.ru>
6571
6572 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
6573 assume it's always t.
6574 (vc-git-registered): Remove caching, the function is only called
6575 once.
6576 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
6577
4c8ff0fe
CY
65782012-07-18 Chong Yidong <cyd@gnu.org>
6579
19fb7186
CY
6580 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
6581
9587c688
CY
6582 * simple.el (count-words): Report on narrowing (Bug#9959).
6583
0fe776a1
CY
6584 * bindings.el: Bind M-= to count-words.
6585
4c8ff0fe
CY
6586 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
6587
7f5331cc
MY
65882012-07-18 Masatake YAMATO <yamato@redhat.com>
6589
6590 * progmodes/sh-script.el (sh-imenu-generic-expression):
6591 Capture a function with `function' keyword and without parentheses
6592 like "function FOO" (bug#11856).
6593
2dc2a609
TH
65942012-07-18 Tassilo Horn <tassilo@member.fsf.org>
6595
6596 * window.el (split-window-sensibly): Make WINDOW argument
6597 optional.
6598
439f7677
CY
65992012-07-18 Chong Yidong <cyd@gnu.org>
6600
9aeb25a6
CY
6601 * subr.el (keyboard-translate): Doc fix (Bug#7261).
6602
439f7677
CY
6603 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
6604 and make C-x 8 RET exit isearch (Bug#11439).
6605
6606 * international/iso-transl.el: Move isearch-mode-map key
6607 definitions to isearch.el.
6608
12999ea8
SM
66092012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
6610
6611 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
6612 (eieio-defclass): Use gv-define-setter when possible.
6613
3ab6e069
DA
66142012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
6615
6616 Reflect recent changes in Fgarbage_collect.
6617 * emacs-lisp/chart.el (chart-emacs-storage): Change to
6618 reflect new format of data returned by Fgarbage_collect.
6619
0a60bc10
FEG
66202012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
6621
6622 New utility functions + python-info-ppss-context fix (Bug#11910).
6623 * progmodes/python.el (python-info-beginning-of-block-statement-p)
6624 (python-info-ppss-comment-or-string-p): New functions.
6625 (python-info-ppss-context): Small fix for string check.
6626
6dafa0d5
JL
66272012-07-17 Juri Linkov <juri@jurta.org>
6628
6629 * dired-aux.el (dired-do-async-shell-command): Doc fix.
6630 (dired-do-async-shell-command): Don't add `*' at the end of the
6631 command (Bug#11815).
6632 (dired-do-shell-command): Doc fix.
6633 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
6634 Join the individual commands using either "&" or ";" as the
6635 separator depending on the values of these trailing characters.
6636 At the end re-add the trailing "&". (Bug#10598)
6637
6638 * simple.el (async-shell-command): Sync the interactive spec with
6639 `shell-command'. Doc fix.
6640 (shell-command): Doc fix.
6641
b19dd9d1
JL
66422012-07-17 Juri Linkov <juri@jurta.org>
6643
6644 * descr-text.el (describe-char): Fix format args. (Bug#10129)
6645
bcdc27d7 66462012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
7f5331cc 6647
bcdc27d7 6648 Final renames and doc fixes for movement commands (bug#11899).
7f5331cc
MY
6649 * progmodes/python.el (python-nav-beginning-of-statement):
6650 Rename from python-nav-statement-start.
bcdc27d7
FEG
6651 (python-nav-end-of-statement): Rename from
6652 python-nav-statement-end.
6653 (python-nav-beginning-of-block): Rename from
6654 python-nav-block-start.
6655 (python-nav-end-of-block): Rename from python-nav-block-end.
6656
191da00e
FEG
66572012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
6658
7f5331cc
MY
6659 * progmodes/python.el (python-shell-send-string-no-output):
6660 Allow accept-process-output to quit, keeping shell process ready for
191da00e
FEG
6661 future interactions (Bug#11868).
6662
4dc7c8d5 66632012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
aa7aaf8f 6664
88ecaf8f
SM
6665 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
6666
ef501ef0
SM
6667 * emacs-lisp/elint.el (elint-find-args-in-code):
6668 Use help-function-arglist, so as to handle lexical byte-code.
6669
aa7aaf8f
SM
6670 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
6671 change (bug#11826).
6672
45fd731c
SM
66732012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
6674
2143fa32
SM
6675 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
6676 Avoid spuriously marking the buffer as modified because of c-is-sws.
6677
efc26dbe
SM
6678 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
6679 as not-a-comment (bug#11946).
6680
f5695c9a
SM
6681 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
6682 for uninterned vars.
6683
6684 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
6685 Use read-event since we don't really want to read chars but bytes.
6686
45fd731c
SM
6687 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
6688 $$..$$ but also $..$ using regexps (bug#11953).
6689 Use tex-verbatim for \url and \path.
6690 (tex-font-lock-keywords): Define as defconst like the others.
6691 (tex-common-initialization): Don't use font-lock-syntax-table any more.
6692
ddfc8813
RK
66932012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
6694
6695 * international/mule-cmds.el (ucs-insert): Make it an obsolete
6696 alias for insert-char.
6697
758e556a
FEG
66982012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
6699
6700 * progmodes/python.el: Simplified imenu implementation.
6701 (python-nav-jump-to-defun): Remove command.
6702 (python-mode-map): Use `imenu' instead.
6703 (python-nav-list-defun-positions-cache)
6704 (python-imenu-include-defun-type, python-imenu-make-tree)
6705 (python-imenu-subtree-root-label, python-imenu-index-alist):
6706 Remove vars.
6707 (python-nav-list-defun-positions, python-nav-read-defun)
6708 (python-imenu-tree-assoc, python-imenu-make-element-tree)
45fd731c
SM
6709 (python-imenu-make-tree, python-imenu-create-index):
6710 Remove functions.
758e556a
FEG
6711 (python-mode): Update to interact with imenu by setting
6712 `imenu-extract-index-name-function' only.
6713
032d23ab
FEG
67142012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
6715
6716 * progmodes/python.el: Enhancements to navigation commands.
6717 (python-nav-backward-sentence)
6718 (python-nav-forward-sentence): Remove.
6719 (python-nav-backward-statement, python-nav-forward-statement)
6720 (python-nav-statement-start, python-nav-statement-end)
6721 (python-nav-backward-block, python-nav-forward-block)
6722 (python-nav-block-start, python-nav-block-end)
6723 (python-nav-forward-sexp-function)
6724 (python-info-current-line-comment-p)
6725 (python-info-current-line-empty-p): New functions.
6726 (python-indent-context): Use `python-nav-statement-start'.
6727
01795a1b
MA
67282012-07-16 Michael Albinus <michael.albinus@gmx.de>
6729
9328d9aa
MA
6730 * eshell/em-ls.el (eshell/ls): Use `apply'.
6731
6732 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
6733 multi-hops, instead of Tramp internals.
6734
01795a1b
MA
6735 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
6736
6737 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
6738 when F1 and F2 are located on different hosts.
6739
63408057
CY
67402012-07-14 Chong Yidong <cyd@gnu.org>
6741
6742 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
6743 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
6744 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
6745 (xterm-mouse--read-event-sequence-1000)
6746 (xterm-mouse--read-event-sequence-1006): New functions. For old
6747 mouse protocol, handle M-mouse-X events correctly.
6748 (xterm-mouse-event): New arg specifying mouse protocol.
6749 (turn-on-xterm-mouse-tracking-on-terminal)
6750 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
45fd731c
SM
6751 sequence to toggle extended coordinates on newer XTerms.
6752 This appears to be harmless on terminals which do not support this.
63408057 6753
cd276f6e
LL
67542012-07-14 Leo Liu <sdl.web@gmail.com>
6755
28ca98ac
LL
6756 Add fringe bitmap indicators for flymake. (Bug#11253)
6757 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
6758 (flymake-make-overlay): New arg BITMAP.
6759 (flymake-error-bitmap, flymake-warning-bitmap)
6760 (flymake-fringe-indicator-position): New user variables.
6761
cd276f6e
LL
6762 * fringe.el: New bitmap exclamation-mark.
6763
04408072
JD
67642012-07-14 Jan Djärv <jan.h.d@swipnet.se>
6765
6766 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
6767 also (Bug#7879).
6768
b5cf7fc4
CY
67692012-07-14 Chong Yidong <cyd@gnu.org>
6770
6771 * electric.el (electric-pair-post-self-insert-function): Fix pair
6772 insertion in empty-region case (Bug#11520).
6773
be755c79
RT
67742012-07-14 Chong Yidong <cyd@gnu.org>
6775
45fd731c
SM
6776 * bindings.el: Consolidate ctl-x-r-map bindings.
6777 Bind copy-rectangle-as-kill to C-x r w.
be755c79
RT
6778
6779 * rect.el, register.el: Move bindings to bindings.el.
6780
67812012-07-14 Reuben Thomas <rrt@sc3d.org>
6782
6783 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
6784
7f5b3198
AS
67852012-07-13 Andreas Schwab <schwab@linux-m68k.org>
6786
6787 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
6788
97662200
JB
67892012-07-13 Juanma Barranquero <lekktu@gmail.com>
6790
80185fed
JB
6791 * bindings.el (top): Use `mapc' instead of `mapcar'.
6792
97662200
JB
6793 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
6794
2bb1ae55
MA
67952012-07-13 Michael Albinus <michael.albinus@gmx.de>
6796
6797 * progmodes/sql.el (sql-comint): Suppress the check for program on
6798 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
6799 (Bug#11908)
6800
dea31bd3
CY
68012012-07-13 Chong Yidong <cyd@gnu.org>
6802
6803 * bindings.el: Assign a non-nil permanent-local property to
6804 per-buffer variables which lack a default value (Bug#11930).
6805
6806 * help-fns.el (describe-variable): In the "automatically becomes
6807 local" notice, take note of permanent-local variables.
6808
b68b3337
CY
68092012-07-13 Chong Yidong <cyd@gnu.org>
6810
6811 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
6812 to allow printing the message when called from Lisp.
6813
6814 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
6815 Remove toggle-read-only.
6816
6817 * bs.el (bs-toggle-readonly):
45fd731c
SM
6818 * buff-menu.el (Buffer-menu-toggle-read-only):
6819 Remove with-no-warnings around toggle-read-only.
b68b3337
CY
6820
6821 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
6822 Remove with-no-warnings around toggle-read-only.
6823 (ffap-read-only, ffap-read-only-other-window)
6824 (ffap-read-only-other-frame): Callers changed.
6825
6826 * help-mode.el: Don't require view package.
6827 (help-mode-finish): Set buffer-read-only instead of calling
6828 toggle-read-only.
6829
6830 * bindings.el (mode-line-toggle-read-only):
6831 * dired.el (dired-toggle-read-only):
6832 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
6833 with non-nil second arg.
6834
6835 * emacs-lisp/eieio-custom.el (eieio-customize-object):
6836 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
6837 directly.
6838
56bc1586
EZ
68392012-07-12 Eli Zaretskii <eliz@gnu.org>
6840
6841 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
6842 not incf.
6843
a464a6c7
SM
68442012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
6845
6846 More CL cleanups and reduction of use of cl.el.
6847 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
6848 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
6849 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
6850 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
6851 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
6852 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
6853 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
6854 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
6855 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
6856 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
6857 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
6858 * eshell/em-cmpl.el, eshell/em-banner.el:
6859 * calendar/parse-time.el: Use cl-lib.
6860 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
6861 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
6862 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
6863 * term/ns-win.el, term.el, shell.el, ps-samp.el:
6864 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
6865 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
6866 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
6867 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
6868 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
6869 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
6870 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
6871 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
6872 `lambda' rather than with `quote'.
6873 (eshell-do-opt): Adjust accordingly.
6874 (eshell-process-option): Simplify.
6875 * eshell/esh-var.el:
6876 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
6877 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
6878 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
6879 to `pcase--dontcare'.
6880 * emacs-lisp/cl.el (labels): Mark obsolete.
6881 (cl--letf, letf): Move to cl-lib.
6882 (cl--letf*, letf*): Remove.
6883 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
6884 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
6885 (cl-progv): Rewrite.
6886 (cl--letf, cl-letf): Move from cl.el.
6887 (cl-letf*): New macro.
6888 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
6889
7ad4afe1
MA
68902012-07-11 Michael Albinus <michael.albinus@gmx.de>
6891
6892 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
6893
9af57756
CY
68942012-07-11 Chong Yidong <cyd@gnu.org>
6895
6896 * vc/log-edit.el (log-edit-vc-backend): New variable.
6897 (log-edit): Doc fix.
6898
6899 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
6900 argument of log-edit to set up all local variables.
6901 (vc-start-logentry): New optional arg specifying VC backend.
6902
6903 * vc/vc.el (vc-checkin): Use it.
6904 (vc-deduce-fileset): Handle Log Edit buffers.
6905 (vc-diff): Make first argument optional too.
6906
6907 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
6908
8477cc7a
MA
69092012-07-10 Michael Albinus <michael.albinus@gmx.de>
6910
6911 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
6912 command, just in case. The function is not needed anymore.
6913 (eshell-external-command): Do not call `eshell-remote-command'.
6914
19faa8e8
SM
69152012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
6916
f58e0fd5
SM
6917 Reduce use of (require 'cl).
6918 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
6919 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
6920 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
6921 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
6922 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
6923 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
6924 * battery.el, avoid.el, abbrev.el: Use cl-lib.
6925 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
6926 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
6927 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
6928 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
6929 * calculator.el, autorevert.el, apropos.el: Don't require CL.
6930 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
6931 (byte-compile-unfold-bcf, byte-compile-check-variable):
6932 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
6933 (byte-compile-nilconstp):
6934 * emacs-lisp/autoload.el (make-autoload): Use pcase.
6935 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
6936
2519d43a
SM
6937 * emacs-lisp/gv.el (cond): Make it a valid place.
6938 (if): Simplify slightly.
6939
19faa8e8
SM
6940 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
6941 (pcase--self-quoting-p): New function.
6942 (pcase--u1): Use it.
6943
c4907a5e
GM
69442012-07-10 Glenn Morris <rgm@gnu.org>
6945
6946 * emacs-lisp/authors.el (authors-fixed-entries):
6947 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
6948
c4444d16
PE
69492012-07-09 Paul Eggert <eggert@cs.ucla.edu>
6950
6951 Rename configure.in to configure.ac (Bug#11603).
6952 * emacs-lisp/authors.el (authors-canonical-file-name):
6953 * progmodes/autoconf.el (autoconf-mode):
6954 Prefer configure.ac to configure.in.
6955
d75be97d
CY
69562012-07-08 Chong Yidong <cyd@gnu.org>
6957
01ac65bd
CY
6958 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
6959 Implement the mouse-1-click-follows-link handling properly.
6960
6961 * info.el (Info-link-keymap): Use follow-link mechanism for
6962 header-line links (Bug#374).
6963
d75be97d
CY
6964 * simple.el (deactivate-mark): Do not set the primary selection
6965 if another program has acquired it (Bug#11772).
6966
87a92845 69672012-07-07 Kevin Ryde <user42@zip.com.au>
f0ecdfea
KR
6968
6969 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
6970 (woman-decode-region): Replace escaped-escapes without destroying
6971 bold or underline (Bug#11552).
87a92845 6972 (woman2-process-escapes): Handle nofill regions (Bug#11591).
f0ecdfea 6973
621b9d6c
CY
69742012-07-07 Chong Yidong <cyd@gnu.org>
6975
6976 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
19faa8e8
SM
6977 (interprogram-cut-function, interprogram-paste-function):
6978 Mention that we typically mean the clipboard.
621b9d6c 6979
133a11fc
GM
69802012-07-06 Glenn Morris <rgm@gnu.org>
6981
0d27a45e
GM
6982 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
6983
133a11fc
GM
6984 * files.el (toggle-read-only): Restrict message to interactive use.
6985
07b151f1
MA
69862012-07-06 Michael Albinus <michael.albinus@gmx.de>
6987
6988 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
6989
6990 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
6991
211b896b
GM
69922012-07-06 Glenn Morris <rgm@gnu.org>
6993
50394322
GM
6994 * Makefile.in (compile-one-process): Rename from "recompile".
6995
211b896b
GM
6996 * Makefile.in (bzr-update): "compile" is the same as "recompile
6997 autoloads", but parallelizable, so use that instead.
6998
4737eec9
DG
69992012-07-06 Dmitry Gutov <dgutov@yandex.ru>
7000
7001 * window.el (quit-window): Always restore window height when
8137e7b3 7002 it's saved in quit-restore parameter (Bug#11810).
4737eec9 7003
226c3633 70042012-07-06 Glenn Morris <rgm@gnu.org>
cb442973
GM
7005
7006 * simple.el (kill-whole-line): Doc tweak.
7007
226c3633 70082012-07-06 Eli Zaretskii <eliz@gnu.org>
93842198
EZ
7009
7010 * files.el (file-relative-name): Compare file names
7011 case-insensitively if on MS-Windows or MS-DOS, or if
7012 read-file-name-completion-ignore-case is non-nil. Don't use
7013 case-fold-search for this purpose. (Bug#11827)
7014
4dc7c8d5
SM
70152012-07-17 Andreas Schwab <schwab@linux-m68k.org>
7016
7017 * calendar/cal-dst.el (calendar-current-time-zone):
7018 Return calendar-current-time-zone-cache if non-nil.
7019
70202012-07-17 Masatake YAMATO <yamato@redhat.com>
226c3633 70212012-07-06 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 7022
19faa8e8
SM
7023 * calendar/cal-dst.el (calendar-current-time-zone):
7024 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 7025
60198fc9
GM
70262012-07-06 Glenn Morris <rgm@gnu.org>
7027
7028 * Makefile.in (cvs-update): Remove old alias.
7029
957b3189
MA
70302012-07-05 Michael Albinus <michael.albinus@gmx.de>
7031
7032 Sync with Tramp 2.2.6-pre.
7033
7034 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
7035 compatible declaration.
7036
19faa8e8
SM
7037 * net/tramp-cmds.el (tramp-append-tramp-buffers):
7038 Protect `list-load-path-shadows' call.
957b3189
MA
7039
7040 * net/tramp-compat.el (top): Require packages, which aren't
7041 autoloaded anymore for XEmacs. Protect call of
7042 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
7043 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
7044 it hurts at least for SXEmacs.
7045 (tramp-compat-temporary-file-directory): In XEmacs, there is no
7046 standard-value for `temporary-file-directory'.
7047
7048 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
7049 Redirect stderr to /dev/null.
7050 (tramp-sh-handle-write-region): uid and gid can be floats.
7051 Reported by Russell Sim <russell.sim@gmail.com>.
7052 (tramp-sh-handle-vc-registered): Hide errors.
7053 (tramp-vc-file-name-handler): Use dummy results for `process-file'
7054 and `start-file-process'.
7055 (tramp-maybe-open-connection): Check also whether `non-essential'
7056 is bound.
7057
566df3fc
CY
70582012-07-04 Chong Yidong <cyd@gnu.org>
7059
7060 * xml.el (xml--parse-buffer): Use xml-syntax-table.
7061 (xml-parse-tag): Likewise, and avoid changing entity tables.
7062 (xml-syntax-table): Define from scratch, making sure not to give
7063 x2000 and other Unicode spaces whitespace syntax, since those are
7064 not spaces in XML.
7065 (xml-parse-fragment): Delete unused function.
7066 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
7067 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
7068 (xml-entity-ref, xml-pe-reference-re)
7069 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
7070 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
7071 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
7072 (xml-entity-value-re): Use syntax references in regexps where
7073 possible; no need to define inside a let-binding.
7074 (xml-parse-dtd): Use xml-pe-reference-re.
7075 (xml-entity-or-char-ref-re): New defconst.
7076 (xml-parse-string, xml-substitute-special): Use it.
7077
30eabd7a
SM
70782012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
7079
0781098a
SM
7080 * files.el (locate-dominating-file): Allow `name' to be a predicate.
7081 (find-file--read-only): New function.
7082 (find-file-read-only, find-file-read-only-other-window)
7083 (find-file-read-only-other-frame): Use it.
7084 (insert-file-contents-literally): Don't `fset'.
7085 (get-free-disk-space): Use locate-dominating-file.
7086
b5771c0d
SM
7087 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
7088 function is already compiled.
7089
30eabd7a
SM
7090 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
7091
b4886f6e
MA
70922012-07-03 Michael Albinus <michael.albinus@gmx.de>
7093
7094 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
7095 files on the same host.
7096
b9d82339
AS
70972012-07-03 Andreas Schwab <schwab@linux-m68k.org>
7098
7099 * help-fns.el (describe-function-1): Only call
7100 help-fns--autoloaded-p when we have a file name. (Bug#11848)
7101
a76e6535
CY
71022012-07-03 Chong Yidong <cyd@gnu.org>
7103
7104 * xml.el: Protect parser against XML bombs.
7105 (xml-entity-expansion-limit): New variable.
7106 (xml-parse-string, xml-substitute-special): Use it.
7107 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
7108
b544fef2
GM
71092012-07-03 Glenn Morris <rgm@gnu.org>
7110
7111 * progmodes/bug-reference.el (bug-reference-bug-regexp):
7112 Allow linking to specific messages in debbugs reports (eg 123#5).
7113
a7aef6f5
CY
71142012-07-02 Chong Yidong <cyd@gnu.org>
7115
7116 * xml.el: Fix entity and character reference expansion, allowing
7117 them to expand into markup as per XML spec.
7118 (xml-default-ns): New variable.
7119 (xml-entity-alist): Use XML spec definitions for lt and amp.
30eabd7a
SM
7120 (xml-parse-region): Make first two arguments optional.
7121 Discard text properties.
7122 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
7123 All callers changed.
a7aef6f5
CY
7124 (xml-parse-tag): Call xml-parse-tag-1. For backward
7125 compatibility, this function should not modify buffer contents.
7126 (xml-parse-tag-1): Fix opening-tag regexp.
7127 (xml-parse-string): Rewrite, handling entity and character
7128 references properly.
7129 (xml--entity-replacement-text): Signal an error if a parameter
7130 entity is undefined.
7131
3df31c9f
SM
71322012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
7133
2b5208f1
SM
7134 * comint.el (comint-output-filter): Filter out repeated prompts.
7135
3df31c9f
SM
7136 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
7137 and file-name-absolute-p.
7138 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
7139 internal calls.
7140
e3ac1281
PE
71412012-07-02 Paul Eggert <eggert@cs.ucla.edu>
7142
7143 Spelling fixes.
7144 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
7145 Rename from byte-compile--refiy-function. All uses changed.
7146
fbf2e7ad
CY
71472012-07-01 Chong Yidong <cyd@gnu.org>
7148
7149 * xml.el (xml--parse-buffer): New function. Move most of
7150 xml-parse-region here.
7151 (xml-parse-region): Copy region into a temporary buffer, since
7152 parameter entity substitution requires changing buffer contents.
7153 Use xml--parse-buffer.
7154 (xml-parse-file): Use xml--parse-buffer.
7155 (xml-parse-dtd): Make parameter entity substitution work right.
6fe566a7 7156 Use proper regexps for ELEMENT declarations (Bug#7172).
fbf2e7ad 7157
9bf0aa15
GM
71582012-06-30 Glenn Morris <rgm@gnu.org>
7159
bbce2853
GM
7160 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
7161
9bf0aa15
GM
7162 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
7163 Remove outdated and unnecessary dbus declarations.
7164
0d23c240
EZ
71652012-06-30 Eli Zaretskii <eliz@gnu.org>
7166
7167 * emacs-lisp/timer.el (timer-until): Subtract results of
7168 float-time, instead of taking float-time of the result of
7169 time-subtract, since float-time signals an error for negative time
7170 arguments.
7171
b3218de1
CY
71722012-06-30 Chong Yidong <cyd@gnu.org>
7173
7174 * xml.el (xml-*-re): Convert defvars into defconsts, and
7175 eval-and-compile them so eval-and-compile works on derivatives.
7176 (xml--entity-replacement-text): Use eval-and-comple.
7177
a40c87a0
MA
71782012-06-30 Michael Albinus <michael.albinus@gmx.de>
7179
7180 * vc/vc-git.el (vc-git-registered): Use cache property
7181 `git-registered'.
7182 (vc-git-mode-line-string): Call `vc-working-revision' instead of
7183 `vc-git-working-revision' in order to benefit from the cache.
2bb1ae55 7184 (vc-git-root): Use cache property `git-root'. (Bug#11757)
a40c87a0 7185
ac87de97
DG
71862012-06-30 Dmitry Gutov <dgutov@yandex.ru>
7187
7188 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
2bb1ae55 7189 removed (likely outside Emacs). (Bug#11757)
ac87de97 7190
ac10fe06
SM
71912012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
7192
3df31c9f 7193 * emacs-lisp/cl-lib.el: Require macroexp.
ac10fe06 7194
7f3fbd5d
CY
71952012-06-30 Chong Yidong <cyd@gnu.org>
7196
7197 * xml.el: Implement XML parameter entities.
7198 (xml-parameter-entity-alist): New variable.
7199 (xml-parse-region, xml-parse-fragment): Preserve previous values
7200 of xml-entity-alist and xml-parameter-entity-alist, so that
7201 repeated calls on different documents do not change them.
7202 (xml-parse-tag): Fix doctype regexp.
7203 (xml--entity-replacement-text): New function.
7204 (xml-parse-dtd): Use it. Don't handle system entities; doing that
7205 properly requires url retrieval which is unimplemented.
7206 (xml-escape-string): Doc fix.
7207
3cfbebba
SM
72082012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
7209
7210 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
7211
2af3565e
DA
72122012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
7213
7214 * fringe.el (fringe-mode): Doc fix.
7215
929df0e7
MA
72162012-06-29 Michael Albinus <michael.albinus@gmx.de>
7217
7218 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
7219 is non-nil.
7220 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
7221 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
7222
c8d3a25c 72232012-06-29 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 7224
c8d3a25c
GM
7225 * calendar/cal-dst.el (calendar-current-time-zone):
7226 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 7227
c8d3a25c 72282012-06-29 Masatake YAMATO <yamato@redhat.com>
26e8548e
MY
7229
7230 * progmodes/which-func.el (which-func-format):
7231 Add mouse-face. (Bug#11698)
7232
c8d3a25c
GM
72332012-06-29 Leo Liu <sdl.web@gmail.com>
7234
7235 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
7236
72372012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
7238
7239 * minibuffer.el (minibuffer-confirm-exit-commands):
7240 Add completion-at-point (bug#11725).
7241
72422012-06-29 Glenn Morris <rgm@gnu.org>
7243
7244 * progmodes/f90.el (f90-font-lock-keywords-2):
7245 Add some preprocessor elements. (Bug#10499)
7246
72472012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
7248
7249 * progmodes/cperl-mode.el (cperl-update-syntaxification):
7250 Use syntax-propertize (bug#11739).
7251
2badeec4
JB
72522012-06-28 Juanma Barranquero <lekktu@gmail.com>
7253
7254 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
7255
ae4969c2
JD
72562012-06-28 Julien Danjou <julien@danjou.info>
7257
7258 * term.el (term-handle-colors-array): Use a set of new faces to
7259 color the terminal. Also uses :inverse-video property.
7260 (term-default-fg-color): Set to nil by default, deprecate in favor
7261 of `term-face'.
7262 (term-default-bg-color): Set to nil by default, deprecate in favor
7263 of `term-face'.
7264 (term-current-face): Use `term-face' by default.
7265 (term-bold-attribute): Variable deleted.
7266
1c9bd870
GM
72672012-06-28 Glenn Morris <rgm@gnu.org>
7268
7269 * simple.el (completion-list-mode-finish):
7270 Don't use toggle-read-only. (Since completion-list-mode has
7271 a special mode-class, it wasn't doing anything extra anyway.)
7272
c207708c
SM
72732012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
7274
7275 Make inlining of other-mode interpreted functions work (bug#11799).
7276 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
7277 (byte-compile): Use it to fix compilation of lexical-binding closures.
7278 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
7279 function, if needed.
7280
3fd56834
SM
72812012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
7282
04901786
SM
7283 * help-mode.el (help-make-xrefs): Don't just withstand
7284 cyclic-variable-indirection but any error in documentation-property.
7285
1ec4b7b2
SM
7286 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
7287 memory use.
7288 * bindings.el (bindings--define-key): New function.
7289 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
7290 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
7291 * bindings.el: Use it to purecopy define-key bindings.
7292
e309e2a5
SM
7293 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
7294
d5c6faf9
SM
7295 * emacs-lisp/cl.el (flet): Mark obsolete.
7296 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
7297 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
7298 * progmodes/js.el (js-c-fill-paragraph):
7299 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
7300 (ebrowse-switch-member-buffer-to-derived-class):
7301 * play/5x5.el (5x5-solver): Use cl-flet.
7302
6e9590e2
SM
7303 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
7304 (cl--symbol-function): New macro.
7305 (cl--letf, cl--letf*): Use it.
7306
3fd56834
SM
7307 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
7308 Strip "toggle-" if any.
7309
35ff222c
GM
73102012-06-27 Glenn Morris <rgm@gnu.org>
7311
1ba6038a
GM
7312 * info.el (Info-default-directory-list): Move here from paths.el.
7313 * paths.el: Remove file, which is now empty.
7314 * loadup.el: No longer load "paths".
7315
0ea0e51b
GM
7316 * custom.el (custom-initialize-delay): Doc fix.
7317
35ff222c
GM
7318 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
7319 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
7320 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
7321 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
7322 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
7323 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
7324 * eshell/eshell.el (eshell-defgroup): Remove alias.
7325
c89926a5
CY
73262012-06-27 Chong Yidong <cyd@gnu.org>
7327
7328 * help.el (help-enable-auto-load): New variable.
7329
7330 * help-fns.el (help-fns--autoloaded-p): New function.
7331 (describe-function-1): Refer to a function as "autoloaded" if it
7332 was autoloaded at any time in the past. Perform autoloading if
7333 help-enable-auto-load is non-nil.
7334
cc06e7e7
EZ
73352012-06-26 Eli Zaretskii <eliz@gnu.org>
7336
7337 * makefile.w32-in (compile, compile-always): Depend on
7338 update-subdirs, not on subdirs.el. Otherwise, several different
7339 sub-targets of 'bootstrap' running in parallel could
7340 simultaneously write to subdirs.el, producing a garbled file.
7341
d2c32364
SS
73422012-06-26 Sam Steingold <sds@gnu.org>
7343
7344 * files.el (file-name-base): New convenience function.
0d14cc21
GM
7345 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
7346 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
7347 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
7348 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
7349 * textmodes/ispell.el, textmodes/reftex-ref.el:
d2c32364
SS
7350 * textmodes/tex-mode.el: Use it.
7351 Did not touch cedet and org because they are maintained elsewhere.
7352
5cf983b2
MR
73532012-06-26 Martin Rudalics <rudalics@gmx.at>
7354
7355 * calendar/calendar.el (calendar-exit): Don't try to delete or
7356 iconify last frame. See:
7357 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
7358
8c4f2952
JD
73592012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
7360
7361 * server.el (server-process-filter): Remember dir in the
7362 process's `server-client-directory' properties.
7363
772b2e2c
CY
73642012-06-24 Chong Yidong <cyd@gnu.org>
7365
7366 * xml.el (xml-parse-tag): Correctly handle comment embedded in
7367 non-tag text.
7368
711b11e1
JB
73692012-06-23 Juanma Barranquero <lekktu@gmail.com>
7370
7371 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
7372
dc5d230c
SM
73732012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
7374
7375 * help-fns.el (describe-variable): Don't croak when doc is not found.
7376 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
7377 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
7378 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
7379 * emacs-lisp/smie.el (smie-next-sexp): CSE.
7380 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
7381 ((lambda ..) ..).
7382 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
7383
136e1c1d
CY
73842012-06-23 Chong Yidong <cyd@gnu.org>
7385
e8c1cabf
CY
7386 * info.el (Info-mouse-follow-link): Accept symbol values of
7387 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
136e1c1d
CY
7388 (Info-fontify-node): Use Info-link-keymap for all navigation
7389 buttons, with link-args property to perform the desired action.
7390 (Info-link-keymap): Doc fix.
7391 (Info-next-link-keymap, Info-prev-link-keymap)
7392 (Info-up-link-keymap): Delete now-unused keymaps.
7393
0e9e6c6a
CY
73942012-06-23 Chong Yidong <cyd@gnu.org>
7395
05e89fea
CY
7396 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
7397
0e9e6c6a
CY
7398 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
7399 system abbrevs.
7400
7401 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
7402
e33c6771
SM
74032012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
7404
b68581e2
SM
7405 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
7406 (bug#11719).
7407
e33c6771
SM
7408 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
7409 the requote function doesn't work properly (bug#11714).
7410
7117e105
GM
74112012-06-23 Glenn Morris <rgm@gnu.org>
7412
7413 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
7414
36cec983
SM
74152012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
7416
7417 Further GV/CL cleanups.
7418 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
7419 gv-expander.
7420 (gv--defun-declaration): New function.
7421 (defun-declarations-alist): Use it.
7422 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
7423 (gv-place): Autoload.
7424 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
7425 original definition of dotimes and dolist.
7426 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
7427 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
7428 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
7429 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
7430 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
7431 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
7432 to the function's definition.
7433 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
7434 * window.el:
7435 * files.el:
7436 * faces.el:
7437 * env.el: Don't use CL.
7438
d35af63c
PE
74392012-06-22 Paul Eggert <eggert@cs.ucla.edu>
7440
7441 Support higher-resolution time stamps (Bug#9000).
7442
7443 * calendar/time-date.el (with-decoded-time-value): New arg
7444 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
7445 (encode-time-value): New optional arg PICO. New type 3.
7446 (time-to-seconds) [!float-time]: Support the new picoseconds
7447 component if it's used.
7448 (seconds-to-time, time-subtract, time-add):
7449 Support ps-resolution time stamps as well.
7450
7451 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
7452 (timerp): Timer vectors now have length 9, not 8.
7453 (timer--time): Support new-style (4-part) time stamps.
7454 (timer-next-integral-multiple-of-time): Time stamps now have
7455 picosecond resolution, so take a bit more care about rounding.
7456 (timer-relative-time, timer-inc-time): New optional arg psecs.
7457 (timer-set-time-with-usecs): Set psecs to 0.
7458 (timer--activate): Check psecs component, too.
7459
7460 * proced.el (proced-time-lessp): Support ps-resolution stamps.
7461
ac77b21a
SM
74622012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
7463
f143bfe3
SM
7464 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
7465 Move the non-essential binding to the post/pre-command-hook where it is
7466 more obviously correct.
7467
ac77b21a
SM
7468 * subr.el (read-passwd): Don't use a history at all.
7469 * savehist.el (savehist-save): Remove password saved accidentally
7470 because of the above bug.
7471
76386c5a
BG
74722012-06-22 Bastien Guerry <bzg@gnu.org>
7473
7474 * files.el (toggle-read-only): Display a message telling whether
7475 the buffer is read-only or not (bug#11726).
7476
2ee3d7f0
SM
74772012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
7478
7479 * emacs-lisp/gv.el: New file.
7480 * subr.el (push, pop): Extend to generalized variables.
7481 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
7482 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
7483 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
7484 gv-define-simple-setter, and gv-define-expander.
7485 Remove setf-methods defined in gv. Rename cl-setf -> setf.
7486 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
7487 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
7488 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
7489 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
7490 gv-letplace.
7491 (cl-defstruct): Don't define setf-method any more.
7492 * emacs-lisp/cl.el (flet): Don't autoload.
7493 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
7494 (define-setf-expander, defsetf, define-modify-macro)
7495 (cl-struct-setf-expander): Move from cl-lib.el.
7496 * emacs-lisp/syntax.el:
7497 * emacs-lisp/ewoc.el:
7498 * emacs-lisp/smie.el:
7499 * emacs-lisp/cconv.el:
7500 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
7501 (timer--time): Use gv-define-simple-setter.
7502 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
7503 to avoid coding-system problems in subr.el. Adjust all users.
7504 (macroexp--maxsize, macroexp-small-p): New functions.
7505 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
7506 * scroll-bar.el (scroll-bar-mode):
7507 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
7508 (normal-erase-is-backspace-mode): Don't use the `eq' place.
7509 * winner.el (winner-configuration, winner-make-point-alist)
7510 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
7511 * files.el (locate-file-completion-table): Avoid list*.
7512
c5695d1d
CY
75132012-06-22 Chong Yidong <cyd@gnu.org>
7514
7515 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
7516 (dired-create-files): Doc fix (Bug#11329).
7517 (dired-do-copy): Doc fix (Bug#11334).
7518 (dired-mark-read-string): Doc fix (Bug#11553).
7519
2ee3d7f0
SM
7520 * dired.el (dired-recursive-copies, dired-recursive-deletes):
7521 Doc fix (Bug#11326).
c5695d1d
CY
7522 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
7523 (dired-dwim-target): Doc fix.
7524
7525 * wdired.el (wdired-mode): Doc fix.
7526
89b5595a
GM
75272012-06-22 Glenn Morris <rgm@gnu.org>
7528
575db3f1
GM
7529 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
7530 (pcmpl-rpm-cache-stamp-file): New constant.
7531 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
7532 (pcmpl-rpm-packages): Optionally cache list of packages.
7533
a4c8dd51
GM
7534 * pcmpl-rpm.el (pcmpl-rpm): New group.
7535 (pcmpl-rpm-query-options): New option.
7536 (pcmpl-rpm-packages): No need to inline it.
7537 Use pcmpl-rpm-query-options.
7538
89b5595a
GM
7539 * calendar/calendar.el (calendar-in-read-only-buffer):
7540 Avoid some needless mode changes.
7541
e76f0800
CY
75422012-06-21 Chong Yidong <cyd@gnu.org>
7543
7544 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
7545 (desktop-path): Remove . from the default value (Bug#10977).
6b67c0d4 7546 (desktop-read): Use user-emacs-directory if desktop-path is nil.
e76f0800 7547
297a8f1d
CY
75482012-06-20 Chong Yidong <cyd@gnu.org>
7549
7550 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
7551
d34c18b1
DR
75522012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
7553
7554 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
7555 (bug#11201).
7556
32f7f28e
CY
75572012-06-20 Chong Yidong <cyd@gnu.org>
7558
7559 * term.el (term-window-width): Handle the case of a missing right
7560 fringe (Bug#8837).
7561 (term-check-size): Use window-text-height (Bug#5445).
d34c18b1
DR
7562 (term-mode): Use define-derived-mode. Minor cleanups.
7563 Set font-lock-defaults (Bug#7692).
6ff7caa8
CY
7564 (term-move-columns, term-insert-char, term-emulate-terminal)
7565 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
32f7f28e 7566
493c6688
MA
75672012-06-20 Michael Albinus <michael.albinus@gmx.de>
7568
d34c18b1
DR
7569 * net/ange-ftp.el (ange-ftp-get-passwd):
7570 Bind `enable-recursive-minibuffers'.
493c6688
MA
7571 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
7572
3f06ecf4
DR
75732012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
7574
7575 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
7576
68f12411
GM
75772012-06-19 Glenn Morris <rgm@gnu.org>
7578
7579 * progmodes/python.el (python-mode): Derive from prog-mode.
7580
b3820318
KG
75812012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
7582
7583 * emulation/edt.el (edt-default-menu-bar-update-buffers)
7584 (edt-user-menu-bar-update-buffers): New functions.
7585 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
7586
c6bf3022
CY
75872012-06-19 Chong Yidong <cyd@gnu.org>
7588
7589 * subr.el (with-selected-window): Preserve the selected window's
7590 terminal's top-frame (Bug#4702).
7591
7592 * window.el (save-selected-window): Likewise.
7593
25f09295
SM
75942012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
7595
7596 * progmodes/python.el (python-rx-constituents): Move backquote.
7597 (python-skeleton-define, python-define-auxiliary-skeleton):
7598 Use `declare'.
7599
6b11952a
MA
76002012-06-18 Michael Albinus <michael.albinus@gmx.de>
7601
7602 * minibuffer.el (read-file-name-default): Revert the patch from
7603 2012-06-17.
7604
ee4b1330
SM
76052012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
7606
7607 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
7608 (pcase--u1, pcase--q1): Don't use apply-partially.
7609
35647f79
GM
76102012-06-18 Glenn Morris <rgm@gnu.org>
7611
7612 * progmodes/python.el (python-proc, python-buffer)
7613 (python-send-receive, python-send-string): Fix obsolete versions.
7614
24b0cff0
MR
76152012-06-18 Martin Rudalics <rudalics@gmx.at>
7616
7617 * window.el (special-display-p): Completely remove stringp
7618 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
7619
29855149
MA
76202012-06-17 Michael Albinus <michael.albinus@gmx.de>
7621
7622 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
7623
7624 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
7625
7626 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
7627 * net/tramp-sh.el (tramp-maybe-open-connection):
7628 Throw if `non-essential' is non-nil.
7629
07463363
MR
76302012-06-17 Martin Rudalics <rudalics@gmx.at>
7631
7632 * window.el (special-display-p): Signal an error if BUFFER-NAME
7633 is not a string (Bug#11713).
7634
48d1354e
PE
76352012-06-17 Paul Eggert <eggert@cs.ucla.edu>
7636
7637 * progmodes/python.el (python-info-beginning-of-backslash):
7638 Rename from python-info-beginning-of-backlash, as a spelling fix.
7639
eb4a8a9a
CY
76402012-06-17 Chong Yidong <cyd@gnu.org>
7641
7642 * term.el (term-emulate-terminal): If term-check-size is called,
7643 move point to the process mark without resetting point (Bug#4635).
7644
ddfbf826 76452012-06-17 Glenn Morris <rgm@gnu.org>
9c758578
GM
7646
7647 * international/mule-cmds.el (mule-menu-keymap)
7648 (set-language-environment, set-locale-environment): Doc tweaks.
7649
9b0e3eba
AA
76502012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
7651
7652 * cus-face.el (custom-face-attributes): Add wave-style underline
7653 attribute.
7654 * faces.el (set-face-attribute): Update docstring to describe
7655 wave-style underline attribute.
7656
771e3eae
CY
76572012-06-16 Chong Yidong <cyd@gnu.org>
7658
7659 * term/xterm.el (terminal-init-xterm): Discard input before
7660 querying background mode (Bug#10959).
7661
7ae2ea10
SM
76622012-06-16 Stefan Merten <smerten@oekonux.de>
7663
7664 * textmodes/rst.el: Added and corrected some comments.
7665 (rst-re-alist-def): Improve symbol syntax.
7666 (rst-mode-syntax-table): Correct syntax entries.
6665a6fd
SM
7667 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
7668 (rst-official-version, rst-official-cvs-rev): Update version
7669 information.
7ae2ea10 7670
b6974efa
JB
76712012-06-15 Juanma Barranquero <lekktu@gmail.com>
7672
7673 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
7674 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
7675
8826d473
GM
76762012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
7677
7678 * progmodes/python.el: New python.el merge.
7679 (python-guess-indent): Obsolete var.
7680 (python-indent-guess-indent-offset): New defcustom.
7681 (python-indent): Obsolete var.
7682 (python-indent-offset): New defcustom.
7683 (python-python-command, python-jython-command): Delete var.
7684 (python-shell-interpreter): New defcustom.
7685 (python-pdbtrack-do-tracking-p): Delete var.
7686 (python-pdbtrack-activate): New defcustom.
7687 (python-use-skeletons): Obsolete var.
7688 (python-skeleton-autoinsert): New defcustom.
7689 (inferior-python-filter-regexp, python-continuation-offset)
7690 (python-honour-comment-indentation, python-indent-string-contents)
7691 (python-jython-packages, python-mode-hook)
7692 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
7693 (python-shell-prompt-alist)
7694 (python-source-modes): Delete defcustoms.
7695 (python-check-buffer-name, python-eldoc-setup-code)
7696 (python-eldoc-string-code, python-ffap-setup-code)
7697 (python-ffap-string-code, python-fill-comment-function)
7698 (python-fill-decorator-function, python-fill-paren-function)
7699 (python-fill-string-function, python-imenu-include-defun-type)
7700 (python-imenu-make-tree, python-imenu-subtree-root-label)
7701 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
7702 (python-shell-compilation-regexp-alist)
7703 (python-shell-completion-module-string-code)
7704 (python-shell-completion-pdb-string-code)
7705 (python-shell-completion-setup-code)
7706 (python-shell-completion-string-code)
7707 (python-shell-enable-font-lock, python-shell-exec-path)
7708 (python-shell-extra-pythonpaths)
7709 (python-shell-internal-buffer-name, python-shell-interpreter-args)
7710 (python-shell-process-environment)
7711 (python-shell-prompt-block-regexp)
7712 (python-shell-prompt-output-regexp)
7713 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
7714 (python-shell-send-setup-max-wait, python-shell-setup-codes)
7715 (python-shell-virtualenv-path): New defcustoms.
7716 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
7717 (inferior-python-mode-syntax-table, python--prompt-regexp)
7718 (python-buffer, python-command python-python-command)
7719 (python-default-template, python-imports, python-indent-index)
7720 (python-indent-list, python-indent-list-length)
7721 (python-mode-running, python-pdbtrack-is-tracking-p)
7722 (python-preoutput-continuation, python-preoutput-leftover)
7723 (python-preoutput-result, python-preoutput-skip-next-prompt)
7724 (python-prev-dir/file, python-recursing)
7725 (python-saved-check-command, python-version-checked)
7726 (python-which-func-length-limit)
7727 (view-return-to-alist): Delete vars.
7728 (python-check-custom-command, python-dotty-syntax-table)
7729 (python-imenu-index-alist, python-indent-current-level)
7730 (python-indent-dedenters, python-indent-levels)
7731 (python-nav-beginning-of-defun-regexp)
7732 (python-nav-list-defun-positions-cache)
7733 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
7734 (python-shell-internal-buffer)
7735 (python-skeleton-available): New vars.
7736 (def-python-skeleton): Delete macro.
7737 (python-skeleton-define): New macro.
7738 (python-define-auxiliary-skeleton, python-rx): New macros.
7739 (python-insert-class): Delete command.
7740 (python-skeleton-class): New command.
7741 (python-insert-def): Delete command.
7742 (python-skeleton-def): New command.
7743 (python-insert-for): Delete command.
7744 (python-skeleton-for): New command.
7745 (python-insert-if): Delete command.
7746 (python-skeleton-if): New command.
7747 (python-insert-try/except, python-insert-try/finally): Delete commands.
7748 (python-skeleton-try): New command.
7749 (python-insert-while): Delete command.
7750 (python-skeleton-while): New command.
7751 (python-backspace): Delete command.
7752 (python-indent-dedent-line-backspace): New command.
7753 (python-electric-colon): Delete command.
7754 (python-indent-electric-colon): New command.
7755 (python-guess-indent): Delete command.
7756 (python-indent-guess-indent-offset): New command.
7757 (python-shift-left): Delete command.
7758 (python-indent-shift-left): New command.
7759 (python-shift-right): Delete command.
7760 (python-indent-shift-right): New command.
7761 (python-find-function): Delete command.
7762 (python-nav-jump-to-defun): New command.
7763 (python-next-statement): Delete command.
7764 (python-nav-forward-sentence): New command.
7765 (python-previous-statement): Delete command.
7766 (python-nav-backward-sentence): New command.
7767 (python-fill-paragraph): Delete command.
7768 (python-fill-paragraph-function): New command.
7769 (python-send-buffer): Delete command.
7770 (python-shell-send-buffer): New command.
7771 (python-send-defun): Delete command.
7772 (python-shell-send-defun): New command.
7773 (python-send-region, python-send-region-and-go): Delete commands.
7774 (python-shell-send-region)
7775 (python-shell-switch-to-shell): New commands.
7776 (python-send-string): Delete command.
7777 (python-shell-send-string): New command.
7778 (python-switch-to-python): Delete command.
7779 (python-shell-switch-to-shell): New command.
7780 (python-describe-symbol): Delete command.
7781 (python-eldoc-at-point): New command.
7782 (python--set-prompt-regexp, python-args-to-list)
7783 (python-after-info-look, python-check-version)
7784 (python-check-comint-prompt, python-find-imports)
7785 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
7786 (python-unload-function, python-expand-template)
7787 (python-maybe-jython, python-preoutput-filter)
7788 (python-pdbtrack-get-source-buffer)
7789 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
7790 (python-pdbtrack-toggle-stack-tracking)
7791 (python-pdbtrack-track-stack-file, python-initial-text)
7792 (python-first-word, python-comment-line-p, python-send-command)
7793 (python-setup-brm, python-sentinel, python-set-proc)
7794 (python-skip-out, python-input-filter, python-outdent-p)
7795 (python-outline-level, python-backslash-continuation-line-p)
7796 (python-end-of-block, python-end-of-statement, python-mark-block)
7797 (python-beginning-of-block, python-beginning-of-statement)
7798 (python-blank-line-p, python-beginning-of-string)
7799 (python-open-block-statement-p): Delete functions.
7800 (python-indent-line, python-indent-line-1): Delete functions.
7801 (python-indent-line): New function.
7802 (python-indentation-levels): Delete function.
7803 (python-indent-calculate-levels): New function.
7804 (python-proc): Delete function.
7805 (python-shell-get-process): New function.
7806 (python-send-receive): Delete function.
7807 (python-shell-send-string-no-output): New function.
7808 (python-module-path): Delete function.
7809 (python-ffap-module-path): New function.
7810 (python-completion-at-point)
7811 (python-symbol-completions): Delete functions.
7812 (python-completion-complete-at-point): New function.
7813 (python-load-file): Delete function.
7814 (python-shell-send-file): New function.
7815 (python-calculate-indentation): Delete function.
7816 (python-indent-calculate-indentation): New function.
7817 (python-skip-comments/blanks): Delete function.
7818 (python-util-forward-comment): New function.
7819 (python-continuation-line-p): Delete function.
7820 (python-info-continuation-line-p): New function.
7821 (python-which-func, python-current-defun): Delete function.
7822 (python-info-current-defun): New function.
7823 (python-beginning-of-defun): Delete function.
7824 (python-nav-beginning-of-defun): New function.
7825 (python-close-block-statement-p)
7826 (python-block-end-p): Delete function.
7827 (python-info-closing-block): New function.
7828 (python-comint-output-filter-function)
7829 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
7830 (python-fill-comment, python-fill-decorator, python-fill-paren)
7831 (python-fill-string, python-imenu-make-element-tree)
7832 (python-imenu-make-tree, python-imenu-tree-assoc)
7833 (python-indent-context, python-indent-dedent-line)
7834 (python-indent-line-function)
7835 (python-indent-post-self-insert-function)
7836 (python-indent-toggle-levels)
7837 (python-info-assignment-continuation-line-p)
7838 (python-info-beginning-of-backlash)
7839 (python-info-block-continuation-line-p)
7840 (python-info-closing-block-message)
7841 (python-info-line-ends-backslash-p)
7842 (python-info-looking-at-beginning-of-defun)
7843 (python-info-ppss-context, python-info-ppss-context-type)
7844 (python-nav-list-defun-positions, python-nav-read-defun)
7845 (python-nav-sentence-end, python-nav-sentence-start)
7846 (python-pdbtrack-comint-output-filter-function)
7847 (python-pdbtrack-set-tracked-buffer)
7848 (python-shell-calculate-exec-path)
7849 (python-shell-calculate-process-environment)
7850 (python-shell-completion--do-completion-at-point)
7851 (python-shell-completion--get-completions)
7852 (python-shell-completion-complete-at-point)
7853 (python-shell-completion-complete-or-indent)
7854 (python-shell-get-or-create-process)
7855 (python-shell-get-process-name)
7856 (python-shell-internal-get-or-create-process)
7857 (python-shell-internal-get-process-name)
7858 (python-shell-internal-send-string, python-shell-make-comint)
7859 (python-shell-parse-command, python-shell-send-setup-code)
7860 (python-skeleton-add-menu-items)
7861 (python-util-clone-local-variables, python-util-position)
7862 (run-python-internal, python-indentation-levels)
7863 (python-nav-beginning-of-defun)
7864 (python-completion-complete-at-point): New functions.
7865 (run-python): Change arguments. New API requirements.
7866
4302f5ba
SM
78672012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
7868
f38ea36d
SM
7869 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
7870 (bug#11649).
7871
7872 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
7873 (macroexp--expand-all): Use it.
7874
4302f5ba
SM
7875 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
7876 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
7877 Use `cl-function' instead.
7878
33377562
JB
78792012-06-14 Juanma Barranquero <lekktu@gmail.com>
7880
7881 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
7882 Suggested by Stefan Monnier while discussing bug#11657.
7883
54c5ba1a
SS
78842012-06-14 Sam Steingold <sds@gnu.org>
7885
7886 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
7887
f9f1b1fe
AS
78882012-06-14 Andreas Schwab <schwab@linux-m68k.org>
7889
7890 * play/doctor.el (doctor-doc): Remove parameter and use
7891 doctor-sent instead of sent.
7892 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
7893
a81068ba
SM
78942012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
7895
5a315f9c
SM
7896 * files.el: Require cl-lib.
7897 (file-name-non-special): Replace case -> cl-case.
7898
7899 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
7900
a81068ba
SM
7901 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
7902 mapping from #' to function*.
7903
8cca9703
CY
79042012-06-13 Chong Yidong <cyd@gnu.org>
7905
7906 * mouse.el (mouse-drag-track): Do not set the mark if the user
7907 releases the mouse without selecting anything (Bug#11588).
7908
a12ac9d7
SM
79092012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
7910
ccf1dc18
SM
7911 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
7912 as well (bug#11646).
7913
ef62b23d
SM
7914 * loadup.el: Count byte-code functions as well.
7915
c4c8444a
SM
7916 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
7917 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
7918
a12ac9d7
SM
7919 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
7920 (bug#11649). Add cl-defun and cl-defmacro.
7921
87e6e64f
DA
79222012-06-13 Drew Adams <drew.adams@oracle.com>
7923
7924 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
7925 Fix last change.
7926
682cefaf
MA
79272012-06-13 Michael Albinus <michael.albinus@gmx.de>
7928
7929 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
7930 Otherwise, it blocks in batch mode.
7931
773e1f08
JB
79322012-06-13 Juanma Barranquero <lekktu@gmail.com>
7933
7934 * help-mode.el (bookmark-make-record-default): Declare.
7935
60057926
CY
79362012-06-13 Chong Yidong <cyd@gnu.org>
7937
7938 * emacs-lisp/package.el (list-packages): Compute a list of
7939 packages that are newly-available since the last list-packages
7940 invocation.
7941 (package-menu--new-package-list): New var.
7942 (package-menu--generate, package-menu--print-info)
7943 (package-menu--status-predicate, package-menu-mark-install):
7944 Handle new status label "new".
7945
ad4d226c
SM
79462012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
7947
7948 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
7949 conversion to backquotes.
7950
f1a4e679
CY
79512012-06-12 Chong Yidong <cyd@gnu.org>
7952
7953 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
7954 Rename from gud-inhibit-global-bindings.
7955
7956 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
7957
7958 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
7959 hook from nxml-glyph-set-hook.
7960
7961 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
7962 declaration.
7963
7964 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
7965
7966 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
7967 Convert to defcustom.
7968
0c9e42b5
DA
79692012-06-12 Drew Adams <drew.adams@oracle.com>
7970
7971 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
7972 New functions.
7973 (help-mode): Use them.
7974
09e06855
GM
79752012-06-11 Glenn Morris <rgm@gnu.org>
7976
7977 * progmodes/fortran.el (fortran-font-lock-keywords-3):
7978 Use preprocessor face for directives.
7979 (fortran-directive-re): Doc fix.
7980
71adb94b
SM
79812012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
7982
2eb87922
SM
7983 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
7984 conversion to backquotes (bug#11652).
7985
71adb94b
SM
7986 Fix compiler-expansion of CL's cXXr functions (bug#11673).
7987 * emacs-lisp/cl-lib.el (cl--defalias): New function.
7988 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
7989 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
7990 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
7991 (cl-ninth, cl-tenth): Mark them as inlinable.
7992 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
7993 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
7994 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
7995 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
7996 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
7997 (cl-list*, cl-adjoin): Don't put an autoload manually.
7998 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
7999 (cl--compiler-macro-list*): Add autoload cookie.
8000 (cl--compiler-macro-cXXr): New function.
2eb87922 8001
71adb94b
SM
8002 * help-fns.el (help-fns--compiler-macro): New function extracted from
8003 describe-function-1; follow aliases and use `compiler-macro' property.
8004 (describe-function-1): Use it.
8005
a6674402
CY
80062012-06-11 Chong Yidong <cyd@gnu.org>
8007
8008 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
8009 is uninstalled, if imagemagick is installed.
8010
bb3faf5b
SM
80112012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
8012
8013 * emacs-lisp/cl-lib.el: Use lexical-binding.
8014 (cl-map-extents, cl-maclisp-member): Remove.
8015 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
8016 (cl--set-substring, cl--block-wrapper, cl--block-throw)
8017 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
8018 * emacs-lisp/cl-extra.el: Use lexical-binding.
8019 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
8020 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
8021 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
8022 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
8023 * emacs-lisp/cl-seq.el: Use lexical-binding.
8024 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
8025 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
8026 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
8027 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
8028 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
8029 CL's internals.
8030
2fe4b125
MA
80312012-06-11 Michael Albinus <michael.albinus@gmx.de>
8032
8033 Sync with Tramp 2.2.6-pre.
8034
8035 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
8036 `print-length' and `print-level' to nil, in order to avoid
8037 truncation. Reported by Christopher Schmidt
8038 <christopher@ristopher.com>.
8039
8040 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
8041
8042 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
8043 New defmacro.
8044 (tramp-compat-copy-directory): Add optional argument
8045 COPY-CONTENTS. It is not handled yet.
8046
8047 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
8048 (tramp-ftp-file-name-p): Simplify.
8049
8050 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
8051 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
8052 connection vector.
8053
8054 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
8055 (tramp-methods): Do not use `tramp-password-end-of-line'.
8056 (tramp-completion-function-alist-putty): Handle UNIX case.
8057 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
8058 (tramp-do-file-attributes-with-stat)
8059 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
8060 gid as real numbers. They could run out of integer range on cygwin.
8061 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
8062 (tramp-sh-handle-expand-file-name): Handle hops.
87e6e64f
DA
8063 (tramp-open-connection-setup-interactive-shell):
8064 Use `tramp-cleanup'. Move check for busyboxes ...
8065 (tramp-find-shell): ... here. Simplify implementation.
8066 Set "remote-shell" property also for alternative shells.
8067 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
8068 If failing, a regular file would be written otherwise.
8069 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
2fe4b125
MA
8070 (tramp-find-inline-encoding): Cache the coding commands in the
8071 process cache. Apply test command on the remote side, if defined.
8072 (tramp-find-inline-compress): Cache the compress commands in the
8073 process cache.
8074 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
8075 when requested. Handle hops.
8076 (tramp-current-connection): New defvar.
87e6e64f
DA
8077 (tramp-maybe-open-connection): Use `tramp-cleanup'.
8078 Throw `suppress', if there was a failed connection shortly before.
2fe4b125 8079 Handle user interrupt. (Bug#10187)
87e6e64f
DA
8080 (tramp-get-inline-compress, tramp-get-inline-coding):
8081 Read connection properties from the process cache.
2fe4b125
MA
8082
8083 * net/tramp-smb.el (tramp-smb-server-version)
87e6e64f
DA
8084 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
8085 New defconsts.
2fe4b125
MA
8086 (tramp-smb-prompt): Extend for powershell prompt.
8087 (tramp-smb-file-name-handler-alist): Add handlers for
8088 `process-file', `shell-command' and `start-file-process'.
8089 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
8090 (tramp-smb-winexe-shell-command-switch): New defcustoms.
8091 (tramp-smb-file-name-p): Simplify.
8092 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
8093 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
8094 (tramp-smb-shell-quote-argument): New defuns.
8095 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
8096 Implement using "tar". By this, time-stamps are preserved.
8097 (tramp-smb-handle-copy-file): Handle also the case of directories.
8098 (tramp-smb-do-file-attributes-with-stat)
87e6e64f
DA
8099 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
8100 Use `tramp-get-connection-buffer').
2fe4b125
MA
8101 (tramp-smb-handle-rename-file): Use "rename", when source and
8102 target are on the same share.
87e6e64f
DA
8103 (tramp-smb-maybe-open-connection): Handle wrong passwords.
8104 Use `tramp-smb-server-version'.
2fe4b125
MA
8105 (tramp-smb-wait-for-output): Remove prompt.
8106
8107 * net/tramp.el (top): Require 'cl.
87e6e64f
DA
8108 (tramp-methods, tramp-rsh-end-of-line):
8109 Remove `tramp-password-end-of-line' from docstring.
2fe4b125
MA
8110 (tramp-save-ad-hoc-proxies): New defcustom.
8111 (tramp-completion-function-alist): Adapt docstring.
8112 (tramp-default-password-end-of-line): Remove defcustom.
8113 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
8114 (tramp-user-regexp, tramp-file-name-regexp-unified)
8115 (tramp-file-name-regexp-url): Extend regexp by hop separator.
8116 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
8117 (tramp-remote-file-name-spec-regexp): New defconst.
8118 (tramp-file-name-structure): Extend structure for hops.
8119 (tramp-get-method-parameter): Move up.
8120 (tramp-file-name-p, tramp-dissect-file-name)
8121 (with-parsed-tramp-file-name): Handle hops.
8122 (tramp-file-name-hop): New defun.
8123 (tramp-make-tramp-file-name): New optional arg HOP.
8124 (tramp-message-show-progress-reporter-message): New defvar.
8125 (tramp-with-progress-reporter): Use it. We cannot use
8126 `tramp-message-show-message' here, because this suppresses also
8127 error buffers.
8128 (tramp-error-with-buffer): Suppress buffer view, if
87e6e64f
DA
8129 `tramp-message-show-message' is nil.
8130 Use `tramp-get-connection-buffer'.
2fe4b125
MA
8131 (tramp-cleanup): New defun.
8132 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
8133 (tramp-file-name-handler): If `debug-on-error' is set, propagate
8134 an error unchanged.
8135 (tramp-completion-handle-file-name-all-completions): Handle hops.
8136 Fix an error when called from ido.
8137 (tramp-completion-dissect-file-name): Use better local variable
8138 name. Add hop to the vector.
8139 (tramp-handle-insert-file-contents): Use progress-reporter for the
8140 whole scenario.
8141 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
8142 to `t'.
8143 (tramp-check-for-regexp): Simplify search.
8144 (tramp-enter-password): Remove it. Move implementation ...
8145 (tramp-action-password): ... here.
8146 (tramp-mode-string-to-int, tramp-local-host-p)
8147 (tramp-make-tramp-temp-file, tramp-read-passwd)
87e6e64f
DA
8148 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
8149 Set tramp-autoload cookie.
2fe4b125
MA
8150
8151 * net/trampver.el: Update release number.
8152
81532012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8154 Michael Albinus <michael.albinus@gmx.de>
8155
8156 * net/tramp.el (tramp-set-completion-function): Fix docstring.
8157 (tramp-parse-group, tramp-parse-file)
8158 (tramp-parse-shostkeys-sknownhosts): New defuns.
8159 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
8160 (tramp-parse-shosts-group, tramp-parse-sconfig)
8161 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
8162 (tramp-parse-sknownhosts, tramp-parse-hosts)
8163 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
8164 Use them.
8165 (tramp-parse-passwd-group, tramp-parse-netrc-group)
8166 (tramp-parse-putty-group): Don't narrow.
8167 (tramp-parse-putty): Make a loop.
8168 (tramp-file-name-handler): Catch the `suppress' signal.
8169
72834e10
CY
81702012-06-11 Chong Yidong <cyd@gnu.org>
8171
8172 * image.el (imagemagick-register-types): Put the ImageMagick entry
8173 at the end of image-type-file-name-regexps.
8174
a4712e11
JB
81752012-06-11 Johan Bockgård <bojohan@gnu.org>
8176
8177 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
8178 (pcase, pcase-let*, pcase-dolist): Use them.
8179
82ad98e3
SM
81802012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
8181
8182 * emacs-lisp/pcase.el (pcase--let*): New function.
8183 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
8184 (pcase--expand): Use macroexp-let².
8185
f80efb86
SM
81862012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
8187
8188 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
8189 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
8190 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
8191 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
8192 * emacs-lisp/derived.el: Use pcase instead of `cl'.
8193 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
8194
31ca4639 81952012-06-10 Glenn Morris <rgm@gnu.org>
94f0aa34 8196
31ca4639
CY
8197 * mail/rmail.el (rmail-yank-current-message): Leave point at
8198 correct position. (Bug#11660)
94f0aa34 8199
31ca4639 82002012-06-10 Chong Yidong <cyd@gnu.org>
9e1b8ec4 8201
31ca4639 8202 * allout-widgets.el: Fix code header.
9e1b8ec4 8203
31ca4639 82042012-06-10 Chong Yidong <cyd@gnu.org>
00cd0305 8205
f80efb86
SM
8206 * cus-edit.el (customize-changed-options-previous-release):
8207 Bump to 24.1.
31ca4639 8208
642b6d30
AS
82092012-06-09 Andreas Schwab <schwab@linux-m68k.org>
8210
8211 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
8212
4f5d2ba1
CY
82132012-06-09 Chong Yidong <cyd@gnu.org>
8214
8215 * ebuff-menu.el (electric-buffer-list): Preserve header line.
8216
e75852fd
MR
82172012-06-09 Martin Rudalics <rudalics@gmx.at>
8218
8219 * window.el (special-display-popup-frame): Don't use
8220 window--display-buffer (Bug#11651).
8221
1e48e282
EZ
82222012-06-09 Eli Zaretskii <eliz@gnu.org>
8223
8a26b487
EZ
8224 Fix parallel builds: make sure loaddefs.el is not being written
8225 while Lisp files are compiled.
8226 (compile): Don't depend on 'mh-autoloads'.
8227 (compile-CMD, compile-SH): Depend on 'autoloads'.
8228 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
8229
1e48e282
EZ
8230 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
8231
6175e34b
CY
82322012-06-09 Chong Yidong <cyd@gnu.org>
8233
8234 * face-remap.el (face-remap-add-relative, face-remap-set-base)
8235 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
8236 Doc fixes (Bug#11225).
8237
d9857e53
SM
82382012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
8239
8240 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
8241 a function if there's a clear indication that it has a compiler-macro.
8242 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
8243 (macro-declarations-alist): Add arglist to declaration functions.
8244 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
8245 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
8246 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
8247 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
8248 Also add autoload to find the compiler macro.
8249 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
8250 (cl--compiler-macro-member, cl--compiler-macro-assoc)
8251 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
8252 (cl--compiler-macro-get): New functions, replacing calls to
8253 cl-define-compiler-macro.
8254 (cl-typep) [compiler-macro]: Use macroexp-let².
8255
f81298f8 82562012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
ee574791
UJ
8257
8258 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
8259 string properly, fixes Bug#11473.
8260
4b56d0fe
CY
82612012-06-08 Chong Yidong <cyd@gnu.org>
8262
8263 * faces.el (set-face-attribute): Doc fix.
8264 (modify-face): Don't use :bold and :italic.
8265 (error, warning, success): Tweak definitions.
8266
8267 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
8268 (custom-modified, custom-set, custom-changed, custom-themed)
8269 (custom-saved, custom-button, custom-button-mouse)
8270 (custom-button-pressed, custom-state, custom-comment-tag)
8271 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
8272 (custom-group-subtitle): Use new-style face specs.
8273 (custom-invalid-face, custom-rogue-face, custom-modified-face)
8274 (custom-set-face, custom-changed-face, custom-saved-face)
8275 (custom-button-face, custom-button-pressed-face)
8276 (custom-documentation-face, custom-state-face)
8277 (custom-comment-face, custom-comment-tag-face)
8278 (custom-variable-tag-face, custom-variable-button-face)
8279 (custom-face-tag-face, custom-group-tag-face-1)
8280 (custom-group-tag-face): Remove obsolete face alias.
8281
8282 * epa.el (epa-validity-high, epa-validity-medium)
8283 (epa-validity-low, epa-mark, epa-field-name, epa-string)
8284 (epa-field-name, epa-field-body):
8285 * font-lock.el (font-lock-comment-face, font-lock-string-face)
8286 (font-lock-keyword-face, font-lock-builtin-face)
8287 (font-lock-function-name-face, font-lock-variable-name-face)
8288 (font-lock-type-face, font-lock-constant-face):
8289 * ido.el (ido-first-match, ido-only-match, ido-subdir)
8290 (ido-virtual, ido-indicator, ido-incomplete-regexp):
8291 * speedbar.el (speedbar-button-face, speedbar-file-face)
8292 (speedbar-directory-face, speedbar-tag-face)
8293 (speedbar-selected-face, speedbar-highlight-face)
8294 (speedbar-separator-face):
8295 * whitespace.el (whitespace-newline, whitespace-space)
8296 (whitespace-hspace, whitespace-tab, whitespace-trailing)
8297 (whitespace-line, whitespace-space-before-tab)
8298 (whitespace-space-after-tab, whitespace-indentation)
8299 (whitespace-empty):
8300 * emulation/cua-base.el (cua-global-mark):
8301 * eshell/em-prompt.el (eshell-prompt):
8302 * net/newst-plainview.el (newsticker-new-item-face)
8303 (newsticker-old-item-face, newsticker-immortal-item-face)
8304 (newsticker-obsolete-item-face, newsticker-date-face)
8305 (newsticker-statistics-face, newsticker-default-face):
8306 * net/newst-reader.el (newsticker-feed-face)
8307 (newsticker-extra-face, newsticker-enclosure-face):
8308 * net/newst-treeview.el (newsticker-treeview-face)
8309 (newsticker-treeview-new-face, newsticker-treeview-old-face)
8310 (newsticker-treeview-immortal-face)
8311 (newsticker-treeview-obsolete-face)
8312 (newsticker-treeview-selection-face):
8313 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
8314 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
8315 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
8316 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
8317 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
8318 (nxml-outline-active-indicator, nxml-outline-ellipsis):
8319 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
8320 (mpuz-text):
8321 * progmodes/vera-mode.el (vera-font-lock-number)
8322 (vera-font-lock-function, vera-font-lock-interface):
8323 * textmodes/table.el (table-cell): Use new-style face specs, and
8324 don't use the old :bold and :italic attributes.
8325
8326 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
8327 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
8328 (ebrowse-member-class, ebrowse-progress): Likewise.
8329 (ebrowse-tree-mark-face, ebrowse-root-class-face)
8330 (ebrowse-file-name-face, ebrowse-default-face)
8331 (ebrowse-member-attribute-face, ebrowse-member-class-face)
8332 (ebrowse-progress-face): Remove obsolete faces.
8333
8334 * progmodes/flymake.el (flymake-errline, flymake-warnline):
8335 Inherit from error and warning faces respectively.
8336
8337 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
8338 Likewise.
f80efb86
SM
8339 (flyspell-incorrect-face, flyspell-duplicate-face):
8340 Remove obsolete aliases.
4b56d0fe 8341
03310646
MA
83422012-06-08 Michael Albinus <michael.albinus@gmx.de>
8343
8344 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
8345 Avoid infloop.
8346
513749ee
SM
83472012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
8348
8349 * startup.el (argv, argi): Make lexically scoped.
8350 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
8351 * emacs-lisp/cl-macs.el: Use lexical-binding.
8352 Rename cl-bind-* to cl--bind-*.
8353 * files.el: Don't require `cl' since it doesn't use it.
8354 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
8355
595ef4ad
JB
83562012-06-08 Juanma Barranquero <lekktu@gmail.com>
8357
8358 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
8359 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
8360 instead of calling external sort utility.
8361 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
8362
e9f66fcb
EZ
83632012-06-08 Eli Zaretskii <eliz@gnu.org>
8364
8365 * descr-text.el (describe-char): Mention how to insert the
8366 character, if the current input method doesn't support it.
8367 See the discussion in this thread for the details:
8368 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
8369
3d10db47
SS
83702012-06-08 Sam Steingold <sds@gnu.org>
8371
8372 * bindings.el (global-map): Bind XF86Forward to next-buffer and
8373 XF86Back to previous-buffer.
8374 (minibuffer-local-map): Bind them to next-history-element and
8375 previous-history-element respectively.
8376 * help-mode.el (help-mode-map): Bind them to help-go-forward and
8377 help-go-back respectively.
8378 * info.el (Info-mode-map): Bind them to Info-history-forward and
8379 Info-history-back respectively.
8380 These are the keys next to Up on the ThinkPad keyboard.
8381
de7e2b36
SM
83822012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
8383
8384 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
8385 * emacs-lisp/cl-macs.el: Provide itself.
8386 (cl--labels-convert-cache): New var.
8387 (cl--labels-convert): New function.
8388 (cl-flet, cl-labels): New implementation with new semantics, relying on
8389 lexical-binding.
8390 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
8391 (cl-closure-vars, cl--function-convert-cache)
8392 (cl--function-convert): Move from cl-macs.el.
8393 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
8394 rename by removing the "cl-" prefix.
8395 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
8396
6fa6c4ae
SM
83972012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
8398
8399 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
8400 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
8401 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
8402 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
8403 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
8404 (cl-hash-table-count): Add old compatibility aliases.
8405
8406 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
8407 Use macroexpand-all-environment instead.
8408 (cl--old-macroexpand): New var.
8409 (cl--sm-macroexpand): New function.
8410 (cl-symbol-macrolet): Use it during macro expansion.
8411 (cl--function-convert-cache): New var.
8412 (cl--function-convert): New function, extracted from
8413 cl-macroexpand-all.
8414 (cl-lexical-let): Use it.
8415
8416 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
8417 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
8418 (cl-member): Remove old alias.
8419
8420 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
8421 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
8422 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
8423 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
8424 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
8425 (cl-macroexpand-cmacs): Remove var.
8426 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
8427 Use macroexpand-all instead.
8428
4dd1c416
SM
84292012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
8430
8431 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
8432 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
8433 (macroexp-copyable-p): New functions and macros.
8434 * emacs-lisp/edebug.el (edebug-unwrap):
8435 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
8436 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
8437 (pcase--let*): Remove.
8438 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
8439 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
8440 macroexp-const-p instead.
8441 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
8442
8443 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
8444 instead of "cl-" for internal definitions. Use macroexp-const-p.
8445 (cl-old-bc-file-form): Remove var.
8446 (cl-const-exprs-p): Remove fun.
8447 (cl-labels, cl-macrolet): Use backquote.
8448 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
8449 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
8450 (cl-define-setf-expander): Rename from cl-define-setf-method.
8451 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
8452
8453 * international/mule-cmds.el: Don't require CL.
8454 (view-hello-file): Don't use `letf'.
8455
ed8bd4d7
SM
84562012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
8457
7287f2f3
SM
8458 * tmm.el (tmm-prompt): Use string-prefix-p.
8459 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
8460 (tmm-add-prompt): Use minibuffer-completion-help.
8461 (tmm-delete-map): Remove.
8462
ed8bd4d7
SM
8463 * subr.el (kbd): Make it its own function.
8464
7b4cdbf4
SM
84652012-06-07 Stefan Merten <smerten@oekonux.de>
8466
8467 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
8468 Silence compiler warnings. Fix versions.
ed8bd4d7 8469 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
7b4cdbf4 8470 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
ed8bd4d7 8471 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
7b4cdbf4
SM
8472 (rst-package-emacs-version-alist): Correct Emacs version to
8473 represent major merge with upstream.
ed8bd4d7 8474 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
7b4cdbf4 8475
2b48d721
GM
84762012-06-06 Glenn Morris <rgm@gnu.org>
8477
8478 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
8479 Only print environment variables if set.
8480
fa779ab0
SM
84812012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
8482
8483 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
8484 (macroexp--cons): Rename from maybe-cons.
8485 (macroexp--accumulate): Rename from macroexp-accumulate.
8486 (macroexp--all-forms): Rename from macroexpand-all-forms.
8487 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
8488 (macroexp--expand-all): Rename from macroexpand-all-1.
8489
628299e0
SS
84902012-06-06 Sam Steingold <sds@gnu.org>
8491
8492 * calendar/calendar.el (calendar-in-read-only-buffer):
8493 Call `special-mode' to enable the standard read-only keybindings.
8494
b7bb5838
SM
84952012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
8496
8497 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
8498 with "loading" messages (bug#11635).
8499
dfb308ba
MA
85002012-06-06 Michael Albinus <michael.albinus@gmx.de>
8501
8502 * files.el (enable-remote-dir-locals): New option.
8503 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
8504
0372ee92
MA
8505 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
8506 Ensure, that the temp directory is local.
8507
8508 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
8509 `temporary-file-directory'.
8510
eed0bb91
MA
8511 * progmodes/python.el (python-send-region): Ensure, that the
8512 temporary file is created also in the remote case.
8513
7a58f64d
GM
85142012-06-06 Glenn Morris <rgm@gnu.org>
8515
f7dd4e98
GM
8516 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
8517 (vc-rcs-update-changelog): Use it.
8518
090bd7cb 8519 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
276d5f5d 8520
7a58f64d
GM
8521 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
8522 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
8523 (vc-sccs-diff): Replace use of the external vcdiff script.
8524
daed4003
GM
85252012-06-05 Glenn Morris <rgm@gnu.org>
8526
8527 * ledit.el: Move to obsolete/.
8528
48c455c7
SS
85292012-06-05 Sam Steingold <sds@gnu.org>
8530
ed9265fc 8531 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
48c455c7
SS
8532 patch (Bug#11140).
8533
57a7d507
SM
85342012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8535
090bd7cb 8536 * emacs-lisp/cust-print.el: Move to obsolete.
d32926ff 8537
53aacf21
SM
8538 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
8539 compiler-macro expansion.
8540
57a7d507
SM
8541 Add native compiler-macro support.
8542 * emacs-lisp/macroexp.el (macroexpand-all-1):
8543 Support compiler-macros directly. Properly follow aliases and apply
8544 the compiler macros more thoroughly.
8545 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
8546 macroexpand now properly follows aliases.
8547 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
8548 (cl-compiler-macroexpand): Use new prop.
8549 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
8550
8551 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
8552
51a5f9d8
MR
85532012-06-05 Martin Rudalics <rudalics@gmx.at>
8554
8555 * window.el (get-lru-window, get-mru-window, get-largest-window):
8556 New argument NOT-SELECTED to avoid picking the selected window.
8557 (window--display-buffer-1, window--display-buffer-2): Replace by
8558 new function window--display-buffer
8559 (display-buffer-same-window, display-buffer-reuse-window)
57a7d507
SM
8560 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
8561 Use window--display-buffer.
51a5f9d8
MR
8562 (display-buffer-use-some-window): Remove temporary dedication
8563 hack by calling get-lru-window and get-largest-window with
8564 NOT-SELECTED argument non-nil. Call window--display-buffer.
8565
08f9f738
GM
85662012-06-05 Glenn Morris <rgm@gnu.org>
8567
8568 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
8569 Replace external vcdiff script.
8570
e364a2b7
SM
85712012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
8572
8573 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
8574
041df390
CY
85752012-06-04 Chong Yidong <cyd@gnu.org>
8576
e364a2b7
SM
8577 * image.el (imagemagick-types-inhibit): Revert last change.
8578 Add INFO and M.
47b36b94 8579 (imagemagick-enabled-types): Remove CIN and EPS*.
041df390 8580
7c1898a7
SM
85812012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
8582
8583 * emacs-lisp/cl-lib.el: Rename from cl.el.
8584 * emacs-lisp/cl.el: New compatibility file.
8585 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
8586 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
8587 to obey the "cl-" prefix.
8588 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
8589
0c3461de
GM
85902012-06-03 Glenn Morris <rgm@gnu.org>
8591
1e266c88
GM
8592 * emacs-lisp/authors.el (authors-aliases): Addition.
8593
0c3461de
GM
8594 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
8595 Fix :version.
8596
d8a52e15
SM
85972012-06-03 Stefan Merten <smerten@oekonux.de>
8598
8599 * textmodes/rst.el: Add comments.
8600 (rst-transition, rst-adornment): New faces.
8601 (rst-adornment-faces-alist): Make default safe to reevaluate.
8602 Fixes
8603 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
8604 Improve customization tags.
8605 (rst-define-level-faces): Clarify meaning.
8606
5205d6f6
CY
86072012-06-03 Chong Yidong <cyd@gnu.org>
8608
8609 * progmodes/compile.el (compilation-mode-line-fail)
7c1898a7
SM
8610 (compilation-mode-line-run, compilation-mode-line-exit):
8611 New faces.
5205d6f6
CY
8612 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
8613
757ee657
JD
86142012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
8615
7c1898a7
SM
8616 * progmodes/which-func.el (which-func-update-ediff-windows):
8617 New function. Use it in ediff-select-hook (Bug#11478).
757ee657 8618
5f2c76c6
CY
86192012-06-03 Chong Yidong <cyd@gnu.org>
8620
8621 * bindings.el: Remove explicit help text from format-mode-line.
8622 It is now supplied by mode-line-default-help-echo.
8623 (mode-line-front-space, mode-line-end-spaces)
8624 (mode-line-misc-info): New variables.
8625 (mode-line-modes, mode-line-position): Move the default value to
8626 the variable definition.
8627 (mode-line-default-help-echo): New defcustom.
383f7350
CY
8628 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
8629 (mode-line-modified-help-echo): New functions.
8630 (mode-line-mule-info, mode-line-modified): Use them.
8631 (mode-line-eol-desc, propertized-buffer-identification):
8632 Consistency fixes for help text.
cbe46e5f
CY
8633 (mode-line-coding-system-map): Allow using mouse-3 to invoke
8634 set-buffer-file-coding-system (Bug#289).
8635 (mode-line-mule-info-help-echo): Update help text.
5f2c76c6 8636
f2d6a3df
SM
86372012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
8638
8639 * simple.el (execute-extended-command): Set real-this-command
8640 (bug#11506).
8641
37269466
CY
86422012-06-02 Chong Yidong <cyd@gnu.org>
8643
8644 Remove incorrect uses of "modeline" in comments, docstrings, and
8645 function/variable names (Bug#10329).
8646
8647 * cus-edit.el (mode-line):
8648 * dframe.el (dframe-mouse-hscroll):
8649 * emacs-lisp/re-builder.el:
8650 * emacs-lisp/easy-mmode.el (define-minor-mode):
8651 * frame.el (set-frame-name):
8652 * help.el (lookup-minor-mode-from-indicator):
8653 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
8654 * progmodes/cc-cmds.el (c-toggle-auto-newline)
8655 (c-toggle-hungry-state):
8656 * progmodes/antlr-mode.el (antlr-language-alist):
8657 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
8658 * progmodes/vhdl-mode.el (vhdl-mode):
8659 * progmodes/which-func.el (which-func, which-func-cleanup-function):
8660 * term/ns-win.el (ns-face-at-pos):
8661 * term/sup-mouse.el (sup-mouse-report):
8662 * textmodes/flyspell.el (flyspell-mode-line-string):
8663 * textmodes/ispell.el (ispell-highlight-face):
8664 * textmodes/reftex-global.el:
8665 * vc/vc-arch.el (vc-arch-mode-line-string):
8666 * vc/vc-cvs.el (vc-cvs-mode-line-string):
8667 * vc/vc-git.el (vc-git-mode-line-string):
8668 * vc/vc-hooks.el (vc-display-status)
8669 (vc-default-mode-line-string):
8670 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
8671
8672 * ansi-color.el (ansi-color-faces-vector): Change default faces.
8673
8674 * dired.el (dired-sort-set-mode-line): Rename from
8675 dired-sort-set-modeline. All callers changed.
8676
8677 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
8678 eshell-status-in-modeline.
8679
8680 * foldout.el (foldout-mode-line-string): Rename from
8681 foldout-modeline-string. All callers changed.
8682 (foldout-update-mode-line): Rename from foldout-update-modeline.
8683
8684 * subr.el (redraw-modeline): Make into obsolete alias.
8685
8686 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
8687 timeclock-modeline-display. Make old name an alias.
8688 (timeclock-update-mode-line): Likewise. All callers changed.
8689 (timeclock-mode-line-display): No need to check before using
8690 add-hook.
8691 (timeclock-relative, timeclock-day-over-hook)
8692 (timeclock-use-elapsed, timeclock-mode-string)
8693 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
8694
8695 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
8696 crisp-mode-modeline-string.
8697
8698 * play/solitaire.el (solitaire-build-mode-line): Rename from
8699 solitaire-build-modeline. All callers changed.
8700
8701 * play/zone.el (zone-hiding-mode-line): Rename from
8702 zone-hiding-modeline. All callers changed.
8703 (zone): Remove unusued `modeline-hidden-level' property.
8704
8705 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
8706 xscheme-modeline-initialize. All callers changed.
8707
8708 * strokes.el (strokes-lighter): Rename from
8709 strokes-modeline-string.
8710
8711 * textmodes/sgml-mode.el (html-face-tag-alist)
8712 (html-tag-face-alist): Use mode-line face instead of obsolete
8713 alias modeline.
8714
42152ee4
SM
87152012-06-02 Stefan Merten <smerten@oekonux.de>
8716
8717 * textmodes/rst.el: Always require `cl'.
4cf9b38d 8718 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
42152ee4 8719
95f520b5
CY
87202012-06-02 Chong Yidong <cyd@gnu.org>
8721
8722 * image.el (imagemagick-enabled-types): Rename from
8723 imagemagick-types-enable. Add many more types.
8724 (imagemagick-types-inhibit): Change default to nil.
8725 (imagemagick-filter-types): Caller changed.
8726
4a5f187a
SM
87272012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
8728
03fef3e6
SM
8729 * emacs-lisp/cl-macs.el: Use backquotes.
8730 (cl-transform-function-property): Use eval-and-compile rather than
8731 abusing `require'.
8732 (defstruct): Use declare-function instead of with-no-warnings.
8733
4a5f187a
SM
8734 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
8735 (byte-compile-output-docform): Re-add the print-circle bindings.
8736 (byte-compile-fix-header): Use #$ just because it's shorter.
8737 (byte-compile-output-file-form): Remove defun/defmacro.
8738
bd56924f
MR
87392012-06-01 Martin Rudalics <rudalics@gmx.at>
8740
8741 * simple.el (choose-completion): Remove now obsolete binding for
8742 owindow.
8743
046e38ce
MA
87442012-06-01 Michael Albinus <michael.albinus@gmx.de>
8745
8746 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
8747 in order to avoid "Stack overflow in regexp matcher".
8748
32d72c2f
GM
87492012-05-31 Glenn Morris <rgm@gnu.org>
8750
8751 * image.el: For clarity, call imagemagick-register-types at
8752 top-level, rather than relying on a custom :initialize.
8753 (imagemagick-types-enable): New option. (Bug#11557)
60b5f187
GM
8754 (imagemagick-filter-types): New function. (Bug#7406)
8755 (imagemagick-register-types): Use imagemagick-filter-types.
32d72c2f
GM
8756 If disabling support, remove elements altogether rather
8757 than using an impossible regexp.
8758 (imagemagick-types-inhibit): Give it the default init function.
8759
dd41169b
SM
87602012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
8761
4a5f187a
SM
8762 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
8763 Handle arbitrary file name lengths (Bug#11585).
dd41169b 8764
efc00ab1 87652012-05-31 Martin Rudalics <rudalics@gmx.at>
5221ccb9
MR
8766
8767 * desktop.el (desktop-read): Clear previous and next buffers for
8768 all windows and bury *Messages* buffer (bug#11556).
8769
500fcedc
SM
87702012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
8771
8772 Add `declare' for `defun'. Align `defmacro's with it.
8773 * emacs-lisp/easy-mmode.el (define-minor-mode)
8774 (define-globalized-minor-mode): Don't autoload the var definitions.
8775 * emacs-lisp/byte-run.el: Use lexical-binding.
8776 (defun-declarations-alist, macro-declarations-alist): New vars.
8777 (defmacro, defun): Use them.
8778 (make-obsolete, define-obsolete-function-alias)
8779 (make-obsolete-variable, define-obsolete-variable-alias):
8780 Use `declare'.
8781 (macro-declaration-function): Mark obsolete.
8782 * emacs-lisp/autoload.el: Use lexical-binding.
8783 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
8784
6e8a1786
AM
87852012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8786
8787 * textmodes/ispell.el (ispell-with-no-warnings):
8788 Define as a macro.
500fcedc
SM
8789 (ispell-kill-ispell, ispell-change-dictionary):
8790 Use `called-interactively-p' for Emacs instead of obsolete
6e8a1786
AM
8791 `interactive-p'.
8792
61b108cc
SM
87932012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
8794
8795 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
8796 (macro-declaration-function): Move var from C code.
8797 (macro-declaration-function): Define function with defalias.
8798 * emacs-lisp/macroexp.el (macroexpand-all-1):
8799 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
8800 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
8801 defun/defmacro any more.
8802 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
8803 Provide fallback for unknown arglist.
8804 (byte-compile-arglist-warn): Change calling convention.
8805 (byte-compile-output-file-form): Move print-vars binding.
8806 (byte-compile-output-docform): Simplify accordingly.
8807 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
8808 (byte-compile-defmacro-declaration): Remove.
8809 (byte-compile-file-form-defmumble): Generalize to defalias.
8810 (byte-compile-output-as-comment): Return byte-positions.
8811 Simplify callers accordingly.
8812 (byte-compile-lambda): Use `assert'.
8813 (byte-compile-defun, byte-compile-defmacro): Remove.
8814 (byte-compile-file-form-defalias):
8815 Use byte-compile-file-form-defmumble.
8816 (byte-compile-defalias-warn): Remove.
8817
6d3f7c2f
SM
88182012-05-29 Stefan Merten <smerten@oekonux.de>
8819
8820 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
61b108cc 8821 possible. Fix authors. Improve comments. Improve loading of `cl'.
6d3f7c2f
SM
8822
8823 (rst-mode-abbrev-table): Merge definition.
8824 (rst-mode): Make sure `font-lock-defaults' is buffer local.
8825 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
8826
6dbaa1c7
UJ
88272012-05-29 Ulf Jasper <ulf.jasper@web.de>
8828
8829 * calendar/icalendar.el
8830 (icalendar-export-region): Export UID properly.
8831
d209e2fb 88322012-05-29 Leo Liu <sdl.web@gmail.com>
61b108cc
SM
8833 * calendar/icalendar.el (icalendar-import-format):
8834 Add `icalendar-import-format-uid' (Bug#11525).
6dbaa1c7
UJ
8835 (icalendar-import-format-uid): New.
8836 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
8837 Export UID.
8838
6876a58d
SM
88392012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
8840
8841 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
8842 different alternative patterns.
8843 (pcase-codegen): Be more careful to preserve identity.
8844 (pcase--u1): Don't forget to mark vars as used.
8845
8846 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
8847 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
8848 (byte-compile-from-buffer): ...rather than here.
8849
8850 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
8851 functions from byte-compile-function-environment.
8852
46b7967e
TN
88532012-05-29 Troels Nielsen <bn.troels@gmail.com>
8854
8855 * window.el (window-deletable-p): Avoid deleting the root window
8856 of a frame with an active minibuffer.
8857
69d565e2
MR
88582012-05-29 Martin Rudalics <rudalics@gmx.at>
8859
8860 * simple.el (choose-completion): Use quit-window (Bug#11567).
8861
a149fa51
CY
88622012-05-29 Chong Yidong <cyd@gnu.org>
8863
8864 * whitespace.el (whitespace-cleanup): Fix usage of
8865 whitespace-empty-at-bob-regexp (Bug#11492).
8866
2b311310
AH
88672012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
8868
8869 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
8870 revert (Bug#11488).
8871
b9cb2387
JL
88722012-05-29 Juri Linkov <juri@jurta.org>
8873
8874 * isearch.el (isearch-mode-map): Bind `M-s _' to
8875 `isearch-toggle-symbol'. Bind `M-s c' to
8876 `isearch-toggle-case-fold'.
8877 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
8878 (isearch-forward): Add `M-s _' to the docstring.
8879 (isearch-forward-symbol, isearch-toggle-case-fold)
8880 (isearch-symbol-regexp): New functions. (Bug#11381)
8881
d5e61c1c
JL
88822012-05-29 Juri Linkov <juri@jurta.org>
8883
8884 * isearch.el (isearch-word): Add docstring. (Bug#11381)
8885 (isearch-occur, isearch-search-and-update): If `isearch-word' is
8886 a function, call it to get the regexp.
8887 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
8888 property `isearch-message-prefix' instead of the string "word ".
8889 (isearch-search-fun-default): For the case of `isearch-word',
8890 return a lambda that calls re-search-forward/re-search-backward
8891 with a regexp returned by `word-search-regexp' or by the function
8892 in `isearch-word'.
8893
8cbd80f7
JL
88942012-05-29 Juri Linkov <juri@jurta.org>
8895
8896 * isearch.el (isearch-search-fun-default): New function.
8897 (isearch-search-fun): Move default part to the new function
8898 `isearch-search-fun-default'.
8899 (isearch-search-fun-function): Set the default value to
8900 `isearch-search-fun-default'. (Bug#11381)
8901
8902 * comint.el (comint-history-isearch-end):
8903 Use `isearch-search-fun-default'.
8904 (comint-history-isearch-search): Use `isearch-search-fun-default'
8905 and remove spacial case for `isearch-word'.
8906 (comint-history-isearch-wrap): Remove spacial case for
8907 `isearch-word'.
8908
8909 * hexl.el (hexl-isearch-search-function):
8910 Use `isearch-search-fun-default'.
8911
8912 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
8913 Use `word-search-regexp' for `isearch-word'.
8914
8915 * misearch.el (multi-isearch-search-fun):
8916 Use `isearch-search-fun-default'.
8917
8918 * simple.el (minibuffer-history-isearch-search):
8919 Use `isearch-search-fun-default' and remove spacial case for
8920 `isearch-word'.
8921 (minibuffer-history-isearch-wrap): Remove spacial case for
8922 `isearch-word'.
8923
8924 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
8925 Remove spacial case for `isearch-word'.
8926 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
8927
85c8c5b6
AM
89282012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8929
8930 Decrease XEmacs incompatibilities.
8931 * textmodes/flyspell.el (flyspell-check-pre-word-p):
8932 Use `string-match'.
8933 (flyspell-delete-region-overlays): Use alternative definition for
8934 XEmacs.
8935 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
8936 (flyspell-word): Use `process-kill-without-query' if XEmacs.
8937 (flyspell-mode-on): Use `interactive-p' if XEmacs.
8938 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
8939 `define-obsolete-face-alias' under XEmacs, but old method.
8940
8941 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
8942 `with-no-warnings' definition or Emacs alias.
8943 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
8944 (ispell-word): Do not use `region-p' if XEmacs.
8945
8cab9efc
AM
89462012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8947
8948 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
8949 Check for `ispell-dictionary-base-alist' instead of full
8950 `ispell-dictionary-alist'.
8951 (ispell-init-process): Show spellchecker when starting new Ispell
8952 process.
8953
fda91268
RZ
89542012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
8955
8956 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
8957 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
8958
694ea8e3
JB
89592012-05-27 Juanma Barranquero <lekktu@gmail.com>
8960
8961 * version.el (motif-version-string, gtk-version-string)
8962 (ns-version-string): Declare.
8963
e4d4f539
JL
89642012-05-27 Juri Linkov <juri@jurta.org>
8965
8966 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
8967 after the `eval-defun-1' specialcaseing
8968 like in `edebug-eval-defun' (bug#10181).
8969
8970 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
8971 like in `eval-defun-1'.
8972
33017faf 89732012-05-27 Eli Zaretskii <eliz@gnu.org>
b30b64b9 8974
fda91268
RZ
8975 * mail/sendmail.el (mail-yank-region):
8976 Recognize rmail-yank-current-message in addition to insert-buffer.
8977 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
b30b64b9
EZ
8978 a *mail* buffer created through rmail-start-mail with sendmail as
8979 mail-user-agent.
8980
33017faf
GM
89812012-05-27 Chong Yidong <cyd@gnu.org>
8982
8983 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
8984 Default to 256 (Bug#11267).
8985
8986 * help.el (describe-mode): Doc fix.
8987
04188bb9
GM
89882012-05-26 Glenn Morris <rgm@gnu.org>
8989
38264cc9
GM
8990 * w32-fns.el (w32-init-info): Remove.
8991 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
8992
eb7afdad
GM
8993 * info.el (info-initialize): For self-contained NS builds, put the
8994 included info/ directory at the front. (Bug#2791)
8995
04188bb9
GM
8996 * paths.el (Info-default-directory-list): Make it a defcustom,
8997 mainly so that we can use custom-initialize-delay.
8998
a179e3f7
SM
89992012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
9000
43416392
SM
9001 * subr.el (buffer-has-markers-at): Mark obsolete.
9002
a179e3f7 9003 * subr.el (lambda): Use declare.
43416392 9004
a179e3f7
SM
9005 * emacs-lisp/lisp-mode.el (lambda):
9006 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
9007
34a008d9
AH
90082012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
9009
9010 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
9011
0a3b289f
GM
90122012-05-26 Glenn Morris <rgm@gnu.org>
9013
9014 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
9015
758c81e8
GM
90162012-05-25 Glenn Morris <rgm@gnu.org>
9017
f9f334f0
GM
9018 * paths.el: Remove no-byte-compile.
9019 * loadup.el: No need to load paths.el uncompiled.
9020
87eb79c2
GM
9021 * image.el (imagemagick-types-inhibit): Doc fix.
9022
758c81e8
GM
9023 * version.el: Remove no-byte-compile and associated formatting.
9024 * loadup.el: No need to load version.el uncompiled. AFAICS, this
9025 is ancient code from when there was an "inc-vers.el".
9026
e7e85dc0
SM
90272012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
9028
9029 * progmodes/gdb-mi.el: Minor style changes.
9030 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
9031 Turn into minor modes.
9032 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
9033 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
9034 (gdb-shell): Remove unneeded let-binding.
9035 (gdb-get-many-fields): Eliminate O(n²) behavior.
9036
f31237a4
EZ
90372012-05-25 Eli Zaretskii <eliz@gnu.org>
9038
9039 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
9040 platforms that don't link in fontset.c.
9041
bc1b21bb
JL
90422012-05-25 Juri Linkov <juri@jurta.org>
9043
9044 Use the same diff color scheme as in modern VCSes (bug#10181).
9045
9046 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
9047 to avoid confusion with `diff-added' that now uses green colors.
9048 (diff-removed): Use shades of red.
9049 (diff-added): Use shades of green.
9050 (diff-changed): Leave just the yellow color.
9051 (diff-use-changed-face): New variable.
9052 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
9053 how to highlight context diff changes.
9054 (diff-refine-change): Use shades of yellow.
9055 (diff-refine-removed): New face that uses shades of red.
9056 (diff-refine-added): New face that uses shades of green.
9057 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
9058 `diff-refine-removed' in the call to `smerge-refine-subst'
9059 depending on the value of `diff-use-changed-face'.
9060
9061 * vc/smerge-mode.el (smerge-mine): Use shades of red.
9062 (smerge-other): Use shades of green.
9063 (smerge-base): Use shades of yellow.
9064 (smerge-refined-change): Empty face.
9065 (smerge-refined-removed): New face that uses shades of red.
9066 (smerge-refined-added): New face that uses shades of green.
9067 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
9068 args `props-r' and `props-a', and use them. Doc fix.
9069 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
9070 on its value use different faces `smerge-refined-change',
9071 `smerge-refined-removed', `smerge-refined-added' in the call to
9072 `smerge-refine-subst'.
9073
9074 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
9075 Add face condition `min-colors 88' with shades of red.
9076 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
9077 `min-colors 88' with shades of green.
9078 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
9079 `min-colors 88' with shades of yellow.
9080
6df9112c
GM
90812012-05-24 Glenn Morris <rgm@gnu.org>
9082
ead5edc0
GM
9083 * paths.el (prune-directory-list, remote-shell-program): Move to...
9084 * files.el (prune-directory-list, remote-shell-program): ...here.
9085 For the latter, delay initialization, prefer ssh, just search PATH.
9086
f18b81e6
GM
9087 * paths.el (term-file-prefix): Move to faces.el (the only user).
9088 * faces.el (term-file-prefix): Move here, make it a defcustom.
9089
ee2f89a6
GM
9090 * paths.el (news-directory, news-path, news-inews-program):
9091 Move to gnus/nnspool.el.
61a583ca 9092
f8815e4c
GM
9093 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
9094
c8f3b42c
GM
9095 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
9096 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
9097 Make the latter a defcustom, with a delayed initialization.
9098
6df9112c
GM
9099 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
9100 These were deleted from Gnus itself late 2010.
9101
5dadff36
JB
91022012-05-22 Juanma Barranquero <lekktu@gmail.com>
9103
9e1701c6
JB
9104 * progmodes/which-func.el (which-func-ff-hook):
9105 Check against user-error, not error.
9106
bd7239f5 9107 * emacs-lisp/edebug.el (top): Do not load or set up loading of
5dadff36
JB
9108 cl-specs.el, which no longer exists.
9109
3290526d
GM
91102012-05-22 Glenn Morris <rgm@gnu.org>
9111
9112 * info.el (info-emacs-bug): New command.
9113 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
9114 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
9115
ff0c3cfb
GM
91162012-05-21 Glenn Morris <rgm@gnu.org>
9117
9118 * makefile.w32-in (update-subdirs-SH):
9119 * Makefile.in (update-subdirs): Update for moved update-subdirs.
9120
5814f126
SM
91212012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
9122
a52c0aa0
SM
9123 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
9124
5814f126
SM
9125 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9126 Simplify Maven regexp, and make sure the file can't start with a space
9127 (bug#11517).
9128
b847032c
GM
91292012-05-21 Glenn Morris <rgm@gnu.org>
9130
9131 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
9132 Scrap superfluous subshells.
9133
3858bfe7
SM
91342012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
9135
9136 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
9137 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
9138
d14b0029
JB
91392012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
9140
9141 * calc/calc.el (calc-ensure-consistent-units): New variable.
9142
a52c0aa0
SM
9143 * calc/calc-units.el (math-consistent-units-p)
9144 (math-check-unit-consistency): New functions.
9145 (calc-quick-units, calc-convert-units):
9146 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
9147 is non-nil.
d14b0029
JB
9148 (calc-extract-units): Fix typo.
9149
60c4db3a
SM
91502012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
9151
77f3b62e
SM
9152 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
9153
60c4db3a
SM
9154 * textmodes/flyspell.el: Commenting style, plus code simplifications.
9155 (flyspell-default-deplacement-commands): Don't spell check after
9156 repeated window/frame switches (e.g. triggered by mouse-movement).
9157 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
9158 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
9159 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
9160 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
9161 Remove unused vars.
9162 (flyspell-get-casechars, flyspell-get-not-casechars):
9163 Simplify; Don't bother removing a ] just to add it back.
9164 * textmodes/ispell.el (ispell-program-name): Use executable-find.
9165
d209e2fb 91662012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
b1a10716
RS
9167
9168 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
9169 New functions.
bd7239f5 9170 (math-function-table): Add support for more C functions.
b1a10716 9171
3f1b25b5
AM
91722012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9173
090bd7cb
JB
9174 * textmodes/flyspell.el (flyspell-check-pre-word-p)
9175 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
9176 Protect delay handling for otherchars against empty otherchars.
3f1b25b5 9177
b581bb5c
SM
91782012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
9179
9180 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
9181 their respective macro declarations.
9182 * skeleton.el (define-skeleton):
9183 * progmodes/compile.el (define-compilation-mode):
9184 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
9185 (define-ibuffer-filter):
9186 * emacs-lisp/generic.el (define-generic-mode):
9187 * emacs-lisp/easy-mmode.el (define-minor-mode)
9188 (define-globalized-minor-mode):
9189 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
9190 * emacs-lisp/byte-run.el (defsubst):
9191 * custom.el (deftheme): Add doc-string metadata.
9192
70b8ef8f
SM
91932012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
9194
9195 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
9196
b1198e17
SM
91972012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
9198
9abdc45d
SM
9199 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
9200
b1198e17
SM
9201 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
9202 * emacs-lisp/cl-macs.el: Idem.
9203 * emacs-lisp/cl-specs.el: Remove.
9204
4735906a
SM
92052012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
9206
9207 Minor renaming of internal CL functions and variables.
9208 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
9209 (cl--position): Rename from cl-position.
9210 (cl--delete-duplicates): Rename from cl-delete-duplicates.
9211 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
9212 (cl--random-state): Rename from *random-state*.
9213
ac348012
SM
92142012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
9215
9216 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
9217 parens around the arg list (bug#11499).
9218
a0a79cde
JL
92192012-05-17 Juri Linkov <juri@jurta.org>
9220
9221 * isearch.el (word-search-regexp, word-search-backward)
9222 (word-search-forward, word-search-backward-lax)
9223 (word-search-forward-lax): Move functions from search.c
9224 (bug#10145, bug#11381).
9225
65034a51
AM
92262012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9227
090bd7cb
JB
9228 * textmodes/flyspell.el (flyspell-check-pre-word-p)
9229 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
9230 Delay for otherchars as for normal word components.
65034a51 9231
1a72a195
SM
92322012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
9233
9234 * minibuffer.el (completion--sifn-requote): Fix last change.
9235 (minibuffer-local-must-match-filename-map):
9236 Move define-obsolete-variable-alias before its var.
9237
fdb058c2
SM
92382012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
9239
c41045e6
SM
9240 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
9241
036dfb8b
SM
9242 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
9243 behavior.
9244 (completion--string-equal-p): New function.
9245 (completion--twq-all): Use it to get better assertion failure data.
9246
2473256d
SM
9247 Only handle ".." and '..' quoting in shell-mode (bug#11466).
9248 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
9249 (shell--requote-argument): New functions.
9250 (shell-completion-vars): Use them.
9251 (shell--parse-pcomplete-arguments): Rename from
9252 shell-parse-pcomplete-arguments.
9253 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
9254 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
9255 Obey comint-file-name-quote-list.
9256
fdb058c2
SM
9257 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
9258 (smie-indent-keyword): Use it.
9259
51fa99f1
SM
92602012-05-14 Stefan Merten <smerten@oekonux.de>
9261
9262 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
9263
e18afed7 92642012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
d9d1dfef
SM
9265
9266 * net/rlogin.el (rlogin-mode-map): Fix last change.
9267
e18afed7 92682012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
8633b1f4
JW
9269
9270 * mail/smtpmail.el (smtpmail-send-command): Send the command and
9271 the following \r\n using a single `process-send-string', since the
9272 Lotus SMTP server refuses to accept any commands if they are sent
e18afed7 9273 with two `process-send-string's (Bug#11444).
8633b1f4 9274
e18afed7 92752012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
fe263b8f 9276
fdb058c2
SM
9277 * shell.el (shell-parse-pcomplete-arguments):
9278 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
e18afed7 9279
2d21d7f6
WJ
92802012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
9281
e18afed7 9282 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
2d21d7f6
WJ
9283 (image-transform-scale, image-transform-right-angle-fudge): New vars.
9284 (image-transform-width, image-transform-fit-width): New functions.
9285 (image-transform-properties): Use them.
9286 (image-transform-check-size): New function.
9287 (image-toggle-display-image): Use it (for testing).
9288 (image-transform-set-rotation): Reduce angle mod 360.
9289 Delete obsolete comment.
9290
7102e6d0
WJ
92912012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
9292
9293 * image-mode.el: Fix scaling (bug#11399).
9294 (image-transform-resize): Doc fix.
9295 (image-transform-properties): Default scale is 1 and height should
9296 be an integer.
9297
06bc5e6e
SM
92982012-05-13 Johan Bockgård <bojohan@gnu.org>
9299
9300 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
9301 than hard-coding `car', to fix misbehavior when moving forward.
9302
0ae03b6a
CY
93032012-05-13 Chong Yidong <cyd@gnu.org>
9304
9305 * emacs-lisp/tabulated-list.el (tabulated-list-format)
9306 (tabulated-list-entries, tabulated-list-padding)
9307 (tabulated-list-sort-key): Make permanent-local.
9308
9309 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
9310 (electric-buffer-list): Put electric buffer menu
9311 command descriptions in this docstring, instead of the docstring
9312 of electric-buffer-menu-mode. Code cleanups.
9313 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
9314 Electric-buffer-menu-mode.
9315 (electric-buffer-update-highlight): Minor code cleanup.
9316
205a7391
MA
93172012-05-13 Michael Albinus <michael.albinus@gmx.de>
9318
9319 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
9320 (Bug#11447)
9321
e5bd0a28
SM
93222012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
9323
9324 Move define-obsolete-variable-alias before the var's definition.
9325 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
9326 * tooltip.el (tooltip-hook):
9327 * textmodes/reftex-toc.el (reftex-toc-map):
9328 * textmodes/reftex-sel.el (reftex-select-label-map)
9329 (reftex-select-bib-map):
9330 * textmodes/reftex-index.el (reftex-index-map)
9331 (reftex-index-phrases-map):
9332 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
9333 * progmodes/meta-mode.el (meta-mode-map):
9334 * novice.el (disabled-command-hook):
9335 * loadhist.el (unload-hook-features-list):
9336 * frame.el (blink-cursor):
9337 * files.el (find-file-not-found-hooks, write-file-hooks)
9338 (write-contents-hooks):
9339 * emulation/tpu-edt.el (GOLD-map):
9340 * emacs-lock.el (emacs-lock-from-exiting):
9341 * emacs-lisp/generic.el (generic-font-lock-defaults):
9342 * emacs-lisp/chart.el (chart-map):
9343 * dos-fns.el (register-name-alist):
9344 * dired-x.el (dired-omit-files-p):
9345 * desktop.el (desktop-enable):
9346 * cus-edit.el (custom-mode-hook):
9347 * buff-menu.el (buffer-menu-mode-hook):
9348 * bookmark.el (bookmark-read-annotation-text-func)
9349 (bookmark-exit-hooks):
9350 * allout.el (allout-mode-deactivate-hook)
9351 (allout-exposure-change-hook, allout-structure-added-hook)
9352 (allout-structure-deleted-hook, allout-structure-shifted-hook):
9353 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
9354 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
9355 comes before the corresponding variable's definition.
9356
ac59c2f6
CY
93572012-05-12 Chong Yidong <cyd@gnu.org>
9358
9359 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
0d909786
CY
9360 (Buffer-menu-mouse-select): Restore function (Bug#11459).
9361 (Buffer-menu-mode-map): Bind it.
9362 (Buffer-menu--pretty-name): Add a mouse-face property.
ac59c2f6 9363
dee6c9a3
SM
93642012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
9365
2171cea5
SM
9366 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
9367 (prolog-upper-case-string, prolog-lower-case-string)
9368 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
9369 (prolog-use-smie, prolog-smie-grammar): New vars.
9370 (prolog-smie-forward-token, prolog-smie-backward-token)
9371 (prolog-smie-rules): New funs.
9372 (prolog-comment-indent): Remove.
9373 (prolog-mode-variables): Use default comment indentation instead.
9374 Setup SMIE.
9375 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
9376 (prolog-mode): Don't call them any more.
9377 (prolog-electric-colon, prolog-electric-dash)
9378 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
9379
aa0382bd
SM
9380 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
9381
dbacb4bd
SM
9382 * minibuffer.el (completion--twq-all): Again, allow case differences.
9383
13bdd94c
SM
9384 * term.el: Move keymap initialization code to be more idiomatic.
9385 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
9386 (term-terminal-menu): Move initialization into declaration.
9387 (term-escape-char): Let the user set it in her .emacs.
9388
ff46c759
SM
9389 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
9390 Provide SMIE-based indentation (not enabled by default yet).
9391 (sh-mode-map): Don't bind electric keys.
9392 Use electric-pair-mode instead of skeleton-pair.
9393 (sh-assignment-regexp): Fit within 80 columns.
9394 (sh-indent-supported): Specify actual shell name instead of boolean.
9395 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
9396 (sh-maybe-here-document): Use it. Make obsolete.
9397 (sh-electric-here-document-mode) New minor mode.
9398 (sh-mode): Use it. Don't set sh-indent-supported-here here.
9399 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
9400 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
9401 (sh-smie-rc-grammar, sh-use-smie): New vars.
9402 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
9403 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
9404 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
9405 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
9406 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
9407 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
9408 (sh-set-shell): Use smie-setup if requested.
9409
dee6c9a3
SM
9410 * term.el (term-set-escape-char): Properly set term-escape-char.
9411 See http://stackoverflow.com/questions/10524656.
9412
9f9aa044
CY
94132012-05-10 Chong Yidong <cyd@gnu.org>
9414
9415 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
9416 Use url-generic-parse-url, and handle host names and Windows
9417 filenames properly.
9418 (ffap-url-unwrap-remote): Use url-generic-parse-url.
9419 (ffap-url-unwrap-remote): Accept list values, specifying a list of
9420 URL schemes to work on.
9421 (ffap--toggle-read-only): New function.
9422 (ffap-read-only, ffap-read-only-other-window)
9423 (ffap-read-only-other-frame): Use it.
9424 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
9425 necessary for ffap-url-unwrap-remote.
9426
836d29b3
DA
94272012-05-10 Dave Abrahams <dave@boostpro.com>
9428
9429 * cus-start.el (create-lockfiles): Add it.
9430
00fd78ed
CY
94312012-05-09 Chong Yidong <cyd@gnu.org>
9432
9433 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
9434 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
9435
666b903b 94362012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1cb51c12
SM
9437
9438 * shell.el (shell-completion-vars): Fix last change (bug#11348).
9439
666b903b 94402012-05-09 Chong Yidong <cyd@gnu.org>
18f00515
CY
9441
9442 * ansi-color.el (ansi-color-process-output): Check for validity of
9443 comint-last-output-start before using it. This avoids a bad
9444 interaction with gdb-mi's input/output buffer.
9445
666b903b 94462012-05-09 Glenn Morris <rgm@gnu.org>
fd075e7b
GM
9447
9448 * files.el (dir-locals-read-from-file):
9449 Mention dir-locals in any error message.
9450
666b903b 94512012-05-09 Chong Yidong <cyd@gnu.org>
25f292cd
CY
9452
9453 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
9454 package (Bug#11410).
9455
f677562b
CY
9456 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
9457 variables into description.
9458
666b903b 94592012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3d53ee1b
SM
9460
9461 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
9462 shell-delimiter-argument-list (bug#11348).
9463 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
9464
b499d8d0
JB
94652012-05-09 Juanma Barranquero <lekktu@gmail.com>
9466
8f6b6da8
JB
9467 * textmodes/rst.el: Silence byte-compiler warnings.
9468 (rst-re-alist, rst-reset-section-caches): Move around.
9469 (rst-re): Use `characterp', not `char-valid-p'.
9470 (font-lock-beg, font-lock-end): Declare.
9471
4824146a
JB
9472 * progmodes/idlw-shell.el (specs): Remove reference to deleted
9473 variable `idlwave-shell-activate-alt-keybindings' and simplify.
9474
b499d8d0
JB
9475 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
9476
ad89bb83
GM
94772012-05-08 Glenn Morris <rgm@gnu.org>
9478
9479 * files.el (auto-mode-alist): Treat ".make" like ".mk".
9480
8bba5a75
SM
94812012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9482
49ed9c8e
SM
9483 * vc/log-edit.el: Add GNU coding standards highlighting.
9484 (log-edit-font-lock-gnu-style)
9485 (log-edit-font-lock-gnu-keywords): New vars.
9486 (log-edit-font-lock-keywords): New fun.
9487 (log-edit-mode): Don't fold case in font-lock.
9488 (log-edit-font-lock-keywords): Do not assume case-folding.
9489
07d00b56
SM
9490 * imenu.el: Misc cleanup. Make docstrings out of comments.
9491 Use lexical-binding.
9492 (imenu--index-alist, imenu--last-menubar-index-alist)
9493 (imenu-menubar-modified-tick): Use defvar-local.
9494 (imenu--split-menu): Remove unused var.
9495 (imenu--cleanup-seen): Declare as global.
9496 (imenu--cleanup): Use dolist.
9497
8bba5a75
SM
9498 * subr.el (defvar-local): Add debug spec and doc-string position.
9499
5075bdb5
GM
95002012-05-08 Glenn Morris <rgm@gnu.org>
9501
090bd7cb 9502 * language/burmese.el, language/cham.el, language/czech.el:
c052c904
GM
9503 * language/english.el, language/georgian.el, language/greek.el:
9504 * language/japanese.el, language/khmer.el, language/korean.el:
9505 * language/lao.el, language/misc-lang.el, language/romanian.el:
9506 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
9507 * language/thai.el, language/utf-8-lang.el:
9508 Remove no-byte-compile setting.
9509
5075bdb5
GM
9510 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
9511
06f679a7
AH
95122012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
9513
9514 * progmodes/make-mode.el (makefile-browse):
9515 Remove unnecessary interactive. (Bug#11324)
9516
03794570
GM
95172012-05-07 Glenn Morris <rgm@gnu.org>
9518
af8630f4
GM
9519 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
9520
03794570
GM
9521 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
9522
f0809a9d
SM
95232012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
9524
28be5ce7
SM
9525 * loadup.el: Preload newcomment.el.
9526 * newcomment.el: Move autoload-only code to toplevel.
9527
f0809a9d
SM
9528 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
9529 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
9530 Handle new :right-align column property.
9531 (tabulated-list-print-col): Idem, plus use `display' text-property to
9532 try and preserve alignment for variable pitch fonts.
9533
1241b724
CY
95342012-05-07 Chong Yidong <cyd@gnu.org>
9535
9536 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
9537 (tabulated-list-use-header-line): New var.
9538 (tabulated-list-init-header): Use it.
9539 (tabulated-list-print-fake-header): New function.
9540 (tabulated-list-print): Use it.
9541 (tabulated-list-sort-button-map): Add non-header-line commands.
9542 (tabulated-list-init-header): Add column name property to basic
9543 labels as well.
9544 (tabulated-list-col-sort): Handle non-header-line button case.
9545 (tabulated-list--sort-by-column-name): Fix a corner case.
9546
f0809a9d
SM
9547 * buff-menu.el (list-buffers--refresh):
9548 Handle Buffer-menu-use-header-line.
1241b724 9549
e5f9458f
CY
95502012-05-06 Chong Yidong <cyd@gnu.org>
9551
9552 * buff-menu.el: Convert to Tabulated List mode.
9553 (Buffer-menu-buffer+size-width): Make obsolete.
9554 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
9555 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
9556 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
9557 documentation into docstring of buffer-menu.
9558 (Buffer-menu-toggle-files-only): Add an informative message.
9559 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
9560 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
9561 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
9562 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
9563 (Buffer-menu-execute, Buffer-menu-select)
9564 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
9565 (Buffer-menu-bury): Use Tabulated List machinery.
9566 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
9567 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
f0809a9d 9568 Delete.
e5f9458f
CY
9569 (list-buffers--refresh): New function.
9570 (list-buffers-noselect): Use it.
9571 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
9572 (Buffer-menu--pretty-file-name): New helper functions.
9573
9574 * loadup.el: Preload tabulated-list.
9575
9576 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
9577 tabulated-list-sort-column.
9578 (tabulated-list-init-header): Add the initial aligning space even
9579 if tabulated-list-padding is zero.
9580
e129292c
CS
95812012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
9582
9583 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
9584 whose cdr is not a cons cell correctly (bug#11038).
9585
6632d361
CY
95862012-05-06 Chong Yidong <cyd@gnu.org>
9587
e129292c
CS
9588 * emacs-lisp/tabulated-list.el (tabulated-list-format):
9589 Accept additional plist in column descriptors.
6632d361
CY
9590 (tabulated-list-init-header): Obey it.
9591 (tabulated-list-get-entry): New function.
9592 (tabulated-list-put-tag): Use it. Use string-width instead of
9593 length.
9594 (tabulated-list--column-number): New function.
9595 (tabulated-list-print): Use it.
e129292c
CS
9596 (tabulated-list-print-col): New function.
9597 Set `tabulated-list-column-name' property on each column's text.
6632d361 9598 (tabulated-list-print-entry): Use it.
e129292c
CS
9599 (tabulated-list-delete-entry, tabulated-list-set-col):
9600 New functions.
6632d361
CY
9601 (tabulated-list-sort-column): New command (Bug#11337).
9602
3cc99f68
CY
9603 * buff-menu.el (list-buffers): Move C-x C-b binding from
9604 buff-menu.el to bindings.el.
9605
9606 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
9607 :advertised-binding feature.
9608
52b61776
TN
96092012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
9610
9611 * progmodes/compile.el (compilation-internal-error-properties):
9612 Calculate start position correctly when end-col is set but
9613 end-line is not (Bug#11382).
9614
ebfe2597
WJ
96152012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
9616
9617 * man.el (Man-unindent): Use text-property-default-nonsticky to
9618 prevent untabify from inheriting face properties (Bug#11408).
9619
6d3f7c2f
SM
96202012-05-05 Stefan Merten <smerten@oekonux.de>
9621
9622 * textmodes/rst.el: Major merge with upstream development up to
9623 Docutils SVN r7399 / rst.el V1.2.1.
9624
9625 Clarify maintainership and authors.
9626
9627 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
9628 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
9629 (rst-official-version, rst-official-cvs-rev, rst-version)
9630 (rst-package-emacs-version-alist): New functions and variables
9631 for version information.
9632
9633 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
9634 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
9635 (rst-mode-syntax-table, rst-mode): New and corrected functions
9636 and variables representing reStructuredText features.
9637
9638 (rst-re): New function for reStructuredText regexes. Use in
9639 many places.
9640
9641 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
9642 (rst-mode-map): Rebind keys.
9643
9644 (rst-mode-lazy, rst-font-lock-keywords)
9645 (rst-font-lock-extend-region)
9646 (rst-font-lock-extend-region-internal)
9647 (rst-font-lock-extend-region-extend)
9648 (rst-font-lock-find-unindented-line-limit)
9649 (rst-font-lock-find-unindented-line-match)
9650 (rst-adornment-level, rst-font-lock-adornment-level)
9651 (rst-font-lock-adornment-match)
9652 (rst-font-lock-handle-adornment-pre-match-form)
9653 (rst-font-lock-handle-adornment-matcher): Major revision of
9654 font-locking. Integrate with other code. Use `jit-lock-mode'.
9655
9656 (rst-preferred-adornments, rst-adjust-hook)
9657 (rst-new-adornment-down, rst-preferred-bullets)
9658 (rst-preferred-bullets, rst-indent, rst-indent-width)
9659 (rst-indent-field, rst-indent-literal-normal)
9660 (rst-indent-literal-minimized, rst-indent-comment): Change,
9661 extend and improve customization.
9662
9663 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
9664 (rst-normalize-cursor-position, rst-get-decoration)
9665 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
9666 (rst-rstrip, rst-toc-insert-find-delete-contents)
9667 (rst-shift-fill-region, rst-compute-bullet-tabs)
9668 (rst-debug-print-tabs, rst-debug-mark-found)
9669 (rst-shift-region-guts, rst-shift-region-right)
9670 (rst-shift-region-left, rst-use-char-classes)
9671 (rst-font-lock-keywords-function)
9672 (rst-font-lock-indentation-point)
9673 (rst-font-lock-find-unindented-line-begin)
9674 (rst-font-lock-find-unindented-line-end)
9675 (rst-font-lock-find-unindented-line)
9676 (rst-font-lock-adornment-point, rst-font-lock-level)
9677 (rst-adornment-level-alist): Remove functions and variables.
9678
9679 (rst-compare-adornments, rst-get-adornment-match)
9680 (rst-suggest-new-adornment, rst-get-adornments-around)
9681 (rst-adornment-complete-p, rst-get-next-adornment)
9682 (rst-adjust-adornment, rst-display-adornments-hierarchy)
9683 (rst-straighten-adornments): Standardize function names to
9684 use "adornment" instead of "decoration". Correct callers.
9685 Similar standardizing in many places.
9686
9687 (rst-update-section, rst-adjust, rst-promote-region)
9688 (rst-enumerate-region, rst-bullet-list-region)
9689 (rst-repeat-last-character): Correct use of `interactive'.
9690
9691 (rst-classify-adornment, rst-find-all-adornments)
9692 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
9693 (rst-find-leftmost-column, rst-repeat-last-character):
9694 Refactor functions.
9695
9696 (rst-find-title-line, rst-reset-section-caches)
9697 (rst-get-adornments-around, rst-adjust-adornment-work)
9698 (rst-arabic-to-roman, rst-roman-to-arabic)
9699 (rst-insert-list-pos, rst-insert-list-new-item)
9700 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
9701 New functions.
9702
9703 (rst-all-sections, rst-section-hierarchy)
9704 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
9705 New variables.
9706
9707 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
9708 configuration instead of only buffer. Change where necessary.
9709
9710 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
9711 (rst-shift-region, rst-adaptive-fill): New functions for
9712 indentation and filling.
9713
9714 (rst-comment-line-break, rst-comment-indent)
9715 (rst-comment-insert-comment, rst-comment-region)
9716 (rst-uncomment-region): New functions for handling comments.
9717
9718 (rst-compile): Quote shell arguments.
9719
9720 (rst-compile-pdf-preview, rst-compile-slides-preview):
9721 Delete temporary files after use.
9722
a43f98b3
GM
97232012-05-05 Glenn Morris <rgm@gnu.org>
9724
48176e8b
GM
9725 * calendar/cal-html.el: Optionally include holidays in the output.
9726 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
9727 (cal-html-holidays): New option.
9728 (cal-html-css-default): Add holiday entry.
9729 (holiday-in-range): Autoload it.
9730 (cal-html-htmlify-entry): Add optional class argument.
9731 (cal-html-htmlify-list): Add optional holidays argument.
9732 (cal-html-insert-agenda-days): Include holidays in the output.
9733 (cal-html-one-month): Maybe include holidays.
9734
a43f98b3
GM
9735 * calendar/holidays.el (holiday-in-range):
9736 Move here from cal-tex-list-holidays.
9737 * calendar/cal-tex.el (cal-tex-list-holidays):
9738 Make it an obsolete alias for holiday-in-range. Update all callers.
9739
fef9d149 97402012-05-05 Chong Yidong <cyd@gnu.org>
eceeb5fc
CY
9741
9742 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
9743 Nextstep.
9744
248da2f4
RW
97452012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
9746
9747 * files.el (file-auto-mode-skip): New var.
9748 (set-auto-mode-1): Use it.
9749
f95e9344
SM
97502012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
9751
df96ab1e
SM
9752 * repeat.el: Use lexical-binding.
9753 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
9754 (repeat-undo-count): Remove.
9755 (repeat):
9756 * progmodes/octave-mod.el (octave-abbrev-start):
9757 * progmodes/f90.el (f90-abbrev-start):
9758 * face-remap.el (text-scale-adjust):
9759 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
9760
5342bb06
SM
9761 * emacs-lisp/pcase.el (pcase--let*): New function.
9762 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
9763 a bit more.
9764 (pcase--split-pred): Be more clever about ruling out overlap between
9765 a predicate and some constant pattern.
9766 (pcase--q1): Use `null' instead of (eq foo nil).
9767
f95e9344
SM
9768 * subr.el (setq-local, defvar-local): New macros.
9769 (kbd): Redefine as an alias.
9770 (with-selected-window): Leave unrelated frames alone.
9771 (set-temporary-overlay-map): New function.
9772
71873e2b
SM
97732012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
9774
9775 * subr.el (user-error): New function.
9776 * window.el (switch-to-buffer):
9777 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
9778 (smerge-match-conflict):
9779 * simple.el (previous-matching-history-element)
9780 (next-matching-history-element, goto-history-element, undo-more)
9781 (undo-start):
9782 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
9783 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
9784 (next-file, tags-loop-scan, list-tags, complete-tag):
9785 * progmodes/compile.el (compilation-loop):
9786 * mouse.el (mouse-minibuffer-check):
9787 * man.el (Man-bgproc-sentinel, Man-goto-page):
9788 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
9789 (Info-history-forward, Info-follow-reference, Info-menu)
9790 (Info-extract-menu-item, Info-extract-menu-counting)
9791 (Info-forward-node, Info-backward-node, Info-next-menu-item)
9792 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
9793 (Info-next-reference, Info-prev-reference, Info-index)
9794 (Info-index-next, Info-follow-nearest-node)
9795 (Info-copy-current-node-name):
9796 * imenu.el (imenu--make-index-alist)
9797 (imenu-default-create-index-function, imenu-add-to-menubar):
9798 * files.el (basic-save-buffer, recover-file):
9799 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
9800 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
9801 (checkdoc-message-text, checkdoc-defun):
9802 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
9803 * cus-edit.el (customize-changed-options, customize-rogue)
9804 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
9805 (custom-variable-mark-to-reset-standard)
9806 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
9807 (custom-file):
9808 * completion.el (check-completion-length):
9809 * comint.el (comint-search-arg)
9810 (comint-previous-matching-input-string-position)
9811 (comint-previous-matching-input)
9812 (comint-replace-by-expanded-history-before-point, comint-send-input)
9813 (comint-copy-old-input, comint-backward-matching-input)
9814 (comint-goto-process-mark, comint-set-process-mark):
9815 * calendar/calendar.el (calendar-cursor-to-date): Use it.
9816 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
9817
8a61ee22
SM
98182012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
9819
66408d1e
SM
9820 * dabbrev.el (dabbrev--ignore-case-p): New function.
9821 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
9822 Use it.
9823
8a61ee22
SM
9824 * files.el (automount-dir-prefix): Mark as obsolete.
9825
3c74813a
GM
98262012-05-04 Glenn Morris <rgm@gnu.org>
9827
9828 * patcomp.el, play/bruce.el: Move to obsolete/.
9829
0bfcf5c5
PE
98302012-05-04 Paul Eggert <eggert@cs.ucla.edu>
9831
9832 Fix minor Y10k bugs.
9833 * arc-mode.el (archive-unixdate):
9834 * autoinsert.el (auto-insert-alist):
9835 * calc/calc-forms.el (math-this-year):
9836 * emacs-lisp/copyright.el (copyright-current-year)
9837 (copyright-update-year, copyright):
9838 * tar-mode.el (tar-clip-time-string):
9839 * time.el (display-time-update):
9840 Don't assume years have 4 digits.
9841
78f3273a
CY
98422012-05-04 Chong Yidong <cyd@gnu.org>
9843
9844 * dos-w32.el (file-name-buffer-file-type-alist)
9845 (direct-print-region-use-command-dot-com):
9846 * ffap.el (ffap-menu-regexp):
9847 * find-file.el (ff-special-constructs):
9848 * follow.el (follow-debug):
9849 * forms.el (forms--debug):
9850 * iswitchb.el (iswitchb-all-frames):
9851 * ido.el (ido-all-frames):
9852 * emacs-lisp/timer.el (timer-max-repeats):
9853 * mail/feedmail.el (feedmail-mail-send-hook)
9854 (feedmail-mail-send-hook-queued):
9855 * mail/footnote.el (footnote-signature-separator):
9856 * mail/mailabbrev.el (mail-alias-separator-string)
9857 (mail-abbrev-mode-regexp):
9858 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
9859 * progmodes/idlwave.el (idlwave-libinfo-file)
9860 (idlwave-default-completion-case-is-down)
9861 (idlwave-library-routines): Convert defvars to defcustoms.
9862
9863 * mail/rmail.el (rmail-decode-mime-charset):
9864 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
9865 (idlwave-shell-fix-inserted-breaks)
9866 (idlwave-shell-activate-alt-keybindings)
9867 (idlwave-shell-use-breakpoint-glyph):
9868 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
9869
f7ae6719
SM
98702012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
9871
9872 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
9873
47086495
WS
98742012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
9875
9876 * progmodes/verilog-mode.el (font-lock-keywords):
9877 Fix mis-highligting auto. Reported by Craig Barner.
9878 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
fc0c31f8 9879 defines from global name space. Reported by Dan Dever.
47086495
WS
9880 (verilog-auto-reset, verilog-auto-reset-widths)
9881 (verilog-auto-tieoff): Support using unbased numbers for
9882 AUTORESET and AUTOTIEOFF.
9883 (verilog-submit-bug-report): Update variable list.
9884 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
fc0c31f8 9885 parenthesis from not matching. Reported by Michael Rytting.
47086495
WS
9886 (verilog-auto-template-lint): Fix hash error when linting modules
9887 with no used templates.
9888 (verilog-warn, verilog-warn-error)
9889 (verilog-warn-fatal): When non-interactive report multiple
9890 warnings before exiting. Suggested by Brad Dobbie.
9891 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
9892 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
9893 to report unused template errors. Reported by Brad Dobbie.
9894 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
fc0c31f8 9895 nets, bug438. Reported by Vns Blore.
47086495
WS
9896 (verilog-auto-inout-module, verilog-auto-reg)
9897 (verilog-read-decls, verilog-read-sub-decls-sig)
9898 (verilog-signals-edit-wire-reg, verilog-signals-with):
9899 Fix passing of Verilog data types in ANSI input/output ports
fc0c31f8 9900 such as "output logic" into the AUTOs. Special case "wire" and
47086495
WS
9901 "reg" for backwards compatibility presuming Verilog 2001.
9902 (verilog-auto-ascii-enum): Add "auto enum" as alias.
9903 (verilog-preprocess): Fix replication of preprocess output.
9904 Reported by Brad Dobbie.
9905 (verilog-auto-inst-interfaced-ports):
9906 Create verilog-auto-inst-interfaced-ports, bug429.
9907 Reported by Julian Gorfajn.
9908 (verilog-after-save-font-hook)
9909 (verilog-before-save-font-hook): New variable.
9910 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
9911 (verilog-save-font-mods): Wrap disabling fontification, reported
9912 by David Rogoff.
9913 (verilog-do-indent, verilog-pretty-declarations-auto)
9914 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
9915 Reported by Pierre-David Pfister.
9916 (verilog-set-auto-endcomments): Fix endtask auto comments outside
9917 of class declarations, bug292. Reported by Kevin Heilman.
9918 (verilog-read-decls): Fix 'parameter type' not appearing in
9919 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
9920 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
fc0c31f8 9921 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
47086495
WS
9922 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
9923 Reported by David Kravitz.
9924
99252012-05-03 Michael McNamara <mac@mail.brushroad.com>
9926
9927 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
9928 assignment with tests in ifs and for loops.
9929 (verilog-extended-complete-re, verilog-complete-reg): Change so
9930 that DPI inport functions don't look like fuction declarations.
9931 (verilog-pretty-expr): Don't line up assignment
9932 operations to the test and increment in if and for loops
9933 (verilog-extended-complete-re, verilog-complete-reg): Change so
090bd7cb 9934 that DPI inport functions don't look like fuction declarations.
47086495 9935
2e51d4b5
KH
99362012-05-03 Kenichi Handa <handa@m17n.org>
9937
9938 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
c846da43 9939 decoding, and show a warning message without signaling an error
2e51d4b5
KH
9940 (Bug#11282).
9941
2bd785a2
SM
99422012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
9943
9944 * emacs-lisp/bytecomp.el
9945 (byte-compile-file-form-custom-declare-variable): Compile all elements,
9946 since cconv.el might have introduced :fun-body, internal-make-closure,
9947 and friends for bytecomp to handle (bug#11391).
9948 * custom.el (defcustom): Avoid ((λ ..) ..).
9949
99d27583
SM
99502012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
9951
9952 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
9953
55a71479
JB
99542012-05-02 Juanma Barranquero <lekktu@gmail.com>
9955
9956 * notifications.el (dbus-debug):
9957 * term/linux.el (gpm-mouse-enable):
9958 * term/screen.el (xterm-register-default-colors): Declare.
9959
7b97c764
CY
99602012-05-02 Chong Yidong <cyd@gnu.org>
9961
2bc356d7
CY
9962 * cus-start.el (gc-cons-percentage, exec-suffixes)
9963 (dos-display-scancodes, dos-hyper-key, dos-super-key)
9964 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
9965 (make-cursor-line-fully-visible, void-text-area-pointer)
9966 (font-list-limit): Add customization data.
9967
7b97c764
CY
9968 * allout.el (allout-exposure-change-functions)
9969 (allout-structure-added-functions)
9970 (allout-structure-deleted-functions)
9971 (allout-structure-shifted-functions): Rename abnormal hooks from
9972 *-hook, and convert to defcustoms.
5d3385a0
JB
9973 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
9974 Convert to defcustoms.
7b97c764
CY
9975 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
9976
9977 * allout-widgets.el: Hook callers changed.
9978
90207a15 99792012-05-02 Eli Zaretskii <eliz@gnu.org>
91af76bf
EZ
9980
9981 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
9982 the yanked message in preference to the default value of
9983 buffer-file-coding-system.
9984
90207a15 99852012-05-02 Martin Rudalics <rudalics@gmx.at>
d9558cad 9986
5d3385a0
JB
9987 * window.el (display-buffer--action-function-custom-type):
9988 Fix entry.
d9558cad 9989
90207a15 99902012-05-02 Alan Mackenzie <acm@muc.de>
09affde0
AM
9991
9992 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
9993
d80ac57b
GM
99942012-05-01 Glenn Morris <rgm@gnu.org>
9995
976f7668
GM
9996 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
9997
beb83b5a
GM
9998 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
9999
d80ac57b
GM
10000 * cus-edit.el (custom-variable-documentation): Simplify with format.
10001
b593d6a9 100022012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
f1a71c6e 10003 Stefan Monnier <monnier@iro.umontreal.ca>
b593d6a9
AH
10004
10005 * simple.el (suggest-key-bindings, execute-extended-command):
10006 Move from keyboard.c.
10007
782fbf2a
CY
100082012-05-01 Chong Yidong <cyd@gnu.org>
10009
10010 * follow.el: Eliminate advice.
10011 (set-process-filter, process-filter, sit-for): Advice deleted.
10012 (follow-mode-off-hook): Obsolete hook removed.
b593d6a9
AH
10013 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
10014 Vars deleted.
782fbf2a
CY
10015 (follow-auto): Use a :set function.
10016 (follow-mode): Rewritten. Don't advise process filters.
10017 (follow-switch-to-current-buffer-all, follow-scroll-up)
10018 (follow-scroll-down): Assume follow-mode is bound.
10019 (follow-comint-scroll-to-bottom)
10020 (follow-align-compilation-windows): New functions.
10021 (follow--window-sorter): New function.
10022 (follow-all-followers): Use it to explicitly sort windows by their
10023 positions; don't make assumptions about next-window order.
10024 (follow-windows-start-end, follow-delete-other-windows-and-split)
10025 (follow-calc-win-start): Doc fix.
10026 (follow-windows-aligned-p, follow-select-if-visible): Don't call
10027 vertical-motion unnecessarily.
10028 (follow-adjust-window): New function.
10029 (follow-post-command-hook): Use it.
10030 (follow-call-set-process-filter, follow-call-process-filter)
10031 (follow-intercept-process-output, follow-tidy-process-filter-alist)
10032 (follow-stop-intercept-process-output, follow-generic-filter):
10033 Functions deleted.
10034 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
b593d6a9
AH
10035 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
10036 New functions, replacing advice on scroll-bar-* commands.
87233a14 10037 (follow-mwheel-scroll): New function (Bug#4112).
782fbf2a
CY
10038
10039 * comint.el (comint-adjust-point): New function.
b593d6a9
AH
10040 (comint-postoutput-scroll-to-bottom): Use it.
10041 Call follow-comint-scroll-to-bottom for Follow mode buffers.
782fbf2a 10042
290af740
GM
100432012-05-01 Glenn Morris <rgm@gnu.org>
10044
10045 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
10046 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
10047 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
10048 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
10049 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
10050 Remove no-byte-compile setting.
10051
6eac8dc9
SM
100522012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
10053
10054 * minibuffer.el (completion-table-with-quoting): Fix compatibility
10055 all-completions code to not return a number in the last cdr.
10056
9cc7819c
LL
100572012-04-30 Leo Liu <sdl.web@gmail.com>
10058
10059 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
10060 read-only error.
10061
c93b886f
CY
100622012-04-29 Chong Yidong <cyd@gnu.org>
10063
10064 * follow.el (follow-calc-win-end): Rewrite to handle partial
10065 screen lines correctly (Bug#8390).
10066 (follow-avoid-tail-recenter): Minor cleanup.
10067
8b6c19f4
SM
100682012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
10069
10070 Avoid the obsolete `assoc' package.
10071 * speedbar.el (speedbar-refresh): Avoid adelete.
10072 (speedbar-file-lists): Simplify and avoid aput.
10073 * man.el (Man--sections, Man--refpages): New vars, replacing
10074 Man-sections-alist and Man-refpages-alist.
10075 (Man-build-section-alist, Man-build-references-alist):
10076 Use them; avoid aput.
10077 (Man--last-section, Man--last-refpage): New vars.
10078 (Man-follow-manual-reference): Use them.
10079 Use the `default' arg of completing-read.
10080 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
10081
c5bb7569
CY
100822012-04-27 Chong Yidong <cyd@gnu.org>
10083
d1d2e2e8
CY
10084 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
10085
15cd8efd
CY
10086 * startup.el (x-apply-session-resources): New function.
10087
10088 * term/ns-win.el (ns-initialize-window-system):
10089 * term/w32-win.el (w32-initialize-window-system):
10090 * term/x-win.el (x-initialize-window-system): Use it to properly
10091 set menu-bar-mode and other vars from X resources, even if the
10092 initial frame is not a window-system frame (Bug#2299).
10093
c5bb7569
CY
10094 * subr.el (read-key): Avoid running filter function when setting
10095 up temporary tool bar entries (Bug#9922).
10096
a8e7d6d7 100972012-04-27 Andreas Schwab <schwab@linux-m68k.org>
c4347ab9
AS
10098
10099 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
10100 (Bug#11344)
10101
a8e7d6d7 101022012-04-27 Chong Yidong <cyd@gnu.org>
acb71f1d
CY
10103
10104 * select.el (xselect--encode-string): New function, split from
10105 xselect-convert-to-string.
10106 (xselect-convert-to-string): Use it.
10107 (xselect-convert-to-filename, xselect-convert-to-os)
10108 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
10109 returned strings are properly encoded (Bug#11315).
10110
a8e7d6d7 101112012-04-27 Chong Yidong <cyd@gnu.org>
d55486c7
CY
10112
10113 * simple.el (delete-active-region): Move to killing custom group.
10114
a8e7d6d7 101152012-04-27 Andreas Schwab <schwab@linux-m68k.org>
581b6788
AS
10116
10117 * progmodes/which-func.el (which-func-current): Quote %
10118 characters for mode-line processing.
10119
578c1d4b 101202012-04-27 Chong Yidong <cyd@gnu.org>
18edb22d
CY
10121
10122 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
10123 reaching eob (Bug#11286).
10124
a8e7d6d7 101252012-04-27 Eli Zaretskii <eliz@gnu.org>
9ee9f470
EZ
10126
10127 * progmodes/gdb-mi.el (gdb-control-level): New variable.
10128 (gdb): Make it buffer-local and init to zero.
10129 (gdb-control-commands-regexp): New variable.
10130 (gdb-send): Don't wrap in "-interpreter-exec console" if
10131 gdb-control-level is positive. Increment gdb-control-level
10132 whenever the command matches gdb-control-commands-regexp, and
10133 decrement it each time the command is "end". (Bug#11279)
10134
a8e7d6d7 101352012-04-27 Martin Rudalics <rudalics@gmx.at>
41cfe0cb
MR
10136
10137 * window.el (adjust-window-trailing-edge, enlarge-window)
10138 (shrink-window, window-resize):
10139 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
10140 windows (Bug#11276).
10141
b3608390
CY
101422012-04-27 Chong Yidong <cyd@gnu.org>
10143
10144 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
a8e7d6d7 10145 fix "missing prefix" warning. All callers changed.
b3608390 10146
797e6e88
SM
101472012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
10148
10149 * emacs-lisp/assoc.el: Move to obsolete/.
10150
e95a67dc
SM
101512012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
10152
657c21e4 10153 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
e95a67dc
SM
10154
10155 * term/ns-win.el (ns-define-service):
10156 * progmodes/pascal.el (pascal-goto-defun):
10157 * progmodes/js.el (js--read-tab):
10158 * progmodes/etags.el (tags-lazy-completion-table):
10159 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
10160 * emacs-lisp/ewoc.el (ewoc--wrap):
10161 * emacs-lisp/assoc.el (aput, adelete, amake):
10162 * doc-view.el (doc-view-convert-current-doc):
10163 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
10164
cb3e7ae0
CY
101652012-04-26 Chong Yidong <cyd@gnu.org>
10166
dce04f7f
CY
10167 * image.el (image-type-from-buffer): Only return supported image
10168 type (Bug#9045).
10169
cb3e7ae0
CY
10170 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
10171 value, for symmetry with diff-end-of-hunk.
10172 (diff-split-hunk, diff-find-source-location)
10173 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
10174 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
10175 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
10176 compute the relevant hunk or file properly (Bug#6005).
10177 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
10178
0d42eb3e
SM
101792012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
10180
10181 * vc/vc-mtn.el:
10182 * vc/vc-hg.el:
10183 * vc/vc-git.el:
10184 * vc/vc-dir.el:
10185 * vc/vc-cvs.el:
10186 * vc/vc-bzr.el:
10187 * vc/vc-arch.el:
10188 * vc/vc.el: Replace lexical-let by lexical-binding.
10189 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
10190 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
10191 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
10192
f08ae1c9
CY
101932012-04-26 Chong Yidong <cyd@gnu.org>
10194
8b71081d
CY
10195 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
10196 (diff-mode-shared-map): Bind it to / and [remap undo].
10197
f08ae1c9
CY
10198 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
10199 (ediff-window-setup-function): Use it as the default, to set up
10200 windows based on whether the current frame is graphical (Bug#2138).
10201 (ediff-choose-window-setup-function-automatically): Make obsolete.
10202
10203 * vc/ediff-init.el: Always define ediff-pixel-width/height.
10204
ef24141c
SM
102052012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10206
cc356a5d
SM
10207 * ffap.el: Remove old code for obsolete package.
10208 (ffap-complete-as-file-p): Remove.
10209
b4ff4f1f
SM
10210 Use completion-table-with-quoting for comint and pcomplete.
10211 * comint.el (comint--unquote&requote-argument)
10212 (comint--unquote-argument, comint--requote-argument): New functions.
10213 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
10214 (comint-quote-filename): Use regexp-opt-charset.
10215 (comint--common-suffix, comint--common-quoted-suffix)
10216 (comint--table-subvert): Remove.
10217 (comint-unquote-function, comint-requote-function): New vars.
10218 (comint--complete-file-name-data): Use them with
10219 completion-table-with-quoting.
10220 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
10221 * pcomplete.el (pcomplete-arg-quote-list)
10222 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
10223 (pcomplete-unquote-argument-function): Default to non-nil.
10224 (pcomplete-unquote-argument): Simplify.
10225 (pcomplete--common-quoted-suffix): Remove.
10226 (pcomplete-requote-argument-function): New var.
10227 (pcomplete--common-suffix): New function.
10228 (pcomplete-completions-at-point): Use completion-table-with-quoting
10229 and completion-table-subvert.
10230
79c4eeb4
SM
10231 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
10232 (minibuffer--double-dollars): Preserve properties.
10233 (completion--sifn-requote): New function.
10234 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
10235
ef24141c
SM
10236 * minibuffer.el: Add support for completion of quoted/escaped data.
10237 (completion-table-with-quoting, completion-table-subvert): New funs.
10238 (completion--twq-try, completion--twq-all): New functions.
10239 (completion--nth-completion): New function.
10240 (completion-try-completion, completion-all-completions): Use it.
10241
784e7d6e
LL
102422012-04-25 Leo Liu <sdl.web@gmail.com>
10243
dd2ac746
SM
10244 * progmodes/python.el (python-pdbtrack-get-source-buffer):
10245 Use compilation-message if available to find real filename.
784e7d6e 10246
07875ee7
CY
102472012-04-25 Chong Yidong <cyd@gnu.org>
10248
10249 * vc/diff-mode.el (diff-setup-whitespace): New function.
10250 (diff-mode): Use it.
10251
10252 * vc/diff.el (diff-sentinel):
10253 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
10254 Whitespace mode variables based on diff style (Bug#8612).
10255
5055880d
LL
102562012-04-25 Leo Liu <sdl.web@gmail.com>
10257
daf75653
LL
10258 * progmodes/python.el (python-send-region): Add suffix .py to the
10259 temp file.
10260
5055880d
LL
10261 * files.el (auto-mode-alist): Use javascript-mode instead.
10262
db9b177b
AH
102632012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
10264
ef24141c 10265 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b 10266
090bd7cb 10267 * net/soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 10268 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 10269 references, see Bug#9.
ef24141c 10270 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 10271 when receiving a fault reply.
ef24141c 10272 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b 10273
090bd7cb 10274 * net/soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 10275 (soap-inspect-simple-type): New function.
db9b177b 10276
090bd7cb 10277 * net/soap-client.el (soap-simple-type): New struct.
db9b177b 10278 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
10279 (soap-decode-basic-type, soap-encode-basic-type):
10280 support unsignedInt and double basic types.
db9b177b 10281 (soap-resolve-references-for-simple-type)
ef24141c
SM
10282 (soap-parse-simple-type, soap-encode-simple-type): New function.
10283 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b 10284
090bd7cb 10285 * net/soap-client.el (soap-default-xsd-types)
ef24141c
SM
10286 (soap-default-soapenc-types): Add integer, byte and anyURI types.
10287 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
10288 the local name of "soapenc:Array".
10289 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
db9b177b
AH
10290 decoding integer, byte and anyURI xsd types.
10291
1fc6097b
CY
102922012-04-25 Chong Yidong <cyd@gnu.org>
10293
10294 * cus-edit.el (custom-buffer-create-internal): Update header text.
10295
afc6df87
EZ
102962012-04-25 Eli Zaretskii <eliz@gnu.org>
10297
10298 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
10299 settings on 'system-type', not on 'window-system'. On MS-Windows,
10300 set interactive-mode on in GDB.
10301
dfbd787f
SM
103022012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
10303
10304 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
10305 (ruby-syntax-propertize-regexp): Remove.
10306 (ruby-syntax-propertize-function): Split regexp into chunks.
10307 Match following code directly.
10308
85222d44
DG
103092012-04-24 Dmitry Gutov <dgutov@yandex.ru>
10310
51a8ea2a
DG
10311 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
10312 (ruby-syntax-propertize-regexp): New function.
10313 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
10314 by a special keyword.
10315
85222d44
DG
10316 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
10317 (ruby-syntax-general-delimiters-goto-beg)
10318 (ruby-syntax-propertize-general-delimiters): New functions.
10319 (ruby-syntax-propertize-function): Use them to handle GDL.
10320 (ruby-font-lock-keywords): Move old handling of GDL...
10321 (ruby-font-lock-syntactic-keywords): .. to here.
10322 (ruby-calculate-indent): Adjust indentation for GDL.
10323
b613912b
MA
103242012-04-24 Michael Albinus <michael.albinus@gmx.de>
10325
b5380639
MA
10326 * notifications.el (top): Remove unneeded declarations.
10327 (notifications-specification-version): Change to "1.2".
e43042fe 10328 (notifications-interface, notifications-notify-method)
b613912b
MA
10329 (notifications-close-notification-method): Fix docstring.
10330 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
10331 (notifications-notify): Add :action-items, :resident and
10332 :transient hints. Change "image_data" to "image-data" and
10333 "image_path" to "image-path".
b613912b
MA
10334 (notifications-get-capabilities): New defun.
10335
257440aa
LL
103362012-04-24 Leo Liu <sdl.web@gmail.com>
10337
10338 * progmodes/python.el: Move hideshow setup to the end.
10339
b1bac16e
MR
103402012-04-24 Martin Rudalics <rudalics@gmx.at>
10341
10342 * window.el (handle-select-window): Clear echo area since this is
10343 no more done by read_char (Bug#11304).
10344
d81bd059
SM
103452012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
10346
10347 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
10348 and `/ M' to filter-derived-mode.
10349 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
10350 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
10351 (ibuffer-mark-by-mode): Use default rather than initial-input.
10352 (ibuffer-filter-by-derived-mode): Autoload and require-match.
10353
c4cf6d91
IA
103542012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
10355
10356 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
10357 (ibuffer-filter-by-derived-mode): New filter.
10358 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
10359
7511ded8
CY
103602012-04-23 Andreas Politz <politza@fh-trier.de>
10361
10362 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
10363
775c916b
CY
103642012-04-23 Chong Yidong <cyd@gnu.org>
10365
10366 * cus-edit.el (customize-apropos, customize-apropos-options):
10367 Disable matching of non-option variables (Bug#11176).
10368 (customize-option, customize-option-other-window)
10369 (customize-changed-options): Doc fix.
10370 (customize-apropos-options, customize-apropos-faces)
10371 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
10372
10373 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 10374 Fix word list splitting (Bug#11132).
46c71e23
CY
10375 (apropos-symbol, apropos-keybinding, apropos-label)
10376 (apropos-property, apropos-function-button)
10377 (apropos-variable-button, apropos-misc-button): New faces.
10378 (apropos-symbol-face, apropos-keybinding-face)
10379 (apropos-label-face, apropos-property-face, apropos-match-face):
10380 Variables removed (Bug#8396).
10381 (apropos-library-button, apropos-format-plist, apropos-print)
10382 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 10383
2df41f9c
MA
103842012-04-23 Michael Albinus <michael.albinus@gmx.de>
10385
10386 * net/xesam.el (xesam-mode-map): Use let-bound map in
10387 initialization. (Bug#11292)
10388
da00640a
AM
103892012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10390
10391 Preserve ispell session localwords when switching back to
10392 original buffer.
10393
090bd7cb
JB
10394 * textmodes/ispell.el (ispell-buffer-session-localwords):
10395 New buffer-local variable to hold buffer session localwords.
ed9265fc 10396 (ispell-kill-ispell): Add option 'clear to delete session
da00640a
AM
10397 localwords.
10398 (ispell-command-loop, ispell-change-dictionary)
10399 (ispell-buffer-local-words): Preserve session localwords when
10400 needed.
10401
090bd7cb
JB
10402 * textmodes/flyspell.el (flyspell-process-localwords)
10403 (flyspell-do-correct): Preserve session localwords when needed.
da00640a 10404
f621ccf5
AM
104052012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10406
090bd7cb
JB
10407 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
10408 using obsolete `translation-table-for-input'.
ef24141c
SM
10409 (ispell-word, ispell-process-line, ispell-complete-word):
10410 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 10411
c2d1019e
CY
104122012-04-22 Chong Yidong <cyd@gnu.org>
10413
10414 * cus-edit.el (custom-variable-menu)
10415 (custom-variable-reset-saved, custom-face-menu)
10416 (custom-face-reset-saved): If there is no saved value, make the
10417 "reset-saved" operation bring back the default (Bug#9509).
10418 (custom-face-state): Properly detect themed faces.
10419
eeddc531
CY
10420 * faces.el (face-spec-set): Stop supporting deprecated form of
10421 third arg.
10422
dcbf5805
MA
104232012-04-22 Michael Albinus <michael.albinus@gmx.de>
10424
10425 Move functions from C to Lisp. Make non-blocking method calls
10426 the default. Implement further D-Bus standard interfaces.
10427
ef24141c
SM
10428 * net/dbus.el (dbus-message-internal): Declare function.
10429 Remove unneeded function declarations.
dcbf5805
MA
10430 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
10431 (dbus-message-type-method-return, dbus-message-type-error)
10432 (dbus-message-type-signal): Declare variables. Remove local
10433 definitions.
10434 (dbus-interface-dbus, dbus-interface-peer)
10435 (dbus-interface-introspectable, dbus-interface-properties)
10436 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
10437 Adapt docstring.
10438 (dbus-interface-objectmanager): New defconst.
10439 (dbus-call-method, dbus-call-method-asynchronously)
10440 (dbus-send-signal, dbus-method-return-internal)
10441 (dbus-method-error-internal, dbus-register-service)
10442 (dbus-register-signal, dbus-register-method): New defuns, moved
10443 from dbusbind.c
10444 (dbus-call-method-handler, dbus-setenv)
ef24141c
SM
10445 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
10446 New defuns.
dcbf5805
MA
10447 (dbus-call-method-non-blocking): Make it an obsolete function.
10448 (dbus-unregister-object, dbus-unregister-service)
10449 (dbus-handle-event, dbus-register-property)
10450 (dbus-property-handler): Obey the new structure of
10451 `bus-registered-objects'.
10452 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
10453 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
10454 Use `dbus-call-method'.
10455
cf20dee0
CY
104562012-04-22 Chong Yidong <cyd@gnu.org>
10457
10458 * cus-edit.el (custom-commands, custom-reset-menu)
10459 (Custom-reset-standard): Tweak labels.
10460 (custom-reset-button-menu): Change default to t.
10461 (custom-buffer-create-internal): For the custom-reset-button-menu
10462 case, put the revert button first.
10463 (custom-group-subtitle): New face.
10464 (custom-group-value-create): Align docstring to a specific column.
10465
10466 * wid-edit.el (widget-documentation-link-add): Don't handle
10467 indentation in this function.
10468 (widget-documentation-string-indent-to): New function.
10469 (widget-documentation-string-value-create): Use it.
10470
10471 * autorevert.el (auto-revert):
10472 * epg-config.el (epg):
10473 * ibuffer.el (ibuffer):
10474 * mpc.el (mpc):
10475 * ses.el (ses):
10476 * eshell/eshell.el (eshell):
10477 * net/ange-ftp.el (ange-ftp):
10478 * progmodes/ebnf2ps.el (postscript):
10479 * progmodes/flymake.el (flymake):
10480 * progmodes/prolog.el (prolog):
10481 * progmodes/verilog-mode.el (verilog-mode):
10482 * progmodes/which-func.el (which-func):
10483 * term/xterm.el (xterm):
10484 * textmodes/picture.el (picture):
10485 * textmodes/tildify.el (tildify):
10486 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
10487 customization buffers.
10488
583e23bd
AM
104892012-04-22 Alan Mackenzie <acm@muc.de>
10490
10491 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
10492 Adding a ) can hide the resulting (..) from searches. Fix it.
10493 Bound the backward search to the position of the existing (.
10494
7dd51bf1
JB
104952012-04-21 Juanma Barranquero <lekktu@gmail.com>
10496
10497 * progmodes/verilog-mode.el (verilog-mode): Check whether
10498 which-func-modes is t before adding verilog-mode.
10499 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
10500
d64a438f
LL
105012012-04-21 Leo Liu <sdl.web@gmail.com>
10502
7dd51bf1 10503 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 10504
081e8d65
MV
105052012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
10506
10507 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
10508 filling of the last column of a table (Bug#5635).
10509 (woman-find-next-control-line): New arg, specifying an additional
10510 regexp component for the control line.
10511 (woman2-roff-buffer): Use it.
10512 (woman-break-table): New function.
10513 (woman2-TS): Use it.
10514
105152012-04-21 Chong Yidong <cyd@gnu.org>
10516
10517 * woman.el (woman-set-buffer-display-table, woman-decode-region)
10518 (woman-horizontal-escapes, woman-negative-vertical-space)
10519 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
10520 (WoMan-warn-ignored): Use ?\s instead of ?\ .
10521
ed571ccb
SM
105222012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
10523
10524 * minibuffer.el (completion-file-name-table): Complete user names.
10525
39773899
LL
105262012-04-20 Leo Liu <sdl.web@gmail.com>
10527
10528 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
10529 and pcase-let*.
10530
de6ff46d
CY
105312012-04-20 Chong Yidong <cyd@gnu.org>
10532
10533 * server.el (server-execute): Respect initial-buffer-choice if it
10534 is a string and there are no files to open (Bug#2825).
10535 (server-create-window-system-frame, server-create-tty-frame):
10536 Don't switch buffers here.
2d0e8e61
CY
10537 (server-process-filter): Only try to open a window system frame if
10538 compiled with graphical support (Bug#8314).
de6ff46d 10539
54071013
DN
105402012-04-20 Dan Nicolaescu <dann@gnu.org>
10541
10542 * battery.el (battery-echo-area-format): Display remaining time
10543 for sysfs backend too (Bug#11269).
10544 (battery-linux-sysfs): Fix conditional for the charge.
10545
f30d612a
CY
105462012-04-20 Chong Yidong <cyd@gnu.org>
10547
c07a4c0b 10548 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
10549 (gdb-inferior-io--init-proc): New function.
10550 (gdb-init-1): Use it.
10551 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
10552 responsible for allocating a new pty and hooking it to gdb when
10553 the old pty gets an EIO due to process exit.
10554 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
10555 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
10556 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
10557
2116e93c
EZ
105582012-04-20 Eli Zaretskii <eliz@gnu.org>
10559
10560 * window.el (window-min-size, window-sizable, window-min-delta)
10561 (window-max-delta, window--resizable, window-resizable)
10562 (window-total-size, window-full-height-p, window-full-width-p)
10563 (window-in-direction, window--resize-mini-window, window-resize)
10564 (window--resize-child-windows-normal)
10565 (window--resize-child-windows, window--resize-siblings)
10566 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 10567 (enlarge-window, shrink-window): Doc fixes.
2116e93c 10568
c07a4c0b 105692012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 10570
ef24141c
SM
10571 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
10572 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
10573 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
10574 pty process (Bug#11273).
10575 (gdb-update): New arg to suppress talking to the gdb process.
10576 (gdb-done-or-error): Use it.
10577 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
10578 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
10579 sentinel not being called.
10580
10581 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
10582
d02766ab
CY
10583 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
10584
c07a4c0b 105852012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
10586
10587 * net/network-stream.el (open-network-stream): Doc fix.
10588
c07a4c0b 105892012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
10590
10591 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
10592
c07a4c0b 105932012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
10594
10595 Ensure searching for keywords is case sensitive.
10596
10597 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
10598 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
10599 (c-defun-name, c-mark-function, c-cpp-define-name)
10600 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 10601 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 10602
ef24141c
SM
10603 * progmodes/cc-mode.el (c-font-lock-fontify-region):
10604 Bind case-fold-search to nil.
f0f6bc35 10605
c07a4c0b 106062012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
10607
10608 * mail/sendmail.el (mail-bury): Call return action with the right
10609 Rmail buffer (Bug#11242).
10610
9a864fa2
CY
10611 * server.el (server-process-filter): Handle corner case where both
10612 tty and nowait options are present (Bug#11102).
10613
539aa513
EZ
106142012-04-20 Eli Zaretskii <eliz@gnu.org>
10615
10616 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
10617 (top level): Put into the executable the ident-style '$Id:' tag on
10618 windows-nt as well.
539aa513 10619
cfc7d5da
SM
106202012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
10621
10622 * electric.el (electric-indent-post-self-insert-function): Check that
10623 electric-indent-mode is enabled in current buffer.
10624
5b01685c
JB
106252012-04-19 Juanma Barranquero <lekktu@gmail.com>
10626
10627 * imenu.el (imenu-progress-message): Restore; it is "used" in
10628 erc/erc-imenu.el and net/snmp-mode.el.
10629
4d6769e1
JB
106302012-04-19 Juanma Barranquero <lekktu@gmail.com>
10631
10632 * avoid.el (mouse-avoidance-mode): Mark unused arg.
10633 (mouse-avoidance-nudge-mouse): Remove unused binding.
10634
10635 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
10636
10637 * descr-text.el (describe-char):
10638 * progmodes/python.el (python-describe-symbol):
10639 Don't call `toggle-read-only', set `buffer-read-only'.
10640
10641 * imenu.el (imenu-default-goto-function): Mark unused args.
10642 (imenu-progress-message): Remove obsolete macro; all callers changed.
10643
10644 * subr.el (keymap-canonicalize): Remove unused binding.
10645 (read-passwd): Mark unused arg.
10646
10647 * tutorial.el (tutorial--display-changes): Remove unused binding.
10648 (tutorial--save-tutorial-to): Remove unused variable.
10649
10650 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
10651 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
10652 (package-generate-autoloads, package-menu--generate)
10653 (package-menu--find-upgrades): Remove unused bindings.
10654
10655 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
10656 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
10657 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
10658 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
10659 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
10660 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
10661 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
10662 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
10663 (cua-delete-char-rectangle): Mark unused args.
10664 (cua-align-rectangle): Remove unused binding.
10665
10666 * mail/rmail.el (compilation--message->loc)
10667 (epa--find-coding-system-for-mime-charset): Declare.
10668
10669 * net/dbus.el (dbus-register-service): Declare.
10670 (dbus-name-owner-changed-handler): Remove unused binding.
10671
10672 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
10673 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
10674 (nxml-scan-backward-within): Mark unused arg.
10675 (nxml-dynamic-markup-word): Remove unused binding.
10676
10677 * mouse.el (mouse-menu-major-mode-map):
10678 * emacs-lisp/authors.el (authors-scan-change-log)
10679 (authors-add-to-author-list):
10680 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
10681 * emacs-lisp/smie.el (smie-auto-fill):
10682 * mail/sendmail.el (mail-bury):
10683 * mail/unrmail.el (unrmail):
10684 * net/tls.el (open-tls-stream):
10685 * textmodes/picture.el (picture-mouse-set-point):
10686 Remove unused bindings.
10687
8c8fc5df
MA
106882012-04-19 Michael Albinus <michael.albinus@gmx.de>
10689
10690 * net/tramp.el (tramp-action-password): Let-bind
10691 `enable-recursive-minibuffers' to t.
10692
a77b0ac9
SS
106932012-04-18 Sam Steingold <sds@gnu.org>
10694
10695 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
10696 instead of 'string to accommodate values like [f11].
10697 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
10698 * progmodes/gdb-mi.el: Likewise.
10699
12a106a9
LL
107002012-04-18 Leo Liu <sdl.web@gmail.com>
10701
10702 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
10703 current buffer.
10704 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
10705 LOCAL is nil.
10706
bc6494ef
CY
107072012-04-18 Chong Yidong <cyd@gnu.org>
10708
10709 * simple.el (line-move): Use forward-line if in batch mode
10710 (Bug#11053).
10711
c09c46b2
CS
107122012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
10713
10714 * files.el (after-find-file): Do not try to add a final newline if
10715 the buffer is read-only (Bug#11156).
10716
5f6530ea
RS
107172012-04-17 Richard Stallman <rms@gnu.org>
10718
10719 * mail/rmail.el (rmail-start-mail):
10720 Pass (rmail-mail-return...) for the return-action.
10721 Pass (rmail-yank-current-message...) for the yank-action.
10722 (rmail-yank-current-message): New function.
10723 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
10724 (rmail-reply): Likewise.
10725 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
10726
10727 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 10728 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
10729 buffer, not newbuf.
10730
197b6f3c
JB
107312012-04-17 Juanma Barranquero <lekktu@gmail.com>
10732
10733 * server.el (server-ensure-safe-dir): Simplify.
10734
2311d8e5 107352012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 10736
2311d8e5
GM
10737 * emacs-lisp/smie.el: Provide smarter auto-filling.
10738 (smie-auto-fill): New function.
10739 (smie-setup): Use it.
98fb480e 10740
2311d8e5
GM
10741 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
10742
107432012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
10744
10745 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
10746 (comment-indent): Use it.
10747
2311d8e5 107482012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
10749
10750 * ses.el: The overall change is to add cell renaming, that is
10751 setting fancy names for cell symbols other than name matching
10752 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 10753 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 10754 (ses-create-cell-variable): New defun.
2311d8e5 10755 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
10756 (ses-relocate-formula): Relocate formulas only for cells the
10757 symbols of which are not renamed, i.e. symbols whose names do not
10758 match regexp "\\`[A-Z]+[0-9]+\\'".
10759 (ses-relocate-all): Relocate values only for cells the symbols of
10760 which are not renamed.
10761 (ses-load): Create cells variables as the (ses-cell ...) are read,
10762 in order to check row col consistency with cell symbol name only
10763 for cells that are not renamed.
10764 (ses-replace-name-in-formula): New defun.
10765 (ses-rename-cell): New defun.
4bdf2ad2 10766
fc72b15c
PO
107672012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
10768
10769 * progmodes/perl-mode.el (perl-indent-parens-as-block):
10770 New option (bug#11118).
10771 (perl-calculate-indent): Respect it.
10772
12e10e61
GM
107732012-04-17 Glenn Morris <rgm@gnu.org>
10774
10775 * dired-aux.el (dired-mark-read-string): Doc fix.
10776
30009afd
DA
107772012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
10778
10779 * dired-aux.el (dired-mark-read-string): Offer optional completion.
10780 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
10781
41f03f4d
GM
107822012-04-17 Glenn Morris <rgm@gnu.org>
10783
10784 * mouse.el (mouse-drag-track):
10785 * speedbar.el (speedbar-frame-mode):
10786 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
10787
f45f90f3
LL
107882012-04-16 Leo Liu <sdl.web@gmail.com>
10789
10790 * progmodes/python.el: Trivial cleanup.
10791
94ee8db5
GM
107922012-04-16 Glenn Morris <rgm@gnu.org>
10793
121b8917
GM
10794 * vc/vc.el (vc-string-prefix-p):
10795 * vc/pcvs-util.el (cvs-string-prefix-p):
10796 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
10797 * mpc.el (mpc-string-prefix-p):
10798 Make all of these into obsolete aliases for string-prefix-p.
10799 Update callers.
10800 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
10801
1197ecfa
GM
10802 * textmodes/two-column.el: Move custom options to the start.
10803 (frame-width): Remove compat definition.
10804 (2C-associate-buffer, 2C-dissociate):
10805 Use with-current-buffer rather than save-excursion.
10806 (2C-dissociate): Force a mode-line update.
10807 (2C-autoscroll): Use ignore-errors.
10808
099e7202
GM
10809 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
10810 Autoload trivia.
10811
bf350d6a
GM
10812 * emacs-lisp/cl-extra.el (*random-state*):
10813 Remove unnecessary declaration.
10814
0e829eab
GM
10815 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
10816
e3ad7552
GM
10817 * play/cookie1.el (cookie-snarf):
10818 Give an explicit error if input file cannot be read.
10819
68892d27
GM
10820 * play/yow.el (yow-file): Use expand-file-name rather than concat.
10821
20f0c46d
GM
10822 * progmodes/perl-mode.el (c-macro-expand):
10823 Remove unnecessary autoload (it is in loaddefs.el).
10824
5a0978ce
GM
10825 * textmodes/picture.el (picture-desired-column)
10826 (picture-update-desired-column): Convert comments to doc-strings.
10827 (picture-substitute): Remove function.
10828 (picture-mode-map): Initialize in the defvar.
10829
6b955486
GM
10830 * woman.el: Remove eval-after-load for tar-mode.
10831 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
10832 (woman-tar-extract-file): Autoload it.
10833
94ee8db5
GM
10834 * frame.el (automatic-hscrolling): Make this alias obsolete.
10835
177eca34
AM
108362012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10837
090bd7cb 10838 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 10839 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
10840 (ispell-dictionary-base-alist): Revert to original XEmacs
10841 friendly version for default. [:alpha:] will be added in
090bd7cb 10842 `ispell-set-spellchecker-params' if needed.
177eca34 10843
c505aaeb
CY
108442012-04-16 Chong Yidong <cyd@gnu.org>
10845
b19dd9d1 10846 * image.el (imagemagick--file-regexp): New variable.
c505aaeb
CY
10847 (imagemagick-register-types): Use it.
10848 (imagemagick-types-inhibit): Add :set function. Allow new value
10849 of t to inhibit all types.
10850
10851 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
10852 so we can preload it.
10853
10854 * loadup.el (fboundp): Preload regexp-opt, needed by
10855 imagemagick-register-types.
10856
60efac0f
CY
108572012-04-15 Chong Yidong <cyd@gnu.org>
10858
10859 * frame.el (scrolling): Remove nearly unused customization group.
10860
10861 * scroll-all.el (scroll-all-mode): Move to windows group.
10862
5dd1713e
CY
108632012-04-15 Chong Yidong <cyd@gnu.org>
10864
10865 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
10866
e6fd457e
CY
108672012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
10868
10869 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 10870 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 10871
e153c136
GM
108722012-04-15 Glenn Morris <rgm@gnu.org>
10873
10874 * simple.el (process-file-side-effects): Doc fix.
10875
e6fd457e 108762012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
10877
10878 * international/mule-cmds.el (set-language-environment): Doc fix.
10879
3603c3b1
JB
108802012-04-14 Juanma Barranquero <lekktu@gmail.com>
10881
10882 * server.el (server-auth-key, server-generate-key): Doc fixes.
10883 (server-get-auth-key): Doc fix. Use `string-match-p'.
10884 (server-start): Reflow docstring.
10885
e6de100c
LI
108862012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
10887
10888 * server.el (server-generate-key): `called-interactively-p'
10889 requires a parameter.
10890
29734c21
MN
108912012-04-14 Michal Nazarewicz <mina86@mina86.com>
10892
10893 * server.el (server-auth-key): New variable.
75f1671a 10894 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
10895 (server-start): Use the new variable and functions to allow
10896 setting a permanent server key (bug#9423).
10897
d65c9521
LL
108982012-04-14 Leo Liu <sdl.web@gmail.com>
10899
10900 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
10901
5ae255c7
PE
109022012-04-14 Paul Eggert <eggert@cs.ucla.edu>
10903
10904 Spelling fixes.
10905 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
10906 Emacs uses American spelling.
10907
d5e6342e
JB
109082012-04-14 Juanma Barranquero <lekktu@gmail.com>
10909
10910 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
10911 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
10912 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
10913 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
10914
ab036cd7
SM
109152012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
10916
10917 * progmodes/which-func.el (which-func-modes): Change default.
10918
35dc09a1 109192012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
10920
10921 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
10922 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
10923
35dc09a1 109242012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
10925
10926 * custom.el (custom-theme-set-variables): Doc fix.
10927
35dc09a1 109282012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
10929
10930 * international/mule.el (set-auto-coding-for-load): Doc fix.
10931
35dc09a1 109322012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 10933
35dc09a1
GM
10934 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
10935 imenu work again for Objective C Mode. Correct the *-index values,
10936 these having been disturbed by a previous change in 2011-08.
57f845ee 10937
0de3da9f
AM
10938 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
10939 Correct two search limits.
10940
35dc09a1 109412012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
10942
10943 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
10944
35dc09a1 109452012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
10946
10947 * international/characters.el: Fix sorting.
10948
35dc09a1 109492012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
10950
10951 * international/characters.el: Add more missing Latin case pairs.
10952
35dc09a1 109532012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
10954
10955 * files.el (dir-locals-set-class-variables): Doc fix.
10956
35dc09a1 109572012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 10958
3f1b5bf8
EZ
10959 * international/characters.el: Add set-case-syntax-pair call for
10960 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
10961 counterpart. (Bug#11209)
10962
9f847f41
EZ
10963 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
10964
35dc09a1 109652012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
10966
10967 * calendar/holidays.el (calendar-check-holidays): Doc fix.
10968
35dc09a1 109692012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 10970
35dc09a1
GM
10971 * textmodes/ispell.el (ispell-dictionary-base-alist):
10972 Add data for Hebrew.
e2627d21 10973
35dc09a1 109742012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 10975
35dc09a1
GM
10976 * net/rcirc.el (rcirc-cmd-quit):
10977 Revert 2012-03-18 change (Bug#11192).
5c14e333 10978
35dc09a1 109792012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
10980
10981 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
10982
35dc09a1 109832012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 10984
4517fe3a
SM
10985 * minibuffer.el (completion-in-region-mode-map):
10986 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 10987
b472a594
VD
109882012-04-13 Vivek Dasmohapatra <vivek@etla.org>
10989
10990 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
10991
09b95ce3
MY
109922012-04-13 Masatake YAMATO <yamato@redhat.com>
10993
10994 * minibuffer.el (minibuffer-local-filename-syntax): New variable
10995 to allow `C-M-f' and `C-M-b' to move to the nearest path
10996 separator (bug#9511).
10997
4b63a9ca
LI
109982012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
10999
11000 * avoid.el: Require cl when compiling. And also move the
11001 `provide' to the end.
11002
7b55b8bf
TV
110032012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11004
11005 * avoid.el (mouse-avoidance-banish-position): New variable.
11006 (mouse-avoidance-banish-destination): Use it (bug#10165).
11007
adedaa1f
LL
110082012-04-13 Leo Liu <sdl.web@gmail.com>
11009
11010 * progmodes/which-func.el (which-func-modes): Add objc-mode.
11011
70e74021
KB
110122012-04-13 Ken Brown <kbrown@cornell.edu>
11013
11014 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 11015 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
11016 (browse-url-filename-alist): For the same reason, don't modify
11017 file:// URLs on Cygwin.
11018
e75e89ba
SM
110192012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
11020
11021 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
11022 the region on shift if the binding is already shifted (bug#11221).
11023
82f289a4
GM
110242012-04-12 Glenn Morris <rgm@gnu.org>
11025
11026 * mail/mailpost.el: Move to obsolete/.
11027
d333dc4c
DA
110282012-04-12 Drew Adams <drew.adams@oracle.com>
11029
11030 * imenu.el (imenu--generic-function): Ignore invisible definitions
11031 (bug#10123).
11032
0d15b5ba
VD
110332012-04-12 Vivek Dasmohapatra <vivek@etla.org>
11034
11035 * hexl.el (hexl-bits): New variable.
11036 (hexl-options): Mention the variable in the doc string.
75f1671a 11037 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 11038 (hexl-mode): Mention the new variable.
75f1671a
JB
11039 (hexl-mode, hexl-current-address, hexl-current-address):
11040 Use the displen.
0d15b5ba
VD
11041 (hexl-ascii-start-column): New function.
11042 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
11043 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
11044
64a440db
AM
110452012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11046
11047 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
11048 '("-i" ENCODING), in 2 separate command-line arguments, to specify
11049 the encoding, as expected by hunspell.
11050
6decb6c2
SM
110512012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
11052
11053 * battery.el (battery--linux-sysfs-regexp): New const.
11054 (battery-status-function): Use it. Remove yeeloong special case.
11055 (battery-yeeloong-sysfs): Remove.
11056 (battery-echo-area-format): Remove yeeloong special case.
11057
088be6fb
SM
110582012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
11059
6622e416
SM
11060 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
11061 Reported by Noah Friedman.
11062
088be6fb
SM
11063 * subr.el (read-passwd): Use read-string.
11064
b49f886e
LMI
110652012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
11066
11067 * vcursor.el (vcursor-move): Increase the priority of the overlay
11068 (bug#9663).
11069
a63067fc
DD
110702012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
11071
11072 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
11073 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
11074
ac3cf14a
WS
110752012-04-11 William Stevenson <yhvh2000@gmail.com>
11076
11077 * textmodes/artist.el (artist-mode): Convert artist-mode to use
11078 define-minor-mode (bug#10760).
11079
c4fc691b 110802012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 11081
4d6769e1 11082 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
11083 that directories matching `grep-find-ignored-files' won't be
11084 pruned (bug#10351).
11085
af23e2e5
CY
110862012-04-11 Chong Yidong <cyd@gnu.org>
11087
11088 * startup.el (command-line): Remove support for long-obsolete
11089 variable font-lock-face-attributes.
11090
ab7ce8c1
GM
110912012-04-11 Glenn Morris <rgm@gnu.org>
11092
11093 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
11094
de8c03dc
SM
110952012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
11096
11097 * window.el (window--state-get-1): Obey window-point-insertion-type.
11098
050cc68b
LB
110992012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
11100
11101 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
11102 to previous function when point is on the first character of a
75f1671a 11103 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 11104
a38c310c
GM
111052012-04-11 Glenn Morris <rgm@gnu.org>
11106
effed0c2
GM
11107 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
11108 not just file-errors.
11109
a38c310c
GM
11110 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
11111 (vc-bzr-sha1): Use internal sha1.
11112
0221e323
SM
111132012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
11114
11115 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
11116
43956923
SG
111172012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
11118
11119 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
11120 that start in the middle of the line (bug#10496).
11121
6a8c9eaf
DN
111222012-04-10 Dan Nicolaescu <dann@gnu.org>
11123
11124 * battery.el (battery-linux-proc-acpi): Only one battery is
11125 discharged at a time, but that seems to confuse battery.el when
11126 computing `rate-type' for the battery not being discharged
11127 (bug#10332).
11128
1930bf5d
SM
111292012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
11130
2a718f6f
SM
11131 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
11132
599430d0
SM
11133 * international/quail.el: Use dolist and simplify.
11134 (quail-define-package, quail-update-keyboard-layout)
11135 (quail-define-rules): Use dolist.
11136 (quail-insert-kbd-layout, quail-get-translation): CSE.
11137
a2754b6c
SM
11138 * tmm.el: Use dolist, remove left over hook.
11139 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
11140 Use dolist.
11141 (calendar-load-hook): Don't mess with it.
11142
1930bf5d
SM
11143 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
11144 Use derived-mode-p. Run the diff asynchronously.
11145
9f67961c
LMI
111462012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
11147
11148 * obsolete/mouse-sel.el: Add an Obsolete-since header.
11149
2a8ce227
JB
111502012-04-10 Juanma Barranquero <lekktu@gmail.com>
11151
11152 * misc.el: Display absolute path of loaded DLLs (bug#10424).
11153 (list-dynamic-libraries--loaded): New function.
11154 (list-dynamic-libraries--refresh): Use it.
11155
8f33b5f8
NW
111562012-04-10 Nathan Weizenbaum <nweiz@google.com>
11157
1930bf5d
SM
11158 * progmodes/python.el (python-fill-paragraph):
11159 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
11160 disabled (bug#7018).
11161
b12f0439
L
111622012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
11163
1930bf5d 11164 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
11165 DOS/MS Windows for the Baltic languages. There are still plenty
11166 of texts written in this encoding/codepage (bug#6519).
b12f0439 11167
57c3bd01
GM
111682012-04-10 Glenn Morris <rgm@gnu.org>
11169
11170 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
11171 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
11172
6c3eab30
FA
111732012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
11174
1930bf5d 11175 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
11176 next-line "n" and previous-line "p" in order to make recentf more
11177 consistent with ibuffer, dired or org-mode (bug#9387).
11178
24d78a88
LMI
111792012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
11180
bc72b5d9
LMI
11181 * image.el (put-image): Return the overlay created instead of the
11182 optional input string (bug#7834). Note that this may break code
11183 that is (for some reason or other) depending on `put-image'
11184 returning the string.
11185
bd2dba5a
LMI
11186 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
11187
74beb59f
LMI
11188 * simple.el (zap-to-char): Allow zapping using input methods
11189 (bug#1580).
11190
24d78a88
LMI
11191 * textmodes/fill.el (fill-region): Leave point and mark where they
11192 were before filling (bug#5399).
11193
263f20cd
GM
111942012-04-09 Glenn Morris <rgm@gnu.org>
11195
11196 * version.el (emacs-bzr-get-version):
11197 Handle lightweight checkouts of local branches.
11198
58d1f797
AS
111992012-04-09 Andreas Schwab <schwab@linux-m68k.org>
11200
263f20cd 11201 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 11202
b4d3bc10
CY
112032012-04-09 Chong Yidong <cyd@gnu.org>
11204
11205 * custom.el (custom-variable-p): Return nil for non-symbol
11206 arguments instead of signaling an error.
11207 (user-variable-p): Obsolete alias for custom-variable-p.
11208
11209 * apropos.el (apropos-variable):
11210 * files-x.el (read-file-local-variable):
11211 * simple.el (set-variable):
11212 * woman.el (woman-mini-help):
11213 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
11214
fd06db5d
GM
112152012-04-09 Glenn Morris <rgm@gnu.org>
11216
e5fcdb5e
GM
11217 * startup.el (normal-top-level): Don't look for leim-list.el
11218 in places where it will not be found. (Bug#910)
11219
fd06db5d
GM
11220 * international/mule-cmds.el (set-default-coding-systems):
11221 * files.el (normal-mode):
11222 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
11223 This function was removed with ucs-tables.el in 2008.
11224
b39bb7e1
EZ
112252012-04-08 Eli Zaretskii <eliz@gnu.org>
11226
11227 * textmodes/ispell.el (ispell-check-version): For hunspell, set
11228 ispell-encoding8-command to "-i", without a trailing space.
11229 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
11230 separate command-line arguments, to specify the encoding, since
11231 that's how hunspell expects it.
11232
5c5b8e23
GM
112332012-04-08 Glenn Morris <rgm@gnu.org>
11234
11235 * loadup.el: Load bindings before cus-start.
11236 This reduces somewhat the number of "rogue" settings in emacs -Q.
11237
a1ed8b05
GM
112382012-04-07 Glenn Morris <rgm@gnu.org>
11239
11240 * version.el (emacs-bzr-get-version): New function.
dfae128a 11241 (emacs-bzr-version): New variable.
a1ed8b05
GM
11242 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
11243 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
11244
b142f158
EZ
112452012-04-07 Eli Zaretskii <eliz@gnu.org>
11246
dfae128a
GM
11247 * international/uni-bidi.el, international/uni-category.el:
11248 * international/uni-combining.el, international/uni-decimal.el:
11249 * international/uni-decomposition.el, international/uni-digit.el:
11250 * international/uni-lowercase.el, international/uni-mirrored.el:
11251 * international/uni-name.el, international/uni-numeric.el:
11252 * international/uni-titlecase.el, international/uni-uppercase.el:
11253 Update for Unicode 6.1.
b142f158 11254
9078ead6
EZ
112552012-04-07 Eli Zaretskii <eliz@gnu.org>
11256
11257 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
11258
f23d2c7d
LMI
112592012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
11260
11261 * window.el (shrink-window): Mention the `window-min-height'
11262 variable in the doc string.
11263
0a0a3573
BG
112642012-04-05 Bastien Guerry <bzg@altern.org>
11265
11266 * color.el (color-lighten-name): Fix typo.
11267
e5248ac9
SM
112682012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
11269
11270 * server.el (server--on-display-p): New function.
11271 (server--on-display-p): Use it.
11272
b4243e22
GV
112732012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
11274
11275 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
11276 (bug#11145).
11277
305d9f44
SM
112782012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
11279
11280 * comint.el (comint--common-quoted-suffix): Check string boundary
11281 before comparing (bug#11158).
11282 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
11283
3d439cd1
CY
112842012-04-04 Chong Yidong <cyd@gnu.org>
11285
321cc491
CY
11286 * minibuffer.el (completion-extra-properties): Doc fix.
11287
3d439cd1
CY
11288 * subr.el (delayed-warnings-hook): Doc fix.
11289
2d562c0f
DU
112902012-04-04 Daiki Ueno <ueno@unixuser.org>
11291
11292 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
11293 selection (Bug#11159).
11294 (epa-insert-keys): Inform that the default public key will be
11295 exported if no key is selected.
11296
4443f204
RS
112972012-04-04 Richard Stallman <rms@gnu.org>
11298
11299 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
11300
529c06b6
CY
113012012-04-03 Chong Yidong <cyd@gnu.org>
11302
11303 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
11304 mail-insert-file, not its obsolete alias mail-attach-file.
11305
66b907dc
MA
113062012-04-03 Michael Albinus <michael.albinus@gmx.de>
11307
11308 * notifications.el (notifications-notify): Fix docstring.
11309
c0ea195d
GM
113102012-04-02 Glenn Morris <rgm@gnu.org>
11311
11312 * emacs-lisp/authors.el (authors-aliases): Another addition.
11313
5ca64e00
MA
113142012-04-02 Michael Albinus <michael.albinus@gmx.de>
11315
11316 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
11317 `tramp-compat-call-process' instead of `tramp-local-call-process'.
11318 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
11319
42ee526b
CY
113202012-04-01 Chong Yidong <cyd@gnu.org>
11321
11322 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
11323 Handle root directory properly.
11324 (copy-directory): Caller changed.
11325
11326 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
11327 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
11328
0b021094
GM
113292012-03-31 Glenn Morris <rgm@gnu.org>
11330
40f86458
GM
11331 * term/xterm.el (xterm-extra-capabilities): Doc fix.
11332
7019c177
GM
11333 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
11334
a1daddd6
GM
11335 * calendar/calendar.el (calendar-window-list)
11336 (calendar-hide-window): Restore. (Bug#11140)
11337 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
11338
0b021094
GM
11339 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
11340
40311efc
TV
113412012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11342
11343 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
11344 Check if file is a symlink (Bug#10489).
11345
11346 * files.el (copy-directory): Likewise.
11347
5319014e
CY
113482012-03-30 Chong Yidong <cyd@gnu.org>
11349
11350 * image.el (imagemagick-types-inhibit)
11351 (imagemagick-register-types): Doc fix.
11352
935d1290
AM
113532012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11354
090bd7cb 11355 * textmodes/ispell.el (ispell-get-extended-character-mode):
ef24141c 11356 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 11357 and treats ~word as ordinary words in pipe mode.
935d1290 11358
61c6e8fd
GM
113592012-03-30 Glenn Morris <rgm@gnu.org>
11360
11361 * tutorial.el (help-with-tutorial): Ensure local variables don't
11362 happen to make the buffer read-only. (Bug#11127)
11363
81fdff00
SM
113642012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
11365
11366 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
11367 (perl-calculate-indent): Return `noindent' in strings.
11368
6e7a6ec0
SS
113692012-03-28 Sam Steingold <sds@gnu.org>
11370
11371 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
11372 instead of the broken adhockery which does not prevent calendar
11373 buffers from being displayed at random after exit.
11374 (calendar-window-list, calendar-hide-window): Remove the broken
11375 adhockery.
11376
fee88ca0
GM
113772012-03-28 Glenn Morris <rgm@gnu.org>
11378
11379 * replace.el (query-replace-map): Doc fix.
11380
38de3354
AS
113812012-03-28 Andreas Schwab <schwab@linux-m68k.org>
11382
11383 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
11384 contents. (Bug#11109)
11385
b973155e
SM
113862012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
11387
11388 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
11389 (bug#11077).
11390 (avl-tree--check, avl-tree--check-node): New funs.
11391
dcb6e7b3
MR
113922012-03-27 Martin Rudalics <rudalics@gmx.at>
11393
11394 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
11395 (switch-to-prev-buffer, switch-to-next-buffer):
11396 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
11397 showing a buffer already is done on the same frame.
11398
b4fa35fa
GM
113992012-03-27 Glenn Morris <rgm@gnu.org>
11400
11401 * startup.el (mail-host-address): Doc fix.
11402
f9210e18
SM
114032012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
11404
11405 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
11406 than 197 variables.
11407
c0bf7753
AF
114082012-03-26 Ami Fischman <ami@fischman.org>
11409
11410 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
11411
33da7b16
GM
114122012-03-26 Glenn Morris <rgm@gnu.org>
11413
02243d9d
GM
11414 * files.el (save-buffers-kill-emacs): Doc fix.
11415
33da7b16
GM
11416 * startup.el (normal-top-level, command-line, command-line-1):
11417 Give them doc strings.
11418
e5a69fd0
EZ
114192012-03-25 Eli Zaretskii <eliz@gnu.org>
11420
11421 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 11422 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 11423
9a69676a
CY
114242012-03-25 Chong Yidong <cyd@gnu.org>
11425
4125cb8b
CY
11426 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
11427 theme if it was previously enabled before (Bug#11031).
11428
dd470960
CY
11429 * cus-theme.el (custom-theme-write-faces): Retrieve current face
11430 spec with custom-face-get-current-spec if its :shown-value is not
11431 determined yet (Bug#9337).
4125cb8b 11432 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 11433
9a69676a
CY
11434 * button.el (button-at): Minor addition to docstring.
11435
6e7e90fa
SL
114362012-03-24 Simon Leinen <simon.leinen@gmail.com>
11437
11438 * vc/vc.el (vc-merge): Fix a prompt.
11439
f06e2758
CY
114402012-03-24 Chong Yidong <cyd@gnu.org>
11441
11442 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
11443 point (Bug#9623).
11444
6e7e90fa
SL
11445 * button.el (button-at): Minor addition to docstring.
11446
b9d0879b
SM
114472012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
11448
11449 * newcomment.el (comment-choose-indent): No space after BOL.
11450
e71cebb3
SS
114512012-03-22 Sam Steingold <sds@gnu.org>
11452
11453 * window.el (switch-to-prev-buffer): Revert last patch because the
11454 bug turned out to be an advertised feature (Elisp manual 28.14).
11455
335aff35
GM
114562012-03-22 Glenn Morris <rgm@gnu.org>
11457
11458 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
11459 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
11460
c676576a
LMI
114612012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
11462
11463 * net/network-stream.el (network-stream-open-starttls): Make error
11464 message under Windows be less misleading.
11465
126f3d39
LW
114662012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
11467
11468 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
11469 understands (bug#9942).
11470
64fee311
CY
114712012-03-22 Chong Yidong <cyd@gnu.org>
11472
11473 * simple.el (end-of-visible-line): Handle return value of
11474 next-single-property-change properly (Bug#9371).
11475
a640d29a
KH
114762012-03-22 Kenichi Handa <handa@m17n.org>
11477
11478 * international/quail.el (quail-insert-kbd-layout): Fix previous
11479 change. To avoid unwanted bidi reordering, use
11480 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
11481
39675016
DG
114822012-03-21 Dmitry Gutov <dgutov@yandex.ru>
11483
11484 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
11485 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
11486 (ruby-beginning-of-indent): Be more careful with the difference
11487 between word-boundary and symbol boundary.
11488 (ruby-mode-syntax-table): Make : a symbol constituent.
11489
0a6934fc 114902012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 11491
3d008e4f
SM
11492 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
11493
0a6934fc
SM
114942012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
11495
af67c9d7
SM
11496 * progmodes/etags.el (tags-completion-at-point-function):
11497 Improve last fix.
11498
1acad97c
SM
11499 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
11500
e298b5da
SS
115012012-03-21 Sam Steingold <sds@gnu.org>
11502
11503 * progmodes/etags.el (tags-completion-at-point-function):
11504 Avoid the error when point is inside the pattern.
11505
91d82a70
JY
115062012-03-21 John Yates <john@yates-sheets.org> (tiny change)
11507
11508 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
11509 line (Bug#10855).
11510
69188b79
CY
115112012-03-21 Drew Adams <drew.adams@oracle.com>
11512
11513 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
11514
99fc91fe
AK
115152012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
11516
11517 * ido.el (ido-set-current-directory, ido-read-internal)
11518 (ido-choose-completion-string, ido-completion-help): Handle nil
11519 value of ido-completion-buffer (Bug#11008).
11520
087bbb4c
SS
115212012-03-21 Sam Steingold <sds@gnu.org>
11522
11523 * window.el (switch-to-prev-buffer): Do not switch to a visible
11524 window previous buffer, just like with the frame previous buffers.
11525
fb5b8aca
CY
115262012-03-21 Chong Yidong <cyd@gnu.org>
11527
11528 * faces.el (make-face, make-empty-face, copy-face):
11529 * face-remap.el (face-remap-add-relative, face-remap-set-base):
11530 Doc fixes.
11531
dc9924b8
SM
115322012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
11533
11534 * wid-edit.el (widget-complete-field): Remove (bug#11051).
11535 (widget-complete): Remove broken use of it.
11536
f0bcceb9
CY
115372012-03-20 Chong Yidong <cyd@gnu.org>
11538
dc9924b8
SM
11539 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
11540 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
11541 characters.
11542
ee52ebf3
TH
115432012-03-20 Tassilo Horn <tassilo@member.fsf.org>
11544
11545 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
11546 to draw rectangles, not squares. (Regression introduced by revno
11547 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
11548
4c5779ab
CY
115492012-03-18 Chong Yidong <cyd@gnu.org>
11550
11551 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
11552 it is not yet defined (for temacs).
11553
15360934
LL
115542012-03-18 Leo Liu <sdl.web@gmail.com>
11555
735135f9
PE
11556 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
11557 prefix.
15360934 11558
d9a8eb66
EZ
115592012-03-17 Eli Zaretskii <eliz@gnu.org>
11560
11561 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
11562 (ispell-choices-win-default-height, ispell-silently-savep)
11563 (ispell-dictionary-alist, ispell-encoding8-command)
11564 (ispell-check-version, ispell-aspell-find-dictionary)
11565 (ispell-valid-dictionary-list, ispell-words-keyword)
11566 (ispell-get-word, ispell-internal-change-dictionary)
11567 (ispell-region, ispell-skip-region-list)
11568 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
11569 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
11570 (ispell-message-text-end, ispell-message)
11571 (ispell-buffer-local-parsing): Doc fix.
11572
f02ff80d
J
115732012-03-13 Jambunathan K <kjambunathan@gmail.com>
11574
11575 * htmlfontify.el: Add support for code block fontification for ODT
11576 export (Bug #9914).
11577 (hfy-optimisations): Define new option
11578 `body-text-only'
11579 (hfy-fontify-buffer): Honor above setting.
11580 (hfy-begin-span, hfy-end-span): New routines factored out form
11581 `hfy-fontify-buffer'.
11582 (hfy-begin-span-handler, hfy-end-span-handler): New variables
11583 that permit insertion of custom tags.
11584 (hfy-fontify-buffer): Use above handlers.
11585 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
11586 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 11587 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 11588 over multiple runs. This is made possible by having the caller let
f02ff80d
J
11589 bind a special variable `hfy-user-sheet-assoc'.
11590 (htmlfontify-string): New defun.
11591 (hfy-compile-face-map): Make sure that the last char in the
11592 buffer is correctly fontified.
11593 (hfy-face-resolve-face): Whitespace only change.
11594
9ac7a13f
EZ
115952012-03-17 Eli Zaretskii <eliz@gnu.org>
11596
11597 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
11598 message more clear.
11599
e2b5bdd7
LL
116002012-03-16 Leo Liu <sdl.web@gmail.com>
11601
11602 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
11603
2e492df3
AM
116042012-03-16 Alan Mackenzie <acm@muc.de>
11605
11606 Further optimise the handling of large macros.
11607
11608 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
11609 limit to a call of `c-literal-limits'.
11610 (c-determine-+ve-limit): New function.
dc9924b8
SM
11611 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
11612 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
11613 In CASE 5B, restrict a search limit to 500.
11614 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
11615
11616 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
11617 Restrict macro bounds to +-500 from after-change's BEG END.
11618
50e94f0c
LL
116192012-03-16 Leo Liu <sdl.web@gmail.com>
11620
11621 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
11622
6f09f6ed
AH
116232012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
11624
11625 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 11626 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 11627
c7e73d51
GM
116282012-03-16 Glenn Morris <rgm@gnu.org>
11629
da986230
GM
11630 * view.el (view-buffer, view-buffer-other-window)
11631 (view-buffer-other-frame): Doc fixes re special mode-class.
11632
0835f01e
GM
11633 * subr.el (eval-after-load): If named feature is provided not from
11634 a file, run after-load forms. (Bug#10946)
11635
c7e73d51
GM
11636 * calendar/calendar.el (calendar-insert-at-column):
11637 Handle non-unit-width characters a bit better. (Bug#10978)
11638
3f2eafd1
CY
116392012-03-15 Chong Yidong <cyd@gnu.org>
11640
11641 * emacs-lisp/ring.el (ring-extend): New function.
11642 (ring-insert+extend): Extend the ring correctly (Bug#11019).
11643
11644 * comint.el (comint-read-input-ring)
11645 (comint-add-to-input-history): Grow comint-input-ring lazily.
11646
103af3fe
SM
116472012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
11648
663b1677
SM
11649 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
11650 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
11651
103af3fe
SM
11652 * imenu.el: Fix multiple inheritance breakage (bug#9199).
11653 (imenu-add-to-menubar): Don't add a redundant index.
11654 (imenu-update-menubar): Handle a dynamically composed keymap.
11655
899cb7cb
KY
116562012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
11657
11658 * mail/sendmail.el (mail-encode-header):
11659 Bind rfc2047-encode-encoded-words to nil.
11660
3809f91d
GM
116612012-03-13 Glenn Morris <rgm@gnu.org>
11662
11663 * calendar/calendar.el (calendar-string-spread):
11664 Handle non-unit-width characters a bit better. (Bug#10978)
11665
9e345a01
LL
116662012-03-13 Leo Liu <sdl.web@gmail.com>
11667
11668 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
11669 directory and file as argument (Bug#10822).
11670
4a07df36
KS
116712012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
11672
11673 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
11674 For dynamically generated code, follow $PC.
11675 (gdb-disassembly-handler-custom): Handle no function name case.
11676
4aaa9356
TL
116772012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
11678
11679 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
11680 * emulation/ws-mode.el (ws-query-replace):
11681 * sort.el (sort-regexp-fields):
11682 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
11683
225979da
SM
116842012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
11685
11686 * dabbrev.el: Fix cycle completion order (bug#10963).
11687 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
11688 (dabbrev-completion): Don't use an obarray; provide
11689 a cycle-sort-function.
11690
e2f1fdab
LL
116912012-03-12 Leo Liu <sdl.web@gmail.com>
11692
dc9924b8 11693 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
11694 (kill-do-not-save-duplicates): Doc fix.
11695
b19490ed
SM
116962012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
11697
11698 * dabbrev.el: Fix cycle completion (bug#10963).
11699 Use lexical binding and wrap to 80 columns.
11700 (dabbrev-completion): Delay computing the list of completions.
11701
4b05d722
KH
117022012-03-12 Kenichi Handa <handa@m17n.org>
11703
11704 * international/quail.el (quail-insert-kbd-layout): Surround each
11705 row by LRO and PDF instead of inserting many LRMs. Pad the left
11706 and right of each non-spacing marks. Insert invisible space
11707 between lower and upper characters to prevent composition.
11708
dbbc2e69
SM
117092012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
11710
11711 * minibuffer.el (minibuffer-complete): Don't get confused when the
11712 function is run twice via different commands (bug#10958).
11713 (complete-with-action): Fix docstring.
11714
292112ed
CY
117152012-03-12 Chong Yidong <cyd@gnu.org>
11716
5d1ac394
CY
11717 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
11718 (nxml-completion-at-point-function): New function.
11719 (nxml-mode): Use it.
11720 (nxml-bind-meta-tab-to-complete-flag): Default to t.
11721
292112ed
CY
11722 * emacs-lisp/package.el (package-unpack, package-unpack-single):
11723 Load generated autoloads file before byte compiling (Bug#10970).
11724 (package--make-autoloads-and-compile): New helper fun.
11725
4098f8f7
CS
117262012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
11727
11728 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
11729
8f754691
MA
117302012-03-11 Michael Albinus <michael.albinus@gmx.de>
11731
11732 * autorevert.el (auto-revert-handler): Ensure, that
11733 file-readable-p is applied only for local files or in
11734 auto-revert-tail-mode.
11735
e29ab36b
AS
117362012-03-11 Andreas Schwab <schwab@linux-m68k.org>
11737
dbbc2e69
SM
11738 * server.el (server-eval-at): Handle non-tcp connections.
11739 Decode result string.
ad0bf5b6 11740
e29ab36b
AS
11741 * server.el (server-msg-size): New constant.
11742 (server-reply-print): New function.
11743 (server-eval-and-print): Use it.
11744 (server-eval-at): Use server-quote-arg and server-unquote-arg.
11745 Handle -print-nonl.
11746
de5939ba
CS
117472012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
11748
11749 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
11750 (Bug#10987).
11751
0c93eabf
CY
117522012-03-11 Chong Yidong <cyd@gnu.org>
11753
397a688f
CY
11754 * simple.el (goto-line): Doc fix (Bug#9938).
11755
2cc775f9
CY
11756 * subr.el (save-window-excursion): Doc fix (Bug#9979).
11757
0c93eabf
CY
11758 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
11759 when finished (Bug#10963).
11760
c491fa41
MR
117612012-03-11 Martin Rudalics <rudalics@gmx.at>
11762
11763 * window.el (split-window-below): Fix bug in case where
11764 split-window-keep-point is nil (Bug#10971).
11765
300e8fa5
JL
117662012-03-11 Juri Linkov <juri@jurta.org>
11767
11768 * replace.el (replace-highlight): Set isearch-word to nil
11769 unconditionally. (Bug#10887)
11770
dbf6c5a1
EZ
117712012-03-10 Eli Zaretskii <eliz@gnu.org>
11772
11773 * net/mairix.el (mairix-replace-invalid-chars): Rename from
11774 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 11775 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
11776 (mairix-widget-create-query): Add usage information about mairix
11777 search forms: negating words, searching for substrings, etc.
11778
b9e501de
JP
117792012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
11780
11781 * international/fontset.el (font-encoding-alist): Add an entry for
11782 ksx1001 (Bug#5667).
11783
92795c91
RS
117842012-03-10 Richard Stallman <rms@gnu.org>
11785
1694e6c1
RS
11786 * mail/sendmail.el (mail-encode-header):
11787 Set rfc2047-encode-encoded-words.
11788
607e8555
RS
11789 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
11790
de3bc99a
RS
11791 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
11792 view buffer means not swapped.
11793 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
11794 (rmail-write-region-annotate): Error if real text has disappeared.
11795
92795c91
RS
11796 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
11797
699bd04e
CY
117982012-03-10 Chong Yidong <cyd@gnu.org>
11799
11800 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
11801 * emulation/cua-base.el (cua--init-keymaps):
11802 Add delete-forward-char to remappings (Bug#9666).
699bd04e 11803
570a1714
MR
118042012-03-10 Martin Rudalics <rudalics@gmx.at>
11805
dbbc2e69
SM
11806 * speedbar.el (speedbar-unhighlight-one-tag-line):
11807 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 11808
82dcf4e4
CY
118092012-03-10 Chong Yidong <cyd@gnu.org>
11810
7a2c7ca7
CY
11811 * minibuffer.el (completion-in-region, completion-help-at-point):
11812 Give the completion field overlay a high priority (Bug#6830).
11813
82dcf4e4
CY
11814 * dired.el (dired-goto-file): Recognize absolute file name
11815 listings (Bug#7126).
11816 (dired-goto-file-1): New helper function.
11817 (dired-toggle-read-only): Inhibit warnings.
11818
052e28ac
MA
118192012-03-09 Michael Albinus <michael.albinus@gmx.de>
11820
75f1671a 11821 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
11822 there are no properties.
11823
95d5e396
LL
118242012-03-09 Leo Liu <sdl.web@gmail.com>
11825
11826 * savehist.el (savehist-printable): Stricter check for string
11827 value (Bug#10937).
11828
3f018d6d
EZ
118292012-03-09 Eli Zaretskii <eliz@gnu.org>
11830
dbbc2e69
SM
11831 * mail/smtpmail.el (smtpmail-send-it):
11832 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
11833 valid mbox format.
11834
f7fd3d79
GM
118352012-03-09 Glenn Morris <rgm@gnu.org>
11836
11837 * files.el (dir-locals-find-file):
11838 Don't check result is regular, readable.
11839 (dir-locals-read-from-file): Demote errors.
11840
6ff6e72f
EZ
118412012-03-08 Eli Zaretskii <eliz@gnu.org>
11842
dbbc2e69
SM
11843 * international/quail.el (quail-insert-kbd-layout):
11844 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
11845 layout cell, to prevent their reordering by bidi display engine.
11846 For details, see the discussion in
11847 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
11848
9cec7834
AM
118492012-03-08 Alan Mackenzie <acm@muc.de>
11850
11851 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
11852 the starting position; make it extend the marked region when
11853 invoked repeatedly - all under appropriate circumstances.
11854 Fixes bugs #5525, #10906.
11855
9a40b8d4
GM
118562012-03-08 Glenn Morris <rgm@gnu.org>
11857
11858 * files.el (locate-dominating-file, dir-locals-find-file):
11859 Undo 2012-03-06 change.
11860
7a08ed35
EZ
118612012-03-07 Eli Zaretskii <eliz@gnu.org>
11862
dbbc2e69
SM
11863 * international/quail.el (quail-help):
11864 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
11865 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
11866 for the reason.
11867
5aca4f71 118682012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
11869
11870 Avoid superfluous registering of signals. (Bug#10807)
11871
11872 * notifications.el (notifications-on-action-object)
11873 (notifications-on-close-object): New defvars.
11874 (notifications-on-action-signal, notifications-on-closed-signal):
11875 Unregister the signal if not needed any longer.
11876 (notifications-notify): Register `notifications-action-signal' or
11877 `notifications-closed-signal', if :on-action or :on-close has been
11878 passed as argument.
11879
78e8b10a
CY
118802012-03-07 Chong Yidong <cyd@gnu.org>
11881
11882 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
11883 non-X platforms.
11884
69481eb8
GM
118852012-03-06 Glenn Morris <rgm@gnu.org>
11886
11887 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
11888 (x-disown-selection-internal, x-get-selection-internal):
11889 Doc fix (add arglist signatures). (Bug#10783)
11890
133b8e11
KS
118912012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
11892
11893 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
11894 Handle breakpoints with no "type".
11895
99a83064
GM
118962012-03-06 Glenn Morris <rgm@gnu.org>
11897
11898 * files.el (locate-dominating-file): Add optional predicate argument.
11899 (dir-locals-find-file): Make use of above change.
11900
17798e78
TTN
119012012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
11902
11903 * info.el (Info-insert-dir): Also try "dir.gz".
11904
eb182446
GM
119052012-03-06 Glenn Morris <rgm@gnu.org>
11906
8f2114ee
GM
11907 * files.el (dir-locals-find-file):
11908 Ignore non-readable or non-regular files. (Bug#10928)
11909
eb182446
GM
11910 * files.el (locate-dominating-file): Doc fix.
11911
24679323
AS
119122012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
11913
11914 * calendar/calendar.el (calendar-set-mode-line):
11915 `getenv' returns a string. (Bug#10951)
11916
01d972a9
LL
119172012-03-05 Leo Liu <sdl.web@gmail.com>
11918
109aa8a9
LL
11919 * simple.el (backward-delete-char-untabify): Constrain point to
11920 field (Bug#10939).
11921
01d972a9
LL
11922 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
11923
10607bea
CY
119242012-03-05 Chong Yidong <cyd@gnu.org>
11925
11926 * simple.el (count-words): If called from Lisp, return the word
11927 count, for symmetry with `count-lines'. Arglist changed.
11928 (count-words--message): Args changed. Consolidate counting code
11929 from count-words and count-words-region.
11930 (count-words-region): Caller changed.
11931 (count-lines-region): Make it an obsolete alias.
11932
5dd11cfe
TH
119332012-03-04 Tassilo Horn <tassilo@member.fsf.org>
11934
11935 * saveplace.el (save-place-to-alist)
11936 (save-place-ignore-files-regexp): Allow value nil to disable this
11937 feature.
11938
c349f4e6
CY
119392012-03-04 Chong Yidong <cyd@gnu.org>
11940
11941 * faces.el (face-spec-reset-face): For the default face, reset the
11942 attributes to default values (Bug#10748).
11943
e627be4c
LMI
119442012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
11945
11946 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
11947 previous patch: Check `message-send-mail-function', and not the
11948 default function (bug#10897).
11949
ebeabff4
MA
119502012-03-04 Michael Albinus <michael.albinus@gmx.de>
11951
a41a6cf4
MA
11952 * notifications.el (notifications-on-action-signal)
11953 (notifications-on-closed-signal): Check for unique service name of
11954 incoming event. Fix error in removing entry.
ebeabff4 11955 (top): Register for signals with wildcard service name.
a41a6cf4 11956 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 11957
c1ca42b4
CY
119582012-03-04 Chong Yidong <cyd@gnu.org>
11959
dc9924b8 11960 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 11961
ea16568d
GM
119622012-03-04 Glenn Morris <rgm@gnu.org>
11963
11964 * abbrev.el (copy-abbrev-table, abbrev-table-p)
11965 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
11966 (expand-abbrev, define-abbrev-table): Doc fixes.
11967
fbae4637
LMI
119682012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
11969
11970 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
11971 `message-default-send-mail-function' and not `send-mail-function'
11972 when doing the prompting for `sendmail-query-once' before sending
11973 in Message buffers (bug#10897).
11974
a1e7225c
LMI
11975 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
11976 This is inconsistent with all the other stream functions, which leave
11977 the setting up to the higher levels (if so wanted) (bug#10931).
11978
56d093a9
AM
119792012-03-02 Alan Mackenzie <acm@muc.de>
11980
11981 Depessimize the handling of very large macros.
11982
11983 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
11984 (c-macro-cache-syntactic): New variables to implement a one
11985 element macro cache.
11986 (c-invalidate-macro-cache): New function.
11987 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
11988 Adapt to use the new cache.
11989 (c-state-safe-place): Use better the cache of safe positions.
11990 (c-state-semi-nonlit-pos-cache)
11991 (c-state-semi-nonlit-pos-cache-limit):
11992 New variables for...
11993 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
11994 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
11995 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
11996 Use c-state-semi-safe-place.
56d093a9 11997
dbbc2e69
SM
11998 * progmodes/cc-langs.el (c-get-state-before-change-functions):
11999 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 12000
817e5c3d
MA
120012012-03-02 Michael Albinus <michael.albinus@gmx.de>
12002
dbbc2e69
SM
12003 * jka-compr.el (jka-compr-call-process):
12004 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
12005 not remote.
12006
a032a702
MA
120072012-03-01 Michael Albinus <michael.albinus@gmx.de>
12008
12009 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
12010 access of FILE2, if FILE1 does not exist.
12011
99a54f21
MA
12012 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
12013 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
12014
12015 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
12016 Add "PAGER=" to `process-environment'.
12017
f6561e1f
MM
120182012-03-01 Michael R. Mauger <mmaug@yahoo.com>
12019
12020 * progmodes/sql.el: Bug fix
12021 (sql-get-login-ext): Save login values in globals.
12022 (sql-get-login): Use new version of `sql-get-login-ext'.
12023 (sql-interactive-mode): Set global `sql-connection' to nil.
12024 (sql-connect): Set global values for connection.
12025 (sql-product-interactive): Save global values as buffer local.
12026
2d44d9cc
LL
120272012-02-29 Leo Liu <sdl.web@gmail.com>
12028
12029 * abbrev.el (define-abbrevs): Reset sys to nil.
12030
96b49301 120312012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12032
bf7f9bc5
JB
12033 * files.el (file-equal-p): Rename from `files-equal-p'.
12034 Return nil when one or both files don't exist.
96b49301 12035 (file-subdir-of-p): Now only top directory must exists,
12036 return nil if it doesn't.
bf7f9bc5
JB
12037 (copy-directory): No need to test with `file-subdir-of-p' after
12038 creating dir.
12039 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
12040 to `file-equal-p'.
96b49301 12041
44e97401
GM
120422012-02-28 Glenn Morris <rgm@gnu.org>
12043
12044 * shell.el (shell-mode):
12045 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
12046 * play/landmark.el (landmark-font-lock-face-O):
12047 * play/handwrite.el (handwrite):
12048 * play/gomoku.el (gomoku-O):
12049 * net/browse-url.el (browse-url-browser-display):
12050 * international/mule.el (define-charset):
12051 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
12052 * filesets.el (filesets-find-file-delay):
12053 * eshell/em-xtra.el (eshell-xtra):
12054 * eshell/em-unix.el (eshell-grep):
12055 * emulation/viper.el (viper-mode):
12056 * emacs-lisp/regexp-opt.el (regexp-opt-group):
12057 * emacs-lisp/easymenu.el (easy-menu-define):
12058 * calendar/timeclock.el (timeclock-use-display-time):
12059 * bs.el (bs-mode):
12060 * bookmark.el (bookmark-save-flag):
12061 Doc fix (standardize possessive apostrophe usage).
12062
c98c6276
CY
120632012-02-27 Chong Yidong <cyd@gnu.org>
12064
bf7f9bc5
JB
12065 * emulation/viper-cmd.el (viper-intercept-ESC-key):
12066 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 12067
c98c6276
CY
12068 * font-lock.el (font-lock-specified-p): Rename from
12069 font-lock-spec-present. Callers changed.
12070
9c62cd04 120712012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 12072
bf7f9bc5
JB
12073 * emacs-lisp/package.el (package-compute-transaction):
12074 Handle holding a package version to t in package-load-list.
8ac9e529 12075
530739c9
MA
120762012-02-26 Michael Albinus <michael.albinus@gmx.de>
12077
12078 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
12079 (tramp-get-inode, tramp-get-device): Use cached values.
12080
487915d7
AM
120812012-02-26 Alan Mackenzie <acm@muc.de>
12082
12083 Check there is a font-lock specification before doing initial
12084 fontification.
12085
12086 * font-core.el (font-lock-mode): Move the conditional from
12087 :after-hook to font-lock-initial-fontify.
12088 (font-lock-default-function): Move the check for a specification
12089 to font-lock-spec-present.
12090
dc9924b8 12091 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
12092 (font-lock-spec-present): New function.
12093
4fd96557
JB
120942012-02-26 Jim Blandy <jimb@red-bean.com>
12095
12096 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
12097 (gdb-send): Apply it to the operand of the '-interpreter-exec
12098 console' command, so that we can pass arguments with (say) quotes
12099 in them. Store exact string sent in gdb-debug-log (Bug#10765).
12100
9a4888c0
CY
121012012-02-26 Chong Yidong <cyd@gnu.org>
12102
07498861
CY
12103 * help-fns.el (describe-function-1): Clarify description of
12104 remapping (Bug#10844).
12105
9a4888c0
CY
12106 * files.el (files-equal-p): Doc fix.
12107 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
12108 and quit the loop once a mismatch is found.
12109
ea8fb88d
JB
121102012-02-25 Juanma Barranquero <lekktu@gmail.com>
12111
12112 * bs.el (bs--show-with-configuration): Don't throw an error
12113 if the window cannot be split; otherwise, subsequent calls to
12114 bs-show fail, restoring a stale window config. (Bug#10882)
12115
525795c1
JD
121162012-02-25 Jan Djärv <jan.h.d@swipnet.se>
12117
12118 * term/ns-win.el (global-map): Bind ns-drag-file to
12119 ns-find-file (Bug#5855, Bug#10050).
12120
f008086f
AS
121212012-02-25 Andreas Schwab <schwab@linux-m68k.org>
12122
12123 * calendar/parse-time.el (parse-time-string): Allow extractor to
12124 return nil.
12125
a3fcfa99
MA
121262012-02-25 Michael Albinus <michael.albinus@gmx.de>
12127
91027d08
JB
12128 * net/tramp.el (tramp-file-name-for-operation):
12129 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
12130
12131 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
12132 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
12133 Add COPY-CONTENTS argument.
a3fcfa99 12134
67b0de11
CY
121352012-02-25 Chong Yidong <cyd@gnu.org>
12136
12137 Add custom groups for VC backends, for consistency with vc-bzr.
12138
12139 * vc/vc-arch.el (vc-arch):
12140 * vc/vc-cvs.el (vc-cvs):
12141 * vc/vc-git.el (vc-git):
12142 * vc/vc-hg.el (vc-hg):
12143 * vc/vc-mtn.el (vc-mtn):
12144 * vc/vc-rcs.el (vc-rcs):
12145 * vc/vc-sccs.el (vc-sccs):
12146 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
12147 All relevant defcustoms reassigned.
12148
3c9dfce6
CY
121492012-02-25 Chong Yidong <cyd@gnu.org>
12150
1339bf43
CY
12151 * newcomment.el (comment-styles): Add autoload (Bug#10868).
12152
3c9dfce6
CY
12153 * term/x-win.el (x-initialize-window-system): Reduce default for
12154 x-selection-timeout to 5 seconds (Bug#8869).
12155
25b2e303 121562012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12157
ec70a47d
GM
12158 * files.el (files-equal-p, file-subdir-of-p): New functions.
12159 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 12160 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
12161 * dired-aux.el (dired-copy-file-recursive): Same.
12162 (dired-create-files): Modify destination when source is equal to
12163 dest when copying files.
53a46cd0 12164 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 12165
914260cd
MA
121662012-02-24 Michael Albinus <michael.albinus@gmx.de>
12167
12168 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
12169 (Bug#10874)
12170
2cb228f7
AM
121712012-02-23 Alan Mackenzie <acm@muc.de>
12172
12173 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
12174 parameter "after-hook:" to allow the expansion to run code after
12175 the execution of the mode hooks.
12176
12177 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 12178 from font-lock-mode-internal.
2cb228f7 12179
91027d08 12180 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
12181 :after-hook.
12182
8f0fde21
SM
121832012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
12184
3e88618b
SM
12185 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
12186 (completion--cache-all-sorted-completions): New function.
12187 (completion-all-sorted-completions): Use it.
12188 (completion--do-completion, minibuffer-force-complete):
12189 Use it to re-instate the flush hook.
12190
8f0fde21
SM
12191 * icomplete.el (icomplete-completions): Replace last fix with a better
12192 one (bug#10850).
12193
8e911f6f
DG
121942012-02-23 Dmitry Gutov <dgutov@yandex.ru>
12195
12196 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
12197 when it might call us back infinitely (bug#10797).
12198
49fe4321
GM
121992012-02-23 Glenn Morris <rgm@gnu.org>
12200
12201 * minibuffer.el (completion-category-overrides): Doc fix.
12202
b291b572
SM
122032012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
12204
12205 * minibuffer.el (completion-table-with-context): Fix inf-loop.
12206 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
12207
31a9ef2e
GM
122082012-02-23 Glenn Morris <rgm@gnu.org>
12209
5e6e6794 12210 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
12211 (authors-obsolete-files-regexps, authors-ignored-files)
12212 (authors-ambiguous-files, authors-renamed-files-alist):
12213 Add more entries.
12214
0bd1e074
JL
122152012-02-23 Juri Linkov <juri@jurta.org>
12216
12217 * isearch.el (isearch-occur): Sync interactive spec with occur's
12218 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
12219
b617673c
JL
12220 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
12221
19e9789e
JL
122222012-02-22 Juri Linkov <juri@jurta.org>
12223
12224 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
12225 (ucs-insert): Doc fix. Check for hex digits in the string.
12226 Don't display `nil' in the error message. (Bug#10857)
12227
f41ce09d
AM
122282012-02-22 Alan Mackenzie <acm@muc.de>
12229
7a71b18d 12230 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 12231
ac2eceee
GM
122322012-02-22 Glenn Morris <rgm@gnu.org>
12233
12234 * ffap.el (ffap-c-path):
12235 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
12236
abd1f678
CY
122372012-02-22 Chong Yidong <cyd@gnu.org>
12238
12239 * custom.el (load-theme): Doc fix.
12240
f25aef2e
GM
122412012-02-22 Glenn Morris <rgm@gnu.org>
12242
12243 * dired-x.el (dired-guess-shell-alist-default):
12244 Remove escape sequences from nroff output. (Bug#172)
12245
5f8dc2ca
GM
122462012-02-21 Glenn Morris <rgm@gnu.org>
12247
6ff86ec4
GM
12248 * vc/emerge.el (emerge-defvar-local):
12249 Set `permanent-local' property rather than unused `preserved'.
12250
be3223a3 12251 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
12252 (picture-mode-map): Use it. (Bug#10860)
12253 (picture-mode): Doc fix.
12254
3fe58f4f
JB
122552012-02-21 Juanma Barranquero <lekktu@gmail.com>
12256
12257 * newcomment.el (uncomment-region-default): Remove unused binding.
12258
f9a998c3
GM
122592012-02-21 Glenn Morris <rgm@gnu.org>
12260
12261 * textmodes/picture.el (picture-motion, picture-motion-reverse)
12262 (picture-self-insert, picture-tab-chars): Doc fix.
12263 (picture-mode-map): Fix C-a, C-e.
12264
c6029348
GM
122652012-02-20 Glenn Morris <rgm@gnu.org>
12266
12267 * emacs-lisp/authors.el (authors-aliases): Add another entry.
12268
ab1ce9d7
LL
122692012-02-20 Leo Liu <sdl.web@gmail.com>
12270
12271 * icomplete.el (icomplete-completions): Check FROM arg before
12272 passing to substring (Bug#10850).
12273
0fd40f89
CY
122742012-02-19 Chong Yidong <cyd@gnu.org>
12275
12276 * comint.el: Require ansi-color.
12277 (comint-output-filter-functions): Add ansi-color-process-output.
12278
12279 * ansi-color.el: Don't set comint-output-filter-functions; it is
12280 now in the initial value defined in comint.el.
12281 (ansi-color-apply-face-function): New variable.
12282 (ansi-color-apply-on-region): Use it.
12283 (ansi-color-apply-overlay-face): New function.
12284
12285 * shell.el (shell): No need to require ansi-color.
12286 (shell-mode): Use ansi-color-apply-face-function to highlight
12287 color escapes using font-lock-face property (Bug#10835).
12288
20af2394
CY
122892012-02-19 Chong Yidong <cyd@gnu.org>
12290
12291 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
12292 mode-line formats (Bug#10839).
12293
e23a3fbe
GM
122942012-02-18 Glenn Morris <rgm@gnu.org>
12295
b474519e
GM
12296 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
12297
12298 * mail/undigest.el (unforward-rmail-message): Doc fix.
12299
e23a3fbe
GM
12300 * saveplace.el (save-place-ignore-files-regexp): Add :version.
12301
57939ff4
EZ
123022012-02-18 Eli Zaretskii <eliz@gnu.org>
12303
12304 * international/characters.el (script-list): Sync with the latest
12305 Unicode Character Database.
12306
0c23686e
AS
123072012-02-18 Andreas Schwab <schwab@linux-m68k.org>
12308
12309 * international/titdic-cnv.el: Remove duplicate coding tag.
12310 * language/cham.el: Likewise.
12311 * language/tai-viet.el: Likewise.
12312
6818b449
GM
123132012-02-18 Glenn Morris <rgm@gnu.org>
12314
12315 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
12316 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
12317 (calendar-bahai-all-holidays-flag, calendar-other-dates):
12318 * calendar/diary-lib.el (diary-abbreviated-year-flag):
12319 * calendar/holidays.el (holiday-bahai-holidays)
12320 (calendar-holidays, list-holidays):
12321 Use utf-8 Bahá'í in doc-strings, menus, etc.
12322
0311a3fc
TH
123232012-02-17 Tassilo Horn <tassilo@member.fsf.org>
12324
12325 * saveplace.el (save-place-ignore-files-regexp): New variable
12326 allowing for excluding files from saving their location of point.
12327 The default value matches the temporary commit message editing
12328 files from Git, SVN, Bazaar, and Mercurial.
12329 (save-place-to-alist): Use it.
12330
d209e2fb 123312012-02-17 Lawrence Mitchell <wence@gmx.li>
f1a71c6e 12332 Stefan Monnier <monnier@iro.umontreal.ca>
eb864a71
LM
12333
12334 * newcomment.el (uncomment-region-default): Don't leave extra space
12335 when an arg is provided (bug#8150).
12336
ee0ce425
TZ
123372012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
12338
eb864a71 12339 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 12340
95ddf442
GM
123412012-02-17 Glenn Morris <rgm@gnu.org>
12342
12343 * net/socks.el: Require network-stream. (Bug#10599)
12344
48dd1e39 123452012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
12346
12347 * international/charprop.el:
12348 * international/uni-name.el:
12349 * international/uni-old-name.el:
12350 * international/uni-comment.el: Regenerate.
12351
d68cd087
GM
123522012-02-16 Glenn Morris <rgm@gnu.org>
12353
12354 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
12355 Interactively in calendar buffer, give an error if not on a date.
12356
13932042
GM
123572012-02-15 Glenn Morris <rgm@gnu.org>
12358
12359 * shell.el (shell-delimiter-argument-list):
12360 Revert 2011-02-17 change. (Bug#8027)
12361
c3a70e2b
CY
123622012-02-15 Chong Yidong <cyd@gnu.org>
12363
60236b0d
CY
12364 * minibuffer.el (completion-at-point-functions): Doc fix.
12365
c3a70e2b
CY
12366 * custom.el (defcustom): Doc fix; note use of defvar.
12367
9f26dc24
GM
123682012-02-15 Glenn Morris <rgm@gnu.org>
12369
12370 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
12371 Doc fixes.
12372
6546b134
GM
123732012-02-14 Glenn Morris <rgm@gnu.org>
12374
12375 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
12376
d29b2b4c
LI
123772012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
12378
12379 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
12380 way the ports list is computed.
835bdcba
LI
12381 (smtpmail-query-smtp-server): Prompt the user for a port number if
12382 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 12383
08dcdbc9
TZ
123842012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
12385
12386 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
12387
2605051a
GM
123882012-02-13 Glenn Morris <rgm@gnu.org>
12389
12390 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
12391
7ee99f32
TZ
123922012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
12393
12394 * net/gnutls.el (gnutls-trustfiles): New variable.
12395 (gnutls-negotiate): Use it.
12396
5f0af64f
LI
123972012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
12398
12399 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
12400 does its stuff if Gnus is running.
12401
c14fcc95
AM
124022012-02-13 Alan Mackenzie <acm@muc.de>
12403
12404 Fix a loop in c-set-fl-decl-start.
12405
7a71b18d 12406 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
12407 c-backward-syntactic-ws actually moves backwards.
12408
142b4d90
LL
124092012-02-13 Leo Liu <sdl.web@gmail.com>
12410
12411 * net/rcirc.el (rcirc-markup-attributes): Move point to the
12412 beginning so that all \C-o chars are removed.
12413
fa9958a6
TZ
124142012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
12415
dc9924b8 12416 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 12417
0bc5886a
AM
124182012-02-12 Alan Mackenzie <acm@muc.de>
12419
12420 Fix infinite loop with long macros.
4d6769e1 12421 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 12422
d4bd55e7
CY
124232012-02-12 Chong Yidong <cyd@gnu.org>
12424
12425 * window.el (display-buffer): Doc fix (Bug#10785).
12426
66f3fe22
GM
124272012-02-12 Glenn Morris <rgm@gnu.org>
12428
bd7da63e
GM
12429 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
12430 (x-disown-selection-internal, x-get-selection-internal):
12431 Sync docs with the xselect.c versions.
12432
66f3fe22
GM
12433 * allout-widgets.el: Add missing license notice.
12434
3e0d2fa7
GM
124352012-02-11 Glenn Morris <rgm@gnu.org>
12436
cfecdf09
GM
12437 * select.el (x-get-selection-internal, x-own-selection-internal)
12438 (x-disown-selection-internal):
12439 * x-dnd.el (x-get-selection-internal): Update declarations.
12440
6d216d7f
GM
12441 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
12442
2bed3f04
GM
12443 * window.el (window-sides-slots):
12444 * tool-bar.el (tool-bar-position):
12445 * term/xterm.el (xterm-extra-capabilities):
12446 * ses.el (ses-self-reference-early-detection):
12447 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
12448 (verilog-auto-wire-type)
12449 (verilog-auto-delete-trailing-whitespace)
12450 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
12451 (verilog-auto-tieoff-declaration):
12452 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
12453 (sql-oracle-statement-starters, sql-oracle-scan-on):
12454 * progmodes/prolog.el (prolog-align-comments-flag)
12455 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
12456 (prolog-left-indent-regexp, prolog-paren-indent-p)
12457 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
12458 (prolog-types, prolog-mode-specificators)
12459 (prolog-determinism-specificators, prolog-directives)
12460 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
12461 (prolog-electric-dot-flag)
12462 (prolog-electric-dot-full-predicate-template)
12463 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
12464 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
12465 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
12466 (prolog-program-switches, prolog-prompt-regexp)
12467 (prolog-debug-on-string, prolog-debug-off-string)
12468 (prolog-trace-on-string, prolog-trace-off-string)
12469 (prolog-zip-on-string, prolog-zip-off-string)
12470 (prolog-use-standard-consult-compile-method-flag)
12471 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
12472 (prolog-imenu-max-lines, prolog-info-predicate-index)
12473 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
12474 (prolog-char-quote-workaround):
12475 * progmodes/cc-vars.el (c-defun-tactic):
12476 * net/tramp.el (tramp-encoding-command-interactive)
12477 (tramp-local-end-of-line):
12478 * net/soap-client.el (soap-client):
12479 * net/netrc.el (netrc-file):
12480 * net/gnutls.el (gnutls):
12481 * minibuffer.el (completion-category-overrides)
12482 (completion-cycle-threshold)
12483 (completion-pcm-complete-word-inserts-delimiters):
12484 * man.el (Man-name-local-regexp):
12485 * mail/feedmail.el (feedmail-display-full-frame):
12486 * international/characters.el (glyphless-char-display-control):
12487 * eshell/em-ls.el (eshell-ls-date-format):
12488 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
12489 (lisp-lambda-list-keyword-parameter-indentation)
12490 (lisp-lambda-list-keyword-parameter-alignment):
12491 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
12492 * dired-x.el (dired-omit-verbose):
12493 * cus-theme.el (custom-theme-allow-multiple-selections):
12494 * calc/calc.el (calc-highlight-selections-with-faces)
12495 (calc-lu-field-reference, calc-lu-power-reference)
12496 (calc-note-threshold):
12497 * battery.el (battery-mode-line-limit):
12498 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
12499 (archive-7z-update):
12500 * allout.el (allout-prefixed-keybindings)
12501 (allout-unprefixed-keybindings)
12502 (allout-inhibit-auto-fill-on-headline)
12503 (allout-flattened-numbering-abbreviation):
12504 * allout-widgets.el (allout-widgets-auto-activation)
12505 (allout-widgets-icons-dark-subdir)
12506 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
12507 (allout-widgets-theme-dark-background)
12508 (allout-widgets-theme-light-background)
12509 (allout-widgets-item-image-properties-emacs)
12510 (allout-widgets-item-image-properties-xemacs)
12511 (allout-widgets-run-unit-tests-on-load)
12512 (allout-widgets-time-decoration-activity)
12513 (allout-widgets-hook-error-post-time)
12514 (allout-widgets-track-decoration):
12515 Add missing :version tags to new defcustoms and defgroups.
12516
5fec1b8e
GM
12517 * progmodes/sql.el (sql-ansi-statement-starters)
12518 (sql-oracle-statement-starters): Add custom type.
12519
3e0d2fa7
GM
12520 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
12521 (prolog-system-version): Give it a type.
12522
90b671e2
EZ
125232012-02-11 Eli Zaretskii <eliz@gnu.org>
12524
12525 * term/pc-win.el (x-select-text, x-selection-owner-p)
12526 (x-own-selection-internal, x-disown-selection-internal)
12527 (x-get-selection-internal): Sync doc strings and argument lists
12528 with xselect.c, common-win.el and x-win.el. (Bug#10783)
12529
5eac0c02
LL
125302012-02-11 Leo Liu <sdl.web@gmail.com>
12531
12532 * progmodes/python.el (python-end-of-statement): Fix infinite
12533 loop. (Bug#10788)
12534
f82cb659
GM
125352012-02-10 Glenn Morris <rgm@gnu.org>
12536
12537 * international/mule-cmds.el (unify-8859-on-encoding-mode)
12538 (unify-8859-on-decoding-mode): Properly mark as obsolete.
12539
cc26d239
LI
125402012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
12541
12542 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
12543 about SMTP before checking the From header.
12544
91027d08 12545 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
12546 into own function for reuse by emacsbug.el.
12547
1be3ca5a
LL
125482012-02-10 Leo Liu <sdl.web@gmail.com>
12549
12550 * subr.el (condition-case-unless-debug): Rename from
12551 condition-case-no-debug. All callers changed.
12552 (with-demoted-errors): Fix caller.
12553
12554 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
12555 * nxml/rng-valid.el (rng-do-some-validation):
12556 * emacs-lisp/package.el (package-refresh-contents)
12557 (package-menu-execute):
12558 * desktop.el (desktop-create-buffer):
91027d08 12559 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 12560
b011fbfe
GM
125612012-02-10 Glenn Morris <rgm@gnu.org>
12562
b2096d72
GM
12563 * textmodes/bibtex.el:
12564 Add missing :version tags for new/changed defcustoms.
12565
b011fbfe
GM
12566 * files.el (remote-file-name-inhibit-cache): Doc fixes.
12567
4c7e65bf
LI
125682012-02-09 Lars Ingebrigtsen <larsi@rusty>
12569
12570 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
12571 (smtpmail-via-smtp): Use it, or fall back on the From address.
12572 (smtpmail-send-it): Ditto.
12573
f3934f6f
SM
125742012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
12575
12576 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
12577 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
12578 (byte-compile-tmp-var): New const.
12579 (byte-compile-defvar): Use it to minimize .elc size.
12580 Just use `defvar' rather than simulate it (bug#10761).
12581
a075a2c5
GM
125822012-02-09 Glenn Morris <rgm@gnu.org>
12583
cf3aa21b
GM
12584 * files.el (rename-uniquely): Doc fix. (Bug#3806)
12585
354998cd
GM
12586 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
12587 Add :version tags.
12588
dc9924b8
SM
12589 * progmodes/compile.el (compilation-error-screen-columns)
12590 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 12591
dab3703d
GM
12592 * vc/log-view.el (log-view-toggle-entry-display):
12593 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
12594
3f88cd72
GM
12595 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
12596 (report-emacs-bug-can-use-xdg-email):
12597 (report-emacs-bug-insert-to-mailer): Doc fixes.
12598 (report-emacs-bug): Message fix.
12599
d95b247d
GM
12600 * net/browse-url.el (browse-url-can-use-xdg-open)
12601 (browse-url-xdg-open): Doc fixes.
12602
a075a2c5
GM
12603 * electric.el (electric-indent-mode, electric-pair-mode)
12604 (electric-layout-rules, electric-layout-mode): Doc fixes.
12605 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
12606
ffb6157e
MR
126072012-02-08 Martin Rudalics <rudalics@gmx.at>
12608
12609 * server.el (server-unselect-display): Don't inadvertently kill
12610 the current buffer. (Bug#10729)
12611
e1ac4066
GM
126122012-02-08 Glenn Morris <rgm@gnu.org>
12613
34e8a2da
GM
12614 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
12615 (sql-list-table): Doc fixes.
12616
b4ac6e8c
GM
12617 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
12618 Comment out (does nothing).
12619
e1ac4066
GM
12620 * completion.el (dynamic-completion-mode):
12621 * dirtrack.el (dirtrack-debug-mode):
12622 * electric.el (electric-layout-mode):
12623 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
12624 * face-remap.el (text-scale-mode, buffer-face-mode):
12625 * iimage.el (iimage-mode):
12626 * image-mode.el (image-transform-mode):
12627 * minibuffer.el (completion-in-region-mode):
12628 * scroll-lock.el (scroll-lock-mode):
12629 * simple.el (next-error-follow-minor-mode):
12630 * tar-mode.el (tar-subfile-mode):
12631 * tooltip.el (tooltip-mode):
12632 * vcursor.el (vcursor-use-vcursor-map):
12633 * wid-browse.el (widget-minor-mode):
12634 * emulation/tpu-edt.el (tpu-edt-mode):
12635 * emulation/tpu-extras.el (tpu-cursor-free-mode):
12636 * international/iso-ascii.el (iso-ascii-mode):
12637 * language/thai-util.el (thai-word-mode):
12638 * mail/supercite.el (sc-minor-mode):
12639 * net/goto-addr.el (goto-address-mode):
12640 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
12641 * progmodes/cwarn.el (cwarn-mode):
12642 * progmodes/flymake.el (flymake-mode):
12643 * progmodes/glasses.el (glasses-mode):
12644 * progmodes/hideshow.el (hs-minor-mode):
12645 * progmodes/pascal.el (pascal-outline-mode):
12646 * textmodes/enriched.el (enriched-mode):
12647 * vc/smerge-mode.el (smerge-mode):
12648 Doc fixes (minor mode argument).
12649
5e0d957f
EZ
126502012-02-07 Eli Zaretskii <eliz@gnu.org>
12651
12652 * ls-lisp.el (ls-lisp-sanitize): New function.
12653 (ls-lisp-insert-directory): Use it to fix or remove any elements
12654 in file-alist with missing attributes. (Bug#4673)
12655
98d7371e
AM
126562012-02-07 Alan Mackenzie <acm@muc.de>
12657
12658 Fix spurious recognition of c-in-knr-argdecl.
12659
12660 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
12661 putative K&R region.
12662
667ced3a
AM
126632012-02-07 Alan Mackenzie <acm@muc.de>
12664
eb864a71
LM
12665 * progmodes/cc-engine.el (c-forward-objc-directive):
12666 Prevent looping in "#pragma mark @implementation".
667ced3a 12667
5b77774d
MA
126682012-02-07 Michael Albinus <michael.albinus@gmx.de>
12669
12670 * notifications.el (notifications-on-closed-signal): Make `reason'
12671 optional. (Bug#10744)
12672
af008560
GM
126732012-02-07 Glenn Morris <rgm@gnu.org>
12674
60d47423
GM
12675 * emacs-lisp/easy-mmode.el (define-minor-mode):
12676 Doc fixes for the macro and the mode it defines.
12677
dd605cc4
GM
12678 * image.el (imagemagick-types-inhibit): Doc fix.
12679
af008560
GM
12680 * cus-start.el (imagemagick-render-type): Add it.
12681
5cc59a37
LI
126822012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
12683
4d6769e1
JB
12684 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
12685 Set the default at load time, too, so that `font-lock-fontify-buffer'
12686 can be called without setting up the entire mode first. This fixes
12687 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 12688
9a6dd747
CY
126892012-02-06 Chong Yidong <cyd@gnu.org>
12690
2d16b285
CY
12691 * simple.el (list-processes--refresh): Delete exited processes
12692 (Bug#8094).
12693
171e9b6e
CY
12694 * comint.el (comint-next-prompt): next-single-char-property-change
12695 and prev-single-char-property-change never return nil (Bug#8657).
12696
9a6dd747
CY
12697 * custom.el (defcustom): Doc fix (Bug#9711).
12698
aa4589a7
CY
126992012-02-05 Chong Yidong <cyd@gnu.org>
12700
5c2a252f
CY
12701 * cus-edit.el (custom-variable-reset-backup): Quote the value
12702 before storing it in the customized-value property (Bug#6712).
4aab9006 12703 (custom-display): Add a customization type tag.
983b9602 12704 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 12705
aa4589a7
CY
12706 * wid-edit.el (widget-field-value-get): New optional arg to
12707 suppress trailing whitespace truncation.
12708 (character): Use it (Bug#2689).
12709
1ff980ae
AS
127102012-02-05 Andreas Schwab <schwab@linux-m68k.org>
12711
12712 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
12713 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
12714
03988c98
CY
127152012-02-05 Chong Yidong <cyd@gnu.org>
12716
eeb6cc88
CY
12717 * cus-edit.el (custom-variable-value-create): For mismatched
12718 types, show the current value (Bug#7600).
12719
03988c98
CY
12720 * custom.el (defcustom): Doc fix.
12721
f8cdeef0
GM
127222012-02-05 Glenn Morris <rgm@gnu.org>
12723
12724 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
12725
0696d255
JB
127262012-02-05 Juanma Barranquero <lekktu@gmail.com>
12727
12728 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
12729 (pp-buffer): Use `ignore-errors', `looking-at-p'.
12730 (pp-last-sexp): Use `looking-at-p'.
12731
34c99998
GM
127322012-02-04 Glenn Morris <rgm@gnu.org>
12733
8f05da42
GM
12734 * files.el (revert-buffer):
12735 Doc fix (mention revert-buffer-in-progress-p).
12736
f160676e
GM
12737 * emacs-lisp/ert-x.el (ert-simulate-command):
12738 Check deferred-action-list (which is obsolete) is bound.
12739
c7291ad9
GM
12740 * subr.el (with-wrapper-hook): Doc fixes.
12741
34c99998
GM
12742 * simple.el (filter-buffer-substring-functions)
12743 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
12744
6283a7d3
LL
127452012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
12746
12747 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
12748 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
12749
e96e3013
LL
127502012-02-04 Leo Liu <sdl.web@gmail.com>
12751
12752 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
12753
8ded50f2
GM
127542012-02-04 Glenn Morris <rgm@gnu.org>
12755
82ff1d13
GM
12756 * image.el (image-extension-data): Add obsolete alias.
12757
987a0a16
GM
12758 * isearch.el (isearch-update): Doc fix.
12759
ea32ef46
GM
12760 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
12761
8ded50f2
GM
12762 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
12763
eea14f31
GM
127642012-02-03 Glenn Morris <rgm@gnu.org>
12765
12766 * image.el (image-animated-p): Doc fix. Use image-animated-types.
12767 (image-animate-timeout): Doc fix.
12768
12769 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
12770
12f381b7
GM
127712012-02-02 Glenn Morris <rgm@gnu.org>
12772
953cebf5
GM
12773 * server.el (server-auth-dir): Doc fix.
12774 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
12775
12f381b7
GM
12776 * subr.el (run-mode-hooks): Doc fix.
12777
953a8c3b
JL
127782012-02-02 Juri Linkov <juri@jurta.org>
12779
12780 * image-mode.el (image-toggle-display-image): Remove tautological
12781 `major-mode' from the `derived-mode-p' test.
12782
c5d3843c
KH
127832012-02-02 Kenichi Handa <handa@m17n.org>
12784
9f6e692e 12785 * composite.el (compose-region): Cancel previous change.
c5d3843c 12786
159462d4 127872012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
12788
12789 * composite.el (compose-region, compose-string): Signal error for
12790 a null string component (Bug#6988).
12791
9f562668
CY
127922012-02-01 Chong Yidong <cyd@gnu.org>
12793
e2cef717
CY
12794 * view.el (view-buffer-other-window, view-buffer-other-frame):
12795 Handle special modes like view-buffer (Bug#10650).
12796 (view-buffer): Simplify.
12797
9f562668
CY
12798 * frame.el (set-frame-font): Tweak meaning of third argument.
12799
9f6e692e
JB
12800 * dynamic-setting.el (font-setting-change-default-font):
12801 Use set-frame-font (Bug#9982).
9f562668 12802
781acb9f
GM
128032012-02-01 Glenn Morris <rgm@gnu.org>
12804
6035be52
GM
12805 * progmodes/compile.el (compilation-internal-error-properties):
12806 Respect compilation-first-column in the "*compilation*" buffer.
12807
781acb9f
GM
12808 * emacs-lisp/easy-mmode.el (define-minor-mode):
12809 Relax :variable's test for a named function.
12810
abbceb00
AM
128112012-01-31 Alan Mackenzie <acm@muc.de>
12812
12813 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
12814 off by one error.
12815
fce3fdeb
CY
128162012-01-31 Chong Yidong <cyd@gnu.org>
12817
12818 * frame.el (set-frame-font): New arg ALL-FRAMES.
12819
12820 * menu-bar.el (menu-set-font): Use set-frame-font.
12821
12822 * faces.el (face-spec-reset-face): Don't apply unspecified
12823 attribute values to the default face.
12824
47893581
JB
128252012-01-31 Juanma Barranquero <lekktu@gmail.com>
12826
12827 * progmodes/cwarn.el (cwarn): Remove dead link.
12828 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
12829 Remove * from defcustom docstrings.
12830 (turn-on-cwarn-mode): Make obsolete.
12831 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
12832 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
12833
e58e988a
GM
128342012-01-31 Glenn Morris <rgm@gnu.org>
12835
60dc2671 12836 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 12837 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 12838 Allow named functions to be used as the cdr of :variable.
e58e988a 12839
7a3f511d
GM
128402012-01-30 Glenn Morris <rgm@gnu.org>
12841
12842 * emacs-lisp/authors.el (authors-fixed-entries):
12843 Remove reference to deleted file rnewspost.el.
12844
cb882333
JB
128452012-01-29 Juanma Barranquero <lekktu@gmail.com>
12846
12847 * window.el (window-with-parameter): Remove unused variable `windows'.
12848 (window--side-check): Remove unused variable `code'.
12849 (window--resize-siblings): Remove unused variable `first'.
12850 (adjust-window-trailing-edge): Remove unused variable `failed'.
12851 (window-deletable-p, window--delete): Remove unused variable `buffer'.
12852 Use `let', not `let*'.
12853 (balance-windows-2): Remove unused variable `found'.
12854 (window--state-put-2): Remove unused variable `splits'.
12855 (window-state-put): Remove unused variable `selected'.
12856 (same-window-p): Use `string-match-p'.
12857 (display-buffer-assq-regexp): Remove unused variable `value'.
12858 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
12859 Mark argument ALIST as ignored.
12860 (pop-to-buffer): Remove unused variable `old-window'.
12861
907201af
EZ
128622012-01-29 Eli Zaretskii <eliz@gnu.org>
12863
12864 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
12865 and .lzma compressed files.
12866
ea162670
CY
128672012-01-29 Chong Yidong <cyd@gnu.org>
12868
5b95ee8a
CY
12869 * frame.el (window-system-default-frame-alist): Doc fix.
12870
ea162670
CY
12871 * dynamic-setting.el (font-setting-change-default-font): Don't
12872 change the default face if SET-FONT argument is non-nil (Bug#9982).
12873
6fccd6e8 128742012-01-29 Samuel Bronson <naesten@gmail.com>
d6e6f4b1
SB
12875
12876 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
12877
0f29fa41 128782012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
12879
12880 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
12881 breakpoints in files outside current directory (Bug#6098).
12882
db174434
CY
128832012-01-29 Chong Yidong <cyd@gnu.org>
12884
6b25e4e2
SE
12885 * progmodes/python.el: Require ansi-color at top-level.
12886
6df6ae42
JB
12887 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
12888 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
12889 (lisp-mode-abbrev-table): Add doc.
12890 (lisp-mode-variables): Don't set local-abbrev-table.
12891 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
12892
e70ee681
RW
128932012-01-28 Roland Winkler <winkler@gnu.org>
12894
12895 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
12896
ace88aa2
RW
128972012-01-28 Roland Winkler <winkler@gnu.org>
12898
12899 * textmodes/bibtex.el (bibtex-entry-alist): New function.
12900 (bibtex-set-dialect): Use it. Either set global values of
12901 dialect-dependent variables or bind these variables buffer-locally
12902 (Bug#10254).
12903 (bibtex-mode): Call bibtex-set-dialect via
12904 hack-local-variables-hook.
eb864a71
LM
12905 (bibtex-dialect): Update docstring.
12906 Add safe-local-variable predicate.
ace88aa2
RW
12907 (bibtex-entry-alist, bibtex-field-alist): Initialize via
12908 bibtex-set-dialect.
12909 (bibtex-mode-map): Define menu for each dialect.
12910 (bibtex-entry): Fix docstring.
12911
93376c5b
CY
129122012-01-28 Chong Yidong <cyd@gnu.org>
12913
12914 * eshell/esh-arg.el (eshell-quote-argument): New function.
12915
12916 * eshell/esh-ext.el (eshell-invoke-batch-file):
12917 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
12918 first arg to eshell-parse-command (Bug#10523).
12919
4372494f
DA
129202012-01-28 Drew Adams <drew.adams@oracle.com>
12921
12922 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
12923 `default-directory' is non-nil.
12924
4d4ec1f8
EZ
129252012-01-28 Eli Zaretskii <eliz@gnu.org>
12926
12927 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
12928 line that displays system-configuration-options. (Bug#9924)
12929
7c188927
DA
129302012-01-28 Drew Adams <drew.adams@oracle.com>
12931
12932 * descr-text.el (describe-char): Show information about POS, in
12933 addition to information about the character at POS. Improve and
12934 update the doc string. Change "code point" to "code point in
12935 charset", to avoid confusion with the character's Unicode code
12936 point shown above that. (Bug#10129)
12937
e0da685a
EZ
129382012-01-28 Eli Zaretskii <eliz@gnu.org>
12939
12940 * descr-text.el (describe-char): Show the raw character, not only
12941 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
12942 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
12943 for the reasons.
12944
70550acf
PH
129452012-01-28 Phil Hagelberg <phil@hagelb.org>
12946
eb864a71
LM
12947 * emacs-lisp/package.el (package-install):
12948 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 12949
0ce8e868
CY
129502012-01-28 Chong Yidong <cyd@gnu.org>
12951
cb882333
JB
12952 * emacs-lisp/package.el (package-maybe-load-descriptor):
12953 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
12954 (package-maybe-load-descriptor): Use it.
12955 (package-download-transaction): Fully load required packages
12956 inside the loop, so that `require' calls work (Bug#10593).
12957 (package-install): No need to call package-initialize now.
12958
2e7f3bea
CY
129592012-01-28 Chong Yidong <cyd@gnu.org>
12960
6e9bad14
CY
12961 * simple.el (deactivate-mark): Doc fix (Bug#8614).
12962
f823b8ca
CY
12963 * tooltip.el (tooltip-mode): Doc fix.
12964 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
12965
2680c309
CY
12966 * frame.el (set-cursor-color): Doc fix (Bug#352).
12967
d7a9e63b
CY
12968 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
12969 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
12970
2e7f3bea
CY
12971 * cus-edit.el (custom-buffer-create-internal): Fix search button
12972 action (Bug#10542).
2ae01800 12973 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 12974
fc4f7a23
EW
129752012-01-27 Eduard Wiebe <usenet@pusto.de>
12976
12977 * dired.el (dired-mark-files-regexp):
12978 Include any subdirectory components. (Bug#10445)
12979
7dd37071
ML
129802012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
12981
12982 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
12983 Handle [host]:port syntax. (Bug#10533)
12984
a268160b
AH
129852012-01-27 Alex Harsanyi <harsanyi@mac.com>
12986
12987 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
12988
e43273ef
GM
129892012-01-26 Glenn Morris <rgm@gnu.org>
12990
12991 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
12992 * term.el (term-raw-escape-map): Use Control-X-prefix.
12993 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
12994
1edf595d
MR
129952012-01-25 Martin Rudalics <rudalics@gmx.at>
12996
12997 * window.el (window-state-get, window--state-get-1): Don't deal
12998 with fixed-sizeness of windows. Simplify code.
12999
fa8eafef
JC
130002012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
13001
6df6ae42
JB
13002 * window.el (window--state-get-1, window--state-put-2):
13003 Don't save and restore the mark.
fa8eafef 13004
0b21c100
CY
130052012-01-25 Chong Yidong <cyd@gnu.org>
13006
13007 * custom.el (custom-variable-p): Doc fix.
13008
5ae1a6c8
GM
130092012-01-25 Glenn Morris <rgm@gnu.org>
13010
40047858
GM
13011 * dired.el (dired-goto-file): Handle some of the more common
13012 characters that `ls -b' escapes. (Bug#10596)
13013
5ddce96c
GM
13014 * progmodes/compile.el (compilation-next-error-function):
13015 Respect compilation-first-column in the "*compilation*" buffer.
13016 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
13017
5ae1a6c8
GM
13018 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
13019
b559f1a9
GM
130202012-01-24 Glenn Morris <rgm@gnu.org>
13021
13022 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
13023
6725d21a
JD
130242012-01-24 Julien Danjou <julien@danjou.info>
13025
13026 * color.el (color-rgb-to-hsl): Fix value computing.
13027 (color-hue-to-rgb): New function.
13028 (color-hsl-to-rgb): New function.
13029 (color-clamp, color-saturate-hsl, color-saturate-name)
13030 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
13031 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
13032
70df4bbe
GM
130332012-01-24 Glenn Morris <rgm@gnu.org>
13034
13035 * vc/vc-rcs.el (vc-rcs-create-tag):
13036 * vc/vc-sccs.el (vc-sccs-create-tag):
13037 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
13038
802a2ae2
ML
130392012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
13040
13041 * eshell/esh-util.el (eshell-read-hosts-file):
13042 Skip comment lines. (Bug#10549)
13043
d7128bb1
ML
13044 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
13045
d1a5c3b4
JB
130462012-01-23 Juanma Barranquero <lekktu@gmail.com>
13047
2724d9c7
JB
13048 * subr.el (display-delayed-warnings): Doc fix.
13049 (collapse-delayed-warnings): New function to collapse identical
13050 adjacent warnings.
13051 (delayed-warnings-hook): Add it.
d1a5c3b4 13052
a5509865
MA
130532012-01-22 Michael Albinus <michael.albinus@gmx.de>
13054
13055 * net/tramp.el (tramp-action-login): Set connection property "login-as".
13056
a5509865
MA
13057 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
13058 (tramp-default-user-alist): Don't add "pscp".
13059 (tramp-do-copy-or-rename-file-out-of-band): Use connection
13060 property "login-as", if set. (Bug#10530)
13061
cc6d5805
MA
130622012-01-21 Michael Albinus <michael.albinus@gmx.de>
13063
13064 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
13065 "plink1" and "psftp". (Bug#10530)
13066
130672012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
13068
13069 * international/mule-cmds.el (prefer-coding-system): Show a
13070 warning message if the default value of file-name-coding-system
13071 was not changed.
13072
f0960428
JC
130732012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
13074
cb882333
JB
13075 * windmove.el (windmove-reference-loc):
13076 Fix windmove-reference-loc miscalculation.
f0960428 13077
dd6f2a63
JB
130782012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
13079
13080 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
13081 default unit.
13082
7b447e9b
GM
130832012-01-21 Glenn Morris <rgm@gnu.org>
13084
117a9ea1
GM
13085 * international/mule.el (auto-coding-alist): Add .tbz.
13086
7b447e9b
GM
13087 * files.el (local-enable-local-variables): Doc fix.
13088 (inhibit-local-variables-regexps): Rename from
13089 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
13090 Doc fix. Add some extensions from auto-coding-alist.
13091 (inhibit-local-variables-suffixes):
13092 Rename from inhibit-first-line-modes-suffixes. Doc fix.
13093 (inhibit-local-variables-p):
13094 New function, extracted from set-auto-mode-1.
13095 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
13096 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
13097 (hack-local-variables): Doc fix. Make the mode-only case
13098 respect enable-local-variables and friends.
13099 Respect inhibit-local-variables-regexps for file-locals, but
13100 not for directory-locals.
13101 (set-visited-file-name):
13102 Take account of inhibit-local-variables-regexps.
13103 Whether it applies may change as the file name is changed.
13104 * jka-cmpr-hook.el (jka-compr-install):
13105 * jka-compr.el (jka-compr-uninstall):
13106 Update for inhibit-first-line-modes-suffixes name change.
13107
dd6e3cdd
MR
131082012-01-20 Martin Rudalics <rudalics@gmx.at>
13109
13110 * help-macro.el (make-help-screen): Temporarily restore original
13111 binding for minor-mode-map-alist (Bug#10454).
13112
0d0deb38
JD
131132012-01-19 Julien Danjou <julien@danjou.info>
13114
13115 * color.el (color-name-to-rgb): Use the white color to find the max
13116 color component value and return correctly computed values.
13117 (color-name-to-rgb): Add missing float conversion for max value.
13118
34a02f46
MR
131192012-01-19 Martin Rudalics <rudalics@gmx.at>
13120
13121 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
13122 special state value for window-persistent-parameters.
13123 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
13124 (window--state-put-2): Reset all window parameters to nil before
13125 assigning values of persistent parameters.
13126
606c44c4
AM
131272012-01-18 Alan Mackenzie <acm@muc.de>
13128
13129 Eliminate sluggishness and hangs in fontification of "semicolon
13130 deserts".
13131
cb882333
JB
13132 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
13133 Change value 10000 -> 3000.
606c44c4
AM
13134 (c-state-safe-place): Reformulate so it doesn't stack up an
13135 infinite number of wrong entries in c-state-nonlit-pos-cache.
13136 (c-determine-limit-get-base, c-determine-limit): New functions to
13137 determine backward search limits disregarding literals.
13138 (c-find-decl-spots): Amend commenting.
13139 (c-cheap-inside-bracelist-p): New function which detects "={".
13140
13141 * progmodes/cc-fonts.el
13142 (c-make-font-lock-BO-decl-search-function): Give a limit to a
13143 backward search.
13144 (c-font-lock-declarations): Fix an occurrence of point being
13145 undefined. Check additionally for point being in a bracelist or
13146 near a macro invocation without a semicolon so as to avoid a
13147 fruitless time consuming search for a declarator. Give a more
13148 precise search limit for declarators using the new
13149 c-determine-limit.
13150
f3860cea
GM
131512012-01-18 Glenn Morris <rgm@gnu.org>
13152
13153 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
13154 (set-auto-mode): Doc fixes.
13155
1db03b16
GM
131562012-01-17 Glenn Morris <rgm@gnu.org>
13157
0e6038be
GM
13158 * isearch.el (search-nonincremental-instead): Fix doc typo.
13159
1db03b16
GM
13160 * dired.el (dired-insert-directory): Handle newlines in directory name.
13161 (dired-build-subdir-alist): Unescape newlines in directory name.
13162
4cb0aa75
MA
131632012-01-17 Michael Albinus <michael.albinus@gmx.de>
13164
13165 * net/tramp.el (tramp-local-end-of-line): New defcustom.
13166 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
13167 (tramp-action-terminal): Use it. (Bug#10530)
13168
1d00653d
SM
131692012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
13170
13171 * minibuffer.el (completion--replace): Strip properties (bug#10062).
13172
6a6ee00d
MR
131732012-01-16 Martin Rudalics <rudalics@gmx.at>
13174
13175 * window.el (window-state-ignored-parameters): Remove variable.
13176 (window--state-get-1): Rename argument MARKERS to IGNORE.
13177 Handle persistent window parameters. Make copy of clone-of
13178 parameter only if requested. (Bug#10348)
13179 (window--state-put-2): Install a window parameter only if it has
13180 a non-nil value or an existing parameter shall be overwritten.
13181
97912def
MA
131822012-01-15 Michael Albinus <michael.albinus@gmx.de>
13183
13184 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
13185
688070a5
EZ
131862012-01-14 Eli Zaretskii <eliz@gnu.org>
13187
13188 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
13189 don't pass the (nil) value of `upnode' to string-match.
13190
301afadc
CY
131912012-01-14 Chong Yidong <cyd@gnu.org>
13192
13193 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 13194 Fix values recognized by the cursorBlink resource.
301afadc 13195
9e5788aa
PE
131962012-01-14 Paul Eggert <eggert@cs.ucla.edu>
13197
13198 * epg.el (epg--make-temp-file): Avoid permission race condition
13199 when running on old Emacs versions (bug#10403).
13200
3cdb7f5a
GM
132012012-01-14 Glenn Morris <rgm@gnu.org>
13202
13203 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
13204
8c82b1b4
AM
132052012-01-13 Alan Mackenzie <acm@muc.de>
13206
13207 Fix filling for when filladapt mode is enabled.
13208
13209 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
13210 c-mask-paragraph, pass in `fill-paragraph' rather than
13211 `fill-region-as-paragraph'. (This is a reversion of a previous
13212 change.)
eb864a71
LM
13213 * progmodes/cc-mode.el (c-basic-common-init):
13214 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 13215
e517eda4
GM
132162012-01-13 Glenn Morris <rgm@gnu.org>
13217
1498536e
GM
13218 * dired.el (dired-switches-escape-p): New function.
13219 (dired-insert-directory): Use dired-switches-escape-p.
13220 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
13221
e517eda4
GM
13222 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
13223
328f984d
GM
132242012-01-12 Glenn Morris <rgm@gnu.org>
13225
13226 * mail/sendmail.el (mail-mode): Update paragraph-separate for
13227 changes in adaptive-fill-regexp. (Bug#10276)
13228
2cc769a8
AM
132292012-01-11 Alan Mackenzie <acm@muc.de>
13230
13231 Fix Emacs bug #10463 - put `widen's around the critical spots.
13232
1d00653d 13233 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
13234 widen around each invocation of c-state-pp-to-literal. Remove an
13235 unused let variable.
13236
e52c37fa
GM
132372012-01-11 Glenn Morris <rgm@gnu.org>
13238
13239 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 13240 Doc fix.
e52c37fa 13241
96f8741e
CY
132422012-01-10 Chong Yidong <cyd@gnu.org>
13243
1d00653d
SM
13244 * net/network-stream.el (network-stream-open-starttls):
13245 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
13246 response to the capability command.
13247
b09a806e
GM
132482012-01-10 Glenn Morris <rgm@gnu.org>
13249
13250 * mail/unrmail.el (unrmail): Tweak previous change.
13251
7655cb66
CY
132522012-01-09 Chong Yidong <cyd@gnu.org>
13253
13254 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
13255
9d5a8f0b
AM
132562012-01-08 Alan Mackenzie <acm@muc.de>
13257
13258 Optimise font locking in long enum definitions.
13259
13260 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
13261 arm to a cond form to handle enums.
13262 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
13263 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
13264
9a0115ab 132652012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
13266
13267 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 13268 (Bug#10401)
6bb72cbd 13269
f186bb95
LMI
132702012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
13271
29232a68
LMI
13272 * faces.el (set-face-attribute): Clarify the meaning of the nil
13273 frame (bug#10294).
13274
4e5d086d
LMI
13275 * subr.el (with-selected-frame): Mention that the selected frame
13276 is restored (bug#9980).
13277
8e66aebe
LMI
13278 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
13279 (bug#9759).
13280
cd394be1 13281 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
13282 (password-read): Don't autoload unused function.
13283
adf4e762
JB
132842012-01-07 Juanma Barranquero <lekktu@gmail.com>
13285
13286 * progmodes/which-func.el (which-func-mode): Turn into a
13287 non-interactive function and mark as obsolete (bug#10428).
13288
89bd9ccd
CY
132892012-01-06 Chong Yidong <cyd@gnu.org>
13290
13291 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
13292 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
13293 functions, along with 1 and -1.
13294
4afee9d5
EZ
132952012-01-06 Eli Zaretskii <eliz@gnu.org>
13296
13297 * time.el (display-time-load-average)
13298 (display-time-default-load-average): Doc fixes. See the thread
13299 starting at
13300 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
13301 for the details.
13302
536aea70
GM
133032012-01-06 Glenn Morris <rgm@gnu.org>
13304
665ae865
GM
13305 * mail/unrmail.el (unrmail): Give an explicit error if the input file
13306 has no messages. (Bug#10377)
13307
c869783d
GM
13308 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
13309 than Info-edit. (Bug#10385)
13310
2bb4227e
GM
13311 * time.el (display-time-load-average, display-time-next-load-average):
13312 Doc fixes.
13313
7d5944b9
GM
13314 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
13315 local setting of buffer-read-only to the input buffer. (Bug#10419)
13316
536aea70
GM
13317 * calendar/calendar.el (calendar-mode):
13318 Locally set scroll-margin to 0. (Bug#10379)
13319
7dccca16
UM
133202012-01-06 Ulrich Mueller <ulm@gentoo.org>
13321
13322 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
13323
afbb7930
GM
133242012-01-05 Glenn Morris <rgm@gnu.org>
13325
13326 * eshell/em-unix.el (diff-no-select): Autoload it.
13327 (eshell/diff): Use diff-no-select. (Bug#10420)
13328
04482335
CY
133292012-01-05 Chong Yidong <cyd@gnu.org>
13330
7baca3bc
CY
13331 * shell.el (shell-dynamic-complete-functions): Revert last change.
13332 (shell-command-completion-function): New function.
13333 (shell-completion-vars): Use it to implement
13334 shell-completion-execonly (Bug#10417).
13335
04482335
CY
13336 * custom.el (enable-theme): Don't set custom-safe-themes.
13337
1d00653d
SM
13338 * cus-theme.el (custom-theme-merge-theme):
13339 Ignore custom-enabled-themes and custom-safe-themes.
04482335 13340
bb5aa5d6
MM
133412012-01-05 Michael R. Mauger <mmaug@yahoo.com>
13342
13343 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
13344 first prompt in `sql-interacive-mode'.
13345 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 13346 keywords.
6df6ae42 13347 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
13348 (sql-product-interactive): Bug fix: Set `sql-buffer' in
13349 context of original buffer. Invoke `sql-login-hook'.
13350
a7183d7c
EZ
133512012-01-04 Eli Zaretskii <eliz@gnu.org>
13352
13353 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
13354 letters in cite-prefix.
13355
a1eacd1e
LMI
133562012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
13357
13358 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
13359
787cdb34
CY
133602012-01-03 Chong Yidong <cyd@gnu.org>
13361
1d00653d
SM
13362 * shell.el (shell-dynamic-complete-functions):
13363 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
13364 comint-filename-completion first (Bug#10417).
13365
30710442
RS
133662012-01-02 Richard Stallman <rms@gnu.org>
13367
13368 * battery.el (battery-status-function):
13369 Detect when to use battery-yeeloong-sysfs.
13370 (battery-echo-area-format): Add string for Yeeloong.
13371 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
13372 (battery-yeeloong-sysfs): New function.
13373
f75bfc33
CY
133742012-01-02 Chong Yidong <cyd@gnu.org>
13375
13376 * dirtrack.el (dirtrack-list): Eliminate unused third element.
13377 (dirtrack): Merge code for handling relative filenames in prompt
13378 from shell-dir-cookie-watcher.
13379 (dirtrack-debug-message): New arg to avoid excess format calls.
13380
13381 * shell.el (shell-dir-cookie-re): Variable deleted.
13382 (shell-dir-cookie-watcher): Function deleted.
13383 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
13384 with dirtrack-mode.
13385
651e947e
EZ
133862012-01-01 Eli Zaretskii <eliz@gnu.org>
13387
1d00653d
SM
13388 * term/w32-win.el (dynamic-library-alist) <gnutls>:
13389 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
13390 libgnutls-26.dll.
13391
94d4c7dc
AS
133922011-12-31 Andreas Schwab <schwab@linux-m68k.org>
13393
13394 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
13395
8d43f3cd
EZ
133962011-12-31 Eli Zaretskii <eliz@gnu.org>
13397
13398 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
13399 headers of non-MIME messages, when rmail-enable-mime is non-nil.
13400
98c8795a
MA
134012011-12-29 Michael Albinus <michael.albinus@gmx.de>
13402
13403 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
13404 also for alternative shells.
13405 (tramp-open-connection-setup-interactive-shell): Check, whether
13406 the shell is a busybox.
13407 (tramp-send-command): Don't suppress multiple prompts for
13408 busyboxes, it hurts.
13409
51281b32
CY
134102011-12-28 Chong Yidong <cyd@gnu.org>
13411
13412 * progmodes/gdb-mi.el (gdb-get-source-file-list)
13413 (gdb-get-source-file): Move mode line update to
13414 gdb-get-source-file (Bug#10087).
13415
2170cb53
CY
134162011-12-25 Chong Yidong <cyd@gnu.org>
13417
13418 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
13419 gud-gdb-marker-filter without taking it as an argument.
13420 (gud-gdb-run-command-fetch-lines): Caller changed.
13421 (gud-gdb-completion-function): New variable.
13422 (gud-gdb-completion-at-point): Use it.
13423 (gud-gdb-completions-1): Split from gud-gdb-completions.
13424
13425 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
13426 function as separate arguments.
13427 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
13428 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
13429 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
13430 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
13431 (gdb-stopped, def-gdb-auto-update-trigger)
13432 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
13433 (gdb-get-changed-registers, gdb-get-main-selected-frame):
13434 Callers changed.
2170cb53
CY
13435 (gud-gdbmi-completions): New function.
13436 (gdb): Use it for generating the completion table.
13437
be8b11bb
AM
134382011-12-24 Alan Mackenzie <acm@muc.de>
13439
13440 Introduce a mechanism to widen the region used in context font
1d00653d 13441 locking. Use this to protect declarations from losing their contexts.
be8b11bb 13442
1d00653d
SM
13443 * progmodes/cc-langs.el (c-before-font-lock-functions):
13444 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 13445 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
13446 functions to be run just before context (etc.) font locking.
13447
13448 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 13449 New, functionality extracted from
be8b11bb 13450 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 13451 (c-in-after-change-fontification): New variable.
be8b11bb
AM
13452 (c-after-change): Set c-in-after-change-fontification.
13453 (c-set-fl-decl-start): Rejig its interface, so it can be called
13454 from both after-change and context fontifying.
b81d40f0
JB
13455 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
13456 New functions.
13457 (c-standard-font-lock-fontify-region-function): New variable.
13458 (c-font-lock-fontify-region): New function.
be8b11bb 13459
341cf6ac
JL
134602011-12-24 Juri Linkov <juri@jurta.org>
13461
13462 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
13463 (Bug#10348)
13464
bffcee0a
MA
134652011-12-23 Michael Albinus <michael.albinus@gmx.de>
13466
13467 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
13468 existence of source file. (Bug#10325)
13469
cb5e207c
AM
134702011-12-23 Alan Mackenzie <acm@muc.de>
13471
13472 Fix unstable fontification inside templates.
13473
b81d40f0
JB
13474 * progmodes/cc-langs.el (c-before-font-lock-functions):
13475 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
13476 additionally has c-set-fl-decl-start. The other languages (apart
13477 from AWK) have that as a single entry.
13478
b81d40f0
JB
13479 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
13480 The functionality for "local" declarations has been extracted to
cb5e207c
AM
13481 c-set-fl-decl-start.
13482
b81d40f0
JB
13483 * progmodes/cc-mode.el (c-common-init, c-after-change):
13484 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
13485 (c-set-fl-decl-start): New function, extracted from
13486 c-font-lock-enclosing-decls and enhanced.
13487
60ff536c
JB
134882011-12-23 Juanma Barranquero <lekktu@gmail.com>
13489
13490 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
13491
1c4757d6
JL
134922011-12-22 Juri Linkov <juri@jurta.org>
13493
13494 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
13495
d031f2c7
CY
134962011-12-22 Chong Yidong <cyd@gnu.org>
13497
13498 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
13499
bace743a
DA
135002011-12-21 Drew Adams <drew.adams@oracle.com>
13501
13502 * files.el (file-remote-p): Fix docstring. (Bug#10319)
13503
728a1f2b
JC
135042011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
13505
13506 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
13507
0d373f73
TZ
135082011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
13509
fec0aaa4
TZ
13510 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
13511 highlighting and support. Fix up comments for capitalization.
13512 (cfengine-mode-debug): New var.
13513 (cfengine3-mode): Change the modeline indicator to "CFE3".
13514 (cfengine3-font-lock-keywords): Improve defun highlighting.
13515 (cfengine2-actions): Rename from `cfengine-actions'.
13516 (cfengine2-font-lock-keywords): Rename from
13517 `cfengine-font-lock-keywords'.
13518 (cfengine2-imenu-expression): Rename from
13519 `cfengine-imenu-expression'.
13520 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
13521 (cfengine2-beginning-of-defun): Rename from
13522 `cfengine-beginning-of-defun'.
13523 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
13524 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
13525 (cfengine2-mode): Rename from `cfengine-mode'. Change the
13526 modeline indicator to "CFE2".
13527 (cfengine-mode): Defalias to `cfengine-auto-mode'.
13528 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 13529
bc86f573
CY
135302011-12-21 Chong Yidong <cyd@gnu.org>
13531
13532 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
13533 filename argument.
13534
d45ba96b
MR
135352011-12-20 Martin Rudalics <rudalics@gmx.at>
13536
13537 * window.el (window-normalize-buffer-to-display): Remove.
13538 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
13539
a6198c90
CY
135402011-12-19 Chong Yidong <cyd@gnu.org>
13541
13542 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
13543 Don't signal an error in a predicate function; return non-nil.
13544 (vc-dir-mark-file): Move the error here.
13545 (vc-dir-mark-unmark): If acting on the region, keep going if one
13546 of the entries cannot be marked/unmarked.
13547 (vc-dir-mark-all-files): If current entry is a directory, mark
13548 only child files, as documented.
13549
34c5fb55
VB
135502011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
13551
13552 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
13553 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
13554 addition.
13555
c803b2b7
JD
135562011-12-18 Jan Djärv <jan.h.d@swipnet.se>
13557
13558 * term/ns-win.el (ns-get-selection-internal)
13559 (ns-store-selection-internal): Declare.
1154d12e
JB
13560 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
13561 Declare as obsolete.
13562 (ns-get-pasteboard, ns-paste-secondary):
13563 Use ns-get-selection-internal.
41e9b956 13564 (ns-set-pasteboard, ns-copy-including-secondary):
1154d12e 13565 Use ns-store-selection-internal.
c803b2b7 13566
9cff91f8 135672011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
13568
13569 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 13570 (vc-deduce-fileset): Doc fix.
99a289d9 13571
f16c898a
AS
135722011-12-16 Andreas Schwab <schwab@linux-m68k.org>
13573
13574 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
13575
763237c4
SS
135762011-12-13 Sam Steingold <sds@gnu.org>
13577
13578 * man.el (Man-getpage-in-background): When running under a
13579 window-system, ignore $MANWIDTH and $COLUMNS.
13580
5fc1c122
KH
135812011-12-15 Kenichi Handa <handa@m17n.org>
13582
13583 * language/ethio-util.el: Change coding tag to utf-8-emacs.
13584 (setup-ethiopic-environment-internal): Comment out key-binding for
13585 ethio-toggle-punctuation.
13586
13d49cbb
AM
135872011-12-13 Alan Mackenzie <acm@muc.de>
13588
898169a2
AM
13589 Add the switch statement to AWK Mode.
13590
7a71b18d 13591 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
13592 "default" to the keywords regexp.
13593
7a71b18d 13594 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 13595 expression as the rest.
1d00653d
SM
13596 (c-nonlabel-token-key): Allow string literals for AWK.
13597 Refactor for the other modes.
898169a2 13598
13d49cbb 13599 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 13600 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
13601 routines. Limit backward searching in c-font-lock-enclosing.decl.
13602
13603 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
13604 pp-state and literal type in addition to the limits.
1d00653d 13605 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 13606 (c-state-literal-at): Use the above new defun.
1d00653d
SM
13607 (c-slow-in-literal, c-fast-in-literal): Remove.
13608 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
13609
13610 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
13611 being in a literal. Add a limit for backward searching.
13612
13613 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
13614 c-slow-in-literal.
13615
15e0efc7
SM
136162011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
13617
13618 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
13619
454592a6
MR
136202011-12-13 Martin Rudalics <rudalics@gmx.at>
13621
13622 * window.el (delete-other-windows): Use correct frame in call to
13623 window-with-parameter.
13624
87393f26
DP
136252011-12-12 Daniel Pfeiffer <occitan@t-online.de>
13626
13627 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
13628 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
13629 (makefile-gmake-statements, makefile-makepp-statements):
13630 Use it and add new makepp keywords.
13631 (makefile-makepp-font-lock-keywords): Add new patterns.
13632 (makefile-match-function-end): Match new [...] and [[...]].
13633
11636b22
JB
136342011-12-11 Juanma Barranquero <lekktu@gmail.com>
13635
13636 * ses.el (ses-call-printer-return, ses-cell-property-get)
13637 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
13638 (ses-create-cell-variable, ses-reset-header-string)
13639 (ses-cell-set-formula, ses-repair-cell-reference-all)
13640 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
13641 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
13642 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
13643 (ses-aset-with-undo, ses-load, ses-truncate-cell)
13644 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
13645 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
13646 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
13647 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
13648 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
13649 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
13650 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
13651 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
13652
cf018193
VB
136532011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
13654
13655 * ses.el: The overall change is to add cell renaming, that is
13656 setting fancy names for cell symbols other than name matching
13657 "\\`[A-Z]+[0-9]+\\'" regexp .
13658 (ses-create-cell-variable): New defun.
13659 (ses-relocate-formula): Relocate formulas only for cells the
13660 symbols of which are not renamed, i.e. symbols whose names do not
13661 match regexp "\\`[A-Z]+[0-9]+\\'".
13662 (ses-relocate-all): Relocate values only for cells the symbols of
13663 which are not renamed.
13664 (ses-load): Create cells variables as the (ses-cell ...) are read,
13665 in order to check row col consistency with cell symbol name only
13666 for cells that are not renamed.
13667 (ses-replace-name-in-formula): New defun.
13668 (ses-rename-cell): New defun.
13669
ee957461
CY
136702011-12-11 Chong Yidong <cyd@gnu.org>
13671
13672 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
13673 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
13674
9a9e9ef0
MR
136752011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
13676
13677 * window.el (other-window): Fix docstring.
13678
92a8eba5
EZ
136792011-12-10 Eli Zaretskii <eliz@gnu.org>
13680
13681 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
13682 `from' or `to' address before taking its substring.
13683 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
13684 encoded name is chopped in the middle of the encoded string, and
13685 thus displayed encoded.
13686
e152e577
JB
136872011-12-10 Juanma Barranquero <lekktu@gmail.com>
13688
13689 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
13690
e5d84bfe
EZ
136912011-12-10 Eli Zaretskii <eliz@gnu.org>
13692
13693 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
13694 to use texinfo-update-node and commands that call it if the
13695 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 13696 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
13697 (texinfo-all-menus-update, texinfo-master-menu)
13698 (texinfo-update-node, texinfo-every-node-update)
13699 (texinfo-multiple-files-update): Doc fix. Warn against updating
13700 all the @node lines.
13701 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
13702 argument is numeric. Explain better in the doc string what the
13703 function really does.
13704 (texinfo-insert-master-menu-list): Improve the error message
13705 displayed if there's no menu in the Top node.
13706 (Bug#2975) See also this thread:
e5d84bfe
EZ
13707 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
13708
1d84e9bb
MG
137092011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
13710
13711 * speedbar.el (speedbar-supported-extension-expressions):
13712 Add .adb and .ads, commonly used for Ada source code (bug#10256).
13713
382c953b
JB
137142011-12-09 Juanma Barranquero <lekktu@gmail.com>
13715
13716 * printing.el (pr-mode-alist):
13717 * simple.el (filter-buffer-substring-functions)
13718 (completion-list-insert-choice-function):
13719 * window.el (window-with-parameter, window-atom-root)
13720 (window-sides-slots, window-size-fixed, window-min-delta)
13721 (window-max-delta, window--resize-mini-window)
13722 (window--resize-child-windows-normal, window-tree)
13723 (delete-other-windows, quit-window, split-window)
13724 (display-buffer-record-window, special-display-buffer-names)
13725 (special-display-regexps, special-display-popup-frame)
13726 (same-window-p, split-window-sensibly)
13727 (display-buffer-overriding-action, display-buffer-alist)
13728 (display-buffer-base-action, display-buffer, switch-to-buffer)
13729 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
13730 (fit-window-to-buffer, recenter-positions)
13731 (mouse-autoselect-window-state, mouse-autoselect-window-select):
13732 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
13733 and remove unneeded backslashes in docstrings.
13734
39c9faef
SM
137352011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
13736
98449af8
SM
13737 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
13738
39c9faef
SM
13739 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
13740 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
13741 end in ".mk".
13742 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
13743 when reading the makefile (bug#10116).
13744
86ed9fdc
SM
137452011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
13746
13747 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
13748 (bug#10116).
13749
5580f89d
GM
137502011-12-06 Glenn Morris <rgm@gnu.org>
13751
13752 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
13753
28d3917c
CY
137542011-12-06 Chong Yidong <cyd@gnu.org>
13755
13756 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
13757
a98edce9
JB
137582011-12-06 Juanma Barranquero <lekktu@gmail.com>
13759
13760 * textmodes/table.el (table-shorten-cell): Fix typo.
13761
e65adfac
CG
137622011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
13763
13764 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
13765
71cc0b74
EZ
137662011-12-05 Eli Zaretskii <eliz@gnu.org>
13767
13768 * descr-text.el (describe-char): Fix display of strong
13769 right-to-left characters and directional embeddings and overrides.
13770
13771 * simple.el (what-cursor-position): Fix display of codepoints of
13772 strong right-to-left characters.
13773
315bc30d
CY
137742011-12-05 Chong Yidong <cyd@gnu.org>
13775
13776 * faces.el (read-color): Doc fix.
13777
58a70b94
GM
137782011-12-05 Glenn Morris <rgm@gnu.org>
13779
13780 * align.el (align--set-marker): Add doc-string.
13781 Don't try to move something that is not a marker. (Bug#10216)
13782
5158face
GM
137832011-12-04 Glenn Morris <rgm@gnu.org>
13784
13785 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
13786 overly zealous deletion of trailing whitespace.
13787
520fca41
JB
137882011-12-04 Juanma Barranquero <lekktu@gmail.com>
13789
13790 * server.el (server-delete-client): On Windows, do not try to delete
13791 the only terminal.
13792 (server-process-filter): On Windows, treat requests for a tty frame as
13793 if they were for a GUI frame if the running server is in GUI mode.
13794
5e605a2e
GM
137952011-12-03 Glenn Morris <rgm@gnu.org>
13796
13797 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
13798
5c3fe83f
SM
137992011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
13800
6f5e57e7
SM
13801 * electric.el: Streamline electric-indent's hook.
13802 (electric-indent-chars): Revert to simple list.
13803 (electric-indent-functions): New var.
13804 (electric-indent-post-self-insert-function): Use it.
13805
5c3fe83f
SM
13806 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
13807 there's no inferior buffer (bug#10196).
13808 (prolog-consult-compile): Don't use toggle-read-only.
13809
6bdac736
MA
138102011-12-02 Michael Albinus <michael.albinus@gmx.de>
13811
13812 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
13813 interrupt. (Bug#10187)
13814
6131ba7f
SM
138152011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
13816
99c79fee
SM
13817 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
13818 (bug#9160).
13819
6131ba7f
SM
13820 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
13821 (bug#10191).
13822
cb0a02ea
JL
138232011-12-02 Juri Linkov <juri@jurta.org>
13824
13825 * info.el (Info-search): Display "end of manual" when Isearch
13826 reaches the end of single-file Info manual. (Bug#9918)
13827
66e0570c
EZ
138282011-12-02 Eli Zaretskii <eliz@gnu.org>
13829
13830 * isearch.el (isearch-message-prefix): Run the input method part
13831 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
13832
02b16839
JL
138332011-12-02 Juri Linkov <juri@jurta.org>
13834
13835 * isearch.el (isearch-occur): Use `word-search-regexp' for
13836 `isearch-word'.
13837 (isearch-search-and-update): Add condition for `isearch-word' and
13838 call `word-search-regexp'. (Bug#10145)
13839
0b950688
GM
138402011-12-01 Glenn Morris <rgm@gnu.org>
13841
13842 * eshell/em-hist.el (eshell-hist-initialize):
13843 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 13844 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 13845
9505c3c7
SM
138462011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
13847
13848 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
13849
1bbe96b2 138502011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 13851
a1beca85
SM
13852 * progmodes/verilog-mode.el (verilog-pretty-expr):
13853 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
13854 verilog, such as += *= and the like.
13855 (verilog-assignment-operator-re): Regular expression to find the
13856 assigment operator in a verilog assignment.
13857 (verilog-assignment-operation-re): Regular expression to find an
13858 assignment statement for pretty-expr.
13859 (verilog-in-attribute-p): Query returns true if point is in an
13860 attribute context; used to skip these for expression line up from
13861 pretty-expr.
13862 (verilog-in-parameter-p): Query returns true if point is in an
13863 parameter definition context; used to skip these for expression
13864 line up from pretty-expr.
13865 (verilog-in-parenthesis-p): Query returns true if point is in a
13866 parenthetical expression, specifically ( ) but not [ ] or { };
13867 used by pretty-expr.
13868 (verilog-just-one-space): If there is no space, don't add one.
13869 (verilog-get-lineup-indent-2): Specifically skip just attribute
13870 contexts for expression lineup, rather than skipping all
13871 parenthetical expressions.
13872 (verilog-calculate-indent): Fix comment, and fix indent.
13873 (verilog-do-indent): Indent declarations in lists (suggested by
13874 Joachim Lechner).
13875 (verilog-mode-abbrev-table): Populate abbrev mode with the various
13876 skeleton items.
13877 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
13878 by Alain Mellan).
13879
1bbe96b2 138802011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
13881
13882 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
13883 parameters with embedded comments. Reported by Ray Stevens.
13884 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
13885 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
13886 Reported by Tim Holt.
13887 (verilog-auto): Fix AUTOing a upper module then AUTOing module
13888 instantiated by upper module causing wrong expansion until AUTOed a
13889 second time. Reported by K C Buckenmaier.
13890 (verilog-diff-auto): Fix showing .* as a difference when
13891 `verilog-auto-star-save' off. Reported by Dan Dever.
13892 (verilog-auto-reset, verilog-read-always-signals)
13893 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
13894 temporary signals in reset list if
13895 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
13896 style to each signal's assignment type, bug381.
13897 Reported by Thomas Esposito.
6288f0ca
WS
13898 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
13899 (verilog-uvm-statement-re): Support UVM indentation and
13900 highlighting, with old OVM keywords only.
a1beca85 13901 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
13902 Support AUTOTIEOFF creating non-wire data types.
13903 Suggested by Jonathan Greenlaw.
6288f0ca
WS
13904 (verilog-auto-insert-lisp, verilog-delete-to-paren)
13905 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
13906 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
13907 (verilog-read-sub-decls, verilog-read-sub-decls-line):
13908 Fix mismatching parenthesis inside commented out code when deleting
382c953b 13909 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
13910 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
13911 non-numeric vector width. Reported by Alex Reed.
13912 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 13913 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
13914 (verilog-auto-delete-trailing-whitespace):
13915 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
13916 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
13917 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
13918 Fix verilog-scan-cache corruption when running user AUTO expansion
13919 hooks that call indentation routines.
13920 (verilog-simplify-range-expression): Fix typo ignoring lower case
13921 identifiers.
13922 (verilog-delete-auto): Fix delete-autos to also remove user created
13923 automatics, as long as they start with AUTO.
13924 (verilog-batch-diff-auto, verilog-diff-auto)
13925 (verilog-diff-function): Add `verilog-diff-auto' and bind to
13926 "C-c?" to report differences in AUTO expansion, ignoring spaces.
13927 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
13928 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
13929 (verilog-re-search-forward-quick, verilog-syntax-ppss):
13930 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
13931 is disabled and its cache will get corrupt, causing AUTOS not to
13932 expand. Instead use only -quick functions.
13933 (verilog-scan-region): Fix scanning over escaped quotes.
13934 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
13935 (verilog-re-search-backward-quick)
13936 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
13937 related functions now ignore strings, to fix misparsing of strings
13938 with magic comments embedded in them.
a1beca85
SM
13939 (verilog-read-auto-template):
13940 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
13941 Reported by Brad Dobbie.
13942 (verilog-read-auto-template):
13943 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 13944 Reported by Brad Dobbie.
6288f0ca
WS
13945 (verilog-auto-inst, verilog-auto-inst-param)
13946 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
13947 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
13948 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
13949 debugging templates without merge conflicts, bug357.
13950 Reported by Brad Dobbie.
13951 (verilog-read-auto-template):
13952 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
13953 Reported by Brad Dobbie.
13954 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
13955 abbrevs so user won't be asked to save.
13956 (verilog-read-auto-lisp-present): Fix to start at beginning of
13957 buffer in case called outside of verilog-auto.
13958 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
13959 to "X-2". Reported by Matthew Myers.
13960 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
13961 all inputs from module templates. Reported by Leith Johnson.
13962 (verilog-module-inside-filename-p): Fix locating programs as with
13963 modules.
13964 (verilog-auto-inst-port): Fix vl-width expressions when using
13965 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
13966 (verilog-decls-get-regs, verilog-decls-get-signals,
13967 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
13968 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
13969 verilog-read-decls): Combine reg and wire structures into one var
13970 structure to represent SystemVerilog concepts.
13971 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
13972 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
13973 (verilog-auto-wire-type, verilog-insert-definition):
13974 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
13975 SystemVerilog "logic" keyword instead of "wire"/"reg".
13976 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
13977 to declares outputs that also have assignments (presumably in an
a1beca85
SM
13978 ifdef or generate if so there's not a driver conflict).
13979 Reported by Matthew Myers.
13980 (verilog-auto-declare-nettype, verilog-insert-definition):
13981 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
13982 `default_nettype none. Reported by Julian Gorfajn.
13983 (verilog-read-always-signals-recurse, verilog-read-decls)
13984 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
13985 malformed end statement, bug325. Reported by Joshua Wise and
13986 Andrew Drake.
13987 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
13988 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
13989 when expanding .* in interfaces, bug320.
13990 Reported by Pierre-David Pfister.
6288f0ca 13991 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
13992 name and open parenthesis, bug317.
13993 Reported by Pierre-David Pfister.
6288f0ca
WS
13994 (verilog-simplify-range-expression): Fix simplification of
13995 multiplications inside AUTOWIRE connections, bug303.
13996 (verilog-auto-inst-port): Support parameter expansion in
13997 multidimensional arrays.
13998 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
13999 after "assert property". Reported by Julian Gorfajn.
14000 (verilog-simplify-range-expression): Fix "couldn't merge" errors
14001 with multiplication, bug303.
14002 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
14003 Reported by Jan Frode Lonnum.
14004
1bbe96b2
GM
140052011-11-30 Juanma Barranquero <lekktu@gmail.com>
14006
14007 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
14008 (hfy-shell-file-name, hfy-shell):
14009 * international/fontset.el (x-decompose-font-name): Fix typos.
14010
140112011-11-29 Ken Brown <kbrown@cornell.edu>
14012
14013 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
14014 (gdb-version): Remove defvar.
14015 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
14016 (gdb-gud-context-command, gdb-non-stop-handler)
14017 (gdb-current-context-command, gdb-stopped): Use it.
14018 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
14019 (gdb-non-stop-handler): Don't enable pretty-printing here.
14020 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
14021 non-stop mode. Use the following.
14022 (gdb-check-target-async): New defun.
14023 (gud-watch, gdb-stopped): Fix whitespace.
14024 (gdb-get-source-file): Don't try to display the source file if
14025 `gdb-main-file' is nil.
14026
140272011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
14028
14029 * align.el: Try to generate fewer markers (bug#10047).
14030 (align--set-marker): New macro.
14031 (align-region): Use it.
14032
c935221f
SM
140332011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
14034
14035 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
14036
e70b5064
CY
140372011-11-29 Chong Yidong <cyd@gnu.org>
14038
14039 * indent.el (indent-for-tab-command, indent-according-to-mode):
14040 Doc fix.
14041 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
14042
f3af92b7
MA
140432011-11-29 Michael Albinus <michael.albinus@gmx.de>
14044
14045 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
14046 aware of remote file names. (Bug#10124)
14047
ed472be9
CY
140482011-11-29 Chong Yidong <cyd@gnu.org>
14049
14050 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
14051
24510c22
SM
140522011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
14053
14054 * files.el (find-file): Don't use force-same-window (bug#10144).
14055 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
14056 use pop-to-buffer if the selected window can't be used.
14057 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
14058
c60c3703
EZ
140592011-11-28 Eli Zaretskii <eliz@gnu.org>
14060
14061 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
14062 special-mode-map.
14063
e95def75
CY
140642011-11-28 Chong Yidong <cyd@gnu.org>
14065
14066 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
14067
c3f1c606
NR
140682011-11-27 Nick Roberts <nickrob@snap.net.nz>
14069
14070 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
14071 gdb-get-source-file-list on gdb-create-source-file-list.
14072
00db469c
EZ
140732011-11-26 Eli Zaretskii <eliz@gnu.org>
14074
14075 * whitespace.el (whitespace-newline): Use a different foreground
14076 color for 16-color light-background displays.
14077
4ad3bc2a
CY
140782011-11-24 Chong Yidong <cyd@gnu.org>
14079
14080 * window.el (display-buffer--special-action): Doc fix.
14081
e9fce1ac
JB
140822011-11-25 Juanma Barranquero <lekktu@gmail.com>
14083
14084 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
14085 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
14086 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
14087 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
14088 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
14089 (avl-tree-stack-first):
14090 * emacs-lisp/cconv.el (cconv--analyse-use):
14091 * net/gnutls.el (gnutls-negotiate): Fix typos.
14092
cb825e5d
GM
140932011-11-24 Glenn Morris <rgm@gnu.org>
14094
3adbe224
GM
14095 * lpr.el (lpr-windows-system, lpr-lp-system):
14096 * mail/binhex.el (binhex-begin-line):
14097 * progmodes/grep.el (grep-history, grep-find-history):
14098 * textmodes/flyspell.el:
14099 * vc/pcvs-defs.el (cvs-global-menu):
14100 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
14101 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
14102 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
14103
321decc8
GM
14104 * net/tls.el: Fix case of "GnuTLS".
14105
420b63ad
GM
14106 * paths.el (rmail-file-name): Format doc-string for make-docfile.
14107
cb825e5d
GM
14108 * version.el (emacs-build-system): Give it a doc-string.
14109
a0649f08
JL
141102011-11-24 Juri Linkov <juri@jurta.org>
14111
14112 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
14113
c0bc0fd4
GM
141142011-11-24 Glenn Morris <rgm@gnu.org>
14115
14116 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
14117 if called on a non-mime message just toggle the headers. (Bug#8006)
14118
20db1522
JB
141192011-11-24 Juanma Barranquero <lekktu@gmail.com>
14120
14121 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
14122 (allout-lead-with-comment-string, allout-structure-deleted-hook)
14123 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
14124 (allout-rebullet-heading, allout-open-sibtopic)
14125 (allout-toggle-current-subtree-encryption)
14126 (allout-toggle-subtree-encryption, allout-encrypt-string)
14127 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
14128 (allout-distinctive-bullets-string, allout-auto-activation):
14129 * window.el (window-normalize-buffer-to-display):
14130 * progmodes/verilog-mode.el (verilog-batch-indent):
14131 * textmodes/bibtex.el (bibtex-field-braces-opt)
14132 (bibtex-field-strings-opt):
14133 * vc/cvs-status.el (cvs-tree-merge):
14134 Fix typos.
14135
7262a87c
MA
141362011-11-23 Michael Albinus <michael.albinus@gmx.de>
14137
14138 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
14139 `non-essential' to t, in order to avoid remote connections.
14140
283430a1
EZ
141412011-11-23 Eli Zaretskii <eliz@gnu.org>
14142
a1beca85
SM
14143 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
14144 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
14145 case-insensitively.
14146
d2992a38
ML
141472011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
14148
14149 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
14150
50419064
GM
141512011-11-23 Glenn Morris <rgm@gnu.org>
14152
da94eca1
GM
14153 * paths.el (rmail-file-name): Reformat the doc-string so that it
14154 is picked up.
14155
9aac4de2
GM
14156 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
14157 (rmail-auto-file): Ignore case in the "special" field names,
14158 as mail-fetch-field does for all others.
14159
8038d2d2
GM
14160 * mail/rmail.el (rmail-forward):
14161 * mail/rmailkwd.el (rmail-set-label):
14162 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
14163 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
14164
f3fe222a
GM
14165 * mail/rmail.el (rmail-current-message): Doc fix.
14166
50419064
GM
14167 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
14168
28109f49
SM
141692011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
14170
14171 * server.el (server-eval-and-print): Allow C-g (bug#6585).
14172
394c65f1
GM
141732011-11-22 Glenn Morris <rgm@gnu.org>
14174
14175 * mail/rmailmm.el (test-rmail-mime-handler)
14176 (test-rmail-mime-bulk-handler)
14177 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
14178
f2a0aa3a
JL
141792011-11-21 Juri Linkov <juri@jurta.org>
14180
1154d12e
JB
14181 * calc/calc.el (calc-read-key-sequence):
14182 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 14183
9c34a344
LMI
141842011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
14185
14186 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
14187 Tell the caller that the next line needs recomputation, even
14188 though it doesn't start a sexp (bug#10094).
14189
f04a3be9
SM
141902011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
14191
14192 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
14193
7978747f
SM
141942011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
14195
f04a3be9
SM
14196 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
14197 Use force-same-window.
7978747f 14198
fe7a3057
JB
141992011-11-20 Juanma Barranquero <lekktu@gmail.com>
14200
14201 * descr-text.el (describe-char-unicode-data):
14202 * json.el (json-string-escape):
14203 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
14204 (Footnote-unicode, Footnote-style-p):
14205 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
14206
24901d61
CY
142072011-11-20 Chong Yidong <cyd@gnu.org>
14208
14209 * window.el (replace-buffer-in-windows): Restore interactive spec.
14210
bac7ff22
SM
142112011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
14212
24f3d7b9
SM
14213 * electric.el (electric-indent-mode): Fix last change (too optimistic).
14214
bac7ff22
SM
14215 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
14216 (byte-compile-global-not-obsolete-vars): New var.
14217 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
14218 Use it.
14219 (byte-compile-warn-obsolete): Align text with the one in *Help*.
14220
cd1181db
JB
142212011-11-20 Juanma Barranquero <lekktu@gmail.com>
14222
14223 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
14224 * progmodes/pascal.el (electric-pascal-equal):
14225 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
14226 * xml.el (xml-substitute-special): Fix typos.
14227
7fb18e9e
GM
142282011-11-20 Glenn Morris <rgm@gnu.org>
14229
14230 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
14231 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
14232 Doc fixes.
14233 (rmail-decode-mime-charset): Mark as obsolete.
14234
14235 * mail/rmailsum.el (rmail-message-regexp-p-1):
14236 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
14237 Before using mime functions, check they are set. (Bug#10077)
14238
d5a6b3ba
JL
142392011-11-19 Juri Linkov <juri@jurta.org>
14240
14241 * info.el (Info-finder-find-node): Use `package--builtins' instead
14242 of `package-alist'. Use node names formed by the pattern "Keyword "
14243 and the keyword name.
14244
e981b61f
AS
142452011-11-19 Andreas Schwab <schwab@linux-m68k.org>
14246
1d00653d 14247 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 14248
3ffbc301
JL
142492011-11-19 Juri Linkov <juri@jurta.org>
14250
14251 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
14252 that calls `revert-buffer' on all Info buffers. (Bug#9915)
14253 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
14254 `old-history', `old-history-forward'. Add let-binding
14255 `window-selected'. Remove calls to `kill-buffer',
14256 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
14257 before calling `Info-find-node', so `Info-find-node-2' will reread
14258 the Info file. Restore window positions only when `window-selected'
14259 is non-nil.
14260
30c62133
JL
142612011-11-19 Juri Linkov <juri@jurta.org>
14262
14263 * isearch.el (isearch-lazy-highlight-new-loop):
14264 Remove condition `(not isearch-error)'. (Bug#9918)
14265
14266 * misearch.el (multi-isearch-search-fun): Add condition
14267 `(not bound)' to ignore lazy-highlighting search.
14268 Add the search-failed message "end of multi" when the end of
14269 multi-sequence is reached. Uncapitalize the search-failed
14270 message "Repeat for next buffer".
14271
14272 * info.el (Info-search): Add the search-failed message
14273 "end of the manual" when the end of the manual is reached
14274 in Isearch mode.
14275
645ca9cf
JL
142762011-11-19 Juri Linkov <juri@jurta.org>
14277
14278 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
14279 Use non-destructive `remove' instead of `delete' because
14280 `Info-history-list' stored to `Info-isearch-initial-history-list' in
14281 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
14282
df754f66
JL
142832011-11-19 Juri Linkov <juri@jurta.org>
14284
14285 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
14286 to nil instead of binding `search-ring' and `regexp-search-ring'.
14287 (Bug#9185)
14288
0e23d96a
EZ
142892011-11-19 Eli Zaretskii <eliz@gnu.org>
14290
14291 * simple.el (line-move): Force movement by logical lines for any
14292 hscrolled window, not only when auto-hscroll-mode is on.
14293 (line-move-visual): Update doc string to that effect. (Bug#10076)
14294
8a6ccb66
AS
142952011-11-19 Andreas Schwab <schwab@linux-m68k.org>
14296
14297 * language/european.el (macintosh): Define as alias for mac-roman.
14298
49ae5b39
EZ
142992011-11-19 Eli Zaretskii <eliz@gnu.org>
14300
14301 * mail/rmailmm.el (rmail-mime-display-header)
14302 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
14303 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
14304 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
14305 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
14306 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
14307 of a raw aref.
14308 (rmail-mime-entity-segment): To get past the tagline, move forward
14309 2 more lines, to account for the 2 empty lines that precede and
14310 follow the line with the buttons.
14311 (rmail-mime-update-tagline): Move one more line, to get past the
14312 empty line that follows the buttons in the tagline. (Bug#9520)
14313
c56cad4a
MR
143142011-11-19 Martin Rudalics <rudalics@gmx.at>
14315
14316 * window.el (window-max-delta-1, window-min-delta-1)
14317 (window-min-size-1, window-state-get-1, window-state-put-1)
14318 (window-state-put-2): Use "window--" prefix.
14319
cbe71af3
SM
143202011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
14321
2ad52c60
SM
14322 * emacs-lisp/smie.el: Improve warnings and conflict detection.
14323 (smie-warning-count): New var.
14324 (smie-set-prec2tab): Use it.
14325 (smie-bnf->prec2): Improve warnings. Add docstring.
14326 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
14327 (smie-bnf--set-class): New function.
14328 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
14329 corner case.
14330
6944dbc1
SM
14331 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
14332 (compilation-error-properties, compilation-move-to-column):
14333 Handle compilation-first-column while in the target buffer.
14334
c400c4d7
SM
14335 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
14336 Don't hardcode point-min==1.
14337
6dbe3e96
SM
14338 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
14339 (eshell-rewrite-for-command): Remove workaround.
14340 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
14341 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
14342 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
14343
cbe71af3
SM
14344 * files-x.el (modify-file-local-variable): Obey commenting conventions.
14345
a8e1496d
GM
143462011-11-17 Glenn Morris <rgm@gnu.org>
14347
14348 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
14349 Ignore buffer-local generated-autoload-file if it is the same
14350 as the global value. (Bug#10049)
14351
df85d315
JB
143522011-11-17 Juanma Barranquero <lekktu@gmail.com>
14353
14354 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
14355 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
14356 (reftex-toc-previous-heading, reftex-toc-max-level)
14357 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
14358 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
14359 (reftex-toc-do-promote, reftex-toc-promote-prepare)
14360 (reftex-toc-promote-action, reftex-toc-extract-section-number)
14361 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
14362 (reftex-toc-rename-label, reftex-toc-visit-location)
14363 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
14364 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
14365 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
14366 leaving "*toc*" only for references to the buffer.
14367
a0c2d0ae
MR
143682011-11-17 Martin Rudalics <rudalics@gmx.at>
14369
14370 * window.el (window-resize, delete-window, split-window):
14371 Replace window-splits by window-combination-resize.
1d00653d 14372 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 14373
35c0bac8
GM
143742011-11-17 Glenn Morris <rgm@gnu.org>
14375
14376 * progmodes/sh-script.el (sh-font-lock-keywords-var):
14377 Make bash entry derive from sh entry, not shell entry.
14378
d0c8fc8a
MA
143792011-11-16 Michael Albinus <michael.albinus@gmx.de>
14380
7262a87c
MA
14381 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
14382 local file name.
14383
7877f373
JB
143842011-11-16 Juanma Barranquero <lekktu@gmail.com>
14385
14386 * menu-bar.el (menu-bar-file-menu):
14387 * printing.el (pr-ps-utility):
14388 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
14389 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
14390 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
14391 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
14392 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
14393 (icalendar--convert-cyclic-to-ical)
14394 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
14395 (icalendar--convert-ical-to-diary)
14396 (icalendar--convert-recurring-to-diary)
14397 (icalendar--convert-non-recurring-all-day-to-diary)
14398 (icalendar-import-format-sample):
14399 * progmodes/idlw-shell.el (idlwave-shell-mode):
14400 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
14401 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
14402 (vhdl-ps-print-init): Fix typos.
14403
10649b82
KM
144042011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
14405
9d0cfcd6
GM
14406 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
14407 FSF and collapse date sequence, obscure author/maintainer email address
14408 better, remove extra version line, track relocation of author's webpage.
10649b82 14409
9d0cfcd6
GM
14410 * progmodes/python.el (python-pdbtrack-input-prompt)
14411 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
14412 regular python pdb prompts. Adjustments shamelessly taken exactly as
14413 suggested in EmacsWiki page (tiny change):
14414 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 14415
58179cce
JB
144162011-11-16 Juanma Barranquero <lekktu@gmail.com>
14417
14418 * expand.el (expand-pos, expand-index, expand-point):
14419 Remove redundant info from docstring.
14420 (expand-add-abbrevs): Doc fix.
14421 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
14422 (expand-sample-perl-mode-expand-list): Fix typos.
14423
14424 * net/dbus.el (dbus-event-member-name):
14425 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
14426 * term/pc-win.el (msdos-create-frame-with-faces):
14427 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
14428
b6f67890
MR
144292011-11-16 Martin Rudalics <rudalics@gmx.at>
14430
14431 * window.el (split-window, window-state-get-1)
14432 (window-state-put-1, window-state-put-2): Rename occurrences of
14433 window-nest to window-combination-limit.
1d00653d 14434 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 14435
ce7ddba0
CY
144362011-11-16 Chong Yidong <cyd@gnu.org>
14437
14438 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
14439 regexp (Bug#10033).
14440
3ae704f4
SM
144412011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
14442
14443 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
14444 `completing-read' will remove *Completions* and will preserve
14445 current-buffer for us.
14446 (tmm-add-prompt): Users of *Completions* will always (re)set its
14447 major mode.
14448 (tmm-old-comp-map): Remove.
14449
6ad1cdde
GM
144502011-11-16 Glenn Morris <rgm@gnu.org>
14451
14452 * mail/rmailedit.el: Require rmailmm when compiling.
14453 (rmail-old-mime-state): New declaration.
14454 (rmail-edit-current-message): If editing a mime message,
14455 edit the "raw" message from the mbox buffer.
14456 (rmail-cease-edit): Handle mime messages. (Bug#9840)
14457
d20faa20
GM
144582011-11-15 Glenn Morris <rgm@gnu.org>
14459
14460 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
14461 which wasn't being used. Add optional arg to force given state.
14462 (rmail-mime): Add optional arg to force given state.
14463
c7015153
JB
144642011-11-15 Juanma Barranquero <lekktu@gmail.com>
14465
14466 * allout.el (allout-encryption-plaintext-sanitization-regexps):
14467 * frame.el (display-mm-dimensions-alist):
14468 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
14469 (outline-move-subtree-down):
14470 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
14471 (newsticker--treeview-do-get-node):
14472 * net/quickurl.el (quickurl-list-buffer-name):
14473 * progmodes/dcl-mode.el (dcl-mode):
14474 * progmodes/gdb-mi.el (gdb-mapcar*):
14475 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
14476
45261b50
GM
144772011-11-15 Glenn Morris <rgm@gnu.org>
14478
14479 * mail/rmail.el (rmail-file-coding-system): It's only ever used
14480 in a boolean sense, so just make it a boolean, and fix the doc.
14481 (rmail-show-mime-function, rmail-mime-feature)
14482 (rmail-require-mime-maybe): Doc fixes.
14483 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
14484
14485 * mail/rmailmm.el (rmail-show-mime): Doc fix.
14486
0d26e0b6
JB
144872011-11-15 Juanma Barranquero <lekktu@gmail.com>
14488
14489 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
14490 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
14491 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
14492 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
14493
447f30f6
GM
144942011-11-15 Glenn Morris <rgm@gnu.org>
14495
672b871d
GM
14496 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
14497 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
14498 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
14499 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
14500 (rmail-mime, rmail-show-mime): Doc fixes.
14501
f6aa5bb1
GM
14502 * term/ns-win.el (mode-line-frame-identification):
14503 Leave it alone. (Bug#10051)
14504
947cd66b
GM
14505 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
14506
447f30f6
GM
14507 * mail/rmailout.el (rmail-output-to-rmail-buffer):
14508 Handle empty buffers. (Bug#9978)
14509
0b381c7e
JB
145102011-11-14 Juanma Barranquero <lekktu@gmail.com>
14511
14512 * international/mule.el (define-charset):
14513 * mail/rmailmm.el (rmail-mime-find-header-encoding):
14514 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
14515 * progmodes/verilog-mode.el (verilog-backward-token):
14516 * textmodes/ispell.el (lookup-words):
14517 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
14518
71e027ac
GM
145192011-11-14 Glenn Morris <rgm@gnu.org>
14520
56632ce4
GM
14521 * progmodes/executable.el
14522 (executable-make-buffer-file-executable-if-script-p):
14523 Handle file-modes returning nil.
14524
40500957
GM
14525 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
14526 message - not necessary, and causes problems. (Bug#9831)
14527
071c2340
GM
14528 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
14529
d3cfca60
GM
14530 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
14531
71e027ac
GM
14532 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
14533 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
14534 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
14535
89d61221
MR
145362011-11-12 Martin Rudalics <rudalics@gmx.at>
14537
14538 * window.el (window-resize, delete-window): Use window-splits
14539 variable instead of function.
14540 (window-state-get-1, window-state-put-2, window-state-put):
14541 Don't deal with windows' splits status.
14542
98282f6f
GM
145432011-11-12 Glenn Morris <rgm@gnu.org>
14544
14545 * apropos.el (apropos-do-all, apropos-library, apropos-value)
14546 (apropos-documentation): Doc fixes.
14547
40a8bdf6
JB
145482011-11-11 Juanma Barranquero <lekktu@gmail.com>
14549
14550 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
14551 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
14552
65bd19ff
SM
145532011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
14554
14555 * electric.el (electric-indent-post-self-insert-function): Make it
14556 possible for a char to only indent in some circumstances.
14557 (electric-indent-mode): Simplify.
14558
54f9154c
MR
145592011-11-11 Martin Rudalics <rudalics@gmx.at>
14560
14561 * window.el (windows-with-parameter): Remove unused function.
14562 (windows-at-side): Rename to window-at-side-list.
14563 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
14564 (window-side-check, window-size-ignore, window-size-fixed-1)
14565 (window-in-direction-2): Prefix with "window--".
14566 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 14567
68cbc58b
GM
145682011-11-11 Glenn Morris <rgm@gnu.org>
14569
14570 * subr.el (eval-after-load): If FILE is already loaded,
14571 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
14572
b2621720
GM
145732011-11-10 Glenn Morris <rgm@gnu.org>
14574
9a4de110
GM
14575 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
14576 Call svn via vc-svn-command rather than vc-do-command.
14577 (vc-svn-command): Add --non-interactive. (Bug#9993)
14578 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
14579
b2621720
GM
14580 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
14581 Add toggle-read-only. (Bug#7292)
14582 * files.el (toggle-read-only): Mention that it should only
14583 be used interactively. (Bug#10006)
14584
1dce7193
SM
145852011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
14586
d9ac1a1e
SM
14587 * progmodes/compile.el (compilation-error-regexp-alist-alist):
14588 Adjust regexp for OCaml warnings.
14589
0c325082
SM
14590 * electric.el (electric-pair-post-self-insert-function): Let user
14591 turn it off buffer-locally (bug#9932).
14592
90132c14
SM
14593 * progmodes/python.el (python-beginning-of-statement):
14594 Rewrite (bug#2703).
14595
1dce7193
SM
14596 * progmodes/compile.el: Better handle TABs (bug#9749).
14597 (compilation-internal-error-properties)
14598 (compilation-next-error-function): Obey the target buffer's
14599 compilation-error-screen-columns.
14600
c4e7c63a
JB
146012011-11-09 Juanma Barranquero <lekktu@gmail.com>
14602
14603 * progmodes/meta-mode.el: Remove obsolete comments.
14604 (meta-right-comment-regexp, meta-ignore-comment-regexp):
14605 Fix typos in docstrings.
14606
2cffd681
MR
146072011-11-09 Martin Rudalics <rudalics@gmx.at>
14608
14609 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 14610 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
14611 (window--resizable): New function. Make all callers of
14612 window-resizable call window--resizable instead.
14613 (window-resizable): Rewrite in terms of window--resizable.
14614
0edcba87
GM
146152011-11-08 Glenn Morris <rgm@gnu.org>
14616
14617 * progmodes/delphi.el (delphi-mode-syntax-table):
14618 Let define-derived-mode define a proper syntax table. (Bug#9994)
14619
4b0d61e3
SM
146202011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
14621
14622 * window.el: Stay away from defsubst.
14623 (window-list-no-nils): Remove.
14624 (window-state-get-1, window-state-get): Use backquote instead.
14625
cd394be1 146262011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 14627
4b0d61e3 14628 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 14629 Fix incorrect use of default argument in `completing-read'.
14630
e1c2c6f2
MR
146312011-11-08 Martin Rudalics <rudalics@gmx.at>
14632
14633 * window.el (display-buffer-function, special-display-function):
14634 Mention display-buffer-record-window but do not mention
14635 help-setup parameter in doc-strings.
b3f4a882 14636 (window-min-delta): Fix doc-string typo.
e1c2c6f2 14637
105216ed
CY
146382011-11-08 Chong Yidong <cyd@gnu.org>
14639
14640 * window.el (window-total-height, window-total-width): Doc fix.
14641 (window-body-size): Move from C.
14642 (window-body-height, window-body-width): Move to C.
14643
0a9f9ab5
SM
146442011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
14645
14646 * window.el: Make special-display like display-buffer-alist (bug#9532).
14647 (display-buffer--special-action): New function, morphed
14648 from display-buffer--special.
14649 (display-buffer): Use it to handle special-display-buffers at higher
14650 priority (just after display-buffer-alist).
14651 (display-buffer-fallback-action, display-buffer--other-frame-action)
14652 (pop-to-buffer-same-window): Remove display-buffer--special.
14653
a769dd15
GM
146542011-11-07 Glenn Morris <rgm@gnu.org>
14655
14656 * calendar/cal-menu.el (cal-menu-set-date-title):
14657 Do nothing if not in a calendar. (Bug#9976)
14658
05a61ee3
SM
146592011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
14660
14661 * files.el (find-file): Always use selected-window.
14662
be7f5545
MR
146632011-11-07 Martin Rudalics <rudalics@gmx.at>
14664
14665 * window.el (window-combinations): Make WINDOW argument
14666 mandatory. Rewrite doc-string.
14667 (walk-window-subtree, window-atom-check, window-min-delta)
14668 (window-max-delta, window--resize-this-window)
14669 (window--resize-root-window-vertically, window-tree)
14670 (balance-windows, window-state-put): Rewrite doc-strings as to
14671 not mention the term "subwindow".
14672 (window--resize-subwindows-skip-p): Rename to
14673 window--resize-child-windows-skip-p.
14674 (window--resize-subwindows-normal): Rename to
14675 window--resize-child-windows-normal.
14676 (window--resize-subwindows): Rename to
14677 window--resize-child-windows.
14678 (window-or-subwindow-p): Rename to window--in-subtree-p.
14679
3c6702ef
ML
146802011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
14681
14682 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
14683 Ensure that mbox format messages end in two newlines (Bug#9974).
14684
49745b39
CY
146852011-11-06 Chong Yidong <cyd@gnu.org>
14686
14687 * window.el (window-combination-p): Function deleted; its
14688 side-effect is not used in any existing code.
14689 (window-combinations, window-combined-p): Call window-*-child
14690 directly.
14691
24300f5f
CY
146922011-11-05 Chong Yidong <cyd@gnu.org>
14693
14694 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
14695 (window-size-ignore, window-state-get): Callers changed.
14696 (window-normalize-window): Rename from window-normalize-any-window.
14697 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 14698 (window-normalize-live-window): Delete.
447f16b8
CY
14699 (window-combination-p, window-combined-p, window-combinations)
14700 (walk-window-subtree, window-atom-root, window-min-size)
14701 (window-sizable, window-sizable-p, window-size-fixed-p)
14702 (window-min-delta, window-max-delta, window-resizable)
14703 (window-resizable-p, window-full-height-p, window-full-width-p)
14704 (window-current-scroll-bars, window-point-1, set-window-point-1)
14705 (window-at-side-p, window-in-direction, window-resize)
14706 (adjust-window-trailing-edge, maximize-window, minimize-window)
14707 (window-deletable-p, delete-window, delete-other-windows)
14708 (record-window-buffer, unrecord-window-buffer)
14709 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
14710 (quit-window, split-window, window-state-put)
14711 (set-window-text-height, fit-window-to-buffer)
14712 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 14713
89bd5ee1
EZ
147142011-11-04 Eli Zaretskii <eliz@gnu.org>
14715
53479029
EZ
14716 * mail/rmail.el (rmail-simplified-subject): Decode subject with
14717 rfc2047-decode-string.
14718 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
14719 warnings.
14720
89bd5ee1
EZ
14721 * window.el (window-body-height, window-body-width): Mention in
14722 the doc string that the return values are in frame's canonical
14723 units. (Bug#9949)
14724
bd17fdee
AM
147252011-11-03 Alan Mackenzie <acm@muc.de>
14726
14727 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
14728 change in cc-engine.el.
14729
acc825c5
SM
147302011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
14731
14732 * window.el (switch-to-buffer): Use `force-same-window' interactively.
14733
1885e5b8
MR
147342011-11-02 Martin Rudalics <rudalics@gmx.at>
14735
14736 * window.el (quit-window): Call unrecord-window-buffer after
14737 showing another buffer in the window. (Bug#9937)
acc825c5 14738 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 14739
ebe06da9
JB
147402011-11-02 Juanma Barranquero <lekktu@gmail.com>
14741
14742 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
14743 Accept status with more than 9 shelves. (Bug#9935)
14744 Reported by Colin D Bennett <colin@gibibit.com>.
14745
4ee88440
MR
147462011-11-01 Martin Rudalics <rudalics@gmx.at>
14747
14748 * help.el (with-help-window): Don't reference
14749 temp-buffer-show-specifiers in doc-string.
14750
08e1d82c
AS
147512011-10-31 Andreas Schwab <schwab@linux-m68k.org>
14752
14753 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
14754 menu-item.
14755
84bd6e9e
VJL
147562011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
14757
14758 * whitespace.el: New version 13.2.2.
14759 (whitespace-newline-mode): Disable properly. Reported by Sarah
14760 <EmacsWiki>.
14761
dba0634a
UJ
147622011-10-30 Ulf Jasper <ulf.jasper@web.de>
14763
14764 * net/newst-treeview.el: Remove "Time-stamp".
14765 (newsticker--group-manage-orphan-feeds): Do not call
14766 newsticker--treeview-tree-update.
db22a3c2
JB
14767 (newsticker-treeview-update, newsticker-treeview):
14768 Call newsticker--treeview-tree-update if necessary.
dba0634a 14769
3d8daefe
MR
147702011-10-30 Martin Rudalics <rudalics@gmx.at>
14771
14772 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
14773 (window-iso-combinations): Remove "iso-" infix.
14774 Suggested by Chong Yidong.
3d8daefe
MR
14775 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
14776 (window-max-delta-1, window-resize, window--resize-siblings)
14777 (window--resize-this-window, adjust-window-trailing-edge)
14778 (split-window, balance-windows-1)
14779 (shrink-window-if-larger-than-buffer):
14780 * calendar/calendar.el (calendar-generate-window):
db22a3c2 14781 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 14782
1bc4c3ae
SM
147832011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
14784
14785 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
14786 in place (bug#9907).
14787 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
14788 (eshell-rewrite-if-command, eshell-rewrite-for-command)
14789 (eshell-structure-basic-command, eshell-rewrite-while-command)
14790 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
14791 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
14792 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
14793 (eshell-do-pipelines-synchronously, eshell-eval-command):
14794 Use backquotes and prefer setq to set.
14795 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
14796 (eshell-macrop): Use functionp.
c1e2f5fa 14797 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 14798
30b65d9c
CY
147992011-10-30 Chong Yidong <cyd@gnu.org>
14800
14801 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
14802 instead of set-mark (Bug#9810).
14803
2d197ffb
CY
148042011-10-30 Chong Yidong <cyd@gnu.org>
14805
14806 * window.el (split-window-below, split-window-right): Rename from
14807 split-window-above-each-other and split-window-side-by-side
14808 respectively. All callers changed.
14809 (split-window-sensibly, split-window-sensibly): Use them.
14810 (split-window-keep-point): Doc fix.
14811
14812 * isearch.el: Add isearch-scroll property to split-window-below
14813 and split-window-right.
14814
14815 * follow.el (follow-mode):
14816 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
14817 * progmodes/ada-xref.el (ada-gdb-application):
14818 * emulation/vip.el (vip-buffer-in-two-windows):
14819 * image-dired.el (image-dired-dired-with-window-configuration):
14820 * dired-x.el (dired-do-find-marked-files):
14821 * dired.el (dired-pop-to-buffer):
14822 * bs.el (bs--show-with-configuration):
14823 * vc/emerge.el (emerge-setup-windows):
14824 * textmodes/two-column.el (2C-two-columns):
14825 * textmodes/reftex-toc.el (reftex-toc):
14826 * progmodes/gdb-mi.el (gdb-setup-windows):
14827 * progmodes/fortran.el (fortran-window-create):
14828 * net/newst-treeview.el (newsticker--treeview-window-init):
14829 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
14830 * emulation/tpu-edt.el (tpu-gold-map):
14831 * emulation/crisp.el (crisp-mode-map):
14832 * calendar/calendar.el (calendar-basic-setup): Callers changed.
14833
38bb2ca8
CY
148342011-10-29 Chong Yidong <cyd@gnu.org>
14835
aa4de341
CY
14836 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
14837
e1eb5385
CY
14838 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
14839
5d2ece3c
CY
14840 * textmodes/flyspell.el (flyspell-word): Fix char offset for
14841 forged Ispell output (Bug#7904).
14842
38bb2ca8
CY
14843 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
14844
d0af9f77
SM
148452011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
14846
14847 * doc-view.el: Avoid ugly errors about not finding nil.
14848 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
14849 (doc-view-dvipdf-program, doc-view-unoconv-program)
14850 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
14851 Avoid nil or absolute file name as default value.
14852 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
14853
52bedd34
AM
148542011-10-28 Alan Mackenzie <acm@muc.de>
14855
db22a3c2 14856 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 14857
7e43cfa5
AM
148582011-10-28 Alan Mackenzie <acm@muc.de>
14859
14860 Amend the handling of c-beginning/end-of-defun in nested declaration
14861 scopes.
14862
52bedd34
AM
14863 * progmodes/cc-vars.el (c-defun-tactic): Move here from
14864 cc-langs.el. Change it to a defcustom.
7e43cfa5 14865
52bedd34
AM
14866 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
14867 cc-vars.el.
7e43cfa5 14868
d0af9f77
SM
14869 * progmodes/cc-engine.el (c-beginning-of-statement-1):
14870 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 14871
52bedd34 14872 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 14873 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
14874 (c-widen-to-enclosing-decl-scope): New function.
14875 (c-while-widening-to-decl-block): New macro.
14876 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
14877 outward for defun boundaries, and correspondingly change symbol
14878 `respect-enclosure' to `go-outward'.
14879 (c-declaration-limits): Change algorithm to report only the "innermost"
14880 defun's boundaries.
14881
1a2ce9ee
DD
148822011-10-28 Deniz Dogan <deniz@dogan.se>
14883
14884 * net/rcirc.el (rcirc-mode): Use hard newlines.
14885
bc97a826
AM
148862011-10-28 Alan Mackenzie <acm@muc.de>
14887
14888 Amend to indent and fontify macros "which include their own semicolon"
14889 correctly, using the "virtual semicolon" mechanism.
14890
52bedd34 14891 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 14892
d0af9f77 14893 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 14894 Recode to scan one line at a time rather than having \n and \r
58179cce 14895 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 14896 (c-forward-label): Amend for virtual semicolons.
58179cce 14897 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 14898
52bedd34
AM
14899 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
14900 of the new C macros.
bc97a826 14901
52bedd34 14902 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
14903 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
14904 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
14905 (c-opt-cpp-macro-define): Make into a full language variable.
14906 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
14907 AWK Mode (including \n, \r) removed, no longer needed.
14908
d0af9f77
SM
14909 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
14910 Invoke c-make-macro-with-semi-re.
bc97a826 14911
52bedd34
AM
14912 * progmodes/cc-vars.el (c-macro-with-semi-re):
14913 (c-macro-names-with-semicolon): New variables.
58179cce 14914 (c-make-macro-with-semi-re): New function.
bc97a826 14915
7a6c0941
SM
149162011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
14917
14918 * vc/log-edit.el: Fill empty field rather than adding new one.
14919 (log-edit-add-field): New function.
14920 (log-edit-insert-changelog): Use it.
14921
b0c4cdcf
ML
149222011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
14923
14924 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
14925
ee1f1da9
SM
149262011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
14927
14928 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
14929 (gdb--check-interpreter): New function.
14930 (gdb): Use it.
14931
51bc5f8b
GM
149322011-10-27 Glenn Morris <rgm@gnu.org>
14933
416a2c45
GM
14934 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
14935 (least-positive-float, least-negative-float)
14936 (least-positive-normalized-float, least-negative-normalized-float)
14937 (float-epsilon, float-negative-epsilon):
14938 Remove unnecessary declarations.
14939
14940 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
14941 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
14942 (least-positive-float, least-negative-float)
14943 (least-positive-normalized-float, least-negative-normalized-float)
14944 (float-epsilon, float-negative-epsilon): Add doc-strings,
14945 based on those in cl.texi.
14946
51bc5f8b
GM
14947 * files.el (set-visited-file-name): If the major-mode changed,
14948 reload the local variables. (Bug#9796)
14949
15de15c6
CY
149502011-10-27 Chong Yidong <cyd@gnu.org>
14951
14952 * subr.el (change-major-mode-after-body-hook): New hook.
14953 (run-mode-hooks): Run it.
14954
ee1f1da9
SM
14955 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
14956 Use change-major-mode-before-body-hook.
15de15c6
CY
14957
14958 * simple.el (fundamental-mode):
14959 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
14960 change introducing fundamental-mode-hook.
14961
5430d399
JB
149622011-10-26 Juanma Barranquero <lekktu@gmail.com>
14963
acc825c5 14964 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 14965
ad74a69e
MA
149662011-10-26 Michael Albinus <michael.albinus@gmx.de>
14967
14968 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 14969 tramp.el explicitly. (Bug#7583)
ad74a69e 14970
71d4c2a5
SM
149712011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
14972
14973 * progmodes/octave-mod.el:
14974 * progmodes/octave-inf.el: Update maintainer.
14975
b1f6fa26
CY
149762011-10-26 Chong Yidong <cyd@gnu.org>
14977
14978 * subr.el (with-wrapper-hook): Rewrite doc.
14979
3f04efd6
MA
149802011-10-25 Michael Albinus <michael.albinus@gmx.de>
14981
14982 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 14983 filenames "/method:foo:". (Bug#9793)
3f04efd6 14984
410488d3
SM
149852011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
14986
14987 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
14988 (bug#9865).
14989
c1ebb47e
GM
149902011-10-24 Glenn Morris <rgm@gnu.org>
14991
14992 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
14993
7f5c46c7
MA
149942011-10-24 Michael Albinus <michael.albinus@gmx.de>
14995
14996 * notifications.el: Add the requirement of a running D-Bus session
14997 bus to the Commentary.
14998
db2440b6
JL
149992011-10-24 Juri Linkov <juri@jurta.org>
15000
15001 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
15002 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
15003 (Bug#9364)
15004
feecf435
JL
150052011-10-24 Juri Linkov <juri@jurta.org>
15006
15007 * info.el (Info-following-node-name-re): Add newline to the list
15008 of allowed characters for leading space. (Bug#9824)
15009
a3839de2
SM
150102011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
15011
acc825c5
SM
15012 * progmodes/octave-inf.el (inferior-octave-mode-map):
15013 Fix C-c C-h binding.
a3839de2
SM
15014 * progmodes/octave-mod.el (octave-help): Remove.
15015
09388e76
MA
150162011-10-23 Michael Albinus <michael.albinus@gmx.de>
15017
15018 Sync with Tramp 2.2.3.
15019
15020 * net/tramp-cache.el (top): Pacify byte-compiler using
15021 `init-file-user' and `site-run-file'.
15022
15023 * net/trampver.el: Update release number.
15024
86c60681
CY
150252011-10-23 Chong Yidong <cyd@gnu.org>
15026
15027 * files.el (toggle-read-only): Remove obsolete comment about
15028 version control.
15029
15030 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
15031 for toggle-read-only. Note that this hasn't called vc-next-action
15032 since 2008-05-02, though it wasn't documented at the time.
15033
a3839de2
SM
15034 * vc/ediff-init.el (ediff-toggle-read-only-function):
15035 Use toggle-read-only.
86c60681 15036
cd5495ff
AM
150372011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
15038
15039 Fix bug #9560, sporadic wrong indentation; improve instrumentation
15040 of c-parse-state.
15041
00b77525 15042 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 15043 correct faulty logical expression.
cd5495ff
AM
15044 (c-parse-state-state, c-record-parse-state-state):
15045 (c-replay-parse-state-state): New defvar/defuns.
15046 (c-debug-parse-state): Use new functions.
15047
42ee24ed
MR
150482011-10-22 Martin Rudalics <rudalics@gmx.at>
15049
15050 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 15051 last fix. Use window-in-direction correctly.
42ee24ed 15052
a7dee7e7
CY
150532011-10-21 Chong Yidong <cyd@gnu.org>
15054
15055 * progmodes/idlwave.el (idlwave-mode):
15056 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
15057 require-final-newline; that's done in prog-mode.
15058 Suggested by Stefan Monnier.
a7dee7e7 15059
e07b9a6d
MR
150602011-10-21 Martin Rudalics <rudalics@gmx.at>
15061
15062 * mouse.el (mouse-drag-window-above)
15063 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
15064 (mouse-drag-mode-line-1, mouse-drag-header-line)
15065 (mouse-drag-vertical-line-rightward-window): Remove.
15066 (mouse-drag-line): New function.
15067 (mouse-drag-mode-line, mouse-drag-header-line)
15068 (mouse-drag-vertical-line): Call mouse-drag-line.
15069 * window.el (window-at-side-p, windows-at-side): New functions.
15070
7e1361d9
UM
150712011-10-21 Ulrich Mueller <ulm@gentoo.org>
15072
15073 * tar-mode.el (tar-grind-file-mode):
15074 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
15075
30fcaf3a
CY
150762011-10-21 Chong Yidong <cyd@gnu.org>
15077
15078 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
15079 * progmodes/vera-mode.el (vera-mode):
15080 Use mode-require-final-newline.
30fcaf3a 15081
516eddb0
GM
150822011-10-20 Glenn Morris <rgm@gnu.org>
15083
db22a3c2 15084 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 15085
10d5f513
CS
150862011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
15087
15088 * emulation/cua-base.el (cua-set-mark): Fix case of string.
15089
ac6c8639
CY
150902011-10-20 Chong Yidong <cyd@gnu.org>
15091
15092 * emulation/cua-base.el (cua-mode):
15093 * mail/footnote.el (footnote-mode):
15094 * mail/mailabbrev.el (mail-abbrevs-mode):
15095 * net/xesam.el (xesam-minor-mode):
15096 * progmodes/bug-reference.el (bug-reference-mode):
15097 * progmodes/cap-words.el (capitalized-words-mode):
15098 * progmodes/compile.el (compilation-minor-mode)
15099 (compilation-shell-minor-mode):
15100 * progmodes/gud.el (gud-tooltip-mode):
15101 * progmodes/hideif.el (hide-ifdef-mode):
15102 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
15103 * progmodes/subword.el (subword-mode):
15104 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
15105 * progmodes/which-func.el (which-function-mode):
15106 * term/tvi970.el (tvi970-set-keypad-mode):
15107 * term/vt100.el (vt100-wide-mode):
15108 * textmodes/flyspell.el (flyspell-mode):
15109 * textmodes/ispell.el (ispell-minor-mode):
15110 * textmodes/nroff-mode.el (nroff-electric-mode):
15111 * textmodes/paragraphs.el (use-hard-newlines):
15112 * textmodes/refill.el (refill-mode):
15113 * textmodes/reftex.el (reftex-mode):
15114 * textmodes/rst.el (rst-minor-mode):
15115 * textmodes/sgml-mode.el (html-autoview-mode)
15116 (sgml-electric-tag-pair-mode):
15117 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
15118 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
15119 * emulation/crisp.el (crisp-mode):
15120 * emacs-lisp/eldoc.el (eldoc-mode):
15121 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
15122 minor mode behavior.
15123
aa42ab43
JL
151242011-10-19 Juri Linkov <juri@jurta.org>
15125
15126 * descr-text.el (describe-char): Add #x2010 and #x2011 to
15127 the list of hard-coded chars with escape-glyph face.
15128
89400f1d
SM
151292011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
15130
15131 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
15132
305c07f6
MA
151332011-10-19 Michael Albinus <michael.albinus@gmx.de>
15134
15135 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
15136 running process.
15137
13754b54
GM
151382011-10-19 Glenn Morris <rgm@gnu.org>
15139
15140 * vc/vc-bzr.el (vc-bzr-after-dir-status):
15141 Ignore ignored files. (Bug#9726)
15142
06e21633
CY
151432011-10-19 Chong Yidong <cyd@gnu.org>
15144
15145 Doc fix for minor modes, stating that an omitted argument enables
15146 the mode unconditionally when called from Lisp.
15147
15148 * abbrev.el (abbrev-mode):
15149 * allout.el (allout-mode):
15150 * autoinsert.el (auto-insert-mode):
15151 * autoarg.el (autoarg-mode, autoarg-kp-mode):
15152 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
15153 (global-auto-revert-mode):
15154 * battery.el (display-battery-mode):
15155 * composite.el (global-auto-composition-mode)
15156 (auto-composition-mode):
15157 * delsel.el (delete-selection-mode):
15158 * desktop.el (desktop-save-mode):
15159 * dired-x.el (dired-omit-mode):
15160 * dirtrack.el (dirtrack-mode):
15161 * doc-view.el (doc-view-minor-mode):
15162 * double.el (double-mode):
15163 * electric.el (electric-indent-mode, electric-pair-mode):
15164 * emacs-lock.el (emacs-lock-mode):
15165 * epa-hook.el (auto-encryption-mode):
15166 * follow.el (follow-mode):
15167 * font-core.el (font-lock-mode):
15168 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
15169 * help.el (temp-buffer-resize-mode):
15170 * hilit-chg.el (highlight-changes-mode)
15171 (highlight-changes-visible-mode):
15172 * hi-lock.el (hi-lock-mode):
15173 * hl-line.el (hl-line-mode, global-hl-line-mode):
15174 * icomplete.el (icomplete-mode):
15175 * ido.el (ido-everywhere):
15176 * image-file.el (auto-image-file-mode):
15177 * image-mode.el (image-minor-mode):
15178 * iswitchb.el (iswitchb-mode):
15179 * jka-cmpr-hook.el (auto-compression-mode):
15180 * linum.el (linum-mode):
15181 * longlines.el (longlines-mode):
15182 * master.el (master-mode):
15183 * mb-depth.el (minibuffer-depth-indicate-mode):
15184 * menu-bar.el (menu-bar-mode):
15185 * minibuf-eldef.el (minibuffer-electric-default-mode):
15186 * mouse-sel.el (mouse-sel-mode):
15187 * msb.el (msb-mode):
15188 * mwheel.el (mouse-wheel-mode):
15189 * outline.el (outline-minor-mode):
15190 * paren.el (show-paren-mode):
15191 * recentf.el (recentf-mode):
15192 * reveal.el (reveal-mode, global-reveal-mode):
15193 * rfn-eshadow.el (file-name-shadow-mode):
15194 * ruler-mode.el (ruler-mode):
15195 * savehist.el (savehist-mode):
15196 * scroll-all.el (scroll-all-mode):
15197 * scroll-bar.el (scroll-bar-mode):
15198 * server.el (server-mode):
15199 * shell.el (shell-dirtrack-mode):
15200 * simple.el (auto-fill-mode, transient-mark-mode)
15201 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
15202 (line-number-mode, column-number-mode, size-indication-mode)
15203 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
15204 * strokes.el (strokes-mode):
15205 * time.el (display-time-mode):
15206 * t-mouse.el (gpm-mouse-mode):
15207 * tool-bar.el (tool-bar-mode):
15208 * tooltip.el (tooltip-mode):
15209 * type-break.el (type-break-mode-line-message-mode)
15210 (type-break-query-mode):
15211 * view.el (view-mode):
15212 * whitespace.el (whitespace-mode, whitespace-newline-mode)
15213 (global-whitespace-mode, global-whitespace-newline-mode):
15214 * xt-mouse.el (xterm-mouse-mode): Doc fix.
15215
a3839de2
SM
15216 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
15217 Fix autogenerated docstring.
06e21633 15218
5214e501
JL
152192011-10-19 Juri Linkov <juri@jurta.org>
15220
15221 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
15222 by checking environment variables "DESKTOP_SESSION" and
15223 "XDG_CURRENT_DESKTOP". (Bug#9779)
15224
195f8db9
JL
152252011-10-19 Juri Linkov <juri@jurta.org>
15226
15227 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
15228 (browse-url-chromium-program, browse-url-chromium-arguments):
15229 New defcustoms.
15230 (browse-url-default-browser): Check for `browse-url-chromium' and
15231 call `browse-url-chromium-program'.
15232 (browse-url-chromium): New command. (Bug#9779)
15233
343a34ff
JB
152342011-10-18 Juanma Barranquero <lekktu@gmail.com>
15235
15236 * facemenu.el (list-colors-duplicates): On Windows, detect more
15237 duplicates by assuming that only colors matching "^System" are
15238 special "system colors". (Bug#9722)
15239
6978a151
SM
152402011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
15241
15242 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
15243 to distinguish the author from the committer.
15244
6a80b297
MA
152452011-10-18 Michael Albinus <michael.albinus@gmx.de>
15246
15247 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
15248
b31a5677
JK
152492011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
15250
15251 * international/mule.el (sgml-html-meta-auto-coding-function):
15252 Add support for detecting encoding in HTML5 specified only as
15253 <meta charset="UTF-8">. Implementation just makes http-equiv and
15254 content-type parts from HTML4 encoding string optional. (Bug#9716)
15255
80c6d77f
GM
152562011-10-18 Glenn Morris <rgm@gnu.org>
15257
15258 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
15259
08b0fee8
CY
152602011-10-18 Chong Yidong <cyd@gnu.org>
15261
15262 * faces.el (cursor): Doc fix.
15263
67e729a5
CY
152642011-10-17 Chong Yidong <cyd@gnu.org>
15265
15266 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
15267
343a34ff 152682011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
15269
15270 * dirtrack.el (dirtrack): Support shell buffers with path
15271 prefixes, e.g. tramp-based remote shells. (Bug#9647)
15272
0bc06380
TZ
152732011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
15274
15275 * json.el: Bump version to 1.3 and note change in History.
15276 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
15277
8b79f3e0
SM
152782011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
15279
5a7c536b
SM
15280 * comint.el (comint-insert-input, comint-send-input)
15281 (comint-get-old-input-default, comint-backward-matching-input)
15282 (comint-next-prompt): Use nil instead of `input' for field property of
15283 past user input (bug#114).
15284
96a8a0df
SM
15285 * minibuffer.el (completion--replace): Inherit surrounding properties
15286 (bug#114).
15287 (minibuffer-complete-and-exit): Use it.
15288
8b79f3e0
SM
15289 * comint.el (comint--table-subvert): Quote the all-completions output
15290 (bug#9160).
15291
b8f7ff0d
MR
152922011-10-17 Martin Rudalics <rudalics@gmx.at>
15293
8b79f3e0 15294 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 15295
b8f7ff0d 15296 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 15297 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
15298 entries and separate them from frame entries.
15299
c235b555
GM
153002011-10-15 Glenn Morris <rgm@gnu.org>
15301
15302 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
15303 Doc fixes.
15304
6bbfa6e1
CY
153052011-10-15 Chong Yidong <cyd@stupidchicken.com>
15306
8b79f3e0
SM
15307 * net/network-stream.el (network-stream-open-starttls):
15308 Improve detection of failure due to lack of TLS support.
ec5c990d 15309
6bbfa6e1
CY
15310 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
15311 putting the input text in front and in bold.
15312
98488977
SM
153132011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
15314
3d1337be
SM
15315 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
15316
ee0b45e4
SM
15317 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
15318 empty buffer.
15319
98488977
SM
15320 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
15321 unread-command-events rather than pushing yet-another event.
15322
186f4720
EZ
153232011-10-14 Eli Zaretskii <eliz@gnu.org>
15324
15325 * mail/sendmail.el (sendmail-query-once): Improve the wording of
15326 the explanation of the possible choices. Make the options passed
15327 to completing-read shorter.
15328
8b7a997c
AM
153292011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
15330
15331 * textmodes/flyspell.el (flyspell-large-region): Make sure
15332 extended character mode is used if defined (Bug#1339).
15333
12587bbb
EZ
153342011-10-13 Eli Zaretskii <eliz@gnu.org>
15335
15336 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
15337 character info for LRE, LRO, RLE, and RLO characters by appending
15338 an invisible PDF.
12587bbb 15339
bad41229
SM
153402011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
15341
15342 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
15343 even in case of error; add debug spec; simplify data flow.
15344 (with-timeout-handler): Remove.
15345
28dbc92f
MA
153462011-10-12 Michael Albinus <michael.albinus@gmx.de>
15347
15348 Fix Bug#6019, Bug#9315.
15349
15350 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
15351 complete `buffer-file-name', the local file name part could look
15352 remotely (for example on VMS).
15353
15354 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
15355 `tramp-run-real-handler'.
15356 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
15357 already quoted by '"'.
15358
15359 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
15360 Let `file-name-handler-alist' be nil, the local file name part
15361 could look remotely (for example on VMS).
15362
e1b0b23a
SM
153632011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
15364
15365 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
15366 from here...
15367 (flyspell-post-command-hook): ...to here.
15368
a120bde9
SM
153692011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
15370
15371 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
15372 if not needed.
15373 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
15374 using completion. Protect against "slow" callers.
15375 Remove the "message hack".
15376
7ce7717b
JL
153772011-10-11 Juri Linkov <juri@jurta.org>
15378
15379 * isearch.el (isearch-lazy-highlight-word): New variable.
15380 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
15381 Use it. (Bug#9727)
15382
c02ee9d6
GM
153832011-10-11 Glenn Morris <rgm@gnu.org>
15384
15385 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
15386 like f90-previous-statement does.
15387
93e616fd 153882011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15389
1f190e73 15390 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
15391 only in interactive use, to avoid error.
15392
af7b6078
SM
153932011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
15394
15395 * minibuffer.el (completion-file-name-table): Fix last change,
15396 i.e. ignore normal errors but not the other ones.
15397
0563dae9
MR
153982011-10-10 Martin Rudalics <rudalics@gmx.at>
15399
15400 * window.el (special-display-buffer-names)
15401 (special-display-regexps): Remove some remnants of earlier
15402 changes from doc-strings.
366ca7f3
MR
15403 (quit-windows-on): New function.
15404
15405 * vc/vc.el (vc-revert, vc-rollback):
15406 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
15407 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 15408 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 15409
49677495
MR
154102011-10-09 Martin Rudalics <rudalics@gmx.at>
15411
15412 * window.el (frame-auto-hide-function): Add version tag.
15413 (Bug#9699)
15414
56f2d1e1
MA
154152011-10-09 Michael Albinus <michael.albinus@gmx.de>
15416
15417 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
15418 condition.
15419
112a6592
LL
154202011-10-09 Leo Liu <sdl.web@gmail.com>
15421
15422 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
15423 (Bug#9701)
15424
0812589b
GM
154252011-10-08 Glenn Morris <rgm@gnu.org>
15426
15427 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
15428 before the first code statement zero indent. (Bug#9690)
15429
b2b0776e
CY
154302011-10-08 Chong Yidong <cyd@stupidchicken.com>
15431
15432 * simple.el (count-words-region): Always count in the region.
15433 Report the number of lines and characters too.
15434 (count-words): New command, which counts in the buffer if the
15435 region is inactive, as count-words-region used to.
15436 (count-words--message): New function. Handle plurals.
15437 (count-lines-region): Make it an alias for count-words-region.
15438
15439 * bindings.el (esc-map): Replace count-lines-region with
15440 count-words-region.
15441
c557cd6b
MR
154422011-10-08 Martin Rudalics <rudalics@gmx.at>
15443
15444 * window.el (window--delete): Delete dedicated frame
15445 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 15446 (switch-to-buffer): Fix doc-string typo.
c557cd6b 15447
61a57ef4 154482011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15449
3a7d293b 15450 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 15451
c3833279
CY
154522011-10-07 Chong Yidong <cyd@stupidchicken.com>
15453
15454 * bindings.el ([M-left],[M-right]): Bind to left-word and
15455 right-word respectively.
15456
21ce8245
GM
154572011-10-07 Glenn Morris <rgm@gnu.org>
15458
15459 * cus-start.el (debug-on-quit): Fix custom type.
15460
6d823bb2
LMI
154612011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
15462
0181e193
LMI
15463 * subr.el (define-key-after): Clarify that the function is not
15464 useful for non-menu keymaps.
15465
6d823bb2
LMI
15466 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
15467
8e3459ce 154682011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15469
21ce8245 15470 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 15471 in current minibuffer (Fix bug with recursive minibuffers).
15472
a1c2d21e
CY
154732011-10-06 Chong Yidong <cyd@stupidchicken.com>
15474
15475 * progmodes/gdb-mi.el (gdb): Doc fix.
15476
5a4cf282
MR
154772011-10-05 Martin Rudalics <rudalics@gmx.at>
15478
15479 * window.el (frame-auto-hide-function): New option replacing
15480 frame-auto-delete. Suggested by Stefan Monnier.
15481 (window--delete): Call frame-auto-hide-function instead of
15482 investigating frame-auto-delete.
c96111ea
MR
15483 (window-point-1, set-window-point-1): New functions.
15484 (window-in-direction, record-window-buffer, window-state-get-1)
15485 (display-buffer-record-window): Use window-point-1 instead of
15486 window-point.
15487 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 15488
9854542e
SM
154892011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
15490
15491 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
15492
8943cfb0
GM
154932011-10-05 Glenn Morris <rgm@gnu.org>
15494
15495 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
15496 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
15497
647ab967
LL
154982011-10-05 Leo Liu <sdl.web@gmail.com>
15499
15500 * subr.el (read-char-choice): Fix argument to buffer-live-p which
15501 works with buffer object.
15502
3ddfbced
SM
155032011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
15504
15505 * mpc.el (mpc-tool-bar-map): Add labels.
15506
bdfa5dd2
GM
155072011-10-04 Glenn Morris <rgm@gnu.org>
15508
15509 * calendar/holidays.el (calendar-check-holidays): Doc fix.
15510
0e2070b5
MR
155112011-10-04 Martin Rudalics <rudalics@gmx.at>
15512
15513 * window.el (window--delete): New function.
15514 (frame-auto-delete): Resuscitate option.
15515 (bury-buffer, replace-buffer-in-windows)
15516 (quit-window): Rewrite using window--delete.
15517 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
15518 Pass display-buffer-mark-dedicated to window--display-buffer-2
15519 (Bug#9639).
15520
3dc61a09
SM
155212011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
15522
915a9b64
SM
15523 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
15524 returns a list (bug#9554). Add remote file name completion.
15525 * comint.el (comint--table-subvert): Curry and get quote&unquote
15526 functions as arguments.
15527 (comint--complete-file-name-data): Adjust call accordingly.
15528 * pcomplete.el (pcomplete--table-subvert): Remove.
15529 (pcomplete-completions-at-point): Use comint--table-subvert instead.
15530
3dc61a09
SM
15531 * minibuffer.el (completion-table-case-fold): Use currying.
15532 (completion--styles-type, completion--cycling-threshold-type):
15533 New constants.
15534 (completion-styles, completion-category-overrides)
15535 (completion-cycle-threshold): Use them.
15536 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
15537 completion-table-case-fold.
15538
8ea0a993
SB
155392011-10-03 Stephen Berman <stephen.berman@gmx.net>
15540
15541 * minibuffer.el (completion-category-overrides): Fix type of styles
15542 and add more user friendly tags (bug#9660).
15543
8c24b7f6
SM
155442011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
15545
15546 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
15547 (mule-input-method-string): New widget.
15548 (default-input-method, language-info-custom-alist): Use it.
15549
428fe61a
SM
155502011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
15551
32c1fffd
SM
15552 * pcomplete.el: Require comint.
15553 (pcomplete--common-suffix): Remove.
15554 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
15555 (pcomplete--table-subvert): Sync with comint--table-subvert.
15556 (pcomplete--entries): Use comint-completion-file-name-table.
15557 * comint.el (comint-unquote-filename): Simplify.
15558 (comint-completion-file-name-table): New function (bug#9616).
15559 (comint--complete-file-name-data): Use it.
15560
428fe61a
SM
15561 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
15562 (pcmpl-gnu-tar-buffer): Remove.
15563 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
15564 around. Make sure pcomplete-suffix-list is only changed temporarily.
15565 Don't look inside the tar's file if it's too large.
428fe61a 15566
04c52e2f
CY
155672011-10-01 Chong Yidong <cyd@stupidchicken.com>
15568
ce3cefcc
CY
15569 * cus-edit.el (custom-mode-map):
15570 * epa.el (epa-key-list-mode-map):
15571 * man.el (Man-mode-map):
15572 * startup.el (splash-screen-keymap):
15573 * simple.el (special-mode-map): Use scroll-up-command and
15574 scroll-down-command.
15575
15576 * progmodes/idlw-help.el (idlwave-help-mode-map):
15577 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
15578 * net/newst-plainview.el (newsticker-mode-map):
15579 * emulation/ws-mode.el (wordstar-mode-map):
15580 * emulation/vi.el (vi-com-map):
15581 * calc/calc-graph.el (calc-graph-show-dumb):
15582 * term/sun.el (terminal-init-sun):
15583 * term/ns-win.el (global-map):
15584 * progmodes/grep.el (grep-mode-map):
15585 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
15586 * mail/rmail.el (rmail-mode-map):
15587 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
15588
04c52e2f
CY
15589 * custom.el (custom-safe-themes, load-theme): Treat value of t for
15590 custom-safe-themes as special.
15591
79adf8c8
JD
155922011-10-01 Julien Danjou <julien@danjou.info>
15593
15594 * notifications.el (notifications-notify): Fix docstring.
15595
63bd50d3
PS
155962011-10-01 Per Starbäck <per@starback.se>
15597
15598 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
15599
199e4c7e
MR
156002011-09-30 Martin Rudalics <rudalics@gmx.at>
15601
15602 * startup.el (command-line-1): Fix last fix by inserting
15603 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 15604 (Bug#9605) and (Bug#9636)
199e4c7e 15605
fe5f08dd
EZ
156062011-09-29 Eli Zaretskii <eliz@gnu.org>
15607
15608 * simple.el (line-move): If auto-hscroll-mode is disabled and the
15609 window is hscrolled, move by logical lines. (Bug#9607)
15610 (line-move-visual): Update the doc string to the above effect.
15611
b5516bbd
MR
156122011-09-29 Martin Rudalics <rudalics@gmx.at>
15613
ccee00c0
MR
15614 * window.el (display-buffer-record-window): When WINDOW is the
15615 selected window use `point' instead of `window-point'. (Bug#9626)
15616
b5516bbd
MR
15617 * startup.el (command-line-1): Use insert-before-markers when
15618 inserting initial-scratch-message. (Bug#9605)
ccee00c0 15619
b5516bbd
MR
15620 * help.el (help-window): Remove variable.
15621
52aa0014
GM
156222011-09-29 Glenn Morris <rgm@gnu.org>
15623
15624 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
15625
df9a7357
JB
156262011-09-29 Juanma Barranquero <lekktu@gmail.com>
15627
15628 * descr-text.el (describe-char-categories): Accept category
15629 descriptions more than one line long.
15630
a8406c20
SM
156312011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
15632
88d9610c
SM
15633 * simple.el (delete-trailing-whitespace): Fix last change.
15634
a5daf810
SM
15635 * progmodes/perl-mode.el (perl-syntax-propertize-function):
15636 Don't confuse "y => 3" as the beginning of a `y' operation.
15637
a8406c20
SM
15638 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
15639 object has more than 4 slots (bug#9613).
15640
a239d4e9
JB
156412011-09-28 Juanma Barranquero <lekktu@gmail.com>
15642
15643 * subr.el (with-output-to-temp-buffer):
15644 * net/quickurl.el (quickurl, quickurl-browse-url):
15645 Fix typos in docstrings.
15646
693fbdb6
EZ
156472011-09-27 Eli Zaretskii <eliz@gnu.org>
15648
15649 * minibuffer.el (completion-styles)
15650 (completion-category-overrides): Cross reference each other in doc
15651 strings.
15652
8b457e28
GM
156532011-09-27 Glenn Morris <rgm@gnu.org>
15654
15655 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
15656 to split-string. (Bug#9606)
15657
85a16208
LMI
156582011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
15659
15660 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
15661 (bug#9615).
15662
502f9ebd
CY
156632011-09-27 Chong Yidong <cyd@stupidchicken.com>
15664
15665 * emacs-lisp/package.el (list-packages): Fix echo area message.
15666
7690bdea
LL
156672011-09-27 Leo Liu <sdl.web@gmail.com>
15668
15669 * ido.el (ido-read-internal): Accept cons cell HIST arg.
15670
e2ee6f30
MA
156712011-09-25 Michael Albinus <michael.albinus@gmx.de>
15672
15673 * net/dbus.el (dbus-unregister-object): Don't release services for
15674 registered signals. (Bug#9581)
15675
f3f98342
TZ
156762011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
15677
15678 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
15679 function that picks between cfengine 2 and 3 support
15680 automatically. Update docs accordingly.
15681
dd7aa8dd
KH
156822011-09-22 Kenichi Handa <handa@m17n.org>
15683
15684 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
15685 ZERO.
15686 (indian-itrans-v5-table-for-tamil): New variable.
15687 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
15688
3f2b07f8
KM
156892011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
15690
15691 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
15692 that's true if the current command involved collapsing of text.
15693 It's reset to false at the beginning of the next command.
15694 (allout-post-command-business): Move the cursor to the beginning
15695 of entry if the cursor is hidden and collapsing activity just
15696 happened.
15697
371d6a61
CY
156982011-09-24 Chong Yidong <cyd@stupidchicken.com>
15699
15700 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
15701 tracking (Bug#9541).
15702
2ac2721a
UJ
157032011-09-24 Ulf Jasper <ulf.jasper@web.de>
15704
15705 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
15706 (newsticker-show-news): Automatically load html rendering package
15707 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
15708 because w3m-fill-column is let-bound" and the error "Symbol's value
15709 as variable is void: w3m-fill-column".
2ac2721a 15710
fac7ae53
MA
157112011-09-24 Michael Albinus <michael.albinus@gmx.de>
15712
15713 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
15714 Release services only if they are defined. (Bug#9581)
15715
e08b633b
RS
157162011-09-23 Richard Stallman <rms@gnu.org>
15717
e488d29c
RS
15718 * textmodes/paragraphs.el (forward-sentence): For backwards case,
15719 distinguish start of paragraph from start of its text.
15720
19c38752
RS
15721 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
15722
e08b633b
RS
15723 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
15724 (rmail-generate-viewer-buffer): Put that hook on view buffer.
15725 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
15726
0a39f27e
AS
157272011-09-23 Andreas Schwab <schwab@linux-m68k.org>
15728
15729 * international/mule-diag.el (mule-diag): Insert a newline after
15730 each fontset description.
15731
db4e950d
SM
157322011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
15733
15734 * simple.el (delete-trailing-whitespace):
15735 Document last change; simplify.
15736
eca3f3ea
PW
157372011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
15738
d68e189a
PW
15739 * simple.el (delete-trailing-whitespace): Also delete
15740 extra newlines at the end of the buffer.
15741
eca3f3ea
PW
15742 * textmodes/picture.el: Make motion commands obey shift-select-mode.
15743 (picture-newline): Use forward-line so as to ignore fields.
15744
01c157cc
SM
157452011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
15746
15747 * subr.el (with-wrapper-hook): Fix edebug spec.
15748
022de23e
LMI
157492011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
15750
15751 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
15752 (bug#4538).
15753
91683089
MA
157542011-09-23 Michael Albinus <michael.albinus@gmx.de>
15755
eca3f3ea
PW
15756 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
15757 Fix nasty bug using wrong cached values.
91683089 15758
5bdd6fa4
AM
157592011-09-23 Alan Mackenzie <acm@muc.de>
15760
15761 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
15762
97adfb97
CY
157632011-09-23 Chong Yidong <cyd@stupidchicken.com>
15764
15765 * window.el (pop-to-buffer): Ensure right window is selected if we
15766 chose another frame.
15767
d4ef2b50
EZ
157682011-09-22 Eli Zaretskii <eliz@gnu.org>
15769
15770 * simple.el (what-cursor-position): Use get-char-property-change
15771 and next-single-char-property-change, to be able to show display
15772 properties that come from overlays as well as text properties.
15773
72258fe5
CY
157742011-09-22 Chong Yidong <cyd@stupidchicken.com>
15775
15776 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
15777
15778 * cmuscheme.el (run-scheme, switch-to-scheme):
15779 * cus-edit.el (customize-group, custom-buffer-create)
15780 (customize-browse):
15781 * info.el (info):
15782 * shell.el (shell):
15783 * mail/sendmail.el (mail):
15784 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
15785
8f098516
RS
157862011-09-22 Richard Stallman <rms@gnu.org>
15787
15788 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
15789 move back only to line beg, don't move back over blank lines.
15790
e74f1bb6
MA
157912011-09-22 Michael Albinus <michael.albinus@gmx.de>
15792
15793 * files.el (copy-directory): Set directory attributes only in case
15794 they could be retrieved from the source directory. (Bug#9565)
15795
bfeef8b6
DK
157962011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
15797
15798 * progmodes/hideshow.el (hs-looking-at-block-start-p)
15799 (hs-find-block-beginning, hs-hide-level-recursive):
15800 Ignore strings as well as comments. (Bug#9502)
15801
7e423bb8
AS
158022011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
15803
15804 * progmodes/sql.el (sql-comint-postgres):
15805 Convert port number to a string. (Bug#9566)
15806
b4d72fcf
MR
158072011-09-22 Martin Rudalics <rudalics@gmx.at>
15808
15809 * window.el (quit-window): Undedicate window when switching to
15810 previous buffer. Reported by Thierry Volpiatto
15811 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
15812 (special-display-popup-frame): When popping up a new frame reset
15813 its previous buffers to nil. Simplify code.
b4d72fcf 15814
a7b88dc6
MA
158152011-09-21 Michael Albinus <michael.albinus@gmx.de>
15816
15817 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
15818 and process filter, as done also in `shell-command'.
15819
cf4eacfd
MR
158202011-09-21 Martin Rudalics <rudalics@gmx.at>
15821
eca3f3ea 15822 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
15823 Call set-window-start with NOFORCE argument t.
15824 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
15825 (quit-window): Reword doc-string. Handle new format of
15826 quit-restore parameter. Don't delete window if it has a
15827 previous buffer we can show instead of the present one.
15828 (display-buffer-record-window): Rewrite using a new format for
15829 the quit-restore window parameter
15830 (special-display-popup-frame, display-buffer-same-window)
15831 (display-buffer-reuse-window, display-buffer-pop-up-frame)
15832 (display-buffer-pop-up-window, display-buffer-use-some-window):
15833 Adapt symbol passed to display-buffer-record-window.
15834 * help.el (help-window-setup): Handle new format of quit-restore
15835 parameter.
15836
8d28cb95
SM
158372011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
15838
94ab793f
SM
15839 * faces.el (face-list): Fix docstring (bug#9564).
15840
8d28cb95
SM
15841 * window.el (display-buffer--action-function-custom-type):
15842 Don't include internal functions in the Custom interface.
15843
3820edeb
JL
158442011-09-20 Juri Linkov <juri@jurta.org>
15845
15846 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
15847 (Info-forward-node, Info-backward-node, Info-next-preorder)
15848 (Info-last-preorder): Use it. (Bug#9528)
15849
5147931d
JL
158502011-09-20 Juri Linkov <juri@jurta.org>
15851
15852 * info.el (Info-last-preorder): Visit last menu item only when
15853 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
15854
cf499a1a
JD
158552011-09-20 Julien Danjou <julien@danjou.info>
15856
15857 * password-cache.el (password-cache-remove): Remove entries even if the
15858 value is nil, so that password with a nil value (negative caching) is
15859 possible to invalidate.
15860
f84e2fe2
LM
158612011-09-20 Lawrence Mitchell <wence@gmx.li>
15862
15863 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
15864 all whitespace around breakpoint. (Bug#9553)
15865 (f90-find-breakpoint): Only break at whitespace inside a comment.
15866
78054a46
SM
158672011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
15868
15869 * minibuffer.el (completion-file-name-table): Keep track of errors.
15870 (completion-table-with-predicate): Handle the case where pred1 is nil.
15871 * pcomplete.el (pcomplete-completions-at-point): Simplify.
15872
345083b2
SM
158732011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
15874
e24e27be
SM
15875 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
15876 (debugger-return-value): Signal an error if the debugging context does
15877 not await any return value.
15878
345083b2
SM
15879 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
15880 * image-mode.el (image-toggle-display-text)
15881 (image-toggle-display-image): Stay away from evil `intangible'.
15882
08d355e3
LL
158832011-09-19 Leo Liu <sdl.web@gmail.com>
15884
15885 * replace.el (occur-revert-arguments): Make it permanent-local.
15886 (occur-mode): Don't call font-lock-defontify.
15887
f01da43f
CY
158882011-09-19 Chong Yidong <cyd@stupidchicken.com>
15889
15890 * net/ldap.el (ldap-search-internal): Don't push empty search
15891 result (Bug#9508).
15892
b6072fa6
SM
158932011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
15894
15895 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
15896
443d6696
MA
158972011-09-19 Michael Albinus <michael.albinus@gmx.de>
15898
15899 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
15900 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
15901
7cc6e154
JL
159022011-09-18 Juri Linkov <juri@jurta.org>
15903
15904 * buff-menu.el (Buffer-menu-mode-map):
15905 * dired.el (dired-mode-map):
15906 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
15907 (lisp-interaction-mode-map):
15908 * emacs-lisp/package.el (package-menu-mode-map):
15909 * epa.el (epa-key-list-mode-map):
15910 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
15911 (menu-bar-options-menu):
15912 * outline.el (outline-mode-menu-bar-map):
15913 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
15914 * vc/vc-dir.el (vc-dir-menu-map):
15915 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
15916 Capitalize non-function content words in menu item strings.
15917
15918 * dired.el (dired-mode-map): Add menu item for
15919 `image-dired-dired-toggle-marked-thumbs'.
15920
80302a81
JL
159212011-09-18 Juri Linkov <juri@jurta.org>
15922
15923 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
15924 to `isearch-case-fold-search' and restore its original value
15925 after the `isearch-mode' call.
15926
46c5cf66
JL
159272011-09-18 Juri Linkov <juri@jurta.org>
15928
15929 * progmodes/grep.el (grep-process-setup): Don't check code for 1
15930 because `zgrep' returns 1 for successful matches (bug#9226).
15931
d18b513b
JL
159322011-09-18 Juri Linkov <juri@jurta.org>
15933
15934 * info.el (Info-extract-menu-node-name): Check the second match
15935 for empty string (second test-case of bug#9528).
15936 (Info-last-preorder): Let-bind `Info-history' to nil to not add
15937 intermediate nodes to the history (first test-case of bug#9528).
15938
72753f87
JL
159392011-09-18 Juri Linkov <juri@jurta.org>
15940
15941 * info.el (Info-mode-syntax-table): New variable.
1154d12e 15942 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 15943
c9384295
JL
159442011-09-18 Juri Linkov <juri@jurta.org>
15945
1154d12e
JB
15946 * info.el (Info-file-supports-index-cookies):
15947 Increment line-beginning-position's arg from 3 to 4 because makeinfo
15948 outputs one more line for long file names (bug#4142).
c9384295 15949
d473dce8
CY
159502011-09-18 Chong Yidong <cyd@stupidchicken.com>
15951
15952 * newcomment.el (comment-normalize-vars): If prompting for
15953 comment-start, set comment-start-skip too (Bug#8424).
15954
2176854d
JB
159552011-09-18 Johan Bockgård <bojohan@gnu.org>
15956
15957 * icomplete.el: Fix previous fix of Bug#5849.
15958 (icomplete-mode): Don't set completion-show-inline-help.
15959 (icomplete-minibuffer-setup): Set completion-show-inline-help
15960 locally during icompletion.
15961
3aace4e4
CY
159622011-09-18 Chong Yidong <cyd@stupidchicken.com>
15963
c940224f
CY
15964 * woman.el (woman2-process-escapes): Don't delete unrecognized
15965 escapes (Bug#7843).
15966
3aace4e4
CY
15967 * files.el (inhibit-first-line-modes-regexps): Add image files.
15968 (hack-local-variables-prop-line): Return nil for malformed
15969 prop-lines (Bug#9044).
15970
710dec63
MA
159712011-09-18 Michael Albinus <michael.albinus@gmx.de>
15972
15973 * net/tramp.el (top): Don't require 'shell.
15974 (tramp-methods): Fix docstring.
15975 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
15976 Return complete remote file name. Handle "smb" case.
15977 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
15978 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
15979
15980 * net/tramp-compat.el (top): Require 'shell.
15981
15982 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
15983 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
15984 `tramp-current-host'.
15985 (tramp-get-remote-tmpdir): Remove.
15986
15987 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
15988 `tramp-tmpdir' entries.
15989 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
15990 (tramp-smb-handle-file-attributes): Ignore errors.
15991 (tramp-smb-wait-for-output): Check also for process end.
15992
5d5ac8ec
LMI
159932011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
15994
15995 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
15996 when sending QUIT (bug#9312).
15997
8c0f49f0
CY
159982011-09-17 Chong Yidong <cyd@stupidchicken.com>
15999
16000 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
16001 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
16002 occur-mode-display-occurrence.
16003 (occur-edit-mode): Add usage message.
16004 (occur-cease-edit): New command.
16005 (occur-after-change-function): Use text properties to find the
16006 position of the prefix text.
16007 (occur-engine): Set stickiness of prefix text properties.
16008
8f1383f7
GM
160092011-09-17 Glenn Morris <rgm@gnu.org>
16010
16011 * progmodes/etags.el (complete-tag):
16012 Fix call to completion-in-region. (Bug#9526)
16013
744ba0e3
JL
160142011-09-17 Juri Linkov <juri@jurta.org>
16015
16016 * textmodes/ispell.el (ispell-word): Add to the error message
16017 the word, ispell program name and current dictionary (bug#9121).
16018 (ispell-tex-arg-end): Capitalize "error" in the error message.
16019
d9bbf400
AS
160202011-09-17 Andreas Schwab <schwab@linux-m68k.org>
16021
16022 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
16023 check. (Bug#4251)
16024
8da11505
JL
160252011-09-17 Juri Linkov <juri@jurta.org>
16026
16027 * window.el (window-safe-min-height, window-safe-min-width):
16028 Fix typos (followup to bug#9522).
16029
a91adc7e
SJ
160302011-09-17 Sven Joachim <svenjoac@gmx.de>
16031
16032 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
16033
064f328a
EZ
160342011-09-16 Eli Zaretskii <eliz@gnu.org>
16035
16036 * simple.el (line-move): If goal-column is set, move by logical
16037 lines, not by display lines. (Bug#971)
16038 (next-line, previous-line, goal-column, line-move-visual): Doc fix
16039 to reflect the above change.
16040
e69df516
SM
160412011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
16042
16043 * image.el (imagemagick-register-types): Use regexp-opt.
16044
cbb0f9ab
CY
160452011-09-15 Chong Yidong <cyd@stupidchicken.com>
16046
16047 * window.el (display-buffer-base-action): Rename from
16048 display-buffer-default-action. Make default value empty.
16049 (display-buffer-overriding-action): Convert to defvar.
16050 (display-buffer-fallback-action): New var.
16051
25322144
CY
160522011-09-15 Chong Yidong <cyd@stupidchicken.com>
16053
16054 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
16055 declaration.
16056 (package--add-to-archive-contents): If there is a duplicate entry
16057 with an older version, remove it.
16058 (package-menu-mark-delete, package-menu-mark-install)
16059 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
16060 (package-menu-mark-obsolete-for-deletion):
16061 Use package-menu-get-status instead of a regexp search.
25322144
CY
16062 (package-menu-get-status): Use tabulated-list-entry.
16063 (package-menu-mark-upgrades): New command.
d770725a 16064 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
16065 (package-menu-execute): Do installation before deletion.
16066 (package-menu-refresh, package-menu-execute): Use derived-mode-p
16067 instead of checking major-mode.
16068 (package-menu--find-upgrades): New function.
16069
7520339c
LMI
160702011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
16071
16072 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
16073 passwords in the log buffer.
65a046c4
LMI
16074 (smtpmail-process-filter): Update the process marker so that the
16075 "broken by peer" status message is inserted in the right place.
7520339c 16076
d3c30954
SM
160772011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
16078
3fe48822
SM
16079 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
16080 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
16081 bibtex-completion-at-point-function.
16082 (bibtex-completion-at-point-function): Use them.
16083
1b8b3954
SM
16084 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
16085
d3c30954
SM
16086 * mpc.el (mpc-constraints-tag-lookup): New function.
16087 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
16088 also to browser "album|playlist".
16089
72779976
JL
160902011-09-14 Juri Linkov <juri@jurta.org>
16091
16092 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
16093 (isearch-edit-string): Use length of `isearch-string' when
16094 `isearch-fail-pos' returns nil.
16095 (isearch-message): Remove duplicate code and call
16096 `isearch-fail-pos' with arg `t'.
16097
a0bf2bcd
CY
160982011-09-14 Chong Yidong <cyd@stupidchicken.com>
16099
17bb0a2d
CY
16100 * replace.el (occur-mode-goto-occurrence): Don't force using other
16101 window (Bug#9499).
16102
a0bf2bcd
CY
16103 * dired-aux.el (dired-do-chmod): Don't provide initial input.
16104
f678e0b6
MR
161052011-09-14 Martin Rudalics <rudalics@gmx.at>
16106
16107 * window.el (display-buffer-window): Remove.
16108 (display-buffer-record-window): Use help-setup window parameter
16109 instead of variable display-buffer-window.
16110 (display-buffer-function, special-display-buffer-names)
16111 (special-display-function): Mention help-setup parameter instead
16112 of display-buffer-window in doc-string.
d3c30954
SM
16113 * help.el (help-window-setup): New argument help-window.
16114 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
16115 Reword some messages.
16116 (with-help-window): Pass window used for displaying the buffer
16117 to help-window-setup. Don't set display-buffer-window.
16118
8e39b2e8
GM
161192011-09-13 Glenn Morris <rgm@gnu.org>
16120
16121 * emacs-lisp/debug.el (debugger-make-xrefs):
16122 Preserve point. (Bug#9462)
16123
85e9c04b
CY
161242011-09-13 Chong Yidong <cyd@stupidchicken.com>
16125
16126 * window.el (window-deletable-p): Use next-frame.
16127
1b36ed6a
MR
161282011-09-13 Martin Rudalics <rudalics@gmx.at>
16129
16130 * window.el (window-auto-delete): Remove.
16131 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 16132 dedication and previous buffers.
1b36ed6a
MR
16133 (switch-to-prev-buffer): Don't delete window.
16134 (delete-windows-on): Delete a window's frame if and only if the
16135 window is dedicated.
16136 (replace-buffer-in-windows): Delete buffer's window or frame if
16137 and only if window is dedicated.
16138 (quit-window): Handle quit-restore as before last change.
4d61f28d 16139 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 16140
ef8ef9fb
CY
161412011-09-13 Chong Yidong <cyd@stupidchicken.com>
16142
16143 * window.el (window-deletable-p): Never delete the last frame on a
16144 given terminal.
16145
b2cba41e
GM
161462011-09-13 Glenn Morris <rgm@gnu.org>
16147
16148 * help.el (describe-key-briefly): Copy previous standard-output change.
16149
51553db6 161502011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
16151
16152 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
16153
b7556719
GM
161542011-09-13 Glenn Morris <rgm@gnu.org>
16155
16156 * emacs-lisp/lisp-mode.el (lisp-indent-function):
16157 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
16158
64b51947
CY
161592011-09-12 Chong Yidong <cyd@stupidchicken.com>
16160
16161 * dired-aux.el (dired-mark-read-string): Don't return default
16162 value on empty input (Bug#9361).
16163 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
16164 Omit initial minibuffer contents.
16165 (dired-do-chmod): Signal an error on empty input.
16166 (dired-mark-read-string): Don't return default on empty input.
16167
16168 * files.el (file-modes-symbolic-to-number): Doc fix.
16169
393a301e
SM
161702011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
16171
16172 * international/mule-cmds.el (ucs-completions): Remove.
16173 (read-char-by-name): Use complete-with-action instead; add metadata.
16174
fa5660f9
CY
161752011-09-11 Chong Yidong <cyd@stupidchicken.com>
16176
16177 * window.el (display-buffer--action-function-custom-type)
16178 (display-buffer--action-custom-type): New vars.
16179 (display-buffer-alist, display-buffer-default-action)
16180 (display-buffer-overriding-action): Add defcustom types.
16181
4a592f66
CY
16182 * frame.el (delete-other-frames): Doc fix (Bug#276).
16183
73d56dbd
LMI
161842011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
16185
16186 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
16187
37ac18a3
CY
161882011-09-11 Chong Yidong <cyd@stupidchicken.com>
16189
16190 Change modes that used same-window-* vars to use switch-to-buffer.
16191
16192 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
16193 Use switch-to-buffer.
16194
16195 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
16196 (customize-browse, custom-buffer-create-other-window):
16197 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
16198
16199 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
16200 (Info-prev, Info-up, Info-speedbar-goto-node)
16201 (info-display-manual): Use switch-to-buffer.
16202 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
16203
16204 * mail/sendmail.el (mail): Use switch-to-buffer.
16205 (mail-recover): Use switch-to-buffer-other-window.
16206
16207 * cmuscheme.el (run-scheme, switch-to-scheme):
16208 * ielm.el (ielm):
16209 * shell.el (shell):
16210 * net/rlogin.el (rlogin):
16211 * net/telnet.el (telnet, rsh):
16212 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
16213
10195bd6
AS
162142011-09-11 Andreas Schwab <schwab@linux-m68k.org>
16215
16216 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
16217
b322f63a
LMI
162182011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
16219
39d7fed6
LMI
16220 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
16221 so don't mention it (bug#9301).
ba5a81f1 16222 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 16223
ee0e9f11
LMI
16224 * faces.el (face-spec-set-match-display): Make `(type graphic)'
16225 match `x', `w32' and `ns', like the manual says (bug#9029).
16226
0b1c89c1 16227 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
16228 (process-kill-buffer-query-function): Mention the buffer name in
16229 the query.
0b1c89c1 16230
77549ea8
LMI
16231 * image-mode.el (image-next-line): The line parameter is mandatory
16232 (bug#9258).
16233
803ef892
LMI
16234 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
16235 which can be useful (bug#9301).
16236
12980837
LMI
16237 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
16238
91054f8f
LMI
16239 * subr.el (match-string): Mention that the current buffer should
16240 be the same as the search was done in (bug#9282).
16241
b322f63a
LMI
16242 * facemenu.el: Disable the remove-* commands if the mark isn't
16243 active (bug#9162).
16244
3199b96f
CY
162452011-09-10 Chong Yidong <cyd@stupidchicken.com>
16246
16247 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
16248 of display-buffer.
16249 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
16250
16251 * replace.el (occur-mode-goto-occurrence)
16252 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
16253 and display-buffer.
16254
16255 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
16256 display-buffer.
16257
16258 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
16259 special-display and same-window variables.
16260 (mail-other-window): Use switch-to-buffer-other-window.
16261 (mail-other-frame): USe switch-to-buffer-other-frame.
16262
393a301e
SM
16263 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
16264 Use display-buffer-other-frame.
3199b96f
CY
16265 (gdb-display-gdb-buffer): Use pop-to-buffer.
16266
16267 * progmodes/gud.el (gud-goto-info): Use info-other-window.
16268
16269 * progmodes/python.el: Don't set same-window-buffer-names.
16270
16271 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
16272
16273 * window.el (display-buffer-alist): Add *Python*.
16274
8319e0bf
CY
162752011-09-10 Chong Yidong <cyd@stupidchicken.com>
16276
16277 * window.el (display-buffer-alist): Add entry for buffers
16278 previously handled same-window-*.
16279 (display-buffer-alist, display-buffer-default-action)
16280 (display-buffer-overriding-action): Mark as risky.
16281 (display-buffer-alist): Document action function changes.
16282 (display-buffer--same-window-action)
16283 (display-buffer--other-frame-action): New variables.
16284 (switch-to-buffer, display-buffer-other-frame): Use them.
16285 (display-buffer): Rename reuse-frame entry to reusable-frames.
16286 (display-buffer-reuse-selected-window): Function deleted.
16287 (display-buffer-reuse-window): Handle reusable-frames alist entry.
16288 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
16289 (display-buffer-special): New function.
16290 (display-buffer--maybe-pop-up-frame-or-window): Rename from
16291 display-buffer-reuse-or-pop-window. Split off special-display
16292 part into display-buffer-special.
16293 (display-buffer-use-some-window): Don't perform any special
16294 pop-up-frames handling.
16295 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 16296 (display-buffer--maybe-same-window): Rename from
0d3ff375 16297 display-buffer-maybe-same-window.
8319e0bf 16298
919a69aa
CY
16299 * info.el: Don't set same-window-regexps.
16300 (info-setup): New function.
16301 (info-other-window, info): Call it.
16302
16303 * cus-edit.el: Don't set same-window-regexps.
16304 (customize-group): New argument.
16305 (customize-group-other-window): Use it.
16306 (customize-face, customize-face-other-window): Likewise.
16307 (custom-buffer-create-other-window): Use pop-to-buffer directly.
16308
8319e0bf
CY
16309 * net/rlogin.el:
16310 * net/telnet.el:
16311 * progmodes/gud.el: Don't set same-window-regexps.
16312
16313 * cmuscheme.el:
16314 * ielm.el:
16315 * shell.el:
16316 * mail/sendmail.el:
16317 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
16318
25173000
JL
163192011-09-10 Juri Linkov <juri@jurta.org>
16320
16321 * isearch.el (isearch-edit-string): Remove obsolete mention of
16322 `C-w' (`isearch-yank-word-or-char') from docstring.
16323 (isearch-query-replace): Fix typo in docstring (bug#9466).
16324
056e44ef
JL
163252011-09-10 Juri Linkov <juri@jurta.org>
16326
16327 * paren.el (show-paren-function): Don't show escaped parens.
16328 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
16329
c3760c17
EZ
163302011-09-10 Eli Zaretskii <eliz@gnu.org>
16331
16332 * mail/sendmail.el (mml-to-mime, mml-attach-file)
16333 (mm-default-file-encoding): Remove autoload forms, they are
16334 replaced with autoload cookies in mml.el and mm-encode.el.
16335 (mail-add-attachment): New command.
16336 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
16337 (mail-mode): Mention mail-insert-file and mail-add-attachment in
16338 the doc string.
16339 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
16340
fece895e
RT
163412011-09-10 Reuben Thomas <rrt@sc3d.org>
16342
e69df516
SM
16343 * simple.el (count-words-region): Use buffer if there's no region
16344 (bug#9429).
fece895e 16345
5e68ce4a
JL
163462011-09-09 Juri Linkov <juri@jurta.org>
16347
16348 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
16349 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
16350 (wdired-isearch-filter-read-only): New function. (Bug#6362)
16351
0a6b9622
AM
163522011-09-09 Alan Mackenzie <acm@muc.de>
16353
16354 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
16355 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
16356
14a29deb
EZ
163572011-09-09 Eli Zaretskii <eliz@gnu.org>
16358
16359 Fix for Savannah bug#9392.
16360 * simple.el (mail-encode-mml): New defvar.
16361
16362 * mail/rmail.el (mail-encode-mml): Add a defvar.
16363 (rmail-enable-mime-composing): Default to t.
16364 (rmail-forward): Use MIME method of forwarding only if both
16365 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
16366 Set mail-encode-mml non-nil if the MIME method was used.
16367
16368 * mail/sendmail.el (mml-to-mime): Add autoload form.
16369 (mail-encode-mml): Add a defvar.
16370 (mail-mode): Make mail-encode-mml buffer-local and initialize it
16371 to nil.
16372 (mail-send): If mail-encode-mml is non-nil, run the outgoing
16373 message through mml-to-mime, and reset mail-encode-mml to nil.
16374
28c45130
GM
163752011-09-09 Glenn Morris <rgm@gnu.org>
16376
16377 * woman.el (woman-if-body): When processing an .el block,
16378 do not delete the next .el block as well. (Bug#9447)
69f4b618 16379 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 16380
9b1c252e
MR
163812011-09-08 Martin Rudalics <rudalics@gmx.at>
16382
16383 * window.el (window-deletable-p): Make sure window is live before
16384 invoking window-prev-buffers.
16385
567457e3
LL
163862011-09-08 Leo Liu <sdl.web@gmail.com>
16387
16388 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
16389
97f05794
JL
163902011-09-08 Juri Linkov <juri@jurta.org>
16391
16392 * progmodes/compile.el (compilation-environment): Make it
16393 a defcustom (bug#8340).
16394
8b0874b5
MR
163952011-09-08 Martin Rudalics <rudalics@gmx.at>
16396
16397 * window.el (frame-auto-delete): Rename to window-auto-delete.
16398 Make it control auto-deletion of windows and/or frames.
16399 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 16400 for deleting window/frame. (Bug#9419)
8b0874b5
MR
16401 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
16402 Rewrite handling of case when window/frame can be deleted.
16403 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 16404 argument t. (Bug#9456)
8b0874b5 16405
4feb6e73
CY
164062011-09-07 Chong Yidong <cyd@stupidchicken.com>
16407
16408 * help-mode.el (help-mode): Restore autoload.
16409
91ab9c13
JL
164102011-09-07 Juri Linkov <juri@jurta.org>
16411
16412 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
16413 `compilation-environment'. Set buffer-local
16414 `compilation-environment' to `thisenv' later after (funcall mode).
16415 (Bug#8340)
16416
16417 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
16418 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
16419 instead of replacing its value. (Bug#8340)
16420
0527e251
JL
164212011-09-07 Juri Linkov <juri@jurta.org>
16422
16423 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
16424 based on text properties put by `grep-filter' instead of matching
16425 escape sequences.
16426 (grep-mode): Set buffer-local `compilation-error-screen-columns'
16427 to the value of `grep-error-screen-columns' (bug#9438).
16428
249f792c
JL
164292011-09-07 Juri Linkov <juri@jurta.org>
16430
16431 * simple.el (next-error-highlight, next-error-highlight-no-select):
16432 Doc fix (bug#9432).
16433
ff7271b9
OT
164342011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
16435
16436 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
16437 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
16438
183fc730
LL
164392011-09-07 Leo Liu <sdl.web@gmail.com>
16440
16441 * net/rcirc.el (rcirc-mode): Conditionally initialize
16442 rcirc-input-ring.
16443
77694924
SM
164442011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
16445
16446 * emacs-lisp/find-func.el (find-function-C-source): Only set
16447 find-function-C-source-directory after checking that we found a source
16448 file there (bug#9440).
16449
d809b8eb
AM
164502011-09-06 Alan Mackenzie <acm@muc.de>
16451
16452 * isearch.el (isearch-other-meta-char): Wherever a key list is
16453 unread, "unread" the prefix arg, too. This fixes bug #8901.
16454
453de99f
OG
164552011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
16456
16457 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
16458
90439906
JL
164592011-09-05 Juri Linkov <juri@jurta.org>
16460
16461 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
16462
f62bd846
JL
164632011-09-05 Juri Linkov <juri@jurta.org>
16464
16465 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
16466 keeping point where processing of grep matches begins, and
16467 continue to delete remaining escape sequences from the same point.
16468 (grep-filter): Make leading zero optional in "0?1;31m" because
16469 git-grep emits "\033[1;31m" escape sequences unlike expected
16470 "\033[01;31m" as GNU Grep does (bug#9408).
16471 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
16472
045820ec
JL
164732011-09-05 Juri Linkov <juri@jurta.org>
16474
16475 * subr.el (y-or-n-p): Capitalize "yes".
16476
f5e29b9b
MA
164772011-09-04 Michael Albinus <michael.albinus@gmx.de>
16478
16479 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
16480 `tramp-cache-unload-hook' where appropriate.
16481 (tramp-methods): Rename `tramp-remote-sh' to
16482 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
16483 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
16484
16485 * net/tramp-sh.el (top): Don't require 'shell.
16486 (tramp-methods): Add `tramp-remote-shell' and
16487 `tramp-remote-shell-args' entries.
16488 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
16489 (tramp-sh-handle-shell-command): Remove.
16490 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
16491 Use `tramp-remote-shell'.
16492
2784c434
CY
164932011-09-03 Chong Yidong <cyd@stupidchicken.com>
16494
393a301e 16495 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
16496 (sendmail-query-once): Save directly to send-mail-function.
16497 Update message-send-mail-function too.
16498
16499 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
16500
464cdf56
CS
165012011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
16502
16503 * progmodes/python.el (python-mode-map): Use correct function to
16504 start python interpreter from menu-bar (as reported by Geert
16505 Kloosterman).
16506 (inferior-python-mode-map): Fix typo.
393a301e 16507 (python-shell-map): Remove.
464cdf56 16508
d37e5c87
DD
165092011-09-03 Deniz Dogan <deniz@dogan.se>
16510
16511 * net/rcirc.el (rcirc-print): Simplify code for
16512 rcirc-scroll-show-maximum-output. There is no need to walk
16513 through all windows to find the right one.
16514
f3ada0ee
CS
165152011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
16516
16517 * help.el (help-return-method): Doc fix.
16518
1f3c99ca
MR
165192011-09-03 Martin Rudalics <rudalics@gmx.at>
16520
16521 * window.el (window-deletable-p): Don't return a non-nil value
16522 when there's a buffer that was shown in the window before.
16523 (Bug#9419)
393a301e
SM
16524 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
16525 Set window's previous buffers to nil.
1f3c99ca 16526
a3cf097f
EZ
165272011-09-03 Eli Zaretskii <eliz@gnu.org>
16528
16529 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
16530 newline before and after the tag line, so it doesn't interfere
16531 with determining the paragraph direction of bidirectional text.
16532
3d03de90
LL
165332011-09-03 Leo Liu <sdl.web@gmail.com>
16534
16535 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
16536
c3313451
CY
165372011-09-02 Chong Yidong <cyd@stupidchicken.com>
16538
393a301e 16539 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
16540 (pop-to-buffer): Change interactive spec. Pass second argument
16541 directly to display-buffer.
16542 (display-buffer): Fix interactive spec. Use functionp to
16543 distinguish between a function and a list of functions.
16544
16545 * abbrev.el (edit-abbrevs):
16546 * arc-mode.el (archive-extract):
16547 * autoinsert.el (auto-insert):
16548 * bookmark.el (bookmark-bmenu-list):
16549 * files.el (find-file):
16550 * view.el (view-buffer):
16551 * progmodes/compile.el (compilation-goto-locus):
16552 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
16553
89894cd8
CY
165542011-09-02 Chong Yidong <cyd@stupidchicken.com>
16555
16556 * window.el (display-buffer-alist): Doc fix.
16557 (display-buffer): Add docstring. Don't treat
16558 display-buffer-default specially.
16559 (display-buffer-reuse-selected-window)
16560 (display-buffer-same-window, display-buffer-maybe-same-window)
16561 (display-buffer-reuse-window, display-buffer-pop-up-frame)
16562 (display-buffer-pop-up-window)
16563 (display-buffer-reuse-or-pop-window)
16564 (display-buffer-use-some-window): New functions.
16565 (display-buffer-default-action): Use them.
393a301e 16566 (display-buffer-default): Delete.
89894cd8
CY
16567 (pop-to-buffer-1): Fix choice of actions.
16568
ae0bc9fb
SM
165692011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
16570
16571 * minibuffer.el (completion--insert-strings): Don't get confused by
16572 completion entries that end with an LF char.
16573
e9d90883
EZ
165742011-09-01 Eli Zaretskii <eliz@gnu.org>
16575
16576 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
16577
437014c8
CY
165782011-09-01 Chong Yidong <cyd@stupidchicken.com>
16579
16580 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
16581 (display-buffer-same-window, display-buffer-other-window):
16582 New functions.
437014c8
CY
16583 (pop-to-buffer-1): New function. Use the above.
16584 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 16585 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
16586
16587 * view.el (view-buffer-other-window, view-buffer-other-frame):
16588 Just use pop-to-buffer.
16589
a5e063d5
TV
165902011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16591
16592 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
16593
793d32bb
WH
165942011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
16595
16596 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
16597
d65e4c15
RS
165982011-08-31 Richard Stallman <rms@gnu.org>
16599
16600 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
16601 of the separation of rmail-view-buffer from rmail-buffer.
16602 If you say no to "replace original", the decrypt is in the
16603 view buffer. If you say yes, the decrypt goes into the
16604 rmail buffer also.
16605
f818cd2a
MR
166062011-08-31 Martin Rudalics <rudalics@gmx.at>
16607
16608 * window.el (display-buffer-window): Rewrite doc-string.
16609 (display-buffer-record-window): New function.
16610 (display-buffer-macro-specifiers)
16611 (display-buffer-even-window-sizes, display-buffer-set-height)
16612 (display-buffer-set-width, display-buffer-in-window)
16613 (display-buffer-reuse-window, display-buffer-split-specifiers)
16614 (display-buffer-side-specifiers, display-buffer-split-window-1)
16615 (display-buffer-split-window, display-buffer-split-atom-window)
16616 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
16617 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
16618 (display-buffer-other-window-means-other-frame)
16619 (display-buffer-normalize-special)
16620 (display-buffer-normalize-default)
16621 (display-buffer-normalize-argument)
16622 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
16623 (display-buffer-normalize-specifiers, display-buffer-frame)
16624 (display-buffer-same-window, display-buffer-same-frame)
16625 (display-buffer-other-window)
16626 (display-buffer-same-frame-other-window)
16627 (display-buffer-other-frame, pop-to-buffer-same-window)
16628 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
16629 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
16630 (switch-to-buffer-same-frame)
16631 (switch-to-buffer-other-window-same-frame)
16632 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
16633 (display-buffer-alist-set-1, display-buffer-alist-set-2)
16634 (display-buffer-alist-set): Remove.
16635 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
16636 (special-display-regexps, special-display-function):
16637 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
16638 parameter.
16639 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
16640 (special-display-frame-alist, special-display-popup-frame)
16641 (same-window-buffer-names, same-window-regexps, same-window-p)
16642 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
16643 (split-window-preferred-function, split-height-threshold)
16644 (split-width-threshold, window-splittable-p)
16645 (split-window-sensibly, window--try-to-split-window)
16646 (window--frame-usable-p, even-window-heights)
16647 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
16648 (window--display-buffer-2, display-buffer-other-frame):
16649 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
16650 (display-buffer-default, display-buffer-assq-regexp): New functions.
16651 (display-buffer-alist): Rewrite doc-string.
16652 (display-buffer-default-action)
16653 (display-buffer-overriding-action): New variables.
16654 (display-buffer, switch-to-buffer): Rewrite.
16655 (pop-to-buffer): Restore Emacs 23 behavior but use
16656 window-normalize-buffer-to-display.
16657 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
16658 Restore Emacs 23 behavior but use
16659 window-normalize-buffer-to-switch-to.
16660 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
16661 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
16662 Rewrite using Emacs 23 options.
f818cd2a 16663
5bc3b51d
MA
166642011-08-31 Michael Albinus <michael.albinus@gmx.de>
16665
16666 * net/tramp.el (tramp-root-regexp): Remove.
16667 (tramp-completion-file-name-regexp-unified)
16668 (tramp-completion-file-name-regexp-separate)
16669 (tramp-completion-file-name-regexp-url): Don't use leading volume
b46a6a83 16670 letter on w32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
16671 (tramp-drop-volume-letter): Simplify definition.
16672 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 16673
b1a4f8e1
SM
166742011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
16675
16676 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
16677 (bug#9356).
16678
5664fa7b
RT
166792011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
16680
b1a4f8e1 16681 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 16682
9a45d6c3
JL
166832011-08-29 Juri Linkov <juri@jurta.org>
16684
16685 * isearch.el (isearch-done): Don't display message "Mark saved"
16686 when arg `edit' is non-nil to prevent its flicker in the echo area.
16687
fb87e0fb
CY
166882011-08-28 Chong Yidong <cyd@stupidchicken.com>
16689
16690 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
16691 obsolete packages for deletion.
16692
09ac1c2a
CS
166932011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
16694
16695 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 16696 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
16697 view-mode from help-mode.
16698 (help-xref-override-view-map): Remove.
16699 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
16700 view-mode is not used anymore.
16701
7a1ff57f
CY
167022011-08-28 Chong Yidong <cyd@stupidchicken.com>
16703
16704 * server.el (server-port): Doc fix.
16705
b9696605
CY
16706 * cus-theme.el (custom-theme-choose-mode): Inherit from
16707 special-mode (Bug#9124).
16708 (custom-theme-choose-mode-map): Add special-mode to parent.
16709
ef8cdf8c
AM
167102011-08-28 Alan Mackenzie <acm@muc.de>
16711
16712 * progmodes/cc-fonts.el
16713 (c-make-font-lock-BO-decl-search-function): New function.
16714 (c-basic-matchers-after - "Fontify the clauses after various
16715 keywords"): Extract the three keyword lists for the 3 erroneous
16716 constructs from the list of four, and use the new function above
16717 in place of an old one.
16718
27de4e20
DD
167192011-08-28 Deniz Dogan <deniz@dogan.se>
16720
16721 * net/rcirc.el (rcirc-insert-prev-input)
16722 (rcirc-insert-next-input): Remove unused argument.
16723
356a3681
SM
167242011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
16725
16726 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
16727
3fc9b218
AM
167282011-08-27 Alan Mackenzie <acm@muc.de>
16729
16730 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
16731 handle function pointer parameters properly.
16732
538a061c
MR
167332011-08-27 Martin Rudalics <rudalics@gmx.at>
16734
16735 * window.el (display-buffer-reuse-window): Fix case where
16736 selected window was reused with non-nil OTHER-WINDOW argument.
16737 (Bug#9381)
16738
35b1c40c
DD
167392011-08-27 Deniz Dogan <deniz@dogan.se>
16740
16741 * net/rcirc.el (rcirc-check-auth-status): Adding support for
16742 oftc's NickServ messages.
16743
2f6a3e79
GM
167442011-08-27 Glenn Morris <rgm@gnu.org>
16745
16746 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
16747
7254299e
CY
167482011-08-26 Chong Yidong <cyd@stupidchicken.com>
16749
16750 * emacs-lisp/package.el (package-install): Call package-initialize
16751 if called interactively.
16752
f8ccf167
LL
167532011-08-26 Leo Liu <sdl.web@gmail.com>
16754
16755 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
16756
3e8cd5ce
JL
167572011-08-25 Juri Linkov <juri@jurta.org>
16758
16759 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
16760 `search-whitespace-regexp' (bug#9364).
16761
93eb7113
JL
167622011-08-25 Juri Linkov <juri@jurta.org>
16763
16764 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
16765 `regexp-search-ring' to their global values to protect from
16766 updating by `read-from-minibuffer' (bug#9185).
16767
f65d1611
JL
167682011-08-25 Juri Linkov <juri@jurta.org>
16769
16770 * textmodes/ispell.el (ispell-command-loop): Add newline
16771 at the end of the "Use option `i'..." line.
16772
f1cf7a31
JL
167732011-08-25 Juri Linkov <juri@jurta.org>
16774
16775 * battery.el (display-battery-mode): If `battery-status-function'
16776 or `battery-mode-line-format' is nil, display the message and set
16777 `display-battery-mode' to nil (bug#9363).
16778
0c95fcf7
EZ
167792011-08-25 Eli Zaretskii <eliz@gnu.org>
16780
16781 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
16782 bidi-string-mark-left-to-right; they are unnecessary now.
16783
a2ebe600
DD
167842011-08-25 Deniz Dogan <deniz@dogan.se>
16785
16786 * net/quickurl.el: Documentation typo fixes.
16787
e4ed06f1
CY
167882011-08-25 Chong Yidong <cyd@stupidchicken.com>
16789
16790 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
16791
e5f1c99e
GM
167922011-08-25 Glenn Morris <rgm@gnu.org>
16793
b2948976
GM
16794 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
16795
e5f1c99e
GM
16796 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
16797 (smtpmail-via-smtp): Handle nil response from smtp.
16798
f22f4808
JL
167992011-08-24 Juri Linkov <juri@jurta.org>
16800
16801 * proced.el (proced-marked): Inherit from `error' instead of
16802 `font-lock-warning-face'.
16803
16804 * ibuffer.el (ibuffer-marked-face): Change default face from
16805 `font-lock-warning-face' to `warning'.
16806 (ibuffer-deletion-face): Change default face from
16807 `font-lock-type-face' to `error'.
16808
16809 * battery.el (battery-update): Use the face `error' instead of
16810 `font-lock-warning-face' (bug#6117).
16811
6a93965e
JL
168122011-08-24 Juri Linkov <juri@jurta.org>
16813
16814 * faces.el (success): Change face color from "Green3" to
16815 "ForestGreen" on light background (bug#9353).
16816
1ed43b09
CY
168172011-08-24 Chong Yidong <cyd@stupidchicken.com>
16818
5664fa7b
RT
16819 * window.el (quit-window): Rename from quit-restore-window.
16820 Use same arglist as old quit-window.
1ed43b09
CY
16821 (frame-auto-delete): Doc fix.
16822
16823 * view.el (view-mode-exit): Use quit-window.
16824
11dcdbb2
JL
168252011-08-24 Juri Linkov <juri@jurta.org>
16826
16827 * isearch.el (isearch-ring-adjust1): Start visiting previous
16828 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
16829 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
16830 for empty search string (when the last search string is reused
16831 automatically) to adjust the isearch ring to the last element and
16832 prepare the correct index for further M-p commands (bug#9185).
16833
de62b4df
KH
168342011-08-24 Kenichi Handa <handa@m17n.org>
16835
16836 * international/ucs-normalize.el: If decomposition property of
16837 CHAR is the default one (i.e. a list of CHAR itself), treat it as
16838 nil.
16839 (nfd, nfkd): Likewise.
16840
963b492b
SM
168412011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
16842
16843 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
16844 from process filters aren't reliably transmitted to the surrounding
16845 accept-process-output.
16846 (mpc-proc-check): New function.
16847 (mpc-proc-sync): Use it (bug#8293)
16848
93b6b5e1
SM
168492011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
16850
16851 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
16852 Add compatibility functions (bug#9313).
16853
bca633fb
EZ
168542011-08-23 Eli Zaretskii <eliz@gnu.org>
16855
b177498a
EZ
16856 * cus-start.el (all): Add entry for bidi-paragraph-direction.
16857
6df6ae42 16858 * international/uni-bidi.el: Regenerate.
bca633fb 16859
0902a04e
KH
168602011-08-23 Kenichi Handa <handa@m17n.org>
16861
16862 * international/charprop.el:
16863 * international/uni-bidi.el:
16864 * international/uni-category.el:
16865 * international/uni-combining.el:
16866 * international/uni-comment.el:
16867 * international/uni-decimal.el:
16868 * international/uni-decomposition.el:
16869 * international/uni-digit.el:
16870 * international/uni-lowercase.el:
16871 * international/uni-mirrored.el:
16872 * international/uni-name.el:
16873 * international/uni-numeric.el:
16874 * international/uni-old-name.el:
16875 * international/uni-titlecase.el:
16876 * international/uni-uppercase.el: Regenerate.
16877
3bbf23bc
MR
168782011-08-23 Martin Rudalics <rudalics@gmx.at>
16879
16880 * help.el (help-window-setup): Fix message displayed when other
16881 window is reused. (Bug#9341)
16882
b3fd59bd
SM
168832011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
16884
1802e444
SM
16885 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
16886 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
16887
b3fd59bd
SM
16888 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
16889 Mark obsolete.
16890 * shell.el (shell-parse-pcomplete-arguments): New function.
16891 (shell-completion-vars): Use it instead (bug#9160).
16892
4eb61348
SM
168932011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
16894
867cab74
SM
16895 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
16896 strings and comments (bug#9333).
16897
4eb61348
SM
16898 * emacs-lisp/debug.el (debug-arglist): New function.
16899 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
16900 (debug-on-entry-1): Handle interpreted closures (bug#9120).
16901
262a1439
JL
169022011-08-22 Juri Linkov <juri@jurta.org>
16903
56ee679c
JL
16904 * progmodes/compile.el (compilation-mode-font-lock-keywords):
16905 Revert regexp that highlights output switches to its old
16906 pre-2010-10-28 value and remove one `?' from it (bug#9319).
16907
262a1439
JL
16908 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
16909 to check for empty output (bug#9226).
16910
f13f86fb
CY
169112011-08-22 Chong Yidong <cyd@stupidchicken.com>
16912
16913 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
16914 symbol-constituent as the default, as that stops font-lock from
16915 working properly (Bug#8843).
16916
c65c9622
LMI
169172011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
16918
16919 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
16920 `coding-system-for-*' around the process open call to avoid
16921 auth-source side effects.
e7f2c178 16922 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
16923 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
16924 probe hangs.
c65c9622 16925
23a8a5ab
CY
169262011-08-21 Chong Yidong <cyd@stupidchicken.com>
16927
ff98b2dd
CY
16928 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
16929
23a8a5ab
CY
16930 * emacs-lisp/find-func.el (find-function-noselect): New arg
16931 lisp-only.
16932
16933 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
16934 signal an error for built-in functions (Bug#6664).
16935
f5e3c598
LMI
169362011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
16937
16938 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
16939 (smtpmail-try-auth-methods): Use it.
16940
a3f2468a
CY
169412011-08-21 Chong Yidong <cyd@stupidchicken.com>
16942
2c34e8da
CY
16943 * font-lock.el (font-lock-fontify-region)
16944 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
16945 (font-lock-default-unfontify-buffer)
16946 (font-lock-default-fontify-region)
16947 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
16948
b3fd59bd
SM
16949 * progmodes/compile.el (compilation-error-properties):
16950 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
16951 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
16952 `ant' regexp.
ee31aabc 16953
a3f2468a
CY
16954 * net/browse-url.el (browse-url-firefox): Don't call
16955 browse-url-firefox-sentinel unless using -remote (Bug#9328).
16956
8e999f70
GM
169572011-08-20 Glenn Morris <rgm@gnu.org>
16958
c21a496a
GM
16959 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
16960
59ee0542
GM
16961 * tutorial.el (tutorial--default-keys): Update some default bindings.
16962
8e999f70
GM
16963 * files.el (hack-local-variables): Fully ignore case for "mode:".
16964
e3715033
AM
169652011-08-20 Alan Mackenzie <acm@muc.de>
16966
16967 Resolve invalid use of a regexp in regexp-opt.
16968
4d61f28d
JB
16969 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
16970 detection for a java annotation.
e3715033 16971
4d61f28d 16972 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
16973 detection for a java annotation.
16974
4d61f28d
JB
16975 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
16976 handling for java.
e3715033
AM
16977 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
16978
04ed2e9c
CY
169792011-08-20 Chong Yidong <cyd@stupidchicken.com>
16980
16981 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
16982 (Bug#9274).
16983
826cee64
AM
169842011-08-20 Alan Mackenzie <acm@muc.de>
16985
58179cce 16986 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
16987 such a construct. Mainly for when jit-lock etc. starts a chunk
16988 here.
16989
58179cce 16990 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 16991 variable.
58179cce 16992 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
16993 c-make-font-lock-search-function.
16994 (c-make-font-lock-search-function): Use the above function.
16995 (c-make-font-lock-context-search-function): New function.
16996 (c-cpp-matchers): Enhance the preprocessor expression case with
16997 the above function
16998 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
16999 which takes an expression.
17000
17001 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
17002
13009bd8
MR
170032011-08-20 Martin Rudalics <rudalics@gmx.at>
17004
17005 * window.el (display-buffer-reuse-window)
17006 (display-buffer-pop-up-window): Don't reuse or split a side
17007 window.
17008
9234ff7f
GM
170092011-08-19 Glenn Morris <rgm@gnu.org>
17010
17011 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 17012 Downcase "Mode:". (Bug#9331)
9234ff7f 17013
f635daa1
CY
170142011-08-18 Chong Yidong <cyd@stupidchicken.com>
17015
17016 * international/characters.el: Add L and R categories.
17017
17018 * subr.el (bidi-string-mark-left-to-right): Rename from
17019 string-mark-left-to-right. Use category search.
17020
17021 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
17022
bc987f8b
JL
170232011-08-18 Juri Linkov <juri@jurta.org>
17024
17025 * faces.el (error, warning, success): New faces with definitions
17026 copied from old default values of `font-lock-warning-face',
17027 `compilation-warning', `compilation-info' (bug#6117).
17028
17029 * font-lock.el (font-lock-warning-face): Inherit from `error'.
17030
17031 * progmodes/compile.el (compilation-error): Inherit from `error'.
17032 (compilation-warning): Inherit from `warning'.
17033 (compilation-info): Inherit from `success'.
17034
17035 * dired.el (dired-marked): Inherit from `warning'.
17036 (dired-flagged): Inherit from `error'.
17037
57173b96
LMI
170382011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
17039
3e79eb87
LMI
17040 * mail/smtpmail.el (auth-source): Require to avoid problems with
17041 binding variables (bug#9298). Also clean up some unused
17042 autoloads.
17043
b3fd59bd
SM
17044 * net/network-stream.el (network-stream-open-starttls):
17045 Support using starttls.el without using gnutls-cli.
57173b96 17046
02b404de
JL
170472011-08-17 Juri Linkov <juri@jurta.org>
17048
17049 * progmodes/grep.el (rgrep): Handle the case when
17050 `grep-find-command' is a cons cell (bug#9278).
17051
8c9177f2
MR
170522011-08-17 Martin Rudalics <rudalics@gmx.at>
17053
17054 * window.el (display-buffer-pop-up-frame): Run frame creation
17055 function with BUFFER current (as special-display-popup-frame
17056 does). Reported by Drew Adams.
17057
3644a0ab
DU
170582011-08-17 Daiki Ueno <ueno@unixuser.org>
17059
17060 * epa-mail.el: Simplify GnuPG group expansion using
17061 epg-expand-group.
17062 (epa-mail-group-alist, epa-mail-group-modtime)
17063 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
17064 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
17065 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
17066 Remove.
17067
5e617bc2 170682011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
17069
17070 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
17071
9c4aeabf
AM
170722011-08-16 Alan Mackenzie <acm@muc.de>
17073
17074 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
17075 Correct, to avoid the inside of macros.
17076
3a99bf64
RS
170772011-08-16 Richard Stallman <rms@gnu.org>
17078
04963aa8
RS
17079 * epa-mail.el: Handle GnuPG group definitions.
17080 (epa-mail-group-alist, epa-mail-group-modtime)
17081 (epa-mail-gnupg-conf-file): New variables.
17082 (epa-mail-parse-groups, epa-mail-sync-groups)
17083 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
17084 (epa-mail-expand-recipients): New functions.
17085 (epa-mail-encrypt): Call epa-mail-expand-recipients.
17086
177549d0
RS
17087 * mail/rmail.el (rmail-epa-decrypt): New command.
17088
fe38beef
RS
17089 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
17090 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
17091 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
17092 (epa-decrypt-armor-in-region): Make error message clearer.
17093
934eacb9
SM
170942011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
17095
17096 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
17097 and "a2b" to "ab" for `prefix'.
17098
d024fb4e
CY
170992011-08-14 Chong Yidong <cyd@stupidchicken.com>
17100
17101 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
17102 filter groups.
de148fee
CY
17103 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
17104 Fourquet (Bug#8804).
d024fb4e 17105
62f1ca49
JB
171062011-08-12 Juanma Barranquero <lekktu@gmail.com>
17107
17108 * startup.el (argi): Declare as global variable (bug#9275).
17109
9ccaaa4b
CY
171102011-08-12 Chong Yidong <cyd@stupidchicken.com>
17111
17112 * subr.el (string-mark-left-to-right): Search the entire string
17113 for RTL script, not just the terminating character. Doc fix.
17114
a3dae87a
SM
171152011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
17116
6cd18349
SM
17117 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
17118 New function.
17119 (js--regexp-literal, js-syntax-propertize-function): Remove.
17120 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
17121 (js-mode-map): Don't rebind electric keys.
17122 (js-insert-and-indent): Remove.
17123 (js-mode): Setup electric-layout and electric-indent instead.
17124
a3dae87a
SM
17125 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
17126
9d5cb631
DU
171272011-08-12 Daiki Ueno <ueno@unixuser.org>
17128
17129 * epa.el (epa-progress-callback-function): Fix the logic of
17130 displaying progress.
17131 * epa-file.el (epa-file-insert-file-contents): Make progress
17132 display more user-friendly.
17133 (epa-file-write-region): Ditto.
17134
3e26a4a2
CY
171352011-08-10 Chong Yidong <cyd@stupidchicken.com>
17136
17137 * subr.el (string-mark-left-to-right): New function.
17138
17139 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
17140 Use string-mark-left-to-right.
17141 (list-buffers-noselect): Caller changed.
17142
a3dae87a
SM
17143 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
17144 Use string-mark-left-to-right.
3e26a4a2
CY
17145 (tabulated-list-print): Recenter after moving point.
17146
ac8cf6e6
JL
171472011-08-10 Juri Linkov <juri@jurta.org>
17148
17149 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
17150 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
17151 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
17152
8d96c9a4
CY
171532011-08-09 Chong Yidong <cyd@stupidchicken.com>
17154
17155 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
17156 (Bug#7554).
17157
7be1c708 171582011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
17159
17160 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
17161 character. (Bug#6594)
17162
37e11a63
CY
171632011-08-08 Chong Yidong <cyd@stupidchicken.com>
17164
839dde57
CY
17165 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
17166 (image-dired--with-db-file): New macro.
17167 (image-dired-write-tags, image-dired-remove-tag)
17168 (image-dired-create-gallery-lists, image-dired-write-comments)
17169 (image-dired-get-comment, image-dired-mark-tagged-files)
17170 (image-dired-list-tags, image-dired-gallery-generate): Use it.
17171 (image-dired-gallery-generate): Use insert-file-contents.
17172
37e11a63
CY
17173 * time.el (display-time-world-list, display-time-world-display):
17174 * time-stamp.el (time-stamp-string):
17175 * vc/add-log.el (add-change-log-entry): Use setenv instead of
17176 set-time-zone-rule (Bug#7337).
17177
0b4946c4
DU
171782011-08-08 Daiki Ueno <ueno@unixuser.org>
17179
17180 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
17181 (epg-error-to-string, epg-errors-to-string): New function.
17182 (epg-wait-for-completion): Reverse errors list.
17183 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
17184 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
17185 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
17186 (epg-sign-keys, epg-generate-key-from-file)
17187 (epg-generate-key-from-string): Format errors by using
17188 epg-errors-to-string (bug#9255).
17189 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
17190
75bfc667
JL
171912011-08-07 Juri Linkov <juri@jurta.org>
17192
17193 * faces.el (list-faces-display): Remove extra angle bracket
17194 from `help-mode-map'.
17195
17196 * info.el (Info-history-toc-nodes): Doc fix.
17197
17198 * longlines.el (longlines-mode): Doc fix.
17199
673e08bb
SM
172002011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
17201
4640dd88
SM
17202 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
17203 of statements and in a few more cases (bug#9183).
17204
673e08bb
SM
17205 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
17206 New functions.
17207 (cl-transform-lambda): Use them (bug#9239).
17208
89b3f019
MR
172092011-08-05 Martin Rudalics <rudalics@gmx.at>
17210
17211 * window.el (display-buffer-same-window)
17212 (display-buffer-same-frame, display-buffer-other-window)
17213 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
17214 (pop-to-buffer-other-window)
17215 (pop-to-buffer-same-frame-other-window)
17216 (pop-to-buffer-other-frame): Make them defuns.
17217 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
17218
640c8776
SM
172192011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
17220
17221 * subr.el (make-composed-keymap): Move from C. Change calling
17222 convention, and improve docstring to bring attention to a subtle point.
17223 * minibuffer.el (completing-read-default): Adjust accordingly.
17224
63648a95
MA
172252011-08-03 Michael Albinus <michael.albinus@gmx.de>
17226
17227 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
17228 (tramp-open-shell): Use `tramp-shell-quote-argument'.
17229
17230 * net/trampver.el: Update release number.
17231
b796c9b7
SM
172322011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
17233
17234 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
17235 "in" (bug#9190).
17236
2239d7d5
LMI
172372011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
17238
e07dd7c3
LMI
17239 * mail/sendmail.el (sendmail-query-once): Restore the current
17240 buffer after querying (bug#9074).
17241
0e6a2bd7
LMI
17242 * dired.el (dired-flagged): Use different faces for marked and
17243 flagged files (bug#6117).
17244
ce887515
LMI
17245 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
17246 (bug#4433).
17247
92f2affc
LMI
17248 * ido.el (ido-mode): Switch off the message if called
17249 non-interactively.
17250
57d5aff0
LMI
17251 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
17252 before 587, since it appears that that's more likely to work for
17253 more people.
17254
98cd6c18 17255 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 17256 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
17257 exist.
17258
b96dec83
LMI
17259 * info.el: Remove the `Info-beginning-of-buffer' function
17260 (bug#8325).
17261
b796c9b7
SM
17262 * net/network-stream.el (network-stream-open-starttls):
17263 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 17264
d90e2ea0
MR
172652011-08-01 Martin Rudalics <rudalics@gmx.at>
17266
17267 * window.el (display-buffer-in-window): Don't set dedicated status
17268 of window here (Bug#9215).
17269 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
17270 (display-buffer-pop-up-side-window)
b796c9b7 17271 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 17272
cca09170
SM
172732011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
17274
17275 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
17276 before binding generated-autoload-file.
17277
027b979c
DD
172782011-08-01 Deniz Dogan <deniz@dogan.se>
17279
17280 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
17281
3c7ee4f3
MA
172822011-07-30 Michael Albinus <michael.albinus@gmx.de>
17283
17284 Sync with Tramp 2.2.2.
17285
17286 * net/trampver.el: Update release number.
17287
2cc8e51a
JL
172882011-07-30 Juri Linkov <juri@jurta.org>
17289
17290 * dired-aux.el (dired-touch-initial): Remove function.
17291 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
17292 current time, and `default' to the last modification time of the
17293 current marked file (bug#6887).
17294
a514d856
JM
172952011-07-28 Jose E. Marchesi <jemarch@gnu.org>
17296
17297 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 17298 numeric argument to read-number (bug#9163).
a514d856 17299
8a7eddd7
MA
173002011-07-27 Michael Albinus <michael.albinus@gmx.de>
17301
17302 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
17303 connection process, it could be nil.
17304
1ddd96f5
LL
173052011-07-27 Leo Liu <sdl.web@gmail.com>
17306
17307 Simplify url handling in rcirc-mode.
17308
17309 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
17310 (rcirc-browse-url-at-mouse): Remove.
17311 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
17312
b248a85d
AM
173132011-07-26 Alan Mackenzie <acm@muc.de>
17314
17315 Fontify bitfield declarations properly.
17316
17317 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
17318 (c-symbol-chars): Now exported as a lang variable.
17319 (c-not-primitive-type-keywords): New lang variable.
17320
17321 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
17322 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 17323 parsed as a bitfield declaration.
b248a85d 17324
b796c9b7
SM
17325 * progmodes/cc-engine.el (c-beginning-of-statement-1):
17326 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
17327 (c-punctuation-in): New function.
17328 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
17329 declarations properly.
17330
68575ab0
UJ
173312011-07-26 Ulf Jasper <ulf.jasper@web.de>
17332
17333 * calendar/icalendar.el (icalendar--all-events): Take care of
17334 multiple vcalendars in a single file.
b796c9b7 17335 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 17336
0f0a88b9
DD
173372011-07-25 Deniz Dogan <deniz@dogan.se>
17338
17339 * image.el (insert-image): Clarifying docstring.
17340
0b3f36df
MA
173412011-07-24 Michael Albinus <michael.albinus@gmx.de>
17342
17343 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
17344 `tramp-send-command-and-check' if there is no error.
17345 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
17346
a9901f61
AM
173472011-07-22 Alan Mackenzie <acm@muc.de>
17348
17349 Prevent cc-langs.elc being loaded at run time.
17350
17351 * progmodes/cc-mode.el: Remove two autoload forms which loaded
17352 cc-langs.
17353
4d61f28d 17354 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
17355 "(require 'cc-langs)". Quote a form so it will evaluate at
17356 (cc-mode's) compilation time.
17357
11d074b2
MA
173582011-07-22 Michael Albinus <michael.albinus@gmx.de>
17359
17360 * net/tramp.el (tramp-file-name-handler): Avoid recursive
17361 loading. (Bug#9114)
17362
938b94c8
MR
173632011-07-21 Martin Rudalics <rudalics@gmx.at>
17364
17365 * window.el (display-buffer-pop-up-window)
17366 (display-buffer-pop-up-side-window)
17367 (display-buffer-in-side-window): Call display-buffer-set-height
17368 and display-buffer-set-width after setting the new window's
b796c9b7 17369 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 17370
bfa4f190
SS
173712011-07-20 Sam Steingold <sds@gnu.org>
17372
17373 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
17374 (etags-tags-included-tables): Call `convert-standard-filename' on
17375 the file names contained in TAGS so that windows Emacs can handle
17376 TAGS files created by cygwin ctags.
17377
8ca42262
LMI
173782011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
17379
17380 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
17381 which apparently didn't work.
17382
5db2afd2 173832011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 17384
5db2afd2
RW
17385 * proced.el (proced-send-signal): For *Marked Processes* buffer
17386 put point at beginning of buffer.
17387
92e15d10
SB
173882011-07-19 Stephen Berman <stephen.berman@gmx.net>
17389
17390 * proced.el (proced-format): Make header lines align with the text
17391 (bug#1779).
17392
1bfd59e5
LMI
173932011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
17394
17395 * view.el (view-buffer): Allow running in `special' modes if we're
17396 visiting a file (bug#8615).
17397
f5aae37c
MR
173982011-07-19 Martin Rudalics <rudalics@gmx.at>
17399
17400 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
17401 (display-buffer-alist-set-1, display-buffer-alist-set-2):
17402 New functions.
f5aae37c
MR
17403 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
17404 more accurately.
17405
bf2c1571
AM
174062011-07-18 Alan Mackenzie <acm@muc.de>
17407
17408 Fontify declarators properly when, e.g., a jit-lock chunk begins
17409 inside a declaration.
17410
17411 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
17412
b796c9b7
SM
17413 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
17414 New function.
bf2c1571
AM
17415 (c-complex-decl-matchers): Insert reference to
17416 c-font-lock-enclosing-decls.
17417
17418 * progmodes/cc-engine.el (c-backward-single-comment):
17419 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
17420 to nil around calls to (forward-comment -1).
17421
4e190b80
LMI
174222011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
17423
12dc863d
LMI
17424 * image.el (put-image): Doc typo fix.
17425
a762e966
LMI
17426 * progmodes/etags.el (tags-search): Doc typo fix.
17427
4e190b80
LMI
17428 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
17429 password if we get errors 550 to 554.
17430
f019fb21
LMI
174312011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
17432
b796c9b7 17433 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 17434
81746738
LMI
17435 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
17436 indentation character (bug#6380).
17437
3ee3a1b5
LMI
17438 * files.el (buffer-offer-save): Made permanently local (bug#6241).
17439
c82f64de
LMI
17440 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
17441 to clarify what the problem is (bug#4291).
17442
f019fb21
LMI
17443 * simple.el (current-kill): Clarify what
17444 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
17445 (auto-fill-mode): Document `auto-fill-function' in relation to
17446 `auto-fill-mode' (bug#2470).
f019fb21 17447
0794775d
LM
174482011-07-16 Lawrence Mitchell <wence@gmx.li>
17449
17450 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
17451 method if slot is read-only (bug#9035).
17452
be39b8cc
MR
174532011-07-16 Martin Rudalics <rudalics@gmx.at>
17454
b796c9b7 17455 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 17456 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
17457 selected before, see discussion of (Bug#8615), (Bug#6954).
17458 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 17459
6ccf7859
GM
174602011-07-15 Glenn Morris <rgm@gnu.org>
17461
17462 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 17463 Respect help-form.
6ccf7859 17464
87e86684
LM
174652011-07-09 Lawrence Mitchell <wence@gmx.li>
17466
17467 * net/gnutls.el (gnutls-min-prime-bits): New variable.
17468 (gnutls-negotiate): Use it.
17469
d6066239
LMI
174702011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
17471
b796c9b7
SM
17472 * net/gnutls.el (gnutls-negotiate):
17473 Upcase `gnutls-algorithm-priority'.
d6066239 17474
bd23ebc0
GM
174752011-07-15 Glenn Morris <rgm@gnu.org>
17476
c65bca65
GM
17477 * jka-compr.el (jka-compr-verbose): Move from here...
17478 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
17479 Add missing :version tag.
17480 * info.el: No need to require jka-compr when compiling.
bd23ebc0 17481
478615cc
LMI
174822011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
17483
7b41decb
LMI
17484 * net/gnutls.el (gnutls-algorithm-priority): New variable.
17485 (gnutls-negotiate): Use it.
17486
dbc44fcd
LMI
17487 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
17488
06789f97
LMI
17489 * info.el (Info-beginning-of-buffer): New command.
17490 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
17491 announcing `b' as the key (bug#8325).
ab896c37 17492 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 17493
c39da690
LMI
17494 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
17495
3aa5f34b
LMI
17496 * international/mule-cmds.el
17497 (describe-specified-language-support): Make the error message
17498 clearer (bug#8905).
17499
4bf0979f
LMI
17500 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
17501
478615cc
LMI
17502 * isearch.el (isearch-barrier): Add a doc string, since it's
17503 mentioned in a function doc string (bug#8678).
17504
75c68aa1
MR
175052011-07-15 Martin Rudalics <rudalics@gmx.at>
17506
17507 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
17508 buffer argument (Bug#9083) and self-identifying label argument.
17509
a7c33da2
GM
175102011-07-15 Glenn Morris <rgm@gnu.org>
17511
17512 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
17513
2f5c6024
LMI
175142011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
17515
17516 * man.el (Man-fontify-manpage): Fix message when formatting the
17517 man page (bug#7929).
17518
0bb23927 175192011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
17520
17521 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
17522 argument LRM; if non-nil, append an invisible LRM character to the
17523 buffer name.
17524 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
17525 last argument non-nil, when formatting buffer names.
0bb23927
EZ
17526 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
17527 paragraph direction.
cce4b0a7 17528
621ef9ab
LMI
175292011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
17530
d1583c48
LMI
17531 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
17532 the man page name (bug#7929).
17533
6a57fb5f
LMI
17534 * image.el (put-image): Mention the `put-image' overlay property
17535 (bug#7834).
17536
d7956b14
LMI
17537 * scroll-bar.el (set-scroll-bar-mode): Mention that
17538 `scroll-bar-mode' lists the values (bug#7772).
17539
5b2d4a66
LMI
17540 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
17541 command (bug#7729).
17542
7509a874
LMI
17543 * rect.el (apply-on-rectangle): Return the point after the last
17544 operation.
17545 (string-rectangle): Go to the point after the last operation
17546 (bug#7522).
17547
4fe74b19
LMI
17548 * printing.el (pr-toggle-region): Clarify the documentation
17549 slightly (bug#7493).
17550
b796c9b7
SM
17551 * time.el (display-time-update):
17552 Allow `display-time-mail-function' to return nil (bug#7158).
17553 Fix suggested by Detlev Zundel.
ab283561 17554
fc233c9d
LMI
17555 * vc/diff.el (diff): Clarify the order the file names are read
17556 (bug#7111).
17557
43f5740b
LMI
17558 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
17559 the doc string (bug#7015).
17560
f2182a76
LMI
17561 * font-lock.el (font-lock-maximum-decoration): Mention what
17562 numeric levels mean (bug#6935).
17563
621ef9ab
LMI
17564 * startup.el (initial-buffer-choice): Don't mention the `none'
17565 selection, which is against policy.
17566
adc47434
MR
175672011-07-14 Martin Rudalics <rudalics@gmx.at>
17568
b796c9b7
SM
17569 * window.el (display-buffer-normalize-special):
17570 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 17571
7e5bfb8f
EZ
175722011-07-14 Eli Zaretskii <eliz@gnu.org>
17573
17574 * subr.el (version<, version<=, version=): Mention "-CVS" and
17575 "-12345" alpha version numbers.
17576
27fa387a
CY
175772011-07-14 Chong Yidong <cyd@stupidchicken.com>
17578
17579 * bindings.el: Add advertised binding for set-mark-command
17580 (Bug#5772).
17581
8bdfa064
CY
175822011-07-14 Chong Yidong <cyd@stupidchicken.com>
17583
17584 * bindings.el (mode-line-other-buffer):
17585 * bookmark.el (bookmark-bmenu-2-window):
17586 * bs.el (bs-cycle-next, bs-cycle-previous):
17587 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
17588 switch-to-buffer.
17589
17590 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 17591 Delete.
8bdfa064 17592
5eba16a3
JB
175932011-07-14 Juanma Barranquero <lekktu@gmail.com>
17594
17595 * follow.el (follow-debug-message, follow-redisplay):
17596 * jka-cmpr-hook.el (with-auto-compression-mode):
17597 Fix typos in docstrings.
17598
15853710
LMI
175992011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
17600
a28e4607
LMI
17601 * subr.el (with-silent-modifications): Clarify somewhat what the
17602 macro inhibits (bug#6525).
17603
15853710
LMI
17604 * simple.el (eval-expression): Note what it does if called
17605 interactively (bug#6495).
17606
bee0fcef
CY
176072011-07-13 Chong Yidong <cyd@stupidchicken.com>
17608
b796c9b7
SM
17609 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
17610 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
17611
17612 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
17613 Remove switch-to-buffer.
17614
58274504
LMI
176152011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
17616
bd2fcc8d
LMI
17617 * files.el (make-directory): Clarify that an error will be raised
17618 if there's an error (bug#6397).
17619
0f04b32c
LMI
17620 * startup.el (initial-buffer-choice): Add `none' as a choice
17621 (bug#6234).
17622
465c5fc8
LMI
17623 * subr.el (add-hook): Clarify section about buffer-local hooks
17624 (bug#6218).
17625
58274504
LMI
17626 * dired.el (dired-flagged): Clarify doc string (bug#6117).
17627
bead9a43
JB
176282011-07-13 Juanma Barranquero <lekktu@gmail.com>
17629
17630 * tabify.el (untabify): Preserve the current column so that point
17631 doesn't move (bug#6032).
17632
3af98a7b
LMI
176332011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
17634
b796c9b7
SM
17635 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
17636 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 17637
6240145a
GM
176382011-07-13 Glenn Morris <rgm@gnu.org>
17639
17640 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
17641 (dired-insert-directory): Give a message the first time
17642 if ls is found not to support --dired.
17643
1d8c2ccc
LMI
176442011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
17645
17646 * simple.el (toggle-truncate-lines): Clarify what is toggled
17647 (bug#5580). Text by Drew Adams.
17648
5fc4038e
CY
176492011-07-13 Chong Yidong <cyd@stupidchicken.com>
17650
17651 * simple.el (blink-matching-open): Make the error message from the
17652 last change less verbose.
17653
bf6012e5
DN
176542011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
17655
17656 * font-lock.el (font-lock-comment-face): Use the high contrast
17657 "yellow" color for font-lock-comment-face on low color terminals
17658 using a dark background color (bug#4221).
17659
343c3b5a
LMI
176602011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
17661
7e9505c5
LMI
17662 * dired.el (dired-insert-set-properties): Make the doc string
17663 reflect what it does now (bug#5325).
17664
c26fdcf5
LMI
17665 * simple.el (blink-matching-open): Say that we were unable to find
17666 the match within the limit, if we're limited (bug#5122).
17667
bb388cc5
LMI
17668 * international/mule-cmds.el (prefer-coding-system): Add an
17669 example (bug#4869).
17670
343c3b5a
LMI
17671 * progmodes/etags.el (tags-search): Document `file-list-form'
17672 (bug#4731).
17673
2a517d45
LM
176742011-07-13 Lawrence Mitchell <wence@gmx.li>
17675
17676 * net/browse-url.el (browse-url-default-browser)
17677 (browse-url-browser-function): Make the default browser choice a
17678 bit more logical (bug#4300). Also clean up the doc string.
17679
b6c78ef2
JB
176802011-07-13 Juanma Barranquero <lekktu@gmail.com>
17681
17682 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
17683 binary endings (bug#4440).
17684
1c4dd947
LMI
176852011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
17686
a2014063
LMI
17687 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
17688 which can be pretty annoying (bug#8971).
17689
9c9c2d88
LMI
17690 * jka-compr.el (jka-compr-verbose): New variable, and use
17691 throughout (bug#8971).
17692
1c4dd947
LMI
17693 * info.el (Info-find-file): Fall back on the installation
17694 directory if we can't find the info node anywhere else.
17695
a1c9f41b
SO
176962011-07-13 Sergei Organov <osv@javad.com> (tiny change)
17697
17698 * vc/vc.el (vc-revert-file):
17699 Don't set file time-stamp in the past. (Bug#5181)
17700
536f3d36
LMI
177012011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
17702
7152b011
LMI
17703 * files.el (after-find-file): Give a better error message when
17704 trying to find a symlink that points to a file that doesn't exist
17705 (bug#4398).
17706
536f3d36
LMI
17707 * progmodes/cc-vars.el: Remove (probably) misleading comment
17708 (bug#4396).
17709
460c0fba
JB
177102011-07-12 Johan Bockgård <bojohan@gnu.org>
17711
17712 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
17713
7a6bda45
CY
177142011-07-12 Chong Yidong <cyd@stupidchicken.com>
17715
17716 * mouse-sel.el: Hack restoring functionality, while keeping
17717 compatibility with 2010-07-03 changes to mouse selection.
17718 (mouse-sel-primary-overlay): New var.
17719 (mouse-sel-selection-alist): Use it.
17720 (mouse-sel-mode): Doc fix; remove points that are default features
17721 of mouse.el.
17722
c79598ef
JB
177232011-07-12 Johan Bockgård <bojohan@gnu.org>
17724
17725 * progmodes/compile.el (compilation-error-regexp-alist-alist):
17726 Fix previous fix (bug#2490).
17727
ff8be6ef
RW
177282011-07-12 Roland Winkler <winkler@gnu.org>
17729
b796c9b7
SM
17730 * textmodes/bibtex.el (bibtex-initialize):
17731 Use pop-to-buffer-same-window.
ff8be6ef
RW
17732 (bibtex-search-entries): Fix interactive call.
17733
296ba3ee
LMI
177342011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
17735
f5242a02 17736 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
17737 Fontise bytecomp Error lines more correctly (bug#2490).
17738 Fix suggested by Johan Bockgård.
f5242a02 17739
296ba3ee
LMI
17740 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
17741
17742 * dired-x.el (dired-guess-default): Use `delete-dups'.
17743
f69fd0d2
CY
177442011-07-12 Chong Yidong <cyd@stupidchicken.com>
17745
17746 * dired.el (dired-mark-prompt):
17747 * dired-aux.el (dired-read-shell-command): Doc fix.
17748
eab5dc07
LMI
177492011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
17750
b796c9b7
SM
17751 * mail/sendmail.el (sendmail-query-once):
17752 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
17753 emacs -Q.
17754
17755 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
17756
eab5dc07
LMI
17757 * cus-edit.el (custom-file): Take an optional no-error variable.
17758 (customize-save-variable): Set the variable, and give a warning if
17759 running under "emacs -q".
17760
a1e65d42
JB
177612011-07-11 Juanma Barranquero <lekktu@gmail.com>
17762
17763 * loadhist.el (unload-feature-special-hooks):
17764 Add `auto-coding-functions', `fill-nobreak-predicate' and
17765 `find-directory-functions' (bug#5327).
17766
1d52da10
LMI
177672011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
17768
be958f1d
LMI
17769 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
17770
5bedb26c
LMI
17771 * cus-edit.el (custom-guess-name-alist): -alist variables should
17772 use the `alist' type (bug#3120). Suggested by Drew Adams.
17773
1d52da10
LMI
17774 * printing.el: Add documentation to all the `pr-toggle-' commands.
17775
cd394be1 177762011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
17777
17778 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
17779 backends where it makes sense (bug#2623).
17780
dcc88d8a
LMI
177812011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
17782
c3de9feb
LMI
17783 * dired-x.el (dired-guess-default): Remove duplicate shell command
17784 entries (bug#2028).
8a93078b 17785 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 17786 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 17787
dcc88d8a
LMI
17788 * subr.el (remove-duplicates): New conveniency function.
17789
505e3645
LMI
177902011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
17791
17792 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
17793 (bug#1526).
17794
177952011-07-10 Martin Rudalics <rudalics@gmx.at>
17796
17797 * window.el (display-buffer-normalize-default): Don't invert
17798 meaning of even-window-heights. Reported by Eli Zaretskii
17799 <eliz@gnu.org>.
17800
455e4fa1
BR
178012011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
17802
17803 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
17804
8e0bc3e9
CY
178052011-07-10 Chong Yidong <cyd@stupidchicken.com>
17806
17807 * window.el (display-buffer): Fix arguments to
17808 display-buffer-reuse-window in last change.
17809
fa7c3228
CY
17810 * faces.el (link): Use a less saturated blue on light backgrounds.
17811
17812 * startup.el (fancy-startup-text, fancy-about-text)
17813 (fancy-startup-tail): Use font-lock faces, for background safety.
17814
c0a7f300
BN
178152011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
17816
b796c9b7
SM
17817 * emulation/viper-cmd.el (viper-change-state-to-vi):
17818 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 17819
4dc2a129
MR
178202011-07-09 Martin Rudalics <rudalics@gmx.at>
17821
17822 * window.el (display-buffer-default-specifiers): Remove.
17823 (display-buffer-macro-specifiers): Remove default specifiers.
17824 (display-buffer-alist): Default to nil.
b796c9b7 17825 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
17826 (display-buffer-pop-up-window): Allow splitting internal
17827 windows. Check whether a live window was created.
17828 (display-buffer-other-window-means-other-frame)
17829 (display-buffer-normalize-arguments): Rename to
17830 display-buffer-normalize-argument and rewrite. Set the
17831 other-window specifier.
17832 (display-buffer-normalize-special): New function.
17833 (display-buffer-normalize-options): Rename to
17834 display-buffer-normalize-default and rewrite.
17835 (display-buffer-normalize-options-inhibit): Remove.
17836 (display-buffer-normalize-specifiers): Rewrite.
17837 (display-buffer): Process other-window specifier and call
17838 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
17839 more faithfully.
b796c9b7 17840 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 17841 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
17842 (display-buffer-in-window, display-buffer-alist-set):
17843 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
17844 <tassilo@member.fsf.org>.
17845
2d43b8c9
LL
178462011-07-09 Leo Liu <sdl.web@gmail.com>
17847
17848 * register.el (insert-register): Restore accidental change on
17849 2011-06-26. (Bug#9028)
17850
7f9b7c53
GM
178512011-07-09 Glenn Morris <rgm@gnu.org>
17852
17853 * subr.el (remq): Handle the empty list. (Bug#9024)
17854
f042cfd8
AS
178552011-07-08 Andreas Schwab <schwab@linux-m68k.org>
17856
17857 * mail/sendmail.el (send-mail-function): No longer delay custom
17858 initialization.
17859 * custom.el (custom-initialize-delay): Doc fix.
17860
856b2f11
SM
178612011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
17862
17863 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
17864
afae1d68
MA
178652011-07-08 Michael Albinus <michael.albinus@gmx.de>
17866
17867 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
17868 human-friendly prompt.
17869
0757af94
SM
178702011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
17871
17872 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
17873 provided by a particular plugin.
17874
d760b731
LMI
178752011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
17876
17877 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
17878 save customizations (with "emacs -Q"), just set the variable
17879 instead of erroring out.
17880
17881 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
17882
cd79ce90
JL
178832011-07-08 Juri Linkov <juri@jurta.org>
17884
17885 * arc-mode.el (archive-zip-expunge, archive-zip-update)
17886 (archive-zip-update-case): Use 7z if found by `executable-find'.
17887 The order of searching the available programs is the same as in
17888 `archive-zip-extract' (bug#8968).
17889
14cc04aa
CY
178902011-07-07 Chong Yidong <cyd@stupidchicken.com>
17891
17892 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
17893 (menu-bar-options-menu): Tweak descriptions.
17894
0a1848ec
LMI
178952011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
17896
17897 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
17898 menu items into verb phrases (bug#1421). Also refill to fit under
17899 80 columns.
17900
f5bd0689
CY
179012011-07-07 Chong Yidong <cyd@stupidchicken.com>
17902
538e85c6
CY
17903 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
17904 (Info-read-node-name): Doc fix (Bug#1084).
17905
f5bd0689
CY
17906 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
17907 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
17908 (end-of-sexp, beginning-of-sexp)
17909 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
17910 (forward-symbol, forward-same-syntax, word-at-point)
17911 (sentence-at-point): Doc fix (Bug#1144).
17912
56ec5115
LMI
179132011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
17914
f3f8e37f
LMI
17915 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
17916 should cover it (bug#1281).
17917
0757af94 17918 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 17919
e9fce1ac 17920 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
17921 negotiation fails, then possibly try again with a non-encrypted
17922 connection (bug#9017).
17923
56ec5115
LMI
17924 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
17925 be used.
17926
c2f9aec8
RS
179272011-07-07 Richard Stallman <rms@gnu.org>
17928
17929 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
17930 property, and handle its changed format.
17931 Look for the correct line number.
17932 Use file's line contents (but not past first =) to find
17933 correct line in message.
17934
ef7b981d 179352011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
17936
17937 * international/characters.el (build-unicode-category-table):
17938 Delete it.
0757af94 17939 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 17940
0757af94 17941 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
17942 to src/chartab.c.
17943 (get-char-code-property): Call unicode-property-table-internal to
17944 load a file. Call get-unicode-property-internal where necessary.
17945 (put-char-code-property): Call unicode-property-table-internal to
17946 load a file. Call put-unicode-property-internal where necessary.
17947 put-unicode-property-internal where necessary.
0757af94
SM
17948 (char-code-property-description):
17949 Call unicode-property-table-internal to load a file.
c805dec0
KH
17950
17951 * international/charprop.el:
17952 * international/uni-bidi.el:
17953 * international/uni-category.el:
17954 * international/uni-combining.el:
17955 * international/uni-comment.el:
17956 * international/uni-decimal.el:
17957 * international/uni-decomposition.el:
17958 * international/uni-digit.el:
17959 * international/uni-lowercase.el:
17960 * international/uni-mirrored.el:
17961 * international/uni-name.el:
17962 * international/uni-numeric.el:
17963 * international/uni-old-name.el:
17964 * international/uni-titlecase.el:
17965 * international/uni-uppercase.el: Regenerate.
17966
17967 * loadup.el: Load international/charprop.el before
17968 international/characters.
17969
e14b388a
CY
179702011-07-07 Chong Yidong <cyd@stupidchicken.com>
17971
17972 * window.el (next-buffer, previous-buffer): Signal an error if
17973 called from a minibuffer window.
17974
17975 * bindings.el: Revert 2011-07-04 change.
17976
354cf0ba
RS
179772011-07-06 Richard Stallman <rms@gnu.org>
17978
17979 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
17980 (rmail-mime-insert-bulk, rmail-mime-insert-text):
17981 Treat markers like ints.
17982 (rmail-mime-entity): Doc fix.
17983
a48868a7
LMI
179842011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
17985
4906cd3d
LMI
17986 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
17987 defcustom again for backwards compatibility.
17988
e0457abe
LMI
17989 * simple.el (shell-command-on-region): Fill.
17990
d67f7e1f
LMI
17991 * dired-aux.el (dired-kill-line): Add a doc string.
17992
fe204702
LMI
17993 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
17994 to "\\sw\\|\\s_" (bug#358).
17995
a48868a7
LMI
17996 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
17997 (dired-unmark-backward): Ditto.
17998 (dired-flag-backup-files): Ditto.
17999
18000 * dired-x.el (dired-mark-sexp): Ditto.
18001
aa8a705c
RS
180022011-07-06 Richard Stallman <rms@gnu.org>
18003
18004 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
18005 (rmail-mime-entity): New arg TRUNCATED.
18006 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
18007 New functions.
18008 (rmail-mime-save): Warn if entity is truncated.
18009 (rmail-mime-toggle-hidden): Likewise, for showing.
18010 (rmail-mime-process-multipart): Record when an entity is truncated.
18011
a9a936b9
RS
18012 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
18013 if ENTITY is a string.
18014
1f2b92cb
LMI
180152011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
18016
f4f73198 18017 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
18018 of faces when `M-C-x'-ing their definitions (bug#8378).
18019 Also clean up the code slightly.
f4f73198 18020
12b16734 18021 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 18022 because that makes the colors go away.
12b16734 18023
f0691d22
LMI
18024 * mail/sendmail.el (send-mail-function): Change the default to
18025 `sendmail-query-once'.
9e87df06 18026 (sendmail-query-once): Add an autoload cookie.
f0691d22 18027
1f2b92cb
LMI
18028 * net/network-stream.el (network-stream-open-starttls): Try using
18029 a plain connection even if the server offered STARTTLS, and we
18030 kinda wanted to use it, if Emacs doesn't have any STARTTLS
18031 capability. This should make smtpmail.el work in slightly more
18032 configurations.
18033
1cdd2a1b
MA
180342011-07-06 Michael Albinus <michael.albinus@gmx.de>
18035
18036 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
18037 New defun.
18038 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
18039
fbcc67e2
MM
180402011-07-06 Michael R. Mauger <mmaug@yahoo.com>
18041
18042 * progmodes/sql.el: Version 3.0
0757af94 18043 (sql-product-alist): Add product :completion-object,
fbcc67e2 18044 :completion-column, and :statement attributes.
0757af94 18045 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 18046 (sql-mode-syntax-table): Mark all punctuation.
0757af94 18047 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
18048 ansi keywords.
18049 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 18050 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
18051 (sql-oracle-show-reserved-words): New function for development.
18052 (sql-product-font-lock): Simplify for source code buffers.
18053 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
18054 New functions.
18055 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
18056 (sql-mode-map): Add statement movement functions.
18057 (sql-ansi-statement-starters, sql-oracle-statement-starters):
18058 New variable.
fbcc67e2
MM
18059 (sql-statement-regexp, sql-beginning-of-statement)
18060 (sql-end-of-statement, sql-signum): New functions.
0757af94 18061 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
18062 (sql-show-sqli-buffer): Bug fix.
18063 (sql-interactive-mode): Store connection data as buffer local.
0757af94 18064 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
18065 with sql-interactive-mode.
18066 (sql-save-connection): Save buffer local settings.
0757af94 18067 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
18068 (sql-product-interactive): Bug fix.
18069 (sql-preoutput-hold): New variable.
18070 (sql-interactive-remove-continuation-prompt): Bug fixes.
18071 (sql-debug-redirect): New variable.
18072 (sql-str-literal): New function.
18073 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 18074 Redesign.
fbcc67e2
MM
18075 (sql-oracle-save-settings, sql-oracle-restore-settings)
18076 (sql-oracle-list-all, sql-oracle-list-table): New functions.
18077 (sql-completion-object, sql-completion-column)
18078 (sql-completion-sqlbuf): New variables.
18079 (sql-build-completions-1, sql-build-completions)
18080 (sql-try-completion): New functions.
18081 (sql-read-table-name): Use them.
18082 (sql-contains-names): New buffer local variable.
18083 (sql-list-all, sql-list-table): Use it.
18084 (sql-oracle-completion-types): New variable.
18085 (sql-oracle-completion-object, sql-sqlite-completion-object)
18086 (sql-postgres-completion-object): New functions.
18087
d4eaeab1
GM
180882011-07-06 Glenn Morris <rgm@gnu.org>
18089
18090 * window.el (pop-to-buffer): Doc fix.
18091
322b7dab 180922011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
18093
18094 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
18095
322b7dab 180962011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 18097
322b7dab 18098 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 18099
322b7dab 18100 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 18101
605dd5bf
CY
181022011-07-05 Chong Yidong <cyd@stupidchicken.com>
18103
18104 * button.el (button): Inherit from link face. Suggested by Dan
18105 Nicolaescu.
18106
7dbfa719
SM
181072011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
18108
3db614b0
SM
18109 * progmodes/gdb-mi.el: Fit in 80 columns.
18110 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
18111 switch-to-buffer.
18112
7dbfa719
SM
18113 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
18114 if imenu is simply not configured (bug#8941).
18115
919d884a
KM
181162011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
18117
18118 * allout.el (allout-post-undo-hook): New allout outline-change
18119 event hook to signal undo activity.
18120 (allout-post-command-business): Run allout-post-undo-hook if an
18121 undo just occurred.
7dbfa719
SM
18122 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
18123 * allout-widgets.el (allout-widgets-after-undo-function):
18124 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
18125 in the vicinity of an undo.
18126 (allout-widgets-mode): Include allout-widgets-after-undo-function
18127 on the new allout-post-undo-hook.
18128
450a0f09
SM
181292011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
18130
18131 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
18132 Let define-derived-mode define it.
18133 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
18134 cycles of abbrev-table inheritance (bug#8998).
18135
2de69e00
RW
181362011-07-05 Roland Winkler <winkler@gnu.org>
18137
18138 * textmodes/bibtex.el: Add support for biblatex.
18139 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
18140 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
18141 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
18142 (bibtex-entry-alist, bibtex-field-alist): New variables.
18143 (bibtex-entry-field-alist): Obsolete alias for
18144 bibtex-BibTeX-entry-alist.
18145 (bibtex-entry-alist, bibtex-field-alist): New widgets.
18146 (bibtex-set-dialect): New command.
18147 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
18148 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
18149 Bind via bibtex-set-dialect.
2de69e00
RW
18150 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
18151 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
18152 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
18153 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
18154 Define via bibtex-set-dialect.
450a0f09
SM
18155 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
18156 Obey bibtex-no-opt-remove-re.
2de69e00
RW
18157 (bibtex-vec-push, bibtex-vec-incr): New functions.
18158 (bibtex-format-entry, bibtex-field-list)
18159 (bibtex-print-help-message, bibtex-validate)
18160 (bibtex-search-entries): Use new format of bibtex-entry-alist.
18161
2dcdbdd9
SM
181622011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
18163
18164 * progmodes/compile.el (compilation-goto-locus):
18165 * net/tramp-cmds.el (tramp-append-tramp-buffers):
18166 * bs.el (bs-cycle-next, bs-cycle-previous):
18167 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
18168 * bindings.el (mode-line-other-buffer):
18169 * autoinsert.el (auto-insert):
18170 * arc-mode.el (archive-extract):
18171 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
18172
b27640fe
JB
181732011-07-05 Juanma Barranquero <lekktu@gmail.com>
18174
18175 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
18176 Fix check of `emacs-lock-unlockable-modes'.
18177 Coerce true values of `emacs-lock--try-unlocking' to t.
18178
53bbe3ad
JB
181792011-07-05 Juanma Barranquero <lekktu@gmail.com>
18180
18181 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
18182 * emacs-lock.el: New file.
18183
1d3cdbc7
JD
181842011-07-05 Julien Danjou <julien@danjou.info>
18185
18186 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
18187 than `boundp' to check if face is set.
18188
9173deec
JB
181892011-07-05 Juanma Barranquero <lekktu@gmail.com>
18190
18191 * register.el (registerv-make):
18192 * window.el (window-min-height): Fix typos in docstrings.
18193
869795d6
JD
181942011-07-05 Jan Djärv <jan.h.d@swipnet.se>
18195
9173deec 18196 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
18197 Update doc string.
18198
b768cdcd
JB
181992011-07-04 Juanma Barranquero <lekktu@gmail.com>
18200
18201 * server.el (server-execute): Catch quit and call
18202 `server-return-error' to pass the error back to emacsclient and
18203 close the connection (bug#8942).
18204
13aa217b
KM
182052011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
18206
18207 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
18208 insecure exception for current topic. Also note that auto-saves
18209 are handled differently.
18210
5d3385a0 18211 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
13aa217b
KM
18212 State variables for tracking auto-save inhibition situation.
18213
18214 (allout-write-contents-hook-handler): Rename from
18215 'allout-write-file-hook-handler', and describe how it depends on
18216 write-contents-functions sensitivity to non-nil value to prevent
18217 file write.
18218
18219 (allout-auto-save-hook-handler): Remove. auto-save does not check
18220 this in individual buffers, only in the starting buffer, so this
18221 is not the right way for us to inhibit auto-save in a buffer
18222 according to its condition.
18223
18224 (allout-mode): Use new allout-write-contents-hook-handler, and
18225 only with write-contents-functions. Remove auto-save provisions -
18226 they're implemented elsewhere.
18227
18228 (allout-before-change-handler): If undo is in progress, note that
18229 for attention of allout-post-command-business.
18230
18231 (allout-post-command-business): If the command we're following was
18232 an undo, check for change in the status of encrypted items and
18233 adjust auto-save inhibitions accordingly.
18234
18235 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
18236 according to whether there are or aren't any plain-text topics
18237 pending encryption.
18238
2dcdbdd9 18239 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
18240 Adjust buffer-saved-size and some allout state to inhibit auto-saves
18241 if there are plain-text topics pending encryption.
13aa217b
KM
18242
18243 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
18244 buffer-saved-size and some allout state to not inhibit auto-saves
18245 if there are no longer any plain-text topics pending encryption.
18246
0757af94
SM
18247 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
18248 No longer provide for exemption of the current topic.
13aa217b 18249
ac89b32c
JL
182502011-07-04 Juri Linkov <juri@jurta.org>
18251
18252 Add 7z operations to delete and save changed members (bug#8968).
18253 * arc-mode.el (archive-7z-expunge, archive-7z-update):
18254 New defcustoms.
18255 (archive-7z-write-file-member): New function.
18256 (archive-7z-summarize): Fix the number of dashes in the
18257 listing output.
18258
8fa39615
SM
182592011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
18260
18261 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
18262 (bug#8958).
18263
2f11b3f1
CY
182642011-07-04 Chong Yidong <cyd@stupidchicken.com>
18265
d66fef2b
CY
18266 * bindings.el: Ignore next-buffer and previous-buffer in
18267 minibuffer-local-map.
18268
2f11b3f1
CY
18269 * font-lock.el (font-lock-builtin-face): Change light background
18270 color to dark slate blue (Bug#6693).
18271
f932a347
WD
182722011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
18273
18274 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
18275
c8af70e1
SM
182762011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
18277
18278 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
18279 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
18280 Add switch-to-buffer.
18281
f158badc
LMI
182822011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
18283
18284 * isearch.el (isearch-search-fun-function): Clarify further the
18285 meaning of the function returned.
18286
6d95bd46
MA
182872011-07-04 Michael Albinus <michael.albinus@gmx.de>
18288
18289 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
18290
18291 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
18292 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
18293 Use it.
18294 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
18295 `tramp-default-remote-path' does not exist.
18296 (tramp-send-command-and-read): New optional argument NOERROR.
18297 (tramp-open-connection-setup-interactive-shell)
18298 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
18299 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
18300 (tramp-process-sentinel): Flush also process' connection property.
18301 (tramp-sh-handle-start-file-process): Do not set process
18302 sentinel. It is done now ...
18303 (tramp-maybe-open-connection): ... here. (Bug#8929)
18304
909e6b67
MK
183052011-07-04 MON KEY <monkey@sandpframing.com>
18306
18307 * play/animate.el (animate-string): Doc fixes and allow changing
18308 the buffer name (bug#5417).
18309
183102011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
18311
c8af70e1 18312 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 18313
f34755dc
PE
183142011-07-04 Paul Eggert <eggert@cs.ucla.edu>
18315
396cec72
PE
18316 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
18317 This is simpler and helps future-proof the code.
18318 (timer-until): Use time-subtract and float-time.
08235028 18319 (timer--time-less-p): Use time-less-p.
f34755dc 18320
56e6cc31
JB
183212011-07-04 Juanma Barranquero <lekktu@gmail.com>
18322
3abb79e5
JB
18323 * type-break.el (timep): Use the value of `float-time' to avoid a
18324 byte-compiler warning.
18325
56e6cc31
JB
18326 * server.el (server-eval-and-print): Return any result, even nil.
18327
7b9430b4
PE
183282011-07-03 Paul Eggert <eggert@cs.ucla.edu>
18329
18330 * type-break.el: Accept time formats that the builtins accept.
18331 (timep, type-break-time-difference): Accept any format that
18332 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
18333 This is simpler and helps future-proof the code.
18334 (type-break-time-difference): Round rather than ignoring
18335 subseconds components.
18336
3034e9e7
LMI
183372011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
18338
18339 * info.el (Info-apropos-matches): Make non-interactive, since it
18340 doesn't seem to do anything useful as a command (bug#8829).
18341
1485f4c0
CY
183422011-07-03 Chong Yidong <cyd@stupidchicken.com>
18343
18344 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 18345 Move from faces.el.
1485f4c0
CY
18346 (frame-default-terminal-background): New function.
18347
18348 * custom.el (custom-push-theme): Don't record faces in `changed'
18349 theme; this doesn't work correctly for per-frame face settings.
18350 (disable-theme): Use face-set-after-frame-default to reset faces.
18351 (custom--frame-color-default): New function.
18352
9fa3dd45
LMI
183532011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
18354
c8af70e1 18355 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
18356 (bug#8769).
18357
6cbbc20c
KR
183582011-03-29 Kevin Ryde <user42@zip.com.au>
18359
18360 * progmodes/compile.el (compilation-error-regexp-alist-alist):
18361 `perl-Test2' extend to match possible "fail #N" rep count
18362 (bug#8377).
18363
c7f98048
LMI
183642011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
18365
65676592
LMI
18366 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
18367 `smtpmail-via-smtp' now returns the error instead of nil.
18368
c7f98048
LMI
18369 * isearch.el (isearch-search-fun-function): Clarify the doc string
18370 (bug#8101).
18371
56e6cc31 183722011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
18373
18374 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
18375 unnecessary spaces (bug#8987).
18376
2b216704
LMI
183772011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
18378
18379 * net/network-stream.el (open-network-stream): Use the
18380 :end-of-capability command thoughout.
18381
183822011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
18383
18384 * net/network-stream.el (open-network-stream): Add the
18385 :end-of-capability command parameter, used by pop3.el.
18386
36adf6ce
LMI
183872011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
18388
1ca0da0e
LMI
18389 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
18390
fc00f69c
LMI
18391 * fringe.el (fringe-query-style): Remove redundant text " (type ?
18392 for list)" (bug#6475).
18393
28fd8759 18394 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 18395 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
18396 an error (bug#6297).
18397
0dd8b6da
LMI
18398 * man.el (Man-reference-regexp): Allow matching possible
18399 word-wrapped references (bug#6289).
18400
ce1438d6
LMI
18401 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
18402 for consistency with the other vc buffers (bug#6197).
18403 (vc-checkin): Ditto.
18404
18405 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
18406
36adf6ce
LMI
18407 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
18408
e83cc1f7
LMI
184092011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
18410
8a20ca4c
LMI
18411 * custom.el (defcustom): Clarify that :set is only used in the
18412 Customize user interface (bug#6089).
18413
83319045
LMI
18414 * progmodes/flymake.el (flymake-mode): If the buffer isn't
18415 associated with a file, refuse to run instead of erroring out
18416 (bug#6084).
18417
a8392169
LMI
18418 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
18419 the doc string, since it appears that using `fill-column' always
18420 controls the width (bug#7845).
18421
e83cc1f7
LMI
18422 * simple.el (shell-command-on-region): Say where the error output
18423 went if `shell-command-default-error-buffer' is set (bug#6857).
18424
e47ca23b
KM
184252011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
18426
18427 * allout.el (allout-yank-processing): Adjust cursor position for
18428 backwards-deleted space.
18429
18430 (allout-rebullet-heading): Register changes with
18431 allout-exposure-changed-hook, so the modified topic is properly
18432 decorated.
18433
5cf56143
LMI
184342011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
18435
08549772
LMI
18436 * minibuffer.el (completion-in-region): Document PREDICATE
18437 (bug#7136).
18438
48e96771
LMI
18439 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
18440 of keyword/argument pairs (bug#6904).
18441
c8af70e1
SM
18442 * replace.el (multi-occur):
18443 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 18444
e17d05e2
LMI
184452011-07-02 Drew Adams <drew.adams@oracle.com>
18446
18447 * dired.el (dired-mark-if): Make the message about whether it's
18448 marking or unmarking clearer (bug#8523).
18449
063b0e45
LMI
184502011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
18451
18452 * disp-table.el (display-table-print-array): New function.
18453 (describe-display-table): Use it to print the vectors more pretty
18454 (Bug#8859).
18455
28545e04
MR
184562011-07-02 Martin Rudalics <rudalics@gmx.at>
18457
18458 * window.el (window-state-get-1): Don't assign clone numbers.
18459 Add clone-of item to list of window parameters.
18460 (window-state-put-2): Don't process clone numbers.
18461 (display-buffer-alist): Fix doc-string.
18462
3349e122
SM
184632011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
18464
18465 * subr.el (remq): Don't allocate if it's not needed.
18466 (keymap--menu-item-binding, keymap--menu-item-with-binding)
18467 (keymap--merge-bindings): New functions.
18468 (keymap-canonicalize): Use them to refine the canonicalization.
18469 * minibuffer.el (minibuffer-local-completion-map)
18470 (minibuffer-local-must-match-map): Move initialization from C.
18471 (minibuffer-local-filename-completion-map): Move initialization from C;
18472 don't inherit from anything here.
18473 (minibuffer-local-filename-must-match-map): Make obsolete.
18474 (completing-read-default): Use make-composed-keymap to combine
18475 minibuffer-local-filename-completion-map with either
18476 minibuffer-local-must-match-map or
18477 minibuffer-local-filename-completion-map.
18478
d224ac83
GM
184792011-07-01 Glenn Morris <rgm@gnu.org>
18480
3de63bf8
GM
18481 * type-break.el (type-break-time-sum): Use dolist.
18482
d224ac83
GM
18483 * textmodes/flyspell.el (flyspell-word-search-backward):
18484 Replace CL function.
18485
1a1e3f32
SM
184862011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
18487
fe3f64d5
SM
18488 * mouse.el (mouse--strip-first-event): New function.
18489 (function-key-map): Use it to map fringe clicks to normal clicks
18490 by default.
18491
eb604e34
SM
18492 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
18493 (vc-bzr-revision-completion-table): Add support for annotate and date.
18494
1a1e3f32
SM
18495 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
18496 inherit from parent.
18497
5bd35902
LMI
184982011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
18499
ace6c69c 18500 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 18501 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 18502
191e2bed
LMI
18503 * dired.el (dired-mode): Fix up the doc string as suggested by
18504 Drew Adams (bug#8817).
18505
5bd35902
LMI
18506 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
18507 cookie, since the manual says that it should be possible to add
18508 this function to `find-file-hook' (bug#8709).
18509
eee8207a
TZ
185102011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
18511
18512 * progmodes/cfengine.el: Moved all cfengine3.el functionality
18513 here. Noted Ted Zlatanov as the maintainer.
18514 (cfengine-common-settings, cfengine-common-syntax): New functions
18515 to set up common things between `cfengine-mode' and
18516 `cfengine3-mode'.
18517 (cfengine3-mode): New mode.
18518 (cfengine3-defuns cfengine3-defuns-regex
18519 (cfengine3-class-selector-regex cfengine3-category-regex)
18520 (cfengine3-vartypes cfengine3-font-lock-keywords)
18521 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 18522 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 18523
36b148cf
MA
185242011-07-01 Michael Albinus <michael.albinus@gmx.de>
18525
18526 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
18527
18528 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
18529
0bf4ba9a
MR
185302011-07-01 Martin Rudalics <rudalics@gmx.at>
18531
18532 * window.el (same-window-buffer-names, same-window-regexps)
18533 (same-window-p, special-display-frame-alist)
18534 (special-display-popup-frame, special-display-function)
18535 (special-display-buffer-names, special-display-regexps)
18536 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
18537 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
18538 (split-window-preferred-function, split-height-threshold)
18539 (split-width-threshold, even-window-heights)
18540 (display-buffer-mark-dedicated, window-splittable-p)
18541 (split-window-sensibly, window-safely-shrinkable-p):
18542 Un-obsolete.
18543 (display-buffer): Don't spread args with function specifier
18544 because special-display-popup-frame won't like it.
18545
35837f51
PE
185462011-07-01 Paul Eggert <eggert@cs.ucla.edu>
18547
d0672f86
PE
18548 Time-stamp simplifications and fixes.
18549 These improve accuracy slightly, and future-proof the code
18550 against some potential changes to current-time format.
18551
b9444d97
PE
18552 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
18553 by using time-since and float-time.
18554
0ef923dc
PE
18555 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
18556 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
18557 + NNN microseconds".
18558
2f81380d
PE
18559 * type-break.el (type-break-time-sum): Rewrite using time-add.
18560
845b5c3e
PE
18561 * play/hanoi.el (hanoi-current-time-float): Remove.
18562 All uses replaced by float-time.
18563
ee6f1be0
PE
18564 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
18565 This yields a more-accurate answer.
18566 (rng-time-to-float): Remove; no longer needed.
18567
fe955043
PE
18568 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
18569
5777162a
PE
18570 * calendar/timeclock.el (timeclock-seconds-to-time):
18571 Defalias to seconds-to-time, since they're the same thing.
18572
3103f8b6 18573 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 18574 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
18575 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
18576
0e61a35f
SM
185772011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
18578
18579 * window.el (bury-buffer): Don't iconify the only frame.
18580 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
18581 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
18582
ddd63a1e
CY
185832011-07-01 Chong Yidong <cyd@stupidchicken.com>
18584
0e61a35f
SM
18585 * eshell/em-smart.el (eshell-smart-display-navigate-list):
18586 Add mouse-yank-primary.
ddd63a1e 18587
055f4923
TZ
185882011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
18589
18590 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
18591
6a2fb145
SM
185922011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
18593
18594 * emacs-lisp/find-func.el (find-library--load-name): New fun.
18595 (find-library-name): Use it to find relative load names when provided
18596 absolute file name (bug#8803).
18597
fd4983f2
LMI
185982011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
18599
887d14ad
LMI
18600 * textmodes/flyspell.el (flyspell-word): Consider words that
18601 differ only in case as potential doublons (bug#5687).
18602
c53dc7fc
LMI
18603 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
18604 Remove two rather uninteresting debugging-like messages to make
18605 debbugs.el more silent.
18606
fd4983f2
LMI
18607 * comint.el (comint-password-prompt-regexp): Accept "Response" as
18608 a password-like phrase.
18609
7a71b18d 186102011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
18611
18612 * progmodes/cc-guess.el: New file.
18613
6a2fb145 18614 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
18615
18616 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
18617 derived from `c-basic-common-init'.
18618
18619 * progmodes/cc-mode.el (top-level): Require cc-guess.
18620 (c-basic-common-init): Use `cc-choose-style-for-mode'.
18621
1fa280a3
LM
186222011-06-30 Lawrence Mitchell <wence@gmx.li>
18623
18624 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
18625
e6597158
AM
186262011-06-30 Alan Mackenzie <acm@muc.de>
18627
1fa280a3
LM
18628 * progmodes/cc-engine.el (c-guess-continued-construct):
18629 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
18630 lock is disabled. Name this case as "CASE G".
18631
68ba37fb
KM
186322011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
18633
18634 * allout.el (allout-yank-processing): Fix injection of extra space
18635 between bullet and non-whitespace character in first topic when
18636 pasting, ensuring that the actual spacing in the pasted topic
18637 following the bullet char is preserved. This extra space was
18638 causing pasted encrypted topics to get a decrypted status even
18639 when the content was actually still encrypted. Now the decryption
18640 status from before the paste is preserved.
18641
18642 (allout-flag-region): Set all allout overlays so they evaporate
18643 when reduced to zero length (evanescent), to prevent overlay
18644 leakage.
18645
887a0b34
GM
186462011-06-30 Glenn Morris <rgm@gnu.org>
18647
94b9acce
GM
18648 * w32-fns.el (w32-charset-info-alist): Declare.
18649
1d9b46d4
GM
18650 * find-dired.el (find-grep-options): Simplify.
18651
cc232200
GM
18652 * term/ns-win.el (ns-set-resource): Declare.
18653
28e77c46
GM
18654 * ses.el (row, col): Declare dynamic variables honestly.
18655
887a0b34
GM
18656 * textmodes/reftex-parse.el (index-tags): Declare.
18657
658d8eb8
CY
186582011-06-30 Chong Yidong <cyd@stupidchicken.com>
18659
18660 * cus-edit.el (customize-push-and-save): New function.
18661
18662 * files.el (hack-local-variables-confirm): Use it.
18663
1fa280a3
LM
18664 * custom.el (load-theme): New arg NO-CONFIRM.
18665 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
18666 (custom-enabled-themes): Doc fix.
18667
18668 * cus-theme.el (customize-create-theme)
18669 (custom-theme-merge-theme): Callers to load-theme changed.
18670
bb617717
LMI
186712011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
18672
d61bdd5d
LMI
18673 * thingatpt.el (thing-at-point-short-url-regexp): Require that
18674 short URLs have at least one dot in them (bug #7614).
18675
bb617717
LMI
18676 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
18677 nil, because using a pty is apparently too slow (bug #895).
18678
2f31f37a
LMI
186792011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
18680
18681 * mail/sendmail.el (sendmail-query-once): New function.
18682 (sendmail-query-once-function): New variable.
18683
3076b24e
GM
186842011-06-29 Glenn Morris <rgm@gnu.org>
18685
faf2a174
GM
18686 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
18687
3076b24e
GM
18688 * ses.el (top-level): Require cl when compiling.
18689 (ses-set-localvars): Fix error statement.
18690 Call it at compile time to silence a storm of warnings.
18691
5386012d
MR
186922011-06-29 Martin Rudalics <rudalics@gmx.at>
18693
18694 * window.el (normalize-live-buffer): Rename to
18695 window-normalize-buffer.
18696 (normalize-live-frame): Rename to window-normalize-frame.
18697 (normalize-any-window): Rename to window-normalize-any-window.
18698 (normalize-live-window): Rename to window-normalize-live-window.
18699 (make-window-atom): Rename to window-make-atom.
18700 (window-resize-reset): Rename to window--resize-reset.
18701 (window-resize-reset-1): Rename to window--resize-reset-1.
18702 (resize-mini-window): Rename to window--resize-mini-window.
18703 (resize-subwindows-skip-p): Rename to
18704 window--resize-subwindows-skip-p.
18705 (resize-subwindows-normal): Rename to
18706 window--resize-subwindows-normal.
18707 (resize-subwindows): Rename to window--resize-subwindows.
18708 (resize-other-windows): Rename to window--resize-siblings.
18709 (resize-this-window): Rename to window--resize-this-window.
18710 (resize-root-window): Rename to window--resize-root-window.
18711 (resize-root-window-vertically): Rename to
18712 window--resize-root-window-vertically.
18713 (normalize-buffer-to-display): Rename to
18714 window-normalize-buffer-to-display.
18715 (normalize-buffer-to-switch-to): Rename to
18716 window-normalize-buffer-to-switch-to.
18717 Correspondingly update all callers of the functions listed
18718 above.
18719 (display-buffer-alist, display-buffer-normalize-arguments)
18720 (display-buffer-normalize-options, display-buffer)
18721 (display-buffer-alist-set): Use "function" instead of
18722 "fun-with-args".
18723
1176868d
CY
187242011-06-28 Chong Yidong <cyd@stupidchicken.com>
18725
18726 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
18727 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
18728 debbugs.gnu.org. Mention acknowledgment email.
18729
20a7a65f
LMI
187302011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
18731
18732 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
18733 buffer multibyteness, since it shouldn't matter.
18734
5f45cca5
MR
187352011-06-28 Martin Rudalics <rudalics@gmx.at>
18736
18737 * window.el (display-buffer-in-side-window): Handle dedicated
18738 windows as in display-buffer-reuse-window.
18739 (display-buffer-normalize-alist): Use value of override
18740 specifier.
18741 (display-buffer-normalize-specifiers): Use value of
18742 other-window-means-other-frame specifier.
18743 (display-buffer-alist): Rewrite some texts in widgets.
18744 (display-buffer): Spread arguments when calling function
18745 specified by fun-with-args.
18746
ad85fe1f
DD
187472011-06-28 Deniz Dogan <deniz@dogan.se>
18748
1fa280a3
LM
18749 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
18750 Unnest `let'.
da68c4c8 18751
ad85fe1f
DD
18752 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
18753 selectors (Bug#5732).
ec49bd31 18754 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 18755
a08cc025
JA
187562011-06-27 Jari Aalto <jari.aalto@cante.net>
18757
18758 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
18759 (eshell-ls-date-format): New defcustom.
18760 (eshell-ls-file): Use it.
18761
e2b551c5
SM
187622011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
18763
18764 * help-fns.el (describe-variable): Fix message for terminal-local vars.
18765
8982b231
KY
187662011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
18767
18768 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
18769 (ange-ftp-make-tmp-name): New arg.
18770 (ange-ftp-file-local-copy): Use it.
18771
36c9fa27
J
187722011-06-27 Jambunathan K <kjambunathan@gmail.com>
18773
18774 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
18775 no-conversion (Bug#8870).
18776
d68443dc
MR
187772011-06-27 Martin Rudalics <rudalics@gmx.at>
18778
18779 * window.el (window-right, window-left, window-child)
18780 (window-child-count, window-last-child)
18781 (window-iso-combination-p, walk-window-tree-1)
18782 (window-atom-check-1, window-tree-1, delete-window)
18783 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
18784 new naming conventions - window-vchild, window-hchild,
18785 window-next and window-prev are now called window-top-child,
18786 window-left-child, window-next-sibling and window-prev-sibling
18787 respectively.
d615d6d2
MR
18788 (resize-window-reset): Rename to window-resize-reset.
18789 (resize-window-reset-1): Rename to window-resize-reset-1.
18790 (resize-window): Rename to window-resize.
18791 (window-min-height, window-min-width)
18792 (resize-mini-window, resize-this-window, resize-root-window)
18793 (resize-root-window-vertically, adjust-window-trailing-edge)
18794 (enlarge-window, shrink-window, maximize-window)
18795 (minimize-window, delete-window, quit-restore-window)
18796 (split-window, balance-windows, balance-windows-area-adjust)
18797 (balance-windows-area, window-state-put-2)
18798 (display-buffer-even-window-sizes, display-buffer-set-height)
18799 (display-buffer-set-width, set-window-text-height)
18800 (fit-window-to-buffer): Rename all "resize-window" prefixed
18801 calls to use the "window-resize" prefix convention.
18802 (display-buffer-alist): Fix symbol for label specifier.
18803 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
18804 corresponding specifier.
18805 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 18806
b6458526
VB
188072011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
18808
18809 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
18810 convention.
18811 (ses-call-printer): Does not pass an empty string to formatter when the
18812 cell is empty to keep from barking printer Calc math-format-value.
18813
d31fd9ac
RS
188142011-06-27 Richard Stallman <rms@gnu.org>
18815
43d5bf84
RS
18816 * battery.el (battery-mode-line-limit): New variable.
18817 (battery-update): Handle it.
18818
d31fd9ac
RS
18819 * mail/rmailmm.el (rmail-mime-process-multipart):
18820 Handle truncated messages.
18821
819a6054
GM
188222011-06-27 Glenn Morris <rgm@gnu.org>
18823
18824 * progmodes/flymake.el (flymake-err-line-patterns):
18825 Allow for column numbers in the ant/javac pattern. (Bug#8866)
18826
cedc73f2
VB
188272011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
18828
819a6054 18829 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
18830 (ses--clean-!, ses--clean-_): New functions.
18831 (ses-range): Add configurability of readout order, and conversion
18832 to Calc vector.
18833
5e5d49b6
VB
18834 * ses.el (ses-repair-cell-reference-all): New function.
18835 (ses-cell-symbol): Set macro as safe, so that it can be used in
18836 formulas.
18837
56e6cc31 18838 * ses.el: Update cycle detection algorithm.
90ca8b49 18839 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 18840 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
18841 (ses-set-localvars): New function.
18842 (ses-make-cell): Add property-list as a cell element.
18843 (ses-cell-property-get-fun, ses-cell-property-get)
18844 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
18845 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
18846 New functions.
90ca8b49
VB
18847 (ses-cell-property-set, ses-cell-property-pop)
18848 (ses-cell-property-get-handle): New macro.
18849 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
18850 New aliases, used for code readability.
18851 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
18852 cycle detection.
18853 (ses-self-reference-early-detection): New defcustom.
fac916bf 18854 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
18855 (ses-mode): Use ses-set-localvars.
18856 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
18857 before lauching the update processing.
18858 (ses-initialize-Dijkstra-attempt): New function.
18859 (ses-recalculate-cell): Update for cycle detection based on
18860 Dijkstra algorithm.
18861
2bb63e81
VB
18862 * ses.el: Fix commenting and indenting convention.
18863
c9d29fb8
SM
188642011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
18865
18866 * bs.el (bs-cycle-next): Complete last change.
18867
d8e4b68b
JB
188682011-06-27 Drew Adams <drew.adams@oracle.com>
18869
18870 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
18871
40098786
LMI
188722011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
18873
c9d29fb8
SM
18874 * net/network-stream.el (network-stream-open-starttls):
18875 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
18876 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
18877
40098786
LMI
18878 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
18879 to binary to possibly avoid line encoding issues on Windows (among
18880 other things).
18881
468d09d4
LMI
188822011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
18883
18884 * net/network-stream.el (open-network-stream): Return an :error
18885 saying what the problem was, if possible.
18886
18887 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
18888 server.
18889
18890 * net/network-stream.el (network-stream-open-starttls): If we
18891 wanted to use STARTTLS, and the server offered it, but we weren't
18892 able to because we had no STARTTLS support, then close the connection.
18893 (open-network-stream): Return an :error element, if present.
18894
16f07dd7
CY
188952011-06-26 Chong Yidong <cyd@stupidchicken.com>
18896
88821ca0
CY
18897 * hl-line.el (hl-line-sticky-flag): Doc fix.
18898 (global-hl-line-sticky-flag): New option (Bug#8323).
18899 (global-hl-line-highlight): Obey it.
18900
16f07dd7
CY
18901 * vc/vc.el (vc-revert-show-diff): Default to t.
18902
6b5ccddf
KM
189032011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
18904
c9d29fb8
SM
18905 * allout-widgets.el (allout-widgets-post-command-business):
18906 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
18907 undecorated when an isearch is continued past, and isearch
18908 automatically collapses them. This leads to "widget leaks", where
18909 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
18910 hidden widgets can slow down cursor travel, substantially.
18911 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
18912 so we're doing without this nicety.
18913
18914 (allout-widgets-tally-string): Don't try to do a hash-table-count
18915 of allout-widgets-tally when it's nil. This eliminates spurious "Error
18916 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
18917 *Messages* when allout-widgets-maintain-tally is t.
18918
355f2e07
MR
189192011-06-26 Martin Rudalics <rudalics@gmx.at>
18920
18921 * window.el (display-buffer-normalize-argument): Rename to
18922 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
18923 LABEL argument. Respect special-display-function when popping up
18924 a new frame. Fix code searching for a window showing the buffer
18925 on another frame.
c9d29fb8
SM
18926 (display-buffer-normalize-specifiers):
18927 Call display-buffer-normalize-arguments.
355f2e07
MR
18928 (display-buffer-in-window): Don't undedicate the window if its
18929 buffer remains the same.
18930 Reported by Drew Adams <drew.adams@oracle.com>.
18931 (display-buffer-alist): Add choice for same-window macro
18932 specfier.
18933 (display-buffer): Mention special meaning of LABEL argument in
18934 doc-string. Fix quoting. Don't pop up a new frame even as
18935 fallback.
18936
7ca8fc42
JB
189372011-06-26 Juanma Barranquero <lekktu@gmail.com>
18938
18939 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
18940 avoid deleting the current window in some cases (bug#8911).
18941
bc312254
AS
189422011-06-26 Andreas Schwab <schwab@linux-m68k.org>
18943
18944 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
18945 (Bug#8934)
18946
2db18f3f
LMI
189472011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
18948
c9d29fb8
SM
18949 * net/network-stream.el (network-stream-open-starttls):
18950 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
18951 (network-stream-open-tls): Ditto.
18952
6302e0d3
LL
189532011-06-26 Leo Liu <sdl.web@gmail.com>
18954
18955 * register.el (registerv): New struct.
18956 (registerv-make): New function.
c9d29fb8
SM
18957 (jump-to-register, describe-register-1, insert-register):
18958 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
18959 struct. (Bug#8415)
18960
5fdd4046
CY
189612011-06-26 Chong Yidong <cyd@stupidchicken.com>
18962
2afef60a
CY
18963 * vc/vc.el (vc-revert-show-diff): New defcustom.
18964 (vc-diff-internal): New arg specifying diff buffer.
18965 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
18966 reuse an existing *vc-diff* buffer (Bug#8927).
18967
5fdd4046
CY
18968 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
18969
e93db24a
GM
189702011-06-26 Glenn Morris <rgm@gnu.org>
18971
18972 * progmodes/f90.el (f90-critical-indent): New option.
18973 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
18974 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
18975 (f90-mode): Doc fix.
18976 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
18977 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
18978 (f90-beginning-of-block, f90-next-block, f90-indent-region)
18979 (f90-match-end): Handle block, critical.
18980
eefff499
GM
189812011-06-25 Glenn Morris <rgm@gnu.org>
18982
f6ba4cc9
GM
18983 * calendar/diary-lib.el (diary-included-files): Doc fix.
18984 (diary-include-files): New function, extracted from
18985 diary-include-other-diary-files and diary-mark-included-diary-files.
18986 (diary-include-other-diary-files, diary-mark-included-diary-files):
18987 Just call diary-include-files.
18988 (diary-mark-entries): Reset diary-included-files on first call.
18989
16712304
GM
18990 * calendar/diary-lib.el (diary-mark-entries)
18991 (diary-mark-included-diary-files):
18992 Visit included diary-files in temp buffers.
18993
5d8e0d43
GM
18994 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
18995 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
18996 (f90-start-block-re, f90-imenu-generic-expression)
18997 (f90-looking-at-program-block-start, f90-no-block-limit):
18998 Add support for submodules.
18999
ccf7a5d5
GM
19000 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
19001 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 19002
11fdef7d 190032011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
19004
19005 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
19006 buffer-file-type before setting its value, to avoid disastrous
eefff499 19007 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 19008
74f53697
JB
190092011-06-25 Juanma Barranquero <lekktu@gmail.com>
19010
19011 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
19012
19013 * ses.el (ses-unload-function):
19014 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
19015
19016 * proced.el (proced-unload-function):
19017 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
19018
18a4ce5e
AR
190192011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
19020
19021 * server.el (server-create-window-system-frame): Add parameters arg.
19022 (server-process-filter): Doc fix. Handle frame-parameters.
19023
519d22cc
JB
190242011-06-25 Juanma Barranquero <lekktu@gmail.com>
19025
19026 Fix bug#8730, bug#8781.
19027
19028 * loadhist.el (unload--set-major-mode): New function.
19029 (unload-feature): Use it.
19030
19031 * progmodes/python.el (python-after-info-look): Add autoload cookie.
19032 (python-unload-function): New function.
19033
c206f5b0
SM
190342011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
19035
19036 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
19037
f9ad64f3
GS
190382011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
19039
19040 * net/browse-url.el (browse-url-firefox-program): Add icecat to
19041 the candidates list.
19042
7d0da90e
JB
190432011-06-24 Juanma Barranquero <lekktu@gmail.com>
19044
19045 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
19046
14b4e83d
RS
190472011-06-23 Richard Stallman <rms@gnu.org>
19048
19049 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
19050 (rmail-variables): Set next-error-move-function.
19051 (rmail-what-message): Take argument POS.
19052 (rmail-next-error-move): New function.
19053
273d2baf
SM
190542011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
19055
19056 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
19057 messages for adjacent non-terminals.
19058
56c2cc9a
RS
190592011-06-23 Richard Stallman <rms@gnu.org>
19060
19061 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 19062 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
19063 (rmail-start-mail): Don't specify use of rmail-mail-return;
19064 that's done by mail-bury now.
19065 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 19066
d59eb518
MA
190672011-06-23 Michael Albinus <michael.albinus@gmx.de>
19068
19069 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
19070 SIZE is a number.
19071
02cfc6d6
MR
190722011-06-23 Martin Rudalics <rudalics@gmx.at>
19073
19074 * window.el (get-lru-window, get-mru-window)
19075 (get-largest-window): Never return a minibuffer window.
19076 (display-buffer-pop-up-window): Fix a bug that could lead to
19077 reusing the minibuffer window.
19078 (display-buffer): Pass original specifier argument to
19079 display-buffer-function instead of the normalized one.
19080 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
19081
4e323265
LL
190822011-06-22 Leo Liu <sdl.web@gmail.com>
19083
19084 * minibuffer.el (completing-read-function)
1f9f395d 19085 (completing-read-default): Move from minibuf.c.
4e323265 19086
7a70468f
RS
190872011-06-22 Richard Stallman <rms@gnu.org>
19088
50718fc2
RS
19089 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
19090 to Rmail even if not started by a special Rmail command.
19091
7a70468f
RS
19092 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
19093 Copy the buffer currently showing just one message.
19094
297dde5a
RW
190952011-06-22 Roland Winkler <winkler@gnu.org>
19096
19097 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
19098 (bibtex-clean-entry): First delete the old key so that a
19099 customized algorithm for generating the new key does not get
19100 confused by the old key.
19101 (bibtex-url): Obey regexp of first step.
19102 (bibtex-search-entries): Do not use add-to-list with local
19103 list-var.
19104
97bb1093
LMI
191052011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
19106
19107 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
19108 stored a user name, then query for the password first, instead of
19109 waiting for SMTP to give an error message and the trying again.
19110
1c0f1a19
JD
191112011-06-22 Lawrence Mitchell <wence@gmx.li>
19112
19113 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
19114 BUFFER in call-process.
19115
396f7c9d
LMI
191162011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
19117
19118 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
19119 QUIT twice.
ddb7ffee
LMI
19120 (smtpmail-try-auth-methods): Require user name and password from
19121 auth-source.
396f7c9d 19122
8998d1b3
MR
191232011-06-22 Martin Rudalics <rudalics@gmx.at>
19124
19125 * window.el (display-buffer-default-specifiers)
19126 (display-buffer-alist): Remove entries for pop-up-frame-alist.
19127 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 19128 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
19129
19130 * frame.el (pop-up-frame-alist, pop-up-frame-function)
19131 (special-display-frame-alist, special-display-popup-frame):
19132 Remove duplicate declarations. These are now in window.el.
19133
4ea31e07
LMI
191342011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
19135
c9d29fb8
SM
19136 * mail/smtpmail.el (smtpmail-via-smtp):
19137 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
19138 server supports it. SMTP servers that support STARTTLS commonly
19139 require it.
19140
19141 * net/network-stream.el (network-stream-open-starttls): Support
19142 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 19143 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 19144
95f41d9a
LMI
19145 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
19146 upgrades with `open-network-stream', and rely solely on
19147 auth-source for all credentials. Big changes throughout the file,
19148 but in particular:
c9d29fb8
SM
19149 (smtpmail-auth-credentials): Remove.
19150 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
19151 (smtpmail-via-smtp): Check for servers saying they want AUTH after
19152 MAIL FROM, too.
95f41d9a 19153
c9d29fb8
SM
19154 * net/network-stream.el (network-stream-open-starttls):
19155 Provide support for client certificates both for external and built-in
4ea31e07
LMI
19156 STARTTLS.
19157 (auth-source): Require.
19158 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
19159 (network-stream-certificate): Change cert-cert to cert and
19160 cert-key to key.
4ea31e07 19161
065ec2c7
MA
191622011-06-21 Michael Albinus <michael.albinus@gmx.de>
19163
19164 * net/tramp-cache.el (top): Don't load the persistency file when
19165 "emacs -Q" has been called.
19166
cd93b359
DR
191672011-06-21 Tim Harper <timcharper@gmail.com>
19168
d8e4b68b
JB
19169 * term/ns-win.el (ns-initialize-window-system):
19170 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
19171 resource to NO as it is not yet supported by the NS port.
19172
ae9c0411
JB
191732011-06-21 Juanma Barranquero <lekktu@gmail.com>
19174
19175 * misc.el (list-dynamic-libraries--refresh): Compute header here...
19176 (list-dynamic-libraries): ...not here.
19177
7f3f739f
LL
191782011-06-21 Leo Liu <sdl.web@gmail.com>
19179
19180 * subr.el (sha1): Implement sha1 using secure-hash.
19181
327c8fb1
MR
191822011-06-21 Martin Rudalics <rudalics@gmx.at>
19183
19184 * window.el (display-buffer-alist): In default value do not
19185 enforce searching a window on any but the selected frame.
19186 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
19187 (display-buffer-select-window): Remove function.
19188 (display-buffer-in-window): When a window on another frame gets
19189 reused, do not select it any more but just raise its frame if
19190 necessary (Bug#8851) and (Bug#8856).
19191 (display-buffer-normalize-options): Handle pop-up-frames related
19192 options more faithfully.
19193 (pop-to-buffer): Don't rely on `display-buffer' selecting the
19194 window if it is on another frame.
c9d29fb8
SM
19195 (display-buffer-alist, display-buffer-default-specifiers):
19196 Don't make new frame unsplittable by default.
9e9de014
MR
19197 (display-buffer-normalize-argument): Fix doc-string typo and use
19198 'same-frame-other-window instead of 'other-window when associating
19199 with display-buffer-macro-specifiers.
327c8fb1 19200
7cf3f556
VB
192012011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
19202
19203 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
19204 New functions.
19205 (5x5-mode-map, 5x5-mode-menu): Bind them.
19206 (5x5-draw-grid): Tweak the solver's rendering.
19207
60a406cf
SM
192082011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
19209
19210 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
19211 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
19212
d8e4b68b 192132011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
19214
19215 * menu-bar.el: Use function variable instead of switch-to-buffer.
19216 (menu-bar-select-buffer-function): New variable.
60a406cf 19217 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 19218
478d6f95
SM
192192011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
19220
19221 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
19222 variable's status.
19223
ca530739
JD
192242011-06-20 Jan Djärv <jan.h.d@swipnet.se>
19225
19226 * x-dnd.el (x-dnd-version-from-flags)
19227 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
19228 and long as number (Bug#8899).
19229 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
19230
bcd70d97
SM
192312011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
19232
60a406cf 19233 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
19234 (completion-try-completion, completion-all-completions): Compute the
19235 metadata argument if it's missing; make it optional (bug#8795).
19236
60a406cf 19237 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
19238 (widget-complete): Use new :completion-function property.
19239 (widget-completions-at-point): New function.
19240 (default): Use :completion-function instead of :complete.
60a406cf
SM
19241 (widget-default-completions): Rename from widget-default-complete;
19242 Rewrite.
bcd70d97
SM
19243 (widget-string-complete, widget-file-complete, widget-color-complete):
19244 Remove functions.
19245 (file, symbol, function, variable, coding-system, color):
19246 * international/mule-cmds.el (default-input-method, charset)
19247 (language-info-custom-alist):
19248 * cus-edit.el (face): Use new property :completions.
19249
19250 * progmodes/pascal.el (pascal-completions-at-point): New function.
19251 (pascal-mode): Use it.
19252 (pascal-mode-map): Use completion-at-point.
19253 (pascal-toggle-completions): Make obsolete.
19254 (pascal-complete-word, pascal-show-completions):
19255 * progmodes/octave-mod.el (octave-complete-symbol):
19256 Redefine as obsolete alias.
19257 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
19258 Signal absence of completion info for old Octave,
19259 (inferior-octave-complete): Redefine as obsolete alias.
19260 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
19261 (meta-completions-at-point): Rename from meta-complete-symbol and
19262 adapt it for use on completion-at-point-functions.
19263 (meta-common-mode): Use it.
19264 (meta-looking-at-backward, meta-match-buffer): Remove.
19265 (meta-complete-symbol): Redefine as obsolete alias.
19266 (meta-common-mode-map): Use completion-at-point.
19267 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
19268 (makefile-mode-map): Use completion-at-point.
19269 (makefile-completions-at-point): Rename from makefile-complete and
19270 adapt it for use on completion-at-point-functions.
19271 (makefile-mode): Use it.
19272 (makefile-complete): Redefine as obsolete alias.
19273
aebf69c8
DD
192742011-06-20 Deniz Dogan <deniz@dogan.se>
19275
19276 * net/rcirc.el: Delete trailing whitespaces once and for all.
19277
bfbbb27d
DC
192782011-06-20 Daniel Colascione <dan.colascione@gmail.com>
19279
19280 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
19281
d264a46b
CY
192822011-06-19 Chong Yidong <cyd@stupidchicken.com>
19283
4ca009e5
CY
19284 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
19285
d264a46b
CY
19286 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
19287
fbf5b3ce
MR
192882011-06-19 Martin Rudalics <rudalics@gmx.at>
19289
19290 * window.el (display-buffer-other-window-means-other-frame):
19291 Call display-buffer-normalize-alist.
19292 (display-buffer-normalize-specifiers-1): Rename to
19293 display-buffer-normalize-argument. New argument other-frame.
19294 Rewrite.
19295 (display-buffer-normalize-specifiers-2): Rename to
19296 display-buffer-normalize-options.
19297 (display-buffer-normalize-alist-1): New function.
19298 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
19299 display-buffer-normalize-alist.
19300 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
19301 (display-buffer-normalize-options-inhibit): New variable.
19302 (display-buffer-normalize-specifiers): Rewrite calling
19303 display-buffer-normalize-alist,
19304 display-buffer-normalize-argument, and
19305 display-buffer-normalize-options. Don't call the latter if
19306 display-buffer-normalize-options-inhibit is non-nil.
19307 (frame-auto-delete): New option.
19308 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
19309 (window-list-no-nils, window-state-ignored-parameters)
19310 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
19311 (window-state-put-1, window-state-put-2, window-state-put):
19312 New functions.
9a028c23
MR
19313 (display-buffer-normalize-options): Move special-display-p group
19314 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 19315
6d10d800
CY
193162011-06-18 Chong Yidong <cyd@stupidchicken.com>
19317
6420d28b
CY
19318 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
19319 groups (Bug#8776).
19320 (rx-submatch-n): New function.
19321 (rx): Document it.
19322
ddb8b596
CY
19323 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
19324 (Bug#8768).
19325
19326 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
19327
77080289
CY
19328 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
19329
61dfb316
CY
19330 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
19331 anytime existing face settings are present (Bug#8889).
19332
6d10d800
CY
19333 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
19334 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
19335 Remove unused argument.
19336
be3fb2b8
MR
193372011-06-18 Martin Rudalics <rudalics@gmx.at>
19338
bcd70d97
SM
19339 * window.el (display-buffer-default-specifiers):
19340 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
19341 pop-up-window-min-width, and another reuse-window specifier
19342 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
19343 (display-buffer-normalize-specifiers-2):
19344 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
19345 pop-up-windows is unset. Add a reuse-window specifier for the
19346 case popping up a new window fails.
19347 (special-display-popup-frame): Remove double quoting.
28dec25a 19348 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 19349
1c6d8c76
SM
193502011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
19351
19352 * shell.el (shell-completion-vars): Set pcomplete-termination-string
19353 according to comint-completion-addsuffix.
19354
19355 * pcomplete.el: Convert to lexical binding and fix bug#8819.
19356 (pcomplete-suffix-list): Mark as obsolete.
19357 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
19358 pcomplete-seen in the closure.
19359 (pcomplete-comint-setup): Setup completion-at-point as well.
19360 (pcomplete--entries): New function.
19361 (pcomplete--env-regexp): New var.
19362 (pcomplete-entries): Rewrite to work with partial-completion and
19363 without relying on pcomplete-suffix-list.
19364 (pcomplete-pare-list): Remove, unused.
19365
25aef8b8
MR
193662011-06-17 Martin Rudalics <rudalics@gmx.at>
19367
19368 * window.el (display-buffer-alist): Set pop-up-window-min-height
19369 and pop-up-window-min-width in default value. Reported by
19370 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
19371 other-window-means-other-frame.
19372 (display-buffer-macro-specifiers): Comment out entry for
19373 other-window specifier.
19374 (display-buffer-other-window-means-other-frame): New function.
19375 (display-buffer-normalize-specifiers-1): New arguments
19376 buffer-name and label. Treat other-window case specially.
19377 (display-buffer-normalize-specifiers-2): Treat other-window case
19378 specially.
19379 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
19380 (display-buffer-normalize-specifiers):
19381 Call display-buffer-normalize-specifiers-3.
25aef8b8 19382
dbad4f69
MR
193832011-06-17 Martin Rudalics <rudalics@gmx.at>
19384
19385 * window.el (same-window-p): Fix two typos introduced when
19386 adding with-no-warnings.
d1067961
MR
19387 (display-buffer-normalize-specifiers-1): Don't check
19388 pop-up-frames for 'unset initialization.
19389 (display-buffer-normalize-specifiers-2): Major rewrite using
19390 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
19391 (pop-up-frames, display-buffer-reuse-frames)
19392 (display-buffer-mark-dedicated): Don't initialize to 'unset.
19393 Suggested by David Engster <deng@randomsample.de>.
19394 (even-window-heights): Initialize to 'unset.
19395 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
19396 (display-buffer-macro-specifiers): Don't pop up a new frame in the
19397 other window case.
dbad4f69 19398
9b9c9e3a
MR
193992011-06-16 Martin Rudalics <rudalics@gmx.at>
19400
bcd70d97
SM
19401 * window.el (display-buffer-normalize-specifiers-1):
19402 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 19403 second argument of display-buffer (Bug#8865).
981d5c09
MR
19404 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
19405 (switch-to-buffer-other-window-same-frame)
19406 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
19407 Adams (Bug#8875).
9c2755e9
MR
19408 (display-buffer): Don't check noninteractive when calling
19409 display-buffer-pop-up-frame.
19410 (display-buffer-pop-up-frame): Never pop up a frame in
19411 noninteractive mode (Bug#8857).
67222e1d
MR
19412 (enlarge-window, shrink-window): Don't report an error when the
19413 window can't be resized as requested (Bug#8862).
9b9c9e3a 19414
2b75be67
SM
194152011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
19416
9ffdd3ba
SM
19417 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
19418
cb581a67
SM
19419 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
19420
2b75be67
SM
19421 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
19422
8c0e3589
AM
194232011-06-15 Alan Mackenzie <acm@muc.de>
19424
cb581a67
SM
19425 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
19426 for declarators, disable knr checking to speed up for normal files.
19427 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 19428
b96e6cde
LMI
194292011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
19430
4bba86e6
LMI
19431 * net/network-stream.el (open-network-stream): Add the keyword
19432 :always-query-capabilities for the case where you want to force a
19433 `plain' network connection, but the protocol still requires the
19434 capabilitiy command (i.e., SMTP and EHLO).
19435
2b75be67 19436 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
19437 consistency with other `-live-p' functions.
19438
efdcdbf8
SM
194392011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
19440
19441 * window.el (same-window-buffer-names, same-window-regexps)
19442 (special-display-frame-alist, special-display-popup-frame)
19443 (special-display-function, special-display-buffer-names)
19444 (special-display-regexps, pop-up-frame-alist)
19445 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
19446 (pop-up-windows, split-window-preferred-function)
19447 (split-height-threshold, split-width-threshold, even-window-heights)
19448 (display-buffer-mark-dedicated): Don't encourage the use of
19449 display-buffer-alist from Elisp code.
19450
c5cde042
DN
194512011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
19452
19453 * progmodes/python.el (python-mode): Derive from prog-mode.
19454 * progmodes/ps-mode.el (ps-mode):
19455 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 19456 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
19457 * progmodes/ld-script.el (ld-script-mode): Likewise.
19458
baa1c9ab
MR
194592011-06-15 Martin Rudalics <rudalics@gmx.at>
19460
19461 * window.el (display-buffer-alist): Trim default value to avoid
19462 popping up a new frame (Bug#8857) or reusing an arbitrary window
19463 on another frame.
19464 (display-buffer): Do not fall back on popping up a new frame in
19465 batch mode (Bug#8857).
19466
c5dd5a51
CY
194672011-06-14 Chong Yidong <cyd@stupidchicken.com>
19468
19469 * cus-theme.el (describe-theme-1): Use custom-theme-p.
19470 (custom-theme-summary): New function.
19471 (customize-themes): Use it.
19472
d647b7c4
GM
194732011-06-13 Glenn Morris <rgm@gnu.org>
19474
19475 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
19476
9481c002
MR
194772011-06-13 Martin Rudalics <rudalics@gmx.at>
19478
357f93d2
MR
19479 * help.el (help-window): Remove variable.
19480 (help-window-point-marker, temp-buffer-max-height)
19481 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
19482 (help-print-return-message): Don't set help-window.
19483 (resize-temp-buffer-window): Rewrite cod eand doc-string.
19484 (help-window-setup-finish): Remove.
19485 (help-window-display-message, help-window-setup)
19486 (with-help-window): Major rewrite based on new
19487 display-buffer-window variable.
19488
19489 * help-mode.el (help-mode-finish): Remove help-window related
19490 code.
19491
19492 * view.el (view-exits-all-viewing-windows): Remove reference to
19493 view-return-to-alist in doc-string.
19494 (view-return-to-alist): Make obsolete.
19495 (view-buffer): Call pop-to-buffer-same-window and remove
19496 undo-window code.
19497 (view-buffer-other-window): Call pop-to-buffer-other-window and
19498 simplify code. Ignore second argument.
19499 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
19500 simplify code. Ignore second argument.
19501 (view-return-to-alist-update): Make obsolete.
19502 (view-mode-enter): Rename second argument to QUIT-RESTORE.
19503 Rewrite using quit-restore window parameters.
2b75be67
SM
19504 (view-mode-exit): Rename second argument to EXIT-ONLY.
19505 Rewrite using quit-restore-window.
357f93d2
MR
19506 (View-exit, View-exit-and-edit, View-leave, View-quit)
19507 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
19508 appropriate arguments.
19509 (view-end-message): Use quit-restore window parameter.
19510
9481c002
MR
19511 * window.el (display-buffer-function): Rewrite doc-string.
19512 (display-buffer-window, display-buffer-alist): New variables.
19513 (display-buffer-split-specifiers)
19514 (display-buffer-side-specifiers)
19515 (display-buffer-macro-specifiers): New constants.
19516 (display-buffer-even-window-sizes, display-buffer-set-height)
19517 (display-buffer-set-width, display-buffer-select-window)
19518 (display-buffer-in-window, display-buffer-reuse-window)
19519 (display-buffer-split-window-1, display-buffer-split-window)
19520 (display-buffer-split-atom-window, display-buffer-pop-up-window)
19521 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
19522 (display-buffer-in-side-window, normalize-buffer-to-display)
19523 (display-buffer-normalize-specifiers-1)
19524 (display-buffer-normalize-specifiers-2)
2b75be67
SM
19525 (display-buffer-normalize-specifiers, display-buffer-frame):
19526 New functions.
9481c002
MR
19527 (display-buffer): Major rewrite.
19528 (display-buffer-other-window, display-buffer-other-frame)
19529 (pop-to-buffer, switch-to-buffer-other-window)
19530 (switch-to-buffer-other-frame): Rewrite.
19531 (display-buffer-same-window, display-buffer-same-frame)
19532 (display-buffer-same-frame-other-window)
19533 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
19534 (pop-to-buffer-other-window)
19535 (pop-to-buffer-same-frame-other-window)
19536 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
19537 (switch-to-buffer-other-window-same-frame): New functions.
19538 (same-window-p, special-display-p): Rewrite disabling warnings.
19539 Make obsolete.
19540 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
19541 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
19542 Make obsolete
19543 (same-window-buffer-names, same-window-regexps)
19544 (special-display-frame-alist, special-display-popup-frame)
19545 (special-display-function, special-display-buffer-names)
19546 (special-display-regexps, pop-up-frame-alist)
19547 (pop-up-frame-function, split-window-preferred-function)
19548 (split-height-threshold, split-width-threshold)
19549 (even-window-heights): Make obsolete.
19550
9db51aca
GM
195512011-06-12 Glenn Morris <rgm@gnu.org>
19552
19553 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 19554 Misc simplifications.
9db51aca 19555
39cffb44
MR
195562011-06-12 Martin Rudalics <rudalics@gmx.at>
19557
19558 * window.el (window-safely-shrinkable-p): Restore function which
19559 was inadvertently removed in change from 2011-06-11. Declare as
19560 obsolete.
19561
2b75be67
SM
19562 * calendar/calendar.el (calendar-generate-window):
19563 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
19564 window-safely-shrinkable-p.
19565
a8955be7
GM
195662011-06-12 Glenn Morris <rgm@gnu.org>
19567
19568 * progmodes/fortran.el (fortran-mode-syntax-table):
19569 * progmodes/f90.el (f90-mode-syntax-table):
19570 Set % to punctuation. (Bug#8820)
19571 (f90-find-tag-default): Remove, no longer needed.
19572
f0d4059d
DC
195732011-06-12 Daniel Colascione <dan.colascione@gmail.com>
19574
19575 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
19576
1100a63c
CY
195772011-06-11 Chong Yidong <cyd@stupidchicken.com>
19578
19579 * image.el (image-animated-p): Return animation delay in seconds.
19580 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
19581 (image-animate-timeout): Remove DELAY argument. Don't assume
19582 every subimage has the same delay; get it from image-animated-p.
19583 (image-animate): Caller changed.
19584
def722bf
MA
195852011-06-11 Michael Albinus <michael.albinus@gmx.de>
19586
19587 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
19588 to ignored backtrace functions.
19589
0a2bb1a9
GM
195902011-06-11 Glenn Morris <rgm@gnu.org>
19591
19592 * calendar/appt.el (appt-disp-window-function): Doc fix.
19593 (appt-check): Handle overlapping appointments. (Bug#8337)
19594
6198ccd0
MR
195952011-06-11 Martin Rudalics <rudalics@gmx.at>
19596
19597 * window.el (window-tree-1, window-tree): New functions, moving
19598 the latter to window.el.
19599 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
19600 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
19601 (bw-refresh-edges): Remove.
19602 (balance-windows-1, balance-windows-2): New functions.
19603 (balance-windows): Rewrite in terms of window tree functions,
19604 balance-windows-1 and balance-windows-2.
19605 (bw-adjust-window): Remove.
19606 (balance-windows-area-adjust): New function with functionality of
19607 bw-adjust-window but using resize-window.
2b75be67
SM
19608 (set-window-text-height): Rewrite doc-string.
19609 Use normalize-live-window and resize-window.
19610 (enlarge-window-horizontally, shrink-window-horizontally):
19611 Rename argument to DELTA.
6198ccd0
MR
19612 (window-buffer-height): New function.
19613 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
19614 Rewrite using new window resize routines.
2b75be67
SM
19615 (kill-buffer-and-window, mouse-autoselect-window-select):
19616 Use ignore-errors instead of condition-case.
6198ccd0
MR
19617 (quit-window): Call delete-frame instead of delete-windows-on
19618 for the only buffer on frame.
19619
9397e56f
MR
196202011-06-10 Martin Rudalics <rudalics@gmx.at>
19621
19622 * loadup.el (top-level): Load window before files for the sake
19623 of replace-buffer-in-windows.
19624
19625 * files.el (read-buffer-to-switch)
19626 (switch-to-buffer-other-window)
2b75be67
SM
19627 (switch-to-buffer-other-frame, display-buffer-other-frame):
19628 Move to window.el.
9397e56f
MR
19629
19630 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
19631 (previous-buffer): Move to window.el.
19632
19633 * bindings.el (unbury-buffer): Move to window.el.
19634
19635 * window.el (delete-other-windows-vertically): Move after
19636 definition of delete-other-windows.
19637 (other-window, delete-windows-on, replace-buffer-in-windows):
19638 Move here from window.c.
19639 (record-window-buffer, unrecord-window-buffer)
19640 (set-window-buffer-start-and-point, switch-to-prev-buffer)
19641 (switch-to-next-buffer): New functions.
19642 (get-next-valid-buffer, last-buffer, next-buffer): Move here
19643 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
19644 (previous-buffer): Move here from simple.el.
19645 Call switch-to-prev-buffer.
9397e56f
MR
19646 (bury-buffer): Move here from buffer.c. Switch to previous
19647 buffer when window cannot be deleted.
19648 (unbury-buffer): Move here from bindings.el.
19649 (ctl-x-map): Move binding for other-window from window.c to
19650 here.
19651 (read-buffer-to-switch, switch-to-buffer-other-window)
19652 (switch-to-buffer-other-frame): Move here from files.el.
19653 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
19654 (switch-to-buffer): Move here from buffer.c.
19655 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 19656
562dd5e9
MR
196572011-06-10 Martin Rudalics <rudalics@gmx.at>
19658
19659 * window.el (window-min-height, window-min-width): Move here
19660 from window.c. Add defcustoms and rewrite doc-strings.
19661 (resize-mini-window, resize-window): New functions.
19662 (adjust-window-trailing-edge, enlarge-window, shrink-window):
19663 Move here from window.c.
19664 (maximize-window, minimize-window): New functions.
19665 (delete-window, delete-other-windows, split-window): Move here
19666 from window.c.
19667 (window-split-min-size): New function.
19668 (split-window-keep-point): Mention split-window-above-each-other
19669 instead of split-window-vertically.
2b75be67 19670 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
19671 Rename split-window-vertically to split-window-above-each-other
19672 and provide defalias for old definition.
19673 (split-window-side-by-side, split-window-horizontally):
19674 Rename split-window-horizontally to split-window-side-by-side
19675 and provide defalias for the old definition.
562dd5e9
MR
19676 (ctl-x-map): Move bindings for delete-window,
19677 delete-other-windows and enlarge-window here from window.c.
19678 Replace bindings for split-window-vertically and
19679 split-window-horizontally by bindings for
19680 split-window-above-each-other and split-window-side-by-side.
19681
19682 * cus-start.el (all): Remove entries for window-min-height and
19683 window-min-width. Add entries for window-splits and
19684 window-nest.
19685
f0da764a
GM
196862011-06-09 Glenn Morris <rgm@gnu.org>
19687
80675c21
GM
19688 * calendar/appt.el (appt-mode-line): New function.
19689 (appt-check, appt-disp-window): Use it.
19690
f0da764a
GM
19691 * files.el (hack-one-local-variable-eval-safep):
19692 Allow minor-modes with explicit +/-1 arguments.
19693
59f623b7
TZ
196942011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
19695
19696 * term/xterm.el (xterm): Add defgroup.
19697 (xterm-extra-capabilities): Add defcustom to supply known xterm
19698 capabilities, skip querying them, or query them (default).
19699 (terminal-init-xterm): Use it.
19700 (terminal-init-xterm-modify-other-keys): New function to set up
19701 modifyOtherKeys support to simplify `terminal-init-xterm'.
19702
9aab8e0d
MR
197032011-06-09 Martin Rudalics <rudalics@gmx.at>
19704
19705 * window.el (resize-window-reset, resize-window-reset-1)
19706 (resize-subwindows-skip-p, resize-subwindows-normal)
19707 (resize-subwindows, resize-other-windows, resize-this-window)
19708 (resize-root-window, resize-root-window-vertically)
19709 (window-deletable-p, window-or-subwindow-p)
19710 (frame-root-window-p): New functions.
19711
e8b08aee
GM
197122011-06-09 Glenn Morris <rgm@gnu.org>
19713
19714 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
19715 (ange-ftp-get-files): Use it.
19716
254c37a5
AK
197172011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
19718
19719 * mail/sendmail.el (mail-recover-1, mail-recover):
19720 * files.el (recover-file, recover-session):
19721 Handle dired-listing-switches not being just a single short option.
19722
35d7dbd3
GM
197232011-06-09 Glenn Morris <rgm@gnu.org>
19724
19725 * calendar/appt.el (appt-display-message, appt-disp-window):
19726 Handle lists of appointments.
19727
387522b2
MR
197282011-06-08 Martin Rudalics <rudalics@gmx.at>
19729
2b75be67
SM
19730 * window.el (one-window-p): Move down in code.
19731 Rewrite doc-string.
19732 (window-current-scroll-bars): Rewrite doc-string.
19733 Normalize live window argument.
387522b2
MR
19734 (walk-windows, get-window-with-predicate, count-windows):
19735 Rewrite doc-string. Use window-list-1.
19736 (window-in-direction-2, window-in-direction, get-mru-window):
19737 New functions.
19738
d8e4b68b 197392011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
19740
19741 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
19742 Doc fix (Bug#8713).
19743
197442011-06-08 Chong Yidong <cyd@stupidchicken.com>
19745
19746 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
19747
197482011-06-08 Juanma Barranquero <lekktu@gmail.com>
19749
19750 * loadhist.el (unload-feature-special-hooks):
19751 Add `comint-output-filter-functions'.
19752
0de12c52
IK
197532011-06-08 Ivan Kanis <gnu@kanis.fr>
19754
19755 * calendar/appt.el (appt-check): Move some initializations into the let.
19756
f3d1777e
MR
197572011-06-08 Martin Rudalics <rudalics@gmx.at>
19758
19759 * window.el (window-height): Defalias to window-total-height.
19760 (window-width): Defalias to window-body-width.
19761
18af70d0
CY
197622011-06-07 Chong Yidong <cyd@stupidchicken.com>
19763
19764 * image-mode.el (image-toggle-animation): New command.
19765 (image-mode-map): Bind it to RET.
19766 (image-mode): Update message.
19767 (image-toggle-display-image): Avoid a spurious cache flush.
19768 (image-transform-rotation): Doc fix.
19769 (image-transform-properties): Return quickly in the normal case.
19770 (image-animate-loop): Rename from image-animate-max-time.
19771
2b75be67 19772 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
19773 (create-animated-image): Remove unnecessary function.
19774 (image-animate): Rename from image-animate-start. New arg.
2b75be67 19775 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
19776 (image-animate-timer): Use car-safe.
19777 (image-animate-timeout): Rename argument.
19778
190b47e6
MR
197792011-06-07 Martin Rudalics <rudalics@gmx.at>
19780
19781 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
19782 window.c. Rename first argument to ALL-FRAMES.
19783 Rephrase doc-strings.
19784 (get-buffer-window-list): Rewrite using window-list-1.
19785 Rephrase doc-string.
a1511caf
MR
19786 (window-safe-min-height, window-safe-min-width): New constants.
19787 (window-size-ignore, window-min-size, window-min-size-1)
19788 (window-sizable, window-sizable-p, window-size-fixed-1)
19789 (window-size-fixed-p, window-min-delta-1, window-min-delta)
19790 (window-max-delta-1, window-max-delta, window-resizable)
19791 (window-resizable-p, window-total-height, window-total-width)
19792 (window-body-width): New functions.
19793 (window-full-height-p, window-full-width-p): Rewrite using
19794 window-total-size.
19795 (window-body-height): Rewrite using window-body-size.
190b47e6 19796
85cc1f11
MR
197972011-06-06 Martin Rudalics <rudalics@gmx.at>
19798
19799 * window.el (window-right, window-left, window-child)
19800 (window-child-count, window-last-child, window-any-p)
19801 (normalize-live-buffer, normalize-live-frame)
19802 (normalize-any-window, normalize-live-window)
19803 (window-iso-combination-p, window-iso-combined-p)
19804 (window-iso-combinations)
19805 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
19806 (windows-with-parameter, window-with-parameter)
19807 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
19808 (window-atom-check, window-side-check, window-check):
19809 New functions.
85cc1f11
MR
19810 (ignore-window-parameters, window-sides, window-sides-vertical)
19811 (window-sides-slots): New variables.
19812 (window-size-fixed): Move down in code. Minor doc-string fix.
19813
e7156492
AS
198142011-06-05 Andreas Schwab <schwab@linux-m68k.org>
19815
19816 * comint.el (comint-dynamic-complete-as-filename)
19817 (comint-dynamic-complete-filename): Correctly call
19818 completion-in-region.
19819
7e821d0d
DD
198202011-06-05 Deniz Dogan <deniz@dogan.se>
19821
19822 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
19823 in last change.
19824
ac09b8a1
DD
198252011-06-05 Deniz Dogan <deniz@dogan.se>
19826
19827 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
19828 (rcirc): Use it to prompt for encryption.
19829
34699b85
RW
198302011-06-05 Roland Winkler <winkler@gnu.org>
19831
19832 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
19833 (bibtex-search-entries): New command bound to C-c C-a.
19834 (bibtex-display-entries): New function.
19835
004dedd3
RW
198362011-06-05 Roland Winkler <winkler@gnu.org>
19837
19838 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
19839 (bibtex-insert-kill): After yanking insert newline if necessary.
19840 (bibtex-initialize): Call bibtex-string-files-init only once.
19841 (bibtex-mode): Do not call easy-menu-add.
19842 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
19843 (bibtex-yank): Set arg properly if nil.
19844
022fe7ce
RW
198452011-06-05 Roland Winkler <winkler@gnu.org>
19846
2b75be67
SM
19847 * textmodes/bibtex.el (bibtex-search-entry-globally):
19848 New variable.
022fe7ce
RW
19849 (bibtex-search-entry): Use it.
19850
b7c3692a
RW
198512011-06-05 Roland Winkler <winkler@gnu.org>
19852
19853 * textmodes/bibtex.el (bibtex-entry-format): New option
19854 sort-fields.
19855 (bibtex-format-entry, bibtex-reformat): Honor this option.
19856 (bibtex-parse-entry): Return fields in proper order.
19857
8eda563d
JB
198582011-06-05 Juanma Barranquero <lekktu@gmail.com>
19859
19860 * doc-view.el (doc-view-remove-if): Move computation of result out
19861 of `dolist' to silence misleading lexical-binding warning.
19862
7dbe3dbc
CY
198632011-06-04 Chong Yidong <cyd@stupidchicken.com>
19864
19865 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
19866 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
19867
0c33dd17
MA
198682011-06-04 Michael Albinus <michael.albinus@gmx.de>
19869
19870 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
19871 "SunOS 5.10".
19872
f8f91c2b
MA
198732011-06-04 Michael Albinus <michael.albinus@gmx.de>
19874
19875 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
19876 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
19877 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
19878 (tramp-parse-putty):
19879 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
19880 (tramp-completion-function-alist-ssh)
19881 (tramp-completion-function-alist-telnet)
19882 (tramp-completion-function-alist-su)
19883 (tramp-completion-function-alist-putty): Set `tramp-autoload'
19884 cookie.
19885
19886 * net/tramp-ftp.el:
19887 * net/tramp-sh.el:
19888 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
19889 load "tramp.el" `tramp-set-completion-function'.
19890
e17d9003
SM
198912011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
19892
19893 * shell.el: Require and use pcomplete.
19894 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
19895 (shell-completion-vars): Set pcomplete-default-completion-function.
19896
6c4cab03
DD
198972011-06-04 Deniz Dogan <deniz@dogan.se>
19898
19899 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
19900 `memq' (Bug#8799).
19901
ea9fafe0
SM
199022011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
19903
19904 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
19905
b3e945d3
JB
199062011-06-02 Juanma Barranquero <lekktu@gmail.com>
19907
19908 * bs.el (bs--mark-unmark, bs--nth-wrapper):
19909 * mpc.el (mpc-select-extend, mpc-songpointer-context):
19910 * vc/log-view.el (log-view-beginning-of-defun):
19911 * vc/smerge-mode.el (smerge-apply-resolution-patch)
19912 (smerge-refine-forward, smerge-refine-chopup-region):
19913 Silence warning for unused `dotimes' counter variables.
19914
7d520089
SM
199152011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
19916
19917 * net/tramp.el (tramp-with-progress-reporter): Rename from
19918 with-progress-reporter. Use `declare'.
19919 * net/tramp-smb.el:
19920 * net/tramp-sh.el:
19921 * net/tramp-gvfs.el: Update all uses.
19922
a1c2400f
JB
199232011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
19924
19925 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
19926 buffer isn't killed before making it current.
19927
2403c841
SM
199282011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
19929
19930 Silence various byte-compiler warnings.
19931 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
19932 `access-type' and new obsolescence format.
19933 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
19934 new format.
19935 (byte-compile-check-variable): New `access-type' argument.
19936 Only warn if the access-type is obsolete.
19937 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
19938 (byte-compile-variable-set): Adjust callers.
19939 * help-fns.el (describe-variable): Adjust to new obsolescence format.
19940 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
19941 setting it as obsolete.
19942 * simple.el (minibuffer-completing-symbol):
19943 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
19944 access as obsolete.
19945 * minibuffer.el (minibuffer-completing-file-name): Don't make it
19946 obsolete yet.
19947 * international/quail.el (quail-mouse-choose-completion): Remove unused
19948 code referring to obsolete var.
19949 (quail-choose-completion-string): Remove.
19950 * server.el (server-clients-with, server-kill-buffer-query-function)
19951 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
19952 * proced.el (proced-send-signal):
19953 * emacs-lisp/lisp.el (lisp-complete-symbol):
19954 Replace completion-annotate-function with completion-extra-properties.
19955
2462470b
SM
199562011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
19957
fb5b2591
SM
19958 * simple.el (goto-line): Use read-number.
19959 (overriding-map-is-bound): Remove.
19960 (saved-overriding-map): Change default.
19961 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
19962 Take the map as argument.
19963 (universal-argument, negative-argument, digit-argument): Use it.
19964 (restore-overriding-map): Adjust.
19965 (do-auto-fill): Use fill-forward-paragraph.
19966 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
19967
fd6fa53f
SM
19968 * minibuffer.el (minibuffer-inactive-mode-map): New var.
19969 (minibuffer-inactive-mode): New major mode.
19970 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
19971 the *Messages* buffer" hack.
19972 (mouse-popup-menubar): Don't burp if the event is a normal key.
19973
2462470b
SM
19974 Miscellaneous tweaks.
19975 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
19976 lexical scoping as in subr.el's dolist and dotimes.
19977 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
19978 Silence compiler warning.
19979 * thingatpt.el (forward-whitespace): Trivial coding style fix.
19980 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
19981 * international/ccl.el (ccl-compile): Trivial simplification.
19982 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
19983 * emacs-lisp/testcover.el (testcover-end): Remove spurious
19984 `printflag' argument.
19985 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
19986 Purecopy the whole obsolescence data.
19987
108bf785
LL
199882011-06-01 Leo Liu <sdl.web@gmail.com>
19989
19990 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
19991 improve doc-string as suggested by Marco Pessotto
19992 <melmothx@gmail.com>.
19993 (rcirc-print): Fix last change.
19994
30a23501
SM
199952011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
19996
19997 * minibuffer.el (complete-with-action): Return nil for the metadata and
19998 boundaries of non-functional tables.
19999 (completion-table-dynamic): Return nil for the metadata.
20000 (completion-table-with-terminator): Add default case, using
20001 complete-with-action.
20002 (completion--metadata): New function.
20003 (completion-all-sorted-completions, minibuffer-completion-help): Use it
20004 to try and avoid pathological performance problems.
20005 (completion--embedded-envvar-table): Return `category' metadata.
20006
bcd54f83
LMI
200072011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
20008
20009 * subr.el (process-alive-p): New tiny convenience function.
20010
e227544d
SM
200112011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
20012
20013 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
20014 content but also its previous major mode.
20015
e8296fdc
HE
200162011-05-31 Helmut Eller <eller.helmut@gmail.com>
20017
4d61f28d 20018 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
20019 *Backtrace* buffer when we exit with C-M-c.
20020
620c53a6
SM
200212011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
20022
20023 * minibuffer.el: Add metadata method to completion tables.
20024 (completion-category-overrides): New defcustom.
20025 (completion-metadata, completion--field-metadata)
20026 (completion-metadata-get, completion--styles)
20027 (completion--cycle-threshold): New functions.
20028 (completion-try-completion, completion-all-completions):
20029 Add `metadata' argument to choose completion-styles.
20030 (completion--do-completion): Use metadata to choose cycling.
20031 (completion-all-sorted-completions): Use metadata for sorting.
20032 Remove :completion-cycle-penalty which is not needed any more.
20033 (completion--try-word-completion): Add `metadata' argument.
20034 (minibuffer-completion-help): Check metadata for annotation function
20035 and sorting.
20036 (completion-file-name-table): Return `category' metadata.
20037 (minibuffer-completing-file-name): Make obsolete.
20038 * simple.el (minibuffer-completing-symbol): Make obsolete.
20039 * icomplete.el (icomplete-completions): Pass new `metadata' param to
20040 completion-try-completion.
20041
1257e755
SM
200422011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
20043
20044 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
20045
3767e706
LL
200462011-05-30 Leo Liu <sdl.web@gmail.com>
20047
20048 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
20049 (rcirc-print): Decode all incoming messages (bug#8744).
20050 (rcirc-decode-coding-system): Allow value nil for automatic coding
20051 system detection.
3767e706 20052
d1a5d56a
GM
200532011-06-01 Glenn Morris <rgm@gnu.org>
20054
20055 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
20056
e8cbec34
CY
200572011-05-29 Chong Yidong <cyd@stupidchicken.com>
20058
20059 * image.el (image-animate-max-time): Allow nil and t values.
20060 Default to nil.
20061 (create-animated-image): Doc fix.
20062 (image-animate-start): Remove second arg; just use
20063 image-animate-max-time.
20064 (image-animate-timeout): Doc fix. Args changed.
20065
20066 * image-mode.el (image-toggle-display-image): Ensure that the
20067 image spec passed to the animate timer is the same object as in
58179cce 20068 the buffer's display property (Bug#6981).
e8cbec34
CY
20069 (image-transform-properties): Doc fix.
20070
20071 * image.el (image-animate-max-time): Default to nil.
20072
159daf87
MR
200732011-05-29 Martin Rudalics <rudalics@gmx.at>
20074
20075 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
20076 entire buffer list (Bug#8184).
20077
d66c4c7c
CY
200782011-05-29 Chong Yidong <cyd@stupidchicken.com>
20079
20080 * image.el (imagemagick-types-inhibit)
20081 (imagemagick-register-types): Doc fix.
20082
80aec780
DD
200832011-05-29 Deniz Dogan <deniz@dogan.se>
20084
20085 * net/rcirc.el (rcirc): Use the user's stored encryption method by
20086 default.
20087
1dd3c2d9
CY
200882011-05-29 Chong Yidong <cyd@stupidchicken.com>
20089
20090 * select.el: Don't perform clipboard-manager saving in hooks;
20091 leave the hooks empty.
20092
60e56523
LL
200932011-05-28 Leo Liu <sdl.web@gmail.com>
20094
20095 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
20096 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
20097 (occur-edit-mode): New major mode (Bug#8463).
20098 (occur-after-change-function): New function.
20099 (occur-engine): Give Occur tags a read-only property.
20100
2b1e1a22
KR
201012011-05-28 Kevin Ryde <user42@zip.com.au>
20102
20103 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
20104
5d344e88
CY
201052011-05-28 Chong Yidong <cyd@stupidchicken.com>
20106
8e6ca83d
CY
20107 * bindings.el (help-echo): Make the initial non-indicator dash
20108 empty on graphical terminals (Bug#7295).
20109
5d344e88
CY
20110 * files.el (auto-mode-alist): Move config rule after the
20111 in-stripping one (Bug#8547).
20112
bfbbace7
CY
20113 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
20114
fbeba6e2
CY
20115 * startup.el (normal-splash-screen): Remove gratuitous mode-line
20116 setting (Bug#8740).
20117
60ed8c72
AA
201182011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
20119
4ac619f0
AA
20120 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
20121 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
20122 (Bug#8539).
60ed8c72 20123
23db196e
CY
201242011-05-28 Chong Yidong <cyd@stupidchicken.com>
20125
20126 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
20127
5012f24c
DK
201282011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
20129
20130 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
20131 (hs-hide-block-at-point, hs-find-block-beginning)
20132 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
20133 (Bug#8279).
20134
6a639b16
GM
201352011-05-28 Glenn Morris <rgm@gnu.org>
20136
20137 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
20138
d43eaf2c
CY
201392011-05-28 Chong Yidong <cyd@stupidchicken.com>
20140
5199bde1
CY
20141 * help-fns.el (describe-function-1): If the function is a derived
20142 major mode, print the parent mode.
20143
d43eaf2c
CY
20144 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
20145 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
20146
423428a8
SM
201472011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
20148
0ff8e1ba 20149 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 20150 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
20151 * progmodes/etags.el (tags-completion-at-point-function):
20152 * info-look.el (info-lookup-completions-at-point): Mark as
20153 non-exclusive.
20154 (info-complete): Adjust accordingly.
20155
423428a8
SM
20156 * info-look.el: Convert to lexical-binding and completion-at-point.
20157 (info-lookup-completions-at-point): New function.
20158 (info-complete): Use it and completion-in-region.
20159
b74aa22b
DA
201602011-05-28 Drew Adams <drew.adams@oracle.com>
20161
20162 * isearch.el: Let M-e start with point at the first mismatched char.
20163 (isearch-fail-pos): New function.
20164 (isearch-edit-string): Use it.
20165
66e2e71d
DK
201662011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
20167
20168 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
20169
b1890b0f 201702011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
20171
20172 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
20173 traversal functions for avl-trees.
20174 (avl-tree--stack): New struct.
20175 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
20176 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
20177 (avl-tree--do-enter): Add optional `updatefun' arg.
20178 Change return value.
eb95d01d 20179 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
20180 (avl-tree--do-delete): Add `test' and `nilflag' args.
20181 Change return value.
eb95d01d
TC
20182 (avl-tree-member): Add optional `nilflag'
20183 (avl-tree-member-p): New function.
20184 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
20185 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
20186 (avl-tree-stack-empty-p): New functions.
20187
3769ddcf
TC
20188 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
20189 avl-tree--del-balance1 and make it work both ways.
20190 (avl-tree--del-balance2): Remove.
20191 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
20192 make it work both ways.
20193 (avl-tree--enter-balance2): Remove.
20194 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
20195 New macros.
20196 (avl-tree--mapc, avl-tree-map): Add direction argument.
20197
eb95d01d 201982011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
20199
20200 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
20201
a9f737ee
CY
202022011-05-27 Chong Yidong <cyd@stupidchicken.com>
20203
20204 * select.el: Support clipboard managers with built-in function
20205 x-clipboard-manager-save, via delete-frame-functions and
20206 kill-emacs-hook.
20207 (xselect-convert-to-targets): Add MULTIPLE target to list.
20208 (xselect-convert-to-save-targets): New function.
20209
c92a1e54
KH
202102011-05-27 Kenichi Handa <handa@m17n.org>
20211
20212 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
20213 let-binding rfc2047-encode-encoded-words to nil.
20214
e145f188
GM
202152011-05-27 Glenn Morris <rgm@gnu.org>
20216
5ec8a862
GM
20217 * mail/emacsbug.el: Don't require url-util.
20218
4b29d9fb
GM
20219 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
20220
e145f188
GM
20221 * files.el (set-auto-mode):
20222 Also respect mode: entries at the end of the file. (Bug#8586)
20223
7d15102b
GM
202242011-05-26 Glenn Morris <rgm@gnu.org>
20225
98f593b8
GM
20226 * files.el (hack-local-variables-prop-line, hack-local-variables):
20227 Downcase mode names, as seems to be traditional.
27b48e63 20228 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 20229
7d15102b
GM
20230 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
20231 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
20232
51d5b4ec
JD
202332011-05-25 Julien Danjou <julien@danjou.info>
20234
20235 * textmodes/rst.el (rst-define-level-faces): Do not define face
20236 symbol if it is already defined.
20237
91513f63
VB
202382011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
20239
20240 * play/5x5.el (5x5-new-game, 5x5-randomize):
20241 Reset 5x5-solver-output to nil when a new grid is cast.
20242 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
20243 these debugging traces, as defmacro breaks the compiled code.
20244
4d90d6d0
DK
202452011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
20246
20247 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
20248
e1b90ef6
LL
202492011-05-24 Leo Liu <sdl.web@gmail.com>
20250
20251 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
20252 (vc-bzr-sha1): Adapt.
20253
d8e4b68b 20254 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
20255
20256 * bindings.el: Provide sha1 feature.
20257
db0406bb 202582011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
20259
20260 * mail/sendmail.el: Require `rfc2047'.
20261 (mail-insert-from-field): Do not perform RFC2047 encoding.
20262 (mail-encode-header): New function.
20263 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
20264 buffer to the return value of select-message-coding-system.
20265 Call mail-encode-header.
b8d747b9
KH
20266
20267 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
20268
db0406bb 202692011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 20270
4d90d6d0
DK
20271 * mail/supercite.el (sc-default-cite-frame):
20272 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 20273
eb8a5e9b
GM
202742011-05-24 Glenn Morris <rgm@gnu.org>
20275
f8630703
GM
20276 * progmodes/python.el (brm-menu): Declare.
20277
8831bbed
GM
20278 * emulation/viper.el (viper-set-hooks): Declare.
20279
eb8a5e9b
GM
20280 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
20281 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
20282 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
20283 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
20284 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
20285 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
20286
a2a25d24
SM
202872011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
20288
20289 Add an :exit-function for completion-at-point.
20290
20291 * minibuffer.el (completion--done): New fun.
20292 (completion--do-completion): Use it. New arg `expect-exact'.
20293 (minibuffer-complete, minibuffer-complete-word): Don't output message,
20294 since completion--do-completion does it for us now.
20295 (minibuffer-force-complete): Use completion--done and
20296 completion--replace. Handle sole-completion case with more care.
20297 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
20298 (completion-extra-properties): New var.
20299 (completion-annotate-function): Make obsolete.
20300 (minibuffer-completion-help): Adjust accordingly.
20301 Use completion-list-insert-choice-function.
20302 (completion-at-point, completion-help-at-point):
20303 Bind completion-extra-properties.
20304 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
20305 * simple.el (completion-list-insert-choice-function): New var.
20306 (completion-setup-function): Preserve it.
20307 (choose-completion): Pay attention to it, shuffle the code a bit.
20308 (choose-completion-string): New arg `insert-function'.
20309
20310 * textmodes/bibtex.el: Convert to lexical binding.
20311 (bibtex-mode-map): Use completion-at-point.
20312 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
20313 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
20314 (bibtex-complete): Define as obsolete alias.
20315 (bibtex-complete-internal): Remove.
20316 (bibtex-format-entry): Remove unused sub-group in regexp.
20317 * shell.el (shell--command-completion-data)
20318 (shell-environment-variable-completion):
20319 * pcomplete.el (pcomplete-completions-at-point):
20320 * comint.el (comint--complete-file-name-data): Use :exit-function
20321 instead of completion-table-with-terminator so it also works for
20322 choose-completion.
20323
e44e373d
SM
203242011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
20325
4f91a816
SM
20326 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
20327
782fc819
SM
20328 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
20329 (bug#8710).
20330
e44e373d
SM
20331 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
20332
381987c3
KM
203332011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
20334
20335 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
20336 customization variable and implement: If non-nil, auto-fill will
20337 be inhibited while on topic's header line.
20338
b776bc70
VB
203392011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
20340
20341 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 20342 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
20343 always have a solution in grid size = 5 cases.
20344 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
20345 (5x5-solver-output, 5x5-log-buffer): New vars.
20346 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
20347 Make these variables buffer local to achieve 5x5 multi-session-ness.
20348 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
20349 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
20350 (5x5-solve-suggest): New funs.
20351 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
20352 randomize a grid so that we ensure that there is always a solution.
20353 (5x5-make-random-grid): Allow other movement than flipping.
20354
7de88b6e
KR
203552011-05-23 Kevin Ryde <user42@zip.com.au>
20356
20357 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 20358 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
20359 advice and passes PREDICATE.
20360
b1ef1257
SM
203612011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
20362
bbca48fe
SM
20363 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
20364 byte-compile-lambda if it's actually a lambda.
20365
b1ef1257
SM
20366 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
20367 Fix function quoting. Use backquote better.
20368
92a9cc65
YS
203692011-05-22 Yuanle Song <sylecn@gmail.com>
20370
20371 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
20372 matching (Bug#8516).
20373
f0fb8059
JA
203742011-01-22 Jari Aalto <jari.aalto@cante.net>
20375
20376 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
20377 different face (Bug#8178).
20378
d5b44c93
CY
203792011-05-22 Chong Yidong <cyd@stupidchicken.com>
20380
20381 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
20382 defface (Bug#8144).
20383
79106a44
SM
203842011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
20385
9c848d8a
SM
20386 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
20387 funcall as well (bug#8712). Warn when performing those conversions.
20388 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
20389
79106a44
SM
20390 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
20391
88dfa756
GM
203922011-05-22 Glenn Morris <rgm@gnu.org>
20393
20394 * files.el (hack-local-variables-prop-line): Small simplifications.
20395 (hack-local-variables, hack-local-variables-prop-line):
20396 If MODE-ONLY, return the mode, rather than just `t'.
20397
b7cf2c79
SM
203982011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
20399
20400 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
20401
3f1a8558
GM
204022011-05-21 Glenn Morris <rgm@gnu.org>
20403
7e4ccca3
GM
20404 * files.el (hack-local-variables-prop-line, hack-local-variables):
20405 If only interested in the mode, don't bother doing the other stuff.
20406
637d46ca
GM
20407 * image-mode.el (image-after-revert-hook):
20408 Redraw all frames on which the image is visible. (Bug#8567)
20409
973d955b
GM
20410 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
20411
3f1a8558
GM
20412 * wid-edit.el (widget-checklist-match-inline):
20413 Fix 2011-04-19 change. (Bug#8649)
20414
96479927
SM
204152011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
20416
1dcf791f
SM
20417 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
20418 Also allow singlespace after single-letter capitals followed by a dot.
20419
96479927
SM
20420 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
20421 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
20422
35fd0881
N
204232011-05-20 Nix <nix@esperi.org.uk>
20424
20425 * files.el (basic-save-buffer-2):
20426 Fix handling of break-hardlink-on-save with non-existent files.
20427
82745640
DD
204282011-05-19 Deniz Dogan <deniz@dogan.se>
20429
20430 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 20431 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 20432
4a720484
GM
204332011-05-19 Glenn Morris <rgm@gnu.org>
20434
d1f21341
GM
20435 * progmodes/f90.el (f90-type-def-re):
20436 Handle "type, bind(c)". (Bug#8691)
20437
4a720484
GM
20438 * emacs-lisp/autoload.el (batch-update-autoloads):
20439 Set autoload-excludes by parsing loadup.el rather than Makefiles.
20440
2fb0a219
MA
204412011-05-18 Michael Albinus <michael.albinus@gmx.de>
20442
20443 * net/tramp.el (tramp-process-actions): Set "first-password-request"
20444 property for the correct connection in case of multihops.
20445
e565dd37
GM
204462011-05-18 Glenn Morris <rgm@gnu.org>
20447
c2571358 20448 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
20449 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
20450
e565dd37
GM
20451 Rationalize calendar handling of day and month abbrev-arrays.
20452 * calendar/calendar.el (calendar-customized-p): New function.
20453 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
20454 (calendar-day-name-array, calendar-month-name-array): Doc fix.
20455 Add :set function.
20456 (calendar-abbrev-length, calendar-day-abbrev-array)
20457 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
20458 (calendar-day-abbrev-array, calendar-month-abbrev-array):
20459 Elements may no longer be nil.
20460 (calendar-day-name, calendar-month-name):
20461 Update for changed nature of abbrev arrays.
20462 * calendar/diary-lib.el (diary-name-pattern):
20463 Update for changed nature of abbrev arrays.
20464 (diary-mark-entries-1): Update calendar-make-alist calls.
20465 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
20466 * calendar/cal-html.el (cal-html-day-abbrev-array):
20467 Simply inherit from calendar-day-abbrev-array.
20468
1d99a745
SM
204692011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
20470
20471 * progmodes/grep.el (grep-mode): Disable default
20472 compilation-directory-matcher setting (bug#8684).
20473
7c1d9aa0
MA
204742011-05-17 Michael Albinus <michael.albinus@gmx.de>
20475
20476 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
20477 instead of "head" and "tail". There were problems with SunOS 5.9,
20478 and it performs better.
20479
3952e9d8
GM
204802011-05-17 Glenn Morris <rgm@gnu.org>
20481
2dd12e7f
GM
20482 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
20483
e4157b9c
GM
20484 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
20485 Replace obsolete function.
20486
8e249bbd
GM
20487 * shell.el (pcomplete-parse-arguments-function): Declare.
20488
3952e9d8
GM
20489 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
20490 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
20491 (appt-check): Doc fixes.
20492 (appt-disp-window-function, appt-delete-window-function):
20493 Remove needless special case in custom :type.
20494 (appt-display-count): Default to 0, not nil.
20495 (appt-check): Reset appt-display-count to 0, not nil.
20496
c71a0d48 204972011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 20498
c71a0d48
GM
20499 * progmodes/python.el (python-font-lock-keywords):
20500 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 20501
31d55be9
SM
205022011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
20503
20504 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
20505
3bfacb2f
KR
205062011-05-16 Kevin Ryde <user42@zip.com.au>
20507
20508 * info-look.el (makefile-automake-mode): New setups, looking in
20509 automake manual, then makefile-mode.
20510 (makefile-mode): Remove automake manual, have it just in
20511 makefile-automake-mode since there's various things different or
20512 not relevant to plain make.
20513 (makefile-mode): Remove "other-modes" non-existent automake-mode,
20514 believe a hypothetical automake-mode would go to makefile-mode,
20515 not the other way around.
20516
c8e83751
CY
205172011-05-15 Chong Yidong <cyd@stupidchicken.com>
20518
5e9e35cd
CY
20519 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
20520 hunk-end tags (Bug#8672).
20521
c8e83751
CY
20522 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
20523 vc-annotate-show-diff-revision-at-line (Bug#8671).
20524
50b23e5a
GM
205252011-05-14 Glenn Morris <rgm@gnu.org>
20526
7210a739
GM
20527 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
20528 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
20529 (change-log-font-lock-keywords): Also handle multiple author lines
20530 with leading tabs. (Bug#8644)
7210a739 20531
4691905a
GM
20532 * calendar/appt.el (appt-check): Rename some local variables.
20533 Some simplification/reordering.
20534
50b23e5a
GM
20535 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
20536 (feedmail-sendmail-f-doesnt-sell-me-out)
20537 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
20538 (feedmail-debug-sit-for, feedmail-queue-express-hook)
20539 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
20540 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
20541 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
20542 (feedmail-binmail-gnulinuxish-template):
20543 Rename from feedmail-binmail-linuxish-template.
20544 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
20545 Use insert-buffer-substring.
20546
215cda7c
BC
205472011-05-14 Bill Carpenter <bill@carpenter.org>
20548
20549 * mail/feedmail.el (feedmail-patch-level): Increase.
20550 (feedmail-debug): New custom group.
20551 (feedmail-confirm-outgoing-timeout)
20552 (feedmail-sendmail-f-doesnt-sell-me-out)
20553 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
20554 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
20555 (feedmail-sender-line, feedmail-from-line)
20556 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 20557 (feedmail-spray-this-address)
215cda7c
BC
20558 (feedmail-spray-address-fiddle-plex-list)
20559 (feedmail-queue-use-send-time-for-date)
20560 (feedmail-queue-use-send-time-for-message-id)
20561 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
20562 (feedmail-buffer-eating-function):
20563 Doc fixes.
20564 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
20565 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
20566 (feedmail-message-action-scroll-down): New functions.
20567 (feedmail-queue-directory, feedmail-queue-draft-directory):
20568 Use expand-file-name.
20569 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
20570 Remove C-v help entry.
20571 (feedmail-queue-buffer-file-name): New variable.
20572 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
20573 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
20574 (feedmail-message-action-send-strong, feedmail-message-action-edit)
20575 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
20576 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
20577 (feedmail-message-action-toggle-spray)
20578 (feedmail-run-the-queue-no-prompts)
20579 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
20580 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
20581 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
20582 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
20583 (feedmail-envelope-deducer, feedmail-fiddle-from)
20584 (feedmail-fiddle-sender, feedmail-default-date-generator)
20585 (feedmail-fiddle-date, feedmail-fiddle-message-id)
20586 (feedmail-fiddle-spray-address)
20587 (feedmail-fiddle-list-of-spray-fiddle-plexes)
20588 (feedmail-fiddle-list-of-fiddle-plexes)
20589 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
20590 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
20591 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
20592 Change default. Doc fix.
20593 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
20594 (feedmail-binmail-linuxish-template): New constant.
20595 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
20596 Respect feedmail-sendmail-f-doesnt-sell-me-out.
20597 (feedmail-send-it): Add debug call.
20598 Use feedmail-queue-buffer-file-name, and
20599 feedmail-send-it-immediately-wrapper.
20600 (feedmail-message-action-send): Add debug call.
20601 Use feedmail-send-it-immediately-wrapper.
20602 (feedmail-queue-express-to-queue): Add debug call.
20603 Run feedmail-queue-express-hook.
20604 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
20605 (feedmail-message-action-help-blat):
20606 Rename from feedmail-queue-send-edit-prompt-help-first.
20607 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
20608 Check line-endings. Handle errors better.
20609 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
20610 Doc fix. Add debug call.
20611 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
20612 Use feedmail-queue-send-edit-prompt-inner.
20613 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
20614 (feedmail-queue-send-edit-prompt-inner): New function, extracted
20615 from feedmail-queue-send-edit-prompt.
20616 (feedmail-queue-send-edit-prompt-help)
20617 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
20618 (feedmail-tidy-up-slug): Add debug call.
20619 Respect feedmail-queue-slug-suspect-regexp.
20620 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
20621 (feedmail-dump-message-to-queue): Add debug call.
20622 Expand queue-directory.
20623 (feedmail-dump-message-to-queue): Change message slightly.
20624 Use feedmail-say-chatter.
20625 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
20626 (feedmail-send-it-immediately-wrapper): New function.
20627 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
20628 Insert empty string rather than newline. Handle full-frame case.
20629 Use catch/throw. Use feedmail-say-chatter.
20630 (feedmail-fiddle-from): Try mail-host-address.
20631 (feedmail-default-message-id-generator): Doc fix.
20632 Bind system-time-locale. Handle missing end.
20633 (feedmail-fiddle-x-mailer): Add debug call.
20634 Handle feedmail-x-mailer-line being nil.
20635 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
20636 Add debug call. Use buffer-substring-no-properties.
20637 (feedmail-say-debug, feedmail-say-chatter): New functions.
20638 (feedmail-find-eoh): Give an explicit error.
20639
42c7e61e
UJ
206402011-05-13 Ulf Jasper <ulf.jasper@web.de>
20641
c2571358 20642 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 20643 family from helvetica to sans.
c2571358 20644 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
20645 etc/images/newsticker.
20646
c2571358 20647 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
20648 family from helvetica to sans.
20649
20650 * net/newst-plainview.el (newsticker-new-item-face)
20651 (newsticker-old-item-face, newsticker-immortal-item-face)
20652 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 20653 (newsticker-statistics-face): Change default family from
42c7e61e 20654 helvetica to sans.
c2571358 20655 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
20656 etc/images/newsticker.
20657
5d3385a0
JB
20658 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
20659 (newsticker--process-auto-mark-filter-match): Tell user about
42c7e61e
UJ
20660 auto-marking.
20661
8497a297
DV
206622011-05-13 Didier Verna <didier@xemacs.org>
20663
20664 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
20665 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
20666 TODO entries.
8497a297
DV
20667 (lisp-lambda-list-keyword-parameter-indentation)
20668 (lisp-lambda-list-keyword-parameter-alignment)
20669 (lisp-lambda-list-keyword-alignment): New customizable user options.
20670 (lisp-indent-defun-method): Improve docstring.
20671 (extended-loop-p): Fix comment.
20672 (lisp-indent-lambda-list-keywords-regexp): New variable.
20673 (lisp-indent-lambda-list): New function.
20674 (lisp-indent-259): Use it.
20675 (lisp-indent-defmethod): Support for more than one
20676 method qualifier and properly indent methods lambda-lists.
20677 (defgeneric): Provide a missing common-lisp-indent-function property.
20678
f278f87f
SM
206792011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
20680
20681 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
20682 bounds for the empty string (bug#8667).
20683
5233edd7
GM
206842011-05-13 Glenn Morris <rgm@gnu.org>
20685
5237a44f
GM
20686 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
20687
8340026c 20688 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 20689 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 20690
5233edd7 20691 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 20692 (appt-time-msg-list): Doc fix.
a5464014 20693 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 20694
92d10796
AS
206952011-05-12 Andreas Schwab <schwab@linux-m68k.org>
20696
20697 * progmodes/ld-script.el (ld-script-keywords)
20698 (ld-script-builtins): Update keywords list.
20699
914a0ae1
SM
207002011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
20701
c89be45f
SM
20702 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
20703
914a0ae1
SM
20704 * shell.el (shell-completion-vars): New function.
20705 (shell-mode):
20706 * simple.el (read-shell-command): Use it.
20707 (blink-matching-open): No need for " [...]" in minibuffer-message.
20708
98dc3df3
GM
207092011-05-12 Glenn Morris <rgm@gnu.org>
20710
20711 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
20712 (appt-check): Simplify.
20713
d2fc7e3d 207142011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 20715
4d61f28d 20716 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
20717 literal "/dev/null".
20718
d2fc7e3d 207192011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
20720
20721 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
20722 Fix typo.
20723
d2fc7e3d 207242011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 20725
3f254caa
SM
20726 * progmodes/which-func.el (which-function):
20727 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
20728 which might not be defined (Bug#8260).
20729
d45885f7
GM
207302011-05-12 Glenn Morris <rgm@gnu.org>
20731
20732 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
20733 Let byte-compile-initial-macro-environment always take precedence.
20734
488086f4
SM
207352011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
20736
20737 * net/rcirc.el: Add support for SSL/TLS connections.
20738 (rcirc-server-alist): New field `encryption'.
20739 (rcirc): Check `encryption' settings.
20740 (rcirc-connect): New arg `encryption'. Use open-network-stream.
20741 Merge make-local-variable into `set'.
20742 (rcirc--connection-open-p): New function.
20743 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
20744 the process is not a network process (e.g. running gnutls-cli).
20745 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
20746 Make rcirc-(en|de)code-coding-system local here.
20747 (rcirc-mode): Merge make-local-variable into `set'.
20748 (rcirc-parent-buffer): Make permanent buffer-local.
20749 (rcirc-multiline-minor-mode): Don't do it here.
20750 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
20751 there's no server buffer.
20752
7d3b9d44
GM
207532011-05-11 Glenn Morris <rgm@gnu.org>
20754
f64049c6
GM
20755 * newcomment.el (comment-kill): Prefix "unused" local.
20756
93c9df73
GM
20757 * term/w32console.el (get-screen-color): Declare.
20758
7d3b9d44
GM
20759 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
20760 Handle symbol elements of byte-compile-initial-macro-environment.
20761
9e2dd53f
LL
207622011-05-10 Leo Liu <sdl.web@gmail.com>
20763
488086f4
SM
20764 * bookmark.el (bookmark-bmenu-mode-map):
20765 Bind bookmark-bmenu-search to `/'.
8b340240 20766
9e2dd53f 20767 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
20768 (footnote-unicode-string, footnote-unicode-regexp): New variable.
20769 (Footnote-unicode): New function.
20770 (footnote-style-alist): Add unicode style to the list.
20771 (footnote-style): Doc fix.
9e2dd53f 20772
79b70037
GM
207732011-05-10 Jim Meyering <meyering@redhat.com>
20774
20775 Fix doubled-word typos.
20776 * international/quail.el (quail-insert-kbd-layout): and and -> and
20777 * kermit.el: and and -> and
20778 * net/ldap.el (ldap-search-internal): to to -> to
20779 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
20780 * progmodes/js.el (js-mode): and and -> and
20781 * textmodes/artist.el (artist-move-to-xy): at at -> at
20782 (artist-draw-region-trim-line-endings): if if -> if
20783 And Safetyc -> Safety.
20784 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
20785
b8f82dc1 207862011-05-10 Glenn Morris <rgm@gnu.org>
f1a71c6e 20787 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
20788
20789 * files.el (hack-one-local-variable-eval-safep):
20790 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
20791
4f99f44b
GM
207922011-05-10 Glenn Morris <rgm@gnu.org>
20793
20794 * calendar/diary-lib.el (diary-list-entries-hook)
20795 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
20796 (diary-nongregorian-marking-hook, diary-list-entries)
20797 (diary-include-other-diary-files, diary-mark-entries)
20798 (diary-mark-included-diary-files): Doc fixes.
20799
84f29e6b
JB
208002011-05-09 Juanma Barranquero <lekktu@gmail.com>
20801
20802 * misc.el: Require tabulated-list.el during compilation.
20803
9bedd73a
CY
208042011-05-09 Chong Yidong <cyd@stupidchicken.com>
20805
488086f4
SM
20806 * progmodes/compile.el (compilation-start):
20807 Run compilation-filter-hook for the async case too.
9bedd73a
CY
20808 (compilation-filter-hook): Doc fix.
20809
797c735c
DD
208102011-05-09 Deniz Dogan <deniz@dogan.se>
20811
20812 * wdired.el: Remove outdated installation comment. Fix usage
20813 comment.
20814
5f4b1dfe
JB
208152011-05-09 Juanma Barranquero <lekktu@gmail.com>
20816
20817 * misc.el: Implement new command `list-dynamic-libraries'.
20818 (list-dynamic-libraries--loaded-only-p): New variable.
20819 (list-dynamic-libraries--refresh): New function.
20820 (list-dynamic-libraries): New command.
20821
4c44026c
CY
208222011-05-09 Chong Yidong <cyd@stupidchicken.com>
20823
488086f4
SM
20824 * progmodes/compile.el (compilation-error-regexp-alist-alist):
20825 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
20826 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
20827 higher priority to avoid clobbering by gnu.
20828
027f966d
CY
208292011-05-08 Chong Yidong <cyd@stupidchicken.com>
20830
20831 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
20832 if the face has existing theme settings (Bug#8454).
20833
085f5d7d
CY
208342011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
20835
488086f4
SM
20836 * progmodes/perl-mode.el (perl-imenu-generic-expression):
20837 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 20838
2a86a00c
RS
20839 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
20840 special file names `.' and `..' (Bug#8259).
20841
d9c54a06
CY
208422011-05-08 Chong Yidong <cyd@stupidchicken.com>
20843
488086f4
SM
20844 * progmodes/grep.el (grep-mode-font-lock-keywords):
20845 Remove buffer-changing entries.
d9c54a06
CY
20846 (grep-filter): New function.
20847 (grep-mode): Add it to compilation-filter-hook.
20848
20849 * progmodes/compile.el (compilation-filter-hook)
20850 (compilation-filter-start): New defvars.
20851 (compilation-filter): Call compilation-filter-hook prior to
20852 updating the process mark.
20853
c4662635
SM
208542011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
20855
20856 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
20857
b0512a1d
EZ
208582011-05-07 Eli Zaretskii <eliz@gnu.org>
20859
605c9376
EZ
20860 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
20861 mailclient-send-it even if window-system is nil. (Bug#8595)
20862
c4662635
SM
20863 * term/w32console.el (terminal-init-w32console):
20864 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
20865 background-mode. (Bug#8597)
20866
d1dc2cc2
SM
208672011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
20868
20869 Make bytecomp.el understand that defmethod defines funs (bug#8631).
20870 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
20871 New functions.
20872 (defgeneric, eieio--defmethod): Use them.
20873 (eieio-defgeneric): Remove.
20874 (defmethod): Call defgeneric in a way visible to the byte-compiler.
20875
915d1300
GM
208762011-05-07 Glenn Morris <rgm@gnu.org>
20877
a3961c3e
GM
20878 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
20879 Use let rather than let*.
20880 (timeclock-find-discrep): Remove unused local.
20881
314347b9
GM
20882 * calendar/diary-lib.el (diary-comment-start): Doc fix.
20883
915d1300
GM
20884 * calendar/appt.el (appt-time-msg-list): Doc fix.
20885
275b59b0
NF
208862011-05-06 Noah Friedman <friedman@splode.com>
20887
20888 * apropos.el (apropos-print-doc): Only use
20889 emacs-lisp-docstring-fill-column when it is bound to an integer,
20890 per that variable's documentation.
20891
6c19f744
SM
208922011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
20893
20894 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 20895 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 20896
60f884b2
GM
208972011-05-06 Glenn Morris <rgm@gnu.org>
20898
5006e634
GM
20899 * calendar/appt.el (appt-message-warning-time): Doc fix.
20900 (appt-warning-time-regexp): New option.
20901 (appt-make-list): Respect appt-message-warning-time.
20902
548d0a63
GM
20903 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
20904 New options.
20905 (diary-add-to-list): Strip comments from the displayed string.
20906 (diary-mode): Set comment-start and comment-end.
20907
60f884b2
GM
20908 * vc/diff-mode.el (smerge-refine-subst): Declare.
20909 (diff-refine-hunk): Don't require smerge-mode when compiling.
20910
989681bb
JB
209112011-05-06 Juanma Barranquero <lekktu@gmail.com>
20912
20913 * simple.el (list-processes): Return nil as the docstring says.
20914
a6bc05e1
MA
209152011-05-05 Michael Albinus <michael.albinus@gmx.de>
20916
20917 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
20918 to "".
20919 (ange-ftp-write-region, ange-ftp-insert-file-contents)
20920 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
20921 determining of binary transfer. (Bug#7383)
20922
23c22e9a
MA
209232011-05-05 Michael Albinus <michael.albinus@gmx.de>
20924
c4662635
SM
20925 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
20926 Fix port computation bug. (Bug#8618)
23c22e9a 20927
0bff894f
GM
209282011-05-05 Glenn Morris <rgm@gnu.org>
20929
b8296902
GM
20930 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
20931
1f522ce8
GM
20932 * simple.el (shell-dynamic-complete-functions)
20933 (comint-dynamic-complete-functions): Declare.
20934
cf5bee67
GM
20935 * net/network-stream.el (gnutls-negotiate):
20936 * simple.el (tabulated-list-print): Fix declarations.
20937
20938 * progmodes/gud.el (syntax-symbol, syntax-point):
20939 Remove unnecessary and incorrect declarations.
20940
0bff894f 20941 * emacs-lisp/check-declare.el (check-declare-scan):
1f9f395d 20942 Handle byte-compile-initial-macro-environment in bytecomp.el.
0bff894f 20943
9869b3ae
SM
209442011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
20945
20946 Fix earlier half-done eieio-defmethod change (bug#8338).
20947 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
20948 Streamline and change calling convention.
20949 (defmethod): Adjust accordingly and simplify.
20950 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
20951 new eieio--defmethod.
20952 (slot-boundp): Minor CSE simplification.
20953
9c1d5ac5
MZ
209542011-05-05 Milan Zamazal <pdm@zamazal.org>
20955
20956 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
20957 (glasses-make-readable): Use glasses-separate-capital-groups.
20958
455c834e
JB
209592011-05-05 Juanma Barranquero <lekktu@gmail.com>
20960
20961 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
20962 (warning-series): Doc fix.
20963 (display-warning): Don't try to create the buffer if we just found it.
20964
9ed7c8cb
CY
209652011-05-04 Chong Yidong <cyd@stupidchicken.com>
20966
20967 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
20968 (autoload-find-generated-file): New function.
20969 (generate-file-autoloads): Bind generated-autoload-file to
20970 buffer-file-name.
9869b3ae
SM
20971 (update-file-autoloads, update-directory-autoloads):
20972 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
20973 output file (Bug#7989).
20974 (batch-update-autoloads): Doc fix.
20975
0898ca10
JB
209762011-05-04 Juanma Barranquero <lekktu@gmail.com>
20977
20978 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
20979
31dfb76c
GM
209802011-05-04 Glenn Morris <rgm@gnu.org>
20981
f330b642
GM
20982 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
20983 function, so it follows changes in calendar-date-style.
20984 (diary-fancy-date-matcher): New function.
20985 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
20986 (diary-fancy-font-lock-fontify-region-function):
20987 Use diary-fancy-date-pattern as a function.
20988
31dfb76c
GM
20989 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
20990 non-numbers for `year' etc pseudo-variables. (Bug#8583)
20991
48e79d6a
TZ
209922011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
20993
20994 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
20995 instead of positional arguments. Allow :keylist and :crlfiles
20996 arguments.
20997 (open-gnutls-stream): Call it.
20998
20999 * net/network-stream.el (network-stream-open-starttls): Adjust to
21000 call `gnutls-negotiate' with :process and :hostname arguments.
21001
dd5a5ee0
SM
210022011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
21003
ef80fc09
SM
21004 * minibuffer.el (completion--message): New function.
21005 (completion--do-completion, minibuffer-complete)
21006 (minibuffer-force-complete, minibuffer-complete-word): Use it.
21007 (completion--do-completion): Don't ignore completion-auto-help when in
21008 icomplete-mode.
21009
dd5a5ee0
SM
21010 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
21011 internal encoding (e.g. tibetan zero is not whitespace).
21012 (global-whitespace-mode): Prefer save-current-buffer.
21013 (whitespace-trailing-regexp): Remove useless save-match-data.
21014 (whitespace-empty-at-bob-regexp): Minor simplification.
21015
b7d22a83
CY
210162011-05-03 Chong Yidong <cyd@stupidchicken.com>
21017
21018 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
21019
5192af46
AM
210202011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
21021
21022 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 21023 Use `concat' to create string for insertion.
5192af46 21024
5767d190
SM
210252011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
21026
21027 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
21028 Avoid open-line which runs post-self-insert-hook.
21029 (bibtex-fill-entry): Remove unused `end' var.
21030
bf242939
AM
210312011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
21032
5767d190
SM
21033 * textmodes/ispell.el (ispell-add-per-file-word-list):
21034 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 21035
25666126
LL
210362011-05-03 Leo Liu <sdl.web@gmail.com>
21037
21038 * isearch.el (isearch-yank-pop): New command.
5767d190 21039 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
21040 (isearch-forward): Mention it.
21041
52d3c2d0
SM
210422011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
21043
1bcace58
SM
21044 * simple.el (minibuffer-complete-shell-command): Remove.
21045 (minibuffer-local-shell-command-map): Use completion-at-point.
21046 (read-shell-command): Setup completion vars here instead.
21047 (read-expression-map): Bind TAB to symbol completion.
21048
52d3c2d0
SM
21049 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
21050 error directly rather via storing it into `results'.
21051
35813471
LL
210522011-05-02 Leo Liu <sdl.web@gmail.com>
21053
21054 * vc/diff.el: Fix description.
21055
e793a940
LMI
210562011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
21057
21058 * server.el (server-eval-at): New function.
21059
8de66e05
LMI
210602011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
21061
21062 * net/network-stream.el (open-network-stream): Take a :nowait
21063 parameter and pass it on to `make-network-process'.
21064 (network-stream-open-plain): Ditto.
21065
dcb79f20
AS
210662011-04-30 Andreas Schwab <schwab@linux-m68k.org>
21067
21068 * faces.el (face-spec-set-match-display): Don't match toolkit
21069 options on terminal frames.
21070
14a7fbd8
SM
210712011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
21072
7eabc1be
SM
21073 * progmodes/pascal.el: Use lexical binding.
21074 (pascal-mode-map): Remove author preferences.
21075
14a7fbd8
SM
21076 * pcomplete.el (pcomplete-std-complete): Don't abuse
21077 completion-at-point.
21078
50f84510
JB
210792011-04-28 Juanma Barranquero <lekktu@gmail.com>
21080
6e087a44
JB
21081 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
21082 removing code that has been dead since 1991 or so.
21083
50f84510
JB
21084 * startup.el (command-line): When warning about "_emacs", use a
21085 delayed warning to allow the user to filter it out.
21086
0ba690bd
DD
210872011-04-28 Deniz Dogan <deniz@dogan.se>
21088
21089 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
21090 user has not joined.
21091
08abfaad
SM
210922011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
21093
21094 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
21095 aren't any completions at point.
21096
638f053a
JB
210972011-04-28 Juanma Barranquero <lekktu@gmail.com>
21098
21099 * subr.el (display-delayed-warnings): New function.
21100 (delayed-warnings-hook): New variable.
21101
8fff8daa
SM
211022011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
21103
08abfaad
SM
21104 * minibuffer.el (completion-at-point, completion-help-at-point):
21105 Don't presume that a given completion-at-point-function will always
21106 use the same calling convention.
21107
8fff8daa
SM
21108 * pcomplete.el (pcomplete-completions-at-point):
21109 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
21110 pcomplete-seen is non-nil.
21111 (pcomplete-comint-setup): Also recognize the new comint/shell
21112 completion functions.
21113 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
21114 pcomplete-seen is non-nil.
21115
841a1577 211162011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 21117
841a1577 21118 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 21119 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 21120 the first character in the entry. This allows for code to add its
211ec907
UJ
21121 own uid to the entry.
21122 (icalendar--convert-float-to-ical): Add export of
21123 `diary-float'-entries save for those with the optional DAY
21124 argument.
21125
2a782793
DC
211262011-04-27 Daniel Colascione <dan.colascione@gmail.com>
21127
21128 * subr.el (shell-quote-argument): Use alternate escaping strategy
21129 when we spot a variable reference in a string.
21130
0438ce91
DC
211312011-04-26 Daniel Colascione <dan.colascione@gmail.com>
21132
21133 * cus-start.el (all): Define customization for debug-on-event.
21134
841a1577 211352011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
21136
21137 * subr.el (shell-quote-argument): Escape correctly under Windows.
21138
d090ed6c
SM
211392011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
21140
21141 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
21142
bfd31217
MA
211432011-04-25 Michael Albinus <michael.albinus@gmx.de>
21144
d090ed6c
SM
21145 * net/tramp.el (tramp-process-actions): Add POS argument.
21146 Delete region between POS and (pos).
bfd31217 21147
d090ed6c
SM
21148 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
21149 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
21150 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
21151
21152 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
21153 position in `tramp-process-actions' call.
21154
21155 * net/trampver.el: Update release number.
21156
e92f3bd3
SM
211572011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
21158
850256b5
SM
21159 * custom.el (defcustom): Obey lexical-binding.
21160
e92f3bd3
SM
21161 Fix octave-inf completion problems reported by Alexander Klimov.
21162 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
21163 Inherit from octave-mode-syntax-table.
21164 (inferior-octave-mode): Set info-lookup-mode.
21165 (inferior-octave-completion-at-point): New function.
21166 (inferior-octave-complete): Use it and completion-in-region.
21167 (inferior-octave-dynamic-complete-functions): Use it as well, and use
21168 comint-filename-completion.
21169 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
21170 symbol elements which shouldn't be word elements.
21171 (octave-font-lock-keywords, octave-beginning-of-defun)
21172 (octave-function-header-regexp): Adjust regexps accordingly.
21173 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
21174
cd22b309
JB
211752011-04-25 Juanma Barranquero <lekktu@gmail.com>
21176
21177 * net/gnutls.el (gnutls-errorp): Declare before first use.
21178
8b492194
TZ
211792011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
21180
21181 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
21182 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 21183 default trustfile exists before going to use it. Add missing
5a5fa834 21184 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
21185 Reported by Claudio Bley <claudio.bley@gmail.com>.
21186 (open-gnutls-stream): Add usage example.
21187
21188 * net/network-stream.el (network-stream-open-starttls): Give host
21189 parameter to `gnutls-negotiate'.
21190 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 21191 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 21192
841a1577 211932011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 21194
cd22b309
JB
21195 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
21196 Use correct match group (bug#8438).
05842630 21197
3ba7869c
CY
211982011-04-24 Chong Yidong <cyd@stupidchicken.com>
21199
512e3ae1
CY
21200 * emacs-lisp/package.el (package-built-in-p): Fix typo.
21201 (package-menu--generate): New arg specifying packages to show.
21202 (package-menu-refresh, package-menu-execute, list-packages):
21203 Callers changed.
21204 (package-show-package-list): New function, replacing deleted
21205 package--list-packages (renamed because it is non-internal).
21206
21207 * finder.el (finder-list-matches): Use package-show-package-list
21208 instead of deleted package--list-packages.
21209
e92f3bd3
SM
21210 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
21211 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
21212 (vc-annotate-mode-map): Bind it to RET.
21213
7031be6d
UR
212142011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
21215
21216 * progmodes/etags.el (next-file): Don't use set-buffer to change
21217 buffers (Bug#8478).
21218
4ef177aa
CY
212192011-04-24 Chong Yidong <cyd@stupidchicken.com>
21220
c8d173eb
CY
21221 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
21222
4ef177aa
CY
21223 * apropos.el (apropos-label-face): Avoid variable-pitch face.
21224 (apropos-accumulator): Doc fix.
21225 (apropos-function, apropos-macro, apropos-command)
21226 (apropos-variable, apropos-face, apropos-group, apropos-widget)
21227 (apropos-plist): Add face property.
21228 (apropos-symbols-internal): Fix indentation.
21229 (apropos-print): Simplify help, and recognize apropos-multi-type.
21230 (apropos-print-doc): Use button-type-get to extract the button's
21231 face property. Fill docstring (Bug#8352).
21232
4ffd0d6b 212332011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
21234
21235 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
21236
c6c32125 21237 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 21238 (mpuz-mode-map): Use mapc.
c6c32125
JB
21239 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
21240 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
21241 Fix typos in docstrings.
21242
58d468b4
JB
21243 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
21244 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
21245
6470c3c6
JB
21246 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
21247
4ffd0d6b 212482011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
21249
21250 * minibuffer.el (completion--do-completion): Avoid the "Next char
21251 not unique" prompt if icomplete-mode is enabled (Bug#5849).
21252
3ad8bad0
CY
21253 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
21254 mouse-2 into unread-command-events, it is interpreted correctly.
21255
71d73c9c 21256 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 21257 (image-toggle-display): Doc fix.
71d73c9c 21258
841a1577 212592011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 21260
4ffd0d6b
GM
21261 * textmodes/page.el (what-page): Use line-number-at-pos to
21262 calculate line number (Bug#6825).
6e1dbaa9 21263
c2fb1b60
JB
212642011-04-22 Juanma Barranquero <lekktu@gmail.com>
21265
21266 * eshell/esh-mode.el (find-tag-interactive): Declare function.
21267 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
21268 Pass argument NO-DEFAULT to `find-tag-interactive'.
21269
e02f48d7
JB
212702011-04-22 Juanma Barranquero <lekktu@gmail.com>
21271
21272 Lexical-binding cleanup.
21273
21274 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
21275 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
21276 * progmodes/ada-prj.el (ada-prj-initialize-values)
21277 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
21278 (ada-prj-show-value):
21279 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
21280 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
21281 (antlr-invalidate-context-cache, antlr-options-menu-filter)
21282 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
21283 * progmodes/bug-reference.el (bug-reference-push-button):
21284 * progmodes/fortran.el (fortran-line-length):
21285 * progmodes/glasses.el (glasses-change):
21286 * progmodes/octave-mod.el (octave-fill-paragraph):
21287 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
21288 (python-pdbtrack-grub-for-buffer, python-sentinel):
21289 * progmodes/sql.el (sql-save-connection):
21290 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
21291 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
21292 Mark unused parameters.
21293
21294 * progmodes/compile.el (compilation--flush-directory-cache)
21295 (compilation--flush-parse, compile-internal): Mark unused parameters.
21296 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
21297 (compilation-next-error-function): Remove unused variable `timestamp'.
21298
21299 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
21300 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
21301
21302 * progmodes/dcl-mode.el (dcl-end-of-command):
21303 Remove unused variable `start'.
21304 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
21305 (dcl-option-value-basic, dcl-option-value-offset)
21306 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
21307 Mark unused parameters.
21308 (dcl-save-local-variable): Remove unused variable `val'.
21309 (mode): Declare.
21310
21311 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
21312 Mark unused parameters.
21313 (delphi-ignore-changes): Move before first use.
21314 (delphi-charset-token-at): Remove unused variable `start'.
21315 (delphi-else-start): Remove unused variable `if-count'.
21316 (delphi-comment-block-start, delphi-comment-block-end):
21317 Remove unused variable `kind'.
21318 (delphi-indent-line): Remove unused variable `new-point'.
21319
21320 * progmodes/ebrowse.el (ebrowse-files-list)
21321 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
21322 Mark unused parameters. Don't quote `lambda'.
21323 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
21324 Don't quote `lambda'.
21325 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
21326 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
21327 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
21328 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
21329 Use `ignore-errors'.
21330 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
21331 (ebrowse-view/find-file-and-search-pattern)
21332 (ebrowse-view/find-member-declaration/definition):
21333 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
21334 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
21335 Rename parameter PREFIX-ARG to PREFIX.
21336 (ebrowse-tags-read-name): Remove unused variables `start' and
21337 `member-info'.
21338 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
21339 to `tags-file'.
21340
21341 * progmodes/etags.el (local-find-tag-hook): Declare.
21342 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
21343 Mark unused parameters.
21344
21345 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
21346 (executable-interpret): Mark unused parameter.
21347
21348 * progmodes/flymake.el (flymake-process-sentinel)
21349 (flymake-after-change-function)
21350 (flymake-create-temp-with-folder-structure)
21351 (flymake-get-include-dirs-dot): Mark unused parameters.
21352 (flymake-safe-delete-directory): Remove unused variable `err'.
21353
21354 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
21355 (speedbar-timer-fn, speedbar-line-text)
21356 (speedbar-change-expand-button-char, speedbar-delete-subblock)
21357 (speedbar-center-buffer-smartly): Declare functions.
21358 (gdb-find-watch-expression): Remove unused variable `array'.
21359 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
21360 (gdb-starting): Mark unused parameters.
21361 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
21362 (gdb-table-string): Remove unused variable `res'.
21363 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
21364 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
21365 (gdb-display-buffer): Remove unused variable `cur-size'.
21366
21367 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
21368 allow lexical-binding compilation.
21369 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
21370 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
21371 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
21372 Mark unused parameters.
21373 (gud-gdb-marker-filter): Remove unused variable `match'.
21374 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
21375 lambda expressions and funcall them, instead of using `fset'.
21376
21377 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
21378 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
21379
21380 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
21381 variable `header-beg'; use `let'.
21382
21383 * progmodes/icon.el (indent-icon-exp): Remove unused variables
21384 `restart', `last-sexp' and `at-do'.
21385
21386 * progmodes/js.el (js--debug): Mark unused parameter.
21387 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
21388 (js--splice-into-items): Remove unused variable `item'.
21389 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
21390
21391 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
21392 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
21393 (makefile-complete): Remove unused variable `try'.
21394 (makefile-fill-paragraph, makefile-match-function-end):
21395 Mark unused parameters.
21396
21397 * progmodes/octave-inf.el (inferior-octave-complete):
21398 Remove unused variable `proc'.
21399 (inferior-octave-output-digest): Mark unused parameter.
21400
21401 * progmodes/perl-mode.el (perl-calculate-indent):
21402 Remove unused variable `err'.
21403
21404 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
21405 (prolog-indent-line): Mark unused parameters.
21406 (prolog-indent-line): Remove unused variable `beg'.
21407
21408 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
21409 (reporter-dont-compact-list): Declare.
21410
21411 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
21412 Remove unused variable `char'.
21413 (sh-debug): Mark unused parameter.
21414 (sh-get-indent-info): Remove unused variable `start'.
21415 (sh-calculate-indent): Remove unused variable `var'.
21416
21417 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
21418 (simula-electric-keyword): Remove unused variable `null'.
21419 (simula-search-backward, simula-search-forward): Remove unused
21420 variables `begin' and `end'.
21421
21422 * progmodes/vera-mode.el (vera-guess-basic-syntax):
21423 Remove unused variable `pos'.
21424 (vera-electric-tab, vera-comment-uncomment-region):
21425 Mark unused parameters.
21426 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
21427
7ede3b65
CY
214282011-04-22 Chong Yidong <cyd@stupidchicken.com>
21429
21430 * emacs-lisp/package.el (package--builtins, package-alist)
21431 (package-load-descriptor, package-built-in-p, package-activate)
21432 (define-package, package-installed-p)
21433 (package-compute-transaction, package-buffer-info)
21434 (package--push): Doc fix. Distinguish more clearly between
21435 version strings and version lists.
21436
121656e9
JB
214372011-04-21 Juanma Barranquero <lekktu@gmail.com>
21438
21439 Lexical-binding cleanup.
21440
21441 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
21442 (5x5-make-mutate-best):
21443 * play/fortune.el (fortune-in-buffer):
21444 * play/gomoku.el (gomoku-init-display):
21445 * play/solitaire.el (solitaire, solitaire-do-check):
21446 * play/tetris.el (tetris-default-update-speed-function):
21447 Mark unused parameters.
21448
21449 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
21450 (bubbles--shift): Remove unused variable `char-org'.
21451 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
21452 (bubbles--show-images): Remove unused variable `char'.
21453
21454 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
21455 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
21456 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
21457 (decipher-analyze-buffer): Use ?\s.
21458 (decipher-make-checkpoint): Remove unused variable `mapping'.
21459
21460 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
21461
21462 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
21463 Remove unused variable `result'; use `let'.
21464
21465 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
21466 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
21467 (gametree-children-shown-p, gametree-compute-reduced-score):
21468 Use `ignore-errors'.
21469
21470 * play/handwrite.el (ps-lpr-switches): Declare.
21471 (handwrite): Remove unused variables `pmin' and `lastp'.
21472
21473 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
21474
21475 * play/landmark.el (landmark-init-display)
21476 (landmark-update-naught-weights): Mark unused parameters.
21477 (landmark-y): Remove unused variable `noise'. Simplify.
21478 (landmark-human-plays): Remove unused variable `score'.
21479
21480 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
21481 (mpuz-try-proposal): Remove unused variable `game'.
21482
21483 * play/zone.el (life-patterns): Declare.
21484
80f499c7
JB
214852011-04-20 Juanma Barranquero <lekktu@gmail.com>
21486
21487 * vc/vc.el (ediff-vc-internal): Declare function.
21488
024ff170
SM
214892011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
21490
c0a193ea
SM
21491 * shell.el: Use lexical-binding and std completion UI.
21492 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
21493 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
21494 comint-preoutput-filter-functions rather than on
21495 comint-output-filter-functions.
21496 (shell-command-completion, shell--command-completion-data)
21497 (shell-filename-completion, shell-environment-variable-completion)
21498 (shell-c-a-p-replace-by-expanded-directory): New functions.
21499 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
21500 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
21501 (shell-dynamic-complete-environment-variable): Use them.
21502 (shell-dynamic-complete-as-environment-variable)
21503 (shell-dynamic-complete-as-command): Remove.
21504 (shell-match-partial-variable): Match past point.
21505 * comint.el: Clean up use of completion-at-point-functions.
21506 (comint-completion-at-point): New function.
21507 (comint-mode): Use it completion-at-point-functions.
21508 (comint-dynamic-complete): Make it obsolete.
21509 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
21510 (comint-c-a-p-replace-by-expanded-history): New function.
21511 (comint-dynamic-complete-functions)
21512 (comint-replace-by-expanded-history): Use it.
21513 * minibuffer.el (completion-table-with-terminator): Allow dynamic
21514 termination strings. Try harder to avoid second try-completion.
21515 (completion-in-region-mode-map): Disable bindings that don't work yet.
21516
2dbaa080
SM
21517 * comint.el: Use lexical-binding. Require CL.
21518 (comint-dynamic-complete-functions): Use comint-filename-completion.
21519 (comint-completion-addsuffix): Tweak custom type.
21520 (comint-filename-completion, comint--common-suffix)
21521 (comint--common-quoted-suffix, comint--table-subvert)
21522 (comint--complete-file-name-data): New functions.
21523 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
21524 (comint-dynamic-list-filename-completions): Use them.
21525 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 21526
2dbaa080
SM
21527 * minibuffer.el (completion-in-region-mode):
21528 Keep completion-in-region-mode--predicate global.
21529 (completion-in-region--postch):
21530 Assume completion-in-region-mode--predicate is not null.
21531
c79a6f38
SM
21532 * progmodes/flymake.el (flymake-start-syntax-check-process):
21533 Obey `dir'. Simplify.
21534
024ff170
SM
21535 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
21536 we're in VC after all.
21537
1c6c854e
CS
215382011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
21539
21540 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 21541 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
21542 (vc-version-diff): Use vc-diff-build-argument-list-internal.
21543
bed7f140
SM
215442011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
21545
332e62ab
SM
21546 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
21547 add sanity check.
21548
bed7f140
SM
21549 * obsolete/erc-hecomplete.el: Make obsolete.
21550 * obsolete/: Standardize obsolescence info in the header.
21551
f195c582
GM
215522011-04-20 Glenn Morris <rgm@gnu.org>
21553
21554 * calendar/solar.el (solar-horizontal-coordinates):
21555 Use the longitude argument rather than `calendar-longitude'.
21556 (solar-date-next-longitude): Remove unused locals.
21557
cb79b8c0
VJL
215582011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
21559
21560 * whitespace.el: New version 13.2.1.
21561
215622011-04-20 felix <EmacsWiki> (tiny change)
21563
d8e4b68b 21564 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
21565 switching between major modes on a file.
21566
602ea69d
SM
215672011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
21568
21569 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
21570 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
21571 multi-line comments as well.
21572
06b60517
JB
215732011-04-19 Juanma Barranquero <lekktu@gmail.com>
21574
21575 Lexical-binding cleanup.
21576
21577 * arc-mode.el (archive-mode-revert):
21578 * cmuscheme.el (scheme-interactively-start-process):
21579 * custom.el (custom-initialize-delay):
21580 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
21581 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
21582 * emacs-lock.el (emacs-lock-clear-sentinel):
21583 * ezimage.el (defezimage):
21584 * follow.el (follow-avoid-tail-recenter):
21585 * fringe.el (set-fringe-mode-1):
21586 * generic-x.el (bat-generic-mode-compile):
21587 * help-mode.el (help-info-variable, help-do-xref)
21588 (help-mode-revert-buffer):
21589 * help.el (view-emacs-todo):
21590 * iswitchb.el (iswitchb-completion-help):
21591 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
21592 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
21593 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
21594 * locate.el (locate-update):
21595 * longlines.el (longlines-encode-region)
21596 (longlines-after-change-function):
21597 * outline.el (outline-isearch-open-invisible):
21598 * ps-def.el (declare-function, charset-dimension, char-width)
21599 (encode-char):
21600 * ps-mule.el (ps-mule-plot-string):
21601 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
21602 (recentf-edit-list-select, recentf-edit-list-validate)
21603 (recentf-open-files-action):
21604 * rect.el (delete-whitespace-rectangle-line)
21605 (rectangle-number-line-callback):
21606 * register.el (window-configuration-to-register)
21607 (frame-configuration-to-register):
21608 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
21609 * select.el (xselect-convert-to-string, xselect-convert-to-length)
21610 (xselect-convert-to-targets, xselect-convert-to-delete)
21611 (xselect-convert-to-filename, xselect-convert-to-charpos)
21612 (xselect-convert-to-lineno, xselect-convert-to-colno)
21613 (xselect-convert-to-os, xselect-convert-to-host)
21614 (xselect-convert-to-user, xselect-convert-to-class)
21615 (xselect-convert-to-name, xselect-convert-to-integer)
21616 (xselect-convert-to-atom, xselect-convert-to-identity):
21617 * subr.el (declare, ignore, process-kill-without-query)
21618 (text-clone-maintain):
21619 * terminal.el (te-get-char, te-tic-sentinel):
21620 * tool-bar.el (tool-bar-make-keymap):
21621 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
21622 * type-break.el (type-break-mode, type-break-noninteractive-query):
21623 * view.el (View-back-to-mark):
21624 * wid-browse.el (widget-browse-action, widget-browse-widget)
21625 (widget-browse-widgets, widget-browse-sexp):
21626 * widget.el (define-widget-keywords):
21627 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
21628 Mark unused parameters.
21629
21630 * align.el (align-adjust-col-for-rule): Mark unused parameter.
21631 (align-areas): Remove unused variable `look'.
21632 (align-region): Remove unused variables `real-end' and `pos-list'.
21633
21634 * apropos.el (apropos-score-doc): Remove unused variable `i'.
21635
21636 * bindings.el (mode-line-modified, mode-line-remote):
21637 Mark unused parameters.
21638 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
21639
21640 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
21641 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
21642
21643 * comint.el (comint-history-isearch-pop-state)
21644 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
21645 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
21646 (comint-substitute-in-file-name): Doc fix.
21647
21648 * completion.el (cmpl-statistics-block): Mark unused parameter.
21649 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
21650 (save-completions-to-file, load-completions-from-file):
21651 Remove unused local variable `e'.
21652
21653 * composite.el (compose-chars): Remove unused variable `len'.
21654 (lgstring-insert-glyph): Remove unused variable `g'.
21655 (compose-glyph-string): Remove unused variables `ascent',
21656 `descent', `lbearing' and `rbearing'.
21657 (compose-glyph-string-relative): Remove unused variables
21658 `lbearing', `rbearing' and `wadjust'.
21659 (compose-gstring-for-graphic): Remove unused variables `header',
21660 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
21661 (compose-gstring-for-terminal): Remove unused variables `header'
21662 and `nchars'. Use `let', not `let*'.
21663
21664 * cus-edit.el (Custom-set, Custom-save, custom-reset)
21665 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
21666 (Custom-buffer-done, custom-buffer-create-internal)
21667 (custom-browse-visibility-action, custom-browse-group-tag-action)
21668 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
21669 (widget-magic-mouse-down-action, custom-toggle-parent)
21670 (custom-add-parent-links, custom-toggle-hide-variable)
21671 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
21672 (custom-toggle-hide-face, face, hook, custom-group-link-action)
21673 (custom-face-menu-create, custom-variable-menu-create, get)
21674 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
21675 (custom-reset-standard-save-and-update): Remove unused variable `value'.
21676 (customize-apropos): Remove unused variable `tests'.
21677 (custom-group-value-create): Remove unused variable `hidden-p'.
21678 (sort-fold-case): Declare.
21679
21680 * cus-theme.el (custom-reset-standard-faces-list)
21681 (custom-reset-standard-variables-list): Declare.
21682 (customize-create-theme, custom-theme-revert, custom-theme-write)
21683 (custom-theme-choose-mode, customize-themes, custom-theme-save):
21684 Mark unused parameters.
21685
21686 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
21687
21688 * delim-col.el (delimit-columns-max): Move defvar before first use.
21689
21690 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 21691 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
21692
21693 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
21694 (auto-insert): Declare.
21695 (desktop-restore-file-buffer): Rename desktop-* parameters;
21696 mark unused ones.
21697 (desktop-create-buffer): Rename desktop-* parameters and bind them.
21698 (desktop-buffer): Rename desktop-* parameters.
21699
21700 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
21701 (dframe-reposition-frame-xemacs, dframe-help-echo)
21702 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
21703 Mark unused parameters.
21704
21705 * dired-aux.el (backup-extract-version-start, overwrite-query)
21706 (overwrite-backup-query, rename-regexp-query)
21707 (rename-non-directory-query): Declare.
21708 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
21709 (dired-add-entry): Remove unused variable `orig-file-name'.
21710 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
21711 Use parameter PRESERVE-TIME instead of accessing dynamic variable
21712 `dired-copy-preserve-time' directly.
21713 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
21714 (dired-insert-subdir-newpos): Rename unused variable `pos'.
21715
21716 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
21717 (dired-virtual-revert, dired-make-relative-symlink):
21718 Mark unused parameters.
21719 (manual-program): Declare.
21720 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
21721 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
21722 wrapped in `with-no-warnings' to avoid replacing one warning by another.
21723
21724 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
21725
21726 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
21727
21728 * echistory.el (electric-history-in-progress, Helper-return-blurb):
21729 Declare.
21730
21731 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
21732
21733 * electric.el (Electric-command-loop): Rename parameter
21734 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
21735
21736 * expand.el (expand-in-literal): Remove unused variable `here'.
21737
21738 * facemenu.el (facemenu-add-new-color):
21739 Remove unused variable `docstring'.
21740
21741 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
21742 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
21743 (face-attr-construct): Mark unused parameter. Doc fix.
21744 (read-color): Remove unused variable `hex-string'.
21745
21746 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
21747 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
21748 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
21749 (display-buffer-other-frame): Remove unused variable `old-window'.
21750 (kill-buffer-hook): Declare.
21751 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
21752 Mark unused parameters.
21753 (after-find-file): Pass 1 to `auto-save-mode', not t.
21754
21755 * files-x.el (auto-insert): Declare.
21756 (modify-file-local-variable-prop-line): Remove unused variable `val'.
21757
21758 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 21759 variable `buf'. Mark unused parameter.
06b60517
JB
21760 (find-lisp-insert-directory): Mark unused parameter.
21761
21762 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
21763 (format-encode-region): Remove unused variables `cur-buf' and `result'.
21764 (format-common-tail): Remove, unused.
21765 (format-deannotate-region): Remove unused variable `loc'.
21766 (format-annotate-region): Remove unused variable `p'.
21767 (format-annotate-single-property-change): Remove unused variables
21768 `default' and `tail'.
21769
21770 * forms.el (read-file-filter): Declare.
21771 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
21772
21773 * frame.el (frame-creation-function-alist): Mark unused parameter.
21774 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
21775
21776 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
21777 Remove unused parameters.
21778 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
21779 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
21780
21781 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
21782 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
21783 (hfy-prepare-tag-map): Mark unused parameters.
21784 (htmlfontify-buffer): Use `called-interactively-p'.
21785
21786 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
21787 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
21788 (ibuffer-do-occur): Mark unused parameters.
21789 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
21790 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
21791
21792 * ibuffer.el: Don't quote `lambda'.
21793 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
21794 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
21795 Mark unused parameters.
21796
21797 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
21798 (ido-completing-read): Mark unused parameters.
21799 (ido-copy-current-word): Mark unused parameters;
21800 remove unused variable `name'.
21801 (ido-sort-merged-list): Remove unused parameter `dirs'.
21802
21803 * ielm.el (ielm-input-sender): Mark unused parameter.
21804 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
21805 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
21806 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
21807 `ielm-string' as a dynamic variable accessible from the IELM prompt.
21808 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
21809
21810 * image-dired.el (image-dired-display-thumbs): Remove unused
21811 variables `curr-file' and `count'.
21812 (image-dired-remove-tag): Remove unused variable `start'.
21813 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
21814 variable `curr-file'
21815 (image-dired-rotate-original): Remove unused variable `temp-file'.
21816 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
21817 Remove unused variable `file'.
21818 (image-dired-gallery-generate): Remove unused variable `curr'.
21819 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
21820
21821 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
21822
21823 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
21824
21825 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
21826
21827 * isearch.el (minibuffer-history-symbol): Declare.
21828 (isearch-edit-string): Remove unused variable `err'.
21829 (isearch-message-prefix, isearch-message-suffix):
21830 Mark unused parameters.
21831
21832 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
21833
21834 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
21835
21836 * makesum.el (double-column): Remove unused variable `cnt'.
21837
21838 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
21839 (ido-ignore-item-temp-list): Declare.
21840
21841 * mouse-drag.el (mouse-drag-throw): Remove unused variables
21842 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
21843 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
21844 (mouse-drag-drag): Remove unused variables `mouse-delta' and
21845 `mouse-col-delta'.
21846
21847 * mouse-sel.el (mouse-extend-internal):
21848 Remove unused variable `orig-window-frame'.
21849
21850 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
21851 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
21852 Move declarations before first use.
21853 (pcomplete-opt): Mark unused parameters; doc fix.
21854
21855 * proced.el (proced-revert): Mark unused parameter.
21856 (proced-send-signal): Remove unused variable `err'.
21857
21858 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
21859 Rename parameter PREFIX-ARG to ARG.
21860 (ps-basic-plot-string, ps-basic-plot-whitespace):
21861 Mark unused parameters.
21862
21863 * replace.el (replace-count): Define.
21864 (occur-revert-function): Mark unused parameters.
21865 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
21866 (isearch-case-fold-search, isearch-string): Declare.
21867 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
21868 bind `case-fold-search'. Remove unused variables `beg' and `end',
21869 and simplify.
21870 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
21871 COUNT and bind `replace-count'.
21872 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
21873 to COUNT.
21874
21875 * savehist.el (print-readably, print-string-length): Declare.
21876
21877 * shadowfile.el (shadow-expand-cluster-in-file-name):
21878 Remove unused variable `cluster'.
21879 (shadow-copy-file): Remove unused variable `i'.
21880 (shadow-noquery, shadow-clusters, shadow-site-cluster)
21881 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
21882 (shadow-define-literal-group, shadow-define-regexp-group)
21883 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
21884
21885 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
21886 (shell): Use `called-interactively-p'.
21887 (shell-directory-tracker): Remove unused variable `chdir-failure'.
21888
21889 * simple.el (compilation-context-lines, comint-file-name-quote-list)
21890 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
21891 (delete-backward-char): Remove unused variable `ocol'.
21892 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
21893 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
21894 (event-apply-hyper-modifier, event-apply-shift-modifier)
21895 (event-apply-control-modifier, event-apply-meta-modifier):
21896 Mark unused parameters.
21897 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
21898 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
21899
21900 * speedbar.el (speedbar-ignored-directory-expressions)
21901 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
21902 (speedbar-find-file, speedbar-dir-follow)
21903 (speedbar-directory-buttons-follow, speedbar-tag-find)
21904 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
21905 (speedbar-buffers-line-directory, speedbar-buffer-click):
21906 Mark unused parameters.
21907 (speedbar-tag-file): Remove unused variable `mode'.
21908 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
21909
21910 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
21911
21912 * talk.el (talk): Remove unused variable `display'.
21913
21914 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
21915 (tar-write-region-annotate): Mark unused parameter.
21916
21917 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
21918 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
21919 Declare them, wrapped in `with-no-warnings' to avoid replacing one
21920 warning by another.
21921
21922 * time-stamp.el (time-stamp-string-preprocess):
21923 Remove unused variable `require-padding'.
21924
21925 * tree-widget.el (widget-glyph-enable): Declare.
21926 (tree-widget-action): Mark unused parameter.
21927
21928 * w32-fns.el (x-get-selection): Mark unused parameter.
21929 (autoload-make-program, generated-autoload-file): Declare.
21930
21931 * wdired.el (wdired-revert): Mark unused parameters.
21932 (wdired-xcase-word): Remove unused variable `err'.
21933
21934 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
21935 (whitespace-help-scroll): Remove unused variable `data-help'.
21936
21937 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
21938 (widget-image-insert, widget-after-change, default)
21939 (widget-default-format-handler, widget-default-notify)
21940 (widget-default-prompt-value, widget-info-link-action)
21941 (widget-url-link-action, widget-function-link-action)
21942 (widget-variable-link-action, widget-file-link-action)
21943 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
21944 (widget-field-prompt-internal, widget-field-action, widget-field-match)
21945 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
21946 (widget-insert-button-action, widget-delete-button-action, visibility)
21947 (widget-documentation-link-action, widget-documentation-string-action)
21948 (widget-const-prompt-value, widget-regexp-match, symbol)
21949 (widget-coding-system-prompt-value)
21950 (widget-key-sequence-value-to-external, sexp)
21951 (widget-sexp-value-to-internal, character, vector, cons)
21952 (widget-choice-prompt-value, widget-boolean-prompt-value)
21953 (widget-color--choose-action): Mark unused parameters.
21954 (widget-item-match-inline, widget-choice-match-inline)
21955 (widget-checklist-match, widget-checklist-match-inline)
21956 (widget-group-match): Rename parameter VALUES to VALS.
21957 (widget-field-value-set): Remove unused variable `size'.
21958 (widget-color-action): Remove unused variables `value' and `start'.
21959
21960 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 21961 variable `dir'. Doc fix.
06b60517
JB
21962 (windmove-find-other-window): Don't pass it.
21963
21964 * window.el (count-windows): Mark unused parameter.
21965 (bw-adjust-window): Remove unused variable `err'.
21966
21967 * woman.el (woman-file-name): Remove unused variable `default'.
21968 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
21969 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
21970 (global-font-lock-mode): Declare.
21971 (woman-decode-region): Mark unused parameter.
21972 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
21973
21974 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
21975 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
21976 (x-dnd-handle-moz-url): Remove unused variable `title'.
21977 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
21978
21979 * xml.el (xml-parse-tag, xml-parse-attlist):
21980 Remove unused variable `pos'.
21981
bc4f7f3d
GM
219822011-04-19 Glenn Morris <rgm@gnu.org>
21983
21984 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
21985 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
21986 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
21987 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
21988 * calendar/cal-html.el (cal-html-insert-minical):
21989 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
21990 (calendar-mark-date-pattern):
21991 Prefix "unused" locals.
21992
21993 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
21994 optional argument `style'.
21995
21996 * calendar/appt.el (appt-make-list):
21997 * calendar/cal-china.el (calendar-chinese-date-string):
21998 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
21999 (diary-hebrew-yahrzeit):
22000 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
22001 * calendar/calendar.el (calendar-generate-window):
22002 * calendar/time-date.el (time-to-days):
22003 Remove unused local variables.
22004
16a43933
CY
220052011-04-18 Chong Yidong <cyd@stupidchicken.com>
22006
22007 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
22008 glyphless-char-display table.
22009 (tabulated-list-glyphless-char-display): New var.
22010
7eed1860
SS
220112011-04-18 Sam Steingold <sds@gnu.org>
22012
22013 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
22014 to acknowledgments.
22015
4d2d1ccd
GM
220162011-04-17 Glenn Morris <rgm@gnu.org>
22017
22018 * calendar/diary-lib.el (diary-sexp-entry):
22019 * calendar/holidays.el (holiday-sexp):
22020 Set debug-on-error rather than the removed stack-trace-on-error.
22021
239da61d
GM
220222011-04-16 Glenn Morris <rgm@gnu.org>
22023
22024 * progmodes/f90.el: Use lexical-binding.
22025 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
22026
8b05752a
SM
220272011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
22028
daca8ba5
SM
22029 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
22030 (mail-mode): Setup mailalias completion here instead.
22031 * mail/mailalias.el: Use lexical-binding.
22032 (pattern, mailalias-done): Declare dynamic.
22033 (mail-completion-at-point-function): New function, from mail-complete.
22034 (mail-complete): Use it.
22035 (mail-completion-expand): New function.
22036 (mail-get-names): Use it.
22037 (mail-directory, mail-directory-process, mail-directory-stream):
22038 Don't use `pattern' for lexically bound arg.
22039
6f542485
SM
22040 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
22041
037e7c3f
SM
22042 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
22043 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
22044 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
22045
8b05752a
SM
22046 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
22047 (byte-save-window-excursion, byte-temp-output-buffer-setup)
22048 (byte-interactive-p): Define them again, for use when inlining
22049 old code.
22050
49093f60
JB
220512011-04-15 Juanma Barranquero <lekktu@gmail.com>
22052
22053 * loadup.el: Use `string-to-number', not `string-to-int'.
22054
b5b8e7de
SM
220552011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
22056
22057 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
22058 gud-gdb-complete-command.
22059 (gud-gdb-completions): New function, from gud-gdb-complete-command.
22060 (gud-gdb-completion-at-point): New function.
22061 (gud-gdb-completions): Remove.
22062
f42efeb5
MA
220632011-04-14 Michael Albinus <michael.albinus@gmx.de>
22064
49093f60
JB
22065 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
22066 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
22067 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
22068 whether `executable-find' is bound.
f42efeb5
MA
22069
22070 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
22071
e240cc21
SM
220722011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
22073
22074 * minibuffer.el (completion-in-region-mode-predicate)
22075 (completion-in-region-mode--predicate): New vars.
22076 (completion-in-region, completion-in-region--postch)
22077 (completion-in-region-mode): Use them.
22078 (completion--capf-wrapper): Also return the hook function.
22079 (completion-at-point, completion-help-at-point):
22080 Adjust and provide a predicate.
c2bd2ab0
SM
22081
22082 Preserve arg names for advice of subr and lexical functions (bug#8457).
22083 * help-fns.el (help-function-arglist): Consolidate the subr and
22084 new-byte-code cases. Add argument `preserve-names' to extract names
22085 from the docstring when needed.
22086 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
22087 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
22088 (ad-arglist): Use help-function-arglist's new arg.
22089 (ad-definition-type): Use cond.
22090
c183f693
JB
220912011-04-13 Juanma Barranquero <lekktu@gmail.com>
22092
06641a47
JB
22093 * autorevert.el (auto-revert-handler):
22094 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
22095 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
22096 Don't quote lambda.
22097
c183f693
JB
22098 * image-mode.el (image-transform-set-scale):
22099 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
22100
1e3b6001
G
221012011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
22102
22103 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 22104 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
22105 Upgrades via gnutls-cli are too slow to be done opportunistically.
22106
2d6af8dd
JB
221072011-04-12 Juanma Barranquero <lekktu@gmail.com>
22108
22109 * dframe.el (dframe-current-frame): Remove spurious quote.
22110
c0749a51
GM
221112011-04-12 Glenn Morris <rgm@gnu.org>
22112
088d0d61
GM
22113 * calendar/cal-tex.el (cal-tex-end-document):
22114 Try to automatically use latin1 input if needed.
22115
c0749a51
GM
22116 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
22117 Don't try to cons a mark onto an empty element.
22118
5c90fde0
LL
221192011-04-11 Leo Liu <sdl.web@gmail.com>
22120
22121 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
22122 buffers.
22123 (ido-kill-buffer-at-head): Support killing virtual buffers.
22124
369e974d
CY
221252011-04-10 Chong Yidong <cyd@stupidchicken.com>
22126
22127 * minibuffer.el (completion-show-inline-help): New var.
22128 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
22129 (minibuffer-force-complete, minibuffer-complete-word):
22130 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
22131
22132 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
22133 to avoid interference from inline help (Bug#5849).
22134
37f1c930
LL
221352011-04-10 Leo Liu <sdl.web@gmail.com>
22136
099c39a4
JB
22137 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
22138 Fix typo.
37f1c930 22139
a32d4040
CY
221402011-04-09 Chong Yidong <cyd@stupidchicken.com>
22141
22142 * image-mode.el (image-toggle-display-image): Signal an error if
22143 not in Image mode.
22144 (image-transform-mode, image-transform-resize)
22145 (image-transform-set-rotation): Doc fix.
daca8ba5 22146 (image-transform-set-resize): Delete.
a32d4040
CY
22147 (image-transform-set-scale, image-transform-fit-to-height)
22148 (image-transform-fit-to-width): Handle image-toggle-display-image
22149 and image-transform-resize directly.
22150
099c39a4 221512011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
22152
22153 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
22154 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
22155 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
22156 (doc-view-mode-map): Add bindings for the new functions.
22157
099c39a4 221582011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 22159
4d61f28d 22160 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
22161 Fix typo in docstring.
22162
3726838a
EZ
221632011-04-08 Eli Zaretskii <eliz@gnu.org>
22164
04f33f1e
EZ
22165 * files.el (file-size-human-readable): Produce one digit after
22166 decimal, like "ls -lh" does.
22167
22168 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
22169 the file size representation.
22170
3726838a
EZ
22171 * simple.el (list-processes): If async subprocesses are not
22172 available, error out with a clear error message.
22173
cbb59342
CY
221742011-04-08 Chong Yidong <cyd@stupidchicken.com>
22175
22176 * help.el (help-form-show): New function, to be called from C.
22177 Put help-form output in a buffer named differently than *Help*.
22178
e3971c44
EZ
221792011-04-08 Eli Zaretskii <eliz@gnu.org>
22180
22181 * files.el (file-size-human-readable): New function.
22182
22183 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
22184 computing the representation inline. Don't require `cl'.
22185
12544bbe
GM
221862011-04-08 Glenn Morris <rgm@gnu.org>
22187
a1de6c6a
GM
22188 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
22189
3c4671f4
GM
22190 * net/browse-url.el (browse-url-firefox):
22191 Test system-type, not system-configuration.
22192
b605679c
GM
22193 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
22194 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
22195 Use log-edit-empty-buffer-p. (Bug#7598)
22196
56442f0c
GM
22197 * net/rlogin.el (rlogin-process-connection-type): Simplify.
22198 (rlogin-mode-map): Initialize in the defvar.
22199 (rlogin): Use ignore-errors.
22200
12544bbe
GM
22201 * replace.el (occur-mode-map): Some fixes for menu items.
22202
eb237b0f
AH
222032011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
22204
22205 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
22206
7d668f2c
CY
222072011-04-06 Chong Yidong <cyd@stupidchicken.com>
22208
e67a13ab
CY
22209 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
22210 issuing unused warnings.
22211
22212 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
22213 macro directly.
22214
7d668f2c
CY
22215 * simple.el: Lisp reimplement of list-processes. Based on an
22216 earlier reimplementation by Leo Liu, but using tabulated-list.el.
22217 (process-menu-mode): New major mode.
22218 (list-processes--refresh, list-processes):
22219 (process-menu-visit-buffer): New functions.
22220
22221 * files.el (save-buffers-kill-emacs): Don't assume any return
22222 value of list-processes, which is undocumented anyway.
22223
a83ec3c9
CY
222242011-04-06 Chong Yidong <cyd@stupidchicken.com>
22225
22226 * emacs-lisp/tabulated-list.el: New file.
22227
e91a96fe
CY
22228 * emacs-lisp/package.el: Use Tabulated List mode.
22229 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
22230 (package-menu-mode): Derive from tabulated-list-mode. Set up the
22231 table format using Tabulated List mode variables.
22232 (package--push): New macro, replacing package-list-maybe-add.
22233 (package-menu--generate): Use package--push. Renamed from
22234 package--generate-package-list.
22235 (package-menu-refresh, list-packages): Use it.
daca8ba5 22236 (package-menu--print-info): Rename from package-print-package.
e91a96fe 22237 Return insertion data instead of inserting it directly.
099c39a4
JB
22238 (package-menu-describe-package, package-menu-execute):
22239 Use tabulated-list-get-id.
e91a96fe
CY
22240 (package-menu-mark-delete, package-menu-mark-install)
22241 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
22242 (package-menu-mark-obsolete-for-deletion):
22243 Use tabulated-list-put-tag.
e91a96fe
CY
22244 (package--list-packages, package-menu-revert)
22245 (package-menu-get-package, package-menu-get-version)
22246 (package-menu-sort-by-column): Functions deleted.
22247 (package-menu-package-list, package-menu-sort-key): Vars deleted.
22248 (package-menu--status-predicate, package-menu--version-predicate)
22249 (package-menu--name-predicate)
22250 (package-menu--description-predicate): Handle arguments in the
22251 Tabulated List format.
22252 (package-list-packages-no-fetch): Call list-packages.
22253
3e214b50
JB
222542011-04-06 Juanma Barranquero <lekktu@gmail.com>
22255
22256 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 22257 (after-find-file): Don't bind it.
3e214b50
JB
22258 (revert-buffer-in-progress-p): New variable.
22259 (revert-buffer): Bind it.
22260 Pass nil for `after-find-file-from-revert-buffer'.
22261
22262 * saveplace.el (save-place-find-file-hook): Use new variable
22263 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
22264
3f0f1700
GM
222652011-04-06 Glenn Morris <rgm@gnu.org>
22266
c0274801
GM
22267 * Makefile.in (AUTOGEN_VCS): New variable.
22268 (autoloads): Use $AUTOGEN_VCS.
22269
3f0f1700
GM
22270 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
22271 * calendar/calendar.el (calendar-mode-map):
22272 Check for toolkit scroll bars. (Bug#8305)
22273
41ea9e48
CY
222742011-04-05 Chong Yidong <cyd@stupidchicken.com>
22275
22276 * minibuffer.el (completion-in-region--postch)
22277 (completion-in-region-mode): Remove unnecessary messages.
22278
6194c800
JB
222792011-04-05 Juanma Barranquero <lekktu@gmail.com>
22280
33256f14
JB
22281 * font-lock.el (font-lock-refresh-defaults):
22282 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
22283 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
22284
6194c800
JB
22285 * info.el (Info-directory-list, Info-read-node-name-2)
22286 (Info-split-parameter-string): Doc fixes.
22287 (Info-virtual-nodes): Reflow docstring.
22288 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
22289 (Info-apropos-toc-nodes, info-finder, Info-get-token)
22290 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
22291 Fix typos in docstrings.
22292 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
22293 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
22294 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
22295 (Info-restore-desktop-buffer): Mark unused parameters.
22296 (Info-directory-find-file, Info-directory-find-node)
22297 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
22298 (Info-virtual-index-find-node, Info-apropos-find-file)
22299 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 22300 Mark unused parameters; fix typos in docstrings.
6194c800
JB
22301 (Info-virtual-index): Remove unused local variable `nodename'.
22302
b87a8200 223032011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 22304
b87a8200
DD
22305 * net/rcirc.el: Update my e-mail address.
22306 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 22307
3b2ff876
CY
223082011-04-05 Chong Yidong <cyd@stupidchicken.com>
22309
22310 * startup.el (command-line): Save the cursor's theme-face
22311 directly, instead of using face-override-spec.
22312
22313 * custom.el (load-theme): Minor optimization in assigning faces.
22314
8d17e7ca
JB
223152011-04-04 Juanma Barranquero <lekktu@gmail.com>
22316
22317 * help-fns.el (describe-variable): Complete all variables having
22318 documentation, including keywords.
22319 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
22320
2fbc1934
JB
223212011-04-04 Juanma Barranquero <lekktu@gmail.com>
22322
22323 Convert to lexical-binding.
22324
22325 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
22326 (bs--get-marked-string, bs--get-modified-string)
22327 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
22328 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
22329 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
22330
22331 * ehelp.el (electric-help-execute-extended)
22332 (electric-help-ctrl-x-prefix):
22333 * hexl.el (hexl-revert-buffer-function):
22334 * linum.el (linum-after-change, linum-after-scroll):
22335 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
22336
22337 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
22338
74f50695
DU
223392011-04-04 Daiki Ueno <ueno@unixuser.org>
22340
22341 * epa-dired.el:
22342 * epa-mail.el:
22343 * epa-hook.el:
22344 * epa-file.el:
22345 * epa.el:
22346 * epg.el: Use lexical binding.
22347
c11325f7
CY
223482011-04-03 Chong Yidong <cyd@stupidchicken.com>
22349
0d9e9a12
CY
22350 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
22351
c11325f7 22352 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
22353 dictionary case for flyspell-mark-duplications-exceptions.
22354 Use regexp matching for languages.
c11325f7
CY
22355 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
22356 default dictionary (Bug#7926).
22357
da91b5f2
CY
223582011-04-02 Chong Yidong <cyd@stupidchicken.com>
22359
099c39a4
JB
22360 * emacs-lisp/package.el (package--with-work-buffer):
22361 Recognize https URLs.
da91b5f2 22362
099c39a4
JB
22363 * net/network-stream.el: Move from gnus/proto-stream.el.
22364 Change prefix to network-stream throughout.
da91b5f2
CY
22365 (open-protocol-stream): Merge into open-network-stream, leaving
22366 open-protocol-stream as an alias. Handle nil BUFFER args.
22367
22368 * subr.el (open-network-stream): Move to net/network-stream.el.
22369
afa8e9f6
GM
223702011-04-02 Glenn Morris <rgm@gnu.org>
22371
1d2e369d
GM
22372 * find-dired.el (find-exec-terminator): New option.
22373 (find-ls-option): Test for -ls support.
22374 (find-ls-subdir-switches): Test for -b in find-ls-option.
22375 (find-dired, find-grep-dired): Doc fixes.
22376 (find-dired): Use find-exec-terminator.
22377
8abb7da8 22378 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
22379 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
22380 (find-name-arg): Remove purecopy.
8abb7da8 22381
f3ca7378
GM
22382 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
22383 (grep-compute-defaults): Check for `-exec COMMAND +' support.
22384 Set grep-find-use-xargs, grep-find-command, and grep-find-template
22385 accordingly. Don't add the null-device if not needed.
22386
afa8e9f6
GM
22387 * files.el (save-some-buffers): Doc fix.
22388
35eae264
EZ
223892011-04-02 Eli Zaretskii <eliz@gnu.org>
22390
22391 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
22392
26b51db5
JB
223932011-04-01 Juanma Barranquero <lekktu@gmail.com>
22394
22395 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
22396 Use `dolist' rather than `mapcar'.
22397
7200d79c
SM
223982011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
22399
03408648 22400 Add lexical binding.
7200d79c 22401
03408648
SM
22402 * subr.el (apply-partially): Use new closures rather than CL.
22403 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
22404 (dolist, dotimes): Use slightly different expansion for lexical code.
22405 (functionp): Move to C.
22406 (letrec): New macro.
22407 (with-wrapper-hook): Use it and apply-partially instead of CL.
22408 (eval-after-load): Preserve lexical-binding.
22409 (save-window-excursion, with-output-to-temp-buffer): Turn them
22410 into macros.
7200d79c 22411
03408648
SM
22412 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
22413
22414 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
22415 than the arglist.
22416 (help-add-fundoc-usage): Don't add `Not documented'.
22417 (help-function-arglist): Handle closures, subroutines, and new
22418 byte-code-functions.
22419 (help-make-usage): Remove leading underscores.
22420 (describe-function-1): Handle closures.
22421 (describe-variable): Use special-variable-p for completion.
22422
22423 * files.el (lexical-binding): Declare safe.
f488fb65 22424
03408648
SM
22425 * emacs-lisp/pcase.el: Don't use destructuring-bind.
22426 (pcase--memoize): Rename from pcase-memoize. Change weakness.
22427 (pcase): Add `let' pattern.
22428 Change memoization so it actually works.
22429 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
22430 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
22431 <let>: New case.
f488fb65 22432
03408648
SM
22433 * emacs-lisp/macroexp.el: Use lexical binding.
22434 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
22435 Don't convert ' to #' without checking that it's indeed quoting
22436 a lambda.
22437
22438 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 22439 Use eval-sexp-add-defvars.
03408648
SM
22440 (eval-sexp-add-defvars): New fun.
22441
22442 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
22443
22444 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
22445 Don't autoload.
22446 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
22447 than the internal `byte-compile-lambda'.
22448 (defmethod): Don't hide code under quotes.
22449 (eieio-defmethod): New `code' argument.
22450
22451 * emacs-lisp/eieio-comp.el: Remove.
22452
22453 * emacs-lisp/edebug.el (edebug-eval-defun)
22454 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
22455 (edebug-toggle): Avoid `eval'.
22456
22457 * emacs-lisp/disass.el (disassemble-internal): Handle new
22458 `closure' objects.
22459 (disassemble-1): Handle new byte codes.
22460
22461 * emacs-lisp/cl.el (pushnew): Silence warning.
22462
22463 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
22464 (cl-byte-compile-throw): Remove.
22465 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
22466
22467 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
22468 closures.
22469
22470 * emacs-lisp/cconv.el: New file.
22471
22472 * emacs-lisp/bytecomp.el: Use lexical binding instead of
22473 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
22474 (byte-compile-initial-macro-environment):
22475 Handle declare-function here.
22476 (byte-compile--lexical-environment): New var.
22477 (byte-stack-ref, byte-stack-set, byte-discardN)
22478 (byte-discardN-preserve-tos): New lap codes.
22479 (byte-interactive-p): Don't use any more.
22480 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
22481 New macros.
22482 (byte-compile-lapcode): Use them and handle new lap codes.
22483 (byte-compile-obsolete): Remove.
22484 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
22485 (byte-compile-arglist-warn): Check late def of inlinable funs.
22486 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
22487 since they should have been expanded by now.
22488 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
22489 (byte-compile-from-buffer): Remove unused second arg.
22490 (byte-compile-preprocess): New function.
22491 (byte-compile-toplevel-file-form): New function to distinguish
22492 file-form calls from outside from file-form calls from hunk-handlers.
22493 (byte-compile-file-form): Simplify.
22494 (byte-compile-file-form-defsubst): Remove.
22495 (byte-compile-file-form-defmumble): Simplify now that
22496 byte-compile-lambda always returns a byte-code-function.
22497 (byte-compile): Preprocess.
22498 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
22499 Remove, not used any more.
22500 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
22501 (byte-compile-make-args-desc): New funs.
22502 (byte-compile-lambda): Handle lexical functions. Always return
22503 a byte-code-function.
22504 (byte-compile-reserved-constants): New var, to make up room for
22505 closed-over variables.
22506 (byte-compile-constants-vector): Obey it.
22507 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
22508 (byte-compile-macroexpand-declare-function): New function.
22509 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
22510 byte-code-functions.
22511 (byte-compile-form): Check obsolescence here.
22512 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
22513 (byte-compile-variable-ref): Remove.
22514 (byte-compile-dynamic-variable-op): New fun.
22515 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
22516 (byte-compile-variable-set): New funs.
22517 (byte-compile-discard): Add 2 args.
22518 (byte-compile-stack-ref, byte-compile-stack-set)
22519 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
22520 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
22521 macroexpand-all instead.
22522 (byte-compile-quote-form): Remove.
22523 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
22524 (byte-compile-bind, byte-compile-unbind): New funs.
22525 (byte-compile-let): Handle let* and lexical binding.
22526 (byte-compile-let*): Remove.
22527 (byte-compile-catch, byte-compile-unwind-protect)
22528 (byte-compile-track-mouse, byte-compile-condition-case):
22529 Handle a new :fun-body form, used for lexical scoping.
22530 (byte-compile-save-window-excursion)
22531 (byte-compile-with-output-to-temp-buffer): Remove.
22532 (byte-compile-defun): Simplify.
22533 (byte-compile-stack-adjustment): New fun.
22534 (byte-compile-out): Use it.
22535 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
22536
22537 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
22538 handler any more.
22539
22540 * emacs-lisp/byte-opt.el: Use lexical binding.
22541 (byte-inline-lapcode): Remove (to bytecomp).
22542 (byte-compile-inline-expand): Pay attention to inlining to/from
22543 lexically bound code.
22544 (byte-compile-unfold-lambda): Don't handle byte-code-functions
22545 any more.
22546 (byte-optimize-form-code-walker): Don't handle save-window-excursion
22547 any more and don't call compiler-macros.
22548 (byte-compile-splice-in-already-compiled-code): Remove.
22549 (byte-code): Don't inline any more.
22550 (disassemble-offset): Receive `bytes' as argument rather than via
22551 dynamic scoping.
22552 (byte-compile-tag-number): Declare before first use.
22553 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
22554 `return' even if make-spliceable.
22555 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
22556 obsolete interactive-p.
22557 (byte-optimize-lapcode): Optimize new lap-codes.
22558 Don't trip up on new form of `byte-constant' lap code.
22559
22560 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
22561
22562 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
22563
22564 * custom.el (custom-initialize-default, custom-declare-variable):
22565 Use `defvar'.
22566
22567 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
22568 New variables.
22569 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
22570 (COMPILE_FIRST): Add macroexp and cconv.
22571 * makefile.w32-in: Mirror changes in Makefile.in.
22572
22573 * vc/cvs-status.el:
22574 * vc/diff-mode.el:
22575 * vc/log-edit.el:
22576 * vc/log-view.el:
22577 * vc/smerge-mode.el:
22578 * textmodes/bibtex-style.el:
090bd7cb 22579 * textmodes/css-mode.el:
03408648
SM
22580 * startup.el:
22581 * uniquify.el:
da91b5f2
CY
22582 * minibuffer.el:
22583 * newcomment.el:
22584 * reveal.el:
22585 * server.el:
22586 * mpc.el:
22587 * emacs-lisp/smie.el:
22588 * doc-view.el:
22589 * dired.el:
03408648
SM
22590 * abbrev.el: Use lexical binding.
22591
0f0c1f27
EZ
225922011-04-01 Eli Zaretskii <eliz@gnu.org>
22593
22594 * info.el (info-display-manual): New function.
22595
c82b2579
SM
225962011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
22597
22598 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
22599
221ddf68
TH
226002011-03-31 Tassilo Horn <tassilo@member.fsf.org>
22601
22602 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 22603 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 22604
cba6e77e
GM
226052011-03-31 Glenn Morris <rgm@gnu.org>
22606
e040639f
GM
22607 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
22608
cba6e77e
GM
22609 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
22610
6d0f1c9e
CS
226112011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
22612
22613 * progmodes/python.el (python-default-interpreter)
22614 (python-python-command-args, python-jython-command-args)
22615 (python-which-shell, python-which-args, python-which-bufname)
22616 (python-file-queue, python-comint-output-filter-function)
22617 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
22618 variables and functions.
22619
3e2d70fd
SM
226202011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
22621
22622 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
22623 (completion-in-region-mode): New minor mode.
22624 (completion-in-region): Use it.
22625 (completion-in-region--data, completion-in-region-mode-map): New vars.
22626 (completion-in-region--postch): New function.
22627 (completion--capf-misbehave-funs, completion--capf-safe-funs):
22628 New vars.
22629 (completion--capf-wrapper): New function.
22630 (completion-at-point): Use it to track well-behavedness of
22631 hook functions.
22632 (completion-help-at-point): New command.
22633
f3e4086c
JM
226342011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
22635
22636 * vc/add-log.el (add-change-log-entry): Don't use whitespace
22637 syntax class to search for whitespace on a single line
22638 (Message-ID: <4D938140.4030905@redhat.com>).
22639
eb7ffc14
LL
226402011-03-30 Leo Liu <sdl.web@gmail.com>
22641
22642 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
22643 New commands.
22644 (edit-abbrevs-map): Bind them here.
22645 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
22646
d806ab68
KM
226472011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
22648
22649 * allout.el (allout-hide-by-annotation, allout-flag-region):
22650 Reduce possibility of overlay leakage by making them volatile.
22651
22652 * allout-widgets.el (allout-widgets-tally): Define as nil so the
22653 hash is not shared between buffers. Mode initialization is
22654 responsible for giving it a useful starting value.
22655 (allout-item-span): Reduce possibility of overlay leakage by
22656 making them volatile.
22657 (allout-widgets-count-buttons-in-region): Add diagnostic function
22658 for tracking down button overlay leaks.
22659
ea622834
LL
226602011-03-29 Leo Liu <sdl.web@gmail.com>
22661
22662 * ido.el (ido-read-internal): Use the default history var
22663 minibuffer-history if no HISTORY is specified.
22664
b62f8267
G
226652011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
22666
03408648
SM
22667 * net/imap.el (imap-shell-open, imap-process-connection-type):
22668 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
22669 Kerberos, SSL, other subprocesses.
22670
947b6566
LL
226712011-03-28 Leo Liu <sdl.web@gmail.com>
22672
22673 * abbrev.el (abbrev-table-empty-p): New function.
22674 (prepare-abbrev-list-buffer): Place empty abbrev tables after
22675 nonempty ones. (Bug#5937)
22676
5ffb62aa
JD
226772011-03-27 Jan Djärv <jan.h.d@swipnet.se>
22678
22679 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
22680
7a097943
LL
226812011-03-27 Leo Liu <sdl.web@gmail.com>
22682
22683 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
22684 for foreground and background colors.
22685 (ansi-color-make-color-map): Adapt.
22686
c5b40130
LL
226872011-03-25 Leo Liu <sdl.web@gmail.com>
22688
1f48f7d2
LL
22689 * midnight.el (midnight-time-float): Remove. Note it calculates
22690 the microsecond component incorrectly and seconds-to-time does the
22691 same job.
625897ec 22692 Remove redundant (require 'timer).
1f48f7d2 22693
c5b40130
LL
22694 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
22695 (ido-completions): Remove unused arguments. (Bug#8329)
22696
d86d2721
SM
226972011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
22698
22699 * minibuffer.el (completion--flush-all-sorted-completions):
22700 Remove itself from hook.
22701 (completion-at-point): Let the functions perform the completion
22702 immediately and return nil or t.
22703 * comint.el (comint-dynamic-complete-functions): Now identical to
22704 completion-at-point-functions.
22705 (comint-dynamic-list-input-ring): Remove unused var `index'.
22706 (comint--match-partial-filename, comint--unquote&expand-filename):
22707 New funs, split from comint-match-partial-filename.
22708 (comint-dynamic-complete): Use completion-at-point.
22709 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
22710
e8974c48
DA
227112011-03-24 Drew Adams <drew.adams@oracle.com>
22712
22713 * thingatpt.el: Support `defun'.
22714
def71b5e
LL
227152011-03-23 Leo Liu <sdl.web@gmail.com>
22716
cb5af48e
LL
22717 * abbrevlist.el: Move to obsolete/abbrevlist.el.
22718
def71b5e
LL
22719 * help-mode.el (help-mode-finish): Tweak regexp.
22720
927c53e7
GM
227212011-03-23 Glenn Morris <rgm@gnu.org>
22722
18d05bed
GM
22723 * eshell/esh-opt.el (eshell-eval-using-options):
22724 Do not bind unused local variable `eshell-option-stub'.
22725
927c53e7
GM
22726 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
22727
9d0da923
JB
227282011-03-22 Juanma Barranquero <lekktu@gmail.com>
22729
22730 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
22731 keymap variable in `with-no-warnings' to avoid a warning when the
22732 keymap has been already `defconst'ed.
22733
4b978a67
LL
227342011-03-22 Leo Liu <sdl.web@gmail.com>
22735
22736 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
22737 encode all chars in abbrevs; otherwise use emacs-mule or
22738 utf-8-emacs. (Bug#8308)
22739
5fd62452
JB
227402011-03-22 Juanma Barranquero <lekktu@gmail.com>
22741
0b1596c6
JB
22742 * simple.el (backward-delete-char-untabify):
22743 Avoid warning about using `delete-backward-char'.
22744
5fd62452
JB
22745 * image.el (image-type-file-name-regexps): Make it variable.
22746 `imagemagick-register-types' modifies it, and the user may want
22747 to add new extensions for known image types.
22748 (imagemagick-register-types): Throw error if not using ImageMagick.
22749
0b4e93f1
LL
227502011-03-22 Leo Liu <sdl.web@gmail.com>
22751
22752 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
22753 located before rcirc-prompt-end-marker.
22754 (rcirc-complete): Error if point is not after rcirc prompt.
22755 Handle the case when table is nil.
9882e214 22756 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 22757
fccee4ab
CY
227582011-03-22 Chong Yidong <cyd@stupidchicken.com>
22759
22760 * custom.el (custom--inhibit-theme-enable): Make it affect only
22761 custom-theme-set-variables and custom-theme-set-faces.
22762 (provide-theme): Ignore custom--inhibit-theme-enable.
22763 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
22764 (custom-enabling-themes): Delete variable.
d86d2721
SM
22765 (enable-theme): Accept only loaded themes as arguments.
22766 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
22767 (custom-enabled-themes): Forbid themes from setting this.
22768 Eliminate use of custom-enabling-themes.
22769 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 22770
af896da6
LL
227712011-03-21 Leo Liu <sdl.web@gmail.com>
22772
22773 * ido.el (ido-read-internal): Add ido-selected to history instead
22774 of user input.
22775
78f64af0
SM
227762011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
22777
22778 * subr.el (deferred-action-list, deferred-action-function):
22779 Mark obsolete.
22780
b16ac1ec
LL
227812011-03-21 Leo Liu <sdl.web@gmail.com>
22782
810f7698
LL
22783 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
22784 change on 2011-02-13 (bug#8309).
22785
b16ac1ec
LL
22786 * minibuffer.el (read-file-name-function): Change default value.
22787 (read-file-name--defaults): Rename from read-file-name-defaults.
22788 (read-file-name-default): Rename from read-file-name.
22789 (read-file-name): Call read-file-name-function.
22790
4e05e67e
GM
227912011-03-21 Glenn Morris <rgm@gnu.org>
22792
22793 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
22794 Doc fixes.
22795
4359915b
CY
227962011-03-21 Chong Yidong <cyd@stupidchicken.com>
22797
22798 * cus-theme.el: Add missing provide statement.
22799 (customize-create-theme): Extract theme value correctly.
22800 (custom-theme-visit-theme): Autoload.
22801 (customize-create-theme): Prompt before inserting default faces.
22802
1fe275ee
JB
228032011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
22804
22805 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
22806 units and musical notes.
22807
cd394be1 228082011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
22809
22810 * ido.el (ido-read-internal): Use completing-read-default.
22811 (ido-completing-read): Fix compatibility with completing-read.
22812
7d476bde
CO
228132011-03-20 Christian Ohler <ohler@gnu.org>
22814
22815 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
22816 (ert-delete-all-tests): Use `called-interactively-p' rather than
22817 `interactive-p'.
22818 (ert--make-xrefs-region): Respect END.
22819
fe0fb33e
CY
228202011-03-19 Chong Yidong <cyd@stupidchicken.com>
22821
ff854b0b
CY
22822 * dired-aux.el (dired-create-directory): Signal an error if the
22823 directory already exists (Bug#8246).
22824
fe0fb33e
CY
22825 * facemenu.el (list-colors-display): Call list-faces-display
22826 inside with-help-window.
22827 (list-colors-print): Use display property to align the final
22828 column, instead of checking window-width.
22829
576bce32
EZ
228302011-03-19 Eli Zaretskii <eliz@gnu.org>
22831
4d61f28d 22832 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
22833 windows-nt systems.
22834 (emerge-protect-metachars): Quote correctly for ms-dos and
22835 windows-nt systems.
22836
89c41d68 228372011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
22838
22839 * info.el (info-initialize): Replace all uses of `:' with
22840 path-separator for compatibility with non-Unix systems.
22841 Cache quoting of path-separator. (Bug#8258)
22842
b14e3e21 228432011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
22844
22845 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
22846 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
22847 (mouse-avoidance-mode): Fix typos in docstrings.
22848
4525ce3e
CY
228492011-03-19 Chong Yidong <cyd@stupidchicken.com>
22850
22851 * startup.el (package-subdirectory-regexp): Move from package.el.
22852 Omit \\` and \\', and let callers add them.
22853
22854 * emacs-lisp/package.el (package-strip-version)
22855 (package-load-all-descriptors): Add \\` and \\' to
22856 package-subdirectory-regexp before using it.
22857 (package-untar-buffer): New arg DIR; ensure that file untars only
22858 into this expected directory. Remove superfluous delete-region.
22859 (package-unpack): Caller changed.
22860 (package-tar-file-info): Use package-subdirectory-regexp.
22861
a904a09a 228622011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 22863
a904a09a
SM
22864 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
22865 diff-mode-shared-map (bug#8284).
22866 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
22867
228682011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
22869
22870 * calendar/time-date.el (format-seconds): Use assoc instead of
22871 assoc-string, since assoc-string doesn't exist in XEmacs.
22872
171fc304
JB
228732011-03-17 Juanma Barranquero <lekktu@gmail.com>
22874
22875 * custom.el (custom-known-themes): Reflow docstring.
22876 (custom-theme-load-path): Fix typo in docstring.
22877 (load-theme): Fix typo in error message.
22878 (custom-available-themes, custom-variable-theme-value):
22879 Use `let', not `let*'.
22880
d71990a1
JB
228812011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
22882
22883 * calc/README: Mention inclusion of musical notes.
22884
22885 * calc/calc-units.el (calc-lu-quant): Rename from
22886 `calc-logunits-quantity'.
22887 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
22888 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
22889 (calc-db): Rename from `calc-dblevel'.
22890 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
22891 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
22892 (calc-np): Rename from `calc-nplevel'.
22893 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
22894 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
22895 (calc-lu-plus): Rename from `calc-logunits-add'.
22896 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
22897 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
22898 (calc-lu-minus): Rename from `calc-logunits-sub'.
22899 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
22900 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
22901 (calc-lu-times): Rename from `calc-logunits-mul'.
22902 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
22903 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
22904 (calc-lu-divide): Rename from `calc-logunits-div'.
22905 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
22906 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
22907
22908 * calc/calc-ext.el (calc-init-extensions): Update the names of the
22909 functions being autoloaded.
22910
22911 * calc/calc.el (calc-lu-power-reference): Rename from
22912 `calc-logunits-power-reference'.
22913 (calc-lu-field-reference): Rename from
22914 `calc-logunits-field-reference'.
22915
7a71b18d
GM
22916 * calc/calc-help.el (calc-l-prefix-help):
22917 Mention musical note functions.
d71990a1 22918
40c2934b
SM
229192011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
22920
22921 * minibuffer.el (completion-all-sorted-completions):
22922 Use :completion-cycle-penalty text property if present.
22923
b0911414
KM
229242011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
22925
22926 * allout.el (allout-yank-processing): Adjust for new rebulleting
22927 regime so bullet being yanked is used without prompting the user
22928 for a choice.
22929
8a05b668
JB
229302011-03-16 Juanma Barranquero <lekktu@gmail.com>
22931
22932 * startup.el (command-line): Warn the user that _emacs is deprecated.
22933
5ba5fb81
JB
229342011-03-16 Juanma Barranquero <lekktu@gmail.com>
22935
22936 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
22937 (delphi-verbose, delphi-comment-face, delphi-string-face)
22938 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
22939 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
22940 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
22941 (delphi-new-comment-line, delphi-font-lock-defaults)
22942 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
22943 Fix typos in docstrings.
22944
2dab465b
KM
229452011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
22946
5ba5fb81 22947 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
22948 Invert the roles of character and string values for INSTEAD, so a
22949 string is used for the more common case of a defaulting prompt.
22950
0adf5618
SM
229512011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
22952
22953 * progmodes/ruby-mode.el (ruby-backward-sexp):
22954 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
22955 * play/gamegrid.el (gamegrid-make-face):
22956 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
22957 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
22958 * notifications.el (notifications-notify):
22959 * net/xesam.el (xesam-search-engines):
22960 * net/quickurl.el (quickurl-list-insert):
22961 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
22962
d72700e5
CY
229632011-03-15 Chong Yidong <cyd@stupidchicken.com>
22964
22965 * startup.el (command-line): Update package subdirectory regexp.
22966
49c5410a
SM
229672011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
22968
c6eee9aa
SM
22969 * allout.el (allout-abbreviate-flattened-numbering)
22970 (allout-mode-deactivate-hook): Fix up obsolescence "date".
22971
49c5410a
SM
22972 * subr.el (read-char-choice): Only show the cursor after the prompt,
22973 not after the answer.
22974
047b2bb9
KR
229752011-03-15 Kevin Ryde <user42@zip.com.au>
22976
22977 * help-fns.el (variable-at-point): Skip leading quotes, if any
22978 (bug#8253).
22979
0a57d256
SM
229802011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
22981
22982 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
22983 warning message.
22984
77c992bc
MA
229852011-03-14 Michael Albinus <michael.albinus@gmx.de>
22986
22987 * shell.el (shell): When called interactively, offer to change the
22988 shell file name on remote hosts.
22989
eebc475d
TZ
229902011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
22991
22992 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
22993 integration for LDAP parameters. The host, base, user or binddn,
22994 and secret tokens can be specified in a netrc file, for instance.
22995 This is optional because an `auth-source' parameter must be
22996 specified in the search attributes.
22997
9d05d1ba
JB
229982011-03-13 Juanma Barranquero <lekktu@gmail.com>
22999
23000 * help.el (describe-mode): Link to the mode's definition (bug#8185).
23001
09d9db2c
GM
230022011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
23003
23004 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
23005 into declaration. Remove redundant and harmful binding.
23006
230072011-03-12 Eli Zaretskii <eliz@gnu.org>
23008
23009 * files.el (file-ownership-preserved-p): Pass `integer' as an
23010 explicit 2nd argument to `file-attributes'. If the file's owner
23011 is the Administrators group on Windows, and the current user is
23012 Administrator, consider that a match.
23013
23014 * server.el (server-ensure-safe-dir): Consider server directory
23015 safe on MS-Windows if its owner is the Administrators group while
23016 the current Emacs user is Administrator. Use `=' to compare
23017 numerical UIDs, since they could be integers or floats.
23018
219bd536
JB
230192011-03-12 Juanma Barranquero <lekktu@gmail.com>
23020
23021 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
23022
f3afd36b
MA
230232011-03-12 Michael Albinus <michael.albinus@gmx.de>
23024
23025 Sync with Tramp 2.2.1.
23026
23027 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
23028
23029 * net/trampver.el: Update release number.
23030
3aaaa6f1
SM
230312011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
23032
94642599
SM
23033 * progmodes/compile.el (compilation--previous-directory): Fix up
23034 various nil/dead-marker mismatches (bug#8014).
23035 (compilation-directory-properties, compilation-error-properties):
23036 Don't call it at a position past the one we're about to change.
23037
3aaaa6f1
SM
23038 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
23039 Disable obsolescence warnings in the file that declares it.
23040
14239447
KM
230412011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
23042
099c39a4
JB
23043 * allout-widgets.el (allout-widgets-tally):
23044 Initialize allout-widgets-tally as a hash table rather than nil to
23045 prevent mode-line redisplay warnings. Also, clarify the module
23046 description and fix a comment typo.
14239447 23047
135e287c
JB
230482011-03-11 Juanma Barranquero <lekktu@gmail.com>
23049
23050 * help-fns.el (describe-variable): Don't complete keywords.
23051 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
23052
ffbf300e
CY
230532011-03-10 Chong Yidong <cyd@stupidchicken.com>
23054
ba08b241
CY
23055 * emacs-lisp/package.el (package-version-join): Impose a standard
23056 string representation for pre/alpha/beta version lists.
23057 (package-unpack-single): Standardize the directory name by passing
23058 it through package-version-join.
23059 (package-strip-rcs-id): Accept any version string that does not
23060 signal an error in version-to-list.
ffbf300e 23061
f346fd6b
MA
230622011-03-10 Michael Albinus <michael.albinus@gmx.de>
23063
23064 * simple.el (delete-trailing-whitespace): Return nil for the
23065 benefit of `write-file-functions'.
23066
ccb55d27
GM
230672011-03-10 Glenn Morris <rgm@gnu.org>
23068
5ceaac0c
GM
23069 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
23070
02da65ff
GM
23071 * vc/vc-git.el (vc-git-program): New option.
23072 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
23073 (vc-git--call): Use it.
23074
b2f603cc
GM
23075 * eshell/esh-util.el (eshell-condition-case): Doc fix.
23076
5772caab
GM
23077 * cus-edit.el (Custom-newline): If no button at point, look
23078 for a subgroup button at start-of-line. (Bug#2298)
23079
ccb55d27
GM
23080 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
23081
ec6ecaed
JD
230822011-03-10 Julien Danjou <julien@danjou.info>
23083
23084 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
23085 `cursor-type' is nil.
23086
9d5aa01d
JB
230872011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
23088
23089 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
23090
b6a5875b
KM
230912011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
23092
7a71b18d 23093 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
23094 preserves the existing header prefix, rebulleting it if necessary,
23095 rather than replacing it. This is necessary for proper operation
23096 of cooperative addons like allout-widgets.
1154d12e
JB
23097 (allout-make-topic-prefix, allout-rebullet-heading):
23098 Change SOLICIT arg to INSTEAD, and interpret additionally a string
23099 value as alternate bullet to be used, instead of prompting the user
23100 for a bullet character.
b6a5875b 23101
ee545c35
MA
231022011-03-09 Michael Albinus <michael.albinus@gmx.de>
23103
d86d2721
SM
23104 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
23105 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
23106 `tramp-default-port'.
23107
c47971d7
DD
231082011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
23109
23110 * net/rcirc.el (rcirc-handler-001): Remove useless
23111 with-rcirc-process-buffer.
23112 (rcirc-check-auth-status): Swap arguments to string-match.
23113
13522cb4
GM
231142011-03-09 Glenn Morris <rgm@gnu.org>
23115
0be6f4f1
GM
23116 * shell.el (shell-mode):
23117 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
23118
13522cb4
GM
23119 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
23120 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
23121
515de2e3
CY
231222011-03-08 Chong Yidong <cyd@stupidchicken.com>
23123
23124 * emacs-lisp/package.el (package-refresh-contents)
23125 (package-menu-execute): Use condition-case-no-debug.
23126
b511b994
MA
231272011-03-08 Michael Albinus <michael.albinus@gmx.de>
23128
23129 * simple.el (shell-command-to-string): Use `process-file'.
23130
23131 * emacs-lisp/package.el (package-tar-file-info): Handle also
23132 remote files.
23133
d86d2721
SM
23134 * emacs-lisp/package-x.el (package-upload-buffer-internal):
23135 Use `equal' for upload base check.
b511b994 23136
25bbfb31
AM
231372011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
23138
23139 * textmodes/texinfo.el (texinfo-environments):
23140 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
23141
be996521
GM
231422011-03-08 Glenn Morris <rgm@gnu.org>
23143
e9c8529f
GM
23144 * cus-start.el (cursor-in-non-selected-windows):
23145 Fix :set quoting oddness. (Bug#8192)
23146
be996521
GM
23147 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
23148 in some setf expressions. (Bug#2159)
23149
2bb5649e
CY
231502011-03-08 Chong Yidong <cyd@stupidchicken.com>
23151
23152 * custom.el (custom-available-themes): Return themes in
23153 alphabetical order.
23154
33383987 23155See ChangeLog.15 for earlier changes.
e3d51b27
MR
23156
23157;; Local Variables:
23158;; coding: utf-8
e3d51b27
MR
23159;; End:
23160
ab422c4d 23161 Copyright (C) 2011-2013 Free Software Foundation, Inc.
e3d51b27
MR
23162
23163 This file is part of GNU Emacs.
23164
23165 GNU Emacs is free software: you can redistribute it and/or modify
23166 it under the terms of the GNU General Public License as published by
23167 the Free Software Foundation, either version 3 of the License, or
23168 (at your option) any later version.
23169
23170 GNU Emacs is distributed in the hope that it will be useful,
23171 but WITHOUT ANY WARRANTY; without even the implied warranty of
23172 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
23173 GNU General Public License for more details.
23174
23175 You should have received a copy of the GNU General Public License
23176 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.