* net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
62bcf670
JH
12013-01-07 Jürgen Hötzel <juergen@archlinux.org>
2
3 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
4 Handle filename correctly, when parsing "source -> target" symlink
5 output.
6 (tramp-adb-handle-set-file-times): New defun.
7
4986fa21
SM
82013-01-07 Stefan Monnier <monnier@iro.umontreal.ca>
9
10 * emacs-lisp/advice.el (ad-activate-advised-definition): Refresh the
11 advice list when the interactive-spec of ad-Advice-* changes.
12
3bee311e
KY
132013-01-07 Katsumi Yamaoka <yamaoka@jpl.org>
14
15 * wid-edit.el (widget-default-get): Work for inlined elements.
16 (Bug#12670)
17
b49eebcc
MA
182013-01-07 Michael Albinus <michael.albinus@gmx.de>
19
20 * net/tramp.el (tramp-default-host-alist): New defcustom.
21 (tramp-find-host): Use it.
4986fa21 22 (tramp-eshell-directory-change): Move from tramp-sh.el. Add to
b49eebcc
MA
23 `eshell-directory-change-hook'.
24
25 * net/tramp-adb.el (top): Add adb specific entry in
26 `tramp-default-host-alist'.
27 (tramp-adb-file-name-host): Remove function.
28 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
29 Use `tramp-file-name-host' instead of `tramp-adb-file-name-host'.
30
3bee311e 31 * net/tramp-sh.el: Move eshell integration code to tramp.el.
b49eebcc 32
84f6744a
JH
332013-01-06 Jürgen Hötzel <juergen@archlinux.org>
34
35 * net/tramp-adb.el (tramp-methods): Add `tramp-tmpdir' entry.
36
b6cfbcd0
MA
372013-01-06 Michael Albinus <michael.albinus@gmx.de>
38
39 * net/tramp-adb.el (tramp-adb-ls-toolbox-regexp): The file size can
b49eebcc 40 consist of more than one digit.
4986fa21
SM
41 (tramp-adb-file-name-handler-alist):
42 Use `tramp-handle-file-exists-p' consistently.
b6cfbcd0
MA
43 (tramp-adb-file-name-handler): Don't tweak `tramp-default-host'.
44 (tramp-adb-handle-file-exists-p): Remove function.
45 (tramp-adb-file-name-host): New defun.
46 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
47 Use it.
48 (tramp-adb-maybe-open-connection): Set "remote-path" property.
49
58ba7b1b
CY
502013-01-06 Chong Yidong <cyd@gnu.org>
51
52 * vc/vc.el (vc-next-action): Detect buffer modifications
53 conflicting with locking VCS operation (Bug#11490).
54
55 * vc/vc-hooks.el (vc-after-save): DTRT for locking VCSes.
56
f4566fe9
MA
572013-01-05 Michael Albinus <michael.albinus@gmx.de>
58
59 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
60 (tramp-adb-handle-directory-files-and-attributes): Fix typos.
61
838cf298
MA
622013-01-05 Jürgen Hötzel <juergen@archlinux.org>
63
64 * net/tramp-adb.el (tramp-adb-handle-file-attributes): More robust
65 parsing of ls output using regular expression (handle filenames
66 with spaces). Use virtual device number.
67 (tramp-do-parse-file-attributes-with-ls): New defun (Code
68 cleanup).
69
1bd71e9f
DU
702013-01-04 Daiki Ueno <ueno@gnu.org>
71
72 * epg.el: Silence byte-compiler warnings.
73 (epg--start): Use delete-char instead of delete-backward-char.
74 (epg-wait-for-completion): Pass FRAME arg to redraw-frame.
75
00cd4c1c
DU
762013-01-04 Daiki Ueno <ueno@gnu.org>
77
78 * epg.el (epg--start): Don't call "tty" program on W32 platforms.
79 Suggested by Eli Zaretskii <eliz@gnu.org>.
80
f99ced35
MA
812013-01-04 Michael Albinus <michael.albinus@gmx.de>
82
83 * net/tramp-sh.el (tramp-set-file-uid-gid): UID and GID must be
84 non-negative integers. Otherwise, the default values are used.
85 (tramp-convert-file-attributes): Convert uid and gid to integers.
86
0f668a4d 872013-01-04 Glenn Morris <rgm@gnu.org>
ad235a8b 88
d2be4dcc
GM
89 * term.el (term-handle-colors-array): Ensure face attributes
90 are fully specified, not nil. (Bug#13337)
91
5b00b749
GM
92 * term.el (term-default-fg-color, term-default-bg-color):
93 Fix custom type.
94
220740a3
GM
95 * progmodes/etags.el (tags-compression-info-list): Doc fix.
96 (tag-find-file-of-tag-noselect): Check auto-compression-mode
97 rather than 'jka-compr being loaded. (Bug#13338)
98
bdd9367d
WD
992013-01-04 Wesley Dawson <whd@lavabit.com> (tiny change)
100
101 * icomplete.el (icomplete-completions):
102 Honor icomplete-prospects-height once more following
103 2012-11-29 changes. (Bug#13224)
104
96dd18b1
SM
1052013-01-04 Stefan Monnier <monnier@iro.umontreal.ca>
106
c0bd248c
SM
107 * subr.el (internal--called-interactively-p--get-frame): Find aliases
108 of called-interactively-p as well (bug#13237).
109
4a74c818
SM
110 * view.el (view--enable, view--disable): Rename from view-mode-enable
111 and view-mode-disable and assume it's called from view-mode.
112 (view-mode-enable, view-mode-disable): Redefine as obsolete
113 compatibility layer above view-mode.
114 (view-mode-enter): Call `view-mode'.
115
116 * files.el (after-find-file): Call `view-mode'.
117
96dd18b1
SM
118 * doc-view.el (doc-view-scale-internally): New var.
119 (doc-view-enlarge, doc-view-insert-image): Obey it.
120
c2cf1829
DU
1212013-01-03 Daiki Ueno <ueno@gnu.org>
122
123 * epg.el (epg--start): Ignore errors when /dev/fd/0 does not
124 exist. (Bug#13344)
125
ad235a8b
GM
1262013-01-03 Glenn Morris <rgm@gnu.org>
127
a8aa6c2d
GM
128 * mail/rmail.el (rmail-set-header-1): Ignore case.
129 Handle multi-line headers. (Bug#13330)
130
a6d6c20b
GM
131 * progmodes/make-mode.el (makefile-fill-paragraph): Add doc.
132 Handle paragraph starting at beginning of buffer.
133
ed5bdeb9
GM
134 * subr.el (eval-after-load): Don't purecopy the form, so that it
135 can be nconc'd later on; reverts 2009-11-11 change. (Bug#13331)
136
ad235a8b
GM
137 * emacs-lisp/byte-run.el (defun): Place cl declarations
138 after any interactive spec. (Bug#13265)
139
9539d465 1402013-01-02 Andreas Schwab <schwab@linux-m68k.org>
5cebef2d
AS
141
142 * emacs-lisp/byte-run.el (defmacro): Use same argument parsing as
143 defun. Don't check for DECL if DOCSTRING isn't a string.
144 (defun): Likewise.
145
9539d465 1462013-01-02 Glenn Morris <rgm@gnu.org>
4cddca30 147
5ee1772e
GM
148 * eshell/em-cmpl.el (eshell-pcomplete):
149 More thoroughly imitate pcomplete. (Bug#13293)
150
4cddca30
GM
151 * files.el (parse-colon-path): Doc fix. (Bug#12351)
152 Return nil for empty path elements. (Bug#13296)
153
9539d465 1542013-01-02 Fabián Ezequiel Gallina <fgallina@cuca>
6861432e
FEG
155
156 * progmodes/python.el (python-nav-end-of-statement): Rewrite in
157 order to improve efficiency (Based on Daniel Colascione's
158 <dancol@dancol.org> patch). (Bug#13182)
159
9539d465 1602013-01-02 Glenn Morris <rgm@gnu.org>
b83a2ddd
GM
161
162 * vc/log-edit.el (log-edit-header-contents-regexp): Add doc string.
163
9539d465 1642013-01-02 Andreas Schwab <schwab@linux-m68k.org>
bdcad781
AS
165
166 * emacs-lisp/byte-run.el (defmacro): Don't lose final nil if
167 neither DOCSTRING nor DECL was given. (Bug#13316)
168
aca3d51d
MA
1692013-01-02 Michael Albinus <michael.albinus@gmx.de>
170
171 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Add argument to
172 `error' call.
173 (tramp-do-copy-or-rename-file): Ignore errors when calling
174 `set-file-extended-attributes'.
175
4986fa21
SM
176 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
177 Add handler for `file-acl'.
aca3d51d
MA
178 (tramp-smb-handle-file-acl): New defun.
179
87e65f96
JB
1802013-01-02 Jay Belanger <jay.p.belanger@gmail.com>
181
182 * calc/README: Mention ISO 8601 week-numbering dates.
183
0aac98ac
MR
1842013-01-01 Martin Rudalics <rudalics@gmx.at>
185
186 * view.el (view-mode-enable): New argument run-view-mode-hook.
187 Run view-mode-hook only when it's non-nil (Bug#13315).
188 (view-mode-enter): Call view-mode-enable with run-view-mode-hook
189 argument t.
190
1a82330c
JH
1912012-12-31 Jürgen Hötzel <juergen@archlinux.org>
192
193 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Handle errors
194 (No device connected, invalid device name). (Bug #13299)
195
27fcfe31
MR
1962012-12-31 Martin Rudalics <rudalics@gmx.at>
197
198 * window.el (window-resizable--p): Rename to window-resizable-p.
199 (window-resize-no-error): New function.
200
201 * mail/rmail.el (rmail-maybe-display-summary): Restore behavior
202 broken in fix from 2012-12-28.
203
96c052a5
SM
2042012-12-31 Stefan Monnier <monnier@iro.umontreal.ca>
205
206 * subr.el (special-form-p): Don't signal errors on undef aliases.
207
fd1f1603
JB
2082012-12-31 Jay Belanger <jay.p.belanger@gmail.com>
209
210 * calc/calc-forms.el (math-parse-date): Try using
96c052a5
SM
211 `math-parse-iso-date' when it looks like it might be needed.
212 Allow times of 24:00.
fd1f1603
JB
213 (math-parse-date-validate, math-parse-iso-date-validate): Allow times
214 of 24:00.
215
8db39aeb
GM
2162012-12-30 Glenn Morris <rgm@gnu.org>
217
218 * net/mairix.el (rmail, rmail-summary-displayed, rmail-summary):
219 Remove unnecessary/buggy autoloads (missing interactive). (Bug#13294)
220 (rmail-summary-displayed, rmail-summary): Declare.
221 (mairix-rmail-display): Just require rmail.
222
d5e5e7b4 2232012-12-30 Chong Yidong <cyd@gnu.org>
3c94d7a6
CY
224
225 * emacs-lisp/package.el (package-untar-buffer): Improve integrity
226 check for the tarball contents.
227
d5e5e7b4 2282012-12-30 Matt Fidler <matt.fidler@alcon.com> (tiny change)
af39894a
MF
229
230 * emacs-lisp/package.el (package-untar-buffer): Handle problematic
231 tarfile content listings (Bug#13136).
232
d5e5e7b4 2332012-12-30 Mark Lillibridge <mark.lillibridge@hp.com>
bb709253 234
96c052a5
SM
235 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
236 Insert the undecoded text of the message being forwarded. (Bug#9521)
bb709253 237
4f752957
MA
2382012-12-30 Michael Albinus <michael.albinus@gmx.de>
239
3ee24a3b
MA
240 * net/tramp-sh.el (tramp-set-file-uid-gid): Convert UID and GID to
241 integers, if they are real numbers. (Bug#13282)
242
4f752957
MA
243 * net/tramp-sh.el (tramp-sh-handle-set-file-selinux-context):
244 Return `t' on success.
245
96c052a5
SM
246 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
247 Add handler for `set-file-selinux-context'.
4f752957 248
eff2eb58
MA
2492012-12-29 Michael Albinus <michael.albinus@gmx.de>
250
251 * net/tramp-sh.el (tramp-sh-handle-file-acl): Suppress basic attributes.
252 (tramp-sh-handle-set-file-acl): Return `t' on success.
253
ccad023b
EZ
2542012-12-29 Eli Zaretskii <eliz@gnu.org>
255
96c052a5
SM
256 * files.el (backup-buffer-copy, basic-save-buffer-2):
257 If set-file-extended-attributes fails, fall back on set-file-modes
ccad023b 258 instead of signaling an error. (Bug#13298)
7e56b103 259 (basic-save-buffer): Likewise.
ccad023b 260
ccb1c17e
FEG
2612012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
262
263 * progmodes/python.el: Support other commands triggering
264 python-indent-line so indentation cycling continues to work.
265 (python-indent-trigger-commands): New defcustom.
266 (python-indent-line): Use it.
267
16768034
FEG
2682012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
269
270 * progmodes/python.el (python-shell-send-region): Add blank lines
271 for non sent code so backtraces remain correct.
272
66164d2f
FEG
2732012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
274
275 * progmodes/python.el: Remove cl dependency.
276 (python-syntax-count-quotes): Replace incf call.
277 (python-fill-string): Replace setf call.
278
761231d1
DC
2792012-12-29 Damien Cassou <damien.cassou@gmail.com>
280
43ebd12b 281 * info.el (info-other-window): New arg, for consistency with info.
761231d1 282
7c3e220a
MR
2832012-12-28 Martin Rudalics <rudalics@gmx.at>
284
96c052a5
SM
285 * mail/rmail.el (rmail-maybe-display-summary):
286 Rewrite (Bug#13066).
7c3e220a 287
361828b5
AS
2882012-12-28 Andreas Schwab <schwab@linux-m68k.org>
289
290 * epg.el (epg--start): Modify process-environment locally.
291
23bd348c
DU
2922012-12-28 Daiki Ueno <ueno@gnu.org>
293
294 * epg.el: Support pinentry-curses.
295 Suggested by Werner Koch in
296 <http://lists.gnu.org/archive/html/emacs-devel/2007-02/msg00755.html>.
297 (epg-agent-file, epg-agent-mtime): New variable.
298 (epg--start): Record the modified time of gpg-agent socket file,
299 to restore Emacs frame after pinentry-curses termination.
300 (epg-wait-for-completion): Restore Emacs frame here.
301
313f39aa
JL
3022012-12-27 Juri Linkov <juri@jurta.org>
303
304 * info.el (Info-file-completions): New variable.
305 (Info-read-node-name-1): Complete node names in the Info file
306 when a file name is given. Call `Info-build-node-completions'
307 with a file name.
308 (Info-build-node-completions): Add new arg `file'. When it is
309 non-nil, visit it in a temporary buffer and cache its completions in
310 `Info-current-file-completions'. Move most of the function body to
311 `Info-build-node-completions-1'.
312 (Info-build-node-completions-1): New function with the body from
313 `Info-build-node-completions'. (Bug#12456)
314
a45b7647
JL
3152012-12-27 Juri Linkov <juri@jurta.org>
316
317 * frame.el (frame-maximization-style): Remove user option.
318 (cycle-frame-maximized): Remove function.
319 (toggle-frame-maximized): Rewrite and bind to M-<f10>.
320 (toggle-frame-fullscreen): New command bound to <f11> instead of
321 `toggle-frame-maximized'.
322 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00703.html
323
10ffd0be
MA
3242012-12-27 Michael Albinus <michael.albinus@gmx.de>
325
326 * net/tramp.el (tramp-handle-file-accessible-directory-p): New defun.
327
328 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
329 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
330 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
331 for `file-accessible-directory-p'. (Bug#13275)
332
fd146719
SS
3332012-12-27 Sam Steingold <sds@gnu.org>
334
335 * progmodes/cperl-mode.el (cperl-calculate-indent): Do not stagger
336 continuations, see <http://stackoverflow.com/questions/3582436>.
337
82e2a1f0 3382012-12-27 Dmitry Gutov <dgutov@yandex.ru>
db590ef6
DG
339
340 * progmodes/ruby-mode.el (ruby-indent-beg-re): Only allow "class",
96c052a5
SM
341 "module" and "def" to have indentation before them.
342 Regression from 2012-09-07T04:15:56Z!dgutov@yandex.ru (see the new test).
db590ef6 343
ea0857a1
DG
344 * progmodes/ruby-mode.el: Bump the version to 1.2 (Bug#13200).
345
82e2a1f0 3462012-12-27 Alan Mackenzie <acm@muc.de>
3f6b93cd
AM
347
348 Speed up fontification where there's large brace blocks.
349 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Add a limit
350 to a call of c-beginning-of-decl-1.
351
c34339f3
VS
3522012-12-27 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
353
354 * comint.el (comint-adjust-window-point): New function.
96c052a5
SM
355 (comint-postoutput-scroll-to-bottom):
356 Call comint-adjust-window-point (Bug#13248).
c34339f3 357
78269b95
DG
3582012-12-26 Dmitry Gutov <dgutov@yandex.ru>
359
360 * progmodes/ruby-mode.el (auto-mode-alist): `purecopy' the
361 Rakefile regexp.
362 (auto-mode-alist): Associate .gemspec files with ruby-mode
363 (https://bugs.ruby-lang.org/issues/5453).
364
bd8c13f9
JH
3652012-12-26 Jürgen Hötzel <juergen@archlinux.org>
366
96c052a5
SM
367 * net/tramp-adb.el (tramp-adb-get-ls-command): New defun.
368 Suppress coloring, if possible (required for BusyBox based systems like
bd8c13f9
JH
369 CynagenMod).
370 (tramp-adb-handle-file-attributes)
371 (tramp-adb-handle-insert-directory)
372 (tramp-adb-handle-file-name-all-completions): Use it.
373 (tramp-adb-get-toolbox): New defun. Check for remote shell
374 implementation (BusyBox or Toolbox).
375
dc646358
CK
3762012-12-24 Constantin Kulikov <zxnotdead@gmail.com> (tiny change)
377
378 * startup.el (initial-buffer-choice): Allow function as value
379 (Bug#13251).
380 (command-line-1): Handle case where initial-buffer-choice
381 specifies a function.
382 * server.el (server-execute): Handle case where
383 initial-buffer-choice specifies a function.
384
e7d52a4d
LI
3852012-12-24 Lars Ingebrigtsen <larsi@gnus.org>
386
387 * mail/smtpmail.el (smtpmail-try-auth-method): Refactored out into
388 its own function.
389 (smtpmail-try-auth-methods): Forget the user name/password if the
390 login is unsuccessful (bug#12424).
391
cdb07539
MA
3922012-12-22 Michael Albinus <michael.albinus@gmx.de>
393
1ef5f225
MA
394 * notifications.el (notifications-notify): Protect body with
395 `with-demoted-errors'.
396
96c052a5
SM
397 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
398 Check properties of remote device. Restart connection, if there is a
cdb07539
MA
399 change.
400
594f37aa
CY
4012012-12-21 Chong Yidong <cyd@gnu.org>
402
403 * sort.el (sort-subr): Doc fix (Bug#13056).
404
a4b0cca1 4052012-12-21 Bastien Guerry <bzg@gnu.org>
acc650b8 406
acc650b8
BG
407 * progmodes/etags.el (tags-search): Fix typo. Bug #13232.
408
0e9c7693
MA
4092012-12-21 Michael Albinus <michael.albinus@gmx.de>
410
411 * simple.el (process-file): Overwrite stderr file, if exists.
412
c6609164
DU
4132012-12-21 Daiki Ueno <ueno@gnu.org>
414
415 * epg.el (epg--start): Print GPG_AGENT_INFO in the debug buffer.
3eb05092 416 (epg-error): Set `error-message' property.
c6609164 417
aa26f345
CY
4182012-12-21 Chong Yidong <cyd@gnu.org>
419
34b4b7eb
CY
420 * international/mule-cmds.el (read-char-by-name): Signal an error
421 if the user does not supply a valid character (Bug#13177).
422
aa26f345
CY
423 * simple.el (transpose-subr-1): Preserve marker positions by
424 changing the insertion sequence (Bug#13122).
425
05c22d87
KD
4262012-12-21 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
427
428 * simple.el (kill-region): Deactivate mark even for empty regions
429 (Bug#13169).
430
f5733f87
CY
4312012-12-21 Chong Yidong <cyd@gnu.org>
432
433 * help-fns.el (describe-variable): Make sure we get the right
434 buffer name (Bug#13105). Suggested by Kelly Dean.
435
fab6916d
MM
4362012-12-20 Michael R. Mauger <mmaug@yahoo.com>
437
438 * comint.el (comint-redirect-previous-input-string): New variable.
439 (comint-redirect-setup, comint-redirect-cleanup)
440 (comint-redirect-preoutput-filter): Use it. Fixes redirection bug.
441 (comint-redirect-preoutput-filter): Fix verbose message.
442
91b982a0
MA
4432012-12-20 Michael Albinus <michael.albinus@gmx.de>
444
445 * progmodes/grep.el (rgrep): Escape command line. Sometimes, it
446 is too long for Tramp. See discussion in
447 <http://thread.gmane.org/gmane.emacs.tramp/8233/focus=8244>.
448
449 * progmodes/compile.el (compilation-start): Remove line escape
450 template.
451
87523aed
DA
4522012-12-20 Dmitry Antipov <dmantipov@yandex.ru>
453
454 * vc/ediff-ptch.el (ediff-map-patch-buffer): Use `point-min-marker'.
455 Adjust comment.
456
ee3c0aec
JB
4572012-12-19 Jonas Bernoulli <jonas@bernoul.li>
458
459 * emacs-lisp/lisp-mnt.el (lm-section-end): Always end before the
460 following non-comment text (bug#13207).
461 (lm-header-multiline): Continuation lines need to be indented more than
462 the first line.
463 (lm-homepage): New function.
464 (lm-with-file): Don't be confused if narrowing is in effect.
f4d79bd0 465
4a74c818
SM
4662012-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
467
f4d79bd0
SM
468 * vc/diff-mode.el (diff-post-command-hook): Don't ignore changes at the
469 very beginning of a hunk (e.g. killing the first line).
470
3c532af6
MA
4712012-12-19 Michael Albinus <michael.albinus@gmx.de>
472
473 * net/tramp-sh.el (tramp-sh-handle-file-acl): Delete empty lines
474 and text properties from returned ACL string.
475 (tramp-sh-handle-set-file-acl): Do not use additional parentheses
476 for "setfacl" command.
477
e0d01ef3
MA
4782012-12-18 Michael Albinus <michael.albinus@gmx.de>
479
480 * net/tramp.el (tramp-error-with-buffer): Give a hint to use
481 `tramp-cleanup-this-connection', when the process has died.
482 (Bug#13151)
483
2387610d
SM
4842012-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
485
486 * icomplete.el (icomplete-completions): Also use … to truncate prefix.
487
19156242
KR
4882012-12-17 Kevin Ryde <user42@zip.com.au>
489
490 * files.el (auto-save-file-name-p): Use \` and \' (bug#13186).
491
53b6a8b1
MA
4922012-12-17 Michael Albinus <michael.albinus@gmx.de>
493
494 Add support for preserving ACL entries of files.
495
496 * net/tramp.el (tramp-file-name-for-operation): Add `file-acl' and
497 `set-file-acl' handlers.
498
19156242
KR
499 * net/tramp-adb.el (tramp-adb-handle-copy-file):
500 Handle PRESERVE-EXTENDED-ATTRIBUTES.
53b6a8b1 501
19156242
KR
502 * net/tramp-compat.el (tramp-compat-copy-file):
503 Handle PRESERVE-EXTENDED-ATTRIBUTES.
53b6a8b1 504
19156242
KR
505 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
506 Add `file-acl' and `set-file-acl' handlers.
507 (tramp-gvfs-handle-copy-file):
508 Handle PRESERVE-EXTENDED-ATTRIBUTES.
509 (tramp-gvfs-handle-file-acl, tramp-gvfs-handle-set-file-acl):
510 New defuns.
53b6a8b1 511
19156242
KR
512 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
513 Add `file-acl' and `set-file-acl' handlers.
53b6a8b1
MA
514 (tramp-remote-acl-p, tramp-sh-handle-file-acl)
515 (tramp-sh-handle-set-file-acl): New defuns.
19156242
KR
516 (tramp-sh-handle-copy-file, tramp-do-copy-or-rename-file):
517 Handle PRESERVE-EXTENDED-ATTRIBUTES.
53b6a8b1 518
19156242
KR
519 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
520 Add `file-acl' and `set-file-acl' handlers.
53b6a8b1
MA
521 (tramp-smb-handle-copy-file): Handle PRESERVE-EXTENDED-ATTRIBUTES.
522
6ae57a67
KD
5232012-12-17 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
524
525 * help-macro.el (make-help-screen): Instead of switch-to-buffer
19156242 526 use pop-to-buffer with NORECORD argument t. As buffer name, use
6ae57a67
KD
527 *Metahelp* with a leading space (Bug#13190).
528
7c3d167f
RF
5292012-12-16 Romain Francoise <romain@orebokech.com>
530
531 * files.el (file-extended-attributes)
532 (set-file-extended-attributes): New functions.
533 (backup-buffer): Use them to handle both SELinux context and ACL
534 entries.
535 (backup-buffer-copy): Work with an alist of extended attributes,
536 rather than an SELinux context.
537 (basic-save-buffer-2): Ditto.
538
19b748ad
TM
5392012-12-16 Timo Myyrä <timo.myyra@gmail.com>
540
541 * battery.el (battery-bsd-apm): New function.
542
70042c64
JB
5432012-12-16 Jay Belanger <jay.p.belanger@gmail.com>
544
545 * calc/calc.el (calc-standard-date-formats): Adjust one of the
546 standard date formats.
547
279f9b06
JL
5482012-12-15 Juri Linkov <juri@jurta.org>
549
550 * isearch.el (isearch-mode-map): Bind `C-x 8 RET' to
551 `isearch-insert-char-by-name'.
552 (with-isearch-suspended): New defmacro with body mostly from
553 `isearch-edit-string' except the part that sets
554 `isearch-new-string' and `isearch-new-message'.
555 (isearch-edit-string): Use new macro `with-isearch-suspended' with
556 body that sets `isearch-new-string' and `isearch-new-message'.
557 (isearch-insert-char-by-name): New command.
558 * international/mule-cmds.el (read-char-by-name): Let-bind
559 `enable-recursive-minibuffers' to t.
560 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00234.html
561
8370def5
JL
5622012-12-15 Juri Linkov <juri@jurta.org>
563
564 * isearch.el (isearch-delete-char, isearch-del-char): Doc fix.
565 (Bug#13175)
566
178fb95d
CS
5672012-12-15 Christopher Schmidt <christopher@ch.ristopher.com>
568
569 * dired-x.el (dired-guess-shell-command): Put colon at the end of
570 the prompt. (Bug#13045)
571
a5f74442
GM
5722012-12-14 Glenn Morris <rgm@gnu.org>
573
574 * emacs-lisp/macroexp.el (macroexp--warn-and-return):
575 Try to include filename in non-bytecomp warning. (Bug#13132)
576
97976f9f
PE
5772012-12-14 Paul Eggert <eggert@cs.ucla.edu>
578
579 Fix permissions bugs with setgid directories etc. (Bug#13125)
580 * files.el (backup-buffer): Don't rely on 9th output of
581 file-attributes, as it's now a placeholder. Instead, use the new
582 optional arg of file-ownership-preserved-p.
583 (file-ownership-preserved-p): New optional arg GROUP.
584 Fix mishandling of setuid directories that would cause this
585 function to return t when it should have returned nil.
586 Document what happens if the file does not exist, and when
587 it's not known whether the ownership will be preserved.
588 * net/tramp-sh.el (tramp-sh-handle-file-ownership-preserved-p):
589 Likewise.
590 (tramp-get-local-gid): Use group-gid for integer, as that's
591 faster and more reliable.
592
016b2a42
JD
5932012-12-14 Julien Danjou <julien@danjou.info>
594
19156242
KR
595 * progmodes/sql.el (sql-mode-postgres-font-lock-keywords):
596 Update keywords list, data type and PL/pgSQL.
016b2a42 597
665e5e07
DA
5982012-12-14 Dave Abrahams <dave@boostpro.com>
599
600 * vc/ediff-util.el (ediff-buffer-type): New function.
601 (ediff-clone-buffer-for-current-diff-comparison): Compute the buf-type
602 rather than taking it as as argument.
603 (ediff-inferior-compare-regions): Adjust calls accordingly (bug#11319).
604
d72e9e92
RC
6052012-12-14 Ryan Crum <ryan.crum@eleostech.com>
606
607 * json.el: Add pretty-print option (bug#12634).
608 (json-encoding-separator, json-encoding-default-indentation)
609 (json--encoding-current-indentation, json-encoding-pretty-print)
610 (json-encoding-lisp-style-closings): New vars.
611 (json--with-indentation): New macro.
612 (json-encode-hash-table, json-encode-alist, json-encode-plist)
613 (json-encode-array): Use it to obey json-encoding-pretty-print.
614 (json-pretty-print-buffer, json-pretty-print): New commands.
615
dbb530d9
DG
6162012-12-14 Dmitry Gutov <dgutov@yandex.ru>
617
618 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
619 Extract `ruby-syntax-propertize-expansions'.
620 (ruby-syntax-propertize-expansions): Only change syntax on
621 certain string delimiters, to punctuation. This way the common
622 functions like forward-word and thing-at-point still work.
623 (ruby-match-expression-expansion): Improve readability.
bb808526
DG
624 (ruby-block-contains-point): New function.
625 (ruby-add-log-current-method): Handle several edge cases.
dbb530d9 626
ce0440ff
JB
6272012-12-13 Juanma Barranquero <lekktu@gmail.com>
628
629 * emacs-lisp/edebug.el (edebug-unload-function): Make sure that
630 unload-feature finishes even when aborting an ongoing edebug session.
631 Also, do not worry about edebug-mode, unload-feature takes care of it.
632
f10331bf
AS
6332012-12-13 Andreas Schwab <schwab@suse.de>
634
635 * net/tls.el (tls-program): Update customize type.
636
5f3a3bb1
JB
6372012-12-13 Juanma Barranquero <lekktu@gmail.com>
638
639 * emacs-lisp/edebug.el (edebug--require-cl-read): New function.
640 (edebug-setup-hook, cl-read-load-hooks): Use it.
641 (edebug-unload-function): New function. (Bug#13163)
642
6ce21463
MA
6432012-12-13 Michael Albinus <michael.albinus@gmx.de>
644
645 * net/tramp-adb.el (tramp-adb-file-name-p): Make it a defsubst.
646 Otherwise, there could be errors in autoloading. (Bug#13151)
647
d754b364
JH
6482012-12-13 Jürgen Hötzel <juergen@archlinux.org>
649
650 * net/tramp-adb.el (tramp-adb-wait-for-output): Remove spurious " ^H"
651 sequences.
652
727f9739 6532012-12-13 Alan Mackenzie <acm@muc.de>
14b8c3d9
AM
654
655 Make CC Mode not hang when _some_ lines end in CRLF. Bug #11841.
656 * progmodes/cc-engine.el (c-backward-comments): Add code to work
657 around `forward-comment' not recognizing ^M as whitespace.
658
727f9739 6592012-12-13 Fabián Ezequiel Gallina <fgallina@cuca>
2c43a9ad
FEG
660
661 * progmodes/python.el (python-skeleton-class)
662 (python-skeleton-def): Do not add space after defun name.
663
eb8006c6
SM
6642012-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
665
666 * emacs-lisp/cl.el (letf): Make it an alias of cl-letf.
667 (cl--symbol-function): Remove (now that funbound is like nil).
668
4c74b1e4
GM
6692012-12-12 Glenn Morris <rgm@gnu.org>
670
671 * button.el (button--area-button-p): Fix typo.
672
37f38bca
SS
6732012-12-12 Sam Steingold <sds@gnu.org>
674
675 * frame.el (frame-maximization-style): New user option.
676 (toggle-frame-maximized): Toggle frame maximization according to
677 `frame-maximization-style', bound to <f11>.
678 (cycle-frame-maximized): Cycle between all maximization styles and
679 non-maximized frame, bound to shift-<f11>.
680
fd49a218
DC
6812012-12-12 David Cadé <codename68@gmail.com>
682
683 * mpc.el (mpc-format): Use truncate-string-to-width (bug#13143).
684
69e1c203
JB
6852012-12-12 Jonas Bernoulli <jonas@bernoul.li>
686
687 * lisp/emacs-lisp/eieio.el: Prettier object pretty-printing (bug#13115).
688 (eieio-override-prin1): Don't quote kewords and booleans.
689 (object-write) <eieio-default-superclass>: Don't put closing parens
690 on new line, avoid needless empty lines, align values that are objects
691 with the slot keyword (instead of beginning on the same line).
692 (eieio-list-prin1): Align value with slot keyword; increase
693 eieio-print-depth before printing members of the list.
694
4b0df848
SM
6952012-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
696
030f4af5
SM
697 * mail/emacsbug.el (report-emacs-bug): Move the intangible text to
698 a display text-property.
699 (report-emacs-bug-hook): Don't bother deleting it any more.
700
6ac1f8ca
SM
701 * hilit-chg.el (highlight-save-buffer-state): Delete.
702 Use with-silent-modifications instead.
703 (hilit-chg-set-face-on-change): Only fixup the text that's modified.
704
4b0df848
SM
705 * button.el: Handle buttons in display text-properties.
706 (button--area-button-p, button--area-button-string):
707 Use (STRING . STRING-POS) representation instead of just STRING.
708
d46d2d3a
EZ
7092012-12-11 Eli Zaretskii <eliz@gnu.org>
710
711 * makefile.w32-in (compile4-SH): Fix a typo that caused term
712 subdirectory be skipped.
713
a0099d31
GM
7142012-12-11 Glenn Morris <rgm@gnu.org>
715
36327e4f
GM
716 * net/rcirc.el (rcirc-urls, rcirc-condition-filter): Doc fixes.
717
a0099d31
GM
718 * progmodes/f90.el (f90-line-continued, f90-indent-region):
719 Treat preprocessor lines embedded in continuations like comments.
720 (f90-indent-line): Special-case preprocessor lines. (Bug#13138)
721
ff3f6c26
JB
7222012-12-11 Jay Belanger <jay.p.belanger@gmail.com>
723
724 * calc/calc.el (calc-standard-date-formats): Add more date
725 formats.
726 * calc/calc-forms.el (math-parse-iso-date): New function.
727 (math-parse-date): Use `math-parse-iso-date' when appropriate.
728 (math-parse-iso-date-validate): Add extra error checking.
729 (calc-date-notation): Add ability to access new date formats.
730
ed6f2cd4
SM
7312012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
732
733 * hi-lock.el (hi-lock--regexps-at-point): Fix boundary case for
734 font-lock as well as when there's no text-property.
735
c868b919
J
7362012-12-10 Jambunathan K <kjambunathan@gmail.com>
737
738 * hi-lock.el: Refine the choice of default face.
739 (hi-lock-keyword->face): New function. Use it wherever we used
740 cadadadr instead.
741 (hi-lock--regexps-at-point): Ignore faces that can't come from hi-lock.
742 (hi-lock--last-face): Remove var.
743 (hi-lock--unused-faces): New var to replace it.
744 (hi-lock-read-face-name): Use/maintain it.
745 (hi-lock-unface-buffer): Maintain it. Fix error for the C-u case.
746 (hi-lock-set-pattern): Ignore new rule if it has the same regexp even
747 if it has another face.
748
2b8c9064
EZ
7492012-12-10 Eli Zaretskii <eliz@gnu.org>
750
751 * subr.el (w32notify-handle-event): New function.
752 (inotify-handle-event): Doc fix.
753
81606b10
RS
7542012-12-10 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
755
756 * subr.el (inotify-event-p, inotify-handle-event): New functions.
757
265c2fbf 7582012-12-10 Dani Moncayo <dmoncayo@gmail.com>
6ce49f24
DM
759
760 * simple.el (just-one-space): Doc fix.
761
265c2fbf 7622012-12-10 Eli Zaretskii <eliz@gnu.org>
8d43bd30 763
c868b919 764 * textmodes/texinfo.el (texinfo-enable-quote-envs): Add "smallexample".
8d43bd30 765
265c2fbf 7662012-12-10 Le Wang <l26wang@gmail.com>
3a21537c
LW
767
768 * hilit-chg.el (hilit-chg-set-face-on-change): Don't burp in
769 narrowed buffer (bug#12361).
770
265c2fbf 7712012-12-10 Juanma Barranquero <lekktu@gmail.com>
bf741d33
JB
772
773 * vc/vc-hooks.el (vc-state): Doc fix.
774
265c2fbf 7752012-12-10 Glenn Morris <rgm@gnu.org>
07026166
GM
776
777 * mail/rmail.el (rmail-maybe-display-summary):
778 Preserve buffer, in case select-window changes it. (Bug#13066)
779
265c2fbf 7802012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
82e1f390
SM
781
782 * emacs-lisp/cl.el, emacs-lisp/cl-lib.el: Move cl-unload-function and
783 cl-load-hook where they belong.
784
bad162fd
SM
7852012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
786
787 * emacs-lisp/cl-lib.el (cl-declaim): Paren typo.
788
ca065258
EZ
7892012-12-09 Eli Zaretskii <eliz@gnu.org>
790
791 Parallelize byte compilation on MS-Windows.
792 * makefile.w32-in (WINS_BASIC1, WINS_BASIC2, WINS_BASIC3)
bad162fd 793 (WINS_BASIC4): New variables, subdivide subdirectories into 4 parts.
ca065258
EZ
794 (WINS_BASIC): Define as concatenation of the above.
795 (compile): Subdivide into 4 separate and independent jobs that can
796 be run in parallel.
797 (compile0-CMD, compile0-SH): New targets for compiling
798 COMPILE_FIRST files, which are prerequisites for the rest of the
799 byte-compilation.
bad162fd
SM
800 (compile1-CMD, compile2-CMD, compile3-CMD, compile4-CMD):
801 New targets for parallel compilation with cmd.exe.
ca065258
EZ
802 (compile1-SH, compile2-SH, compile3-SH, compile4-SH): Ditto for
803 compiling under a Unixy shell.
804
5dea55d2
CY
8052012-12-09 Chong Yidong <cyd@gnu.org>
806
807 * simple.el (set-mark-default-inactive): Delete this
808 accidentally-introduced option.
809 (set-mark-command, exchange-point-and-mark): Remove calls.
810
c6c08d3f
GM
8112012-12-09 Glenn Morris <rgm@gnu.org>
812
813 * emacs-lisp/lisp-mode.el (eval-defun-1): Doc fix.
814 Respect a defcustom's :set function, if appropriate. (Bug#109)
815 (eval-defun): Doc fix.
816
858aab4c
JL
8172012-12-08 Juri Linkov <juri@jurta.org>
818
819 * info.el (Info-copy-current-node-name, Info-breadcrumbs)
820 (Info-fontify-node, Info-bookmark-make-record): Remove the
821 file extension from Info-current-file (Bug#13016).
822
2e4ad7e5
SM
8232012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
824
825 * hi-lock.el (hi-lock-unface-buffer): If there's no matching regexp at
826 point, still provide some default.
827 (hi-lock--regexps-at-point): Don't enforce a "hi-lock-" prefix on face
828 names, since we don't use it right now. Actually return the list.
829 (hi-lock-file-patterns, hi-lock-interactive-patterns): Use defvar-local.
830
75498db0
CY
8312012-12-07 Chong Yidong <cyd@gnu.org>
832
ffe7ba8f
CY
833 * novice.el (disabled-command-function): Remove a spurious help
834 xref (Bug#13043). Suggested by Kelly Dean.
835
454eb095
CY
836 * subr.el (text-clone-maintain): Fix clone overlay deletion when a
837 syntax is specified (Bug#13025).
838
75498db0
CY
839 * info.el (Info-set-mode-line): Remove the file extension from
840 Info-current-file if there is one (Bug#13016).
841
13a40633
GM
8422012-12-07 Glenn Morris <rgm@gnu.org>
843
54c8b5ba
GM
844 * mail/rmail.el (rmail-mime-decoded): New permanent local.
845 (rmail-show-message-1): Set rmail-mime-decoded when appropriate.
846 * mail/rmailedit.el (rmail-cease-edit): Respect rmail-mbox-format
847 and rmail-mime-decoded. (Bug#9841)
848
13a40633
GM
849 * mail/unrmail.el (unrmail-mbox-format): New option. (Bug#6574)
850 (batch-unrmail, unrmail): Doc fixes.
851 (unrmail): Respect unrmail-mbox-format.
852 * mail/rmail.el (rmail-mbox-format): New option.
853 (rmail-show-message-1): Respect rmail-mbox-format.
854
4611a3cc
SM
8552012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
856
857 * emacs-lisp/cl-macs.el (cl-tagbody): New macro.
858
1812c724
SM
8592012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
860
338bfefa
SM
861 Further cleanup of the "cl-" namespace. Fit CL in 80 columns.
862 * emacs-lisp/cl-macs.el (cl--pop2, cl--optimize-safety)
863 (cl--optimize-speed, cl--not-toplevel, cl--parse-loop-clause)
864 (cl--expand-do-loop, cl--proclaim-history, cl--declare-stack)
865 (cl--do-proclaim, cl--proclaims-deferred): Rename from the "cl-" prefix.
866 (cl-progv): Don't rely on dynamic scoping to find the body.
867 * emacs-lisp/cl-lib.el (cl--optimize-speed, cl--optimize-safety)
868 (cl--proclaims-deferred): Rename from the "cl-" prefix.
869 (cl-declaim): Use backquotes.
870 * emacs-lisp/cl-extra.el (cl-make-random-state, cl-random-state-p):
871 Use "cl--" prefix for the object's tag.
872
1812c724
SM
873 * ses.el: Use advice-add/remove.
874 (ses--advice-copy-region-as-kill, ses--advice-yank): New functions.
875 (copy-region-as-kill, yank): Use advice-add.
876 (ses-unload-function): Use advice-remove.
877
24fc9480
JB
8782012-12-06 Jonas Bernoulli <jonas@bernoul.li>
879
880 * button.el: Make them work in header-lines (bug#12817).
881 (button-map): Add bindings for header-line and mode-line use.
882 (button-get, button-put, button-label): `button' may now be a string.
883 (button-activate): Don't make it a defsubst.
884 (button--area-button-p, button--area-button-string): New functions.
885 (make-text-button): Fix the return value when `beg' was a string.
886 (push-button): Handle the mode-line case.
887
853c1ffc
SM
8882012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
889
93852cb0
SM
890 * progmodes/sql.el: Use cl-lib and lexical-binding; various cleanup.
891 (sql-signum): Remove. Use `cl-signum' instead.
892 (sql-read-passwd): Remove; use read-passwd instread.
893 (sql-get-login-ext): Use read-string.
894 (sql-get-login): Use dolist and pcase.
895 (sql--completion-table): Rename from sql-try-completion.
896 Use complete-with-action.
897 (sql-mode): Don't change abbrev-all-caps globally.
898 (sql-connect): Don't rely on dynamic scoping for `new-name'.
899 (sql-postgres-completion-object): Initialize vars in their `let'.
900 (sql-comint-sybase, sql-comint-sqlite, sql-comint-mysql)
901 (sql-comint-solid, sql-comint-ms, sql-comint-postgres)
902 (sql-comint-interbase): Use a single append, without setq.
903 (sql-comint-linter): Same, and unwind-protect the LINTER_MBX var.
904
853c1ffc
SM
905 * hi-lock.el: Rework the default face and the serialize regexp code.
906 (hi-lock--auto-select-face-defaults): Remove.
907 (hi-lock-string-serialize-serial): Remove.
908 (hi-lock--hashcons-hash): Rename from hi-lock-string-serialize-hash;
909 make weak.
910 (hi-lock--hashcons): Rename from hi-lock-string-serialize, return an
911 equal string.
912 (hi-lock-set-pattern): Adjust accordingly.
913 (hi-lock--regexps-at-point): Simplify accordingly.
914 (hi-lock--auto-select-face-defaults): Remove.
915 (hi-lock--last-face): New var to replace it.
916 (hi-lock-read-face-name): Rewrite (bug#11095).
917 (hi-lock-unface-buffer): Arrange for the face to be the next default.
918
5504e2c7
MA
9192012-12-06 Michael Albinus <michael.albinus@gmx.de>
920
853c1ffc
SM
921 * net/tramp.el (tramp-replace-environment-variables):
922 Hide compiler warning.
5504e2c7
MA
923 (tramp-file-name-for-operation): Remove `executable-find',
924 `start-process', `call-process' and `call-process-region'.
925
853c1ffc 926 * net/tramp-compat.el (top): Don't require 'tramp-util and 'tramp-vc.
5504e2c7
MA
927
928 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Ensure backward
929 compatibility.
930
931 * net/tramp-sh.el (top): Remove `tramp-sh-handle-call-process-region'.
932
e1d51545
CY
9332012-12-06 Chong Yidong <cyd@gnu.org>
934
935 * ffap.el (ffap-replace-file-component): Fix typo.
936
d8ad4d3f 9372012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
ef54d315
SM
938
939 * progmodes/octave-mod.el (octave-mark-block): Move out of tokens and
940 fix open-paren-like token test (bug#12785).
941
d8ad4d3f 9422012-12-06 Glenn Morris <rgm@gnu.org>
52d129cd
GM
943
944 * mail/rmailsum.el (rmail-new-summary): Tweak for
945 rmail-maybe-display-summary changing buffer. (Bug#13066)
946
d8ad4d3f 9472012-12-06 Juri Linkov <juri@jurta.org>
68bf4e09
JL
948
949 * info.el (Info-fontify-node): Don't hide the last newline.
950 (Bug#12272)
951
9ad948e2
KY
9522012-12-06 Katsumi Yamaoka <yamaoka@jpl.org>
953
954 * mail/mailabbrev.el (mail-abbrev-expand-wrapper): Work in minibuffer
955 so as to enable message-read-from-minibuffer to expand mail aliases.
956
4b5c89ee
SM
9572012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
958
959 * minibuf-eldef.el (minibuf-eldef-update-minibuffer): Don't mess with
960 the `intangible' property.
961 Suggested by Christopher Schmidt <christopher@ch.ristopher.com>
962
5602a53a
DD
9632012-12-05 Deniz Dogan <deniz@dogan.se>
964
965 * net/rcirc.el (rcirc-urls): Update documentation.
966 (rcirc-condition-filter): New function.
967 (rcirc-browse-url, rcirc-markup-urls): Use only URLs before point
968 and exclude consecutive duplicate URLs (Bug#6082).
969
51b890ac
MA
9702012-12-05 Michael Albinus <michael.albinus@gmx.de>
971
d5f97f62
MA
972 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
973 Check return code of copy command.
974
853c1ffc
SM
975 * net/tramp-adb.el (tramp-adb-sdk-dir, tramp-adb-prompt):
976 Use group `tramp'. Add version.
51b890ac 977
04b14f2b
CY
9782012-12-05 Chong Yidong <cyd@gnu.org>
979
a3680194
CY
980 * ffap.el (ffap-url-regexp): Don't require matching at front of
981 string (Bug#4952).
982 (ffap-url-p): If only a substring matches, return that.
983 (ffap-url-at-point): Use the return value of ffap-url-p.
984 (ffap-read-file-or-url, ffap-read-file-or-url-internal)
985 (find-file-at-point, dired-at-point, dired-at-point-prompter)
986 (ffap-guess-file-name-at-point): Likewise.
987 (ffap-replace-file-component): Fix typo.
988
04b14f2b
CY
989 * info.el (info-display-manual): Add existing Info buffers, whose
990 files may not be in Info-directory-list, to the completion.
991 (info--manual-names): New helper function.
992
49596095
GM
9932012-12-05 Glenn Morris <rgm@gnu.org>
994
995 * vc/vc-hg.el (vc-hg-resolve-when-done, vc-hg-find-file-hook):
996 New functions, for detecting and resolving conflicts. (Bug#10709)
997
b85aec93
J
9982012-12-04 Jambunathan K <kjambunathan@gmail.com>
999
1000 * hi-lock.el (hi-lock-auto-select-face): New user variable.
1001 (hi-lock-auto-select-face-defaults): New buffer local variable.
1002 (hi-lock-read-face-name): Honor `hi-lock-auto-select-face'.
1003 (hi-lock-unface-buffer): Prompt user with useful defaults.
1004 With prefix arg, unhighlight all hi-lock patterns in buffer.
1005
8515507f
SM
10062012-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
1007
1008 * obsolete/terminal.el, obsolete/longlines.el: Add obsolecence info.
1009
72cebfb7
MA
10102012-12-04 Michael Albinus <michael.albinus@gmx.de>
1011
1012 * Makefile.in (TRAMP_SRC):
1013 * makefile.w32-in (TRAMP_SRC): Add tramp-adb.el.
1014
0ec3f7ea
JH
10152012-12-04 Juergen Hoetzel <juergen@archlinux.org>
1016
1017 * net/tramp-adb.el: New package.
1018
770de7cf
CY
10192012-12-04 Chong Yidong <cyd@gnu.org>
1020
ce3e7725
CY
1021 * terminal.el: Move to obsolete/.
1022
770de7cf
CY
1023 * longlines.el: Move to obsolete/.
1024
1025 * vc/ediff-diff.el (ediff-extract-diffs, ediff-extract-diffs3):
1026 Remove code referring to longlines mode.
1027
c38a186c
JL
10282012-12-03 Juri Linkov <juri@jurta.org>
1029
1030 * sort.el (delete-duplicate-lines): New command. (Bug#13032)
1031
329bfd64
AM
10322012-12-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1033
1034 * textmodes/ispell.el (ispell-init-process)
475eea6f
AM
1035 (ispell-start-process, ispell-internal-change-dictionary):
1036 Make sure personal dictionary name is expanded after initial
1037 `default-directory' value. Use expanded strings for
1038 keep/restart checks and for value (Bug#13019).
329bfd64 1039
77a74935
JB
10402012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
1041
1042 * calc/calc-forms.el (math-date-to-iso-dt): Fix weekday number.
1043
c5bc2d1d 10442012-12-03 Leo Liu <sdl.web@gmail.com>
ff3d86d0
LL
1045
1046 * files.el (dir-locals-read-from-file): Check file non-empty
1047 before reading. (Bug#13038)
1048
c5bc2d1d 10492012-12-03 Glenn Morris <rgm@gnu.org>
6247eff5
GM
1050
1051 * jka-cmpr-hook.el (jka-compr-get-compression-info):
1052 Remove any version extension before checking filename. (Bug#13006)
1053 (jka-compr-compression-info-list): Belated :version bump.
1054
c5bc2d1d 10552012-12-03 Chong Yidong <cyd@gnu.org>
a5bf43ba 1056
8ecba97d
CY
1057 * simple.el (transient-mark-mode): Doc fix (Bug#11523).
1058
a5bf43ba
CY
1059 * buff-menu.el (Buffer-menu-delete-backwards, Buffer-menu-mode)
1060 (buffer-menu): Doc fix (Bug#12294).
1061
c5bc2d1d 10622012-12-03 Roland Winkler <winkler@gnu.org>
34755291
RW
1063
1064 * calendar/diary-lib.el (diary-header-line-format): Use keybinding
1065 of diary-show-all-entries in the diary buffer (Bug#12994).
1066
c5bc2d1d 10672012-12-03 Michael Albinus <michael.albinus@gmx.de>
c2f5b60a
MA
1068
1069 * net/tramp-sh.el (tramp-perl-encode): Use "read STDIN" instead of
1070 "<STDIN>". This is binary safe.
1071
682ceaf8
JB
10722012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
1073
1074 * calc/calc-forms.el (math-absolute-from-iso-dt)
1075 (math-date-to-iso-dt, math-parse-iso-date-validate)
1076 (math-iso-dt-to-date): New functions.
1077 (math-fd-iso-dt, math-fd-isoyear, math-fd-isoweek)
1078 (math-fd-isoweekday): New variables.
1079 (calc-date-notation, math-parse-standard-date, math-format-date)
1080 (math-format-date-part): Add support for more formatting codes.
1081
db47d5e9
DG
10822012-12-02 Dmitry Gutov <dgutov@yandex.ru>
1083
1084 * vc/vc.el (vc-delete-file, vc-rename-file): Default to the
1085 current buffer's file name when called interactively (Bug#12488).
1086
3faf4944
JL
10872012-12-02 Juri Linkov <juri@jurta.org>
1088
1089 * info.el (info-display-manual): Don't clobber an existing Info
010db6da 1090 buffer (Bug#10770). Add completion (Bug#10771).
3faf4944 1091
cb5d51dc
YN
10922012-12-01 Yuya Nishihara <yuya@tcha.org> (tiny change)
1093
1094 * vc/vc-hooks.el (vc-find-file-hook): Expand buffer-file-truename
1095 before using it for comparison (Bug#5297).
1096
f38cd76e
JA
10972012-12-01 Jari Aalto <jari.aalto@cante.net>
1098
1099 * textmodes/css-mode.el (css-current-defun-name): New function.
1100 (css-mode): Use it.
1101
1102 * textmodes/sgml-mode.el (html-current-defun-name): New function.
1103 (html-mode): Use it.
1104
ba03d0d9
CY
11052012-12-01 Chong Yidong <cyd@gnu.org>
1106
1107 Modularize add-log-current-defun (Bug#2224).
1108 Suggested by Jari Aalto.
1109
1110 * vc/add-log.el (add-log-current-defun-function): Doc fix.
1111 (add-log-current-defun): Move mode-specific code to other files.
1112 (add-log-lisp-like-modes, add-log-c-like-modes)
1113 (add-log-tex-like-modes): Variables deleted.
1114
1115 * emacs-lisp/lisp-mode.el (lisp-current-defun-name): New.
1116 (lisp-mode-variables): Use it.
1117
1118 * progmodes/cc-mode.el (c-common-init):
1119 * progmodes/cperl-mode.el (cperl-mode): Set a value for
1120 add-log-current-defun-function.
1121
1122 * progmodes/m4-mode.el (m4-current-defun-name): New function.
1123 (m4-mode): Use it.
1124
1125 * progmodes/perl-mode.el (perl-current-defun-name): New.
1126 (perl-mode): Use it.
1127
853c1ffc
SM
1128 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
1129 Use lisp-current-defun-name.
ba03d0d9
CY
1130
1131 * textmodes/tex-mode.el (tex-current-defun-name): New.
1132 (tex-common-initialization): Use it.
1133
1134 * textmodes/texinfo.el (texinfo-current-defun-name): New.
1135 (texinfo-mode): Use it.
1136
92eadba5
CY
11372012-12-01 Chong Yidong <cyd@gnu.org>
1138
1139 * emacs-lisp/lisp-mode.el (lisp-mode-variables, lisp-mode):
1140 * progmodes/autoconf.el (autoconf-mode):
1141 * progmodes/js.el (js-mode):
1142 * progmodes/make-mode.el (makefile-mode, makefile-makepp-mode)
1143 (makefile-bsdmake-mode, makefile-imake-mode, makefile-browse):
1144 * progmodes/perl-mode.el (perl-mode):
1145 * progmodes/sh-script.el (sh-mode, sh-set-shell):
1146 * textmodes/css-mode.el (css-mode):
1147 * textmodes/sgml-mode.el (html-mode, sgml-mode)
1148 (sgml-tags-invisible, sgml-guess-indent):
1149 * textmodes/tex-mode.el (tex-common-initialization)
1150 (latex-complete-bibtex-keys, tex-shell, tex-main-file)
1151 (doctex-mode, plain-tex-mode, latex-mode):
1152 * textmodes/texinfo.el (texinfo-mode): Use setq-local.
1153
3ddbf803
KK
11542012-12-01 Kirk Kelsey <kirk.kelsey@0x4b.net>
1155
1156 * vc/vc-hg.el (vc-hg-next-revision):
1157 Ensure use of default "tip" output format. (Bug#6968)
1158
f0b6ae63
KS
11592012-12-01 Kim F. Storm <storm@cua.dk>
1160
1161 * startup.el (fancy-startup-tail): Add a clickable link
1162 (Bug#2176).
1163
c01bf73e
CY
11642012-12-01 Chong Yidong <cyd@gnu.org>
1165
1166 * startup.el (fancy-startup-tail): Improve the message about
1167 auto-save files (Bug#2176).
1168
f0b6ae63
KS
1169 * files.el (recover-session): Improve the descriptive message, and
1170 use substitute-command-keys.
1171
a9400458
GM
11722012-12-01 Glenn Morris <rgm@gnu.org>
1173
1174 * ido.el (ido-file-internal):
1175 Handle other-window, other-frame for dired. (Bug#13036)
1176
fb3bf6ce
GM
11772012-11-30 Glenn Morris <rgm@gnu.org>
1178
1179 * icomplete.el (icomplete-separator): Fix :version.
1180
a813fe3f
CY
11812012-11-30 Chong Yidong <cyd@gnu.org>
1182
1183 * shell.el (shell): For C-u M-x shell, use an inactive shell
1184 buffer as the default (Bug#1975).
276479fd
CY
1185 (shell-apply-ansi-color, shell-reapply-ansi-color): New functions.
1186 (shell-mode): Use them to reapply ansi colorization if Shell mode
1187 is re-enabled.
a813fe3f 1188
a8b733a5
CY
11892012-11-30 Yuriy Vostrikov <delamonpansie@gmail.com> (tiny change)
1190
1191 * vc/vc-git.el (vc-git-command): Disable the pager (Bug#6137).
1192
6fccd6e8
SB
11932012-11-30 Samuel Bronson <naesten@gmail.com>
1194
1195 * progmodes/grep.el (grep-compute-defaults): Do not pass the -e
1196 flag to xargs, for compatibility with BSD xargs (Bug#11703).
1197
53c9a337
TT
11982012-11-30 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
1199
1200 * textmodes/fill.el (fill-region-as-paragraph): Handle overshoot
1201 by move-to-column (Bug#3234).
1202
ccf520bb
CY
12032012-11-30 Chong Yidong <cyd@gnu.org>
1204
1205 * longlines.el (longlines-wrap-line, longlines-encode-region):
1206 Preserve text properties (Bug#1425).
1207
171b0949
OT
12082012-11-30 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
1209
1210 * vc/vc.el (vc-register): Allow registering a file which is
1211 already registered with a different backend (Bug#10589).
1212
cc37e70f
J
12132012-11-29 Jambunathan K <kjambunathan@gmail.com>
1214 Stefan Monnier <monnier@iro.umontreal.ca>
1215
1216 * icomplete.el: Change separator; add ido-style commands.
1217 (icomplete-show-key-bindings): Remove custom var.
1218 (icomplete-get-keys): Remove function.
1219 (icomplete-forward-completions, icomplete-backward-completions):
1220 New commands.
1221 (icomplete-minibuffer-map): New var.
1222 (icomplete-minibuffer-setup): Use it.
1223 (icomplete-exhibit): Don't delay if the list of completions is known.
1224 (icomplete-separator): New custom.
1225 (icomplete-completions): Use it.
1226 * minibuffer.el (completion-all-sorted-completions): Delete duplicates.
1227 (minibuffer-force-complete-and-exit): New command.
1228 (minibuffer--complete-and-exit): New function extracted from
1229 minibuffer-complete-and-exit.
1230 (minibuffer-complete-and-exit): Use it.
83e12fe0
SM
1231
1232 * progmodes/etags.el (visit-tags-table-buffer): Give a more precise
1233 error message when the file doesn't exist (bug#12974).
1234
31646597
KD
12352012-11-29 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
1236
1237 * simple.el (activate-mark): Run activate-mark-hook (bug#13027).
1238
e9df8f87
GM
12392012-11-29 Glenn Morris <rgm@gnu.org>
1240
824eefe4
GM
1241 * files.el (hack-dir-local-variables): Warn if try to set
1242 coding via dir-locals, since it doesn't work. (Bug#7169)
1243
4ad900d9
GM
1244 Add desktop support for restoring vc-dir buffers. (Bug#10606)
1245 * vc/vc-dir.el (vc-dir-mode): Autoload it (for desktop restore).
1246 Set buffer-local value of desktop-save-buffer.
1247 (vc-dir-desktop-buffer-misc-data, vc-dir-restore-desktop-buffer):
1248 New functions.
1249 (desktop-buffer-mode-handlers): Add vc-dir-mode entry.
1250 * desktop.el (desktop-save-buffer-p): Treat vc-dir like dired.
1251
e9df8f87
GM
1252 * files.el (inhibit-local-variables-ignore-case): New. (Bug#10610)
1253 (inhibit-local-variables-p): Use inhibit-local-variables-ignore-case.
1254 Doc fix.
1255 (inhibit-local-variables-regexps, inhibit-local-variables-suffixes):
1256 Doc fixes.
1257
e7c8fcc4
JB
12582012-11-28 Jay Belanger <jay.p.belanger@gmail.com>
1259
1260 * calc/calc-forms.el (calc-date-notation): Fix regexp
1261 used to find time codes. Fix symbol for seconds.
1262
48d6d9c0
GM
12632012-11-27 Glenn Morris <rgm@gnu.org>
1264
1265 * emacs-lisp/derived.el (derived-mode-make-docstring):
1266 Don't mention "abbrev" or "syntax" if nil. (Bug#11277)
1267
369f945d
SM
12682012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
1269
1270 * textmodes/table.el (table-insert): Don't use `symbol-name' on
1271 lexically scoped variables (bug#13005).
1272
5c9cf0a3 12732012-11-27 Glenn Morris <rgm@gnu.org>
98f99594 1274
999e745e
GM
1275 * vc/vc-hooks.el (vc-mistrust-permissions):
1276 Default to t, to avoid data-loss. (Bug#11490)
98f99594 1277
5c9cf0a3 12782012-11-27 Fabián Ezequiel Gallina <fgallina@cuca>
207cb73c 1279
999e745e
GM
1280 * progmodes/python.el (python-indent-guess-indent-offset):
1281 If indentation is guessed make python-indent-offset buffer-local.
1282
207cb73c 1283 Fix Imenu regression.
999e745e
GM
1284 * progmodes/python.el (python-nav-beginning-of-defun):
1285 Fix forward movement when statement(s) separates point from defun.
207cb73c
FEG
1286 (python-imenu-prev-index-position): New function.
1287
5c9cf0a3 12882012-11-27 Eli Zaretskii <eliz@gnu.org>
33a488e4
EZ
1289
1290 * subr.el (buffer-file-type): Declare with defvar-local. Doc fix.
1291
1292 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
865f7d8f 1293 Don't set buffer-file-type. Return nil. (Bug#12989)
33a488e4 1294
5c9cf0a3 12952012-11-27 Glenn Morris <rgm@gnu.org>
50207191
GM
1296
1297 * hippie-exp.el (hippie-expand-try-functions-list):
1298 Re-autoload it. (Bug#12982)
1299
5c9cf0a3 13002012-11-27 Eli Zaretskii <eliz@gnu.org>
2147c6ab 1301
369f945d
SM
1302 * descr-text.el (describe-char-padded-string):
1303 Call internal-char-font only on GUI frames. (Bug#11964)
2147c6ab 1304
5c9cf0a3 13052012-11-27 Andreas Schwab <schwab@linux-m68k.org>
58b1ae1e
AS
1306
1307 * buff-menu.el (Buffer-menu-buffer+size-width): Fix customize type
1308 and obsoletion message.
1309
5c9cf0a3 13102012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
35a10516
SM
1311
1312 * emacs-lisp/cl-macs.el (cl--transform-lambda): Add back `declare' in
1313 the constructs to keep outside of the `cl-block' (bug#12977).
1314
5c9cf0a3 13152012-11-27 Chong Yidong <cyd@gnu.org>
0c5ef133
CY
1316
1317 * mouse.el (mouse-drag-line): Even if the line is not draggable,
1318 keep reading until we get the up-event anyway, in order to process
1319 the up-event for mouse-1-click-follows-link (Bug#12971).
1320
848a2dd1
SM
13212012-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
1322
1323 * emacs-lisp/advice.el (ad-should-compile): Don't compile advice if the
1324 base function is not yet defined (bug#12965).
1325 (ad-activate-advised-definition): Use ad-compile-function.
1326 (ad-activate): Use cond.
1327
9ad79506
LL
13282012-11-25 Leo Liu <sdl.web@gmail.com>
1329
1330 * textmodes/sgml-mode.el (sgml-tag): Fix indentation for closing tag.
1331 (Bug#12979)
1332
e2cb57f5
VB
13332012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
1334
1335 * textmodes/reftex-parse.el (reftex-parse-from-file): Use variable
1336 reftex-section-info-function in order to be compatible with
1337 Texinfo integration.
1338
1339 * textmodes/reftex.el (reftex-section-pre-regexp)
848a2dd1
SM
1340 (reftex-section-post-regexp, reftex-section-info-function):
1341 New variable.
1342 (reftex-compile-variables): Use variables reftex-section-pre-regexp,
1343 reftex-section-post-regexp, and reftex-section-info-function in order
1344 to be compatible with Texinfo integration.
1345
1346 * textmodes/reftex-toc.el (reftex-toc-promote-action):
1347 use reftex-section-pre-regexp variable in order to be compatible with
e2cb57f5
VB
1348 Texinfo integration.
1349
1c4f115d
CY
13502012-11-25 Chong Yidong <cyd@gnu.org>
1351
1352 * faces.el: Make face-spec-set more analogous to setq.
1353 (face-spec-set): Change the third arg to specify whether this
1354 function is being called via defface, customize, or a third party.
1355 Set the appropriate symbol properties. Clear the override spec if
1356 setting via Custom. Initialize face if necessary. (Bug#4988)
1357 (face-spec-recalc): Allow theme faces to completely replace the
1358 defface spec, in the same way as custom faces (Bug#8454).
1359
1360 * cus-face.el (custom-declare-face): Move face initialization to
1361 face-spec-set.
1362 (custom-theme-set-faces): Don't initialize the face name here, as
1363 that is now done in face-spec-set.
1364
1365 * cus-edit.el (custom-face-set, custom-face-mark-to-save)
1366 (custom-face-reset-saved, custom-face-mark-to-reset-standard):
1367 Simplify by using the new arg to face-spec-set.
1368
1369 * emacs-lisp/lisp-mode.el (eval-defun-1): When evaluating defface,
1370 reset face-override-spec too, and use custom-declare-face.
1371
c2350548
JD
13722012-11-24 Jan Djärv <jan.h.d@swipnet.se>
1373
1374 * term/ns-win.el (ns-initialize-window-system): Move creation of
1375 fontsets here (Bug#11964).
1376
ecfc364c
VB
13772012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
1378
1379 * ses.el (ses-rename-cell): Correct bug on mode-line update after
1380 cell renaming.
1381
0917cc54
CY
13822012-11-24 Chong Yidong <cyd@gnu.org>
1383
433212bf
CY
1384 * woman.el (woman-default-faces, woman-monochrome-faces): Mark as
1385 obsolete.
1386
0917cc54
CY
1387 * custom.el (custom-theme-set-variables): Use a topological sort
1388 for ordering by custom dependencies (Bug#12952).
1389 (custom--sort-vars, custom--sort-vars-1): New functions.
1390
d125ca15 13912012-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
002c019c
SM
1392
1393 * emacs-lisp/bytecomp.el (byte-compile-file): Setup default value for
1394 lexical-binding (bug#12938).
1395
d125ca15 13962012-11-24 Wolfgang Jenkner <wjenkner@inode.at>
977f9325
WJ
1397
1398 * image-mode.el (image-transform-check-size): Use assertions only
1399 for images of type imagemagick.
1400
1401 Otherwise no error, image-transform-fit-to-{width,height} is
1402 silently ignored, as before. Doc fix.
1403
d125ca15 14042012-11-24 Chong Yidong <cyd@gnu.org>
bccffa83
CY
1405
1406 * faces.el (color-defined-p): Doc fix (Bug#12853).
1407
d125ca15 14082012-11-24 Juri Linkov <juri@jurta.org>
61a2a122
JL
1409
1410 * dired.el (dired-mark): Add optional arg `interactive'.
1411 Check for `use-region-p' if `interactive' is non-nil.
1412 (dired-unmark, dired-flag-file-deletion): Add optional arg
1413 `interactive'. Call `dired-mark' with the arg `interactive'.
1414 (Bug#10624)
1415
cc4c01bd
JL
1416 * wdired.el: Revert 2012-10-17 change partly and replace it with
1417 Patch by Christopher Schmidt <christopher@ch.ristopher.com>.
1418 (wdired-finish-edit): Add marks for new file names to
1419 `wdired-old-marks'. Restore marks using `dired-mark-remembered'
1420 after `revert-buffer'.
1421 (wdired-do-renames): Remove calls to `dired-remove-file',
1422 `dired-add-file', `dired-add-entry'. (Bug#11795)
1423
d125ca15 14242012-11-24 Alan Mackenzie <acm@muc.de>
b03aabda 1425
dc310ed0
AM
1426 * progmodes/cc-defs.el (c-version): Bump to 5.32.4.
1427
b03aabda
AM
1428 Fix bugs in the state cache. Enhance a debugging mechanism.
1429 * progmodes/cc-engine.el (c-parse-state-get-strategy): Don't use
1430 "brace at column zero" strategy for C++.
1431 (c-append-lower-brace-pair-to-state-cache): Repair algorithm.
1432 (c-parse-state-point): New variable.
1433 (c-record-parse-state-state): Record old parse state with
1434 `copy-tree'. Record previous value of point.
1435 (c-debug-parse-state-double-cons): New debugging function.
1436 (c-debug-parse-state): Call the above new function.
1437 (c-toggle-parse-state-debug): Output a confirmatory message.
1438
002c019c
SM
1439 * progmodes/cc-mode.el (c-before-change, c-after-change):
1440 Call c-invalidate-state-cache from `c-before-change' instead of
b03aabda
AM
1441 `c-after-change'.
1442
930a6273
CY
14432012-11-23 Chong Yidong <cyd@gnu.org>
1444
1445 * find-cmd.el (find-constituents): Add executable, ipath,
1446 readable, samefile, writable, daystart, regextype (Bug#12856).
1447
15c9d04e
SM
14482012-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
1449
1450 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: Use cl-lib and lexical-binding.
1451
2ecb2679
PE
14522012-11-22 Paul Eggert <eggert@cs.ucla.edu>
1453
1454 * calc/calc.el (calc-gregorian-switch): Move to after calc-refresh
1455 definition. This fixes a bootstrap failure.
a14a5a40
PE
1456 (calc-gregorian-switch): In menu, put dates before regions.
1457 This is easier to follow, lines up better in the menu, and lets us
1458 coalesce regions that switch at the same time. Give country
15c9d04e
SM
1459 names, not "Vatican", as that's better for non-expert users.
1460 Use names that are stable between the date of switch and now, e.g.,
a14a5a40
PE
1461 Bohemia and Moravia (which existed then and now) and not
1462 Czechoslovakia (which didn't exist then and doesn't exist now).
1463 What is now the U.S. mostly did not switch at the same time as
1464 Britain, so omit the U.S. Correct spelling of "Britain".
1465 Catholic Switzerland was too much of a mess, so omit it.
2ecb2679 1466
723da6aa
JB
14672012-11-22 Jay Belanger <jay.p.belanger@gmail.com>
1468
1469 * calc/calc.el (calc-gregorian-switch): Refresh the Calc buffer
1470 after the variable is changed.
1471
21fa2482
DC
14722012-11-21 Daniel Colascione <dancol@dancol.org>
1473
1474 * progmodes/sql.el (sql-mode-font-lock-object-name): Support IF NOT EXISTS
b6096e85
DC
1475 in SQL declarations for font-lock.
1476 (sql-imenu-generic-expression): Teach imenu about IF NOT EXISTS.
21fa2482 1477
3ca2f1bf
GM
14782012-11-21 Glenn Morris <rgm@gnu.org>
1479
1bf335cf
GM
1480 * faces.el (face-underline-p, face-inverse-video-p, face-bold-p)
1481 (face-italic-p): Add optional argument "inherit".
1482
3ca2f1bf
GM
1483 * faces.el (set-face-inverse-video, set-face-bold, set-face-italic):
1484 Remove -p suffix from names, for consistency with other set-face-*.
1485 (set-face-inverse-video): Fix interactive spec.
1486 * play/gamegrid.el (gamegrid-make-mono-tty-face):
1487 * textmodes/table.el (table--update-cell-face):
1488 Use set-face-inverse-video rather than now obsolete alias.
1489
6ef2e5ef 14902012-11-21 Eli Zaretskii <eliz@gnu.org>
7cf95797
EZ
1491
1492 * simple.el (line-move): Don't call line-move-partial if
1493 scroll-conservatively is in effect. (Bug#12927)
1494
6ef2e5ef 14952012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
63f25172 1496
93b05041
SM
1497 * eshell/em-cmpl.el (eshell-pcomplete): Refine fix for bug#12838:
1498 Fallback on completion-at-point rather than
1499 pcomplete-expand-and-complete, and only if pcomplete actually failed.
1500 (eshell-cmpl-initialize): Setup completion-at-point.
1501
1502 * pcomplete.el (pcomplete--entries): Obey pcomplete-ignore-case.
1503
bc715d67
SM
1504 * emacs-lisp/ert.el (ert--expand-should-1): Adapt to cl-lib.
1505
6ef2e5ef 15062012-11-21 Michael Albinus <michael.albinus@gmx.de>
d7f2a65c
MA
1507
1508 * net/tramp-sh.el (tramp-do-copy-or-rename-file): If both files
1509 are remote, check out-of-band property for both.
1510
6ef2e5ef 15112012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
d1c0cddf
SM
1512
1513 * window.el (switch-to-buffer): Re-add the warning that was lost in the
1514 code rewrite.
1515
6ef2e5ef 15162012-11-21 Paul Eggert <eggert@cs.ucla.edu>
0c93aa38 1517
535efd4a
PE
1518 More minor time fixes.
1519 * calendar/time-date.el: Commentary fix.
1520 * net/tramp-sh.el (tramp-do-file-attributes-with-ls): Undo last change;
1521 too much other code depends on (0 0) time stamps.
1522 * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
1523 Add a couple of FIXME comments.
1524
0c93aa38
PE
1525 Minor cleanup for times as lists of four integers.
1526 * files.el (dir-locals-directory-cache):
1527 * ps-bdf.el (bdf-file-mod-time, bdf-read-font-info):
1528 Doc fixes.
1529 * net/tramp-sh.el (tramp-do-file-attributes-with-ls):
1530 * ps-bdf.el (bdf-file-newer-than-time):
1531 Process four-integers time stamps, not two. Doc fixes.
1532
23ba2705
SM
15332012-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
1534
2e31777b
SM
1535 * uniquify.el (uniquify-managed): Use defvar-local.
1536 (rename-buffer, create-file-buffer): Advise with advice-add.
1537 (uniquify-unload-function): Unadvise accordingly.
1538
8b62d742
SM
1539 * emacs-lisp/trace.el: Rewrite, use nadvice and lexical-binding.
1540 (trace-buffer): Don't purecopy.
1541 (trace-entry-message, trace-exit-message): Add `context' arg.
1542 (trace--timer): New var.
1543 (trace-make-advice): Adjust for use in nadvice.
1544 Add `context' argument. Delay `display-buffer' via a timer.
1545 (trace-function-internal): Use advice-add.
1546 (trace--read-args): New function.
1547 (trace-function-foreground, trace-function-background): Use it.
1548 (trace-function): Rename to trace-function-foreground and redefine as
1549 an alias to that new name.
1550 (untrace-function, untrace-all): Adjust to the use of nadvice.
1551
5d0ccd95
SM
1552 * emacs-lisp/bytecomp.el (byte-compile): Fix handling of closures.
1553
3837d988
SM
1554 * emacs-lisp/byte-run.el (defun-declarations-alist): Fix last change.
1555
23ba2705
SM
1556 * subr.el (called-interactively-p-functions): New var.
1557 (internal--called-interactively-p--get-frame): New macro.
1558 (called-interactively-p, interactive-p): Rewrite in Lisp.
1559 * emacs-lisp/nadvice.el (advice--called-interactively-skip): New fun.
1560 (called-interactively-p-functions): Use it.
1561 * emacs-lisp/edebug.el (edebug--called-interactively-skip): New fun.
1562 (called-interactively-p-functions): Use it.
1563 * allout.el (allout-called-interactively-p): Don't assume
1564 called-interactively-p is a subr.
1565
b0636be7
GM
15662012-11-20 Glenn Morris <rgm@gnu.org>
1567
1568 * profiler.el (profiler-report-mode-map): Add a menu.
1569 No need to bind `q' because we derive from special-mode.
1570 (profiler-report-find-entry): Handle calls from the menu-bar.
1571
855b17af
SM
15722012-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
1573
14146222
SM
1574 * emacs-lisp/byte-run.el (defun-declarations-alist):
1575 Allow a compiler-macro to be a lambda expression.
1576
1577 * progmodes/python.el: Use cl-lib. Move var declarations outside of
1578 eval-when-compile.
1579 (python-syntax-context): Add compiler-macro.
1580 (python-font-lock-keywords): Simplify with De Morgan.
1581
1000d895
SM
1582 * vc/diff-mode.el (diff-hunk): Don't make useless timers.
1583
ac5392dc
SM
1584 * files.el (load-file): Require match in minibuffer selection, as was
1585 the case in Emacs-20 before we changed the spec to allow .elc files
1586 (bug#12935).
1587
19dc7206
SM
1588 * json.el: Don't require cl since we don't use it.
1589 * color.el: Don't require cl.
1590 (color-complement): `caddr' -> `nth 2'.
1591
855b17af
SM
1592 * calendar/time-date.el (time-to-seconds): De-obsolete.
1593
e8909bdc
JB
15942012-11-19 Jay Belanger <jay.p.belanger@gmail.com>
1595
1596 * calc/calc-forms.el (math-leap-year-p): Fix formula for negative
1597 year numbers.
1598 (math-date-to-julian-dt): Adjust the initial approximation for the
1599 year to deal with the new definition of the DATE.
1600
6e9f7997
DC
16012012-11-19 Daniel Colascione <dancol@dancol.org>
1602
855b17af
SM
1603 * term/w32-win.el (cygwin-convert-path-from-windows):
1604 Accomodate rename of cygwin_convert_path* to cygwin_convert_file_name*.
6e9f7997 1605
6a3dd257
CY
16062012-11-18 Chong Yidong <cyd@gnu.org>
1607
1608 * filecache.el (file-cache--read-list): New function.
1609 (file-cache-add-directory-list, file-cache-add-file-list)
1610 (file-cache-delete-file-list, file-cache-delete-directory-list):
1611 Use it to read a list of files or directories (Bug#12846).
1612 (file-cache-add-file, file-cache-add-directory)
1613 (file-cache-delete-file-list, file-cache-delete-file-regexp)
1614 (file-cache-delete-directory): Print an message.
1615
eef97f35
JB
16162012-11-18 Jay Belanger <jay.p.belanger@gmail.com>
1617
1618 * calc/calc-forms.el (math-date-to-dt): Use integer date when
1619 calling `math-date-to-julian-dt' and 'math-date-to-gregorian-dt'.
1620
913c8291
GM
16212012-11-18 Glenn Morris <rgm@gnu.org>
1622
1623 * image.el (insert-image, insert-sliced-image): Doc fix.
1624
2ac9538d 16252012-11-18 Chong Yidong <cyd@gnu.org>
ec6f8ce6
CY
1626
1627 * emacs-lisp/syntax.el (syntax-propertize-function): Doc fix
1628 (Bug#12810).
1629
2ac9538d 16302012-11-18 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
c2d07557
CY
1631
1632 * vc/vc-svn.el (vc-svn-merge-news): Properly parse the merge
1633 response when the target file is in a subdirectory (Bug#12757).
1634
2ac9538d 16352012-11-18 Chong Yidong <cyd@gnu.org>
33f8917c
CY
1636
1637 * filecache.el (file-cache-add-file-list): Doc fix (Bug#12694).
1638
2ac9538d 16392012-11-18 Glenn Morris <rgm@gnu.org>
65463c40 1640
9a5e2ee3
GM
1641 * emacs-lisp/cl-lib.el (face-underline-p):
1642 Use set-face-underline rather than the alias set-face-underline-p.
1643
65463c40 1644 * window.el (with-temp-buffer-window): Doc fix.
95f0501e
GM
1645 * subr.el (with-output-to-temp-buffer):
1646 Add doc xref to with-temp-buffer-window.
65463c40 1647
c9ed8e3d
JB
16482012-11-18 Juanma Barranquero <lekktu@gmail.com>
1649
1650 * woman.el (woman-non-underline-faces): Use `set-face-underline'.
1651 * calc/calc.el (math-format-date-cache): Declare.
1652
310e60d9
PE
16532012-11-17 Paul Eggert <eggert@cs.ucla.edu>
1654
6f6b82d6
PE
1655 Calc by default uses the Gregorian calendar for all dates (Bug#12633).
1656 It also uses January 1, 1 AD as its day number 1.
310e60d9 1657 * calc/calc-forms.el (math-julian-date-beginning)
6f6b82d6 1658 (math-julian-date-beginning-int): Implement this.
310e60d9 1659
d7fe6352
JB
16602012-11-17 Juanma Barranquero <lekktu@gmail.com>
1661
1662 * descr-text.el (quail-find-key):
1663 * dired.el (desktop-file-name):
1664 * dirtrack.el (shell-prefixed-directory-name, shell-process-cd):
1665 * generic-x.el (comint-mode, comint-exec):
1666 * image-dired.el (widget-forward):
1667 * info.el (speedbar-add-expansion-list, speedbar-center-buffer-smartly)
1668 (speedbar-change-expand-button-char)
1669 (speedbar-change-initial-expansion-list, speedbar-delete-subblock)
1670 (speedbar-make-specialized-keymap, speedbar-make-tag-line):
1671 * printing.el (easy-menu-add-item, easy-menu-remove-item)
1672 (widget-field-action, widget-value-set):
1673 * speedbar.el (imenu--make-index-alist):
1674 * term.el (ring-empty-p, ring-ref, ring-insert-at-beginning)
1675 (ring-length, ring-insert):
1676 * vcursor.el (compare-windows-skip-whitespace):
1677 * woman.el (dired-get-filename):
1678 Declare functions.
1679
1680 * term/w32-win.el (cygwin-convert-path-from-windows): Fix declaration.
1681
c9f618db
JB
16822012-11-17 Jay Belanger <jay.p.belanger@gmail.com>
1683
1684 * calc/calc.el (calc-gregorian-switch): New variable.
1685
1686 * calc/calc-forms.el (math-day-in-year, math-dt-before-p)
1687 (math-absolute-from-gregorian-dt, math-absolute-from-julian-dt)
1688 (math-date-to-julian-dt, math-date-to-gregorian-dt): New functions.
1689 (math-leap-year-p): Add option to distinguish between Julian
1690 and Gregorian calendars.
1691 (math-day-number): Use `math-day-in-year' to do the computations.
1692 (math-absolute-from-dt): Rename from `math-absolute-from-date'.
1693 Use `math-absolute-from-gregorian' and `math-absolute-from-julian'
1694 to do the computations.
1695 (math-date-to-dt): Use `math-date-to-julian-dt' and
1696 `math-date-to-gregorian-dt' to do the computations.
1697 (calcFunc-weekday, math-format-date-part): Use the new version of
1698 the DATE to determine the weekday.
1699 (calcFunc-newmonth, calcFunc-newyear): Use `calc-gregorian-switch'
1700 when necessary.
1701
3804f7bc
EZ
17022012-11-17 Eli Zaretskii <eliz@gnu.org>
1703
1704 * term/w32-win.el (w32-handle-dropped-file): Use 'file://' only on
1705 Cygwin; otherwise use 'file:'. (Bug#12914)
1706 (cygwin-convert-path-from-windows): Declare, to avoid
1707 byte-compiler warnings.
1708
de959d4d
AP
17092012-11-17 Andreas Politz <politza@fh-trier.de>
1710
1711 * ibuffer.el (ibuffer-mark-forward, ibuffer-unmark-forward)
1712 (ibuffer-unmark-backward, ibuffer-mark-interactive): Support plain
1713 prefix and negative numeric prefix args (Bug#12795).
1714
e45deaef
SB
17152012-11-17 Stephen Berman <stephen.berman@gmx.net>
1716
1717 * play/gamegrid.el (gamegrid-add-score-with-update-game-score-1):
1718 Don't signal an error with a score that is too low to add to the
1719 list of top scores. (Bug#12779)
1720
ec15e0ff
CY
17212012-11-17 Chong Yidong <cyd@gnu.org>
1722
8e7696a1
CY
1723 * help-mode.el (help-xref-interned): End on point-min (Bug#12737).
1724
ec15e0ff
CY
1725 * filecache.el (file-cache-add-file): Handle relative file name in
1726 the argument (Bug#12694).
1727
60c4ee66
JH
17282012-11-16 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
1729
1730 * eshell/em-unix.el (eshell/mkdir): Handle "--parents" (bug#12897).
1731
cdc5d88c
SM
17322012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
1733
dd0c5bbb
SM
1734 * emacs-lisp/advice.el (ad-make-advised-definition): Improve last fix.
1735
cdc5d88c
SM
1736 * emacs-lisp/cl-lib.el: Set more meaningful version number.
1737
0ff7851c
MR
17382012-11-16 Martin Rudalics <rudalics@gmx.at>
1739
1740 * window.el (enlarge-window, shrink-window): Don't mention return
1741 value in doc-string (Bug#12896).
1742 (window--display-buffer): Don't resize frames - it won't work
1743 with all window managers and defeat pop-up-frame-alist.
1744 (display-buffer-alist): In doc-string explain that CONDITION can
1745 be a function and which arguments are passed to it (Bug#12854).
1746 (display-buffer-assq-regexp): New argument ACTION. Handle lambda
1747 expressions (Bug#12854).
1748 (display-buffer): Pass ACTION argument to
1749 display-buffer-assq-regexp.
1750
dedd1884
GM
17512012-11-16 Glenn Morris <rgm@gnu.org>
1752
7c82753d
GM
1753 * window.el (fit-frame-to-buffer-bottom-margin)
1754 (fit-frame-to-buffer, fit-window-to-buffer): Doc fixes.
1755
dedd1884
GM
1756 * faces.el (face-underline-p): Use face-attribute-specified-or.
1757
96e05507 17582012-11-16 Juanma Barranquero <lekktu@gmail.com>
662b0ee6
JB
1759
1760 * emacs-lisp/cl-macs.el (cl-loop, cl-do, cl-do*): Doc fixes.
1761
96e05507 17622012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
eb31fa40
SM
1763
1764 * emacs-lisp/cl-macs.el (cl-flet, cl-flet*): Fix docstring (bug#12895).
1765
96e05507 17662012-11-16 Glenn Morris <rgm@gnu.org>
e2e13f18 1767
17c083ac
GM
1768 * eshell/em-cmpl.el (eshell-pcomplete): New command. (Bug#12838)
1769 (eshell-cmpl-initialize): Bind eshell-pcomplete to TAB, C-i.
1770
bde3c6c0
GM
1771 * faces.el (face-underline-p): Doc fix. Handle :underline being
1772 things other than `t' (a string, a list).
1773 (face-inverse-video-p): Doc fix.
1774 (set-face-underline): Rename it back from set-face-underline-p.
1775 Doc fix. Allow interactive input of values other than t.
1776 (read-face-attribute): Apply formatting to :underline,
1777 since like :box and :stipple it can take list values.
1778
e2e13f18
GM
1779 * term.el (ansi-term): Don't let C-x escape-char binding
1780 clobber the more standard C-c binding. (Bug#12842)
1781
e0ea8060
GM
1782 * subr.el (set-temporary-overlay-map): Doc fix.
1783
96e05507 17842012-11-16 Martin Rudalics <rudalics@gmx.at>
92346275
MR
1785
1786 * window.el (record-window-buffer)
1787 (display-buffer-record-window): When copying the markers to
1788 window-point preserve window-point-insertion-type. (Bug#12588)
1789
96e05507 17902012-11-16 Glenn Morris <rgm@gnu.org>
7b1bf173
GM
1791
1792 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
1793 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error):
1794 Use new names for hooks rather than obsolete aliases.
1795
faeafc01
DC
17962012-11-15 Daniel Colascione <dancol@dancol.org>
1797
1798 * term/w32-win.el (w32-handle-dropped-file): Use a "file://"
9533048d
DC
1799 prefix instead of "file:" so that when FILE-NAME begins with "//",
1800 as it does when the target file is on a network share, url-handler
1801 isn't confused.
1802
1232d6c2
SM
18032012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
1804
1805 * emacs-lisp/advice.el (ad-definition-type): Make sure we don't use
1806 a preactivated advice from an old advice.el; they're not compatible!
1807
47f01a8a
KY
18082012-11-15 Katsumi Yamaoka <yamaoka@jpl.org>
1809
1810 * emacs-lisp/nadvice.el (advice--make-interactive-form):
1811 Fix string-spec case.
1812
1813 * emacs-lisp/advice.el (ad-make-advised-definition): Fix undefined case.
1814
a61428c4
SM
18152012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
1816
1817 * emacs-lisp/nadvice.el: Add buffer-local support to add-function.
1818 (advice--buffer-local-function-sample): New var.
1819 (advice--set-buffer-local, advice--buffer-local): New functions.
1820 (add-function, remove-function): Use them.
1821
875ce3a7
DA
18222012-11-15 Drew Adams <drew.adams@oracle.com>
1823
1824 * imenu.el (imenu--split-submenus): Use imenu--subalist-p (bug#12717).
1825
589fc479
SM
18262012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
1827
1828 * emacs-lisp/cl-macs.el (cl--transform-lambda): Defend against
1829 potential binding of print-gensym to t, and prettify (back)quotes in
1830 case they appear in args's default values (bug#12884).
1831
1668ea90
SM
18322012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1833
1834 * emacs-lisp/nadvice.el: Add around advice for interactive specs.
1835 (advice-eval-interactive-spec): New function.
1836 (advice--make-interactive-form): Support around advice (bug#12844).
1837
8619323f
DG
18382012-11-14 Dmitry Gutov <dgutov@yandex.ru>
1839
1840 * progmodes/ruby-mode.el (ruby-expr-beg): Make heredoc detection
1841 more strict. Add docstring.
c62792e7
DG
1842 (ruby-expression-expansion-re): Extract from
1843 `ruby-match-expression-expansion'.
1844 (ruby-syntax-propertize-function): After everything else, search
1845 for expansions in string literals, mark their insides as
1846 whitespace syntax and save match data for font-lock.
1847 (ruby-font-lock-keywords): Use the 2nd group from expression
1848 expansion matches.
1849 (ruby-match-expression-expansion): Use the match data saved to the
1850 text property in ruby-syntax-propertize-function.
8619323f 1851
9c3912d3
SM
18522012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1853
1854 * emacs-lisp/gv.el (setf): Fix debug spec for multiple assignments
1855 (bug#12879).
1856
5e9419e8
DG
18572012-11-13 Dmitry Gutov <dgutov@yandex.ru>
1858
1859 * progmodes/ruby-mode.el (ruby-move-to-block): Looks for a block
1860 start/end keyword a bit harder. Works with different values of N.
1861 Add more comments.
1862 (ruby-end-of-block): Update accordingly.
1863
3c442f8b
SM
18642012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
1865
fa470af0
SM
1866 * woman.el (woman-file-name): Don't mess with unread-command-events
1867 (bug#12861).
1868
3c442f8b
SM
1869 * emacs-lisp/advice.el: Layer on top of nadvice.el.
1870 Remove out of date self-require hack.
1871 (ad-do-advised-functions): Use simple `dolist'.
1872 (ad-advice-name, ad-advice-protected, ad-advice-enabled)
1873 (ad-advice-definition): Redefine as functions.
1874 (ad-advice-classes): Move before first use.
1875 (ad-make-origname, ad-set-orig-definition, ad-clear-orig-definition)
fa470af0 1876 (ad-make-mapped-call, ad-make-advised-docstring,ad-make-plain-docstring)
3c442f8b 1877 (ad--defalias-fset): Remove functions.
fa470af0 1878 (ad-make-advicefunname, ad-clear-advicefunname-definition): New funs.
3c442f8b
SM
1879 (ad-get-orig-definition): Rewrite.
1880 (ad-make-advised-definition-docstring): Change base docstring.
1881 (ad-real-orig-definition): Rewrite.
1882 (ad-map-arglists): Change name of called function.
1883 (ad--make-advised-docstring): Redirect `function' from ad-Advice-...
1884 (ad-make-advised-definition): Simplify.
1885 (ad-assemble-advised-definition): Tweak for new calling context.
fa470af0 1886 (ad-activate-advised-definition): Setup ad-Advice-* i.s.o ad-Orig-*.
3c442f8b
SM
1887 (ad--defalias-fset): Rename from ad-handle-definition. Make it set the
1888 function and call ad-activate if needed.
1889 (ad-activate, ad-deactivate): Don't call ad-handle-definition any more.
1890 (ad-recover): Clear ad-Advice-* instead of ad-Orig-*.
1891 (ad-compile-function): Compile ad-Advice-*.
1892 (ad-activate-on-top-level, ad-with-auto-activation-disabled): Remove.
1893 (ad-start-advice, ad-stop-advice): Remove.
1894
5745cae6
DG
18952012-11-13 Dmitry Gutov <dgutov@yandex.ru>
1896
1897 * progmodes/ruby-mode.el (ruby-add-log-current-method): Print the
1898 period before class method names, not after. Remove handling of
1899 one impossible case. Add comments.
1900
413d4689
SM
19012012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
1902
7db1bda8
SM
1903 * emacs-lisp/advice.el: Remove support for freezing.
1904 (ad-make-freeze-docstring, ad-make-freeze-definition): Remove functions.
1905 (ad-make-single-advice-docstring, ad-defadvice-flags, defadvice):
1906 Remove support for `freeze'.
1907
413d4689
SM
1908 * emacs-lisp/cl.el (dolist, dotimes, declare): Use advice-add to
1909 override the default.
1910 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Rewrite without using
1911 cl--dotimes/dolist.
1912 * subr.el (dolist, dotimes, declare): Redefine them normally, even when
1913 `cl' is loaded.
1914
1915 * emacs-lisp/nadvice.el (advice--normalize): New function, extracted
1916 from add-advice.
1917 (advice--strip-macro): New function.
1918 (advice--defalias-fset): Use them to handle macros.
1919 (advice-add): Use them.
1920 (advice-member-p): Correctly handle macros.
1921
f178c32d
DG
19222012-11-13 Dmitry Gutov <dgutov@yandex.ru>
1923
7db1bda8
SM
1924 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
1925 Never font-lock the beginning of singleton class as heredoc.
f178c32d 1926
f78ee6af 19272012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
f8705f6e
SM
1928
1929 * emacs-lisp/gv.el (gv-define-simple-setter): One more fix (bug#12871).
1930
f78ee6af 19312012-11-13 Wolfgang Jenkner <wjenkner@inode.at>
9db94175
WJ
1932
1933 * ansi-color.el (ansi-color-apply-sequence): Implement SGR codes
f78ee6af
GM
1934 39 and 49 (bug#12792). Also, treat unimplemented parameters as 0,
1935 thereby restoring the behavior of revisions prior to 2012-08-15T03:33:55Z!monnier@iro.umontreal.ca.
9db94175 1936
f78ee6af 19372012-11-13 Fabián Ezequiel Gallina <fgallina@cuca>
2e6625b5
FEG
1938
1939 Fix end-of-defun misbehavior.
1940 * progmodes/python.el (python-nav-beginning-of-defun): Rename from
1941 python-beginning-of-defun-function. Handle nested defuns
1942 correctly.
1943 (python-nav-end-of-defun): Rename from
1944 python-end-of-defun-function. Ensure forward movement.
f8705f6e 1945 (python-info-current-defun): Reimplement to work as intended
2e6625b5
FEG
1946 with new fixed python-nav-{end,beginning}-of-defun. Stop scanning
1947 parent defuns as soon as possible.
1948
f78ee6af 19492012-11-13 Glenn Morris <rgm@gnu.org>
24c38527
GM
1950
1951 * progmodes/flymake.el (flymake-error-bitmap)
1952 (flymake-warning-bitmap, flymake-fringe-indicator-position): Doc fixes.
1953 (flymake-error-bitmap, flymake-warning-bitmap): Fix :types.
1954
f78ee6af 19552012-11-13 Dmitry Gutov <dgutov@yandex.ru>
d1e1e53d
DG
1956
1957 * progmodes/ruby-mode.el (ruby-move-to-block): When moving
1958 backward, always stop at indentation. Reverts the change from
1959 2012-08-12T22:06:56Z!monnier@iro.umontreal.ca (Bug#12851).
1960
f78ee6af 19612012-11-13 Glenn Morris <rgm@gnu.org>
68146aa5 1962
a1d3e07e
GM
1963 * ibuffer.el (ibuffer-mode-map, ibuffer-mode):
1964 Add ibuffer-filter-by-derived-mode.
1965
84acf328
GM
1966 * ibuffer.el (ibuffer-mode-map): Don't have two menu items with
1967 the same name shadowing each other.
1968
38785e75
GM
1969 * window.el (with-temp-buffer-window): Doc tweak.
1970
57fc0fee
GM
1971 * emacs-lisp/debug.el (debugger-bury-or-kill): Doc tweak.
1972
6ba6a3e5
GM
1973 * help.el (temp-buffer-max-height):
1974 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-bottom-margin):
68146aa5
GM
1975 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix :version.
1976
231d8498
SM
19772012-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
1978
1979 * emacs-lisp/nadvice.el: New package.
1980 * subr.el (special-form-p): New function.
1981 * emacs-lisp/elp.el: Use lexical-binding and advice-add.
1982 (elp-all-instrumented-list): Remove var.
1983 (elp-not-profilable): Remove elp-wrapper.
1984 (elp-profilable-p): Use autoloadp and special-form-p.
1985 (elp--advice-name): New const.
1986 (elp-instrument-function): Use advice-add.
1987 (elp--instrumented-p): New predicate.
1988 (elp-restore-function): Use advice-remove.
1989 (elp-restore-all, elp-reset-all): Use mapatoms.
1990 (elp-set-master): Use elp--instrumented-p.
1991 (elp--make-wrapper): Rename from elp-wrapper, return a function
1992 suitable for advice-add. Use cl-inf.
1993 (elp-results): Use mapatoms+elp--instrumented-p.
1994 * emacs-lisp/debug.el: Use lexical-binding and advice-add.
1995 (debug-function-list): Remove var.
1996 (debug): Rename arg, and then let-bind it explicitly inside.
1997 (debugger-setup-buffer): Rename arg.
1998 (debugger-setup-buffer): Adjust counts to new debug-on-entry setup.
1999 (debugger-frame-number): Adjust to new debug-on-entry setup.
2000 (debug--implement-debug-on-entry): Rename from
2001 implement-debug-on-entry, add argument.
2002 (debugger-special-form-p): Remove, use special-form-p instead.
2003 (debug-on-entry): Use advice-add.
2004 (debug--function-list): New function.
2005 (cancel-debug-on-entry): Use it, along with advice-remove.
2006 (debug-arglist, debug-convert-byte-code, debug-on-entry-1): Remove.
2007 (debugger-list-functions): Use debug--function-list instead of
2008 debug-function-list.
2009 * emacs-lisp/advice.el (ad-save-real-definition): Remove, unused.
2010 (ad-special-form-p): Remove, use special-form-p instead.
2011 (ad-set-advice-info): Use add-function and remove-function.
2012 (ad--defalias-fset): Adjust accordingly.
2013
19e09879
GM
20142012-11-10 Glenn Morris <rgm@gnu.org>
2015
714cebd1
GM
2016 * mail/emacsbug.el (report-emacs-bug-tracker-url)
2017 (report-emacs-bug-bug-alist, report-emacs-bug-choice-widget)
2018 (report-emacs-bug-create-existing-bugs-buffer)
2019 (report-emacs-bug-parse-query-results)
2020 (report-emacs-bug-query-existing-bugs): Remove. (Bug#7449)
2021
bf67dafa
GM
2022 * term.el (term-default-fg-color, term-default-bg-color):
2023 Make obsolete, rather than just saying "deprecated" in the doc.
2024
19e09879
GM
2025 * term.el (term): Rename from `term-face'.
2026 (term-current-face, ansi-term-color-vector)
2027 (term-default-fg-color, term-default-bg-color, term-ansi-reset):
2028 Update all users.
2029
6baf66d5 20302012-11-10 Jan Djärv <jan.h.d@swipnet.se>
531bdce6
JD
2031
2032 * server.el (server-create-window-system-frame): Handle Nextstep
2033 specially (Bug#12780).
2034
6baf66d5 20352012-11-10 Glenn Morris <rgm@gnu.org>
fedb154e
GM
2036
2037 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
2038 Unautoload, and make obsolete. (Bug#7449)
2039
6baf66d5 20402012-11-10 Chong Yidong <cyd@gnu.org>
9d9e48d9
CY
2041
2042 * vc/diff-mode.el (diff-delete-trailing-whitespace): Rewrite, and
2043 rename from diff-remove-trailing-whitespace (Bug#12831).
2044
6baf66d5 20452012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
32170f7f
SM
2046
2047 * emacs-lisp/advice.el: Require `cl-lib' at run-time to fix
2048 miscompilation of trace.el.
2049
6baf66d5 20502012-11-10 Glenn Morris <rgm@gnu.org>
26f59676
GM
2051
2052 * vc/diff-mode.el (diff-remove-trailing-whitespace): Doc fix.
2053
6baf66d5 20542012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
41626722
SM
2055
2056 * emacs-lisp/gv.el (gv-define-simple-setter): Fix last change
2057 (bug#12812).
2058
6baf66d5 20592012-11-10 Chong Yidong <cyd@gnu.org>
7d806bfe
CY
2060
2061 * minibuf-eldef.el (minibuffer-eldef-shorten-default): Convert to
2062 a defcustom with an appropriate :set function.
2063 (minibuffer-default--in-prompt-regexps): New function.
2064
6baf66d5 20652012-11-10 Glenn Morris <rgm@gnu.org>
2ee1d59f 2066
031b2ea7
GM
2067 * emacs-lisp/cl.el (define-setf-expander, defsetf)
2068 (define-modify-macro): Doc fixes.
2069
2ee1d59f
GM
2070 * emacs-lisp/gv.el (gv-letplace): Fix doc typo.
2071 (gv-define-simple-setter): Update doc of `fix-return'.
2072
6baf66d5 20732012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
d57c286e 2074
b715ed44
SM
2075 * emacs-lisp/gv.el (gv-define-simple-setter): Don't evaluate `val'
2076 twice when `fix-return' is set (bug#12813).
2077
d57c286e
SM
2078 * emacs-lisp/cl.el (defsetf): Pass the third arg to
2079 gv-define-simple-setter (bug#12812).
2080
c9cac599
SM
2081 * woman.el (woman-decode-region): Disable adaptive-fill when rendering
2082 (bug#12756).
2083
6baf66d5 20842012-11-10 Glenn Morris <rgm@gnu.org>
6b3770fb
GM
2085
2086 * emacs-lisp/gv.el (gv-define-setter): Fix doc typo.
2087
5593ed90
GM
2088 * emacs-lisp/cl-extra.el (cl-prettyexpand):
2089 * emacs-lisp/cl-lib.el (cl-proclaim, cl-declaim):
2090 * emacs-lisp/cl-macs.el (cl-destructuring-bind, cl-locally)
2091 (cl-the, cl-compiler-macroexpand): Add basic doc strings.
2092
2093 * emacs-lisp/cl-extra.el (cl-maplist, cl-mapcan): Doc fix.
2094
05a859c1
LL
20952012-11-10 Leo Liu <sdl.web@gmail.com>
2096
2097 * ido.el (ido-set-matches-1): Improve flex matching performance by
2098 removing backtracking in the regexp (suggested by Stefan). (Bug#12796)
2099
32e5c58c
SM
21002012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
2101
2102 * emacs-lisp/advice.el (ad-set-advice-info): Set defalias-fset-function.
2103 (ad--defalias-fset): New function.
2104 (ad-safe-fset): Remove.
2105 (ad-make-freeze-definition): Use cl-letf*.
2106
f5925cd9
SM
21072012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
2108
da03ef8a
SM
2109 * subr.el (dolist): Don't bind VAR in RESULT.
2110
6858633a
SM
2111 * emacs-lisp/advice.el: Miscellaneous cleanup. Use lexical-binding.
2112 (fset, documentation): Don't save real def since we don't advise.
2113 (ad-do-advised-functions): Remove problematic `result-form'.
2114 (ad-safe-fset): `ad-real-fset' => `fset'.
2115 (ad-read-advised-function): Don't assume that ad-do-advised-functions
2116 uses CL's dolist internally.
2117 (ad-arglist): Remove unused arg `name'.
2118 (ad-docstring, ad-make-advised-docstring):
2119 `ad-real-documentation' => `documentation'.
2120 (warning-suppress-types): Declare.
2121 (ad-set-arguments): Simple CSE.
2122 (ad-recover-normality): Sanity check.
2123
f5925cd9
SM
2124 * emacs-lisp/bytecomp.el (byte-compile-out-toplevel): Don't turn
2125 (funcall '(lambda ..) ..) into ((lambda ..) ..).
2126
93a66b3a
VB
21272012-11-09 Vincent Belaïche <vincentb1@users.sourceforge.net>
2128
2129 * ses.el: symbol to coordinate mapping is made by symbol property
f5925cd9
SM
2130 `ses-cell'. This means that the same mapping is done for all SES
2131 sheets. That is good enough for cells with standard A1 names, but
2132 not for named cell. So a hash map is added for the latter.
2133 (defconst ses-localvars): Add local variable ses--named-cell-hashmap
93a66b3a
VB
2134 (ses-sym-rowcol): Use hashmap for named cell.
2135 (ses-is-cell-sym-p): New defun.
2136 (ses-decode-cell-symbol): New defun.
f5925cd9
SM
2137 (ses-create-cell-variable): Add cell to hashmap when name is not
2138 A1-like.
93a66b3a
VB
2139 (ses-rename-cell): Check that cell new name is not already in
2140 spreadsheet with the use of ses-is-cell-sym-p
2141 (ses-rename-cell): Use hash map for named cells, but accept also
2142 renaming back to A1-like.
2143
67dd8ad1
SM
21442012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
2145
57618ecf
SM
2146 * emacs-lisp/advice.el: Use new dynamic docstrings.
2147 (ad-make-advised-definition-docstring, ad-advised-definition-p):
2148 Use dynamic-docstring-function instead of ad-advice-info.
2149 (ad--make-advised-docstring): New function extracted from
2150 ad-make-advised-docstring.
2151 (ad-make-advised-docstring): Use it.
2152 * progmodes/sql.el (sql--make-help-docstring): New function, extracted
2153 from sql-help.
2154 (sql-help): Use it with dynamic-docstring-function.
2155
67dd8ad1
SM
2156 * env.el (env--substitute-vars-regexp): Don't use rx (for bootstrap).
2157
be883b34
SM
21582012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
2159
d41706aa
SM
2160 * files.el (hack-one-local-variable--obsolete): New function.
2161 (hack-one-local-variable): Use it for obsolete settings.
2162
85e55412
SM
2163 * subr.el (locate-user-emacs-file): If both old and new name exist, use
2164 the new name.
2165
be883b34
SM
2166 * progmodes/js.el (js--filling-paragraph): New var.
2167 (c-forward-sws, c-backward-sws, c-beginning-of-macro): Advise.
2168 (js-c-fill-paragraph): Prefer advice to cl-letf so the rebinding is
2169 less sneaky.
2170
cabc040a
JD
21712012-11-08 Julien Danjou <julien@danjou.info>
2172
2173 * progmodes/ruby-mode.el (auto-mode-alist): Add Rakefile in
2174 `auto-mode-alist' (Bug#12835).
2175
d14bb752
SM
21762012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
2177
79b3e376
SM
2178 * progmodes/perl-mode.el (perl-prettify-symbols): New defcustom.
2179 (perl--prettify-symbols-alist): New const.
2180 (perl--font-lock-compose-symbol, perl--font-lock-symbols-keywords):
2181 New functions.
2182 (perl-font-lock-keywords-2): Use them.
2183 (perl-electric-noindent-p): New function.
2184 (perl-mode): Use it to set up electric-indent-mode.
2185 (perl-electric-terminator, perl-indent-command): Mark obsolete.
2186 (perl-mode-map): Remove bindings for them.
2187 (perl-imenu-generic-expression, perl-outline-level):
2188 Match functions&packages in column>0.
2189
3b11e6ac
SM
2190 * env.el (env--substitute-vars-regexp): New const.
2191 (substitute-env-vars): Use it. Add `only-defined' arg.
2192 * net/tramp.el (tramp-replace-environment-variables): Use it.
2193
784c1a7b
SM
2194 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
2195 Byte-compile *before* eval in eval-and-compile.
2196 (byte-compile-log-warning): Remove redundant inhibit-read-only.
2197 (byte-compile-file-form-autoload): Don't hide actual definition.
2198 (byte-compile-maybe-guarded): Accept `functionp' as well.
2199
d14bb752
SM
2200 * emacs-lisp/gv.el (gv-ref, gv-deref): New function and macro.
2201
499a0f7a
MA
22022012-11-07 Michael Albinus <michael.albinus@gmx.de>
2203
2204 * notifications.el (notifications-get-server-information-method):
2205 New defconst.
2206 (notifications-get-capabilities): Fix docstring.
2207 (notifications-get-server-information): New defun.
2208
f0704a9a
AM
22092012-11-06 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2210
2211 * textmodes/ispell.el (ispell-region): Standard re-indent for better
2212 readability.
2213
b159a1fd
AM
2214 * textmodes/ispell.el: Experimental support for support debugging.
2215 (ispell-create-debug-buffer): Create a `ispell-debug-buffer' debug
2216 buffer for ispell.
2217 (ispell-print-if-debug): New function to print stuff to
2218 `ispell-debug-buffer' if debugging is enabled.
2219 (ispell-region, ispell-process-line): Use `ispell-print-if-debug' to
2220 show some debugging info.
2221 (ispell-buffer-with-debug): New function that creates a debugging
2222 buffer and calls `ispell-buffer' with debugging enabled.
2223
056cb3a1
AM
2224 * textmodes/ispell.el (ispell-region): Do not prefix sent string by
2225 comment in autoconf mode. (Bug#12768)
2226
8e6a67b7
DA
22272012-11-06 Dmitry Antipov <dmantipov@yandex.ru>
2228
2229 * emacs-lisp/byte-opt.el (toplevel): Add compare-window-configurations,
2230 frame-first-window, frame-root-window, frame-selected-window,
2231 minibuffer-selected-window, minibuffer-window,
2232 window-absolute-pixel-edges, window-at, window-body-height,
2233 window-body-width, window-display-table, window-combination-limit,
2234 window-frame, window-fringes, window-inside-absolute-pixel-edges,
2235 window-inside-edges, window-inside-pixel-edges, window-left-child,
2236 window-left-column, window-margins, window-next-buffers,
2237 window-next-sibling, window-new-normal, window-new-total,
2238 window-normal-size, window-parameter, window-parameters, window-parent,
2239 window-pixel-edges, window-point, window-prev-buffers,
2240 window-prev-sibling, window-redisplay-end-trigger, window-scroll-bars,
2241 window-start, window-text-height, window-top-child, window-top-line,
2242 window-total-height, window-total-width and window-use-time to the list
2243 of functions without side-effects.
2244 (toplevel): Add window-valid-p to the list of error-free functions
2245 without side-effects.
2246
53fc914f
AM
22472012-11-05 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2248
f5925cd9
SM
2249 * textmodes/ispell.el (ispell-program-name):
2250 Update spellchecker parameters when customized.
53fc914f 2251
9749e2b0
GM
22522012-11-04 Glenn Morris <rgm@gnu.org>
2253
2254 * vc/vc-svn.el (vc-svn-state-heuristic): Avoid calling svn. (Bug#7850)
2255
2cbafa56
CY
22562012-11-04 Chong Yidong <cyd@gnu.org>
2257
2258 * bookmark.el (bookmark-bmenu-switch-other-window): Avoid binding
2259 same-window-* variables.
2260
85178ca1
JL
22612012-11-04 Juri Linkov <juri@jurta.org>
2262
2263 * isearch.el (isearch-help-for-help, isearch-describe-bindings)
2264 (isearch-describe-key, isearch-describe-mode): Use a display
2265 action instead of binding same-window-* variables (Bug#10040).
2266
5c677d44
GM
22672012-11-03 Glenn Morris <rgm@gnu.org>
2268
49138400
GM
2269 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
2270 Rename handler properties back from cl-- to cl-. (Bug#12788)
2271
5c677d44
GM
2272 * emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string.
2273
1d4341f9
EZ
22742012-11-03 Eli Zaretskii <eliz@gnu.org>
2275
2276 * term/pc-win.el: Don't load term/internal from here.
2277
2278 * loadup.el: Load term/internal from here.
2279
12fd5ee1
FEG
22802012-11-03 Fabián Ezequiel Gallina <fgallina@cuca>
2281
2282 * progmodes/python.el (inferior-python-mode): Fix hang in
2283 jit-lock (Bug#12645).
2284
43bcfda6
MR
22852012-11-03 Martin Rudalics <rudalics@gmx.at>
2286
2287 * window.el (switch-to-visible-buffer)
2288 (switch-to-buffer-preserve-window-point): Fix doc-strings.
2289
376a8e83
GM
22902012-11-03 Glenn Morris <rgm@gnu.org>
2291
2292 * emacs-lisp/cl-lib.el (cl--random-time):
2293 Rename from cl-random-time. (Bug#12773)
2294 (cl--gensym-counter, cl--random-state): Update callers.
2295 * emacs-lisp/cl-extra.el (cl-make-random-state): Update callers.
2296
0f7b074f
CY
22972012-11-03 Chong Yidong <cyd@gnu.org>
2298
2299 * cus-start.el: Make cursor-type customizable (Bug#11633).
2300
3a6851d9
GM
23012012-11-02 Glenn Morris <rgm@gnu.org>
2302
00a3b041
GM
2303 * filecache.el: No need to load find-lisp when compiling.
2304 (find-lisp-find-files): Autoload it.
2305 (file-cache-add-directory-recursively): Don't require find-lisp.
2306
11fef14a
GM
2307 * image.el (image-type-from-file-name): Trivial simplification.
2308
3a6851d9
GM
2309 * emacs-lisp/bytecomp.el (byte-compile-eval):
2310 Decouple "noruntime" and "cl-functions" warnings.
2311
b4b096e4
SB
23122012-11-01 Stephen Berman <stephen.berman@gmx.net>
2313
2314 * play/gomoku.el (gomoku-display-statistics): Update mode line
2315 only if in Gomoku buffer; don't capitalize "won" (Bug#12771).
2316
218e997a
MR
23172012-10-31 Martin Rudalics <rudalics@gmx.at>
2318
2319 * window.el (quit-restore-window): If the window has been
2320 created on an existing frame and ended up as the sole window on
2321 that frame, do not delete it (Bug#12764).
2322
b08b6da7
SM
23232012-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
2324
3618df45
SM
2325 * progmodes/sh-script.el (sh--inside-noncommand-expression):
2326 Rename from sh--inside-arithmetic-expression, handle more cases
2327 (bug#11263).
2328
b08b6da7
SM
2329 * progmodes/sh-script.el (sh--inside-arithmetic-expression): New func.
2330 (sh-font-lock-open-heredoc): Use it (bug#12770).
2331
4ddedf94
GM
23322012-10-30 Glenn Morris <rgm@gnu.org>
2333
f43a5263
GM
2334 * emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie. Doc fix.
2335
4ddedf94
GM
2336 * emacs-lisp/cl.el (letf): Doc fix. (Bug#12760)
2337
748b0d84
CY
23382012-10-29 Chong Yidong <cyd@gnu.org>
2339
b5dd9a77
CY
2340 * isearch.el (isearch-other-meta-char): Ensure that a reprocessed
2341 function key is stored in a keyboard macro (Bug#4894).
2342
748b0d84
CY
2343 * thingatpt.el (number-at-point): Apply a thing-at-point property.
2344
e07fcbdc
SM
23452012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
2346
d7f9cc85
SM
2347 * vc/diff-mode.el (diff-context->unified): Don't get confused by "hunk
2348 header comments".
2349 (diff-unified->context, diff-context->unified)
2350 (diff-reverse-direction, diff-fixup-modifs): Use `use-region-p'.
2351
c606253c
SM
2352 * emacs-lisp/cl.el (letf): Add missing indent rules (bug#12759).
2353
e07fcbdc
SM
2354 * files.el (find-alternate-file): Only ask one question (bug#12487).
2355
894b9dd9
CY
23562012-10-29 Chong Yidong <cyd@gnu.org>
2357
1dc2755a
CY
2358 * vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
2359 Suggested by Dan Nicolaescu (Bug#6326).
2360
329c48d8
CY
2361 * info.el (Info-complete-menu-item): Avoid duplicates (Bug#12705).
2362
2230fa5b 2363 * startup.el (fancy-about-screen): Don't message (Bug#12680).
5c2f2631 2364
e84cad57
CY
2365 * thingatpt.el (thing-at-point): Doc fix (Bug#12691).
2366
1913c5f5
CY
2367 * imenu.el (imenu): Inhibit push-mark message (Bug#12726).
2368
894b9dd9
CY
2369 * face-remap.el (face-remap-add-relative): Handle the case where a
2370 face-remapping-alist entry is a cons cell (Bug#12762).
2371
329c48d8
CY
23722012-10-29 Kevin Ryde <user42@zip.com.au>
2373
2374 * woman.el (woman-parse-numeric-value): Handle picas correctly
2375 (Bug#12639).
2376
a0ccbcbd
GM
23772012-10-29 Glenn Morris <rgm@gnu.org>
2378
2379 * emacs-lisp/cl.el (defsetf): Doc fix.
2380
b3871e59
SM
23812012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
2382
2383 * progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation
2384 syntax to the matching opener, if any (bug#12547).
2385 (sh-smie-sh-forward-token, sh-smie-sh-backward-token): Recognize this
2386 matching open as a "case-(".
2387 (sh-smie-rc-grammar): Add a corresponding rule for it.
2388
cd44022c
DH
23892012-10-28 Daniel Hackney <dan@haxney.org>
2390
2391 * emacs-lisp/package.el (package-generate-autoloads): Kill buffer
2392 "PKGNAME-autoloads.el" in case we created it.
2393
70edffb1
SM
23942012-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
2395
86957a0c
SM
2396 * minibuffer.el (completion--sifn-requote): Rewrite to handle things
2397 like Tramp's "/foo:~bar//baz" -> "/scpc:foo:/baz" mapping (bug#11714).
b9383404 2398 (completion--twq-all): Disable too-strict assertions.
86957a0c 2399
70edffb1
SM
2400 * tmm.el (tmm-prompt): Use map-keymap (bug#12744).
2401
d069271c
EZ
24022012-10-27 Eli Zaretskii <eliz@gnu.org>
2403
2404 * profiler.el (profiler-report-make-entry-part): Fix help-echo
2405 text to match the real keybindings.
2406
e2f022a3
JL
24072012-10-27 Juri Linkov <juri@jurta.org>
2408
2409 * wdired.el (wdired-keep-marker-rename): New defcustom.
2410 (wdired-do-renames): Use it instead of `dired-keep-marker-rename'.
2411 (Bug#11795)
2412
2413 * dired.el (dired-keep-marker-rename): Add reference to
2414 `wdired-keep-marker-rename' in the docstring.
2415 Add default character value ?R to display initially in
2416 Customization UI instead of ?@.
2417
df171c23
MR
24182012-10-27 Martin Rudalics <rudalics@gmx.at>
2419
2420 * window.el (display-buffer): In doc-string describe
2421 window-height and window-width alist entries.
2422
2423 * time.el (display-time-world): Restore fit-window-to-buffer
2424 behavior.
2425
05b621a6
CY
24262012-10-27 Chong Yidong <cyd@gnu.org>
2427
2428 * subr.el (insert-buffer-substring-as-yank): Doc fix.
2429
55f197b2
J
24302012-10-26 Jambunathan K <kjambunathan@gmail.com>
2431
2432 * minibuffer.el (completion-category-overrides): New completion
2433 category `bookmark' (bug#11131).
2434
372212df
SM
24352012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
2436
150f809c
SM
2437 * emacs-lisp/advice.el (ad-assemble-advised-definition):
2438 Silence bogus compiler warnings for ad-do-it.
2439
372212df
SM
2440 * bookmark.el (bookmark-completing-read): Set the completion category
2441 to `bookmark' (bug#11131).
2442
c5772569
B
24432012-10-26 Bastien <bzg@altern.org>
2444 Stefan Monnier <monnier@iro.umontreal.ca>
2445
2446 * face-remap.el: Use lexical-binding.
2447 (text-scale-adjust): Improve docstring. Use itself for the temporary
2448 overlay-map bindings, so as to repeat the "Use..." message each time.
2449
a2be0357
SM
24502012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
2451
63314e57
SM
2452 * emacs-lisp/macroexp.el (macroexp--expand-all):
2453 Obey byte-compile-warning-enabled-p (bug#12486).
2454
a2be0357
SM
2455 * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
2456 (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).
2457
8c7727c3
MR
24582012-10-26 Martin Rudalics <rudalics@gmx.at>
2459
2460 * mouse.el (mouse-drag-line): Move last form into preceding when
2461 clause (Bug#12731).
2462
2463 * help.el (resize-temp-buffer-window): Fix doc-string.
2464
3f2a848d
DE
24652012-10-25 David Engster <deng@randomsample.de>
2466
2467 * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
a2be0357 2468 Remove. This feature is already integrated in imenu.
3f2a848d
DE
2469
2470 * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
2471 always loaded. Require `speedbar' unconditionally.
2472
a7723be6
SM
24732012-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
2474
aaabfc8b
SM
2475 * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
2476
414a8595
SM
2477 * minibuffer.el (minibuffer-force-complete): Fix thinko.
2478
fb5b9475
SM
2479 * net/ldap.el (ldap-search-internal): The official ldif format starts
2480 with a "version: 1" header (bug#12724).
2481
a7723be6
SM
2482 * emacs-lisp/package.el (package-installed-p): Warn if not ready
2483 (bug#12721).
2484
a05cb6e3
GM
24852012-10-25 Glenn Morris <rgm@gnu.org>
2486
2487 * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
2488
3c92de70
SM
24892012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
2490
2491 * minibuffer.el (minibuffer-force-complete): Use one more marker
2492 for the temporary-overlay-map command (bug#12619).
2493
a4b6d7c6
CY
24942012-10-24 Chong Yidong <cyd@gnu.org>
2495
2496 * time.el (display-time-world-mode): Derive from special-mode.
2497 (display-time-world): Use display-buffer (Bug#12708).
2498 (display-time-world-mode-map): Variable deleted.
9321d8d7
CY
2499 (display-time-world-display): Wrap the final delete-char inside
2500 inhibit-read-only.
a4b6d7c6 2501
75e8f9d2
CY
25022012-10-24 Chong Yidong <cyd@gnu.org>
2503
cd996018
CY
2504 * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
2505 Doc fix.
2506
75e8f9d2
CY
2507 * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
2508
d92df117
SM
25092012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
2510
2511 * minibuffer.el (completion--all-sorted-completions-location): New var.
2512 (completion--cache-all-sorted-completions)
2513 (completion--flush-all-sorted-completions): Use it.
2514 (completion-in-region, completion-in-region--postch)
2515 (completion-at-point, completion-help-at-point): Use markers in
2516 completion-in-region--data (bug#12619).
2517
9c3e39f3
SM
25182012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
2519
c79825bd
SM
2520 * progmodes/compile.el (compilation-start): Try to handle common
2521 quoting of `cd' argument (bug#12640).
2522
9c3e39f3
SM
2523 * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
2524 (bug#12671).
2525
a6709bc7
GM
25262012-10-23 Glenn Morris <rgm@gnu.org>
2527
2528 * progmodes/gud.el (gud-menu-map):
2529 Check gdb-active-process is bound. (Bug#12358)
2530
d1069532
SM
25312012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
2532
d20d69c0
SM
2533 * repeat.el (repeat): Set real-this-command (bug#12232).
2534
d1069532
SM
2535 * htmlfontify.el (hfy-post-html-hook):
2536 * filesets.el (filesets-cache-fill-content-hook):
2537 * arc-mode.el (archive-extract-hook):
2538 * progmodes/cc-mode.el (c-prepare-bug-report-hook):
2539 * net/rcirc.el (rcirc-sentinel-functions)
2540 (rcirc-receive-message-functions, rcirc-activity-functions)
2541 (rcirc-print-functions):
2542 * net/dbus.el (dbus-event-error-functions):
2543 * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
2544 * emacs-lisp/checkdoc.el (checkdoc-style-functions)
2545 (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
2546 * term/sun.el (sun-raw-prefix-hooks):
2547 * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
2548
f7eac6d8
MA
25492012-10-23 Michael Albinus <michael.albinus@gmx.de>
2550
d1069532
SM
2551 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
2552 Set `tramp-chunksize' to 1. This improves the performance.
f7eac6d8
MA
2553 (tramp-smb-wait-for-output): Add timeout to
2554 `tramp-accept-process-output' calls.
2555
608d9d7c
CY
25562012-10-23 Chong Yidong <cyd@gnu.org>
2557
49238e7f
CY
2558 * faces.el (font-list-limit): Define as an obsolete variable.
2559
2560 * startup.el (command-line):
2561 * cus-start.el: Don't refer to font-list-limit.
2562
608d9d7c
CY
2563 * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
2564
4ff5b1b2
SM
25652012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
2566
2567 * subr.el (internal-temp-output-buffer-show): Rename from
2568 temp-output-buffer-show, since previously compiled files expect this name.
2569
ea1d4aac
GM
25702012-10-23 Glenn Morris <rgm@gnu.org>
2571
2572 * image.el (image-type-from-file-name): If multiple types match,
2573 return the first one that is supported. (Bug#9045)
2574
eda82a31
GM
25752012-10-22 Glenn Morris <rgm@gnu.org>
2576
2577 * image.el (imagemagick-enabled-types): Doc fix.
2578
4f020bec
TA
25792012-10-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
2580
2581 * progmodes/which-func.el (which-func-current): The hash-table may have
2582 an explicit nil (bug#12338).
2583
c77d37e2
SM
25842012-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
2585
2586 * electric.el (electric-pair-delete-selection-self-insert-function):
2587 Rename to electric-pair-will-use-region, return a boolean.
2588 (electric-pair-mode): Adjust accordingly. Don't require delsel.
2589
2590 * delsel.el (delete-selection-helper): Use a function instead of a hook.
2591 (delete-selection-pre-hook): Use use-region-p.
2592 (delete-selection-self-insert-function): Remove.
2593 (self-insert-command): Obey self-insert-uses-region-functions.
2594 (self-insert-iso): Revert to previous setting, since we don't actually
2595 know what that command does.
2596 (delete-selection-self-insert-hooks): Remove.
2597
b1d39ccc
SL
25982012-10-22 Simon Law <sfllaw@sfllaw.ca> (tiny change)
2599
2600 * delsel.el (delete-selection-helper): New function, extracted from
2601 delete-selection-pre-hook.
2602 (delete-selection-pre-hook): Use it.
2603 (delete-selection-self-insert-function): New function.
2604 (delete-selection-self-insert-hooks): New hook.
2605 (self-insert-command, self-insert-iso): Use it.
2606 * electric.el (electric-pair-syntax): New function, extracted from
2607 electric-pair-post-self-insert-function.
2608 (electric-pair-post-self-insert-function): Use it.
2609 (electric-pair-delete-selection-self-insert-function): New function.
2610 (electric-pair-mode): Require delsel and setup
2611 delete-selection-self-insert-hooks (bug#11520).
2612
045ef729
CY
26132012-10-20 Chong Yidong <cyd@gnu.org>
2614
4c5d08a8
CY
2615 * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
2616 no changes to show (Bug#12586).
2617
045ef729
CY
2618 * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
2619 list explicitly (Bug#12571).
2620
3503c798 26212012-10-20 Arne Jørgensen <arne@arnested.dk>
79e1997a 2622
b1d39ccc
SL
2623 * progmodes/flymake.el (flymake-create-temp-inplace):
2624 Use file-truename.
79e1997a 2625
2068905b
EZ
26262012-10-20 Eli Zaretskii <eliz@gnu.org>
2627
2628 * loadup.el: Update comment about uncompiled Lisp files. (Bug#12395)
2629
4c9e9550
JB
26302012-10-20 Jay Belanger <jay.p.belanger@gmail.com>
2631
2632 * calc/calc-units.el (math-extract-units): Properly extract powers
2633 of units.
2634
1a6e7e38
DC
26352012-10-20 Daniel Colascione <dancol@dancol.org>
2636
2637 * frame.el (make-frame): Set x-display-name as we used to in order
2638 to unbreak creating an X11 frame from an Emacs daemon started
2639 without a display.
2640
8e808318
SM
26412012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
2642
2643 * minibuffer.el (minibuffer-force-complete): Make the next completion use
f5925cd9 2644 the same completion-field (bug#12221).
8e808318 2645
fb0104da
MR
26462012-10-19 Martin Rudalics <rudalics@gmx.at>
2647
2648 * emacs-lisp/debug.el (debug): Record height of debugger window
2649 also when debugger will be back (Bug#8789).
2650
8c27235e
CY
26512012-10-18 Chong Yidong <cyd@gnu.org>
2652
2653 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
2654 Convert to defcustom.
2655 (gdb-get-source-file): Don't bind pop-up-windows.
2656
2657 * progmodes/gud.el (gud-display-line): Don't specially re-use
2658 other frames for the gdb-mi case (Bug#12648).
2659
90eacf99
SM
26602012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
2661
aaf0c300
SM
2662 * emacs-lisp/advice.el: Clean up commentary a bit.
2663 (ad-do-advised-functions, ad-with-originals): Use `declare'.
2664 (byte-code-function-p): Never redefine.
2665
90eacf99
SM
2666 * emacs-lisp/gv.el (cond): Same fix as before for `if'.
2667
281c9d2b
GM
26682012-10-18 Glenn Morris <rgm@gnu.org>
2669
40714e3d
GM
2670 * dired.el (dired-sort-toggle): Some ls implementations only allow
2671 a single option string. (Bug#12666)
2672
281c9d2b
GM
2673 * minibuffer.el (completion-cycle-threshold): Doc fix.
2674
b278604e
KH
26752012-10-17 Kenichi Handa <handa@gnu.org>
2676
90eacf99
SM
2677 * international/mule.el (set-keyboard-coding-system):
2678 Recover input meta mode when the new coding system doesn not use 8-bit.
b278604e
KH
2679 Supply TERMINAL arg to set-input-meta-mode.
2680
df171c23 26812012-10-17 Michael Heerdegen <michael_heerdegen@web.de>
7ebc5f5a
MH
2682
2683 * wdired.el (wdired-old-marks): New variable.
2684 (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
2685 (wdired-do-renames): Move point with renamed file and don't lose
2686 mark status (Bug#11795).
2687
e5a94ec4
JL
26882012-10-16 Juri Linkov <juri@jurta.org>
2689
2690 * replace.el (query-replace-help): Mention multi-buffer replacement
2691 keys in the Help message. (Bug#12655)
2692
d18a0d24
CY
26932012-10-15 Chong Yidong <cyd@gnu.org>
2694
2695 * emacs-lisp/byte-run.el (defsubst): Doc fix.
2696
8111f5e6
EZ
26972012-10-14 Eli Zaretskii <eliz@gnu.org>
2698
7b9abf24
EZ
2699 * window.el (display-buffer): Doc fix.
2700
8111f5e6
EZ
2701 * progmodes/compile.el (compilation-error-regexp-alist-alist):
2702 Adjust the msft regexp to the output of Studio 2010, and move msft
2703 before edg-1. See the discussion on emacs-devel,
2704 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
2705 for the details.
2706
5046ef67
SM
27072012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
2708
9760c73c
SM
2709 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
2710 (oset): Move uses of object-class-fast macro after its definition.
2711
5046ef67
SM
2712 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
2713
0d11ff1c
CY
27142012-10-13 Chong Yidong <cyd@gnu.org>
2715
2716 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
2717 enabled, re-enable it (Bug#11963).
2718
88ded8ac
MR
27192012-10-13 Martin Rudalics <rudalics@gmx.at>
2720
2721 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
2722 non-nil, restore window configuration (Bug#12623).
2723
bd0ffffd
SM
27242012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
2725
06485aa8
SM
2726 * help-fns.el (describe-variable, describe-function-1):
2727 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
2728
bd0ffffd
SM
2729 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
2730
3a989246
GM
27312012-10-12 Glenn Morris <rgm@gnu.org>
2732
2733 * mail/rmailsum.el (rmail-header-summary):
2734 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
2735
55cd00c8
FEG
27362012-10-12 Fabián Ezequiel Gallina <fgallina@cuca>
2737
bd0ffffd
SM
2738 * progmodes/python.el (python-mode-map):
2739 Replace subtitute-key-definition with proper command remapping.
55cd00c8
FEG
2740 (python-nav--up-list): Fix behavior for blocks on the same level.
2741
ac9fc2c7
SM
27422012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
2743
d8cc4c00 2744 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
d8cc4c00 2745
5253a5fd
SM
2746 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
2747 changes to the format of load-history.
2748
ac9fc2c7
SM
2749 * international/mule-cmds.el (read-char-by-name): Move let-binding of
2750 completion-ignore-case in case that var is buffer-local (bug#12615).
2751
cde44a77
KH
27522012-10-11 Kenichi Handa <handa@gnu.org>
2753
2754 * international/eucjp-ms.el: Re-generated.
2755
4ef4a10d
KH
27562012-10-10 Kenichi Handa <handa@gnu.org>
2757
2758 * select.el (xselect--encode-string): If a coding is specified for
2759 selection, and that is compatible with COMPOUND_TEXT, use it.
2760
9d7f027b
MR
27612012-10-10 Martin Rudalics <rudalics@gmx.at>
2762
2763 * window.el (switch-to-buffer-preserve-window-point): New option.
ac9fc2c7
SM
2764 (switch-to-buffer):
2765 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
9d7f027b 2766
238f3a58
SM
27672012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
2768
2769 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
2770 Don't document nil as a useful value (bug#12583).
2771
1d51f99c
MA
27722012-10-09 Michael Albinus <michael.albinus@gmx.de>
2773
238f3a58
SM
2774 * net/tramp.el (tramp-debug-message):
2775 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
1d51f99c
MA
2776 (with-tramp-progress-reporter): Rename from
2777 `tramp-with-progress-reporter'.
238f3a58
SM
2778 (with-tramp-file-property, with-tramp-connection-property):
2779 Move from tramp-cache.el, rename from `with-file-property' and
1d51f99c
MA
2780 `with-connection-property', respectively.
2781
2782 * net/tramp-cache.el: Remove `with-file-property' and
2783 `with-connection-property'.
2784
2785 * net/tramp.el:
2786 * net/tramp-gvfs.el:
2787 * net/tramp-sh.el:
2788 * net/tramp-smb.el: Adapt callees.
2789
2790 * net/trampver.el: Update release number.
2791
26b77251
GM
27922012-10-09 Glenn Morris <rgm@gnu.org>
2793
9a5f296f
GM
2794 * w32-fns.el (set-message-beep):
2795 * term/w32-win.el (set-message-beep): Update declarations.
2796
94c66ce5
SM
27972012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
2798
10766e9e
SM
2799 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
2800 (mode-line-widen, mode-line-input-method-map)
2801 (mode-line-coding-system-map, mode-line-remote)
2802 (mode-line-unbury-buffer, mode-line-bury-buffer)
2803 (mode-line-next-buffer, mode-line-previous-buffer):
2804 Replace save-selected-window+select-window => with-selected-window.
2805
f754db08
SM
2806 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
2807 * progmodes/cc-vars.el (bq-process): Remove, unused.
2808
94c66ce5
SM
2809 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
2810
a4ff7fe1
FEG
28112012-10-09 Fabián Ezequiel Gallina <fgallina@cuca>
2812
2813 Implemented `backward-up-list'-like navigation.
2814 * progmodes/python.el (python-nav-up-list)
2815 (python-nav-backward-up-list): New functions.
2816 (python-mode-map): Define substitute key for backward-up-list to
2817 python-nav-backward-up-list.
2818
24517d82
FEG
28192012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
2820
2821 * progmodes/python.el (python-fill-paragraph): Rename from
2822 python-fill-paragraph-function. Fixed fill-paragraph for
2823 decorators (Bug#12605).
2824
51867ae2
FEG
28252012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
2826
2827 * progmodes/python.el (python-shell-output-filter): Handle extra
2828 carriage return in OSX (Bug#12409).
2829
a5b773c4
FEG
28302012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
2831
2832 Fix shell handling of unbalanced quotes and parens in output.
94c66ce5 2833 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
a5b773c4
FEG
2834 (python-syntax-propertize-function): Use it.
2835 (python-shell-output-syntax-table): New var.
2836 (inferior-python-mode): Prevent unbalanced parens/quotes from
2837 previous output mess with current input context.
2838
13373538
JB
28392012-10-08 Juanma Barranquero <lekktu@gmail.com>
2840
2841 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
2842 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
2843
775a132d
MA
28442012-10-08 Michael Albinus <michael.albinus@gmx.de>
2845
2846 * ffap.el (ffap-replace-file-component): Support Tramp file name
2847 syntax, not only ange-ftp's one.
2848
3ab44929
GM
28492012-10-08 Glenn Morris <rgm@gnu.org>
2850
57f1dee4
GM
2851 * cus-start.el (message-log-max): Set :version.
2852
3ab44929
GM
2853 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
2854
6a088630
MR
28552012-10-08 Martin Rudalics <rudalics@gmx.at>
2856
2857 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
2858 the minibuffer window (Bug#10851).
2859
8dbce54c
FEG
28602012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
2861
2862 Enhancements on forward-sexp movement.
2863 * progmodes/python.el (python-nav-beginning-of-statement)
2864 (python-nav-end-of-statement): Return point-marker.
2865 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
2866 (python-info-current-symbol)
2867 (python-info-statement-starts-block-p): Rename from
2868 python-info-beginning-of-block-p.
2869 (python-info-statement-ends-block-p): Rename from
2870 python-info-end-of-block-p.
2871 (python-info-beginning-of-statement-p)
2872 (python-info-end-of-statement-p)
2873 (python-info-beginning-of-block-p, python-info-end-of-block-p):
2874 New functions.
2875
5acd2b3e
SM
28762012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
2877
2878 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
2879 frame-selected-windows.
2880
e08348a0
DC
28812012-10-08 Daniel Colascione <dancol@dancol.org>
2882
2883 * battery.el (battery-status-function): Check for
2884 w32-battery-status itself, not system-time windows-nt.
2885
2886 * frame.el: Require cl-lib.
2887 (display-format-alist): New variable mapping frame types to
2888 functions that initialize them.
2889 (window-system-for-display): New function: interprets
2890 display-format-alist.
2891 (make-frame-on-display): Remove existing display-selection logic
2892 and just forward to make-frame, which will now DTRT.
2893 (make-frame): Restructure to use window-system-for-display to
2894 figure out how to create a frame on a given display.
2895 (display-mouse-p): Look for frame-type w32, not a particular
2896 system-type.
2897
2898 * loadup.el: Load w32 lisp code when we have the w32 feature.
2899
2900 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
2901 system-type windows-nt.
2902
2903 * server.el (server-create-window-system-frame): Look for window
2904 type.
2905 (server-proces-filter): Only force a window system when windows-nt
2906 _and_ w32. Explain why.
2907
2908 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
2909 of window systems we configure for the mode.
2910
2911 * startup.el (command-line): Mark window system is initialized
2912 after we've done it.
2913
2914 * common-win.el (x-select-text): Look for w32, not windows-nt.
2915
2916 * ns-win.el: Require cl-lib. Add ourselves to
2917 display-format-alist.
2918 (ns-initialize-window-system): Assert we're not initialized twice.
2919
2920 * w32-win.el: Enable lexical binding; require cl-lib; add
2921 ourselves to display-format-alist.
2922 (w32-handle-dropped-file): Convert incoming dropped files from
2923 Windows paths to Cygwin ones before passing them on to the rest of
2924 Emacs.
2925 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
2926 (w32-initialize-window-system): Assert we're not initialized twice.
2927
2928 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
2929 (x-initialize-window-system): Assert we're not initialized twice.
2930
2931 * w32-common-fns.el: New File.
2932 (w32-version, w32-using-nt, w32-get-clipboard-data)
2933 (w32-set-clipboard-data, x-set-selection, x-get-selection)
2934 (w32-charset-info-alist, x-last-selected, text)
2935 (x-get-selection-value, x-selection-value): Move here.
2936
2937 * w32-fns.el: Require w32-common-fns.
2938 (w32-version, w32-using-nt, w32-get-clipboard-data)
2939 (w32-set-clipboard-data, x-set-selection, x-get-selection)
2940 (w32-charset-info-alist, x-last-selected, text)
2941 (x-get-selection-value, x-selection-value): Move to
2942 w32-common-fns.
2943
2944 * w32-vars.el:
2945 (w32-allow-system-shell, w32-system-shells): Define only in
2946 non-cygwin case.
2947
795b1482
SM
29482012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
2949
2950 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
2951 (read-passwd): Remove a few more potential sources of leaks.
2952
f27c99dc
FEG
29532012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
2954
2955 * progmodes/python.el (inferior-python-mode)
795b1482 2956 (python-shell-make-comint): Fix initialization of local
f27c99dc
FEG
2957 variables copied from parent buffer.
2958
fcacb558
JD
29592012-10-07 Jan Djärv <jan.h.d@swipnet.se>
2960
2961 * term/ns-win.el (ns-read-file-name): Update declaration to match
2962 nsfns.m.
2963 (ns-respond-to-change-font): Change fontsize separatly so we are sure
2964 it is set when font is acted upon.
2965
be0d5bae
FEG
29662012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
2967
2968 Enhancements to indentation.
2969 * progmodes/python.el (python-indent-context): Give priority to
2970 inside-string context. Make comments indentation markers.
2971 (python-indent-region): Do not mess with strings, unless it's the
2972 enclosing set of quotes.
2973
13af0d10
SM
29742012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
2975
662a9d0e
SM
2976 * window.el (internal--before-save-selected-window)
2977 (internal--after-save-selected-window): New functions extracted from
2978 save-selected-window. Make sure we return the `alist' we construct.
2979 (save-selected-window): Use them.
2980
2981 * textmodes/tex-mode.el (tex-recenter-output-buffer):
2982 Use with-selected-window.
2983
13af0d10
SM
2984 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
2985 forms that define macros (bug#12593).
2986
6aa75fb6
KH
29872012-10-07 Kenichi Handa <handa@gnu.org>
2988
13af0d10
SM
2989 * international/mule-conf.el (compound-text-with-extensions):
2990 Add :mime-charset property as x-ctext.
6aa75fb6 2991
78d876b9
SM
29922012-10-07 Stefan Merten <smerten@oekonux.de>
2993
2994 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
2995 (rst-indent-literal-normal, rst-indent-literal-minimized)
2996 (rst-indent-comment): Correct :version tag.
557337e9 2997 (rst-official-cvs-rev): Correct version string.
78d876b9 2998
99a1e701
GM
29992012-10-07 Glenn Morris <rgm@gnu.org>
3000
3001 * mail/rmailmm.el (rmail-mime-process-multipart):
3002 Do not confuse a multipart message with an epilogue
3003 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
3004
08f18c3d
FEG
30052012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
3006
3007 Fix shell output retrieval and comint-prompt-regexp init.
3008 * progmodes/python.el (inferior-python-mode):
3009 (python-shell-make-comint): Fix initialization of
3010 comint-prompt-regexp from copied file local variables.
3011 (python-shell-fetched-lines): Remove var.
3012 (python-shell-output-filter-in-progress): Rename from
3013 python-shell-fetch-lines-in-progress.
3014 (python-shell-output-filter-buffer): Rename from
3015 python-shell-fetch-lines-string.
3016 (python-shell-fetch-lines-filter): Delete function.
3017 (python-shell-output-filter): New function.
3018 (python-shell-send-string-no-output): Use them.
3019
82ed3ab4
GM
30202012-10-07 Glenn Morris <rgm@gnu.org>
3021
1595ecfa
GM
3022 * hi-lock.el (hi-lock-process-phrase):
3023 Try to make it less fragile. (Bug#7161)
3024
82ed3ab4
GM
3025 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
3026
f1f4dba0
GM
30272012-10-06 Glenn Morris <rgm@gnu.org>
3028
addc11ed 3029 * ehelp.el (electric-help-mode): Use help-mode rather than
32939005
GM
3030 non-existent mode `help'.
3031 (electric-help-map): Use button-buffer-map. (Bug#10917)
addc11ed 3032
460042b8
GM
3033 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
3034 (reftex-create-bibtex-footer): Fix custom types.
3035
67667c70
GM
3036 * progmodes/sh-script.el (sh-indent-after-continuation):
3037 Add explicit :group.
3038
18dec750
GM
3039 * textmodes/rst.el (rst-preferred-decorations)
3040 (rst-shift-basic-offset): Clarify obsolescence versions.
3041
d1a1c7e6
GM
3042 * profiler.el (profiler): Add missing group :version tag.
3043 * avoid.el (mouse-avoidance-banish-position):
3044 * proced.el (proced-renice-command):
3045 * calc/calc.el (calc-ensure-consistent-units):
3046 * calendar/icalendar.el (icalendar-import-format-uid):
3047 * net/tramp.el (tramp-save-ad-hoc-proxies):
3048 * progmodes/bug-reference.el (bug-reference-bug-regexp):
3049 * progmodes/flymake.el (flymake-error-bitmap)
3050 (flymake-warning-bitmap, flymake-fringe-indicator-position):
3051 * progmodes/sh-script.el (sh-indent-after-continuation):
3052 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
3053 (verilog-before-save-font-hook, verilog-after-save-font-hook):
3054 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
3055 (vhdl-array-index-record-field-in-sensitivity-list)
3056 (vhdl-indent-comment-like-next-code-line):
3057 * textmodes/reftex-vars.el (reftex-ref-style-alist)
3058 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
3059 (reftex-cite-key-separator, reftex-create-bibtex-header)
3060 (reftex-create-bibtex-footer):
3061 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
3062 (rst-indent-literal-normal, rst-indent-literal-minimized)
3063 (rst-indent-comment): Add missing custom :version tags.
3064
ef35abb4
GM
3065 * calendar/timeclock.el (timeclock-modeline-display):
3066 Add missing obsolete alias for renamed user option.
3067
d1aae614
GM
3068 * strokes.el (strokes-modeline-string):
3069 * emulation/crisp.el (crisp-mode-modeline-string):
3070 * eshell/esh-mode.el (eshell-status-in-modeline):
3071 Aliases to defcustoms must come before the defcustom.
3072
f1f4dba0
GM
3073 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
3074 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
3075 (cal-tex-cursor-week-monday): Doc fixes.
3076 (cal-tex-cursor-week2-summary): Doc fix.
3077 Rename from cal-tex-cursor-week-at-a-glance.
3078
3079 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
3080 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
3081
3082 * calendar/calendar.el (calendar-mode-map):
3083 Add cal-tex-cursor-week2-summary.
3084
d39109c3
SM
30852012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
3086
685f87b0
SM
3087 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
3088
d39109c3
SM
3089 * subr.el (read-passwd-map): New var.
3090 (read-passwd): Use `read-string' again.
3091 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
3092
5694896d
J
30932012-10-06 Jambunathan K <kjambunathan@gmail.com>
3094
3095 * register.el (append-to-register, prepend-to-register):
3096 Deactivate mark, as does `copy-to-register' (bug#12389).
3097
9414dd8d
CY
30982012-10-06 Chong Yidong <cyd@gnu.org>
3099
3100 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
3101
2b89bca4
KH
31022012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
3103
3104 * international/characters.el: Fix simple mistake ((car chars) ->
3105 elt), delete duplicated code.
3106
d5acb99a
GM
31072012-10-06 Glenn Morris <rgm@gnu.org>
3108
3109 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
3110
123ec157
JS
31112012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
3112
3113 * color.el (color-hsl-to-rgb): Fix incorrect results for
3114 small and large hue values. (Bug#12559)
3115
7fa36ccb
FEG
31162012-10-05 Fabián Ezequiel Gallina <fgallina@cuca>
3117
3118 Enhancements to docstring formatting when filling paragraphs.
3119 * progmodes/python.el (python-fill-docstring-style): Rename from
3120 python-fill-string-style. Added new style.
3121 (python-fill-string): Use new style. Better checks for
3122 docstrings.
3123
d8788e1e
GM
31242012-10-05 Glenn Morris <rgm@gnu.org>
3125
204f3953
GM
3126 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
3127
d8788e1e
GM
3128 * color.el (color-name-to-rgb, color-rgb-to-hex)
3129 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
3130 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
3131 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
3132 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
3133
8d956cef
GM
3134 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
3135
e8757f09 31362012-10-05 Juanma Barranquero <lekktu@gmail.com>
ea9a3563
JB
3137
3138 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
3139 to get the correct size across symlinks.
3140
e8757f09
GM
3141 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
3142
0e2ae83d
JL
31432012-10-04 Juri Linkov <juri@jurta.org>
3144
3145 * replace.el (query-replace-interactive): Declare obsolete.
3146 (query-replace-read-from): Add the last incremental search string
3147 to the list of default values accessible via M-n.
3148 (map-query-replace-regexp): Use `read-regexp'.
3149 (query-replace, query-replace-regexp, query-replace-regexp-eval)
3150 (map-query-replace-regexp, replace-string, replace-regexp):
3151 Fix docstrings to replace mentions of `query-replace-interactive'
3152 with alternatives. (Bug#12526)
3153
93cacb6d
JL
31542012-10-04 Juri Linkov <juri@jurta.org>
3155
3156 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
3157 (dired-pop-to-buffer): Declare obsolete.
3158 (dired-mark-pop-up): Doc fix.
3159
fc345011
FEG
31602012-10-04 Fabián Ezequiel Gallina <fgallina@cuca>
3161
3162 Allow user to set docstring style for fill-paragraph.
3163 * progmodes/python.el
3164 (python-fill-comment-function, python-fill-string-function)
3165 (python-fill-decorator-function, python-fill-paren-function):
3166 Remove :safe for defcustoms.
3167 (python-fill-string-style): New defcustom
5694896d 3168 (python-fill-paragraph-function): Enhance context detection.
fc345011
FEG
3169 (python-fill-string): Honor python-fill-string-style settings.
3170
6bab5d8b
MR
31712012-10-04 Martin Rudalics <rudalics@gmx.at>
3172
3173 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
3174 after setting its buffer (Bug#10805).
3175
a1a9f411
FEG
31762012-10-03 Fabián Ezequiel Gallina <fgallina@cuca>
3177
3178 Fix cornercase for string syntax.
3179 * progmodes/python.el (python-syntax-propertize-function):
3180 Simplify and enhance the regexp for unescaped quotes. Now it also
3181 matches quotes in weird situations like the single quote in
3182 "something\"'".
3183 (python-syntax-stringify): Simplify num-quotes detecting code.
3184
05e153a6
GM
31852012-10-03 Glenn Morris <rgm@gnu.org>
3186
3187 * help-macro.el (three-step-help):
3188 Revert 2012-09-29 change. (Bug#12567)
3189
2e566ecb
MR
31902012-10-03 Martin Rudalics <rudalics@gmx.at>
3191
96ef9ccd
MR
3192 * menu-bar.el (kill-this-buffer): Don't do anything when
3193 `menu-frame' is not alive or visible (Bug#8184).
3194
2e566ecb
MR
3195 * emacs-lisp/debug.el (debug): When quitting the debugger window
3196 restore current buffer (Bug#12502).
3197
a96e1cb7
CY
31982012-10-02 Chong Yidong <cyd@gnu.org>
3199
5694896d
J
3200 * progmodes/hideif.el (hif-lookup, hif-defined):
3201 Handle semantic-c-takeover-hideif.
a96e1cb7 3202
b3ecad33
PE
32032012-10-02 Paul Eggert <eggert@cs.ucla.edu>
3204
3205 Change sampling interval units from ms to ns.
3206 * profiler.el (profiler-sampling-interval): Change units
3207 from ms to ns, multiplying the default by 1000000 so that
3208 it remains 1 ms.
3209 (profiler-report-cpu-line-format): Give enough room for
3210 the maximum counters on 64-bit hosts.
3211 (profiler-report-render-calltree-1): Call them "CPU samples",
3212 not "Time (ms)", since they are not milliseconds now (and
3213 never really were).
3214
8cb51b66 32152012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
c623f81a 3216
5694896d
J
3217 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
3218 Fix querying BBDB for entries without a last name (Bug#11580).
c623f81a 3219
fd795bf4
CY
32202012-10-02 Chong Yidong <cyd@gnu.org>
3221
3222 * emacs-lisp/eieio.el: Restore Version header.
3223
fe0a74f9
SM
32242012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
3225
6be9197e
SM
3226 * vc/diff-mode.el (diff--auto-refine-data): New var.
3227 (diff-hunk): Use it to delay refinement.
3228 (diff-mode): Remove overlays when we turn off font-lock.
3229
18486139
SM
3230 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
3231 (table-initialize-table-fixed-width-mode)
3232 (table-set-table-fixed-width-mode): Remove functions.
3233 (table-command-list): Move initialization into declaration.
3234 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
3235 (table-with-cache-buffer): Use `declare'.
3236 (table-span-cell): Simplify via CSE.
3237 (table-fixed-width-mode): Use define-minor-mode.
3238 (table-call-interactively, table-funcall, table-apply): Remove.
3239 (table-function): New function, to replace them.
3240
d83ef976
SM
3241 * bookmark.el (bookmark-search-pattern): Remove var.
3242 (bookmark-read-search-input): Remove function.
3243 (bookmark-bmenu-search): Reimplement using a minibuffer.
3244
cd386662
SM
3245 * faces.el (modeline): Remove obsolete face name.
3246
fe0a74f9
SM
3247 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
3248 and give a non-nil default value.
3249 (add-change-log-entry): Simplify accordingly.
3250
9f7b98f8
DG
32512012-10-01 Dmitry Gutov <dgutov@yandex.ru>
3252
3253 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
3254 (vc-git-log-edit-toggle-amend): New function.
3255 (vc-git-log-edit-toggle-signoff): New function.
3256 (vc-git-log-edit-mode): New major mode.
3257 (vc-git-log-edit-mode-map): Keymap for it.
3258 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
3259
3260 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
3261 header names.
3262 (log-edit-toggle-header): New function.
3263 (log-edit-extract-headers): Accept function values in HEADERS alist.
3264
62a81506
CY
32652012-10-01 David Engster <deng@randomsample.de>
3266
3267 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
3268 from symbol property and change message to be more consistent with
3269 Emacs proper.
3270 (eieio-describe-generic): Add filename for each implementation.
3271 Fix indices for generic and normal methods.
3272 (eieio-method-def, eieio-class-def): New buttons.
3273 (eieio-help-find-method-definition)
3274 (eieio-help-find-class-definition): New functions.
3275 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
3276 class, constructor and method definitions.
3277
3278 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
3279 information in symbol property.
3280 (scoped-class): Remove.
3281 (eieio-slot-name-index, call-next-method): Check if it is bound.
3282
32832012-10-01 Leo P. White <lpw25@cam.ac.uk>
3284
3285 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
3286 (eieio-custom-mode): New major mode.
3287 (eieio-customize-object): Use it.
3288
32892012-10-01 Eric Ludlam <zappo@gnu.org>
3290
3291 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
3292 specifying the expected class, and whether subclassing is allowed.
3293 (eieio-persistent-convert-list-to-object):
1f9f395d
JB
3294 (eieio-persistent-validate/fix-slot-value)
3295 (eieio-persistent-slot-type-is-class-p): New functions.
3296 (eieio-named::slot-missing): Doc fix.
62a81506
CY
3297
3298 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
3299 Stop using unused publd variable.
3300
3301 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
3302 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
3303 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
3304 (eieio-speedbar-handle-click): Do not specify a class for the
3305 method. Fixes method invocation order problems with EDE.
3306
375e49d4
SM
33072012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
3308
3309 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
3310 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
3311
16ce6ccd
KF
33122012-10-01 Karl Fogel <kfogel@red-bean.com>
3313
3314 * bookmark.el (bookmark-version-control): Give tags in the
3315 :type choices (Bug#12309), and improve doc string.
e4c4abdd
KF
3316 (bookmark-write-file): Bind `print-circle' to `t' to allow
3317 circular custom bookmark types. (Bug#12503)
16ce6ccd 3318
19e54a4d
PE
33192012-10-01 Paul Eggert <eggert@cs.ucla.edu>
3320
86ec63ba
PE
3321 Revert the FOLLOW-SYMLINKS change for file-attributes.
3322 * files.el (remote-file-name-inhibit-cache, after-find-file):
3323 * time.el (display-time-file-nonempty-p): Undo last change.
3324
19e54a4d
PE
3325 * profiler.el (profiler-sampling-interval): Change default back to 1.
3326 See Stefan Monnier in
3327 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
3328
0478776b
FEG
33292012-10-01 Fabián Ezequiel Gallina <fgallina@cuca>
3330
3331 Shell output catching a la gud-gdb.
3332 * progmodes/python.el (python-shell-fetch-lines-in-progress)
375e49d4
SM
3333 (python-shell-fetch-lines-string, python-shell-fetched-lines):
3334 New Vars.
0478776b
FEG
3335 (python-shell-fetch-lines-filter): New function.
3336 (python-shell-send-string-no-output): Use them.
3337
c22bac2c
TM
33382012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
3339
3340 * profiler.el (profiler-sampling-interval): Rename from
3341 profiler-sample-interval.
3342 (profiler-sampling-interval): Default to 10.
3343 (profiler-find-profile): New command (was profiler-find-log).
3344 (profiler-find-profile-other-window): New command.
3345 (profiler-find-profile-other-frame): New command.
3346 (profiler-profile): Introduce API-level data structure.
3347
e7a2937b
PE
33482012-09-30 Paul Eggert <eggert@cs.ucla.edu>
3349
3350 file-attributes has a new optional arg FOLLOW-SYMLINKS.
3351 * files.el (remote-file-name-inhibit-cache):
3352 * time.el (display-time-file-nonempty-p): Use it.
3353 * files.el (after-find-file): Don't chase links before calling
3354 file-exists-p, as file-exists-p already does the right thing.
3355
4f595e15
RA
33562012-09-30 Ralf Angeli <angeli@caeruleus.net>
3357
3358 Merge from standalone RefTeX repository.
3359
3360 The following ChangeLog entries are shortened versions of the
3361 original ones with file paths adapted. A not so strongly edited
3362 version of the original ChangeLog can be found in the commit log.
3363
3364 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
375e49d4
SM
3365 (reftex-arg-cite): Use `reftex-cite-key-separator'.
3366 Correctly handle new value type returned by `reftex-citation'.
4f595e15
RA
3367
3368 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
375e49d4
SM
3369 that entries with whitespace at various places are found.
3370 Doc fix. Include entries that are cross-referenced from cited entries.
4f595e15
RA
3371 Include @String definitions in the resulting bib file. Add header
3372 and footer defined in `reftex-create-bibtex-header' and
3373 `reftex-create-bibtex-footer'.
3374 (reftex-do-citation): Make it possible again to insert
3375 non-existent entries. Save match data when asking for optional
3376 arguments. Return all keys, not just the first one.
3377 (reftex-all-used-citation-keys): Fix regexp to correctly extract
3378 all citations in the same line.
3379 (reftex-parse-bibtex-entry): Accept additional optional argument
3380 `raw' and keep quotes or braces if it is non-nil. Match fields
3381 containing hyphens besides word constituents.
3382 (reftex-get-string-refs): New function.
3383 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
3384 and ask if it should be reread in case it did.
3385 (reftex-pop-to-bibtex-entry)
3386 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
3387 entries with spaces or tabs in front of arguments.
3388 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
375e49d4
SM
3389 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
3390 Match entries containing numbers and symbol constituents.
3391 (reftex-do-citation, reftex-figure-out-cite-format):
3392 Use `reftex-cite-key-separator'.
4f595e15
RA
3393
3394 * textmodes/reftex-dcr.el: Move provide statement to end of file.
3395 (reftex-mouse-view-crossref): Explain why point is set.
3396
3397 * textmodes/reftex-global.el: Whitespace changes.
3398
3399 * textmodes/reftex-index.el: Move provide statement to end of
3400 file.
3401 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
3402 (reftex-index-visit-phrases-buffer): Set marker when visiting
3403 buffer. This allows for returning from the phrases file to the
3404 file one was just editing instead of the file where the last
3405 phrases was added from.
3406 (reftex-index-phrases-syntax-table): New variable. Give ?\"
3407 punctuation syntax as it usually is not used as string quote in
3408 TeX-related modes and may occur unmatched. The change also
3409 prevents fontification of quoted content.
3410 (reftex-index-phrases-mode): Use it.
3411
375e49d4
SM
3412 * textmodes/reftex-parse.el (reftex-parse-from-file):
3413 Move backward one char if a `\' was matched after a section macro.
4f595e15
RA
3414 (reftex-parse-from-file): Use beginning of match instead of end as
3415 bound.
3416
3417 * textmodes/reftex-ref.el: Adapt creation of
3418 `reftex-<package>-<macro>' functions to new structure of
3419 `reftex-ref-style-alist'.
375e49d4
SM
3420 (reftex-reference): Use `reftex-ref-style-list' function.
3421 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
4f595e15
RA
3422 reference macro if `reftex-ref-macro-prompt' is non-nil.
3423 (reftex-reference): Pass refstyle to `reftex-format-special'.
3424 Determine reference macro by looking at
375e49d4
SM
3425 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
3426 Use only one special format function.
4f595e15
RA
3427 (reftex-varioref-vref, reftex-fancyref-fref)
3428 (reftex-fancyref-Fref): Remove definitions. The functions are now
3429 generated from `reftex-ref-style-alist'.
3430 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
3431 Remove.
3432 (reftex-format-special): New function.
3433
3434 * textmodes/reftex-sel.el
3435 (reftex-select-cycle-ref-style-internal): Adapt to new structure
3436 of `reftex-ref-style-alist'. Remove code for testing macro type.
3437 (reftex-select-toggle-varioref)
3438 (reftex-select-toggle-fancyref): Remove.
3439 (reftex-select-cycle-ref-style-internal)
3440 (reftex-select-cycle-ref-style-forward)
3441 (reftex-select-cycle-ref-style-backward): New functions.
3442 (reftex-select-label-map): Use `v' and `V' for general cycling
3443 through reference styles. Add `p' for switching between number
3444 and page reference types.
3445
375e49d4
SM
3446 * textmodes/reftex-toc.el (reftex-re-enlarge):
3447 Call `enlarge-window' only if there is something to do because in Emacs
4f595e15
RA
3448 the horizontal version throws an error even if the parameter is 0.
3449
3450 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
3451 (reftex-plug-into-AUCTeX): Doc fix.
3452 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
3453 string. Adapt to new name.
3454 (reftex-ref-style-alist): Change structure so that it is not
3455 possible to use multiple different package names within a style.
375e49d4
SM
3456 Remove the symbols for symbols for macro type distinction.
3457 Add characters for macro selection.
4f595e15
RA
3458 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
3459 (reftex-create-bibtex-footer): New variables.
3460 (reftex-format-ref-function): Mention third argument of special
3461 format function.
375e49d4
SM
3462 (reftex-ref-style-alist, reftex-ref-style-default-list):
3463 New variables.
4f595e15
RA
3464 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
3465 to new implementation. Mark as obsolete. Add compatibility code
3466 for honoring the variable values in case they are set.
375e49d4
SM
3467 (reftex-cite-format-builtin, reftex-bibliography-commands):
3468 Add support for ConTeXt.
3469 (reftex-format-ref-function, reftex-format-cite-function):
3470 Fix custom type.
4f595e15
RA
3471 (reftex-cite-key-separator): New variable.
3472
3473 * textmodes/reftex.el (reftex-syntax-table-for-bib)
3474 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
3475 `reftex-syntax-table' because parens have to retain their paren
3476 syntax in order for parsing of BibTeX entries like @book(...) to
3477 work.
3478 (reftex-in-comment): Do not error out if `comment-start-skip' is
3479 not set. Deal correctly with escaped comment characters.
375e49d4
SM
3480 (reftex-tie-multifile-symbols): Add doc string.
3481 Initialize `reftex-ref-style-list'.
4f595e15
RA
3482 (reftex-untie-multifile-symbols): Add doc string.
3483 (reftex-add-index-macros): Doc fix.
3484 (reftex-ref-style-activate, reftex-ref-style-toggle)
3485 (reftex-ref-style-list): New functions.
3486 (reftex-mode-menu): Use them. Adapt to new structure of
3487 `reftex-ref-style-alist'.
3488 (reftex-select-with-char): Kill the RefTeX Select buffer when
3489 done.
3490 (reftex-remove-if): New function.
3491 (reftex-erase-all-selection-and-index-buffers)
3492 (reftex-mode-menu): Reference styles are now computed from
3493 `reftex-ref-style-alist'. Fix typo.
3494 (reftex-report-bug): New function.
3495 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
3496 algorithms with O(n log n). Introduce optional argument SORT (not
3497 yet used).
3498
440ba395
FEG
34992012-09-30 Fabián Ezequiel Gallina <fgallina@cuca>
3500
3501 Enhancements for triple-quote string syntax.
375e49d4
SM
3502 * progmodes/python.el (python-syntax-propertize-function):
3503 Match both quote cases in one regexp.
440ba395
FEG
3504 (python-syntax-stringify): Handle matches properly.
3505
4c478e6b
JL
35062012-09-30 Juri Linkov <juri@jurta.org>
3507
3508 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
93cacb6d 3509 to nil around the call to `insert' to prevent
4c478e6b
JL
3510 directory time modification by lock_file. (Bug#2295)
3511 * tar-mode.el (tar-summarize-buffer): Idem.
3512
d80d54b2
JL
35132012-09-30 Juri Linkov <juri@jurta.org>
3514
3515 * facemenu.el (list-colors-sort): Add option "Luminance".
3516 (list-colors-sort-key): Implement it.
3517
3518 * vc/diff-mode.el (diff-refine-removed):
3519 * vc/ediff-init.el (ediff-fine-diff-A):
3520 * vc/smerge-mode.el (smerge-refined-removed):
3521 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
3522
d7e642cc
JD
35232012-09-30 Jan Djärv <jan.h.d@swipnet.se>
3524
3525 * term/ns-win.el (x-file-dialog): New function.
3526
ee41332b
JB
35272012-09-30 Juanma Barranquero <lekktu@gmail.com>
3528
3529 * ido.el (ido-max-directory-size): Default to nil; the current
3530 default is small for POSIX systems, and impractical on Windows 7
3531 now that lstat returns directory sizes for NTFS.
3532
5938d519
MR
35332012-09-30 Martin Rudalics <rudalics@gmx.at>
3534
3535 In buffer display functions handle window-height/window-width
3536 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
375e49d4
SM
3537 * window.el (window--display-buffer): New argument ALIST.
3538 Obey window-height and window-width alist entries.
3539 (window--try-to-split-window): New argument ALIST.
3540 Bind window-combination-limit to t when the window's size shall be
5938d519
MR
3541 changed and window-combination-limit equals `window-size'.
3542 (display-buffer-in-atom-window)
3543 (display-buffer-in-major-side-window)
3544 (display-buffer-in-side-window, display-buffer-same-window)
3545 (display-buffer-reuse-window, display-buffer-pop-up-frame)
3546 (display-buffer-pop-up-window, display-buffer-below-selected)
3547 (display-buffer-at-bottom, display-buffer-in-previous-window)
3548 (display-buffer-use-some-window): Adjust all callers of
3549 window--display-buffer and window--try-to-split-window.
3550 (fit-frame-to-buffer): New option.
3551 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
3552 is non-nil.
3553 (display-buffer-in-major-side-window): Evaluate window-height /
3554 window-width alist entries.
3555
3556 * help.el (temp-buffer-resize-frames)
3557 (temp-buffer-resize-regexps): Remove options.
3558 (temp-buffer-resize-mode): Adjust doc-string.
3559 (resize-temp-buffer-window): Don't consult
3560 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
3561 temp-buffer-resize-frames.
3562
375e49d4
SM
3563 * dired.el (dired-mark-pop-up):
3564 Call display-buffer-below-selected with a fit-window-to-buffer alist
5938d519
MR
3565 entry.
3566
c4c0c2df
CY
35672012-09-30 Chong Yidong <cyd@gnu.org>
3568
48de8b12
CY
3569 * server.el (server-host): Document the security implications.
3570 (server-auth-key): Doc fix.
3571
3572 * startup.el (initial-buffer-choice): Doc fix.
3573
3574 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
3575
a97dc380
CY
3576 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
3577 restriction change.
3578
d39d3c8e
CY
3579 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
3580
c4c0c2df
CY
3581 * help-fns.el (help-fns--obsolete): Fix last change.
3582
98a5e33b
SM
35832012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
3584
34cf6f39
SM
3585 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
3586 (minor-mode-map-alist): Remove redundant code.
3587
e01c13fe
SM
3588 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
3589 visited in a buffer.
3590 (cvs-insert-visited-file): New function.
3591 (find-file-hook): Use it.
3592
3593 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
3594
02661b3a
SM
3595 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
3596 chose face.
3597 (log-edit-empty-buffer-p): Don't require a space after a header.
3598
43711d4b
SM
3599 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
3600
38a30d64
SM
3601 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
3602
4ffb41a9
SM
3603 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
3604 a proper minor-mode.
3605
98a5e33b
SM
3606 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
3607
de82e29b
GM
36082012-09-29 Glenn Morris <rgm@gnu.org>
3609
5cc2e639
GM
3610 * winner.el (winner-mode): Remove variable (let define-minor-mode
3611 handle it).
3612 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
3613 Doc fixes.
3614 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
3615 (winner-mode): Use define-minor-mode.
3616
7bd302eb
GM
3617 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
3618 the full definition in loaddefs, rather than duplicating it.
3619
2923922f 3620 * help-macro.el (three-step-help): No need to autoload defcustom.
ced08382 3621
0e3e4156
GM
3622 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
3623 (inferior-lisp-program, inferior-lisp-load-command)
3624 (inferior-lisp-prompt, inferior-lisp-mode-hook):
2923922f 3625 No need to autoload defcustoms.
0e3e4156 3626
de82e29b
GM
3627 * hippie-exp.el (hippie-expand-try-functions-list)
3628 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
3629 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
3630 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
2923922f 3631 (hippie-expand-only-buffers): No need to autoload defcustoms.
de82e29b
GM
3632 * progmodes/vhdl-mode.el (vhdl-line-expand):
3633 Explicitly load hippie-exp, so it does not get autoloaded
3634 while hippie-expand-try-functions-list is let-bound.
3635
e60b51ab
GM
36362012-09-28 Glenn Morris <rgm@gnu.org>
3637
277f0cfa
GM
3638 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
3639
e60b51ab
GM
3640 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
3641 Only "cl.el" counts as cl these days.
3642
53baf48a
JL
36432012-09-28 Juri Linkov <juri@jurta.org>
3644
3645 Display archive errors in the echo area instead of inserting
3646 to the file buffer.
3647
3648 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
3649 to STDERR-TEST that can be a regexp matching a successful output.
3650 Create a temporary file and redirect stderr to it. Search for
3651 STDERR-TEST in the stderr output and display it in the echo area
3652 if no match is found.
3653 (archive-extract-by-file): New function like
3654 `archive-extract-by-stdout' but extracting archives to files
3655 and looking for successful matches in stdout. Function body is
3656 mostly copied from `archive-rar-extract'.
3657 (archive-rar-extract): Use `archive-extract-by-file'.
3658 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
3659
9c1228c3
LL
36602012-09-28 Leo Liu <sdl.web@gmail.com>
3661
375e49d4
SM
3662 * pcomplete.el (pcomplete-show-completions):
3663 Use minibuffer-message to make pcomplete usable in minibuffer.
147c0425 3664
9c1228c3
LL
3665 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
3666
7f457c06
SM
36672012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
3668
3df749b0
SM
3669 * type-break.el: Use lexical-binding.
3670 (type-break-mode): Use define-minor-mode.
3671
7f457c06
SM
3672 * emacs-lisp/pcase.el (pcase--mark-used): New.
3673 (pcase--u1): Use it (bug#12512).
3674
3675 * custom.el (load-theme): Set buffer-file-name so the load is recorded
3676 in load-history with the right file name.
3677
c00ebc98
TH
36782012-09-28 Tassilo Horn <tsdh@gnu.org>
3679
3680 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
3681 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
3682 (doc-view-get-bounding-box): Make bounding box slicing work for
3683 ODF and DVI documents.
3684
96fb7170
GM
36852012-09-28 Glenn Morris <rgm@gnu.org>
3686
3687 * type-break.el (type-break-mode, type-break-interval)
3688 (type-break-good-rest-interval, type-break-keystroke-threshold):
3689 No need to autoload.
3690 (type-break-good-rest-interval, type-break-keystroke-threshold):
3691 Add :set-after.
3692
5bc93c67
CY
36932012-09-28 Chong Yidong <cyd@gnu.org>
3694
3695 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
3696 Add :version tag.
3697
9cad61d6
SM
36982012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
3699
e28e67b3 3700 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
9cad61d6 3701
daee954c
GM
37022012-09-27 Glenn Morris <rgm@gnu.org>
3703
a88324d4
GM
3704 * faces.el (x-display-name): Declare (for without-x builds).
3705
8e5064e5
GM
3706 * linum.el (linum-format): Don't autoload it. Improve :type.
3707
cc1783c2
GM
3708 * progmodes/tcl.el: Don't require outline when compiling.
3709 (outline-regexp, outline-level): Declare.
1dddcf4c
GM
3710 * textmodes/sgml-mode.el: Don't require outline when compiling.
3711 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
3712
48c339f2
GM
3713 * term.el (term-ansi-reset):
3714 Try setting term-ansi-face-already-done to nil. (Bug#11785)
3715
daee954c
GM
3716 * vc/vc.el (vc-next-action): Only gripe about committing read-only
3717 files for RCS and SCCS. (Bug#9781)
3718
b7f42161
CY
37192012-09-27 Chong Yidong <cyd@gnu.org>
3720
3721 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
3722 change; value should be t.
3723
a2e770db
SM
37242012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
3725
83600dc8
SM
3726 * image-mode.el: Use lexical-binding.
3727 (image-mode-winprops): Use t to stand for the window of
3728 a buffer that's not displayed.
3729 * doc-view.el (doc-view-new-window-function): Handle the new
3730 t in winprops.
3731 (doc-view-enlarge): Make it a real nop if the size is not changed.
3732 (doc-view-display): Handle the case where the buffer is not (yet?)
3733 displayed in any window.
3734 (doc-view-saved-settings): New var.
3735 (doc-view-mode): Use it.
3736 (doc-view-fallback-mode): Set it.
3737
a2e770db
SM
3738 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
3739 Set lexical-binding.
3740 (minibuffer-eldef-shorten-default): New var.
3741 (minibuffer-default-in-prompt-regexps): Use it for new default.
3742 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
3743
e3b60857
JB
37442012-09-26 Juanma Barranquero <lekktu@gmail.com>
3745
3746 * international/uni-bidi.el:
3747 * international/uni-category.el:
3748 * international/uni-name.el:
3749 * international/uni-numeric.el: Regenerate.
3750
3a880af4
SM
37512012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
3752 Stefan Monnier <monnier@iro.umontreal.ca>
3753
3754 * profiler.el: New file.
3755
07b1a5fb
SM
37562012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
3757
3758 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
3759 (testcover-reinstrument): Simplify with CSE.
3760
42019c2e
JB
37612012-09-26 Juanma Barranquero <lekktu@gmail.com>
3762
3763 * window.el (temp-buffer-window-setup): Fix typo in docstring.
3764
179f044b
WS
37652012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
3766
3767 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
3768 (verilog-auto-input, verilog-auto-insert-lisp)
3769 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
3770 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
3771 (verilog-auto-unused, verilog-auto-wire)
3772 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
3773 newline. Reported by Andrew Jones.
3774 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
3775 Reported by Brad Dobbie.
07b1a5fb
SM
3776 (verilog-batch-delete-trailing-whitespace):
3777 Create verilog-batch-delete-trailing-whitespace.
3778 Reported by Brad Dobbie.
179f044b
WS
3779 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
3780 parameters from another module. Reported by Dan Katz.
3781 (verilog-auto, verilog-auto-assign-modport)
3782 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
3783 AUTOINOUTMODPORT for UVM interface module shell generation.
3784 Reported by Brad Dobbie.
3785 (verilog-auto-inst-interfaced-ports): Make default nil, as more
3786 standard behavior.
3787 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
3788 Reported by Matt Martin.
3789
9c52dd5a
MR
37902012-09-25 Martin Rudalics <rudalics@gmx.at>
3791
3792 * window.el (window--resize-child-windows): When resizing child
3793 windows proportionally, process them in reverse order to
3794 preserve the "when splitting a window the new one gets the odd
3795 line" behavior.
3796 (window--resize-root-window-vertically): When resizing the
3797 minibuffer window try to affect only windows at the bottom of the
3798 frame. (Bug#12419)
3799
863666eb
CY
38002012-09-25 Chong Yidong <cyd@gnu.org>
3801
3802 * subr.el (declare): Doc fix.
3803
3804 * help-fns.el (help-fns--obsolete): Handle macros properly.
3805
59f7af81
CY
38062012-09-25 Chong Yidong <cyd@gnu.org>
3807
3808 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
3809 this function obsolete.
3810
3811 * calendar/cal-x.el (calendar-two-frame-setup)
3812 (calendar-only-one-frame-setup, calendar-one-frame-setup):
3813 * calendar/calendar.el (american-calendar, european-calendar)
3814 (calendar-for-loop):
3815 * comint.el (comint-dynamic-simple-complete)
3816 (comint-dynamic-complete-as-filename, comint-unquote-filename):
3817 * desktop.el (desktop-load-default):
3818 * dired-x.el (dired-omit-here-always)
3819 (dired-hack-local-variables, dired-default-directory):
3820 * emacs-lisp/derived.el (derived-mode-class):
3821 * emacs-lisp/timer.el (timer-set-time-with-usecs):
3822 * emacs-lock.el (toggle-emacs-lock):
3823 * epa.el (epa-display-verify-result):
3824 * epg.el (epg-sign-keys, epg-start-sign-keys)
3825 (epg-passphrase-callback-function):
3826 * eshell/esh-util.el (eshell-for):
3827 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
3828 (eshell-add-to-window-buffer-names):
3829 * files.el (locate-file-completion):
3830 * imenu.el (imenu-example--create-c-index)
3831 (imenu-example--create-lisp-index)
3832 (imenu-example--lisp-extract-index-name)
3833 (imenu-example--name-and-position):
3834 * international/mule-cmds.el (princ-list):
3835 * international/mule-diag.el (decode-codepage-char):
3836 * international/mule-util.el (detect-coding-with-priority):
3837 * iswitchb.el (iswitchb-read-buffer):
3838 * mail/mailalias.el (mail-complete):
3839 * mail/sendmail.el (mail-sent-via):
3840 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
3841 (mouse-major-mode-menu):
3842 * password-cache.el (password-read-and-add):
3843 * pcomplete.el (pcomplete-parse-comint-arguments):
3844 * progmodes/sh-script.el (sh-maybe-here-document):
3845 * replace.el (query-replace-regexp-eval):
3846 * savehist.el (savehist-load):
3847 * simple.el (choose-completion-delete-max-match):
3848 * term.el (term-dynamic-simple-complete):
3849 * vc/ediff-init.el (ediff-check-version):
3850 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
3851 * vc/vc.el (vc-diff-switches-list):
3852 * view.el (view-return-to-alist-update): Likewise.
3853
3854 * subr.el (eval-next-after-load, makehash, insert-string)
3855 (assoc-ignore-representation, assoc-ignore-case): Use declare to
3856 mark obsolete.
3857 (mode-line-inverse-video): Variable deleted.
3858
3859 * international/mule-util.el (string-to-sequence): Remove.
3860
3861 * calendar/calendar.el (calendar-version):
3862 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
3863 (icalendar-convert-diary-to-ical):
3864 * cus-edit.el (custom-mode):
3865 * ansi-color.el (ansi-color-unfontify-region):
3866 * international/latin1-disp.el (latin1-char-displayable-p):
3867 * progmodes/cwarn.el (turn-on-cwarn-mode):
07b1a5fb
SM
3868 * progmodes/which-func.el (which-func-update-1):
3869 Use define-obsolete-function-alias.
59f7af81
CY
3870
3871 * net/newst-backend.el (newsticker-cache-filename):
07b1a5fb
SM
3872 * net/newst-treeview.el (newsticker-groups-filename):
3873 Fix incorrect obsolescence declaration.
59f7af81
CY
3874
3875 * allout.el (allout-passphrase-hint-string): Likewise.
3876 (allout-init): Use a declare form to mark obsolete.
3877
3878 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
3879 this applies to functions.
3880
3881 * iswitchb.el (iswitchb-read-buffer): Move code of
3882 iswitchb-define-mode-map here, and delete that obsolete function.
3883
3884 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
3885 font-lock-reference-face.
3886
cca96c97
GM
38872012-09-25 Glenn Morris <rgm@gnu.org>
3888
b06eeda8
GM
3889 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
3890 Doc fixes.
3891
cca96c97
GM
3892 * eshell/em-term.el (eshell-term-name):
3893 Default to term-term-name. (Bug#12485)
3894
dc4f818b
FEG
38952012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
3896
cca96c97
GM
3897 * progmodes/python.el (python-shell-send-buffer): Better handling
3898 of "if __name__ == '__main__':" conditionals when sending the buffer.
dc4f818b 3899
289c24bd
GM
39002012-09-24 Glenn Morris <rgm@gnu.org>
3901
3902 * eshell/esh-cmd.el (eshell-find-alias-function):
3903 Tighten up file-name regexp. (Bug#12499)
3904
8fb8b88f
FEG
39052012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
3906
3907 Enhancements for triple-quote string syntax.
3908 * progmodes/python.el (python-quote-syntax): Remove.
3909 (python-syntax-propertize-function): New value.
07b1a5fb
SM
3910 (python-syntax-count-quotes, python-syntax-stringify):
3911 New functions.
8fb8b88f 3912
6c27f0f8
CY
39132012-09-24 Chong Yidong <cyd@gnu.org>
3914
a5f2b6ec
CY
3915 * mail/supercite.el (sc-version): Remove obsolete function.
3916 (sc-describe): Don't mark as obsolete, since it is bound.
3917 (sc-submit-bug-report): Remove.
3918
3919 * vc/log-edit.el (cvs-changelog-full-paragraphs)
3920 (cvs-commit-buffer-require-final-newline): Remove.
0c765e5f
CY
3921 (log-edit-require-final-newline)
3922 (log-edit-changelog-full-paragraphs): Default to t.
a5f2b6ec
CY
3923
3924 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
3925 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
3926 * vc/vc.el (vc-checkout-carefully): Likewise.
3927
3928 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
3929 (emerge-version): Remove.
3930
3931 * progmodes/compile.el (compile-internal): Remove.
3932 (compilation-parse-errors-function): Fix typo.
3933
3934 * international/mule.el (set-char-table-default): Remove.
3935 (set-coding-priority, make-coding-system, generic-char-p)
3936 (charset-list, charset-bytes, charset-id): Use declare to mark
3937 functions as obsolete.
3938
3939 * vc/pcvs-defs.el (cvs-buffer-name-alist)
3940 (cvs-invert-ignore-marks): Remove references to obsolete vars.
3941 * vc/vc-hooks.el (vc-default-registered): Don't use
3942 vc-master-templates.
3943
07b1a5fb
SM
3944 * font-lock.el (font-lock-reference-face):
3945 Use define-obsolete-variable-alias.
6c27f0f8
CY
3946
3947 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
3948 * calendar/calendar.el (calendar-font-lock-keywords):
3949 * calendar/diary-lib.el (diary-font-lock-keywords)
3950 (diary-fancy-font-lock-keywords):
3951 * textmodes/reftex-sel.el (reftex-insert-docstruct):
3952 * textmodes/reftex-index.el (reftex-insert-index):
3953 * textmodes/reftex-cite.el (reftex-format-bib-entry):
3954 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
3955 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
3956 * progmodes/prolog.el (prolog-font-lock-keywords):
3957 * progmodes/idlwave.el (idlwave-idl-keywords):
3958 * progmodes/ada-mode.el (ada-font-lock-keywords):
3959 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
3960
bcc0adbf
GM
39612012-09-24 Glenn Morris <rgm@gnu.org>
3962
3963 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
3964
095bb823
FEG
39652012-09-23 Fabián Ezequiel Gallina <fgallina@cuca>
3966
3967 * progmodes/python.el (python-indent-line): More consistent cursor
3968 movement behavior.
3969
70efc5c9
SM
39702012-09-23 Stefan Merten <smerten@oekonux.de>
3971
3972 * textmodes/rst.el: Fix compiler warning.
3973
2f438239
RW
39742012-09-23 Roland Winkler <winkler@gnu.org>
3975
07b1a5fb
SM
3976 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
3977 Transcribe also LaTeX hyphenation.
2f438239
RW
3978 (bibtex-reformat): Bug fix. Do not quote twice the elements of
3979 bibtex-reformat-previous-options.
3980
936ad041
RW
39812012-09-23 Roland Winkler <winkler@gnu.org>
3982
3983 * proced.el (proced-renice-command): New variable.
3984 (proced-marked-processes): New function.
3985 (proced-with-processes-buffer): New macro.
3986 (proced-send-signal): Use them.
3987 (proced-renice): New command bound to r.
3988
6fab0274
RW
39892012-09-23 Roland Winkler <winkler@gnu.org>
3990
3991 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
3992 ibuffer-saved-filter-groups has one element, shortcut the call of
3993 completing-read. (Bug#12331)
3994
9a930676
CY
39952012-09-23 Chong Yidong <cyd@gnu.org>
3996
3997 * bindings.el (mode-line-toggle-read-only):
3998 * bs.el (bs-toggle-readonly):
3999 * buff-menu.el (Buffer-menu-toggle-read-only):
4000 * dired.el (dired-toggle-read-only):
4001 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
4002
d07ff9db
CY
40032012-09-23 Chong Yidong <cyd@gnu.org>
4004
4005 * image.el (image-type-available-p): Adapt to init-image-library
4006 argument changes.
4007
51c4474e
JL
40082012-09-22 Juri Linkov <juri@jurta.org>
4009
4010 * dired.el (dired-mode-map): Add [remap read-only-mode] for
4011 `dired-toggle-read-only'. (Bug#12462)
4012
43bf5e8e
MR
40132012-09-22 Martin Rudalics <rudalics@gmx.at>
4014
4015 * subr.el (temp-output-buffer-show): New function.
4016 (with-output-to-temp-buffer): Call temp-output-buffer-show
4017 instead of internal-temp-output-buffer-show.
4018
c88b867f
CY
40192012-09-22 Chong Yidong <cyd@gnu.org>
4020
3df47cd5
CY
4021 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
4022 (Bug#12462).
4023
c88b867f
CY
4024 * repeat.el (repeat): Doc fix (Bug#12348).
4025
4026 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
4027 (Bug#10909).
4028
4029 * simple.el (shell-command-on-region): Doc fix.
3171e303 4030 (read-only-mode): Doc fix.
c88b867f 4031
df9685f3
EZ
40322012-09-22 Eli Zaretskii <eliz@gnu.org>
4033
4034 * emacs-lisp/timer.el (run-with-idle-timer)
4035 (timer-activate-when-idle): Warn against reinvoking an idle timer
4036 from within its own timer action. (Bug#12447)
4037
8e17c9ba
MR
40382012-09-22 Martin Rudalics <rudalics@gmx.at>
4039
4040 * cus-start.el (window-combination-limit): Add new optional
4041 values.
4042 * window.el (temp-buffer-window-show)
4043 (window--try-to-split-window): Handle new values of
4044 window-combination-limit (Bug#1806).
4045 (split-window): Test window-combination-limit for t instead of
4046 non-nil.
4047 (display-buffer-at-bottom): New buffer display action function.
4048 * help.el (temp-buffer-resize-regexps): New option.
4049 (temp-buffer-resize-mode): Rewrite doc-string.
4050 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
bd909927 4051 Don't resize reused window. Suggested by Glenn Morris.
8e17c9ba 4052
48a24920
SM
40532012-09-22 Stefan Merten <smerten@oekonux.de>
4054
70efc5c9 4055 * textmodes/rst.el: Revamp section title faces.
48a24920
SM
4056 (rst-official-version)
4057 (rst-package-emacs-version-alist): Sync with official version
4058 V1.4.0.
4059 (rst-faces-defaults, rst-set-level-default)
4060 (rst-level-face-max, rst-level-face-base-color)
4061 (rst-level-face-base-light, rst-level-face-format-light)
4062 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
4063 (rst-adornment-faces-alist): Match new setup.
4064 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
4065 (rst-level-5, rst-level-6): New faces.
4066
82f8cd94
CY
40672012-09-22 Chong Yidong <cyd@gnu.org>
4068
4069 * simple.el (undo): Handle indirect buffers (Bug#8207).
4070
acfa068f 40712012-09-21 Leo Liu <sdl.web@gmail.com>
a8c14da8
LL
4072
4073 IDO: Disable match re-ordering for buffer switching.
2bc9406c 4074 * ido.el (ido-buffer-disable-smart-matches): New variable.
a8c14da8
LL
4075 (ido-set-matches-1): Use it. (Bug#2042)
4076
acfa068f 40772012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
a316d229
JM
4078
4079 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
4080 Fix 2011-05-17 change. (Bug#12418)
4081
acfa068f 40822012-09-21 Leo Liu <sdl.web@gmail.com>
d02e58f8
LL
4083
4084 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
4085
acfa068f 40862012-09-21 Glenn Morris <rgm@gnu.org>
511fd0b2
GM
4087
4088 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
4089 Be more robust about locating simple.el.
4090
acfa068f 40912012-09-21 Glenn Morris <rgm@gnu.org>
fa05bfe0
GM
4092
4093 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
4094
acfa068f
CY
40952012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
4096
4097 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
4098
41a97e6f
JL
40992012-09-20 Juri Linkov <juri@jurta.org>
4100
eb2deaff
JL
4101 * replace.el (query-replace-read-from): Use `read-regexp' instead
4102 of `read-from-minibuffer' when `regexp-flag' is non-nil.
4103 (occur-read-primary-args): Use `read-regexp' instead of
4104 `read-string'.
4105 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
4106 `read-from-minibuffer'.
4107 * isearch.el (isearch-occur): Use `read-regexp' instead of
4108 `read-string'.
4109 * dired.el (dired-read-regexp): Use `read-regexp' instead of
4110 `read-from-minibuffer'.
4111 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
4112 of `read-string'. (Bug#7567)
4113
5825610b
JL
4114 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
4115 and allow accepting a list of strings prepended to a list of
4116 standard default values. Doc fix. (Bug#12321)
4117
eebbf404
JL
4118 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
4119
41a97e6f
JL
4120 * replace.el (read-regexp): Don't add ": " when PROMPT already
4121 ends with a colon and space. (Bug#12321)
4122
c9e452d3
TH
41232012-09-20 Tassilo Horn <tsdh@gnu.org>
4124
4125 * doc-view.el (doc-view-display): Better fix for the cl-assertion
4126 error.
4127
ee97deee
SM
41282012-09-20 Stefan Merten <smerten@oekonux.de>
4129
70efc5c9 4130 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
ee97deee
SM
4131 Fixes feature request bug#11711.
4132 (rst-mode): Create `imenu-create-index-function'.
4133 (rst-get-stripped-line): Delete after refactoring.
4134 (rst-section-tree, rst-section-tree-rec)
4135 (rst-section-tree-point): Refactor and document properly.
4136 (rst-imenu-find-adornments-for-position)
07b1a5fb
SM
4137 (rst-imenu-convert-cell, rst-imenu-create-index):
4138 New function.
ee97deee 4139
f490dab9
SM
41402012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
4141
95b9712e
SM
4142 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
4143 (macroexp--expand-all): Use it.
4144 (macroexp--funcall-and-return): Remove by folding it into its sole
4145 caller (macroexp--warn-and-return).
4146 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
4147 Use macroexp--obsolete-warning.
4148
f490dab9
SM
4149 * calc/calc.el: Fix last change by removing the whole chunk, since it
4150 was only needed back when Calc was not bundled.
4151
96e8d411
MR
41522012-09-20 Martin Rudalics <rudalics@gmx.at>
4153
4154 * emacs-lisp/debug.el (debug): Restore assignment to
4155 debugger-old-buffer removed on 2012-09-08.
4156
0876a82d
JL
41572012-09-20 Juri Linkov <juri@jurta.org>
4158
4159 * dired-aux.el (dired-diff): Remove (require 'diff) since
4160 `diff-latest-backup-file' is now autoloaded.
4161
9f7c28f0
CY
41622012-09-20 Chong Yidong <cyd@gnu.org>
4163
4164 * vc/diff.el (diff-latest-backup-file): Autoload.
4165
7a04bee9
SM
41662012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
4167
e6f0a80d
SM
4168 * calc/calc.el: Remove redundant autoload shape check.
4169 (sel-mode): Don't defvar.
4170 (calc-get-stack-element): Add `sel-mode' arg instead.
4171 (calc-top, calc-top-list): Pass it this additional argument.
4172 * calc/calc-store.el (calc-store-map):
4173 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
4174 (calc-map-equation, calc-outer-product, calc-inner-product):
4175 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
4176
7a04bee9
SM
4177 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
4178
12734222
JL
41792012-09-19 Juri Linkov <juri@jurta.org>
4180
4181 * dired-aux.el (dired-diff): Add (require 'diff) because
4182 `diff-latest-backup-file' is not autoloaded.
4183 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
4184 of `dired-get-filename' to t to not report error when there is
4185 no default file on the current line.
4186
46624b4f
SM
41872012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
4188
ce97595b
SM
4189 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
4190 macroexp--eval-if-compile.
4191 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
4192 (macroexp--expand-all): Use them (bug#12371).
4193
46624b4f
SM
4194 * doc-view.el (doc-view-guess-paper-size)
4195 (doc-view-scale-bounding-box): Fix unbound `caddr'.
4196
db8a5a18
TH
41972012-09-19 Tassilo Horn <tsdh@gnu.org>
4198
4199 New feature: set optimal slice from BoundingBox information.
4200 * doc-view.el (doc-view-mode-map): Add keybinding.
4201 (doc-view-menu): Add menu entry.
4202 (doc-view-set-slice): Adapt docstring.
4203 (doc-view-get-bounding-box, doc-view-guess-paper-size)
4204 (doc-view-scale-bounding-box)
4205 (doc-view-set-slice-from-bounding-box): New functions.
4206 (doc-view-paper-sizes): New defvar.
4207
69f6644c
GM
42082012-09-19 Glenn Morris <rgm@gnu.org>
4209
35f5b19d
GM
4210 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
4211 (byte-compile-log-warning): Autoload. (Bug#12371)
4212
69f6644c
GM
4213 * calendar/calendar.el (calendar-american-month-header)
4214 (calendar-european-month-header, calendar-iso-month-header)
4215 (calendar-month-header): New options.
4216 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
4217 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
4218
e543ae91
JD
42192012-09-19 Jan Djärv <jan.h.d@swipnet.se>
4220
4221 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
4222
2fd5e67d
JL
42232012-09-18 Juri Linkov <juri@jurta.org>
4224
4225 * dired-aux.el (dired-diff): Restore original functionality of
4226 getting the default value, but keep new feature of using the
4227 latest existing backup file (`diff-latest-backup-file').
4228
42917e79
JL
42292012-09-18 Juri Linkov <juri@jurta.org>
4230
4231 * dired.el (dired-mark): If the region is active in Transient Mark
4232 mode, mark all files in the active region. Doc fix.
4233 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
4234 Doc fix. (Bug#10624)
4235
20f70ede
JL
42362012-09-18 Juri Linkov <juri@jurta.org>
4237
4238 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
4239 attributes for M-n are pulled from the file at point.
4240 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
4241 Suggested by Drew Adams. (Bug#10624)
4242
32fb8162
DG
42432012-09-18 Dmitry Gutov <dgutov@yandex.ru>
4244
4245 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
4246 whitespace after "end".
4247 (ruby-do-end-to-brace): Collapse block to one line if it fits
4248 within fill-column.
4249
37ab5092
MR
42502012-09-18 Martin Rudalics <rudalics@gmx.at>
4251
4252 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
4253 value.
4254 (debug): Don't remove debugger window when debugger is expected
4255 to be back.
4256
ed1f0bd3
CY
42572012-09-18 Chong Yidong <cyd@gnu.org>
4258
4259 * custom.el (defface): Doc fix.
4260
4261 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
4262
a11035b8
MB
42632012-09-18 Martin Blais <blais@furius.ca> (tiny change)
4264
4265 * progmodes/compile.el (compilation-start): Use compilation-always-kill
4266 to initialize query-on-exit; then test that instead (bug#12288).
4267
64f6a736
SM
42682012-09-17 Stefan Merten <smerten@oekonux.de>
4269
70efc5c9 4270 * textmodes/rst.el: Add support for `testcover'.
64f6a736
SM
4271 (rst-defcustom-testcover, rst-testcover-add-compose)
4272 (rst-testcover-add-1value): New functions.
4273 (rst-portable-mark-active-p): Replace by `use-region-p'.
4274 (rst-update-section, rst-classify-adornment)
4275 (rst-find-title-line): Mark `1value' forms.
4276 (rst-classify-adornment): Remove superfluous form.
4277 (rst-update-section, rst-get-adornments-around)
4278 (rst-adornment-complete-p, rst-get-next-adornment)
4279 (rst-adjust, rst-promote-region)
4280 (rst-display-adornments-hierarchy, rst-straighten-adornments)
4281 (rst-find-pfx-in-region, rst-section-tree-rec)
4282 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
4283 (rst-toc-node, rst-toc, rst-forward-section)
4284 (rst-iterate-leftmost-paragraphs)
4285 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
4286 (rst-bullet-list-region)
4287 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
4288 (rst-compile-find-conf, rst-compile)
4289 (rst-repeat-last-character): Fix style.
4290
580bd868
CY
42912012-09-17 Chong Yidong <cyd@gnu.org>
4292
4293 * comint.el (comint--complete-file-name-data): Don't add a space
4294 if the status is `sole'; that adds a gratuitous space in the
4295 completion-cycling case (Bug#12092).
4296
4297 * pcomplete.el (pcomplete-completions-at-point): Likewise.
4298
69de3ec6
RS
42992012-09-17 Richard Stallman <rms@gnu.org>
4300
0dee970c
RS
4301 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
4302 only in the mime-shown mode, not in raw mode.
4303 (rmail-mime): Toggle off mime by displaying the message without
6b250df6 4304 mime processing. (Bug#12305)
0dee970c 4305
6b250df6
GM
4306 * mail/rmail.el (rmail-retry-failure):
4307 Turn off mime processing first. (Bug#12037)
acb1c47b 4308
69de3ec6
RS
4309 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
4310
d079ee5f
CY
43112012-09-17 Chong Yidong <cyd@gnu.org>
4312
4313 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
4314 (shell-dynamic-complete-functions): Convert to defcustom.
4315 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
4316
865fe16f
CY
4317 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
4318 * comint.el (comint-prompt-read-only):
4319 * custom.el (defcustom):
4320 * hi-lock.el (hi-lock-mode):
4321 * ibuffer.el (ibuffer-formats):
4322 * ielm.el (ielm-prompt-read-only):
4323 * novice.el (disable-command):
4324 * saveplace.el (toggle-save-place):
4325 * speedbar.el (speedbar-supported-extension-expressions):
4326 * startup.el (auto-save-list-file-prefix, init-file-user)
4327 (after-init-hook, inhibit-startup-echo-area-message):
4328 * strokes.el (strokes-help):
4329 * time-stamp.el (time-stamp):
4330 * calendar/calendar.el (calendar, diary-file):
4331 * calendar/diary-lib.el (diary-mail-entries, diary)
4332 (diary-list-entries-hook):
4333 * calendar/holidays.el (holidays, calendar-holidays):
4334 * calendar/lunar.el (lunar-phases):
4335 * calendar/solar.el (sunrise-sunset):
4336 * emulation/edt.el (edt-load-keys):
4337 * emulation/viper.el (viper-mode):
4338 * eshell/em-alias.el (eshell-command-aliases-list):
4339 * eshell/esh-util.el (eshell-convert-numeric-arguments):
4340 * international/ogonek.el (ogonek-information):
4341 * net/tramp-cmds.el (tramp-bug):
4342 * net/quickurl.el (quickurl-reread-hook-postfix):
4343 * play/decipher.el (decipher-font-lock-keywords):
4344 * progmodes/cc-styles.el (c-set-style):
4345 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
4346 * progmodes/inf-lisp.el (inferior-lisp-prompt):
4347 * progmodes/octave-mod.el (octave-mode):
4348 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
4349 * progmodes/verilog-mode.el (verilog-read-defines):
4350 * textmodes/two-column.el (2C-mode): Likewise.
4351
48093eb9
KY
43522012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
4353
4354 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
4355 that holds many addresses.
4356
c584eaf9
CY
43572012-09-16 Chong Yidong <cyd@gnu.org>
4358
40d70ecb
CY
4359 * align.el (align-areas): Call the indication function with
4360 positions instead of markers for arguments (Bug#12343).
4361
1667e065
CY
4362 * files.el (parse-colon-path): Use split-string (Bug#12351).
4363
fdc2806d 4364 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
71ce58e7 4365 (display-buffer-function): Mark as obsolete.
fdc2806d 4366
f1be615c 4367 * progmodes/compile.el (compilation-parse-errors): Accept list
ce97595b
SM
4368 values similar to font-lock-keywords (Bug#12136).
4369 Suggested by Oleksandr Manzyuk.
c584eaf9
CY
4370 (compilation-error-regexp-alist): Doc fix.
4371
f40a9709
GM
43722012-09-15 Glenn Morris <rgm@gnu.org>
4373
72aa16e1
GM
4374 * version.el (emacs-bzr-version-bzr): New function.
4375 (emacs-bzr-get-version): Add optional EXTERNAL argument.
4376
82375160
GM
4377 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
4378 checkouts, check the parent dirstate matches the branch.
4379 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
4380 empty string.
4381
f40a9709
GM
4382 * version.el (emacs-bzr-version): Doc fix.
4383 (emacs-bzr-version-dirstate): New function.
4384 (emacs-bzr-get-version): For lightweight checkouts, if the parent
4385 is local try and check that it matches the branch. If not, just
4386 use dirstate information. (Bug#12441)
4387
cb26b7f5
JL
43882012-09-14 Juri Linkov <juri@jurta.org>
4389
4390 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
4391 (Bug#12399)
4392
2de39f08
SM
43932012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
4394
0fb3cb7c
SM
4395 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
4396
2de39f08
SM
4397 * emacs-lisp/edebug.el: Miscellaneous cleanup.
4398 Remove obsolete byte-compiler hack that tried to silence some warnings.
4399 (edebug-submit-bug-report): Remove.
4400 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
4401 Remove aliases, use the un-prefixed name instead.
4402 (edebug-pop-to-buffer): Consider other frames.
4403 (edebug-original-read):: Make it more obvious that it's always defined.
4404 (edebug--make-form-data-entry, edebug--form-data-name)
4405 (edebug--form-data-begin, edebug--form-data-end): Rename from the
4406 single-dashed name, and implement with cl-defstruct.
4407 (edebug-set-form-data-entry): Use the standard accessors.
4408 (edebug-make-top-form-data-entry): Use push.
4409 (edebug-no-match): Drop useless `funcall'.
4410 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
4411 to functions.
4412 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
4413 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
4414 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
4415 (easy-menu-define, with-custom-print): Remove redundant specs.
4416 (edebug-outside-overriding-local-map)
4417 (edebug-outside-overriding-terminal-local-map): Remove, unused.
4418 (edebug--display): Bind unread-command-events directly to nil rather
4419 than binding it to unread-command-events and later setting it to nil.
4420 (edebug--display): Kill edebug-eval-buffer here...
4421 (edebug--recursive-edit): ...rather than here.
4422 Bind standard-output and standard-input.
4423 (edebug-eval): Check cl-macroexpand-all is fboundp.
4424 (edebug-temp-display-freq-count): Fix last change.
4425
4426 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
4427 * subr.el (noreturn, 1value): Add `debug' spec.
4428 * emacs-lisp/advice.el: Require cl-lib.
4429 (ad-copy-tree): Remove, use copy-tree instead.
4430 (ad-dolist): Remove use dolist or cl-dolist instead.
4431 (ad-do-return): Remove, use cl-return instead.
4432 (defadvice): Add `debug' spec.
4433
5b68b333
JL
44342012-09-13 Juri Linkov <juri@jurta.org>
4435
4436 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
4437 (Bug#12399)
4438
b9800ec4
GM
44392012-09-13 Glenn Morris <rgm@gnu.org>
4440
6a2e6868
GM
4441 * calc/calc.el (math-compose-expr):
4442 * calc/calc-ext.el (math-compose-expr):
4443 * progmodes/cc-defs.el (cl-macroexpand-all):
4444 * progmodes/cc-langs.el (delete-duplicates, mapcan)
4445 (cl-macroexpand-all): Update declarations.
4446
b9800ec4
GM
4447 * vc/vc.el: No need to require ediff.
4448 (ediff-load-version-control): Declare.
4449 (ediff-vc-internal): Fix declaration.
4450 (vc-version-ediff): Require ediff.
4451
c18e885b
PE
44522012-09-13 Paul Eggert <eggert@cs.ucla.edu>
4453
4454 Use a more backwards-compatible timer format (Bug#12430).
4455 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
4456 being right after USECS, as that better supports old code that
4457 inadvisedly looked directly at the timer vector.
4458
d607d303
KH
44592012-09-13 Kenichi Handa <handa@gnu.org>
4460
4461 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
4462 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
4463 `coding-priority' property of these language environment.
4464
72eac303
PE
44652012-09-13 Paul Eggert <eggert@cs.ucla.edu>
4466
4467 Fix glitches caused by addition of psec to timers (Bug#12430).
4468 * image.el (image-animate-timer):
4469 * time.el (display-time-world-timer):
4470 Use timer--function and timer--args rather than raw access to
4471 timer vector.
4472
2168fe4f
GM
44732012-09-13 Glenn Morris <rgm@gnu.org>
4474
4475 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
4476 If not compiling a file, try using load-file-name.
4477
bd8d6108
SM
44782012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
4479
c0c54fbd
SM
4480 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
4481 Fix last change.
4482 (edebug-update-eval-list): Use `push'.
4483
bd8d6108
SM
4484 * emacs-lisp/edebug.el: Use lexical-binding.
4485 Remove the "edebug-" prefix from non-dynamically-scoped variables.
4486 Mark unused args with underscore.
4487 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
4488 (edebug-form-data): Use defvar-local.
4489 (edebug-make-before-and-after-form, edebug-make-after-form):
4490 Use backquote.
4491 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
4492 Not dynamically scoped any more.
4493 (edebug--enter-trace): Add arguments `function' and `args'.
4494 Rename from edebug-enter-trace.
4495 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
4496 (edebug--update-coverage): Add `after-index' and `value' args.
4497 Rename from edebug-update-coverage.
4498 (edebug-slow-after): Call it accordingly.
4499 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
4500 edebug-recursive-edit.
4501 (edebug--display): Call it accordingly. Add args `value',
4502 `offset-index', and `arg-mode'. Rename from edebug-display.
4503 (edebug-debugger, edebug): Call it accordingly.
4504 (edebug-eval-display-list): Use dolist.
4505
a9f9d9de
JL
45062012-09-12 Juri Linkov <juri@jurta.org>
4507
4508 * info.el (Info-search): Don't check for isearch-mode and
4509 isearch-regexp before let-binding search-spaces-regexp to
4510 Info-search-whitespace-regexp.
4511 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
4512 search-whitespace-regexp if isearch-lax-whitespace or
4513 isearch-regexp-lax-whitespace is non-nil.
4514 (Info-mode): Don't set local variable search-whitespace-regexp.
4515 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
4516
bfeae2cf
SM
45172012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
4518
4519 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
4520 (debugger-env-macro): Remove support for unread-command-char.
4521
4522 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
4523 the temporary map re-appearing on emulation-mode-map-alists.
4524
4525 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
4526 since 22.1.
4527
4528 * ehelp.el (with-electric-help): Accept functions in
4529 electric-help-form-to-execute.
4530 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
4531 And replace unread-command-char -> unread-command-events.
4532
fbbcaf1b
MA
45332012-09-12 Michael Albinus <michael.albinus@gmx.de>
4534
4535 Sync with Tramp 2.2.6.
4536
4537 * net/tramp.el (tramp-accept-process-output): Don't use
4538 JUST-THIS-ONE in the XEmacs case.
4539
4540 * net/trampver.el: Update release number.
4541
4dece104
MR
45422012-09-12 Martin Rudalics <rudalics@gmx.at>
4543
bfeae2cf
SM
4544 * emacs-lisp/debug.el (debugger-previous-window-height):
4545 New variable.
4dece104
MR
4546 (debug): When debugger-jumping-flag is non-nil try to restore
4547 height of debugger window. (Bug#8789)
4548
45b82ad0
SM
45492012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
4550
60c49c0f
SM
4551 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
4552 overriding-local-map and pre/post-command-hook here.
4553 (edebug-recursive-edit): Do it here instead (bug#12345).
4554 (edebug-outside-unread-command-char): Remove all uses of
4555 unread-command-char.
4556
45b82ad0
SM
4557 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
4558 inhibit-debugger is bound instead.
4559
baa26ea0
BG
45602012-09-11 Bastien Guerry <bzg@gnu.org>
4561
4562 * subr.el (set-temporary-overlay-map): Add a docstring.
fc0c31f8 4563 (Bug#12346)
baa26ea0 4564
04e8abfa
BG
45652012-09-11 Bastien Guerry <bzg@gnu.org>
4566
96d03571 4567 * minibuffer.el (completion-table-subvert): Fix docstring.
fc0c31f8 4568 (Bug#12347)
96d03571
BG
4569
45702012-09-11 Bastien Guerry <bzg@gnu.org>
4571
fc0c31f8 4572 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
04e8abfa 4573
04e082b0
MM
45742012-09-10 Michael R. Mauger <mmaug@yahoo.com>
4575
4576 * progmodes/sql.el: Version 3.1
4577 (sql-db2-escape-newlines): New variable.
4578 (sql-escape-newlines-filter): Use it.
4579
399a361b
JB
45802012-09-10 Juanma Barranquero <lekktu@gmail.com>
4581
4582 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
4583
0780c517
DN
45842012-09-10 Dan Nicolaescu <dann@gnu.org>
4585
45b82ad0
SM
4586 * vc/diff-mode.el (diff-mode-menu):
4587 Bind diff-remove-trailing-whitespace.
0780c517 4588
9b851e25
SM
45892012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
4590
4591 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
fc0c31f8
JB
4592 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
4593 (emacs-lisp-byte-code-mode): New functions.
9b851e25
SM
4594 (eval-sexp-add-defvars): Don't skip defvars in column >0.
4595 (eval-defun-2): Remove bogus interactive spec.
4596 (lisp-indent-line): Remove redundant whole-exp code, now done in
4597 indent-according-to-mode.
4598 (save-match-data): Remove redundant indent data.
4599
4600 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
4601 Use `declare'.
4602
3231d532
JL
46032012-09-09 Juri Linkov <juri@jurta.org>
4604
4605 * replace.el (replace-regexp-lax-whitespace): New defcustom.
4606 (replace-lax-whitespace, query-replace-regexp)
4607 (query-replace-regexp-eval, replace-regexp): Doc fix.
4608 (perform-replace, replace-highlight): Let-bind
4609 isearch-lax-whitespace to replace-lax-whitespace and
4610 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
4611
4612 * isearch.el (isearch-query-replace): Let-bind
4613 replace-lax-whitespace to isearch-lax-whitespace and
4614 replace-regexp-lax-whitespace to
4615 isearch-regexp-lax-whitespace. (Bug#10885)
4616
70fe8236
SM
46172012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
4618
4619 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
4620
8ed43f15
AM
46212012-09-09 Alan Mackenzie <acm@muc.de>
4622
70fe8236
SM
4623 * progmodes/cc-engine.el (c-state-cache-init):
4624 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
4625 (c-record-parse-state-state):
4626 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
8ed43f15 4627
bfabf70a
AS
46282012-09-09 Andreas Schwab <schwab@linux-m68k.org>
4629
4630 * register.el (register-separator): Rename from
4631 separator-register. All uses changed. Doc fix.
4632 (register): Fix version.
4633
011474aa
CY
46342012-09-09 Chong Yidong <cyd@gnu.org>
4635
4636 * replace.el (query-replace-map): Bind four new symbols for
4637 requesting window scrolling.
4638
4639 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
4640 query-replace-map (Bug#8948).
4641
4642 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
4643
4644 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
4645 since they are now in query-replace-map.
4646
4647 * window.el (scroll-other-window-down): Make the arg optional.
4648
a8b7cd8d
CY
46492012-09-09 Chong Yidong <cyd@gnu.org>
4650
4651 * files.el (hack-local-variables-confirm): Use quit-window to kill
4652 the *Local Variables* buffer.
4653
c3268831
DG
46542012-09-08 Dmitry Gutov <dgutov@yandex.ru>
4655
4656 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
4657 not just expect to be at its beginning. Adjust callees.
4658 Succeed when do-end block has no space before the pipe character.
4659 (ruby-brace-to-do-end): When the original block is one-liner,
4660 convert to multiline. Reindent the result.
4661
0979429b
J
46622012-09-08 Jambunathan K <kjambunathan@gmail.com>
4663
4664 * register.el (register): New group.
27359e99 4665 (separator-register): New user option.
0979429b
J
4666 (increment-register): Route it to `append-to-register', if
4667 register contains text. Implication is that `C-x r +' can now be
4668 used for appending to a text register (bug#12217).
4669 (append-to-register, prepend-to-register): Add separator based on
5b9c45a6 4670 `separator-register'.
0979429b 4671
ace2989a
AM
46722012-09-08 Alan Mackenzie <acm@muc.de>
4673
4674 AWK Mode: make auto-newline work when there's "==" in the pattern.
4675 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
4676 correctly.
0979429b
J
4677 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
4678 Test more rigorously for "=" token.
ace2989a 4679
616c6c36
DG
46802012-09-08 Dmitry Gutov <dgutov@yandex.ru>
4681
0979429b
J
4682 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
4683 Only fail when reached LIMIT.
616c6c36 4684
35d98877
CY
46852012-09-08 Chong Yidong <cyd@gnu.org>
4686
4687 * dired.el (dired-mode-map): Don't bind M-=.
4688
4689 * dired-aux.el (dired-diff): Use backup file as default.
4690
1715f2db
DA
46912012-09-08 Drew Adams <drew.adams@oracle.com>
4692
4693 * subr.el (add-to-history): Fix delete usage (Bug#12314).
4694
6dcef6ec
CY
46952012-09-08 Chong Yidong <cyd@gnu.org>
4696
4697 * subr.el (syntax-after, syntax-class): Doc fix.
4698
fa2bcf43
MR
46992012-09-08 Martin Rudalics <rudalics@gmx.at>
4700
4701 * window.el (display-buffer-in-previous-window): New buffer
4702 display action function.
4703
4704 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
4705 (debugger-previous-window): New variable.
4706 (debug): Rewrite using display-buffer-in-previous-window,
4707 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
4708
daac280a
SM
47092012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
4710
4711 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
4712
9dd40b00
MM
47132012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
4714
daac280a
SM
4715 * progmodes/python.el (python-shell-send-string):
4716 When default-directory is remote, create temp file on remote
9dd40b00
MM
4717 filesystem.
4718 (python-shell-send-file): When file is remote, pass local view of
4719 file paths to remote Python interpreter. (Bug#12340)
4720
145823ec
CY
47212012-09-07 Chong Yidong <cyd@gnu.org>
4722
cee2e90d
CY
4723 * window.el (switch-to-buffer): Doc fix (Bug#12181).
4724
0d7eb2ea
CY
4725 * files.el (after-find-file): Don't fail on a read-only buffer if
4726 require-final-newline is `visit' or `visit-save' (Bug#11156).
4727
145823ec
CY
4728 * subr.el (read-char-choice): Allow quitting via ESC ESC.
4729
daac280a
SM
4730 * userlock.el (ask-user-about-supersession-threat):
4731 Use read-char-choice (Bug#12093).
145823ec 4732
74c582e6
CY
47332012-09-07 Chong Yidong <cyd@gnu.org>
4734
e5c2edf7
CY
4735 * subr.el (buffer-narrowed-p): New function.
4736
4737 * ses.el (ses-widen):
4738 * simple.el (count-words--buffer-message):
1f9f395d 4739 * net/browse-url.el (browse-url-of-buffer): Use it.
e5c2edf7
CY
4740
4741 * simple.el (count-words-region): Don't signal an error if there
4742 is a non-nil prefix arg and the mark is not set.
c640e87d 4743
74c582e6
CY
4744 * help.el (describe-key-briefly): Allow the message to be seen
4745 when invoked from the minibuffer (Bug#7014).
4746
d81ceaaf
DG
47472012-09-07 Dmitry Gutov <dgutov@yandex.ru>
4748
4749 * progmodes/ruby-mode.el (ruby-end-of-defun)
4750 (ruby-beginning-of-defun): Simplify, allow indentation before
4751 block beginning and end keywords.
8f06acce
DG
4752 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
4753 (ruby-end-of-defun): Expect that the point is at the beginning of
4754 the defun.
d81ceaaf 4755
d458ef98
SM
47562012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4757
4758 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
4759 (bug#12367).
4760 (cl--make-usage-args): Strip _ from argument names.
4761
20367d28
RS
47622012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4763
4764 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
4765 obsolete alias speedbar-key-map.
4766 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
4767 (vhdl-index-menu-init): Don't use obsolete variable
4768 font-lock-maximum-size.
4769
3424a4f6
CY
47702012-09-06 Chong Yidong <cyd@gnu.org>
4771
4772 * frame.el (window-system-version): Mark as obsolete.
4773
fcbfbdea
CY
4774 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
4775 of obsolete variable speedbar-key-map.
4776
826b3235
JL
47772012-09-06 Juri Linkov <juri@jurta.org>
4778
4779 * replace.el (replace-lax-whitespace): New defcustom.
4780 (query-replace, query-replace-regexp, query-replace-regexp-eval)
4781 (replace-string, replace-regexp): Mention it in docstrings.
4782 (perform-replace, replace-highlight): Let-bind
4783 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
4784 to the values of replace-lax-whitespace and regexp-flag.
4785 Don't let-bind search-whitespace-regexp. (Bug#10885)
4786
4787 * isearch.el (isearch-query-replace): Let-bind
4788 replace-lax-whitespace instead of let-binding
4789 replace-search-function and replace-re-search-function.
4790 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
4791 and isearch-regexp-lax-whitespace to lazy-highlight variables.
4792 (isearch-toggle-symbol): Set isearch-regexp to nil
4793 in isearch-word mode (like in isearch-toggle-word).
4794
1ec5e41d
JL
47952012-09-06 Juri Linkov <juri@jurta.org>
4796
4797 * replace.el (replace-search-function)
4798 (replace-re-search-function): Set default values to nil.
4799 (perform-replace): Let-bind isearch-related variables based on
4800 replace-related values, call `isearch-search-fun' and let-bind
4801 the result to `search-function'. Remove code that sets
4802 `search-function' and `search-string' separately for
4803 `delimited-flag'.
4804 (replace-highlight): Add new argument `delimited-flag' and
4805 rename other arguments to the names used in `perform-replace'.
4806 Let-bind `isearch-word' to the argument `delimited-flag'.
4807 (Bug#10885, bug#10887)
4808
0ba2d4b6
DG
48092012-09-07 Dmitry Gutov <dgutov@yandex.ru>
4810
4811 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
4812 ruby-beginning-of-indent, simplify, allow all keywords to have
4813 indentation before them.
4814 (ruby-beginning-of-indent): Adjust for above. Search until the
4815 found point is not inside a string or comment.
4816 (ruby-font-lock-keywords): Allow symbols to start with "@"
4817 character, give them higher priority than variables.
4818 (ruby-syntax-propertize-function)
4819 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
4820 matchers. Expression expansions are not comments when inside a
4821 string, and there comment syntax status is irrelevant.
4822 (ruby-match-expression-expansion): New function. Check that
4823 expression expansion is inside a string, and it's not escaped.
4824 (ruby-font-lock-keywords): Use it.
4825
ef654460
MR
48262012-09-05 Martin Rudalics <rudalics@gmx.at>
4827
4828 * help.el (temp-buffer-max-height): New default value.
4829 (temp-buffer-resize-frames): New option.
4830 (resize-temp-buffer-window): Optionally resize frame.
4831
4832 * window.el (fit-frame-to-buffer-bottom-margin): New option.
4833 (fit-frame-to-buffer): New function.
4834
7e570fbf 48352012-09-05 Glenn Morris <rgm@gnu.org>
72308848
GM
4836
4837 * emulation/cua-rect.el (cua--init-rectangles):
4838 * textmodes/picture.el (picture-mode-map):
4839 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
4840 like forward-char and backward-char. (Bug#12317)
4841
7e570fbf 48422012-09-05 Leo Liu <sdl.web@gmail.com>
3aca1291
LL
4843
4844 * progmodes/flymake.el (flymake-warning-re): New variable.
4845 (flymake-parse-line): Use it.
4846
7e570fbf 48472012-09-05 Glenn Morris <rgm@gnu.org>
b6683353
GM
4848
4849 * calendar/holidays.el (holiday-christian-holidays):
4850 Rename an entry. (Bug#12289)
4851
7e570fbf 48522012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
64f8c4bd
SM
4853
4854 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
4855 (bug#12222).
4856
972debf2
SM
48572012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
4858
4859 * loadup.el: Load macroexp. Remove hack.
4860 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
4861 (macroexp--expand-all): Use it to get better warnings.
4862 (macroexp--backtrace, macroexp--trim-backtrace-frame)
4863 (internal-macroexpand-for-load): New functions.
4864 (macroexp--pending-eager-loads): New var.
4865 (emacs-startup-hook): New hack to replace one in loadup.el.
4866 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
4867 (cl--compiler-macro-cXXr): Move to top, before they can be used.
4868 (cl-psetf): Simplify.
4869 (cl-defstruct): Add indent rule.
4870
8ce192e3
LI
48712012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
4872
4873 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
4874 over `user-mail-address' for the SMTP MAIL FROM envelope.
4875 (smtpmail-via-smtp): Ditto.
4876
6578b4d8
DG
48772012-09-04 Dmitry Gutov <dgutov@yandex.ru>
4878
4879 * progmodes/ruby-mode.el: Clean up keybindings.
4880 (ruby-mode-map): Don't bind ruby-electric-brace,
4881 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
4882 backward-kill-word, reindent-then-newline-and-indent.
4883 (ruby-mark-defun): Remove.
4884 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
4885 (ruby-mode): Set local beginning-of-defun-function and
4886 end-of-defun-function values.
4887
c5e28e39
MR
48882012-09-03 Martin Rudalics <rudalics@gmx.at>
4889
4890 * window.el (temp-buffer-window-setup-hook)
4891 (temp-buffer-window-show-hook): New hooks.
4892 (temp-buffer-window-setup, temp-buffer-window-show)
4893 (with-temp-buffer-window): New functions.
972debf2
SM
4894 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
4895 (special-display-popup-frame): Make sure the window used shows BUFFER.
c5e28e39
MR
4896
4897 * help.el (temp-buffer-resize-mode): Fix doc-string.
4898 (resize-temp-buffer-window): New optional argument WINDOW.
4899
4900 * files.el (recover-file, save-buffers-kill-emacs):
4901 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
4902
73406194
MA
49032012-09-02 Michael Albinus <michael.albinus@gmx.de>
4904
4905 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
4906 remote definition of `default-directory', ensure we can connect.
4907
63dd1c6f
JL
49082012-09-02 Juri Linkov <juri@jurta.org>
4909
4910 Toggle whitespace matching mode with M-s SPC.
4911 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
4912
4913 * isearch.el (search-whitespace-regexp): Doc fix.
4914 Remove cons cell customization.
4915 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
4916 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
4917 New variables.
4918 (isearch-forward, isearch-forward-regexp): Doc fix.
4919 (isearch-toggle-lax-whitespace): New command.
4920 (search-forward-lax-whitespace, search-backward-lax-whitespace)
4921 (re-search-forward-lax-whitespace)
4922 (re-search-backward-lax-whitespace): New functions.
4923 (isearch-whitespace-regexp): Remove function.
4924 (isearch-query-replace): Let-bind replace-search-function and
4925 replace-re-search-function.
4926 (isearch-occur): Let-bind search-spaces-regexp according to the
4927 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
4928 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
4929 condition for C-q SPC.
4930 (isearch-search-fun-default): Use new functions mentioned above.
4931 (isearch-search-forward, isearch-search-backward): Remove functions.
4932 (isearch-search): Don't let-bind search-spaces-regexp.
4933 (isearch-lazy-highlight-space-regexp): Remove variable.
4934 (isearch-lazy-highlight-lax-whitespace)
4935 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
4936 (isearch-lazy-highlight-new-loop): Use them.
4937 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
4938
af7dda05
CY
49392012-09-02 Chong Yidong <cyd@gnu.org>
4940
4941 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
4942
d67d3afd
GM
49432012-09-02 Glenn Morris <rgm@gnu.org>
4944
4945 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
4946
69678719
GM
49472012-09-01 Glenn Morris <rgm@gnu.org>
4948
4949 * term.el: Tidy up menu definitions.
4950 (term-mode-map): Use easymenu for In/Out, Complete menus.
4951 (term-pager-break-map): Initialize in the defvar.
4952 (term-terminal-menu, term-signals-menu): Define with easymenu.
4953 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
4954 (term-pager-menu): New, extracted from term-process-pager.
4955 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
4956 (term-update-mode-line): Propertize line/char and page items.
4957 (term-process-pager): Move keymap initialization elsewhere.
4958
78dd6ab1
MR
49592012-09-01 Martin Rudalics <rudalics@gmx.at>
4960
4961 * window.el (switch-to-prev-buffer): Handle additional values of
4962 BURY-OR-KILL argument. Don't switch in minibuffer window.
4963 (switch-to-next-buffer): Don't switch in minibuffer window.
4964 (quit-restore-window): New function based on quit-window.
4965 Handle additional values of former KILL argument.
4966 (quit-window): Call quit-restore-window with appropriate
4967 interpretation of KILL argument.
4968 (display-buffer-below-selected): New buffer display action
4969 function.
4970
3d10e134
SM
49712012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
4972
4973 * minibuffer.el (completion-at-point-functions): Complete docstring
4974 (bug#12254).
4975
0e23ef9d
PE
49762012-09-01 Paul Eggert <eggert@cs.ucla.edu>
4977
4978 Better seed support for (random).
4979 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
4980 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
4981 * play/mpuz.el, play/tetris.el, play/zone.el:
4982 * calc/calc-comb.el (math-init-random-base):
4983 * play/blackbox.el (bb-init-board):
4984 * play/life.el (life):
4985 * server.el (server-use-tcp):
4986 * type-break.el (type-break):
4987 Remove unnecessary call to (random t).
4988 * net/sasl.el (sasl-unique-id-function):
4989 Change (random t) to (random), now that the latter is more random.
4990 * play/life.el (life-initialized): Remove no-longer-needed var.
4991
862382df
MR
49922012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
4993
4994 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
4995 Consider frame's buffer predicate when choosing the buffer.
4996 (Bug#12081)
4997
262a66e1
RS
49982012-08-30 Richard Stallman <rms@gnu.org>
4999
5000 * simple.el (special-mode-map): Delete binding for `z'.
5001
f17e1d00
AS
50022012-08-30 Andreas Schwab <schwab@linux-m68k.org>
5003
5004 * progmodes/compile.el (compilation-always-kill): Doc fix.
5005
24777832
CY
50062012-08-30 Chong Yidong <cyd@gnu.org>
5007
5008 * window.el (display-buffer-reuse-frames): Make the obsolescence
5009 message more informative.
5010
69ba1f04
GM
50112012-08-30 Glenn Morris <rgm@gnu.org>
5012
5013 * paren.el (show-paren-delay):
5014 Add a :set function. Doc fix. (Bug#12297)
5015
f0019ede
MB
50162012-08-29 Martin Blais <blais@furius.ca> (tiny change)
5017
5018 * progmodes/compile.el (compilation-always-kill): New var.
5019 (compilation-start): Use it.
5020
35e62fc9
SM
50212012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
5022
af070a1c
SM
5023 * simple.el (read-only-mode): Move from files.el for bootstrapping.
5024 * files.el (read-only-mode): Move to simple.el.
5025
35e62fc9
SM
5026 * files.el (read-only-mode): New minor mode.
5027 (toggle-read-only): Use it and mark obsolete.
5028 (find-file--read-only):
5029 * vc/vc.el (vc-next-action, vc-checkout):
5030 * vc/vc-cvs.el (vc-cvs-checkout):
5031 * obsolete/vc-mcvs.el (vc-mcvs-update):
5032 * ffap.el (ffap--toggle-read-only): Update callers.
5033
c2c43c23
MA
50342012-08-29 Michael Albinus <michael.albinus@gmx.de>
5035
5036 * eshell/esh-ext.el (eshell-external-command): Do not examine
972debf2
SM
5037 remote shell scripts.
5038 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
c2c43c23
MA
5039
5040 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
5041 "/usr/local/sbin".
5042
9fba804b
SM
50432012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
5044
5045 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
5046
eada0861 50472012-08-28 Leo Liu <sdl.web@gmail.com>
22ab32ef 5048
806f0cc7
LL
5049 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
5050 completion-at-point. (Bug#12220)
5051
3bb213b9
LL
5052 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
5053
22ab32ef
LL
5054 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
5055
eada0861 50562012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
db148c21 5057
19c17fc1
CY
5058 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
5059 be buffer-local; add delete-trailing-whitespace (bug#12259).
db148c21 5060
eada0861 50612012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
ffe6eaf1
JM
5062
5063 * progmodes/hideif.el (hif-compress-define-list):
5064 Fix typo. (Bug#11951)
5065
eada0861 50662012-08-28 Dan Nicolaescu <dann@gnu.org>
d30aca1b
DN
5067
5068 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
5069 buffer local setting.
5070
27d6c5a8
LL
5071 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
5072 rcirc-encode-coding-system.
5073
eada0861 50742012-08-28 Leo Liu <sdl.web@gmail.com>
4432d2e2
LL
5075
5076 * net/rcirc.el (rcirc-split-message): New function.
5077 (rcirc-send-message): Use it. (Bug#12051)
5078
d44688e4
JL
50792012-08-28 Juri Linkov <juri@jurta.org>
5080
5081 * info.el (Info-fontify-node): Hide empty lines at the end of
5082 the node. (Bug#12272)
5083
34f10d41
MR
50842012-08-27 Drew Adams <drew.adams@oracle.com>
5085
5086 * dired.el (dired-pop-to-buffer): Make window start at beginning
5087 of buffer (Bug#12281).
5088
77f1f99c
CY
50892012-08-26 Chong Yidong <cyd@gnu.org>
5090
5091 * window.el (special-display-regexps, special-display-frame-alist)
5092 (special-display-buffer-names, special-display-function)
5093 (display-buffer-reuse-frames): Mark as obsolete.
5094
5095 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
5096
5097 * help.el (help-print-return-message): Don't treat
5098 display-buffer-reuse-frames specially.
5099
d97af5a0
CY
51002012-08-26 Chong Yidong <cyd@gnu.org>
5101
9fba804b
SM
5102 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
5103 New variable, replacing gdb-frame-parameters.
d97af5a0
CY
5104 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
5105 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
5106 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
5107 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
5108 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
5109 the functions directly with gdb-display-buffer-other-frame-action.
5110 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
5111 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
5112 (gdb-display-stack-buffer, gdb-display-locals-buffer)
5113 (gdb-display-registers-buffer): Define directly.
5114 (def-gdb-display-buffer): Macro deleted.
5115 (gdb-display-buffer): Remove second and third args, callers don't
5116 use them. Defer to the default display-buffer behavior, apart
5117 from making windows dedicated.
5118 (gdb-setup-windows): Don't call display-buffer unnecessarily.
5119
5120 * progmodes/gud.el (gud-display-line): Just use display-buffer.
5121
5122 * window.el (display-buffer-pop-up-frame): Handle a
5123 pop-up-frame-parameters alist entry.
5124 (display-buffer): Document it.
5125
dd7ffad6
CY
51262012-08-26 Chong Yidong <cyd@gnu.org>
5127
5128 * isearch.el (search-whitespace-regexp): Make string and nil
5129 values apply to both ordinary and regexp search. Allow a cons
5130 cell value to distinguish between the two.
5131 (isearch-whitespace-regexp, isearch-search-forward)
5132 (isearch-search-backward): New functions.
5133 (isearch-occur, isearch-search-fun-default, isearch-search)
5134 (isearch-lazy-highlight-new-loop): Use them.
5135 (isearch-forward, isearch-forward-regexp): Doc fix.
5136
4c47bd1e
CY
51372012-08-26 Chong Yidong <cyd@gnu.org>
5138
5139 * faces.el (help-argument-name): Always inherit from italic
5140 (Bug#12213).
5141
9aba119d
MR
51422012-08-25 Martin Rudalics <rudalics@gmx.at>
5143
5144 * window.el (window--even-window-heights): Even heights when
5145 WINDOW and the selected window form a vertical combination.
5146 (display-buffer-use-some-window): Provide that window used gets
5147 sized back by quit-window. (Bug#11880) and (Bug#12091)
5148
ca5256ad
PE
51492012-08-24 Paul Eggert <eggert@cs.ucla.edu>
5150
5151 Fix file time stamp problem with bzr and CVS (Bug#12001).
5152 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
5153 in the file's time stamp, since the version control system loses
5154 that information.
5155
d1c0d176
JL
51562012-08-22 Juri Linkov <juri@jurta.org>
5157
5158 * info.el (Info-fontify-node): Hide the suffix of the
5159 Info file name in the header line. (Bug#12187)
5160
141562ff
GM
51612012-08-22 Glenn Morris <rgm@gnu.org>
5162
5163 * calendar/cal-tex.el (cal-tex-weekly-common):
5164 Restore leading blank page.
5165
3a21537c 51662012-08-22 Le Wang <l26wang@gmail.com>
add9ca2d
BG
5167
5168 * misc.el (forward-to-word, backward-to-word): Activate or extend
61a48e19
GM
5169 the region under `shift-select-mode'. (Bug#12231)
5170
51712012-08-22 Bastien Guerry <bzg@gnu.org>
0fcd3d9f
BG
5172
5173 * progmodes/executable.el (executable-prefix): Set to "#!" instead
5174 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
5175 gives details on why the space is never needed.
5176
ea95074e
MR
51772012-08-22 Martin Rudalics <rudalics@gmx.at>
5178
9fba804b
SM
5179 * window.el (walk-window-tree, window-with-parameter):
5180 New optional argument MINIBUF to control whether these functions
ea95074e
MR
5181 should run on the minibuffer window.
5182 (window-at-side-list): Don't operate on minibuffer window.
5183 (window-in-direction): Simplify and rewrite doc-string.
9fba804b
SM
5184 (window--size-ignore): Rename to window--size-ignore-p.
5185 Update callers.
caceae25
MR
5186 (display-buffer-in-atom-window, window--major-non-side-window)
5187 (window--major-side-window, display-buffer-in-major-side-window)
9fba804b
SM
5188 (delete-side-window, display-buffer-in-side-window):
5189 New functions.
caceae25
MR
5190 (window--side-check, window-deletable-p, delete-window)
5191 (delete-other-windows, split-window): Handle side windows and
5192 atomic windows appropriately.
5193 (window--display-buffer): Call display-buffer-record-window also
5194 when the window buffer did not change.
ea95074e 5195
80a51fa0
CS
51962012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
5197
5198 * help-fns.el (help-fns--key-bindings):
5199 Abbreviate non-symbol remap targets. (Bug#12174)
5200
fbb6300b
MR
52012012-08-22 Martin Rudalics <rudalics@gmx.at>
5202
5203 * dired.el (dired-mark-remembered): Don't clobber point.
5204 (Bug#11795)
5205
2b2c0794
GM
52062012-08-22 Glenn Morris <rgm@gnu.org>
5207
5208 * progmodes/bug-reference.el (bug-reference): New custom group.
5209 (bug-reference-bug-regexp): Make it a defcustom.
5210
37219830
DU
52112012-08-22 Daiki Ueno <ueno@unixuser.org>
5212
5213 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
5214 (js-paren-indent-offset, js-square-indent-offset)
5215 (js-curly-indent-offset): Add :safe (Bug#12257).
5216
94e0e559
EC
52172012-08-22 Edward O'Connor <hober0@gmail.com>
5218
5219 * json.el (json-key-format): Add error properties.
5220 (json-encode-key): New function.
5221 (json-encode-hash-table, json-encode-alist, json-encode-plist):
5222 Use json-encode-key.
5223
da485f5e
GM
52242012-08-22 Glenn Morris <rgm@gnu.org>
5225
5226 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
5227 (cal-tex-leftday, cal-tex-rightday): Remove functions.
5228 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
5229 Update for above change.
5230
c6cc78b8
AS
52312012-08-21 Andreas Schwab <schwab@linux-m68k.org>
5232
5233 * cus-face.el (custom-face-attributes): Fix customize type for the
5234 :underline attribute. (Bug#11805)
5235
5481664a
MR
52362012-08-21 Martin Rudalics <rudalics@gmx.at>
5237
5238 * window.el (window-point-1, set-window-point-1): Remove.
5239 (window-in-direction, record-window-buffer)
5240 (set-window-buffer-start-and-point, split-window-below)
9fba804b
SM
5241 (window--state-get-1, display-buffer-record-window):
5242 Replace calls to window-point-1 and set-window-point-1 by calls to
5481664a
MR
5243 window-point and set-window-point respectively.
5244
6d74698e
GM
52452012-08-21 Glenn Morris <rgm@gnu.org>
5246
b7fa2691
GM
5247 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
5248 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
5249 Use it.
5250
52f56d5a
GM
5251 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
5252 (cal-tex-shortday): New function.
5253 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
5254 (cal-tex-cursor-filofax-daily): Use the above.
5255
9f1ee09e
GM
5256 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
5257 New functions.
5258 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
5259 (cal-tex-cursor-filofax-week): Use them.
5260
79858159
GM
5261 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
5262 New constants.
5263 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
5264 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
5265
d346b2b4
GM
5266 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
5267 (cal-tex-end-document): Don't rely on buffer name.
5268
b2403709
GM
5269 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
5270 Use cal-tex-vspace.
5271 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
5272 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
2d225a3a
GM
5273 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
5274 Use cal-tex-arg.
b2403709 5275
1cebb5c0
GM
5276 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
5277 (cal-tex-cursor-week, cal-tex-cursor-week2)
5278 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
5279 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
5280 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
5281 (cal-tex-insert-preamble, cal-tex-b-document)
5282 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
5283 Improve cal-tex-cmd usage.
5284
c68cd5d4
GM
5285 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
5286 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
5287 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
5288 (cal-tex-weekly-paper): New function.
5289 (cal-tex-cursor-week, cal-tex-cursor-week2)
5290 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
5291 (cal-tex-cursor-day): Use it.
5292
9dca4801
GM
5293 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
5294 (cal-tex-cursor-filofax-week): Remove leading blank page.
5295
1941e134
GM
5296 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
5297 Add autoload cookie. For now at least, don't use color, since
5298 no other cal-tex function does.
5299
6d74698e
GM
5300 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
5301 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
5302 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
5303
64cde199
JL
53042012-08-21 Juri Linkov <juri@jurta.org>
5305
5306 * info.el (Info-file-attributes): New variable.
5307 (info-insert-file-contents): Add file attributes to
5308 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
5309 `Info-toc-nodes' when previous modtime of the Info file is less
5310 than new modtime.
5311 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
5312 of info.el. (Bug#12230)
5313
32757648
GM
53142012-08-20 Glenn Morris <rgm@gnu.org>
5315
5316 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
5317 * calendar/holidays.el (calendar-holiday-list):
5318 Report errors with display-warning rather than beep'n'sleep.
5319
a32fbbcf
MA
53202012-08-20 Michael Albinus <michael.albinus@gmx.de>
5321
5322 * net/tramp.el (tramp-accept-process-output): Accept only output
5323 from PROC. Otherwise, process filters and sentinels might be
5324 confused. (Bug#12145)
5325
a05731a0
CY
53262012-08-20 Chong Yidong <cyd@gnu.org>
5327
5328 * descr-text.el (describe-text-properties-1): Use overlays-in to
5329 report on empty overlays (Bug#3322).
5330
36e8d1eb
GM
53312012-08-20 Glenn Morris <rgm@gnu.org>
5332
3d300447
GM
5333 * mail/rmailout.el (rmail-output-read-file-name):
5334 Trap and report errors in rmail-output-file-alist elements.
5335
36e8d1eb
GM
5336 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
5337 since most non-font-lock faces are not also variables).
5338
b96e5814
ER
53392012-08-20 Edward Reingold <reingold@iit.edu>
5340
5341 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
5342 New function. (Bug12160)
5343
7cef3569
GM
53442012-08-19 Glenn Morris <rgm@gnu.org>
5345
5346 * mail/rmailout.el (rmail-output-read-file-name):
5347 Fix previous change (when the alist is nil or does not match).
5348
17975d7f
CY
53492012-08-19 Chong Yidong <cyd@gnu.org>
5350
5351 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
5352 (Bug#12228).
5353
2170b1bd
CY
53542012-08-18 Chong Yidong <cyd@gnu.org>
5355
5356 * simple.el (yank-handled-properties): New defcustom.
5357 (yank-excluded-properties): Add font-lock-face and category.
5358 (yank): Doc fix.
5359
9fba804b
SM
5360 * subr.el (remove-yank-excluded-properties):
5361 Obey yank-handled-properties. The special handling of font-lock-face
2170b1bd
CY
5362 and category is now done this way, instead of being hard-coded.
5363 (insert-for-yank-1): Remove font-lock-face handling.
5364 (yank-handle-font-lock-face-property)
5365 (yank-handle-category-property): New function.
5366
ee218151
GM
53672012-08-17 Glenn Morris <rgm@gnu.org>
5368
5369 * mail/rmailout.el (rmail-output-read-file-name):
5370 Check rmail-output-file-alist against the full message body
5371 in the correct rmail buffer. (Bug#12214)
5372
4a6bc3fd
MA
53732012-08-17 Michael Albinus <michael.albinus@gmx.de>
5374
9fba804b
SM
5375 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
5376 Eliminate superfluous prompt. (Bug#12203)
4a6bc3fd 5377
383dcbf9
CY
53782012-08-17 Chong Yidong <cyd@gnu.org>
5379
5380 * mouse.el (mouse-appearance-menu): If x-select-font returns a
5381 font spec, set the font directly (Bug#3228).
5382
998c4a6a
MR
53832012-08-17 Martin Rudalics <rudalics@gmx.at>
5384
5385 * window.el (delete-window): Fix last fix.
5386
52162052
MR
53872012-08-16 Martin Rudalics <rudalics@gmx.at>
5388
5389 * window.el (window-valid-p): Move to window.c.
85c2386b
MR
5390 (window-child, window-child-count, window-last-child)
5391 (window-normalize-window, window-combined-p)
5392 (window-combinations, window-atom-root, window-min-size)
5393 (window-sizable, window-sizable-p, window-size-fixed-p)
5394 (window-min-delta, window-max-delta, window--resizable)
5395 (window--resizable-p, window-resizable, window-total-size)
5396 (window-full-height-p, window-full-width-p, window-body-size)
5397 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
5398 (minimize-window, window-deletable-p, delete-window)
5399 (delete-other-windows, set-window-buffer-start-and-point)
5400 (next-buffer, previous-buffer, split-window, balance-windows-2)
5401 (set-window-text-height, window-buffer-height)
5402 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
9fba804b
SM
5403 (truncated-partial-width-window-p): Minor code adjustments.
5404 In doc-strings state whether the argument window has to denote a
85c2386b 5405 live, valid or any window.
52162052 5406
1c308380
PS
54072012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
5408
5409 * progmodes/subword.el (subword-forward-function)
5410 (subword-backward-function, subword-forward-regexp)
5411 (subword-backward-regexp): New variables.
5412 (subword-forward, subword-forward-internal, subword-backward-internal):
5413 Use new variables, eg so that different "word" definitions
5414 can be easily used. (Bug#11411)
5415
94c9ece1
SM
54162012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
5417
5418 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
5419 for composite selectors.
5420 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
5421 operation just because we can't find a previous revision.
5422
f2045622
CY
54232012-08-15 Chong Yidong <cyd@gnu.org>
5424
5425 * frame.el (set-frame-font): Accept font objects.
5426
582db660
SM
54272012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
5428
5429 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
5430
2f29c200
WJ
54312012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
5432
456e62c2
WJ
5433 * man.el (Man-overstrike-face, Man-underline-face)
5434 (Man-reverse-face): Remove variables.
5435 (Man-overstrike, Man-underline, Man-reverse): New faces.
5436 (Man-fontify-manpage): Use them instead of the variables.
5437 (Man-cleanup-manpage): Comment change.
5438 (Man-ansi-color-map): New variable.
5439 (Man-fontify-manpage): Use it.
5440 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
5441
2f29c200
WJ
5442 Implement ANSI SGR parameters 22-27 (bug#12146).
5443 * ansi-color.el (ansi-colors): Doc fix.
5444 (ansi-color-context, ansi-color-context-region): Doc fix.
5445 (ansi-color--find-face): New function.
5446 (ansi-color-apply, ansi-color-apply-on-region): Use it.
5447 Rename the local variable `face' to `codes' since it is now a list of
5448 ansi codes. Doc fix.
5449 (ansi-color-get-face): Remove.
5450 (ansi-color-parse-sequence): New function, derived from
5451 ansi-color-get-face.
5452 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
5453 codes 22-27.
5454
b4f5e9df
SM
54552012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
5456
5457 * subr.el (read-passwd): Allow use from a minibuffer.
5458
ba025fbd
EZ
54592012-08-14 Eli Zaretskii <eliz@gnu.org>
5460
5461 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
5462 inside comments and strings as identifiers.
5463
5464 * progmodes/gud.el (gud-tooltip-print-command): Quote the
5465 expression to evaluate. This allows to evaluate expressions with
5466 embedded whitespace.
5467 (gud-tooltip-tips): Add a blank before the newline in the
5468 message-box text, for the benefit of message-box emulation on
5469 MS-Windows.
5470
5471 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
5472 messages from GDB, pop them up in a tooltip to give feedback to
5473 user.
b4f5e9df
SM
5474 (gdb-tooltip-print-1): Quote the expression to evaluate.
5475 This allows to evaluate expressions with embedded whitespace.
ba025fbd
EZ
5476 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
5477 if the TTY name is nil or empty (which happens when communicating
5478 with the inferior via pipes, e.g. on MS-Windows).
5479 (gdb-internals): If GDB sends a "&\n" empty debugging message,
5480 don't send that to the GUD buffer.
5481
c548f821
GM
54822012-08-14 Glenn Morris <rgm@gnu.org>
5483
5484 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
5485 Optimize away setq-default with no args, as for setq. (Bug#12195)
5486
55802e4a
CY
54872012-08-14 Chong Yidong <cyd@gnu.org>
5488
4abcdac8
CY
5489 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
5490
55802e4a
CY
5491 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
5492 (Bug#12085).
5493
3c3cda1a
GM
54942012-08-14 Glenn Morris <rgm@gnu.org>
5495
5496 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
5497
e1873bd0
MA
54982012-08-14 Michael Albinus <michael.albinus@gmx.de>
5499
5500 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
5501 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
5502 Use cached shell name.
5503
925411b4
FEG
55042012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
5505
5506 * progmodes/python.el (python-shell-send-string):
3c3cda1a 5507 (python-shell-send-setup-code): Do not use `format' with `message'.
925411b4 5508
e636fafe
DG
55092012-08-14 Dmitry Gutov <dgutov@yandex.ru>
5510
5511 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
5512 (ruby-percent-literal-beg-re): New constant.
5513 (ruby-syntax-general-delimiters-goto-beg): Rename to
5514 `ruby-syntax-enclosing-percent-literal', improve literal type check.
5515 (ruby-syntax-propertize-general-delimiters): Rename to
5516 `ruby-syntax-propertize-percent-literal', it's a shorter and more
5517 popular term. Adjust comments everywhere.
5518 (ruby-syntax-propertize-percent-literal): Only propertize when not
5519 inside a simple string or comment. When the literal is unclosed,
5520 leave the text after it unpropertized.
f063063a
DG
5521 (ruby-syntax-methods-before-regexp): New constant.
5522 (ruby-syntax-propertize-function): Use it to recognize regexps.
5523 Don't look at the text after regexp, just use the whitelist.
e636fafe 5524
e5b19827
AS
55252012-08-14 Andreas Schwab <schwab@linux-m68k.org>
5526
5527 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
5528 non-nil always load the compiled file if it exists. (Bug#12197)
5529
a9f6f311
CY
55302012-08-14 Chong Yidong <cyd@gnu.org>
5531
5532 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
5533 (hi-lock-set-pattern): When deciding whether to use font lock or
5534 overlays, look at font-lock-mode instead of font-lock-fontified
5535 (Bug#12168).
5536 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
5537 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
5538
7d806b1e
DU
55392012-08-14 Daiki Ueno <ueno@unixuser.org>
5540
5541 * subr.el (internal--after-with-selected-window): Fix typo
5542 (Bug#12193).
5543
5beed586
FEG
55442012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
5545
5546 Use `completion-table-dynamic' for completion functions.
5547 * progmodes/python.el
5548 (python-shell-completion--do-completion-at-point)
e636fafe
DG
5549 (python-shell-completion--get-completions):
5550 Remove functions.
5beed586
FEG
5551 (python-shell-completion-complete-at-point): New function.
5552 (python-completion-complete-at-point): Use it.
5553
92cb3b04
J
55542012-08-13 Jambunathan K <kjambunathan@gmail.com>
5555
5556 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
5557 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
5558
89660017
SM
55592012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
5560
3c98c962
SM
5561 * subr.el (function-get): Refine `autoload' arg so it can also
5562 autoload functions for gv.el (bug#12191).
5563 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
5564 autoloads macros.
5565
aa7c6dbe
SM
5566 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
5567 Prefer pcase-let over destructuring-bind.
5568 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
5569 Also, remove whitespace as we go, rather than after accumulating the
5570 various places.
5571
89660017
SM
5572 * subr.el (internal--before-with-selected-window)
5573 (internal--after-with-selected-window): Fix typo seleted->selected.
5574 (with-selected-window): Adjust callers.
5575 Reported by Dmitry Gutov <dgutov@yandex.ru>.
5576
31cd32c9
BG
55772012-08-13 Bastien Guerry <bzg@gnu.org>
5578
0fcd3d9f 5579 * window.el (special-display-popup-frame): Minor docstring
31cd32c9
BG
5580 enhancement. (Bug#12172)
5581
1b15d8ad
AS
55822012-08-13 Andreas Schwab <schwab@linux-m68k.org>
5583
31e54db0
AS
5584 * tar-mode.el (tar-header-data-end): Only ignore size for files of
5585 type 1-6.
5586 (tar-header-block-summarize, tar-get-descriptor): Handle pax
5587 extended headers.
5588
1b15d8ad
AS
5589 * files.el (hack-local-variables-filter): Remove useless eval.
5590
35cb9c06
MR
55912012-08-13 Martin Rudalics <rudalics@gmx.at>
5592
5593 * subr.el (with-selected-window): Fix last change.
5594
1439443b
SM
55952012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
5596
5597 * subr.el (internal--before-with-seleted-window)
5598 (internal--after-with-seleted-window): New functions.
1b15d8ad
AS
5599 (with-selected-window): Use them, to replace dependency on
5600 tty-top-frame.
1439443b 5601
0d9e2599
NN
56022012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
5603
5604 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
5605 binding for `newline'.
5606 (ruby-move-to-block): When moving backward, stop at block opening,
5607 not indentation.
5608 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
5609 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
5610 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
5611 `ruby-toggle-block'.
5612
ba10c48c
SM
56132012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
5614
5615 * ibuffer.el (ibuffer-do-toggle-read-only):
5616 * dired.el (dired-toggle-read-only):
5617 * buff-menu.el (Buffer-menu-toggle-read-only):
5618 * bindings.el (mode-line-toggle-read-only):
5619 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
5620
9229c658
AS
56212012-08-12 Andreas Schwab <schwab@linux-m68k.org>
5622
5623 * descr-text.el (describe-char): Put the overlays over the
5624 "displayed as" character.
5625
0fd09128
JB
56262012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
5627
5628 * calc/calc-units.el (math-default-units-table): Give an
5629 initial value.
5630 (math-put-default-units): Add options to put composite units and
5631 unit systems in the default units table.
5632 (calc-convert-units): Send composite units to
5633 `math-put-default-units' when appropriate.
5634
9ff9402d 56352012-08-11 Glenn Morris <rgm@gnu.org>
7aacaf15 5636
fbb5e336
GM
5637 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
5638
7aacaf15
GM
5639 * tutorial.el (help-with-tutorial):
5640 * emacs-lisp/copyright.el (copyright-update-directory):
5641 * emacs-lisp/autoload.el (autoload-find-generated-file)
5642 (autoload-find-file): Disable local eval: (for insurance).
5643
f40b9f10
GM
5644 * files.el (hack-local-variables-filter): If an eval: form is not
5645 known to be safe, and enable-local-variables is :safe, then ignore
5646 the form totally, as is done for non-eval forms. (Bug#12155)
6f97980a 5647 This is CVE-2012-3479.
f40b9f10 5648
daa9f1a6
SM
56492012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
5650
5651 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
5652 (rx-form): Simplify.
5653
9cd80478
DG
56542012-08-09 Dmitry Gutov <dgutov@yandex.ru>
5655
0d9e2599
NN
5656 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
5657 ?, _, and : are symbol constituents, ! is not (but kinda should be).
5658 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
5659 (ruby-syntax-propertize-function): Adjust for changes in
5660 `ruby-syntax-propertize-heredoc'.
5661
56622012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
5663
9cd80478
DG
5664 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
5665 binding (use `M-;' instead).
9cd80478 5666 (ruby-singleton-class-p): New function.
0d9e2599 5667 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
9cd80478 5668
d301b413
SM
56692012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
5670
5671 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
5672
1530c98e
CY
56732012-08-10 Chong Yidong <cyd@gnu.org>
5674
5675 * progmodes/python.el (python-shell-get-process-name): Don't mess
5676 with same-window-buffer-names.
5677
5678 * eshell/eshell.el (eshell-add-to-window-buffer-names)
5679 (eshell-remove-from-window-buffer-names): Make obsolete.
5680 (eshell-buffer-name, eshell-unload-hook): Don't use them.
5681 (eshell): Just use pop-to-buffer-same-window instead.
5682
e1293765
CY
56832012-08-10 Chong Yidong <cyd@gnu.org>
5684
5685 * bindings.el: Bind M-= back to count-words-region.
5686
5687 * simple.el (count-words-region): Accept a prefix arg for acting
5688 on the entire buffer.
5689 (count-words--buffer-message): New helper function.
5690
e1894109
SM
56912012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
5692
5693 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
5694 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
5695 (event-start, event-end): Use posn-at-point to return a more
5696 informative posn.
5697 (posnp): New function.
5698 * mouse.el (popup-menu-normalize-position): Use it.
5699
c69f56a2
MY
57002012-08-10 Masatake YAMATO <yamato@redhat.com>
5701
5702 * mouse.el (popup-menu-normalize-position): New function.
5703 (popup-menu): Use `popup-menu-normalize-position' to normalize
5704 the form for POSITION argument.
5705
5706 * term/x-win.el (x-menu-bar-open):
5707 Use the value returend from (posn-at-point) as position
5708 passed to `popup-menu'.
5709
31673780
JB
57102012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
5711
5712 * calc/calccomp.el (math-compose-expr): Add extra argument
5713 indicating that parentheses should be put around products in
5714 denominators. Give multiplication precedence over division during
5715 composition.
5716
dab7711b
CY
57172012-08-09 Chong Yidong <cyd@gnu.org>
5718
dee4ef93
CY
5719 * man.el (Man-switches, Man-sed-command, Man-awk-command)
5720 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
5721 (Man-untabify-command, manual-program): Convert to defcustom
5722 (Bug#10429).
5723
73e2bbc5
CY
5724 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
5725
3e861c8a
CY
5726 * descr-text.el (describe-char): Don't insert extra newlines
5727 (Bug#10127).
5728
a9f5a649
CY
5729 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
5730 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
5731
dab7711b
CY
5732 * align.el (align-region): Delete temporary markers (Bug#10047).
5733 Plus some code cleanups.
5734
e0cc4efa
FEG
57352012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
5736
5737 * progmodes/python.el (python-pdbtrack-tracked-buffer)
5738 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
5739 (python-shell-internal-last-output): Use make-local-variable
5740 instead of make-variable-buffer-local.
5741
489af14f
FEG
57422012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
5743
5744 * progmodes/python.el: Enhancements to forward-sexp.
5745 (python-nav-forward-sexp): Rename from
5746 python-nav-forward-sexp-function.
c69f56a2
MY
5747 (python-nav--forward-sexp, python-nav--backward-sexp):
5748 New functions.
489af14f 5749
0fc50303
JB
57502012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
5751
5752 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
5753 modes and simplification modes.
5754
5d65606a
SM
57552012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
5756
5757 * delsel.el (delete-selection-pre-hook): Don't propagate the
5758 file-supersession signals (bug#12161).
5759
4250fdf5
SM
57602012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
5761
5762 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
5763 (cl-map-extents): Add compatibility aliases (bug#12135).
5764
d9f9b465
MA
57652012-08-08 Michael Albinus <michael.albinus@gmx.de>
5766
5767 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
5768 tests by `ignore-error'.
5769 (tramp-find-shell): Open also a new shell, when cache is already
5770 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
5771
ce0fcefa
JL
57722012-08-08 Juri Linkov <juri@jurta.org>
5773
5774 * bookmark.el: Add `defaults' property to the bookmark record.
5775 (bookmark-current-buffer): Doc fix.
5776 (bookmark-make-record): Add `defaults' property with default values
5777 to the bookmark record.
5778 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
5779 with `bookmark-insert-current-bookmark'.
5780 (bookmark-set): Get `defaults' property from the bookmark record
5781 and use it in `read-from-minibuffer'.
5782 (bookmark-insert-current-bookmark): Remove function.
5783
5784 * info.el (Info-bookmark-make-record): Add `defaults' property
5785 with values of canonical Info node name, the current Info file
5786 name and the current Info node name. (Bug#12107)
5787
53fa8652
JL
57882012-08-08 Juri Linkov <juri@jurta.org>
5789
5790 * files.el (basic-save-buffer): Use `buffer-name' as the default
5791 of `read-file-name' when buffer is not visiting a file (bug#12128).
5792
242c0a95
JL
57932012-08-08 Juri Linkov <juri@jurta.org>
5794
5795 * info.el (Info-isearch-search): Doc fix.
5796 (Info-search): Change search-failed message from "initial node" to
5797 "end of node" (bug#12078).
5798 (Info-isearch-search): Change `isearch-string-state' to
5799 `isearch--state-string'.
5800
32ac3a6b
GM
58012012-08-08 Glenn Morris <rgm@gnu.org>
5802
5803 * language/persian.el: Remove file.
f8c1afd5 5804 * language/misc-lang.el: Move unique part of persian.el here.
32ac3a6b
GM
5805 * loadup.el: Remove language/persian.
5806
2c2d9c9c
OF
58072012-08-08 Óscar Fuentes <ofv@wanadoo.es>
5808
5809 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
5810
2d79ec42
FEG
58112012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
5812
5813 * progmodes/python.el Fixed defsubst warning.
5814 (python-syntax-context) Rename from python-info-ppss-context.
5815 (python-syntax-context-type): Rename from
5816 python-info-ppss-context-type.
5817 (python-syntax-comment-or-string-p): Rename from
5818 python-info-ppss-comment-or-string-p.
5819
2bd255dd
JB
58202012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
5821
5822 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
5823
c395097f
AS
58242012-08-07 Andreas Schwab <schwab@linux-m68k.org>
5825
6125983e
AS
5826 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
5827 a defcustom that is quoted with backquote.
5828
4250fdf5
SM
5829 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
5830 Fix handling of interactive spec when the body uses return.
651eaf36
AS
5831 (math-do-arg-check, math-define-function-body): Use backquote forms.
5832 * calc/calc-ext.el (math-defcache): Likewise.
5833 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
5834 * allout.el (allout-new-exposure): Likewise.
5835 * calc/calcalg2.el (math-tracing-integral): Likewise.
5836 * info.el (Info-last-menu-item): Likewise.
5837 * emulation/vip.el (vip-loop): Likewise.
5838 * textmodes/artist.el (artist-funcall): Likewise.
5839 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
5840 Construct menu-item directly.
5841
4250fdf5
SM
5842 * progmodes/autoconf.el (font-lock-syntactic-keywords):
5843 Don't declare.
c395097f 5844
5fb50dd3
CY
58452012-08-07 Chong Yidong <cyd@gnu.org>
5846
5847 * simple.el (deactivate-mark): Preserve text properties when
5848 saving the primary selection (Bug#8384).
5849
54eea618
KR
58502012-08-07 Kevin Ryde <user42@zip.com.au>
5851
5852 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
5853 (woman-parse-numeric-value): On a bad .IP line, issue a warning
5854 and continue processing (Bug#12110).
5855
638eaeb9
SM
58562012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
5857
5858 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
5859 syntax-propertize-function (bug#10095).
5860
ea376861
SM
58612012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
5862
f91b35be
SM
5863 * help-fns.el (help-fns--key-bindings, help-fns--signature)
5864 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
5865 describe-function-1.
5866 (describe-function-1): Use them. Move compiler macro after sig.
5867 (help-fns--compiler-macro): Use function-get. Assume we're already in
5868 standard-output. Adjust layout to new call order.
5869
ea376861
SM
5870 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
5871 re-binding a symbol that has a symbol-macro (bug#12119).
5872
d5be7bd0
MB
58732012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
5874
5875 * language/persian.el: New file. (Bug#11812)
5876 * loadup.el: Add language/persian.el.
5877
90749b53
CY
58782012-08-06 Chong Yidong <cyd@gnu.org>
5879
5880 * window.el (window--maybe-raise-frame): New function.
5881 (window--display-buffer): Split off from here.
5882 (display-buffer-reuse-window, display-buffer-pop-up-frame)
5883 (display-buffer-pop-up-window, display-buffer-use-some-window):
5884 Obey an inhibit-switch-frame action alist entry.
5885 (display-buffer): Update doc.
5886
5887 * replace.el (occur-after-change-function): Avoid losing focus by
5888 using the inhibit-switch-frame display parameter (Bug#12139).
5889
ba7b0154
FEG
58902012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
5891
5892 Make internal shell process buffer names start with space.
5893 * progmodes/python.el (python-shell-make-comint): Add optional
5894 argument INTERNAL.
5895 (run-python-internal): Use it.
5896 (python-shell-internal-get-or-create-process): Check for new
5897 internal buffer names.
5898
5eaeacb5
GM
58992012-08-06 Glenn Morris <rgm@gnu.org>
5900
e296d94b 5901 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
5eaeacb5
GM
5902 Do less getting and setting of environment variables.
5903
b7ccbdc2
CY
59042012-08-05 Chong Yidong <cyd@gnu.org>
5905
777fe95e
CY
5906 * proced.el (proced): Add substitution string to docstring to
5907 trigger autoloading of the proced library on C-h f (Bug#1768).
5908
4250fdf5
SM
5909 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
5910 Don't show defvars which have no second argument (Bug#8638).
b7ccbdc2
CY
5911
5912 * imenu.el (imenu-generic-expression): Move documentation here
5913 from imenu--generic-function.
5914 (imenu--generic-function): Refer to imenu-generic-expression.
5915
9e3b7800 59162012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
d5c31f1d
5917
5918 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
5919 indentation declaration.
5920 (viper-loop): Add indentation declaration (Bug#7025).
5921
e5d9c0d1
CY
59222012-08-05 Chong Yidong <cyd@gnu.org>
5923
f0422feb
CY
5924 * help-fns.el (describe-variable): Add hyperlink for
5925 directory-local variables files. Improve buffer-local and
5926 permanent-local reporting; suggested by MON KEY (Bug#6644).
5927
5928 * help-mode.el (help-dir-local-var-def): New button type.
5929
e5d9c0d1
CY
5930 * files.el (kill-buffer-hook): Provide a defvar.
5931
a4f2deaa
GM
59322012-08-05 Glenn Morris <rgm@gnu.org>
5933
5934 * eshell/esh-ext.el (eshell/addpath):
5935 Also update eshell-path-env. (Bug#12013)
5936
a9dd5754
CY
59372012-08-05 Chong Yidong <cyd@gnu.org>
5938
a4f2deaa 5939 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
615b0bf0 5940
d014c740
CY
5941 * fringe.el (fringe-styles): Add docstring.
5942 (fringe--check-mode): New function.
5943 (set-fringe-mode, set-fringe-style): Use it.
5944 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
5945
a9dd5754
CY
5946 * files.el (set-auto-mode): Fix invalid setq call.
5947
7c2dc8bd
SM
59482012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
5949
5950 * isearch.el: Misc simplification; use defstruct.
5951 (isearch-mode-map): Dense maps now work like sparse ones.
5952 (isearch--state): New defstruct.
5953 (isearch-string-state, isearch-message-state, isearch-point-state)
5954 (isearch-success-state, isearch-forward-state)
5955 (isearch-other-end-state, isearch-word-state, isearch-error-state)
5956 (isearch-wrapped-state, isearch-barrier-state)
5957 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
5958 replaced by defstruct's accessors.
5959 (isearch--set-state): Rename from isearch-top-state and change
5960 calling convention.
5961 (isearch-push-state): Use new isearch--get-state.
5962 (isearch-toggle-word): Disable regexp when enabling word.
5963 (isearch-message-prefix): Remove unused arg _c-q-hack.
5964 (isearch-message-suffix): Remove unused arg _ellipsis.
5965
7fcc0070
AS
59662012-08-04 Andreas Schwab <schwab@linux-m68k.org>
5967
5968 * simple.el (list-processes--refresh): For a server use :host or
5969 :local as the address.
97ad0769 5970 (list-processes): Doc fix.
7fcc0070 5971
a11035b8 59722012-08-04 Michal Nazarewicz <mina86@mina86.com>
00340faf
MN
5973
5974 * lisp/mpc.el: Support password in host argument.
5975 (mpc--proc-connect): Parse and use new password element.
5976 Set mpc-proc variable instead of returning process.
5977 (mpc-proc): Adjust accordingly.
5978
6dad7178
EZ
59792012-08-03 Eli Zaretskii <eliz@gnu.org>
5980
18949c2f
EZ
5981 * whitespace.el (whitespace-display-mappings): Use Unicode
5982 codepoints, instead of emacs-mule codepoints. See
5983 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
5984 for the details.
5985
6dad7178
EZ
5986 * files.el (file-truename): Don't skip symlink-chasing part on
5987 windows-nt. Incorporate the resolution of 8+3 short aliases on
4250fdf5
SM
5988 Windows into the loop that recursively chases symlinks.
5989 Compare directory and its parent case-insensitively on MS-Windows and
6dad7178
EZ
5990 MS-DOS.
5991
385b0198
CY
59922012-08-03 Chong Yidong <cyd@gnu.org>
5993
6200f3c4
CY
5994 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
5995
385b0198
CY
5996 * sort.el (sort-regexp-fields): Doc fix.
5997
b9e74744
TH
59982012-08-03 Tassilo Horn <tsdh@gnu.org>
5999
6000 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
6001 labels regex position point at the expected place.
6002
41013cb4
MK
60032012-08-03 MON KEY <monkey@sandpframing.com>
6004
6005 * net/imap.el (imap-interactive-login, imap-authenticate)
6006 (imap-mailbox-lsub, imap-mailbox-list)
6007 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
6008 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
6009 (imap-parse-response): Doc fix.
6010
0ffee616
JT
60112012-08-03 João Távora <joaotavora@gmail.com>
6012
6013 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
6014 if sexp scanning does not move point (Bug#5734).
6015
cfcc9cc8
TH
60162012-08-02 Tassilo Horn <tsdh@gnu.org>
6017
6018 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
6019 Add listings, minted, and ctable packages.
6020 (reftex-label-alist-builtin): Move listings, minted, and ctable
6021 entries before LaTeX.
a01bbb84 6022 (reftex-label-alist): Docfix.
cfcc9cc8 6023
66ec2442
BG
60242012-08-02 Bastien Guerry <bzg@gnu.org>
6025
6026 * replace.el (occur): Fix docstring (bug#12122).
6027
837b365b
GM
60282012-08-02 Glenn Morris <rgm@gnu.org>
6029
6030 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
6031
e098de97
PE
60322012-08-02 Paul Eggert <eggert@cs.ucla.edu>
6033
6034 Obsolete alias inactivate-current-input-method-function (Bug#10150).
6035 * international/mule-cmds.el: Create
6036 inactivate-current-input-method-function as an obsolete alias for
6037 deactivate-current-input-method-function. See Katsumi Yamaoka in
6038 <http://bugs.gnu.org/10150#46>.
6039
a0f95636
JB
60402012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
6041
6042 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
6043 of nested `if's.
6044
0d26d7c4
GM
60452012-08-01 Glenn Morris <rgm@gnu.org>
6046
6047 * progmodes/autoconf.el (autoconf-definition-regexp):
6048 Add AH_TEMPLATE, adjust submatch numbering.
6049 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
6050 (autoconf-current-defun-function): Update for above change.
6051 (autoconf-current-defun-function): First skip to end of current word.
6052
b686ba06
RS
60532012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
6054
6055 * calendar/cal-html.el (cal-html-insert-agenda-days):
6056 Fix typo. (Bug#12018)
6057
0d49da68
FEG
60582012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
6059
6060 Shell processes: enhancements to startup and CEDET compatibility.
6061 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
6062 (python-shell-make-comint): accept-process-output at startup.
6063 (run-python-internal): Set inferior-python-mode-hook to nil.
6064 (python-shell-internal-get-or-create-process): call sit-for.
6065 (python-preoutput-result): Add obsolete alias.
6066 (python-shell-internal-send-string): Use it.
6067 (python-shell-send-setup-code): Remove call to
6068 accept-process-output.
6069
f1a71c6e
AS
60702012-07-31 Andreas Schwab <schwab@linux-m68k.org>
6071
6072 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
6073 (Bug#12108)
6074
d2605269
JB
60752012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
6076
6077 * calc-mode.el (calc-basic-simplification-mode): Rename from
6078 `calc-limited-simplification-mode'.
6079 (calc-alg-simplification-mode): New function.
fc0c31f8 6080 (calc-set-simplify-mode): Adjust message.
f1a71c6e 6081
d2605269
JB
6082 * calc.el (calc-set-mode-line): Adjust mode line display for
6083 basic simplification mode.
6084
6085 * calc-help.el (calc-m-prefix-help): Update help message.
6086
6087 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
6088 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
6089
a3827a43
BG
60902012-07-31 Bastien Guerry <bzg@gnu.org>
6091
6092 * man.el (man): Fix comment. (bug#12101)
6093
502e3f89
MR
60942012-07-31 Martin Rudalics <rudalics@gmx.at>
6095
6096 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
6097 Don't return a non-nil value when no suitable buffer was found.
6098
d7714961
FEG
60992012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
6100
6101 * progmodes/python.el (run-python-internal): Disable font lock for
6102 internal shells.
6103
1f45e27e
SM
61042012-07-30 Stefan Merten <smerten@oekonux.de>
6105
70efc5c9 6106 * textmodes/rst.el: Silence `checkdoc-ispell'.
1f45e27e
SM
6107 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
6108 (rst-official-version, rst-official-cvs-rev)
6109 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
6110 (rst-mode-map): New key binding.
6111
0aee6912
PE
61122012-07-30 Paul Eggert <eggert@cs.ucla.edu>
6113
6114 Update .PHONY listings in makefiles.
6115 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
6116 autoloads, update-subdirs, updates, bzr-update, update-authors,
6117 compile-onefile, compile-calc, backup-compiled-files,
6118 compile-after-backup, compile-one-process, mh-autoloads,
6119 bootstrap-clean, distclean, maintainer-clean.
6120
9052f9f0
JB
61212012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
6122
1823ac5a
JB
6123 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
6124 (calc-set-mode-line): Don't display "AlgSimp ".
6125
6126 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
6127 (calc-lim-simplify-mode): New function.
6128 (calc-set-simplify-mode): Default to 'alg.
6129 (calc-default-simplify-mode): Make algebraic simplifications
6130 the default.
6131
6132 * calc/calc-ext.el (calc-init-extensions): Remove binding for
6133 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
6134
8d7c7eed 6135 * calc/calc-help.el (calc-m-prefix-help): Change messages to
4b337409
JB
6136 indicate new simplification modes.
6137
1823ac5a
JB
6138 * calc/README: Mention new default simplification mode.
6139
9052f9f0
JB
6140 * calc/calc.el (math-normalize-error): New variable.
6141 (math-normalize): Set `math-normalize-error' to t
6142 when there's an error.
6143
6144 * calc/calc-alg.el (math-simplify): Don't simplify when
6145 `math-normalize' returns an error.
6146
20ba0cb4
EZ
61472012-07-29 Eli Zaretskii <eliz@gnu.org>
6148
6149 * international/mule-cmds.el (set-locale-environment): Revert last
6150 change, since display-graphic-p returns nil when this function is
6151 called during startup. Instead...
6152
6153 * term/w32console.el (terminal-init-w32console): ...setup the
6154 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
6155
a5dcc929
JL
61562012-07-29 Juri Linkov <juri@jurta.org>
6157
6158 * simple.el (goto-line): Don't display default line number in the
6159 prompt because it should be displayed by `read-number' (bug#9952).
6160 Add the current line number to the defaults of `goto-line' to
6161 allow its easier modification by users with `M-n' (bug#9201).
6162
6163 * subr.el (read-number): Support multiple default values like in
6164 other minibuffer reading functions. Replace `read' with
6165 `string-to-number' for consistency with `number-to-string'.
6166
72b255c7
PE
61672012-07-29 Paul Eggert <eggert@cs.ucla.edu>
6168
6169 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
6170 * emulation/viper-init.el (viper-deactivate-input-method-action):
6171 Rename from viper-inactivate-input-method-action.
6172 (viper-deactivate-input-method):
6173 Rename from viper-inactivate-input-method.
6174 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
6175 * international/mule-cmds.el (deactivate-input-method):
6176 Rename from inactivate-input-method.
6177 Also run input-method-deactivate-hook.
6178 (deactivate-current-input-method-function):
6179 Rename from inactivate-current-input-method-function.
6180 (input-method-deactivate-hook): New hook.
6181 (input-method-inactivate-hook): Mark obsolete.
bb6eb9fc
PE
6182 (inactivate-input-method): Mark obsolete.
6183
72b255c7
PE
6184 * international/quail.el (quail-activate):
6185 Also run quail-deactivate-hook.
6186 (quail-deactivate): Rename from quail-inactivate.
6187 * international/robin.el (robin-activate):
6188 Also run robin-deactivate-hook.
6189 (robin-deactivate): Rename from robin-inactivate.
6190
2549c068
CY
61912012-07-29 Chong Yidong <cyd@gnu.org>
6192
6193 * simple.el (indicate-copied-region): New function.
6194 (kill-ring-save): Split off from here.
6195
6196 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
6197 (kill-rectangle): Set deactivate-mark to t on read-only error.
6198
6199 * register.el (copy-to-register, copy-rectangle-to-register):
6200 Deactivate the mark, and use indicate-copied-region (Bug#10056).
4c478e6b
JL
6201 (append-to-register, prepend-to-register): Call indicate-copied-region.
6202
62032012-07-29 Juri Linkov <juri@jurta.org>
17711ed9
JL
6204
6205 * simple.el (async-shell-command-buffer): New defcustom.
6206 (shell-command): Use it. (Bug#4719)
6207
01bd1b0d
EZ
62082012-07-28 Eli Zaretskii <eliz@gnu.org>
6209
6210 * international/mule-cmds.el (set-locale-environment): In a
6211 console session on MS-Windows, set up keyboard and terminal
6212 encoding from the OEM codepage, not the ANSI codepage.
6213 (Bug#12055)
6214
a55739d3
CY
62152012-07-28 Chong Yidong <cyd@gnu.org>
6216
6217 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
6218 gdb-get-location.
6219
0e1a094f 62202012-07-28 Leo Liu <sdl.web@gmail.com>
9a0f8f2e
LL
6221
6222 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
6223 the alist (bug#12029).
6224
20329d73
EZ
62252012-07-28 Eli Zaretskii <eliz@gnu.org>
6226
6227 * makefile.w32-in (custom-deps, finder-data, updates, compile)
6228 (compile-always, compile-first)
6229 ($(lisp)/calendar/cal-loaddefs.el)
6230 ($(lisp)/calendar/diary-loaddefs.el)
6231 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
6232 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
6233 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
6234 instead of on update-subdirs.
6235 (bootstrap-clean): Delete $(lisp)/subdirs.el.
6236
345a2258
CY
62372012-07-28 Chong Yidong <cyd@gnu.org>
6238
1eee6341
CY
6239 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
6240 directory if vc-deduce-backend returns nil (Bug#7350).
6241
345a2258
CY
6242 * simple.el (delete-trailing-lines): New option.
6243 (delete-trailing-whitespace): Obey it (Bug#11879).
6244
049a0936
DE
62452012-07-28 David Engster <deng@randomsample.de>
6246
6247 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
6248 Explanation of new 'symbol-qnames feature in doc-strings.
6249 (xml-maybe-do-ns): Return expanded names as plain symbols if
6250 'symbol-qnames was provided in XML-NS argument (Bug#11916).
6251 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
6252
aa81af71
FEG
62532012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
6254
6255 Consistent completion in inferior python with emacs -nw.
6256 * progmodes/python.el (inferior-python-mode): replace "<tab>"
6257 binding in inferior-python-mode-map with "\t".
6258 (python-shell-completion-complete-at-point)
6259 (python-completion-complete-at-point): Remove interactive spec.
6260
e827b1eb
JB
62612012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
6262
6263 * calc/calccomp.el (math-compose-expr): Undo previous change.
6264
a90dfb95
FEG
62652012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
6266
4250fdf5 6267 * progmodes/python.el (python-mode-map): Add keybinding for
a90dfb95
FEG
6268 run-python.
6269 (python-shell-make-comint): Fix pop-to-buffer call.
6270 (run-python): Autoload. New arg SHOW.
6271 (python-shell-get-or-create-process): Do not pop python process
6272 buffer.
6273
32770973 62742012-07-27 Michael Albinus <michael.albinus@gmx.de>
1c6ef030
MA
6275
6276 * notifications.el (notifications-on-action-signal)
6277 (notifications-on-closed-signal): Use also the bus address for the map.
6278 (notifications-notify, notifications-close-notification)
fc0c31f8 6279 (notifications-get-capabilities): Add optional argument BUS.
1c6ef030 6280
86332df2
TH
62812012-07-27 Tassilo Horn <tsdh@gnu.org>
6282
4250fdf5
SM
6283 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
6284 Add support for the lstlisting and minted environments, and for the
86332df2
TH
6285 ctable macro.
6286 * textmodes/reftex.el (reftex-compile-variables): Also recognize
6287 labels written in keyvals syntax.
6288
ca1302a4
JB
62892012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
6290
6291 * calc/calccomp.el (math-compose-expr): Use parentheses when
6292 there is a product in the denominator of a fraction.
6293
f8b91036
EZ
62942012-07-26 Eli Zaretskii <eliz@gnu.org>
6295
6296 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
6297 ($(lisp)/calendar/diary-loaddefs.el)
6298 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
4250fdf5
SM
6299 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
6300 Fixes failures in parallel bootstrap because subdirs.el is being
f8b91036
EZ
6301 rewritten while the autoload files are built at the same time,
6302 which needs to load subdirs.el.
6303
c8e5a42c
MR
63042012-07-26 Martin Rudalics <rudalics@gmx.at>
6305
6306 * mouse.el (popup-menu): Fix doc-string and re-indent code.
6307 (mouse-drag-line): Don't exit tracking when a switch-frame or
6308 switch-window event occurs (Bug#12006).
6309
670d85ea
SM
63102012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6311
6312 * mouse.el (popup-menu): Fix last change.
6313
7abaf5cc
SM
63142012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6315
6316 Autoload from Lisp with more care. Follow aliases when looking for
6317 function properties.
6318 * subr.el (autoloadp): New function.
6319 (symbol-file): Use it.
6320 (function-get): New function.
6321 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
6322 autoload-do-load.
6323 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
6324 (lisp-indent-function):
6325 * emacs-lisp/gv.el (gv-get):
6326 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
6327 * emacs-lisp/byte-opt.el (byte-optimize-form):
6328 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
6329 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
6330 Use function-get.
6331 * emacs-lisp/cl.el: Don't propagate function properties any more.
6332
6333 * speedbar.el (speedbar-add-localized-speedbar-support):
6334 * emacs-lisp/disass.el (disassemble-internal):
6335 * desktop.el (desktop-load-file):
6336 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
6337 (describe-function-1):
6338 * emacs-lisp/find-func.el (find-function-noselect):
6339 * emacs-lisp/elp.el (elp-instrument-function):
6340 * emacs-lisp/advice.el (ad-has-proper-definition):
6341 * apropos.el (apropos-safe-documentation, apropos-macrop):
6342 * emacs-lisp/debug.el (debug-on-entry):
6343 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
6344 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
6345 * calc/calc.el (name): Use autoloadp & autoload-do-load.
6346
b1364986
AA
63472012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
6348
6349 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
6350 function, not an obsolete variable (Bug#12046).
6351
67ada220
AS
63522012-07-25 Andreas Schwab <schwab@linux-m68k.org>
6353
6354 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
6355
f08088e3
CS
63562012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
6357
6358 * emacs-lisp/pp.el (pp-display-expression): Select old selected
6359 window only if it is still live (Bug#12034).
6360
8137e7b3
MR
63612012-07-25 Martin Rudalics <rudalics@gmx.at>
6362
6363 * subr.el (redirect-frame-focus): Add advertised calling
6364 convention (Bug#12030).
6365
09ae5da1
PE
63662012-07-25 Paul Eggert <eggert@cs.ucla.edu>
6367
6368 Prefer typical American spelling for "acknowledgment".
6369 * vc/add-log.el (change-log-acknowledgment): Rename from
6370 change-log-acknowledgement, with an alias for the old name.
6371
3cc5a3a8
JB
63722012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
6373
6374 * calc-alg.el (math-simplify-divide): Don't cross multiply
6375 in an equation when the lhs is a variable.
6376
b7af7f62
JD
63772012-07-24 Julien Danjou <julien@danjou.info>
6378
6379 * net/netrc.el (netrc-find-service-number, netrc-store-data):
6380 Remove, unused.
6381
ec1b09b1
EZ
63822012-07-23 Eli Zaretskii <eliz@gnu.org>
6383
6384 * startup.el (command-line): Don't display an empty user name in
6385 the error message about non-existent home directory, when
6386 init-file-user was set to an empty string. See
6387 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
6388 for the details and context.
6389
b525fd8a
VB
63902012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
6391
6392 * ses.el (ses-cell-formula-aset): New macro.
6393 (ses-cell-references-aset): New macro.
6394 (ses-cell-p): New function.
6395 (ses-rename-cell): Do no longer rely on complex operations like
6396 ses-cell-set-formula or ses-set-cell to change the cell and handle
6397 the undo at the same time, but rather use lower level new macros
6398 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
fc0c31f8 6399 the undo directly. Refresh the mode line.
b525fd8a 6400
2c73e345
LL
64012012-07-21 Leo Liu <sdl.web@gmail.com>
6402
670d85ea
SM
6403 * progmodes/cc-cmds.el (c-defun-name):
6404 Use match-string-no-properties instead for consistency.
2c73e345 6405
542dfbde
LL
64062012-07-20 Leo Liu <sdl.web@gmail.com>
6407
3646bcd6
LL
6408 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
6409 (Bug#7879)
6410
542dfbde
LL
6411 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
6412
25721031
CY
64132012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
6414
6415 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
6416 * progmodes/bug-reference.el, misearch.el: Provide themselves
6417 (bug#11915).
6418
6419 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
6420 of narrowed buffer (bug#11966).
6421
316e68a7
VB
64222012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
6423
6424 * ses.el (ses-rename-cell): Set new name also in reference list of
6425 cells of which the renamed cell depends.
6426
bbf0e7d9
MY
64272012-07-20 Masatake YAMATO <yamato@redhat.com>
6428
6429 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
6430 to check whether menu-bar is shown or not. If not shown,
6431 show the menu-bar as a popup menu instead of using tmm.
6432 * mouse.el (popup-menu): Accept `point' as `position' argument.
6433
c28662a8
DG
64342012-07-20 Dmitry Gutov <dgutov@yandex.ru>
6435
6436 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
6437 up inside string symbol literal (bug#11923).
6438
87ab808f
EZ
64392012-07-20 Eli Zaretskii <eliz@gnu.org>
6440
6441 * startup.el (fancy-startup-text): Read the whole tutorial, not
6442 just its first 256 bytes. Prevents gibberish in display of the
6443 tutorial title.
6444
89dea803
DA
64452012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
6446
6447 Drop idle buffer compaction due to an absence of the
6448 proved efficiency.
6449 * compact.el: Remove.
6450
8a4e6db8
SS
64512012-07-19 Sam Steingold <sds@gnu.org>
6452
6453 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
6454 vc-bzr-pull & vc-bzr-merge-branch.
6455 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
6456 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
6457 for consistency with compilation-error-regexp-alist.
6458 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
6459 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
6460 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
6461 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
6462
5db81e33
SM
64632012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
6464
6465 * emacs-lisp/chart.el: Use lexical-binding.
6466 (chart-emacs-storage): Don't hardcode the list of entries.
6467
5b835e1d
DA
64682012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
6469
6470 Next round of tweaks caused by Fgarbage_collect changes.
6471 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
6472
9cd47b72
DA
64732012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
6474
6475 Compact buffers when idle.
6476 * compact.el: New file.
6477
1d6fc0df
SM
64782012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
6479
6480 * subr.el (eventp): Presume that if it looks vaguely like an event,
6481 it's an event (bug#10190).
6482
1d29cc7d
FEG
64832012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
6484
6485 Enhancements to ppss related code (thanks Stefan).
6486 * progmodes/python.el (python-indent-context)
6487 (python-indent-calculate-indentation, python-indent-dedent-line)
6488 (python-indent-electric-colon, python-nav-forward-block)
6489 (python-mode-abbrev-table)
1d6fc0df 6490 (python-info-assignment-continuation-line-p): Simplify checks
1d29cc7d
FEG
6491 for ppss context.
6492 (python-info-continuation-line-p): Cleanup.
6493 (python-info-ppss-context): Do not catch 'quote.
6494 (python-info-ppss-context-type)
6495 (python-info-ppss-comment-or-string-p): Simplify.
6496
d583cbe6
FEG
64972012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
6498
6499 * progmodes/python.el: Enhancements to eldoc support.
6500 (python-info-current-symbol): New function.
6501 (python-eldoc-at-point): Use python-info-current-symbol.
6502 (python-info-current-defun): Fix cornercase on first defun scan.
6503 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
6504 and signal error when no inferior python process is available.
6505
eceb6feb
DG
65062012-07-18 Dmitry Gutov <dgutov@yandex.ru>
6507
6508 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
6509 assume it's always t.
6510 (vc-git-registered): Remove caching, the function is only called
6511 once.
6512 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
6513
4c8ff0fe
CY
65142012-07-18 Chong Yidong <cyd@gnu.org>
6515
19fb7186
CY
6516 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
6517
9587c688
CY
6518 * simple.el (count-words): Report on narrowing (Bug#9959).
6519
0fe776a1
CY
6520 * bindings.el: Bind M-= to count-words.
6521
4c8ff0fe
CY
6522 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
6523
7f5331cc
MY
65242012-07-18 Masatake YAMATO <yamato@redhat.com>
6525
6526 * progmodes/sh-script.el (sh-imenu-generic-expression):
6527 Capture a function with `function' keyword and without parentheses
6528 like "function FOO" (bug#11856).
6529
2dc2a609
TH
65302012-07-18 Tassilo Horn <tassilo@member.fsf.org>
6531
6532 * window.el (split-window-sensibly): Make WINDOW argument
6533 optional.
6534
439f7677
CY
65352012-07-18 Chong Yidong <cyd@gnu.org>
6536
9aeb25a6
CY
6537 * subr.el (keyboard-translate): Doc fix (Bug#7261).
6538
439f7677
CY
6539 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
6540 and make C-x 8 RET exit isearch (Bug#11439).
6541
6542 * international/iso-transl.el: Move isearch-mode-map key
6543 definitions to isearch.el.
6544
12999ea8
SM
65452012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
6546
6547 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
6548 (eieio-defclass): Use gv-define-setter when possible.
6549
3ab6e069
DA
65502012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
6551
6552 Reflect recent changes in Fgarbage_collect.
6553 * emacs-lisp/chart.el (chart-emacs-storage): Change to
6554 reflect new format of data returned by Fgarbage_collect.
6555
0a60bc10
FEG
65562012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
6557
6558 New utility functions + python-info-ppss-context fix (Bug#11910).
6559 * progmodes/python.el (python-info-beginning-of-block-statement-p)
6560 (python-info-ppss-comment-or-string-p): New functions.
6561 (python-info-ppss-context): Small fix for string check.
6562
6dafa0d5
JL
65632012-07-17 Juri Linkov <juri@jurta.org>
6564
6565 * dired-aux.el (dired-do-async-shell-command): Doc fix.
6566 (dired-do-async-shell-command): Don't add `*' at the end of the
6567 command (Bug#11815).
6568 (dired-do-shell-command): Doc fix.
6569 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
6570 Join the individual commands using either "&" or ";" as the
6571 separator depending on the values of these trailing characters.
6572 At the end re-add the trailing "&". (Bug#10598)
6573
6574 * simple.el (async-shell-command): Sync the interactive spec with
6575 `shell-command'. Doc fix.
6576 (shell-command): Doc fix.
6577
b19dd9d1
JL
65782012-07-17 Juri Linkov <juri@jurta.org>
6579
6580 * descr-text.el (describe-char): Fix format args. (Bug#10129)
6581
bcdc27d7 65822012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
7f5331cc 6583
bcdc27d7 6584 Final renames and doc fixes for movement commands (bug#11899).
7f5331cc
MY
6585 * progmodes/python.el (python-nav-beginning-of-statement):
6586 Rename from python-nav-statement-start.
bcdc27d7
FEG
6587 (python-nav-end-of-statement): Rename from
6588 python-nav-statement-end.
6589 (python-nav-beginning-of-block): Rename from
6590 python-nav-block-start.
6591 (python-nav-end-of-block): Rename from python-nav-block-end.
6592
191da00e
FEG
65932012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
6594
7f5331cc
MY
6595 * progmodes/python.el (python-shell-send-string-no-output):
6596 Allow accept-process-output to quit, keeping shell process ready for
191da00e
FEG
6597 future interactions (Bug#11868).
6598
4dc7c8d5 65992012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
aa7aaf8f 6600
88ecaf8f
SM
6601 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
6602
ef501ef0
SM
6603 * emacs-lisp/elint.el (elint-find-args-in-code):
6604 Use help-function-arglist, so as to handle lexical byte-code.
6605
aa7aaf8f
SM
6606 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
6607 change (bug#11826).
6608
45fd731c
SM
66092012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
6610
2143fa32
SM
6611 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
6612 Avoid spuriously marking the buffer as modified because of c-is-sws.
6613
efc26dbe
SM
6614 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
6615 as not-a-comment (bug#11946).
6616
f5695c9a
SM
6617 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
6618 for uninterned vars.
6619
6620 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
6621 Use read-event since we don't really want to read chars but bytes.
6622
45fd731c
SM
6623 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
6624 $$..$$ but also $..$ using regexps (bug#11953).
6625 Use tex-verbatim for \url and \path.
6626 (tex-font-lock-keywords): Define as defconst like the others.
6627 (tex-common-initialization): Don't use font-lock-syntax-table any more.
6628
ddfc8813
RK
66292012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
6630
6631 * international/mule-cmds.el (ucs-insert): Make it an obsolete
6632 alias for insert-char.
6633
758e556a
FEG
66342012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
6635
6636 * progmodes/python.el: Simplified imenu implementation.
6637 (python-nav-jump-to-defun): Remove command.
6638 (python-mode-map): Use `imenu' instead.
6639 (python-nav-list-defun-positions-cache)
6640 (python-imenu-include-defun-type, python-imenu-make-tree)
6641 (python-imenu-subtree-root-label, python-imenu-index-alist):
6642 Remove vars.
6643 (python-nav-list-defun-positions, python-nav-read-defun)
6644 (python-imenu-tree-assoc, python-imenu-make-element-tree)
45fd731c
SM
6645 (python-imenu-make-tree, python-imenu-create-index):
6646 Remove functions.
758e556a
FEG
6647 (python-mode): Update to interact with imenu by setting
6648 `imenu-extract-index-name-function' only.
6649
032d23ab
FEG
66502012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
6651
6652 * progmodes/python.el: Enhancements to navigation commands.
6653 (python-nav-backward-sentence)
6654 (python-nav-forward-sentence): Remove.
6655 (python-nav-backward-statement, python-nav-forward-statement)
6656 (python-nav-statement-start, python-nav-statement-end)
6657 (python-nav-backward-block, python-nav-forward-block)
6658 (python-nav-block-start, python-nav-block-end)
6659 (python-nav-forward-sexp-function)
6660 (python-info-current-line-comment-p)
6661 (python-info-current-line-empty-p): New functions.
6662 (python-indent-context): Use `python-nav-statement-start'.
6663
01795a1b
MA
66642012-07-16 Michael Albinus <michael.albinus@gmx.de>
6665
9328d9aa
MA
6666 * eshell/em-ls.el (eshell/ls): Use `apply'.
6667
6668 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
6669 multi-hops, instead of Tramp internals.
6670
01795a1b
MA
6671 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
6672
6673 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
6674 when F1 and F2 are located on different hosts.
6675
63408057
CY
66762012-07-14 Chong Yidong <cyd@gnu.org>
6677
6678 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
6679 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
6680 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
6681 (xterm-mouse--read-event-sequence-1000)
6682 (xterm-mouse--read-event-sequence-1006): New functions. For old
6683 mouse protocol, handle M-mouse-X events correctly.
6684 (xterm-mouse-event): New arg specifying mouse protocol.
6685 (turn-on-xterm-mouse-tracking-on-terminal)
6686 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
45fd731c
SM
6687 sequence to toggle extended coordinates on newer XTerms.
6688 This appears to be harmless on terminals which do not support this.
63408057 6689
cd276f6e
LL
66902012-07-14 Leo Liu <sdl.web@gmail.com>
6691
28ca98ac
LL
6692 Add fringe bitmap indicators for flymake. (Bug#11253)
6693 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
6694 (flymake-make-overlay): New arg BITMAP.
6695 (flymake-error-bitmap, flymake-warning-bitmap)
6696 (flymake-fringe-indicator-position): New user variables.
6697
cd276f6e
LL
6698 * fringe.el: New bitmap exclamation-mark.
6699
04408072
JD
67002012-07-14 Jan Djärv <jan.h.d@swipnet.se>
6701
6702 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
6703 also (Bug#7879).
6704
b5cf7fc4
CY
67052012-07-14 Chong Yidong <cyd@gnu.org>
6706
6707 * electric.el (electric-pair-post-self-insert-function): Fix pair
6708 insertion in empty-region case (Bug#11520).
6709
be755c79
RT
67102012-07-14 Chong Yidong <cyd@gnu.org>
6711
45fd731c
SM
6712 * bindings.el: Consolidate ctl-x-r-map bindings.
6713 Bind copy-rectangle-as-kill to C-x r w.
be755c79
RT
6714
6715 * rect.el, register.el: Move bindings to bindings.el.
6716
67172012-07-14 Reuben Thomas <rrt@sc3d.org>
6718
6719 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
6720
7f5b3198
AS
67212012-07-13 Andreas Schwab <schwab@linux-m68k.org>
6722
6723 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
6724
97662200
JB
67252012-07-13 Juanma Barranquero <lekktu@gmail.com>
6726
80185fed
JB
6727 * bindings.el (top): Use `mapc' instead of `mapcar'.
6728
97662200
JB
6729 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
6730
2bb1ae55
MA
67312012-07-13 Michael Albinus <michael.albinus@gmx.de>
6732
6733 * progmodes/sql.el (sql-comint): Suppress the check for program on
6734 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
6735 (Bug#11908)
6736
dea31bd3
CY
67372012-07-13 Chong Yidong <cyd@gnu.org>
6738
6739 * bindings.el: Assign a non-nil permanent-local property to
6740 per-buffer variables which lack a default value (Bug#11930).
6741
6742 * help-fns.el (describe-variable): In the "automatically becomes
6743 local" notice, take note of permanent-local variables.
6744
b68b3337
CY
67452012-07-13 Chong Yidong <cyd@gnu.org>
6746
6747 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
6748 to allow printing the message when called from Lisp.
6749
6750 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
6751 Remove toggle-read-only.
6752
6753 * bs.el (bs-toggle-readonly):
45fd731c
SM
6754 * buff-menu.el (Buffer-menu-toggle-read-only):
6755 Remove with-no-warnings around toggle-read-only.
b68b3337
CY
6756
6757 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
6758 Remove with-no-warnings around toggle-read-only.
6759 (ffap-read-only, ffap-read-only-other-window)
6760 (ffap-read-only-other-frame): Callers changed.
6761
6762 * help-mode.el: Don't require view package.
6763 (help-mode-finish): Set buffer-read-only instead of calling
6764 toggle-read-only.
6765
6766 * bindings.el (mode-line-toggle-read-only):
6767 * dired.el (dired-toggle-read-only):
6768 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
6769 with non-nil second arg.
6770
6771 * emacs-lisp/eieio-custom.el (eieio-customize-object):
6772 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
6773 directly.
6774
56bc1586
EZ
67752012-07-12 Eli Zaretskii <eliz@gnu.org>
6776
6777 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
6778 not incf.
6779
a464a6c7
SM
67802012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
6781
6782 More CL cleanups and reduction of use of cl.el.
6783 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
6784 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
6785 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
6786 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
6787 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
6788 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
6789 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
6790 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
6791 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
6792 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
6793 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
6794 * eshell/em-cmpl.el, eshell/em-banner.el:
6795 * calendar/parse-time.el: Use cl-lib.
6796 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
6797 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
6798 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
6799 * term/ns-win.el, term.el, shell.el, ps-samp.el:
6800 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
6801 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
6802 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
6803 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
6804 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
6805 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
6806 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
6807 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
6808 `lambda' rather than with `quote'.
6809 (eshell-do-opt): Adjust accordingly.
6810 (eshell-process-option): Simplify.
6811 * eshell/esh-var.el:
6812 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
6813 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
6814 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
6815 to `pcase--dontcare'.
6816 * emacs-lisp/cl.el (labels): Mark obsolete.
6817 (cl--letf, letf): Move to cl-lib.
6818 (cl--letf*, letf*): Remove.
6819 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
6820 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
6821 (cl-progv): Rewrite.
6822 (cl--letf, cl-letf): Move from cl.el.
6823 (cl-letf*): New macro.
6824 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
6825
7ad4afe1
MA
68262012-07-11 Michael Albinus <michael.albinus@gmx.de>
6827
6828 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
6829
9af57756
CY
68302012-07-11 Chong Yidong <cyd@gnu.org>
6831
6832 * vc/log-edit.el (log-edit-vc-backend): New variable.
6833 (log-edit): Doc fix.
6834
6835 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
6836 argument of log-edit to set up all local variables.
6837 (vc-start-logentry): New optional arg specifying VC backend.
6838
6839 * vc/vc.el (vc-checkin): Use it.
6840 (vc-deduce-fileset): Handle Log Edit buffers.
6841 (vc-diff): Make first argument optional too.
6842
6843 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
6844
8477cc7a
MA
68452012-07-10 Michael Albinus <michael.albinus@gmx.de>
6846
6847 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
6848 command, just in case. The function is not needed anymore.
6849 (eshell-external-command): Do not call `eshell-remote-command'.
6850
19faa8e8
SM
68512012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
6852
f58e0fd5
SM
6853 Reduce use of (require 'cl).
6854 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
6855 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
6856 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
6857 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
6858 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
6859 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
6860 * battery.el, avoid.el, abbrev.el: Use cl-lib.
6861 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
6862 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
6863 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
6864 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
6865 * calculator.el, autorevert.el, apropos.el: Don't require CL.
6866 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
6867 (byte-compile-unfold-bcf, byte-compile-check-variable):
6868 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
6869 (byte-compile-nilconstp):
6870 * emacs-lisp/autoload.el (make-autoload): Use pcase.
6871 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
6872
2519d43a
SM
6873 * emacs-lisp/gv.el (cond): Make it a valid place.
6874 (if): Simplify slightly.
6875
19faa8e8
SM
6876 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
6877 (pcase--self-quoting-p): New function.
6878 (pcase--u1): Use it.
6879
c4907a5e
GM
68802012-07-10 Glenn Morris <rgm@gnu.org>
6881
6882 * emacs-lisp/authors.el (authors-fixed-entries):
6883 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
6884
c4444d16
PE
68852012-07-09 Paul Eggert <eggert@cs.ucla.edu>
6886
6887 Rename configure.in to configure.ac (Bug#11603).
6888 * emacs-lisp/authors.el (authors-canonical-file-name):
6889 * progmodes/autoconf.el (autoconf-mode):
6890 Prefer configure.ac to configure.in.
6891
d75be97d
CY
68922012-07-08 Chong Yidong <cyd@gnu.org>
6893
01ac65bd
CY
6894 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
6895 Implement the mouse-1-click-follows-link handling properly.
6896
6897 * info.el (Info-link-keymap): Use follow-link mechanism for
6898 header-line links (Bug#374).
6899
d75be97d
CY
6900 * simple.el (deactivate-mark): Do not set the primary selection
6901 if another program has acquired it (Bug#11772).
6902
87a92845 69032012-07-07 Kevin Ryde <user42@zip.com.au>
f0ecdfea
KR
6904
6905 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
6906 (woman-decode-region): Replace escaped-escapes without destroying
6907 bold or underline (Bug#11552).
87a92845 6908 (woman2-process-escapes): Handle nofill regions (Bug#11591).
f0ecdfea 6909
621b9d6c
CY
69102012-07-07 Chong Yidong <cyd@gnu.org>
6911
6912 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
19faa8e8
SM
6913 (interprogram-cut-function, interprogram-paste-function):
6914 Mention that we typically mean the clipboard.
621b9d6c 6915
133a11fc
GM
69162012-07-06 Glenn Morris <rgm@gnu.org>
6917
0d27a45e
GM
6918 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
6919
133a11fc
GM
6920 * files.el (toggle-read-only): Restrict message to interactive use.
6921
07b151f1
MA
69222012-07-06 Michael Albinus <michael.albinus@gmx.de>
6923
6924 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
6925
6926 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
6927
211b896b
GM
69282012-07-06 Glenn Morris <rgm@gnu.org>
6929
50394322
GM
6930 * Makefile.in (compile-one-process): Rename from "recompile".
6931
211b896b
GM
6932 * Makefile.in (bzr-update): "compile" is the same as "recompile
6933 autoloads", but parallelizable, so use that instead.
6934
4737eec9
DG
69352012-07-06 Dmitry Gutov <dgutov@yandex.ru>
6936
6937 * window.el (quit-window): Always restore window height when
8137e7b3 6938 it's saved in quit-restore parameter (Bug#11810).
4737eec9 6939
226c3633 69402012-07-06 Glenn Morris <rgm@gnu.org>
cb442973
GM
6941
6942 * simple.el (kill-whole-line): Doc tweak.
6943
226c3633 69442012-07-06 Eli Zaretskii <eliz@gnu.org>
93842198
EZ
6945
6946 * files.el (file-relative-name): Compare file names
6947 case-insensitively if on MS-Windows or MS-DOS, or if
6948 read-file-name-completion-ignore-case is non-nil. Don't use
6949 case-fold-search for this purpose. (Bug#11827)
6950
4dc7c8d5
SM
69512012-07-17 Andreas Schwab <schwab@linux-m68k.org>
6952
6953 * calendar/cal-dst.el (calendar-current-time-zone):
6954 Return calendar-current-time-zone-cache if non-nil.
6955
69562012-07-17 Masatake YAMATO <yamato@redhat.com>
226c3633 69572012-07-06 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 6958
19faa8e8
SM
6959 * calendar/cal-dst.el (calendar-current-time-zone):
6960 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 6961
60198fc9
GM
69622012-07-06 Glenn Morris <rgm@gnu.org>
6963
6964 * Makefile.in (cvs-update): Remove old alias.
6965
957b3189
MA
69662012-07-05 Michael Albinus <michael.albinus@gmx.de>
6967
6968 Sync with Tramp 2.2.6-pre.
6969
6970 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
6971 compatible declaration.
6972
19faa8e8
SM
6973 * net/tramp-cmds.el (tramp-append-tramp-buffers):
6974 Protect `list-load-path-shadows' call.
957b3189
MA
6975
6976 * net/tramp-compat.el (top): Require packages, which aren't
6977 autoloaded anymore for XEmacs. Protect call of
6978 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
6979 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
6980 it hurts at least for SXEmacs.
6981 (tramp-compat-temporary-file-directory): In XEmacs, there is no
6982 standard-value for `temporary-file-directory'.
6983
6984 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
6985 Redirect stderr to /dev/null.
6986 (tramp-sh-handle-write-region): uid and gid can be floats.
6987 Reported by Russell Sim <russell.sim@gmail.com>.
6988 (tramp-sh-handle-vc-registered): Hide errors.
6989 (tramp-vc-file-name-handler): Use dummy results for `process-file'
6990 and `start-file-process'.
6991 (tramp-maybe-open-connection): Check also whether `non-essential'
6992 is bound.
6993
566df3fc
CY
69942012-07-04 Chong Yidong <cyd@gnu.org>
6995
6996 * xml.el (xml--parse-buffer): Use xml-syntax-table.
6997 (xml-parse-tag): Likewise, and avoid changing entity tables.
6998 (xml-syntax-table): Define from scratch, making sure not to give
6999 x2000 and other Unicode spaces whitespace syntax, since those are
7000 not spaces in XML.
7001 (xml-parse-fragment): Delete unused function.
7002 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
7003 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
7004 (xml-entity-ref, xml-pe-reference-re)
7005 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
7006 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
7007 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
7008 (xml-entity-value-re): Use syntax references in regexps where
7009 possible; no need to define inside a let-binding.
7010 (xml-parse-dtd): Use xml-pe-reference-re.
7011 (xml-entity-or-char-ref-re): New defconst.
7012 (xml-parse-string, xml-substitute-special): Use it.
7013
30eabd7a
SM
70142012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
7015
0781098a
SM
7016 * files.el (locate-dominating-file): Allow `name' to be a predicate.
7017 (find-file--read-only): New function.
7018 (find-file-read-only, find-file-read-only-other-window)
7019 (find-file-read-only-other-frame): Use it.
7020 (insert-file-contents-literally): Don't `fset'.
7021 (get-free-disk-space): Use locate-dominating-file.
7022
b5771c0d
SM
7023 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
7024 function is already compiled.
7025
30eabd7a
SM
7026 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
7027
b4886f6e
MA
70282012-07-03 Michael Albinus <michael.albinus@gmx.de>
7029
7030 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
7031 files on the same host.
7032
b9d82339
AS
70332012-07-03 Andreas Schwab <schwab@linux-m68k.org>
7034
7035 * help-fns.el (describe-function-1): Only call
7036 help-fns--autoloaded-p when we have a file name. (Bug#11848)
7037
a76e6535
CY
70382012-07-03 Chong Yidong <cyd@gnu.org>
7039
7040 * xml.el: Protect parser against XML bombs.
7041 (xml-entity-expansion-limit): New variable.
7042 (xml-parse-string, xml-substitute-special): Use it.
7043 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
7044
b544fef2
GM
70452012-07-03 Glenn Morris <rgm@gnu.org>
7046
7047 * progmodes/bug-reference.el (bug-reference-bug-regexp):
7048 Allow linking to specific messages in debbugs reports (eg 123#5).
7049
a7aef6f5
CY
70502012-07-02 Chong Yidong <cyd@gnu.org>
7051
7052 * xml.el: Fix entity and character reference expansion, allowing
7053 them to expand into markup as per XML spec.
7054 (xml-default-ns): New variable.
7055 (xml-entity-alist): Use XML spec definitions for lt and amp.
30eabd7a
SM
7056 (xml-parse-region): Make first two arguments optional.
7057 Discard text properties.
7058 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
7059 All callers changed.
a7aef6f5
CY
7060 (xml-parse-tag): Call xml-parse-tag-1. For backward
7061 compatibility, this function should not modify buffer contents.
7062 (xml-parse-tag-1): Fix opening-tag regexp.
7063 (xml-parse-string): Rewrite, handling entity and character
7064 references properly.
7065 (xml--entity-replacement-text): Signal an error if a parameter
7066 entity is undefined.
7067
3df31c9f
SM
70682012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
7069
2b5208f1
SM
7070 * comint.el (comint-output-filter): Filter out repeated prompts.
7071
3df31c9f
SM
7072 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
7073 and file-name-absolute-p.
7074 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
7075 internal calls.
7076
e3ac1281
PE
70772012-07-02 Paul Eggert <eggert@cs.ucla.edu>
7078
7079 Spelling fixes.
7080 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
7081 Rename from byte-compile--refiy-function. All uses changed.
7082
fbf2e7ad
CY
70832012-07-01 Chong Yidong <cyd@gnu.org>
7084
7085 * xml.el (xml--parse-buffer): New function. Move most of
7086 xml-parse-region here.
7087 (xml-parse-region): Copy region into a temporary buffer, since
7088 parameter entity substitution requires changing buffer contents.
7089 Use xml--parse-buffer.
7090 (xml-parse-file): Use xml--parse-buffer.
7091 (xml-parse-dtd): Make parameter entity substitution work right.
6fe566a7 7092 Use proper regexps for ELEMENT declarations (Bug#7172).
fbf2e7ad 7093
9bf0aa15
GM
70942012-06-30 Glenn Morris <rgm@gnu.org>
7095
bbce2853
GM
7096 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
7097
9bf0aa15
GM
7098 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
7099 Remove outdated and unnecessary dbus declarations.
7100
0d23c240
EZ
71012012-06-30 Eli Zaretskii <eliz@gnu.org>
7102
7103 * emacs-lisp/timer.el (timer-until): Subtract results of
7104 float-time, instead of taking float-time of the result of
7105 time-subtract, since float-time signals an error for negative time
7106 arguments.
7107
b3218de1
CY
71082012-06-30 Chong Yidong <cyd@gnu.org>
7109
7110 * xml.el (xml-*-re): Convert defvars into defconsts, and
7111 eval-and-compile them so eval-and-compile works on derivatives.
7112 (xml--entity-replacement-text): Use eval-and-comple.
7113
a40c87a0
MA
71142012-06-30 Michael Albinus <michael.albinus@gmx.de>
7115
7116 * vc/vc-git.el (vc-git-registered): Use cache property
7117 `git-registered'.
7118 (vc-git-mode-line-string): Call `vc-working-revision' instead of
7119 `vc-git-working-revision' in order to benefit from the cache.
2bb1ae55 7120 (vc-git-root): Use cache property `git-root'. (Bug#11757)
a40c87a0 7121
ac87de97
DG
71222012-06-30 Dmitry Gutov <dgutov@yandex.ru>
7123
7124 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
2bb1ae55 7125 removed (likely outside Emacs). (Bug#11757)
ac87de97 7126
ac10fe06
SM
71272012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
7128
3df31c9f 7129 * emacs-lisp/cl-lib.el: Require macroexp.
ac10fe06 7130
7f3fbd5d
CY
71312012-06-30 Chong Yidong <cyd@gnu.org>
7132
7133 * xml.el: Implement XML parameter entities.
7134 (xml-parameter-entity-alist): New variable.
7135 (xml-parse-region, xml-parse-fragment): Preserve previous values
7136 of xml-entity-alist and xml-parameter-entity-alist, so that
7137 repeated calls on different documents do not change them.
7138 (xml-parse-tag): Fix doctype regexp.
7139 (xml--entity-replacement-text): New function.
7140 (xml-parse-dtd): Use it. Don't handle system entities; doing that
7141 properly requires url retrieval which is unimplemented.
7142 (xml-escape-string): Doc fix.
7143
3cfbebba
SM
71442012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
7145
7146 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
7147
2af3565e
DA
71482012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
7149
7150 * fringe.el (fringe-mode): Doc fix.
7151
929df0e7
MA
71522012-06-29 Michael Albinus <michael.albinus@gmx.de>
7153
7154 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
7155 is non-nil.
7156 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
7157 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
7158
c8d3a25c 71592012-06-29 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 7160
c8d3a25c
GM
7161 * calendar/cal-dst.el (calendar-current-time-zone):
7162 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 7163
c8d3a25c 71642012-06-29 Masatake YAMATO <yamato@redhat.com>
26e8548e
MY
7165
7166 * progmodes/which-func.el (which-func-format):
7167 Add mouse-face. (Bug#11698)
7168
c8d3a25c
GM
71692012-06-29 Leo Liu <sdl.web@gmail.com>
7170
7171 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
7172
71732012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
7174
7175 * minibuffer.el (minibuffer-confirm-exit-commands):
7176 Add completion-at-point (bug#11725).
7177
71782012-06-29 Glenn Morris <rgm@gnu.org>
7179
7180 * progmodes/f90.el (f90-font-lock-keywords-2):
7181 Add some preprocessor elements. (Bug#10499)
7182
71832012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
7184
7185 * progmodes/cperl-mode.el (cperl-update-syntaxification):
7186 Use syntax-propertize (bug#11739).
7187
2badeec4
JB
71882012-06-28 Juanma Barranquero <lekktu@gmail.com>
7189
7190 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
7191
ae4969c2
JD
71922012-06-28 Julien Danjou <julien@danjou.info>
7193
7194 * term.el (term-handle-colors-array): Use a set of new faces to
7195 color the terminal. Also uses :inverse-video property.
7196 (term-default-fg-color): Set to nil by default, deprecate in favor
7197 of `term-face'.
7198 (term-default-bg-color): Set to nil by default, deprecate in favor
7199 of `term-face'.
7200 (term-current-face): Use `term-face' by default.
7201 (term-bold-attribute): Variable deleted.
7202
1c9bd870
GM
72032012-06-28 Glenn Morris <rgm@gnu.org>
7204
7205 * simple.el (completion-list-mode-finish):
7206 Don't use toggle-read-only. (Since completion-list-mode has
7207 a special mode-class, it wasn't doing anything extra anyway.)
7208
c207708c
SM
72092012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
7210
7211 Make inlining of other-mode interpreted functions work (bug#11799).
7212 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
7213 (byte-compile): Use it to fix compilation of lexical-binding closures.
7214 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
7215 function, if needed.
7216
3fd56834
SM
72172012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
7218
04901786
SM
7219 * help-mode.el (help-make-xrefs): Don't just withstand
7220 cyclic-variable-indirection but any error in documentation-property.
7221
1ec4b7b2
SM
7222 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
7223 memory use.
7224 * bindings.el (bindings--define-key): New function.
7225 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
7226 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
7227 * bindings.el: Use it to purecopy define-key bindings.
7228
e309e2a5
SM
7229 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
7230
d5c6faf9
SM
7231 * emacs-lisp/cl.el (flet): Mark obsolete.
7232 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
7233 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
7234 * progmodes/js.el (js-c-fill-paragraph):
7235 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
7236 (ebrowse-switch-member-buffer-to-derived-class):
7237 * play/5x5.el (5x5-solver): Use cl-flet.
7238
6e9590e2
SM
7239 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
7240 (cl--symbol-function): New macro.
7241 (cl--letf, cl--letf*): Use it.
7242
3fd56834
SM
7243 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
7244 Strip "toggle-" if any.
7245
35ff222c
GM
72462012-06-27 Glenn Morris <rgm@gnu.org>
7247
1ba6038a
GM
7248 * info.el (Info-default-directory-list): Move here from paths.el.
7249 * paths.el: Remove file, which is now empty.
7250 * loadup.el: No longer load "paths".
7251
0ea0e51b
GM
7252 * custom.el (custom-initialize-delay): Doc fix.
7253
35ff222c
GM
7254 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
7255 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
7256 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
7257 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
7258 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
7259 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
7260 * eshell/eshell.el (eshell-defgroup): Remove alias.
7261
c89926a5
CY
72622012-06-27 Chong Yidong <cyd@gnu.org>
7263
7264 * help.el (help-enable-auto-load): New variable.
7265
7266 * help-fns.el (help-fns--autoloaded-p): New function.
7267 (describe-function-1): Refer to a function as "autoloaded" if it
7268 was autoloaded at any time in the past. Perform autoloading if
7269 help-enable-auto-load is non-nil.
7270
cc06e7e7
EZ
72712012-06-26 Eli Zaretskii <eliz@gnu.org>
7272
7273 * makefile.w32-in (compile, compile-always): Depend on
7274 update-subdirs, not on subdirs.el. Otherwise, several different
7275 sub-targets of 'bootstrap' running in parallel could
7276 simultaneously write to subdirs.el, producing a garbled file.
7277
d2c32364
SS
72782012-06-26 Sam Steingold <sds@gnu.org>
7279
7280 * files.el (file-name-base): New convenience function.
0d14cc21
GM
7281 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
7282 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
7283 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
7284 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
7285 * textmodes/ispell.el, textmodes/reftex-ref.el:
d2c32364
SS
7286 * textmodes/tex-mode.el: Use it.
7287 Did not touch cedet and org because they are maintained elsewhere.
7288
5cf983b2
MR
72892012-06-26 Martin Rudalics <rudalics@gmx.at>
7290
7291 * calendar/calendar.el (calendar-exit): Don't try to delete or
7292 iconify last frame. See:
7293 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
7294
8c4f2952
JD
72952012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
7296
7297 * server.el (server-process-filter): Remember dir in the
7298 process's `server-client-directory' properties.
7299
772b2e2c
CY
73002012-06-24 Chong Yidong <cyd@gnu.org>
7301
7302 * xml.el (xml-parse-tag): Correctly handle comment embedded in
7303 non-tag text.
7304
711b11e1
JB
73052012-06-23 Juanma Barranquero <lekktu@gmail.com>
7306
7307 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
7308
dc5d230c
SM
73092012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
7310
7311 * help-fns.el (describe-variable): Don't croak when doc is not found.
7312 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
7313 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
7314 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
7315 * emacs-lisp/smie.el (smie-next-sexp): CSE.
7316 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
7317 ((lambda ..) ..).
7318 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
7319
136e1c1d
CY
73202012-06-23 Chong Yidong <cyd@gnu.org>
7321
e8c1cabf
CY
7322 * info.el (Info-mouse-follow-link): Accept symbol values of
7323 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
136e1c1d
CY
7324 (Info-fontify-node): Use Info-link-keymap for all navigation
7325 buttons, with link-args property to perform the desired action.
7326 (Info-link-keymap): Doc fix.
7327 (Info-next-link-keymap, Info-prev-link-keymap)
7328 (Info-up-link-keymap): Delete now-unused keymaps.
7329
0e9e6c6a
CY
73302012-06-23 Chong Yidong <cyd@gnu.org>
7331
05e89fea
CY
7332 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
7333
0e9e6c6a
CY
7334 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
7335 system abbrevs.
7336
7337 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
7338
e33c6771
SM
73392012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
7340
b68581e2
SM
7341 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
7342 (bug#11719).
7343
e33c6771
SM
7344 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
7345 the requote function doesn't work properly (bug#11714).
7346
7117e105
GM
73472012-06-23 Glenn Morris <rgm@gnu.org>
7348
7349 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
7350
36cec983
SM
73512012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
7352
7353 Further GV/CL cleanups.
7354 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
7355 gv-expander.
7356 (gv--defun-declaration): New function.
7357 (defun-declarations-alist): Use it.
7358 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
7359 (gv-place): Autoload.
7360 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
7361 original definition of dotimes and dolist.
7362 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
7363 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
7364 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
7365 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
7366 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
7367 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
7368 to the function's definition.
7369 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
7370 * window.el:
7371 * files.el:
7372 * faces.el:
7373 * env.el: Don't use CL.
7374
d35af63c
PE
73752012-06-22 Paul Eggert <eggert@cs.ucla.edu>
7376
7377 Support higher-resolution time stamps (Bug#9000).
7378
7379 * calendar/time-date.el (with-decoded-time-value): New arg
7380 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
7381 (encode-time-value): New optional arg PICO. New type 3.
7382 (time-to-seconds) [!float-time]: Support the new picoseconds
7383 component if it's used.
7384 (seconds-to-time, time-subtract, time-add):
7385 Support ps-resolution time stamps as well.
7386
7387 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
7388 (timerp): Timer vectors now have length 9, not 8.
7389 (timer--time): Support new-style (4-part) time stamps.
7390 (timer-next-integral-multiple-of-time): Time stamps now have
7391 picosecond resolution, so take a bit more care about rounding.
7392 (timer-relative-time, timer-inc-time): New optional arg psecs.
7393 (timer-set-time-with-usecs): Set psecs to 0.
7394 (timer--activate): Check psecs component, too.
7395
7396 * proced.el (proced-time-lessp): Support ps-resolution stamps.
7397
ac77b21a
SM
73982012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
7399
f143bfe3
SM
7400 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
7401 Move the non-essential binding to the post/pre-command-hook where it is
7402 more obviously correct.
7403
ac77b21a
SM
7404 * subr.el (read-passwd): Don't use a history at all.
7405 * savehist.el (savehist-save): Remove password saved accidentally
7406 because of the above bug.
7407
76386c5a
BG
74082012-06-22 Bastien Guerry <bzg@gnu.org>
7409
7410 * files.el (toggle-read-only): Display a message telling whether
7411 the buffer is read-only or not (bug#11726).
7412
2ee3d7f0
SM
74132012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
7414
7415 * emacs-lisp/gv.el: New file.
7416 * subr.el (push, pop): Extend to generalized variables.
7417 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
7418 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
7419 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
7420 gv-define-simple-setter, and gv-define-expander.
7421 Remove setf-methods defined in gv. Rename cl-setf -> setf.
7422 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
7423 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
7424 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
7425 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
7426 gv-letplace.
7427 (cl-defstruct): Don't define setf-method any more.
7428 * emacs-lisp/cl.el (flet): Don't autoload.
7429 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
7430 (define-setf-expander, defsetf, define-modify-macro)
7431 (cl-struct-setf-expander): Move from cl-lib.el.
7432 * emacs-lisp/syntax.el:
7433 * emacs-lisp/ewoc.el:
7434 * emacs-lisp/smie.el:
7435 * emacs-lisp/cconv.el:
7436 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
7437 (timer--time): Use gv-define-simple-setter.
7438 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
7439 to avoid coding-system problems in subr.el. Adjust all users.
7440 (macroexp--maxsize, macroexp-small-p): New functions.
7441 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
7442 * scroll-bar.el (scroll-bar-mode):
7443 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
7444 (normal-erase-is-backspace-mode): Don't use the `eq' place.
7445 * winner.el (winner-configuration, winner-make-point-alist)
7446 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
7447 * files.el (locate-file-completion-table): Avoid list*.
7448
c5695d1d
CY
74492012-06-22 Chong Yidong <cyd@gnu.org>
7450
7451 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
7452 (dired-create-files): Doc fix (Bug#11329).
7453 (dired-do-copy): Doc fix (Bug#11334).
7454 (dired-mark-read-string): Doc fix (Bug#11553).
7455
2ee3d7f0
SM
7456 * dired.el (dired-recursive-copies, dired-recursive-deletes):
7457 Doc fix (Bug#11326).
c5695d1d
CY
7458 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
7459 (dired-dwim-target): Doc fix.
7460
7461 * wdired.el (wdired-mode): Doc fix.
7462
89b5595a
GM
74632012-06-22 Glenn Morris <rgm@gnu.org>
7464
575db3f1
GM
7465 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
7466 (pcmpl-rpm-cache-stamp-file): New constant.
7467 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
7468 (pcmpl-rpm-packages): Optionally cache list of packages.
7469
a4c8dd51
GM
7470 * pcmpl-rpm.el (pcmpl-rpm): New group.
7471 (pcmpl-rpm-query-options): New option.
7472 (pcmpl-rpm-packages): No need to inline it.
7473 Use pcmpl-rpm-query-options.
7474
89b5595a
GM
7475 * calendar/calendar.el (calendar-in-read-only-buffer):
7476 Avoid some needless mode changes.
7477
e76f0800
CY
74782012-06-21 Chong Yidong <cyd@gnu.org>
7479
7480 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
7481 (desktop-path): Remove . from the default value (Bug#10977).
6b67c0d4 7482 (desktop-read): Use user-emacs-directory if desktop-path is nil.
e76f0800 7483
297a8f1d
CY
74842012-06-20 Chong Yidong <cyd@gnu.org>
7485
7486 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
7487
d34c18b1
DR
74882012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
7489
7490 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
7491 (bug#11201).
7492
32f7f28e
CY
74932012-06-20 Chong Yidong <cyd@gnu.org>
7494
7495 * term.el (term-window-width): Handle the case of a missing right
7496 fringe (Bug#8837).
7497 (term-check-size): Use window-text-height (Bug#5445).
d34c18b1
DR
7498 (term-mode): Use define-derived-mode. Minor cleanups.
7499 Set font-lock-defaults (Bug#7692).
6ff7caa8
CY
7500 (term-move-columns, term-insert-char, term-emulate-terminal)
7501 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
32f7f28e 7502
493c6688
MA
75032012-06-20 Michael Albinus <michael.albinus@gmx.de>
7504
d34c18b1
DR
7505 * net/ange-ftp.el (ange-ftp-get-passwd):
7506 Bind `enable-recursive-minibuffers'.
493c6688
MA
7507 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
7508
3f06ecf4
DR
75092012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
7510
7511 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
7512
68f12411
GM
75132012-06-19 Glenn Morris <rgm@gnu.org>
7514
7515 * progmodes/python.el (python-mode): Derive from prog-mode.
7516
b3820318
KG
75172012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
7518
7519 * emulation/edt.el (edt-default-menu-bar-update-buffers)
7520 (edt-user-menu-bar-update-buffers): New functions.
7521 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
7522
c6bf3022
CY
75232012-06-19 Chong Yidong <cyd@gnu.org>
7524
7525 * subr.el (with-selected-window): Preserve the selected window's
7526 terminal's top-frame (Bug#4702).
7527
7528 * window.el (save-selected-window): Likewise.
7529
25f09295
SM
75302012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
7531
7532 * progmodes/python.el (python-rx-constituents): Move backquote.
7533 (python-skeleton-define, python-define-auxiliary-skeleton):
7534 Use `declare'.
7535
6b11952a
MA
75362012-06-18 Michael Albinus <michael.albinus@gmx.de>
7537
7538 * minibuffer.el (read-file-name-default): Revert the patch from
7539 2012-06-17.
7540
ee4b1330
SM
75412012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
7542
7543 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
7544 (pcase--u1, pcase--q1): Don't use apply-partially.
7545
35647f79
GM
75462012-06-18 Glenn Morris <rgm@gnu.org>
7547
7548 * progmodes/python.el (python-proc, python-buffer)
7549 (python-send-receive, python-send-string): Fix obsolete versions.
7550
24b0cff0
MR
75512012-06-18 Martin Rudalics <rudalics@gmx.at>
7552
7553 * window.el (special-display-p): Completely remove stringp
7554 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
7555
29855149
MA
75562012-06-17 Michael Albinus <michael.albinus@gmx.de>
7557
7558 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
7559
7560 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
7561
7562 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
7563 * net/tramp-sh.el (tramp-maybe-open-connection):
7564 Throw if `non-essential' is non-nil.
7565
07463363
MR
75662012-06-17 Martin Rudalics <rudalics@gmx.at>
7567
7568 * window.el (special-display-p): Signal an error if BUFFER-NAME
7569 is not a string (Bug#11713).
7570
48d1354e
PE
75712012-06-17 Paul Eggert <eggert@cs.ucla.edu>
7572
7573 * progmodes/python.el (python-info-beginning-of-backslash):
7574 Rename from python-info-beginning-of-backlash, as a spelling fix.
7575
eb4a8a9a
CY
75762012-06-17 Chong Yidong <cyd@gnu.org>
7577
7578 * term.el (term-emulate-terminal): If term-check-size is called,
7579 move point to the process mark without resetting point (Bug#4635).
7580
ddfbf826 75812012-06-17 Glenn Morris <rgm@gnu.org>
9c758578
GM
7582
7583 * international/mule-cmds.el (mule-menu-keymap)
7584 (set-language-environment, set-locale-environment): Doc tweaks.
7585
9b0e3eba
AA
75862012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
7587
7588 * cus-face.el (custom-face-attributes): Add wave-style underline
7589 attribute.
7590 * faces.el (set-face-attribute): Update docstring to describe
7591 wave-style underline attribute.
7592
771e3eae
CY
75932012-06-16 Chong Yidong <cyd@gnu.org>
7594
7595 * term/xterm.el (terminal-init-xterm): Discard input before
7596 querying background mode (Bug#10959).
7597
7ae2ea10
SM
75982012-06-16 Stefan Merten <smerten@oekonux.de>
7599
7600 * textmodes/rst.el: Added and corrected some comments.
7601 (rst-re-alist-def): Improve symbol syntax.
7602 (rst-mode-syntax-table): Correct syntax entries.
6665a6fd
SM
7603 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
7604 (rst-official-version, rst-official-cvs-rev): Update version
7605 information.
7ae2ea10 7606
b6974efa
JB
76072012-06-15 Juanma Barranquero <lekktu@gmail.com>
7608
7609 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
7610 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
7611
8826d473
GM
76122012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
7613
7614 * progmodes/python.el: New python.el merge.
7615 (python-guess-indent): Obsolete var.
7616 (python-indent-guess-indent-offset): New defcustom.
7617 (python-indent): Obsolete var.
7618 (python-indent-offset): New defcustom.
7619 (python-python-command, python-jython-command): Delete var.
7620 (python-shell-interpreter): New defcustom.
7621 (python-pdbtrack-do-tracking-p): Delete var.
7622 (python-pdbtrack-activate): New defcustom.
7623 (python-use-skeletons): Obsolete var.
7624 (python-skeleton-autoinsert): New defcustom.
7625 (inferior-python-filter-regexp, python-continuation-offset)
7626 (python-honour-comment-indentation, python-indent-string-contents)
7627 (python-jython-packages, python-mode-hook)
7628 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
7629 (python-shell-prompt-alist)
7630 (python-source-modes): Delete defcustoms.
7631 (python-check-buffer-name, python-eldoc-setup-code)
7632 (python-eldoc-string-code, python-ffap-setup-code)
7633 (python-ffap-string-code, python-fill-comment-function)
7634 (python-fill-decorator-function, python-fill-paren-function)
7635 (python-fill-string-function, python-imenu-include-defun-type)
7636 (python-imenu-make-tree, python-imenu-subtree-root-label)
7637 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
7638 (python-shell-compilation-regexp-alist)
7639 (python-shell-completion-module-string-code)
7640 (python-shell-completion-pdb-string-code)
7641 (python-shell-completion-setup-code)
7642 (python-shell-completion-string-code)
7643 (python-shell-enable-font-lock, python-shell-exec-path)
7644 (python-shell-extra-pythonpaths)
7645 (python-shell-internal-buffer-name, python-shell-interpreter-args)
7646 (python-shell-process-environment)
7647 (python-shell-prompt-block-regexp)
7648 (python-shell-prompt-output-regexp)
7649 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
7650 (python-shell-send-setup-max-wait, python-shell-setup-codes)
7651 (python-shell-virtualenv-path): New defcustoms.
7652 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
7653 (inferior-python-mode-syntax-table, python--prompt-regexp)
7654 (python-buffer, python-command python-python-command)
7655 (python-default-template, python-imports, python-indent-index)
7656 (python-indent-list, python-indent-list-length)
7657 (python-mode-running, python-pdbtrack-is-tracking-p)
7658 (python-preoutput-continuation, python-preoutput-leftover)
7659 (python-preoutput-result, python-preoutput-skip-next-prompt)
7660 (python-prev-dir/file, python-recursing)
7661 (python-saved-check-command, python-version-checked)
7662 (python-which-func-length-limit)
7663 (view-return-to-alist): Delete vars.
7664 (python-check-custom-command, python-dotty-syntax-table)
7665 (python-imenu-index-alist, python-indent-current-level)
7666 (python-indent-dedenters, python-indent-levels)
7667 (python-nav-beginning-of-defun-regexp)
7668 (python-nav-list-defun-positions-cache)
7669 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
7670 (python-shell-internal-buffer)
7671 (python-skeleton-available): New vars.
7672 (def-python-skeleton): Delete macro.
7673 (python-skeleton-define): New macro.
7674 (python-define-auxiliary-skeleton, python-rx): New macros.
7675 (python-insert-class): Delete command.
7676 (python-skeleton-class): New command.
7677 (python-insert-def): Delete command.
7678 (python-skeleton-def): New command.
7679 (python-insert-for): Delete command.
7680 (python-skeleton-for): New command.
7681 (python-insert-if): Delete command.
7682 (python-skeleton-if): New command.
7683 (python-insert-try/except, python-insert-try/finally): Delete commands.
7684 (python-skeleton-try): New command.
7685 (python-insert-while): Delete command.
7686 (python-skeleton-while): New command.
7687 (python-backspace): Delete command.
7688 (python-indent-dedent-line-backspace): New command.
7689 (python-electric-colon): Delete command.
7690 (python-indent-electric-colon): New command.
7691 (python-guess-indent): Delete command.
7692 (python-indent-guess-indent-offset): New command.
7693 (python-shift-left): Delete command.
7694 (python-indent-shift-left): New command.
7695 (python-shift-right): Delete command.
7696 (python-indent-shift-right): New command.
7697 (python-find-function): Delete command.
7698 (python-nav-jump-to-defun): New command.
7699 (python-next-statement): Delete command.
7700 (python-nav-forward-sentence): New command.
7701 (python-previous-statement): Delete command.
7702 (python-nav-backward-sentence): New command.
7703 (python-fill-paragraph): Delete command.
7704 (python-fill-paragraph-function): New command.
7705 (python-send-buffer): Delete command.
7706 (python-shell-send-buffer): New command.
7707 (python-send-defun): Delete command.
7708 (python-shell-send-defun): New command.
7709 (python-send-region, python-send-region-and-go): Delete commands.
7710 (python-shell-send-region)
7711 (python-shell-switch-to-shell): New commands.
7712 (python-send-string): Delete command.
7713 (python-shell-send-string): New command.
7714 (python-switch-to-python): Delete command.
7715 (python-shell-switch-to-shell): New command.
7716 (python-describe-symbol): Delete command.
7717 (python-eldoc-at-point): New command.
7718 (python--set-prompt-regexp, python-args-to-list)
7719 (python-after-info-look, python-check-version)
7720 (python-check-comint-prompt, python-find-imports)
7721 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
7722 (python-unload-function, python-expand-template)
7723 (python-maybe-jython, python-preoutput-filter)
7724 (python-pdbtrack-get-source-buffer)
7725 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
7726 (python-pdbtrack-toggle-stack-tracking)
7727 (python-pdbtrack-track-stack-file, python-initial-text)
7728 (python-first-word, python-comment-line-p, python-send-command)
7729 (python-setup-brm, python-sentinel, python-set-proc)
7730 (python-skip-out, python-input-filter, python-outdent-p)
7731 (python-outline-level, python-backslash-continuation-line-p)
7732 (python-end-of-block, python-end-of-statement, python-mark-block)
7733 (python-beginning-of-block, python-beginning-of-statement)
7734 (python-blank-line-p, python-beginning-of-string)
7735 (python-open-block-statement-p): Delete functions.
7736 (python-indent-line, python-indent-line-1): Delete functions.
7737 (python-indent-line): New function.
7738 (python-indentation-levels): Delete function.
7739 (python-indent-calculate-levels): New function.
7740 (python-proc): Delete function.
7741 (python-shell-get-process): New function.
7742 (python-send-receive): Delete function.
7743 (python-shell-send-string-no-output): New function.
7744 (python-module-path): Delete function.
7745 (python-ffap-module-path): New function.
7746 (python-completion-at-point)
7747 (python-symbol-completions): Delete functions.
7748 (python-completion-complete-at-point): New function.
7749 (python-load-file): Delete function.
7750 (python-shell-send-file): New function.
7751 (python-calculate-indentation): Delete function.
7752 (python-indent-calculate-indentation): New function.
7753 (python-skip-comments/blanks): Delete function.
7754 (python-util-forward-comment): New function.
7755 (python-continuation-line-p): Delete function.
7756 (python-info-continuation-line-p): New function.
7757 (python-which-func, python-current-defun): Delete function.
7758 (python-info-current-defun): New function.
7759 (python-beginning-of-defun): Delete function.
7760 (python-nav-beginning-of-defun): New function.
7761 (python-close-block-statement-p)
7762 (python-block-end-p): Delete function.
7763 (python-info-closing-block): New function.
7764 (python-comint-output-filter-function)
7765 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
7766 (python-fill-comment, python-fill-decorator, python-fill-paren)
7767 (python-fill-string, python-imenu-make-element-tree)
7768 (python-imenu-make-tree, python-imenu-tree-assoc)
7769 (python-indent-context, python-indent-dedent-line)
7770 (python-indent-line-function)
7771 (python-indent-post-self-insert-function)
7772 (python-indent-toggle-levels)
7773 (python-info-assignment-continuation-line-p)
7774 (python-info-beginning-of-backlash)
7775 (python-info-block-continuation-line-p)
7776 (python-info-closing-block-message)
7777 (python-info-line-ends-backslash-p)
7778 (python-info-looking-at-beginning-of-defun)
7779 (python-info-ppss-context, python-info-ppss-context-type)
7780 (python-nav-list-defun-positions, python-nav-read-defun)
7781 (python-nav-sentence-end, python-nav-sentence-start)
7782 (python-pdbtrack-comint-output-filter-function)
7783 (python-pdbtrack-set-tracked-buffer)
7784 (python-shell-calculate-exec-path)
7785 (python-shell-calculate-process-environment)
7786 (python-shell-completion--do-completion-at-point)
7787 (python-shell-completion--get-completions)
7788 (python-shell-completion-complete-at-point)
7789 (python-shell-completion-complete-or-indent)
7790 (python-shell-get-or-create-process)
7791 (python-shell-get-process-name)
7792 (python-shell-internal-get-or-create-process)
7793 (python-shell-internal-get-process-name)
7794 (python-shell-internal-send-string, python-shell-make-comint)
7795 (python-shell-parse-command, python-shell-send-setup-code)
7796 (python-skeleton-add-menu-items)
7797 (python-util-clone-local-variables, python-util-position)
7798 (run-python-internal, python-indentation-levels)
7799 (python-nav-beginning-of-defun)
7800 (python-completion-complete-at-point): New functions.
7801 (run-python): Change arguments. New API requirements.
7802
4302f5ba
SM
78032012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
7804
f38ea36d
SM
7805 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
7806 (bug#11649).
7807
7808 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
7809 (macroexp--expand-all): Use it.
7810
4302f5ba
SM
7811 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
7812 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
7813 Use `cl-function' instead.
7814
33377562
JB
78152012-06-14 Juanma Barranquero <lekktu@gmail.com>
7816
7817 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
7818 Suggested by Stefan Monnier while discussing bug#11657.
7819
54c5ba1a
SS
78202012-06-14 Sam Steingold <sds@gnu.org>
7821
7822 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
7823
f9f1b1fe
AS
78242012-06-14 Andreas Schwab <schwab@linux-m68k.org>
7825
7826 * play/doctor.el (doctor-doc): Remove parameter and use
7827 doctor-sent instead of sent.
7828 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
7829
a81068ba
SM
78302012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
7831
5a315f9c
SM
7832 * files.el: Require cl-lib.
7833 (file-name-non-special): Replace case -> cl-case.
7834
7835 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
7836
a81068ba
SM
7837 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
7838 mapping from #' to function*.
7839
8cca9703
CY
78402012-06-13 Chong Yidong <cyd@gnu.org>
7841
7842 * mouse.el (mouse-drag-track): Do not set the mark if the user
7843 releases the mouse without selecting anything (Bug#11588).
7844
a12ac9d7
SM
78452012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
7846
ccf1dc18
SM
7847 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
7848 as well (bug#11646).
7849
ef62b23d
SM
7850 * loadup.el: Count byte-code functions as well.
7851
c4c8444a
SM
7852 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
7853 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
7854
a12ac9d7
SM
7855 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
7856 (bug#11649). Add cl-defun and cl-defmacro.
7857
87e6e64f
DA
78582012-06-13 Drew Adams <drew.adams@oracle.com>
7859
7860 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
7861 Fix last change.
7862
682cefaf
MA
78632012-06-13 Michael Albinus <michael.albinus@gmx.de>
7864
7865 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
7866 Otherwise, it blocks in batch mode.
7867
773e1f08
JB
78682012-06-13 Juanma Barranquero <lekktu@gmail.com>
7869
7870 * help-mode.el (bookmark-make-record-default): Declare.
7871
60057926
CY
78722012-06-13 Chong Yidong <cyd@gnu.org>
7873
7874 * emacs-lisp/package.el (list-packages): Compute a list of
7875 packages that are newly-available since the last list-packages
7876 invocation.
7877 (package-menu--new-package-list): New var.
7878 (package-menu--generate, package-menu--print-info)
7879 (package-menu--status-predicate, package-menu-mark-install):
7880 Handle new status label "new".
7881
ad4d226c
SM
78822012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
7883
7884 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
7885 conversion to backquotes.
7886
f1a4e679
CY
78872012-06-12 Chong Yidong <cyd@gnu.org>
7888
7889 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
7890 Rename from gud-inhibit-global-bindings.
7891
7892 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
7893
7894 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
7895 hook from nxml-glyph-set-hook.
7896
7897 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
7898 declaration.
7899
7900 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
7901
7902 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
7903 Convert to defcustom.
7904
0c9e42b5
DA
79052012-06-12 Drew Adams <drew.adams@oracle.com>
7906
7907 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
7908 New functions.
7909 (help-mode): Use them.
7910
09e06855
GM
79112012-06-11 Glenn Morris <rgm@gnu.org>
7912
7913 * progmodes/fortran.el (fortran-font-lock-keywords-3):
7914 Use preprocessor face for directives.
7915 (fortran-directive-re): Doc fix.
7916
71adb94b
SM
79172012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
7918
2eb87922
SM
7919 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
7920 conversion to backquotes (bug#11652).
7921
71adb94b
SM
7922 Fix compiler-expansion of CL's cXXr functions (bug#11673).
7923 * emacs-lisp/cl-lib.el (cl--defalias): New function.
7924 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
7925 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
7926 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
7927 (cl-ninth, cl-tenth): Mark them as inlinable.
7928 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
7929 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
7930 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
7931 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
7932 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
7933 (cl-list*, cl-adjoin): Don't put an autoload manually.
7934 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
7935 (cl--compiler-macro-list*): Add autoload cookie.
7936 (cl--compiler-macro-cXXr): New function.
2eb87922 7937
71adb94b
SM
7938 * help-fns.el (help-fns--compiler-macro): New function extracted from
7939 describe-function-1; follow aliases and use `compiler-macro' property.
7940 (describe-function-1): Use it.
7941
a6674402
CY
79422012-06-11 Chong Yidong <cyd@gnu.org>
7943
7944 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
7945 is uninstalled, if imagemagick is installed.
7946
bb3faf5b
SM
79472012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
7948
7949 * emacs-lisp/cl-lib.el: Use lexical-binding.
7950 (cl-map-extents, cl-maclisp-member): Remove.
7951 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
7952 (cl--set-substring, cl--block-wrapper, cl--block-throw)
7953 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
7954 * emacs-lisp/cl-extra.el: Use lexical-binding.
7955 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
7956 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
7957 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
7958 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
7959 * emacs-lisp/cl-seq.el: Use lexical-binding.
7960 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
7961 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
7962 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
7963 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
7964 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
7965 CL's internals.
7966
2fe4b125
MA
79672012-06-11 Michael Albinus <michael.albinus@gmx.de>
7968
7969 Sync with Tramp 2.2.6-pre.
7970
7971 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
7972 `print-length' and `print-level' to nil, in order to avoid
7973 truncation. Reported by Christopher Schmidt
7974 <christopher@ristopher.com>.
7975
7976 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
7977
7978 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
7979 New defmacro.
7980 (tramp-compat-copy-directory): Add optional argument
7981 COPY-CONTENTS. It is not handled yet.
7982
7983 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
7984 (tramp-ftp-file-name-p): Simplify.
7985
7986 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
7987 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
7988 connection vector.
7989
7990 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
7991 (tramp-methods): Do not use `tramp-password-end-of-line'.
7992 (tramp-completion-function-alist-putty): Handle UNIX case.
7993 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
7994 (tramp-do-file-attributes-with-stat)
7995 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
7996 gid as real numbers. They could run out of integer range on cygwin.
7997 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
7998 (tramp-sh-handle-expand-file-name): Handle hops.
87e6e64f
DA
7999 (tramp-open-connection-setup-interactive-shell):
8000 Use `tramp-cleanup'. Move check for busyboxes ...
8001 (tramp-find-shell): ... here. Simplify implementation.
8002 Set "remote-shell" property also for alternative shells.
8003 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
8004 If failing, a regular file would be written otherwise.
8005 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
2fe4b125
MA
8006 (tramp-find-inline-encoding): Cache the coding commands in the
8007 process cache. Apply test command on the remote side, if defined.
8008 (tramp-find-inline-compress): Cache the compress commands in the
8009 process cache.
8010 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
8011 when requested. Handle hops.
8012 (tramp-current-connection): New defvar.
87e6e64f
DA
8013 (tramp-maybe-open-connection): Use `tramp-cleanup'.
8014 Throw `suppress', if there was a failed connection shortly before.
2fe4b125 8015 Handle user interrupt. (Bug#10187)
87e6e64f
DA
8016 (tramp-get-inline-compress, tramp-get-inline-coding):
8017 Read connection properties from the process cache.
2fe4b125
MA
8018
8019 * net/tramp-smb.el (tramp-smb-server-version)
87e6e64f
DA
8020 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
8021 New defconsts.
2fe4b125
MA
8022 (tramp-smb-prompt): Extend for powershell prompt.
8023 (tramp-smb-file-name-handler-alist): Add handlers for
8024 `process-file', `shell-command' and `start-file-process'.
8025 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
8026 (tramp-smb-winexe-shell-command-switch): New defcustoms.
8027 (tramp-smb-file-name-p): Simplify.
8028 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
8029 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
8030 (tramp-smb-shell-quote-argument): New defuns.
8031 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
8032 Implement using "tar". By this, time-stamps are preserved.
8033 (tramp-smb-handle-copy-file): Handle also the case of directories.
8034 (tramp-smb-do-file-attributes-with-stat)
87e6e64f
DA
8035 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
8036 Use `tramp-get-connection-buffer').
2fe4b125
MA
8037 (tramp-smb-handle-rename-file): Use "rename", when source and
8038 target are on the same share.
87e6e64f
DA
8039 (tramp-smb-maybe-open-connection): Handle wrong passwords.
8040 Use `tramp-smb-server-version'.
2fe4b125
MA
8041 (tramp-smb-wait-for-output): Remove prompt.
8042
8043 * net/tramp.el (top): Require 'cl.
87e6e64f
DA
8044 (tramp-methods, tramp-rsh-end-of-line):
8045 Remove `tramp-password-end-of-line' from docstring.
2fe4b125
MA
8046 (tramp-save-ad-hoc-proxies): New defcustom.
8047 (tramp-completion-function-alist): Adapt docstring.
8048 (tramp-default-password-end-of-line): Remove defcustom.
8049 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
8050 (tramp-user-regexp, tramp-file-name-regexp-unified)
8051 (tramp-file-name-regexp-url): Extend regexp by hop separator.
8052 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
8053 (tramp-remote-file-name-spec-regexp): New defconst.
8054 (tramp-file-name-structure): Extend structure for hops.
8055 (tramp-get-method-parameter): Move up.
8056 (tramp-file-name-p, tramp-dissect-file-name)
8057 (with-parsed-tramp-file-name): Handle hops.
8058 (tramp-file-name-hop): New defun.
8059 (tramp-make-tramp-file-name): New optional arg HOP.
8060 (tramp-message-show-progress-reporter-message): New defvar.
8061 (tramp-with-progress-reporter): Use it. We cannot use
8062 `tramp-message-show-message' here, because this suppresses also
8063 error buffers.
8064 (tramp-error-with-buffer): Suppress buffer view, if
87e6e64f
DA
8065 `tramp-message-show-message' is nil.
8066 Use `tramp-get-connection-buffer'.
2fe4b125
MA
8067 (tramp-cleanup): New defun.
8068 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
8069 (tramp-file-name-handler): If `debug-on-error' is set, propagate
8070 an error unchanged.
8071 (tramp-completion-handle-file-name-all-completions): Handle hops.
8072 Fix an error when called from ido.
8073 (tramp-completion-dissect-file-name): Use better local variable
8074 name. Add hop to the vector.
8075 (tramp-handle-insert-file-contents): Use progress-reporter for the
8076 whole scenario.
8077 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
8078 to `t'.
8079 (tramp-check-for-regexp): Simplify search.
8080 (tramp-enter-password): Remove it. Move implementation ...
8081 (tramp-action-password): ... here.
8082 (tramp-mode-string-to-int, tramp-local-host-p)
8083 (tramp-make-tramp-temp-file, tramp-read-passwd)
87e6e64f
DA
8084 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
8085 Set tramp-autoload cookie.
2fe4b125
MA
8086
8087 * net/trampver.el: Update release number.
8088
80892012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8090 Michael Albinus <michael.albinus@gmx.de>
8091
8092 * net/tramp.el (tramp-set-completion-function): Fix docstring.
8093 (tramp-parse-group, tramp-parse-file)
8094 (tramp-parse-shostkeys-sknownhosts): New defuns.
8095 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
8096 (tramp-parse-shosts-group, tramp-parse-sconfig)
8097 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
8098 (tramp-parse-sknownhosts, tramp-parse-hosts)
8099 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
8100 Use them.
8101 (tramp-parse-passwd-group, tramp-parse-netrc-group)
8102 (tramp-parse-putty-group): Don't narrow.
8103 (tramp-parse-putty): Make a loop.
8104 (tramp-file-name-handler): Catch the `suppress' signal.
8105
72834e10
CY
81062012-06-11 Chong Yidong <cyd@gnu.org>
8107
8108 * image.el (imagemagick-register-types): Put the ImageMagick entry
8109 at the end of image-type-file-name-regexps.
8110
a4712e11
JB
81112012-06-11 Johan Bockgård <bojohan@gnu.org>
8112
8113 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
8114 (pcase, pcase-let*, pcase-dolist): Use them.
8115
82ad98e3
SM
81162012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
8117
8118 * emacs-lisp/pcase.el (pcase--let*): New function.
8119 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
8120 (pcase--expand): Use macroexp-let².
8121
f80efb86
SM
81222012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
8123
8124 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
8125 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
8126 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
8127 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
8128 * emacs-lisp/derived.el: Use pcase instead of `cl'.
8129 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
8130
31ca4639 81312012-06-10 Glenn Morris <rgm@gnu.org>
94f0aa34 8132
31ca4639
CY
8133 * mail/rmail.el (rmail-yank-current-message): Leave point at
8134 correct position. (Bug#11660)
94f0aa34 8135
31ca4639 81362012-06-10 Chong Yidong <cyd@gnu.org>
9e1b8ec4 8137
31ca4639 8138 * allout-widgets.el: Fix code header.
9e1b8ec4 8139
31ca4639 81402012-06-10 Chong Yidong <cyd@gnu.org>
00cd0305 8141
f80efb86
SM
8142 * cus-edit.el (customize-changed-options-previous-release):
8143 Bump to 24.1.
31ca4639 8144
642b6d30
AS
81452012-06-09 Andreas Schwab <schwab@linux-m68k.org>
8146
8147 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
8148
4f5d2ba1
CY
81492012-06-09 Chong Yidong <cyd@gnu.org>
8150
8151 * ebuff-menu.el (electric-buffer-list): Preserve header line.
8152
e75852fd
MR
81532012-06-09 Martin Rudalics <rudalics@gmx.at>
8154
8155 * window.el (special-display-popup-frame): Don't use
8156 window--display-buffer (Bug#11651).
8157
1e48e282
EZ
81582012-06-09 Eli Zaretskii <eliz@gnu.org>
8159
8a26b487
EZ
8160 Fix parallel builds: make sure loaddefs.el is not being written
8161 while Lisp files are compiled.
8162 (compile): Don't depend on 'mh-autoloads'.
8163 (compile-CMD, compile-SH): Depend on 'autoloads'.
8164 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
8165
1e48e282
EZ
8166 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
8167
6175e34b
CY
81682012-06-09 Chong Yidong <cyd@gnu.org>
8169
8170 * face-remap.el (face-remap-add-relative, face-remap-set-base)
8171 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
8172 Doc fixes (Bug#11225).
8173
d9857e53
SM
81742012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
8175
8176 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
8177 a function if there's a clear indication that it has a compiler-macro.
8178 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
8179 (macro-declarations-alist): Add arglist to declaration functions.
8180 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
8181 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
8182 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
8183 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
8184 Also add autoload to find the compiler macro.
8185 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
8186 (cl--compiler-macro-member, cl--compiler-macro-assoc)
8187 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
8188 (cl--compiler-macro-get): New functions, replacing calls to
8189 cl-define-compiler-macro.
8190 (cl-typep) [compiler-macro]: Use macroexp-let².
8191
f81298f8 81922012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
ee574791
UJ
8193
8194 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
8195 string properly, fixes Bug#11473.
8196
4b56d0fe
CY
81972012-06-08 Chong Yidong <cyd@gnu.org>
8198
8199 * faces.el (set-face-attribute): Doc fix.
8200 (modify-face): Don't use :bold and :italic.
8201 (error, warning, success): Tweak definitions.
8202
8203 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
8204 (custom-modified, custom-set, custom-changed, custom-themed)
8205 (custom-saved, custom-button, custom-button-mouse)
8206 (custom-button-pressed, custom-state, custom-comment-tag)
8207 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
8208 (custom-group-subtitle): Use new-style face specs.
8209 (custom-invalid-face, custom-rogue-face, custom-modified-face)
8210 (custom-set-face, custom-changed-face, custom-saved-face)
8211 (custom-button-face, custom-button-pressed-face)
8212 (custom-documentation-face, custom-state-face)
8213 (custom-comment-face, custom-comment-tag-face)
8214 (custom-variable-tag-face, custom-variable-button-face)
8215 (custom-face-tag-face, custom-group-tag-face-1)
8216 (custom-group-tag-face): Remove obsolete face alias.
8217
8218 * epa.el (epa-validity-high, epa-validity-medium)
8219 (epa-validity-low, epa-mark, epa-field-name, epa-string)
8220 (epa-field-name, epa-field-body):
8221 * font-lock.el (font-lock-comment-face, font-lock-string-face)
8222 (font-lock-keyword-face, font-lock-builtin-face)
8223 (font-lock-function-name-face, font-lock-variable-name-face)
8224 (font-lock-type-face, font-lock-constant-face):
8225 * ido.el (ido-first-match, ido-only-match, ido-subdir)
8226 (ido-virtual, ido-indicator, ido-incomplete-regexp):
8227 * speedbar.el (speedbar-button-face, speedbar-file-face)
8228 (speedbar-directory-face, speedbar-tag-face)
8229 (speedbar-selected-face, speedbar-highlight-face)
8230 (speedbar-separator-face):
8231 * whitespace.el (whitespace-newline, whitespace-space)
8232 (whitespace-hspace, whitespace-tab, whitespace-trailing)
8233 (whitespace-line, whitespace-space-before-tab)
8234 (whitespace-space-after-tab, whitespace-indentation)
8235 (whitespace-empty):
8236 * emulation/cua-base.el (cua-global-mark):
8237 * eshell/em-prompt.el (eshell-prompt):
8238 * net/newst-plainview.el (newsticker-new-item-face)
8239 (newsticker-old-item-face, newsticker-immortal-item-face)
8240 (newsticker-obsolete-item-face, newsticker-date-face)
8241 (newsticker-statistics-face, newsticker-default-face):
8242 * net/newst-reader.el (newsticker-feed-face)
8243 (newsticker-extra-face, newsticker-enclosure-face):
8244 * net/newst-treeview.el (newsticker-treeview-face)
8245 (newsticker-treeview-new-face, newsticker-treeview-old-face)
8246 (newsticker-treeview-immortal-face)
8247 (newsticker-treeview-obsolete-face)
8248 (newsticker-treeview-selection-face):
8249 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
8250 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
8251 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
8252 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
8253 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
8254 (nxml-outline-active-indicator, nxml-outline-ellipsis):
8255 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
8256 (mpuz-text):
8257 * progmodes/vera-mode.el (vera-font-lock-number)
8258 (vera-font-lock-function, vera-font-lock-interface):
8259 * textmodes/table.el (table-cell): Use new-style face specs, and
8260 don't use the old :bold and :italic attributes.
8261
8262 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
8263 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
8264 (ebrowse-member-class, ebrowse-progress): Likewise.
8265 (ebrowse-tree-mark-face, ebrowse-root-class-face)
8266 (ebrowse-file-name-face, ebrowse-default-face)
8267 (ebrowse-member-attribute-face, ebrowse-member-class-face)
8268 (ebrowse-progress-face): Remove obsolete faces.
8269
8270 * progmodes/flymake.el (flymake-errline, flymake-warnline):
8271 Inherit from error and warning faces respectively.
8272
8273 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
8274 Likewise.
f80efb86
SM
8275 (flyspell-incorrect-face, flyspell-duplicate-face):
8276 Remove obsolete aliases.
4b56d0fe 8277
03310646
MA
82782012-06-08 Michael Albinus <michael.albinus@gmx.de>
8279
8280 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
8281 Avoid infloop.
8282
513749ee
SM
82832012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
8284
8285 * startup.el (argv, argi): Make lexically scoped.
8286 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
8287 * emacs-lisp/cl-macs.el: Use lexical-binding.
8288 Rename cl-bind-* to cl--bind-*.
8289 * files.el: Don't require `cl' since it doesn't use it.
8290 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
8291
595ef4ad
JB
82922012-06-08 Juanma Barranquero <lekktu@gmail.com>
8293
8294 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
8295 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
8296 instead of calling external sort utility.
8297 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
8298
e9f66fcb
EZ
82992012-06-08 Eli Zaretskii <eliz@gnu.org>
8300
8301 * descr-text.el (describe-char): Mention how to insert the
8302 character, if the current input method doesn't support it.
8303 See the discussion in this thread for the details:
8304 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
8305
3d10db47
SS
83062012-06-08 Sam Steingold <sds@gnu.org>
8307
8308 * bindings.el (global-map): Bind XF86Forward to next-buffer and
8309 XF86Back to previous-buffer.
8310 (minibuffer-local-map): Bind them to next-history-element and
8311 previous-history-element respectively.
8312 * help-mode.el (help-mode-map): Bind them to help-go-forward and
8313 help-go-back respectively.
8314 * info.el (Info-mode-map): Bind them to Info-history-forward and
8315 Info-history-back respectively.
8316 These are the keys next to Up on the ThinkPad keyboard.
8317
de7e2b36
SM
83182012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
8319
8320 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
8321 * emacs-lisp/cl-macs.el: Provide itself.
8322 (cl--labels-convert-cache): New var.
8323 (cl--labels-convert): New function.
8324 (cl-flet, cl-labels): New implementation with new semantics, relying on
8325 lexical-binding.
8326 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
8327 (cl-closure-vars, cl--function-convert-cache)
8328 (cl--function-convert): Move from cl-macs.el.
8329 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
8330 rename by removing the "cl-" prefix.
8331 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
8332
6fa6c4ae
SM
83332012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
8334
8335 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
8336 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
8337 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
8338 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
8339 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
8340 (cl-hash-table-count): Add old compatibility aliases.
8341
8342 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
8343 Use macroexpand-all-environment instead.
8344 (cl--old-macroexpand): New var.
8345 (cl--sm-macroexpand): New function.
8346 (cl-symbol-macrolet): Use it during macro expansion.
8347 (cl--function-convert-cache): New var.
8348 (cl--function-convert): New function, extracted from
8349 cl-macroexpand-all.
8350 (cl-lexical-let): Use it.
8351
8352 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
8353 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
8354 (cl-member): Remove old alias.
8355
8356 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
8357 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
8358 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
8359 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
8360 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
8361 (cl-macroexpand-cmacs): Remove var.
8362 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
8363 Use macroexpand-all instead.
8364
4dd1c416
SM
83652012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
8366
8367 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
8368 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
8369 (macroexp-copyable-p): New functions and macros.
8370 * emacs-lisp/edebug.el (edebug-unwrap):
8371 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
8372 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
8373 (pcase--let*): Remove.
8374 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
8375 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
8376 macroexp-const-p instead.
8377 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
8378
8379 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
8380 instead of "cl-" for internal definitions. Use macroexp-const-p.
8381 (cl-old-bc-file-form): Remove var.
8382 (cl-const-exprs-p): Remove fun.
8383 (cl-labels, cl-macrolet): Use backquote.
8384 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
8385 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
8386 (cl-define-setf-expander): Rename from cl-define-setf-method.
8387 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
8388
8389 * international/mule-cmds.el: Don't require CL.
8390 (view-hello-file): Don't use `letf'.
8391
ed8bd4d7
SM
83922012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
8393
7287f2f3
SM
8394 * tmm.el (tmm-prompt): Use string-prefix-p.
8395 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
8396 (tmm-add-prompt): Use minibuffer-completion-help.
8397 (tmm-delete-map): Remove.
8398
ed8bd4d7
SM
8399 * subr.el (kbd): Make it its own function.
8400
7b4cdbf4
SM
84012012-06-07 Stefan Merten <smerten@oekonux.de>
8402
8403 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
8404 Silence compiler warnings. Fix versions.
ed8bd4d7 8405 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
7b4cdbf4 8406 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
ed8bd4d7 8407 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
7b4cdbf4
SM
8408 (rst-package-emacs-version-alist): Correct Emacs version to
8409 represent major merge with upstream.
ed8bd4d7 8410 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
7b4cdbf4 8411
2b48d721
GM
84122012-06-06 Glenn Morris <rgm@gnu.org>
8413
8414 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
8415 Only print environment variables if set.
8416
fa779ab0
SM
84172012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
8418
8419 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
8420 (macroexp--cons): Rename from maybe-cons.
8421 (macroexp--accumulate): Rename from macroexp-accumulate.
8422 (macroexp--all-forms): Rename from macroexpand-all-forms.
8423 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
8424 (macroexp--expand-all): Rename from macroexpand-all-1.
8425
628299e0
SS
84262012-06-06 Sam Steingold <sds@gnu.org>
8427
8428 * calendar/calendar.el (calendar-in-read-only-buffer):
8429 Call `special-mode' to enable the standard read-only keybindings.
8430
b7bb5838
SM
84312012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
8432
8433 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
8434 with "loading" messages (bug#11635).
8435
dfb308ba
MA
84362012-06-06 Michael Albinus <michael.albinus@gmx.de>
8437
8438 * files.el (enable-remote-dir-locals): New option.
8439 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
8440
0372ee92
MA
8441 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
8442 Ensure, that the temp directory is local.
8443
8444 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
8445 `temporary-file-directory'.
8446
eed0bb91
MA
8447 * progmodes/python.el (python-send-region): Ensure, that the
8448 temporary file is created also in the remote case.
8449
7a58f64d
GM
84502012-06-06 Glenn Morris <rgm@gnu.org>
8451
f7dd4e98
GM
8452 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
8453 (vc-rcs-update-changelog): Use it.
8454
090bd7cb 8455 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
276d5f5d 8456
7a58f64d
GM
8457 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
8458 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
8459 (vc-sccs-diff): Replace use of the external vcdiff script.
8460
daed4003
GM
84612012-06-05 Glenn Morris <rgm@gnu.org>
8462
8463 * ledit.el: Move to obsolete/.
8464
48c455c7
SS
84652012-06-05 Sam Steingold <sds@gnu.org>
8466
ed9265fc 8467 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
48c455c7
SS
8468 patch (Bug#11140).
8469
57a7d507
SM
84702012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8471
090bd7cb 8472 * emacs-lisp/cust-print.el: Move to obsolete.
d32926ff 8473
53aacf21
SM
8474 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
8475 compiler-macro expansion.
8476
57a7d507
SM
8477 Add native compiler-macro support.
8478 * emacs-lisp/macroexp.el (macroexpand-all-1):
8479 Support compiler-macros directly. Properly follow aliases and apply
8480 the compiler macros more thoroughly.
8481 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
8482 macroexpand now properly follows aliases.
8483 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
8484 (cl-compiler-macroexpand): Use new prop.
8485 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
8486
8487 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
8488
51a5f9d8
MR
84892012-06-05 Martin Rudalics <rudalics@gmx.at>
8490
8491 * window.el (get-lru-window, get-mru-window, get-largest-window):
8492 New argument NOT-SELECTED to avoid picking the selected window.
8493 (window--display-buffer-1, window--display-buffer-2): Replace by
8494 new function window--display-buffer
8495 (display-buffer-same-window, display-buffer-reuse-window)
57a7d507
SM
8496 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
8497 Use window--display-buffer.
51a5f9d8
MR
8498 (display-buffer-use-some-window): Remove temporary dedication
8499 hack by calling get-lru-window and get-largest-window with
8500 NOT-SELECTED argument non-nil. Call window--display-buffer.
8501
08f9f738
GM
85022012-06-05 Glenn Morris <rgm@gnu.org>
8503
8504 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
8505 Replace external vcdiff script.
8506
e364a2b7
SM
85072012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
8508
8509 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
8510
041df390
CY
85112012-06-04 Chong Yidong <cyd@gnu.org>
8512
e364a2b7
SM
8513 * image.el (imagemagick-types-inhibit): Revert last change.
8514 Add INFO and M.
47b36b94 8515 (imagemagick-enabled-types): Remove CIN and EPS*.
041df390 8516
7c1898a7
SM
85172012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
8518
8519 * emacs-lisp/cl-lib.el: Rename from cl.el.
8520 * emacs-lisp/cl.el: New compatibility file.
8521 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
8522 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
8523 to obey the "cl-" prefix.
8524 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
8525
0c3461de
GM
85262012-06-03 Glenn Morris <rgm@gnu.org>
8527
1e266c88
GM
8528 * emacs-lisp/authors.el (authors-aliases): Addition.
8529
0c3461de
GM
8530 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
8531 Fix :version.
8532
d8a52e15
SM
85332012-06-03 Stefan Merten <smerten@oekonux.de>
8534
8535 * textmodes/rst.el: Add comments.
8536 (rst-transition, rst-adornment): New faces.
8537 (rst-adornment-faces-alist): Make default safe to reevaluate.
8538 Fixes
8539 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
8540 Improve customization tags.
8541 (rst-define-level-faces): Clarify meaning.
8542
5205d6f6
CY
85432012-06-03 Chong Yidong <cyd@gnu.org>
8544
8545 * progmodes/compile.el (compilation-mode-line-fail)
7c1898a7
SM
8546 (compilation-mode-line-run, compilation-mode-line-exit):
8547 New faces.
5205d6f6
CY
8548 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
8549
757ee657
JD
85502012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
8551
7c1898a7
SM
8552 * progmodes/which-func.el (which-func-update-ediff-windows):
8553 New function. Use it in ediff-select-hook (Bug#11478).
757ee657 8554
5f2c76c6
CY
85552012-06-03 Chong Yidong <cyd@gnu.org>
8556
8557 * bindings.el: Remove explicit help text from format-mode-line.
8558 It is now supplied by mode-line-default-help-echo.
8559 (mode-line-front-space, mode-line-end-spaces)
8560 (mode-line-misc-info): New variables.
8561 (mode-line-modes, mode-line-position): Move the default value to
8562 the variable definition.
8563 (mode-line-default-help-echo): New defcustom.
383f7350
CY
8564 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
8565 (mode-line-modified-help-echo): New functions.
8566 (mode-line-mule-info, mode-line-modified): Use them.
8567 (mode-line-eol-desc, propertized-buffer-identification):
8568 Consistency fixes for help text.
cbe46e5f
CY
8569 (mode-line-coding-system-map): Allow using mouse-3 to invoke
8570 set-buffer-file-coding-system (Bug#289).
8571 (mode-line-mule-info-help-echo): Update help text.
5f2c76c6 8572
f2d6a3df
SM
85732012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
8574
8575 * simple.el (execute-extended-command): Set real-this-command
8576 (bug#11506).
8577
37269466
CY
85782012-06-02 Chong Yidong <cyd@gnu.org>
8579
8580 Remove incorrect uses of "modeline" in comments, docstrings, and
8581 function/variable names (Bug#10329).
8582
8583 * cus-edit.el (mode-line):
8584 * dframe.el (dframe-mouse-hscroll):
8585 * emacs-lisp/re-builder.el:
8586 * emacs-lisp/easy-mmode.el (define-minor-mode):
8587 * frame.el (set-frame-name):
8588 * help.el (lookup-minor-mode-from-indicator):
8589 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
8590 * progmodes/cc-cmds.el (c-toggle-auto-newline)
8591 (c-toggle-hungry-state):
8592 * progmodes/antlr-mode.el (antlr-language-alist):
8593 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
8594 * progmodes/vhdl-mode.el (vhdl-mode):
8595 * progmodes/which-func.el (which-func, which-func-cleanup-function):
8596 * term/ns-win.el (ns-face-at-pos):
8597 * term/sup-mouse.el (sup-mouse-report):
8598 * textmodes/flyspell.el (flyspell-mode-line-string):
8599 * textmodes/ispell.el (ispell-highlight-face):
8600 * textmodes/reftex-global.el:
8601 * vc/vc-arch.el (vc-arch-mode-line-string):
8602 * vc/vc-cvs.el (vc-cvs-mode-line-string):
8603 * vc/vc-git.el (vc-git-mode-line-string):
8604 * vc/vc-hooks.el (vc-display-status)
8605 (vc-default-mode-line-string):
8606 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
8607
8608 * ansi-color.el (ansi-color-faces-vector): Change default faces.
8609
8610 * dired.el (dired-sort-set-mode-line): Rename from
8611 dired-sort-set-modeline. All callers changed.
8612
8613 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
8614 eshell-status-in-modeline.
8615
8616 * foldout.el (foldout-mode-line-string): Rename from
8617 foldout-modeline-string. All callers changed.
8618 (foldout-update-mode-line): Rename from foldout-update-modeline.
8619
8620 * subr.el (redraw-modeline): Make into obsolete alias.
8621
8622 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
8623 timeclock-modeline-display. Make old name an alias.
8624 (timeclock-update-mode-line): Likewise. All callers changed.
8625 (timeclock-mode-line-display): No need to check before using
8626 add-hook.
8627 (timeclock-relative, timeclock-day-over-hook)
8628 (timeclock-use-elapsed, timeclock-mode-string)
8629 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
8630
8631 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
8632 crisp-mode-modeline-string.
8633
8634 * play/solitaire.el (solitaire-build-mode-line): Rename from
8635 solitaire-build-modeline. All callers changed.
8636
8637 * play/zone.el (zone-hiding-mode-line): Rename from
8638 zone-hiding-modeline. All callers changed.
8639 (zone): Remove unusued `modeline-hidden-level' property.
8640
8641 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
8642 xscheme-modeline-initialize. All callers changed.
8643
8644 * strokes.el (strokes-lighter): Rename from
8645 strokes-modeline-string.
8646
8647 * textmodes/sgml-mode.el (html-face-tag-alist)
8648 (html-tag-face-alist): Use mode-line face instead of obsolete
8649 alias modeline.
8650
42152ee4
SM
86512012-06-02 Stefan Merten <smerten@oekonux.de>
8652
8653 * textmodes/rst.el: Always require `cl'.
4cf9b38d 8654 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
42152ee4 8655
95f520b5
CY
86562012-06-02 Chong Yidong <cyd@gnu.org>
8657
8658 * image.el (imagemagick-enabled-types): Rename from
8659 imagemagick-types-enable. Add many more types.
8660 (imagemagick-types-inhibit): Change default to nil.
8661 (imagemagick-filter-types): Caller changed.
8662
4a5f187a
SM
86632012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
8664
03fef3e6
SM
8665 * emacs-lisp/cl-macs.el: Use backquotes.
8666 (cl-transform-function-property): Use eval-and-compile rather than
8667 abusing `require'.
8668 (defstruct): Use declare-function instead of with-no-warnings.
8669
4a5f187a
SM
8670 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
8671 (byte-compile-output-docform): Re-add the print-circle bindings.
8672 (byte-compile-fix-header): Use #$ just because it's shorter.
8673 (byte-compile-output-file-form): Remove defun/defmacro.
8674
bd56924f
MR
86752012-06-01 Martin Rudalics <rudalics@gmx.at>
8676
8677 * simple.el (choose-completion): Remove now obsolete binding for
8678 owindow.
8679
046e38ce
MA
86802012-06-01 Michael Albinus <michael.albinus@gmx.de>
8681
8682 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
8683 in order to avoid "Stack overflow in regexp matcher".
8684
32d72c2f
GM
86852012-05-31 Glenn Morris <rgm@gnu.org>
8686
8687 * image.el: For clarity, call imagemagick-register-types at
8688 top-level, rather than relying on a custom :initialize.
8689 (imagemagick-types-enable): New option. (Bug#11557)
60b5f187
GM
8690 (imagemagick-filter-types): New function. (Bug#7406)
8691 (imagemagick-register-types): Use imagemagick-filter-types.
32d72c2f
GM
8692 If disabling support, remove elements altogether rather
8693 than using an impossible regexp.
8694 (imagemagick-types-inhibit): Give it the default init function.
8695
dd41169b
SM
86962012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
8697
4a5f187a
SM
8698 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
8699 Handle arbitrary file name lengths (Bug#11585).
dd41169b 8700
efc00ab1 87012012-05-31 Martin Rudalics <rudalics@gmx.at>
5221ccb9
MR
8702
8703 * desktop.el (desktop-read): Clear previous and next buffers for
8704 all windows and bury *Messages* buffer (bug#11556).
8705
500fcedc
SM
87062012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
8707
8708 Add `declare' for `defun'. Align `defmacro's with it.
8709 * emacs-lisp/easy-mmode.el (define-minor-mode)
8710 (define-globalized-minor-mode): Don't autoload the var definitions.
8711 * emacs-lisp/byte-run.el: Use lexical-binding.
8712 (defun-declarations-alist, macro-declarations-alist): New vars.
8713 (defmacro, defun): Use them.
8714 (make-obsolete, define-obsolete-function-alias)
8715 (make-obsolete-variable, define-obsolete-variable-alias):
8716 Use `declare'.
8717 (macro-declaration-function): Mark obsolete.
8718 * emacs-lisp/autoload.el: Use lexical-binding.
8719 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
8720
6e8a1786
AM
87212012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8722
8723 * textmodes/ispell.el (ispell-with-no-warnings):
8724 Define as a macro.
500fcedc
SM
8725 (ispell-kill-ispell, ispell-change-dictionary):
8726 Use `called-interactively-p' for Emacs instead of obsolete
6e8a1786
AM
8727 `interactive-p'.
8728
61b108cc
SM
87292012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
8730
8731 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
8732 (macro-declaration-function): Move var from C code.
8733 (macro-declaration-function): Define function with defalias.
8734 * emacs-lisp/macroexp.el (macroexpand-all-1):
8735 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
8736 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
8737 defun/defmacro any more.
8738 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
8739 Provide fallback for unknown arglist.
8740 (byte-compile-arglist-warn): Change calling convention.
8741 (byte-compile-output-file-form): Move print-vars binding.
8742 (byte-compile-output-docform): Simplify accordingly.
8743 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
8744 (byte-compile-defmacro-declaration): Remove.
8745 (byte-compile-file-form-defmumble): Generalize to defalias.
8746 (byte-compile-output-as-comment): Return byte-positions.
8747 Simplify callers accordingly.
8748 (byte-compile-lambda): Use `assert'.
8749 (byte-compile-defun, byte-compile-defmacro): Remove.
8750 (byte-compile-file-form-defalias):
8751 Use byte-compile-file-form-defmumble.
8752 (byte-compile-defalias-warn): Remove.
8753
6d3f7c2f
SM
87542012-05-29 Stefan Merten <smerten@oekonux.de>
8755
8756 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
61b108cc 8757 possible. Fix authors. Improve comments. Improve loading of `cl'.
6d3f7c2f
SM
8758
8759 (rst-mode-abbrev-table): Merge definition.
8760 (rst-mode): Make sure `font-lock-defaults' is buffer local.
8761 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
8762
6dbaa1c7
UJ
87632012-05-29 Ulf Jasper <ulf.jasper@web.de>
8764
8765 * calendar/icalendar.el
8766 (icalendar-export-region): Export UID properly.
8767
d209e2fb 87682012-05-29 Leo Liu <sdl.web@gmail.com>
61b108cc
SM
8769 * calendar/icalendar.el (icalendar-import-format):
8770 Add `icalendar-import-format-uid' (Bug#11525).
6dbaa1c7
UJ
8771 (icalendar-import-format-uid): New.
8772 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
8773 Export UID.
8774
6876a58d
SM
87752012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
8776
8777 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
8778 different alternative patterns.
8779 (pcase-codegen): Be more careful to preserve identity.
8780 (pcase--u1): Don't forget to mark vars as used.
8781
8782 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
8783 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
8784 (byte-compile-from-buffer): ...rather than here.
8785
8786 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
8787 functions from byte-compile-function-environment.
8788
46b7967e
TN
87892012-05-29 Troels Nielsen <bn.troels@gmail.com>
8790
8791 * window.el (window-deletable-p): Avoid deleting the root window
8792 of a frame with an active minibuffer.
8793
69d565e2
MR
87942012-05-29 Martin Rudalics <rudalics@gmx.at>
8795
8796 * simple.el (choose-completion): Use quit-window (Bug#11567).
8797
a149fa51
CY
87982012-05-29 Chong Yidong <cyd@gnu.org>
8799
8800 * whitespace.el (whitespace-cleanup): Fix usage of
8801 whitespace-empty-at-bob-regexp (Bug#11492).
8802
2b311310
AH
88032012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
8804
8805 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
8806 revert (Bug#11488).
8807
b9cb2387
JL
88082012-05-29 Juri Linkov <juri@jurta.org>
8809
8810 * isearch.el (isearch-mode-map): Bind `M-s _' to
8811 `isearch-toggle-symbol'. Bind `M-s c' to
8812 `isearch-toggle-case-fold'.
8813 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
8814 (isearch-forward): Add `M-s _' to the docstring.
8815 (isearch-forward-symbol, isearch-toggle-case-fold)
8816 (isearch-symbol-regexp): New functions. (Bug#11381)
8817
d5e61c1c
JL
88182012-05-29 Juri Linkov <juri@jurta.org>
8819
8820 * isearch.el (isearch-word): Add docstring. (Bug#11381)
8821 (isearch-occur, isearch-search-and-update): If `isearch-word' is
8822 a function, call it to get the regexp.
8823 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
8824 property `isearch-message-prefix' instead of the string "word ".
8825 (isearch-search-fun-default): For the case of `isearch-word',
8826 return a lambda that calls re-search-forward/re-search-backward
8827 with a regexp returned by `word-search-regexp' or by the function
8828 in `isearch-word'.
8829
8cbd80f7
JL
88302012-05-29 Juri Linkov <juri@jurta.org>
8831
8832 * isearch.el (isearch-search-fun-default): New function.
8833 (isearch-search-fun): Move default part to the new function
8834 `isearch-search-fun-default'.
8835 (isearch-search-fun-function): Set the default value to
8836 `isearch-search-fun-default'. (Bug#11381)
8837
8838 * comint.el (comint-history-isearch-end):
8839 Use `isearch-search-fun-default'.
8840 (comint-history-isearch-search): Use `isearch-search-fun-default'
8841 and remove spacial case for `isearch-word'.
8842 (comint-history-isearch-wrap): Remove spacial case for
8843 `isearch-word'.
8844
8845 * hexl.el (hexl-isearch-search-function):
8846 Use `isearch-search-fun-default'.
8847
8848 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
8849 Use `word-search-regexp' for `isearch-word'.
8850
8851 * misearch.el (multi-isearch-search-fun):
8852 Use `isearch-search-fun-default'.
8853
8854 * simple.el (minibuffer-history-isearch-search):
8855 Use `isearch-search-fun-default' and remove spacial case for
8856 `isearch-word'.
8857 (minibuffer-history-isearch-wrap): Remove spacial case for
8858 `isearch-word'.
8859
8860 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
8861 Remove spacial case for `isearch-word'.
8862 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
8863
85c8c5b6
AM
88642012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8865
8866 Decrease XEmacs incompatibilities.
8867 * textmodes/flyspell.el (flyspell-check-pre-word-p):
8868 Use `string-match'.
8869 (flyspell-delete-region-overlays): Use alternative definition for
8870 XEmacs.
8871 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
8872 (flyspell-word): Use `process-kill-without-query' if XEmacs.
8873 (flyspell-mode-on): Use `interactive-p' if XEmacs.
8874 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
8875 `define-obsolete-face-alias' under XEmacs, but old method.
8876
8877 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
8878 `with-no-warnings' definition or Emacs alias.
8879 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
8880 (ispell-word): Do not use `region-p' if XEmacs.
8881
8cab9efc
AM
88822012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8883
8884 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
8885 Check for `ispell-dictionary-base-alist' instead of full
8886 `ispell-dictionary-alist'.
8887 (ispell-init-process): Show spellchecker when starting new Ispell
8888 process.
8889
fda91268
RZ
88902012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
8891
8892 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
8893 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
8894
694ea8e3
JB
88952012-05-27 Juanma Barranquero <lekktu@gmail.com>
8896
8897 * version.el (motif-version-string, gtk-version-string)
8898 (ns-version-string): Declare.
8899
e4d4f539
JL
89002012-05-27 Juri Linkov <juri@jurta.org>
8901
8902 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
8903 after the `eval-defun-1' specialcaseing
8904 like in `edebug-eval-defun' (bug#10181).
8905
8906 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
8907 like in `eval-defun-1'.
8908
33017faf 89092012-05-27 Eli Zaretskii <eliz@gnu.org>
b30b64b9 8910
fda91268
RZ
8911 * mail/sendmail.el (mail-yank-region):
8912 Recognize rmail-yank-current-message in addition to insert-buffer.
8913 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
b30b64b9
EZ
8914 a *mail* buffer created through rmail-start-mail with sendmail as
8915 mail-user-agent.
8916
33017faf
GM
89172012-05-27 Chong Yidong <cyd@gnu.org>
8918
8919 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
8920 Default to 256 (Bug#11267).
8921
8922 * help.el (describe-mode): Doc fix.
8923
04188bb9
GM
89242012-05-26 Glenn Morris <rgm@gnu.org>
8925
38264cc9
GM
8926 * w32-fns.el (w32-init-info): Remove.
8927 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
8928
eb7afdad
GM
8929 * info.el (info-initialize): For self-contained NS builds, put the
8930 included info/ directory at the front. (Bug#2791)
8931
04188bb9
GM
8932 * paths.el (Info-default-directory-list): Make it a defcustom,
8933 mainly so that we can use custom-initialize-delay.
8934
a179e3f7
SM
89352012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
8936
43416392
SM
8937 * subr.el (buffer-has-markers-at): Mark obsolete.
8938
a179e3f7 8939 * subr.el (lambda): Use declare.
43416392 8940
a179e3f7
SM
8941 * emacs-lisp/lisp-mode.el (lambda):
8942 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
8943
34a008d9
AH
89442012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
8945
8946 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
8947
0a3b289f
GM
89482012-05-26 Glenn Morris <rgm@gnu.org>
8949
8950 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
8951
758c81e8
GM
89522012-05-25 Glenn Morris <rgm@gnu.org>
8953
f9f334f0
GM
8954 * paths.el: Remove no-byte-compile.
8955 * loadup.el: No need to load paths.el uncompiled.
8956
87eb79c2
GM
8957 * image.el (imagemagick-types-inhibit): Doc fix.
8958
758c81e8
GM
8959 * version.el: Remove no-byte-compile and associated formatting.
8960 * loadup.el: No need to load version.el uncompiled. AFAICS, this
8961 is ancient code from when there was an "inc-vers.el".
8962
e7e85dc0
SM
89632012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
8964
8965 * progmodes/gdb-mi.el: Minor style changes.
8966 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
8967 Turn into minor modes.
8968 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
8969 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
8970 (gdb-shell): Remove unneeded let-binding.
8971 (gdb-get-many-fields): Eliminate O(n²) behavior.
8972
f31237a4
EZ
89732012-05-25 Eli Zaretskii <eliz@gnu.org>
8974
8975 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
8976 platforms that don't link in fontset.c.
8977
bc1b21bb
JL
89782012-05-25 Juri Linkov <juri@jurta.org>
8979
8980 Use the same diff color scheme as in modern VCSes (bug#10181).
8981
8982 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
8983 to avoid confusion with `diff-added' that now uses green colors.
8984 (diff-removed): Use shades of red.
8985 (diff-added): Use shades of green.
8986 (diff-changed): Leave just the yellow color.
8987 (diff-use-changed-face): New variable.
8988 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
8989 how to highlight context diff changes.
8990 (diff-refine-change): Use shades of yellow.
8991 (diff-refine-removed): New face that uses shades of red.
8992 (diff-refine-added): New face that uses shades of green.
8993 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
8994 `diff-refine-removed' in the call to `smerge-refine-subst'
8995 depending on the value of `diff-use-changed-face'.
8996
8997 * vc/smerge-mode.el (smerge-mine): Use shades of red.
8998 (smerge-other): Use shades of green.
8999 (smerge-base): Use shades of yellow.
9000 (smerge-refined-change): Empty face.
9001 (smerge-refined-removed): New face that uses shades of red.
9002 (smerge-refined-added): New face that uses shades of green.
9003 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
9004 args `props-r' and `props-a', and use them. Doc fix.
9005 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
9006 on its value use different faces `smerge-refined-change',
9007 `smerge-refined-removed', `smerge-refined-added' in the call to
9008 `smerge-refine-subst'.
9009
9010 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
9011 Add face condition `min-colors 88' with shades of red.
9012 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
9013 `min-colors 88' with shades of green.
9014 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
9015 `min-colors 88' with shades of yellow.
9016
6df9112c
GM
90172012-05-24 Glenn Morris <rgm@gnu.org>
9018
ead5edc0
GM
9019 * paths.el (prune-directory-list, remote-shell-program): Move to...
9020 * files.el (prune-directory-list, remote-shell-program): ...here.
9021 For the latter, delay initialization, prefer ssh, just search PATH.
9022
f18b81e6
GM
9023 * paths.el (term-file-prefix): Move to faces.el (the only user).
9024 * faces.el (term-file-prefix): Move here, make it a defcustom.
9025
ee2f89a6
GM
9026 * paths.el (news-directory, news-path, news-inews-program):
9027 Move to gnus/nnspool.el.
61a583ca 9028
f8815e4c
GM
9029 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
9030
c8f3b42c
GM
9031 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
9032 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
9033 Make the latter a defcustom, with a delayed initialization.
9034
6df9112c
GM
9035 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
9036 These were deleted from Gnus itself late 2010.
9037
5dadff36
JB
90382012-05-22 Juanma Barranquero <lekktu@gmail.com>
9039
9e1701c6
JB
9040 * progmodes/which-func.el (which-func-ff-hook):
9041 Check against user-error, not error.
9042
bd7239f5 9043 * emacs-lisp/edebug.el (top): Do not load or set up loading of
5dadff36
JB
9044 cl-specs.el, which no longer exists.
9045
3290526d
GM
90462012-05-22 Glenn Morris <rgm@gnu.org>
9047
9048 * info.el (info-emacs-bug): New command.
9049 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
9050 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
9051
ff0c3cfb
GM
90522012-05-21 Glenn Morris <rgm@gnu.org>
9053
9054 * makefile.w32-in (update-subdirs-SH):
9055 * Makefile.in (update-subdirs): Update for moved update-subdirs.
9056
5814f126
SM
90572012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
9058
a52c0aa0
SM
9059 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
9060
5814f126
SM
9061 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9062 Simplify Maven regexp, and make sure the file can't start with a space
9063 (bug#11517).
9064
b847032c
GM
90652012-05-21 Glenn Morris <rgm@gnu.org>
9066
9067 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
9068 Scrap superfluous subshells.
9069
3858bfe7
SM
90702012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
9071
9072 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
9073 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
9074
d14b0029
JB
90752012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
9076
9077 * calc/calc.el (calc-ensure-consistent-units): New variable.
9078
a52c0aa0
SM
9079 * calc/calc-units.el (math-consistent-units-p)
9080 (math-check-unit-consistency): New functions.
9081 (calc-quick-units, calc-convert-units):
9082 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
9083 is non-nil.
d14b0029
JB
9084 (calc-extract-units): Fix typo.
9085
60c4db3a
SM
90862012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
9087
77f3b62e
SM
9088 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
9089
60c4db3a
SM
9090 * textmodes/flyspell.el: Commenting style, plus code simplifications.
9091 (flyspell-default-deplacement-commands): Don't spell check after
9092 repeated window/frame switches (e.g. triggered by mouse-movement).
9093 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
9094 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
9095 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
9096 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
9097 Remove unused vars.
9098 (flyspell-get-casechars, flyspell-get-not-casechars):
9099 Simplify; Don't bother removing a ] just to add it back.
9100 * textmodes/ispell.el (ispell-program-name): Use executable-find.
9101
d209e2fb 91022012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
b1a10716
RS
9103
9104 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
9105 New functions.
bd7239f5 9106 (math-function-table): Add support for more C functions.
b1a10716 9107
3f1b25b5
AM
91082012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9109
090bd7cb
JB
9110 * textmodes/flyspell.el (flyspell-check-pre-word-p)
9111 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
9112 Protect delay handling for otherchars against empty otherchars.
3f1b25b5 9113
b581bb5c
SM
91142012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
9115
9116 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
9117 their respective macro declarations.
9118 * skeleton.el (define-skeleton):
9119 * progmodes/compile.el (define-compilation-mode):
9120 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
9121 (define-ibuffer-filter):
9122 * emacs-lisp/generic.el (define-generic-mode):
9123 * emacs-lisp/easy-mmode.el (define-minor-mode)
9124 (define-globalized-minor-mode):
9125 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
9126 * emacs-lisp/byte-run.el (defsubst):
9127 * custom.el (deftheme): Add doc-string metadata.
9128
70b8ef8f
SM
91292012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
9130
9131 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
9132
b1198e17
SM
91332012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
9134
9abdc45d
SM
9135 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
9136
b1198e17
SM
9137 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
9138 * emacs-lisp/cl-macs.el: Idem.
9139 * emacs-lisp/cl-specs.el: Remove.
9140
4735906a
SM
91412012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
9142
9143 Minor renaming of internal CL functions and variables.
9144 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
9145 (cl--position): Rename from cl-position.
9146 (cl--delete-duplicates): Rename from cl-delete-duplicates.
9147 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
9148 (cl--random-state): Rename from *random-state*.
9149
ac348012
SM
91502012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
9151
9152 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
9153 parens around the arg list (bug#11499).
9154
a0a79cde
JL
91552012-05-17 Juri Linkov <juri@jurta.org>
9156
9157 * isearch.el (word-search-regexp, word-search-backward)
9158 (word-search-forward, word-search-backward-lax)
9159 (word-search-forward-lax): Move functions from search.c
9160 (bug#10145, bug#11381).
9161
65034a51
AM
91622012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9163
090bd7cb
JB
9164 * textmodes/flyspell.el (flyspell-check-pre-word-p)
9165 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
9166 Delay for otherchars as for normal word components.
65034a51 9167
1a72a195
SM
91682012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
9169
9170 * minibuffer.el (completion--sifn-requote): Fix last change.
9171 (minibuffer-local-must-match-filename-map):
9172 Move define-obsolete-variable-alias before its var.
9173
fdb058c2
SM
91742012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
9175
c41045e6
SM
9176 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
9177
036dfb8b
SM
9178 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
9179 behavior.
9180 (completion--string-equal-p): New function.
9181 (completion--twq-all): Use it to get better assertion failure data.
9182
2473256d
SM
9183 Only handle ".." and '..' quoting in shell-mode (bug#11466).
9184 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
9185 (shell--requote-argument): New functions.
9186 (shell-completion-vars): Use them.
9187 (shell--parse-pcomplete-arguments): Rename from
9188 shell-parse-pcomplete-arguments.
9189 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
9190 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
9191 Obey comint-file-name-quote-list.
9192
fdb058c2
SM
9193 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
9194 (smie-indent-keyword): Use it.
9195
51fa99f1
SM
91962012-05-14 Stefan Merten <smerten@oekonux.de>
9197
9198 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
9199
e18afed7 92002012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
d9d1dfef
SM
9201
9202 * net/rlogin.el (rlogin-mode-map): Fix last change.
9203
e18afed7 92042012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
8633b1f4
JW
9205
9206 * mail/smtpmail.el (smtpmail-send-command): Send the command and
9207 the following \r\n using a single `process-send-string', since the
9208 Lotus SMTP server refuses to accept any commands if they are sent
e18afed7 9209 with two `process-send-string's (Bug#11444).
8633b1f4 9210
e18afed7 92112012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
fe263b8f 9212
fdb058c2
SM
9213 * shell.el (shell-parse-pcomplete-arguments):
9214 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
e18afed7 9215
2d21d7f6
WJ
92162012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
9217
e18afed7 9218 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
2d21d7f6
WJ
9219 (image-transform-scale, image-transform-right-angle-fudge): New vars.
9220 (image-transform-width, image-transform-fit-width): New functions.
9221 (image-transform-properties): Use them.
9222 (image-transform-check-size): New function.
9223 (image-toggle-display-image): Use it (for testing).
9224 (image-transform-set-rotation): Reduce angle mod 360.
9225 Delete obsolete comment.
9226
7102e6d0
WJ
92272012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
9228
9229 * image-mode.el: Fix scaling (bug#11399).
9230 (image-transform-resize): Doc fix.
9231 (image-transform-properties): Default scale is 1 and height should
9232 be an integer.
9233
06bc5e6e
SM
92342012-05-13 Johan Bockgård <bojohan@gnu.org>
9235
9236 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
9237 than hard-coding `car', to fix misbehavior when moving forward.
9238
0ae03b6a
CY
92392012-05-13 Chong Yidong <cyd@gnu.org>
9240
9241 * emacs-lisp/tabulated-list.el (tabulated-list-format)
9242 (tabulated-list-entries, tabulated-list-padding)
9243 (tabulated-list-sort-key): Make permanent-local.
9244
9245 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
9246 (electric-buffer-list): Put electric buffer menu
9247 command descriptions in this docstring, instead of the docstring
9248 of electric-buffer-menu-mode. Code cleanups.
9249 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
9250 Electric-buffer-menu-mode.
9251 (electric-buffer-update-highlight): Minor code cleanup.
9252
205a7391
MA
92532012-05-13 Michael Albinus <michael.albinus@gmx.de>
9254
9255 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
9256 (Bug#11447)
9257
e5bd0a28
SM
92582012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
9259
9260 Move define-obsolete-variable-alias before the var's definition.
9261 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
9262 * tooltip.el (tooltip-hook):
9263 * textmodes/reftex-toc.el (reftex-toc-map):
9264 * textmodes/reftex-sel.el (reftex-select-label-map)
9265 (reftex-select-bib-map):
9266 * textmodes/reftex-index.el (reftex-index-map)
9267 (reftex-index-phrases-map):
9268 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
9269 * progmodes/meta-mode.el (meta-mode-map):
9270 * novice.el (disabled-command-hook):
9271 * loadhist.el (unload-hook-features-list):
9272 * frame.el (blink-cursor):
9273 * files.el (find-file-not-found-hooks, write-file-hooks)
9274 (write-contents-hooks):
9275 * emulation/tpu-edt.el (GOLD-map):
9276 * emacs-lock.el (emacs-lock-from-exiting):
9277 * emacs-lisp/generic.el (generic-font-lock-defaults):
9278 * emacs-lisp/chart.el (chart-map):
9279 * dos-fns.el (register-name-alist):
9280 * dired-x.el (dired-omit-files-p):
9281 * desktop.el (desktop-enable):
9282 * cus-edit.el (custom-mode-hook):
9283 * buff-menu.el (buffer-menu-mode-hook):
9284 * bookmark.el (bookmark-read-annotation-text-func)
9285 (bookmark-exit-hooks):
9286 * allout.el (allout-mode-deactivate-hook)
9287 (allout-exposure-change-hook, allout-structure-added-hook)
9288 (allout-structure-deleted-hook, allout-structure-shifted-hook):
9289 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
9290 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
9291 comes before the corresponding variable's definition.
9292
ac59c2f6
CY
92932012-05-12 Chong Yidong <cyd@gnu.org>
9294
9295 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
0d909786
CY
9296 (Buffer-menu-mouse-select): Restore function (Bug#11459).
9297 (Buffer-menu-mode-map): Bind it.
9298 (Buffer-menu--pretty-name): Add a mouse-face property.
ac59c2f6 9299
dee6c9a3
SM
93002012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
9301
2171cea5
SM
9302 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
9303 (prolog-upper-case-string, prolog-lower-case-string)
9304 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
9305 (prolog-use-smie, prolog-smie-grammar): New vars.
9306 (prolog-smie-forward-token, prolog-smie-backward-token)
9307 (prolog-smie-rules): New funs.
9308 (prolog-comment-indent): Remove.
9309 (prolog-mode-variables): Use default comment indentation instead.
9310 Setup SMIE.
9311 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
9312 (prolog-mode): Don't call them any more.
9313 (prolog-electric-colon, prolog-electric-dash)
9314 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
9315
aa0382bd
SM
9316 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
9317
dbacb4bd
SM
9318 * minibuffer.el (completion--twq-all): Again, allow case differences.
9319
13bdd94c
SM
9320 * term.el: Move keymap initialization code to be more idiomatic.
9321 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
9322 (term-terminal-menu): Move initialization into declaration.
9323 (term-escape-char): Let the user set it in her .emacs.
9324
ff46c759
SM
9325 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
9326 Provide SMIE-based indentation (not enabled by default yet).
9327 (sh-mode-map): Don't bind electric keys.
9328 Use electric-pair-mode instead of skeleton-pair.
9329 (sh-assignment-regexp): Fit within 80 columns.
9330 (sh-indent-supported): Specify actual shell name instead of boolean.
9331 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
9332 (sh-maybe-here-document): Use it. Make obsolete.
9333 (sh-electric-here-document-mode) New minor mode.
9334 (sh-mode): Use it. Don't set sh-indent-supported-here here.
9335 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
9336 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
9337 (sh-smie-rc-grammar, sh-use-smie): New vars.
9338 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
9339 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
9340 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
9341 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
9342 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
9343 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
9344 (sh-set-shell): Use smie-setup if requested.
9345
dee6c9a3
SM
9346 * term.el (term-set-escape-char): Properly set term-escape-char.
9347 See http://stackoverflow.com/questions/10524656.
9348
9f9aa044
CY
93492012-05-10 Chong Yidong <cyd@gnu.org>
9350
9351 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
9352 Use url-generic-parse-url, and handle host names and Windows
9353 filenames properly.
9354 (ffap-url-unwrap-remote): Use url-generic-parse-url.
9355 (ffap-url-unwrap-remote): Accept list values, specifying a list of
9356 URL schemes to work on.
9357 (ffap--toggle-read-only): New function.
9358 (ffap-read-only, ffap-read-only-other-window)
9359 (ffap-read-only-other-frame): Use it.
9360 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
9361 necessary for ffap-url-unwrap-remote.
9362
836d29b3
DA
93632012-05-10 Dave Abrahams <dave@boostpro.com>
9364
9365 * cus-start.el (create-lockfiles): Add it.
9366
00fd78ed
CY
93672012-05-09 Chong Yidong <cyd@gnu.org>
9368
9369 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
9370 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
9371
666b903b 93722012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1cb51c12
SM
9373
9374 * shell.el (shell-completion-vars): Fix last change (bug#11348).
9375
666b903b 93762012-05-09 Chong Yidong <cyd@gnu.org>
18f00515
CY
9377
9378 * ansi-color.el (ansi-color-process-output): Check for validity of
9379 comint-last-output-start before using it. This avoids a bad
9380 interaction with gdb-mi's input/output buffer.
9381
666b903b 93822012-05-09 Glenn Morris <rgm@gnu.org>
fd075e7b
GM
9383
9384 * files.el (dir-locals-read-from-file):
9385 Mention dir-locals in any error message.
9386
666b903b 93872012-05-09 Chong Yidong <cyd@gnu.org>
25f292cd
CY
9388
9389 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
9390 package (Bug#11410).
9391
f677562b
CY
9392 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
9393 variables into description.
9394
666b903b 93952012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3d53ee1b
SM
9396
9397 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
9398 shell-delimiter-argument-list (bug#11348).
9399 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
9400
b499d8d0
JB
94012012-05-09 Juanma Barranquero <lekktu@gmail.com>
9402
8f6b6da8
JB
9403 * textmodes/rst.el: Silence byte-compiler warnings.
9404 (rst-re-alist, rst-reset-section-caches): Move around.
9405 (rst-re): Use `characterp', not `char-valid-p'.
9406 (font-lock-beg, font-lock-end): Declare.
9407
4824146a
JB
9408 * progmodes/idlw-shell.el (specs): Remove reference to deleted
9409 variable `idlwave-shell-activate-alt-keybindings' and simplify.
9410
b499d8d0
JB
9411 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
9412
ad89bb83
GM
94132012-05-08 Glenn Morris <rgm@gnu.org>
9414
9415 * files.el (auto-mode-alist): Treat ".make" like ".mk".
9416
8bba5a75
SM
94172012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9418
49ed9c8e
SM
9419 * vc/log-edit.el: Add GNU coding standards highlighting.
9420 (log-edit-font-lock-gnu-style)
9421 (log-edit-font-lock-gnu-keywords): New vars.
9422 (log-edit-font-lock-keywords): New fun.
9423 (log-edit-mode): Don't fold case in font-lock.
9424 (log-edit-font-lock-keywords): Do not assume case-folding.
9425
07d00b56
SM
9426 * imenu.el: Misc cleanup. Make docstrings out of comments.
9427 Use lexical-binding.
9428 (imenu--index-alist, imenu--last-menubar-index-alist)
9429 (imenu-menubar-modified-tick): Use defvar-local.
9430 (imenu--split-menu): Remove unused var.
9431 (imenu--cleanup-seen): Declare as global.
9432 (imenu--cleanup): Use dolist.
9433
8bba5a75
SM
9434 * subr.el (defvar-local): Add debug spec and doc-string position.
9435
5075bdb5
GM
94362012-05-08 Glenn Morris <rgm@gnu.org>
9437
090bd7cb 9438 * language/burmese.el, language/cham.el, language/czech.el:
c052c904
GM
9439 * language/english.el, language/georgian.el, language/greek.el:
9440 * language/japanese.el, language/khmer.el, language/korean.el:
9441 * language/lao.el, language/misc-lang.el, language/romanian.el:
9442 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
9443 * language/thai.el, language/utf-8-lang.el:
9444 Remove no-byte-compile setting.
9445
5075bdb5
GM
9446 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
9447
06f679a7
AH
94482012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
9449
9450 * progmodes/make-mode.el (makefile-browse):
9451 Remove unnecessary interactive. (Bug#11324)
9452
03794570
GM
94532012-05-07 Glenn Morris <rgm@gnu.org>
9454
af8630f4
GM
9455 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
9456
03794570
GM
9457 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
9458
f0809a9d
SM
94592012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
9460
28be5ce7
SM
9461 * loadup.el: Preload newcomment.el.
9462 * newcomment.el: Move autoload-only code to toplevel.
9463
f0809a9d
SM
9464 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
9465 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
9466 Handle new :right-align column property.
9467 (tabulated-list-print-col): Idem, plus use `display' text-property to
9468 try and preserve alignment for variable pitch fonts.
9469
1241b724
CY
94702012-05-07 Chong Yidong <cyd@gnu.org>
9471
9472 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
9473 (tabulated-list-use-header-line): New var.
9474 (tabulated-list-init-header): Use it.
9475 (tabulated-list-print-fake-header): New function.
9476 (tabulated-list-print): Use it.
9477 (tabulated-list-sort-button-map): Add non-header-line commands.
9478 (tabulated-list-init-header): Add column name property to basic
9479 labels as well.
9480 (tabulated-list-col-sort): Handle non-header-line button case.
9481 (tabulated-list--sort-by-column-name): Fix a corner case.
9482
f0809a9d
SM
9483 * buff-menu.el (list-buffers--refresh):
9484 Handle Buffer-menu-use-header-line.
1241b724 9485
e5f9458f
CY
94862012-05-06 Chong Yidong <cyd@gnu.org>
9487
9488 * buff-menu.el: Convert to Tabulated List mode.
9489 (Buffer-menu-buffer+size-width): Make obsolete.
9490 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
9491 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
9492 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
9493 documentation into docstring of buffer-menu.
9494 (Buffer-menu-toggle-files-only): Add an informative message.
9495 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
9496 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
9497 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
9498 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
9499 (Buffer-menu-execute, Buffer-menu-select)
9500 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
9501 (Buffer-menu-bury): Use Tabulated List machinery.
9502 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
9503 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
f0809a9d 9504 Delete.
e5f9458f
CY
9505 (list-buffers--refresh): New function.
9506 (list-buffers-noselect): Use it.
9507 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
9508 (Buffer-menu--pretty-file-name): New helper functions.
9509
9510 * loadup.el: Preload tabulated-list.
9511
9512 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
9513 tabulated-list-sort-column.
9514 (tabulated-list-init-header): Add the initial aligning space even
9515 if tabulated-list-padding is zero.
9516
e129292c
CS
95172012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
9518
9519 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
9520 whose cdr is not a cons cell correctly (bug#11038).
9521
6632d361
CY
95222012-05-06 Chong Yidong <cyd@gnu.org>
9523
e129292c
CS
9524 * emacs-lisp/tabulated-list.el (tabulated-list-format):
9525 Accept additional plist in column descriptors.
6632d361
CY
9526 (tabulated-list-init-header): Obey it.
9527 (tabulated-list-get-entry): New function.
9528 (tabulated-list-put-tag): Use it. Use string-width instead of
9529 length.
9530 (tabulated-list--column-number): New function.
9531 (tabulated-list-print): Use it.
e129292c
CS
9532 (tabulated-list-print-col): New function.
9533 Set `tabulated-list-column-name' property on each column's text.
6632d361 9534 (tabulated-list-print-entry): Use it.
e129292c
CS
9535 (tabulated-list-delete-entry, tabulated-list-set-col):
9536 New functions.
6632d361
CY
9537 (tabulated-list-sort-column): New command (Bug#11337).
9538
3cc99f68
CY
9539 * buff-menu.el (list-buffers): Move C-x C-b binding from
9540 buff-menu.el to bindings.el.
9541
9542 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
9543 :advertised-binding feature.
9544
52b61776
TN
95452012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
9546
9547 * progmodes/compile.el (compilation-internal-error-properties):
9548 Calculate start position correctly when end-col is set but
9549 end-line is not (Bug#11382).
9550
ebfe2597
WJ
95512012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
9552
9553 * man.el (Man-unindent): Use text-property-default-nonsticky to
9554 prevent untabify from inheriting face properties (Bug#11408).
9555
6d3f7c2f
SM
95562012-05-05 Stefan Merten <smerten@oekonux.de>
9557
9558 * textmodes/rst.el: Major merge with upstream development up to
9559 Docutils SVN r7399 / rst.el V1.2.1.
9560
9561 Clarify maintainership and authors.
9562
9563 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
9564 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
9565 (rst-official-version, rst-official-cvs-rev, rst-version)
9566 (rst-package-emacs-version-alist): New functions and variables
9567 for version information.
9568
9569 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
9570 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
9571 (rst-mode-syntax-table, rst-mode): New and corrected functions
9572 and variables representing reStructuredText features.
9573
9574 (rst-re): New function for reStructuredText regexes. Use in
9575 many places.
9576
9577 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
9578 (rst-mode-map): Rebind keys.
9579
9580 (rst-mode-lazy, rst-font-lock-keywords)
9581 (rst-font-lock-extend-region)
9582 (rst-font-lock-extend-region-internal)
9583 (rst-font-lock-extend-region-extend)
9584 (rst-font-lock-find-unindented-line-limit)
9585 (rst-font-lock-find-unindented-line-match)
9586 (rst-adornment-level, rst-font-lock-adornment-level)
9587 (rst-font-lock-adornment-match)
9588 (rst-font-lock-handle-adornment-pre-match-form)
9589 (rst-font-lock-handle-adornment-matcher): Major revision of
9590 font-locking. Integrate with other code. Use `jit-lock-mode'.
9591
9592 (rst-preferred-adornments, rst-adjust-hook)
9593 (rst-new-adornment-down, rst-preferred-bullets)
9594 (rst-preferred-bullets, rst-indent, rst-indent-width)
9595 (rst-indent-field, rst-indent-literal-normal)
9596 (rst-indent-literal-minimized, rst-indent-comment): Change,
9597 extend and improve customization.
9598
9599 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
9600 (rst-normalize-cursor-position, rst-get-decoration)
9601 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
9602 (rst-rstrip, rst-toc-insert-find-delete-contents)
9603 (rst-shift-fill-region, rst-compute-bullet-tabs)
9604 (rst-debug-print-tabs, rst-debug-mark-found)
9605 (rst-shift-region-guts, rst-shift-region-right)
9606 (rst-shift-region-left, rst-use-char-classes)
9607 (rst-font-lock-keywords-function)
9608 (rst-font-lock-indentation-point)
9609 (rst-font-lock-find-unindented-line-begin)
9610 (rst-font-lock-find-unindented-line-end)
9611 (rst-font-lock-find-unindented-line)
9612 (rst-font-lock-adornment-point, rst-font-lock-level)
9613 (rst-adornment-level-alist): Remove functions and variables.
9614
9615 (rst-compare-adornments, rst-get-adornment-match)
9616 (rst-suggest-new-adornment, rst-get-adornments-around)
9617 (rst-adornment-complete-p, rst-get-next-adornment)
9618 (rst-adjust-adornment, rst-display-adornments-hierarchy)
9619 (rst-straighten-adornments): Standardize function names to
9620 use "adornment" instead of "decoration". Correct callers.
9621 Similar standardizing in many places.
9622
9623 (rst-update-section, rst-adjust, rst-promote-region)
9624 (rst-enumerate-region, rst-bullet-list-region)
9625 (rst-repeat-last-character): Correct use of `interactive'.
9626
9627 (rst-classify-adornment, rst-find-all-adornments)
9628 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
9629 (rst-find-leftmost-column, rst-repeat-last-character):
9630 Refactor functions.
9631
9632 (rst-find-title-line, rst-reset-section-caches)
9633 (rst-get-adornments-around, rst-adjust-adornment-work)
9634 (rst-arabic-to-roman, rst-roman-to-arabic)
9635 (rst-insert-list-pos, rst-insert-list-new-item)
9636 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
9637 New functions.
9638
9639 (rst-all-sections, rst-section-hierarchy)
9640 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
9641 New variables.
9642
9643 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
9644 configuration instead of only buffer. Change where necessary.
9645
9646 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
9647 (rst-shift-region, rst-adaptive-fill): New functions for
9648 indentation and filling.
9649
9650 (rst-comment-line-break, rst-comment-indent)
9651 (rst-comment-insert-comment, rst-comment-region)
9652 (rst-uncomment-region): New functions for handling comments.
9653
9654 (rst-compile): Quote shell arguments.
9655
9656 (rst-compile-pdf-preview, rst-compile-slides-preview):
9657 Delete temporary files after use.
9658
a43f98b3
GM
96592012-05-05 Glenn Morris <rgm@gnu.org>
9660
48176e8b
GM
9661 * calendar/cal-html.el: Optionally include holidays in the output.
9662 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
9663 (cal-html-holidays): New option.
9664 (cal-html-css-default): Add holiday entry.
9665 (holiday-in-range): Autoload it.
9666 (cal-html-htmlify-entry): Add optional class argument.
9667 (cal-html-htmlify-list): Add optional holidays argument.
9668 (cal-html-insert-agenda-days): Include holidays in the output.
9669 (cal-html-one-month): Maybe include holidays.
9670
a43f98b3
GM
9671 * calendar/holidays.el (holiday-in-range):
9672 Move here from cal-tex-list-holidays.
9673 * calendar/cal-tex.el (cal-tex-list-holidays):
9674 Make it an obsolete alias for holiday-in-range. Update all callers.
9675
fef9d149 96762012-05-05 Chong Yidong <cyd@gnu.org>
eceeb5fc
CY
9677
9678 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
9679 Nextstep.
9680
248da2f4
RW
96812012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
9682
9683 * files.el (file-auto-mode-skip): New var.
9684 (set-auto-mode-1): Use it.
9685
f95e9344
SM
96862012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
9687
df96ab1e
SM
9688 * repeat.el: Use lexical-binding.
9689 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
9690 (repeat-undo-count): Remove.
9691 (repeat):
9692 * progmodes/octave-mod.el (octave-abbrev-start):
9693 * progmodes/f90.el (f90-abbrev-start):
9694 * face-remap.el (text-scale-adjust):
9695 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
9696
5342bb06
SM
9697 * emacs-lisp/pcase.el (pcase--let*): New function.
9698 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
9699 a bit more.
9700 (pcase--split-pred): Be more clever about ruling out overlap between
9701 a predicate and some constant pattern.
9702 (pcase--q1): Use `null' instead of (eq foo nil).
9703
f95e9344
SM
9704 * subr.el (setq-local, defvar-local): New macros.
9705 (kbd): Redefine as an alias.
9706 (with-selected-window): Leave unrelated frames alone.
9707 (set-temporary-overlay-map): New function.
9708
71873e2b
SM
97092012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
9710
9711 * subr.el (user-error): New function.
9712 * window.el (switch-to-buffer):
9713 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
9714 (smerge-match-conflict):
9715 * simple.el (previous-matching-history-element)
9716 (next-matching-history-element, goto-history-element, undo-more)
9717 (undo-start):
9718 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
9719 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
9720 (next-file, tags-loop-scan, list-tags, complete-tag):
9721 * progmodes/compile.el (compilation-loop):
9722 * mouse.el (mouse-minibuffer-check):
9723 * man.el (Man-bgproc-sentinel, Man-goto-page):
9724 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
9725 (Info-history-forward, Info-follow-reference, Info-menu)
9726 (Info-extract-menu-item, Info-extract-menu-counting)
9727 (Info-forward-node, Info-backward-node, Info-next-menu-item)
9728 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
9729 (Info-next-reference, Info-prev-reference, Info-index)
9730 (Info-index-next, Info-follow-nearest-node)
9731 (Info-copy-current-node-name):
9732 * imenu.el (imenu--make-index-alist)
9733 (imenu-default-create-index-function, imenu-add-to-menubar):
9734 * files.el (basic-save-buffer, recover-file):
9735 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
9736 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
9737 (checkdoc-message-text, checkdoc-defun):
9738 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
9739 * cus-edit.el (customize-changed-options, customize-rogue)
9740 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
9741 (custom-variable-mark-to-reset-standard)
9742 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
9743 (custom-file):
9744 * completion.el (check-completion-length):
9745 * comint.el (comint-search-arg)
9746 (comint-previous-matching-input-string-position)
9747 (comint-previous-matching-input)
9748 (comint-replace-by-expanded-history-before-point, comint-send-input)
9749 (comint-copy-old-input, comint-backward-matching-input)
9750 (comint-goto-process-mark, comint-set-process-mark):
9751 * calendar/calendar.el (calendar-cursor-to-date): Use it.
9752 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
9753
8a61ee22
SM
97542012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
9755
66408d1e
SM
9756 * dabbrev.el (dabbrev--ignore-case-p): New function.
9757 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
9758 Use it.
9759
8a61ee22
SM
9760 * files.el (automount-dir-prefix): Mark as obsolete.
9761
3c74813a
GM
97622012-05-04 Glenn Morris <rgm@gnu.org>
9763
9764 * patcomp.el, play/bruce.el: Move to obsolete/.
9765
0bfcf5c5
PE
97662012-05-04 Paul Eggert <eggert@cs.ucla.edu>
9767
9768 Fix minor Y10k bugs.
9769 * arc-mode.el (archive-unixdate):
9770 * autoinsert.el (auto-insert-alist):
9771 * calc/calc-forms.el (math-this-year):
9772 * emacs-lisp/copyright.el (copyright-current-year)
9773 (copyright-update-year, copyright):
9774 * tar-mode.el (tar-clip-time-string):
9775 * time.el (display-time-update):
9776 Don't assume years have 4 digits.
9777
78f3273a
CY
97782012-05-04 Chong Yidong <cyd@gnu.org>
9779
9780 * dos-w32.el (file-name-buffer-file-type-alist)
9781 (direct-print-region-use-command-dot-com):
9782 * ffap.el (ffap-menu-regexp):
9783 * find-file.el (ff-special-constructs):
9784 * follow.el (follow-debug):
9785 * forms.el (forms--debug):
9786 * iswitchb.el (iswitchb-all-frames):
9787 * ido.el (ido-all-frames):
9788 * emacs-lisp/timer.el (timer-max-repeats):
9789 * mail/feedmail.el (feedmail-mail-send-hook)
9790 (feedmail-mail-send-hook-queued):
9791 * mail/footnote.el (footnote-signature-separator):
9792 * mail/mailabbrev.el (mail-alias-separator-string)
9793 (mail-abbrev-mode-regexp):
9794 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
9795 * progmodes/idlwave.el (idlwave-libinfo-file)
9796 (idlwave-default-completion-case-is-down)
9797 (idlwave-library-routines): Convert defvars to defcustoms.
9798
9799 * mail/rmail.el (rmail-decode-mime-charset):
9800 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
9801 (idlwave-shell-fix-inserted-breaks)
9802 (idlwave-shell-activate-alt-keybindings)
9803 (idlwave-shell-use-breakpoint-glyph):
9804 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
9805
f7ae6719
SM
98062012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
9807
9808 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
9809
47086495
WS
98102012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
9811
9812 * progmodes/verilog-mode.el (font-lock-keywords):
9813 Fix mis-highligting auto. Reported by Craig Barner.
9814 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
fc0c31f8 9815 defines from global name space. Reported by Dan Dever.
47086495
WS
9816 (verilog-auto-reset, verilog-auto-reset-widths)
9817 (verilog-auto-tieoff): Support using unbased numbers for
9818 AUTORESET and AUTOTIEOFF.
9819 (verilog-submit-bug-report): Update variable list.
9820 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
fc0c31f8 9821 parenthesis from not matching. Reported by Michael Rytting.
47086495
WS
9822 (verilog-auto-template-lint): Fix hash error when linting modules
9823 with no used templates.
9824 (verilog-warn, verilog-warn-error)
9825 (verilog-warn-fatal): When non-interactive report multiple
9826 warnings before exiting. Suggested by Brad Dobbie.
9827 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
9828 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
9829 to report unused template errors. Reported by Brad Dobbie.
9830 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
fc0c31f8 9831 nets, bug438. Reported by Vns Blore.
47086495
WS
9832 (verilog-auto-inout-module, verilog-auto-reg)
9833 (verilog-read-decls, verilog-read-sub-decls-sig)
9834 (verilog-signals-edit-wire-reg, verilog-signals-with):
9835 Fix passing of Verilog data types in ANSI input/output ports
fc0c31f8 9836 such as "output logic" into the AUTOs. Special case "wire" and
47086495
WS
9837 "reg" for backwards compatibility presuming Verilog 2001.
9838 (verilog-auto-ascii-enum): Add "auto enum" as alias.
9839 (verilog-preprocess): Fix replication of preprocess output.
9840 Reported by Brad Dobbie.
9841 (verilog-auto-inst-interfaced-ports):
9842 Create verilog-auto-inst-interfaced-ports, bug429.
9843 Reported by Julian Gorfajn.
9844 (verilog-after-save-font-hook)
9845 (verilog-before-save-font-hook): New variable.
9846 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
9847 (verilog-save-font-mods): Wrap disabling fontification, reported
9848 by David Rogoff.
9849 (verilog-do-indent, verilog-pretty-declarations-auto)
9850 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
9851 Reported by Pierre-David Pfister.
9852 (verilog-set-auto-endcomments): Fix endtask auto comments outside
9853 of class declarations, bug292. Reported by Kevin Heilman.
9854 (verilog-read-decls): Fix 'parameter type' not appearing in
9855 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
9856 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
fc0c31f8 9857 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
47086495
WS
9858 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
9859 Reported by David Kravitz.
9860
98612012-05-03 Michael McNamara <mac@mail.brushroad.com>
9862
9863 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
9864 assignment with tests in ifs and for loops.
9865 (verilog-extended-complete-re, verilog-complete-reg): Change so
9866 that DPI inport functions don't look like fuction declarations.
9867 (verilog-pretty-expr): Don't line up assignment
9868 operations to the test and increment in if and for loops
9869 (verilog-extended-complete-re, verilog-complete-reg): Change so
090bd7cb 9870 that DPI inport functions don't look like fuction declarations.
47086495 9871
2e51d4b5
KH
98722012-05-03 Kenichi Handa <handa@m17n.org>
9873
9874 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
c846da43 9875 decoding, and show a warning message without signaling an error
2e51d4b5
KH
9876 (Bug#11282).
9877
2bd785a2
SM
98782012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
9879
9880 * emacs-lisp/bytecomp.el
9881 (byte-compile-file-form-custom-declare-variable): Compile all elements,
9882 since cconv.el might have introduced :fun-body, internal-make-closure,
9883 and friends for bytecomp to handle (bug#11391).
9884 * custom.el (defcustom): Avoid ((λ ..) ..).
9885
99d27583
SM
98862012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
9887
9888 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
9889
55a71479
JB
98902012-05-02 Juanma Barranquero <lekktu@gmail.com>
9891
9892 * notifications.el (dbus-debug):
9893 * term/linux.el (gpm-mouse-enable):
9894 * term/screen.el (xterm-register-default-colors): Declare.
9895
7b97c764
CY
98962012-05-02 Chong Yidong <cyd@gnu.org>
9897
2bc356d7
CY
9898 * cus-start.el (gc-cons-percentage, exec-suffixes)
9899 (dos-display-scancodes, dos-hyper-key, dos-super-key)
9900 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
9901 (make-cursor-line-fully-visible, void-text-area-pointer)
9902 (font-list-limit): Add customization data.
9903
7b97c764
CY
9904 * allout.el (allout-exposure-change-functions)
9905 (allout-structure-added-functions)
9906 (allout-structure-deleted-functions)
9907 (allout-structure-shifted-functions): Rename abnormal hooks from
9908 *-hook, and convert to defcustoms.
5d3385a0
JB
9909 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
9910 Convert to defcustoms.
7b97c764
CY
9911 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
9912
9913 * allout-widgets.el: Hook callers changed.
9914
90207a15 99152012-05-02 Eli Zaretskii <eliz@gnu.org>
91af76bf
EZ
9916
9917 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
9918 the yanked message in preference to the default value of
9919 buffer-file-coding-system.
9920
90207a15 99212012-05-02 Martin Rudalics <rudalics@gmx.at>
d9558cad 9922
5d3385a0
JB
9923 * window.el (display-buffer--action-function-custom-type):
9924 Fix entry.
d9558cad 9925
90207a15 99262012-05-02 Alan Mackenzie <acm@muc.de>
09affde0
AM
9927
9928 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
9929
d80ac57b
GM
99302012-05-01 Glenn Morris <rgm@gnu.org>
9931
976f7668
GM
9932 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
9933
beb83b5a
GM
9934 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
9935
d80ac57b
GM
9936 * cus-edit.el (custom-variable-documentation): Simplify with format.
9937
b593d6a9 99382012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
f1a71c6e 9939 Stefan Monnier <monnier@iro.umontreal.ca>
b593d6a9
AH
9940
9941 * simple.el (suggest-key-bindings, execute-extended-command):
9942 Move from keyboard.c.
9943
782fbf2a
CY
99442012-05-01 Chong Yidong <cyd@gnu.org>
9945
9946 * follow.el: Eliminate advice.
9947 (set-process-filter, process-filter, sit-for): Advice deleted.
9948 (follow-mode-off-hook): Obsolete hook removed.
b593d6a9
AH
9949 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
9950 Vars deleted.
782fbf2a
CY
9951 (follow-auto): Use a :set function.
9952 (follow-mode): Rewritten. Don't advise process filters.
9953 (follow-switch-to-current-buffer-all, follow-scroll-up)
9954 (follow-scroll-down): Assume follow-mode is bound.
9955 (follow-comint-scroll-to-bottom)
9956 (follow-align-compilation-windows): New functions.
9957 (follow--window-sorter): New function.
9958 (follow-all-followers): Use it to explicitly sort windows by their
9959 positions; don't make assumptions about next-window order.
9960 (follow-windows-start-end, follow-delete-other-windows-and-split)
9961 (follow-calc-win-start): Doc fix.
9962 (follow-windows-aligned-p, follow-select-if-visible): Don't call
9963 vertical-motion unnecessarily.
9964 (follow-adjust-window): New function.
9965 (follow-post-command-hook): Use it.
9966 (follow-call-set-process-filter, follow-call-process-filter)
9967 (follow-intercept-process-output, follow-tidy-process-filter-alist)
9968 (follow-stop-intercept-process-output, follow-generic-filter):
9969 Functions deleted.
9970 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
b593d6a9
AH
9971 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
9972 New functions, replacing advice on scroll-bar-* commands.
87233a14 9973 (follow-mwheel-scroll): New function (Bug#4112).
782fbf2a
CY
9974
9975 * comint.el (comint-adjust-point): New function.
b593d6a9
AH
9976 (comint-postoutput-scroll-to-bottom): Use it.
9977 Call follow-comint-scroll-to-bottom for Follow mode buffers.
782fbf2a 9978
290af740
GM
99792012-05-01 Glenn Morris <rgm@gnu.org>
9980
9981 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
9982 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
9983 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
9984 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
9985 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
9986 Remove no-byte-compile setting.
9987
6eac8dc9
SM
99882012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
9989
9990 * minibuffer.el (completion-table-with-quoting): Fix compatibility
9991 all-completions code to not return a number in the last cdr.
9992
9cc7819c
LL
99932012-04-30 Leo Liu <sdl.web@gmail.com>
9994
9995 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
9996 read-only error.
9997
c93b886f
CY
99982012-04-29 Chong Yidong <cyd@gnu.org>
9999
10000 * follow.el (follow-calc-win-end): Rewrite to handle partial
10001 screen lines correctly (Bug#8390).
10002 (follow-avoid-tail-recenter): Minor cleanup.
10003
8b6c19f4
SM
100042012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
10005
10006 Avoid the obsolete `assoc' package.
10007 * speedbar.el (speedbar-refresh): Avoid adelete.
10008 (speedbar-file-lists): Simplify and avoid aput.
10009 * man.el (Man--sections, Man--refpages): New vars, replacing
10010 Man-sections-alist and Man-refpages-alist.
10011 (Man-build-section-alist, Man-build-references-alist):
10012 Use them; avoid aput.
10013 (Man--last-section, Man--last-refpage): New vars.
10014 (Man-follow-manual-reference): Use them.
10015 Use the `default' arg of completing-read.
10016 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
10017
c5bb7569
CY
100182012-04-27 Chong Yidong <cyd@gnu.org>
10019
d1d2e2e8
CY
10020 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
10021
15cd8efd
CY
10022 * startup.el (x-apply-session-resources): New function.
10023
10024 * term/ns-win.el (ns-initialize-window-system):
10025 * term/w32-win.el (w32-initialize-window-system):
10026 * term/x-win.el (x-initialize-window-system): Use it to properly
10027 set menu-bar-mode and other vars from X resources, even if the
10028 initial frame is not a window-system frame (Bug#2299).
10029
c5bb7569
CY
10030 * subr.el (read-key): Avoid running filter function when setting
10031 up temporary tool bar entries (Bug#9922).
10032
a8e7d6d7 100332012-04-27 Andreas Schwab <schwab@linux-m68k.org>
c4347ab9
AS
10034
10035 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
10036 (Bug#11344)
10037
a8e7d6d7 100382012-04-27 Chong Yidong <cyd@gnu.org>
acb71f1d
CY
10039
10040 * select.el (xselect--encode-string): New function, split from
10041 xselect-convert-to-string.
10042 (xselect-convert-to-string): Use it.
10043 (xselect-convert-to-filename, xselect-convert-to-os)
10044 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
10045 returned strings are properly encoded (Bug#11315).
10046
a8e7d6d7 100472012-04-27 Chong Yidong <cyd@gnu.org>
d55486c7
CY
10048
10049 * simple.el (delete-active-region): Move to killing custom group.
10050
a8e7d6d7 100512012-04-27 Andreas Schwab <schwab@linux-m68k.org>
581b6788
AS
10052
10053 * progmodes/which-func.el (which-func-current): Quote %
10054 characters for mode-line processing.
10055
578c1d4b 100562012-04-27 Chong Yidong <cyd@gnu.org>
18edb22d
CY
10057
10058 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
10059 reaching eob (Bug#11286).
10060
a8e7d6d7 100612012-04-27 Eli Zaretskii <eliz@gnu.org>
9ee9f470
EZ
10062
10063 * progmodes/gdb-mi.el (gdb-control-level): New variable.
10064 (gdb): Make it buffer-local and init to zero.
10065 (gdb-control-commands-regexp): New variable.
10066 (gdb-send): Don't wrap in "-interpreter-exec console" if
10067 gdb-control-level is positive. Increment gdb-control-level
10068 whenever the command matches gdb-control-commands-regexp, and
10069 decrement it each time the command is "end". (Bug#11279)
10070
a8e7d6d7 100712012-04-27 Martin Rudalics <rudalics@gmx.at>
41cfe0cb
MR
10072
10073 * window.el (adjust-window-trailing-edge, enlarge-window)
10074 (shrink-window, window-resize):
10075 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
10076 windows (Bug#11276).
10077
b3608390
CY
100782012-04-27 Chong Yidong <cyd@gnu.org>
10079
10080 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
a8e7d6d7 10081 fix "missing prefix" warning. All callers changed.
b3608390 10082
797e6e88
SM
100832012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
10084
10085 * emacs-lisp/assoc.el: Move to obsolete/.
10086
e95a67dc
SM
100872012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
10088
657c21e4 10089 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
e95a67dc
SM
10090
10091 * term/ns-win.el (ns-define-service):
10092 * progmodes/pascal.el (pascal-goto-defun):
10093 * progmodes/js.el (js--read-tab):
10094 * progmodes/etags.el (tags-lazy-completion-table):
10095 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
10096 * emacs-lisp/ewoc.el (ewoc--wrap):
10097 * emacs-lisp/assoc.el (aput, adelete, amake):
10098 * doc-view.el (doc-view-convert-current-doc):
10099 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
10100
cb3e7ae0
CY
101012012-04-26 Chong Yidong <cyd@gnu.org>
10102
dce04f7f
CY
10103 * image.el (image-type-from-buffer): Only return supported image
10104 type (Bug#9045).
10105
cb3e7ae0
CY
10106 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
10107 value, for symmetry with diff-end-of-hunk.
10108 (diff-split-hunk, diff-find-source-location)
10109 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
10110 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
10111 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
10112 compute the relevant hunk or file properly (Bug#6005).
10113 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
10114
0d42eb3e
SM
101152012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
10116
10117 * vc/vc-mtn.el:
10118 * vc/vc-hg.el:
10119 * vc/vc-git.el:
10120 * vc/vc-dir.el:
10121 * vc/vc-cvs.el:
10122 * vc/vc-bzr.el:
10123 * vc/vc-arch.el:
10124 * vc/vc.el: Replace lexical-let by lexical-binding.
10125 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
10126 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
10127 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
10128
f08ae1c9
CY
101292012-04-26 Chong Yidong <cyd@gnu.org>
10130
8b71081d
CY
10131 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
10132 (diff-mode-shared-map): Bind it to / and [remap undo].
10133
f08ae1c9
CY
10134 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
10135 (ediff-window-setup-function): Use it as the default, to set up
10136 windows based on whether the current frame is graphical (Bug#2138).
10137 (ediff-choose-window-setup-function-automatically): Make obsolete.
10138
10139 * vc/ediff-init.el: Always define ediff-pixel-width/height.
10140
ef24141c
SM
101412012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10142
cc356a5d
SM
10143 * ffap.el: Remove old code for obsolete package.
10144 (ffap-complete-as-file-p): Remove.
10145
b4ff4f1f
SM
10146 Use completion-table-with-quoting for comint and pcomplete.
10147 * comint.el (comint--unquote&requote-argument)
10148 (comint--unquote-argument, comint--requote-argument): New functions.
10149 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
10150 (comint-quote-filename): Use regexp-opt-charset.
10151 (comint--common-suffix, comint--common-quoted-suffix)
10152 (comint--table-subvert): Remove.
10153 (comint-unquote-function, comint-requote-function): New vars.
10154 (comint--complete-file-name-data): Use them with
10155 completion-table-with-quoting.
10156 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
10157 * pcomplete.el (pcomplete-arg-quote-list)
10158 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
10159 (pcomplete-unquote-argument-function): Default to non-nil.
10160 (pcomplete-unquote-argument): Simplify.
10161 (pcomplete--common-quoted-suffix): Remove.
10162 (pcomplete-requote-argument-function): New var.
10163 (pcomplete--common-suffix): New function.
10164 (pcomplete-completions-at-point): Use completion-table-with-quoting
10165 and completion-table-subvert.
10166
79c4eeb4
SM
10167 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
10168 (minibuffer--double-dollars): Preserve properties.
10169 (completion--sifn-requote): New function.
10170 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
10171
ef24141c
SM
10172 * minibuffer.el: Add support for completion of quoted/escaped data.
10173 (completion-table-with-quoting, completion-table-subvert): New funs.
10174 (completion--twq-try, completion--twq-all): New functions.
10175 (completion--nth-completion): New function.
10176 (completion-try-completion, completion-all-completions): Use it.
10177
784e7d6e
LL
101782012-04-25 Leo Liu <sdl.web@gmail.com>
10179
dd2ac746
SM
10180 * progmodes/python.el (python-pdbtrack-get-source-buffer):
10181 Use compilation-message if available to find real filename.
784e7d6e 10182
07875ee7
CY
101832012-04-25 Chong Yidong <cyd@gnu.org>
10184
10185 * vc/diff-mode.el (diff-setup-whitespace): New function.
10186 (diff-mode): Use it.
10187
10188 * vc/diff.el (diff-sentinel):
10189 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
10190 Whitespace mode variables based on diff style (Bug#8612).
10191
5055880d
LL
101922012-04-25 Leo Liu <sdl.web@gmail.com>
10193
daf75653
LL
10194 * progmodes/python.el (python-send-region): Add suffix .py to the
10195 temp file.
10196
5055880d
LL
10197 * files.el (auto-mode-alist): Use javascript-mode instead.
10198
db9b177b
AH
101992012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
10200
ef24141c 10201 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b 10202
090bd7cb 10203 * net/soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 10204 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 10205 references, see Bug#9.
ef24141c 10206 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 10207 when receiving a fault reply.
ef24141c 10208 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b 10209
090bd7cb 10210 * net/soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 10211 (soap-inspect-simple-type): New function.
db9b177b 10212
090bd7cb 10213 * net/soap-client.el (soap-simple-type): New struct.
db9b177b 10214 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
10215 (soap-decode-basic-type, soap-encode-basic-type):
10216 support unsignedInt and double basic types.
db9b177b 10217 (soap-resolve-references-for-simple-type)
ef24141c
SM
10218 (soap-parse-simple-type, soap-encode-simple-type): New function.
10219 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b 10220
090bd7cb 10221 * net/soap-client.el (soap-default-xsd-types)
ef24141c
SM
10222 (soap-default-soapenc-types): Add integer, byte and anyURI types.
10223 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
10224 the local name of "soapenc:Array".
10225 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
db9b177b
AH
10226 decoding integer, byte and anyURI xsd types.
10227
1fc6097b
CY
102282012-04-25 Chong Yidong <cyd@gnu.org>
10229
10230 * cus-edit.el (custom-buffer-create-internal): Update header text.
10231
afc6df87
EZ
102322012-04-25 Eli Zaretskii <eliz@gnu.org>
10233
10234 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
10235 settings on 'system-type', not on 'window-system'. On MS-Windows,
10236 set interactive-mode on in GDB.
10237
dfbd787f
SM
102382012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
10239
10240 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
10241 (ruby-syntax-propertize-regexp): Remove.
10242 (ruby-syntax-propertize-function): Split regexp into chunks.
10243 Match following code directly.
10244
85222d44
DG
102452012-04-24 Dmitry Gutov <dgutov@yandex.ru>
10246
51a8ea2a
DG
10247 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
10248 (ruby-syntax-propertize-regexp): New function.
10249 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
10250 by a special keyword.
10251
85222d44
DG
10252 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
10253 (ruby-syntax-general-delimiters-goto-beg)
10254 (ruby-syntax-propertize-general-delimiters): New functions.
10255 (ruby-syntax-propertize-function): Use them to handle GDL.
10256 (ruby-font-lock-keywords): Move old handling of GDL...
10257 (ruby-font-lock-syntactic-keywords): .. to here.
10258 (ruby-calculate-indent): Adjust indentation for GDL.
10259
b613912b
MA
102602012-04-24 Michael Albinus <michael.albinus@gmx.de>
10261
b5380639
MA
10262 * notifications.el (top): Remove unneeded declarations.
10263 (notifications-specification-version): Change to "1.2".
e43042fe 10264 (notifications-interface, notifications-notify-method)
b613912b
MA
10265 (notifications-close-notification-method): Fix docstring.
10266 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
10267 (notifications-notify): Add :action-items, :resident and
10268 :transient hints. Change "image_data" to "image-data" and
10269 "image_path" to "image-path".
b613912b
MA
10270 (notifications-get-capabilities): New defun.
10271
257440aa
LL
102722012-04-24 Leo Liu <sdl.web@gmail.com>
10273
10274 * progmodes/python.el: Move hideshow setup to the end.
10275
b1bac16e
MR
102762012-04-24 Martin Rudalics <rudalics@gmx.at>
10277
10278 * window.el (handle-select-window): Clear echo area since this is
10279 no more done by read_char (Bug#11304).
10280
d81bd059
SM
102812012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
10282
10283 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
10284 and `/ M' to filter-derived-mode.
10285 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
10286 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
10287 (ibuffer-mark-by-mode): Use default rather than initial-input.
10288 (ibuffer-filter-by-derived-mode): Autoload and require-match.
10289
c4cf6d91
IA
102902012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
10291
10292 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
10293 (ibuffer-filter-by-derived-mode): New filter.
10294 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
10295
7511ded8
CY
102962012-04-23 Andreas Politz <politza@fh-trier.de>
10297
10298 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
10299
775c916b
CY
103002012-04-23 Chong Yidong <cyd@gnu.org>
10301
10302 * cus-edit.el (customize-apropos, customize-apropos-options):
10303 Disable matching of non-option variables (Bug#11176).
10304 (customize-option, customize-option-other-window)
10305 (customize-changed-options): Doc fix.
10306 (customize-apropos-options, customize-apropos-faces)
10307 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
10308
10309 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 10310 Fix word list splitting (Bug#11132).
46c71e23
CY
10311 (apropos-symbol, apropos-keybinding, apropos-label)
10312 (apropos-property, apropos-function-button)
10313 (apropos-variable-button, apropos-misc-button): New faces.
10314 (apropos-symbol-face, apropos-keybinding-face)
10315 (apropos-label-face, apropos-property-face, apropos-match-face):
10316 Variables removed (Bug#8396).
10317 (apropos-library-button, apropos-format-plist, apropos-print)
10318 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 10319
2df41f9c
MA
103202012-04-23 Michael Albinus <michael.albinus@gmx.de>
10321
10322 * net/xesam.el (xesam-mode-map): Use let-bound map in
10323 initialization. (Bug#11292)
10324
da00640a
AM
103252012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10326
10327 Preserve ispell session localwords when switching back to
10328 original buffer.
10329
090bd7cb
JB
10330 * textmodes/ispell.el (ispell-buffer-session-localwords):
10331 New buffer-local variable to hold buffer session localwords.
ed9265fc 10332 (ispell-kill-ispell): Add option 'clear to delete session
da00640a
AM
10333 localwords.
10334 (ispell-command-loop, ispell-change-dictionary)
10335 (ispell-buffer-local-words): Preserve session localwords when
10336 needed.
10337
090bd7cb
JB
10338 * textmodes/flyspell.el (flyspell-process-localwords)
10339 (flyspell-do-correct): Preserve session localwords when needed.
da00640a 10340
f621ccf5
AM
103412012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10342
090bd7cb
JB
10343 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
10344 using obsolete `translation-table-for-input'.
ef24141c
SM
10345 (ispell-word, ispell-process-line, ispell-complete-word):
10346 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 10347
c2d1019e
CY
103482012-04-22 Chong Yidong <cyd@gnu.org>
10349
10350 * cus-edit.el (custom-variable-menu)
10351 (custom-variable-reset-saved, custom-face-menu)
10352 (custom-face-reset-saved): If there is no saved value, make the
10353 "reset-saved" operation bring back the default (Bug#9509).
10354 (custom-face-state): Properly detect themed faces.
10355
eeddc531
CY
10356 * faces.el (face-spec-set): Stop supporting deprecated form of
10357 third arg.
10358
dcbf5805
MA
103592012-04-22 Michael Albinus <michael.albinus@gmx.de>
10360
10361 Move functions from C to Lisp. Make non-blocking method calls
10362 the default. Implement further D-Bus standard interfaces.
10363
ef24141c
SM
10364 * net/dbus.el (dbus-message-internal): Declare function.
10365 Remove unneeded function declarations.
dcbf5805
MA
10366 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
10367 (dbus-message-type-method-return, dbus-message-type-error)
10368 (dbus-message-type-signal): Declare variables. Remove local
10369 definitions.
10370 (dbus-interface-dbus, dbus-interface-peer)
10371 (dbus-interface-introspectable, dbus-interface-properties)
10372 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
10373 Adapt docstring.
10374 (dbus-interface-objectmanager): New defconst.
10375 (dbus-call-method, dbus-call-method-asynchronously)
10376 (dbus-send-signal, dbus-method-return-internal)
10377 (dbus-method-error-internal, dbus-register-service)
10378 (dbus-register-signal, dbus-register-method): New defuns, moved
10379 from dbusbind.c
10380 (dbus-call-method-handler, dbus-setenv)
ef24141c
SM
10381 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
10382 New defuns.
dcbf5805
MA
10383 (dbus-call-method-non-blocking): Make it an obsolete function.
10384 (dbus-unregister-object, dbus-unregister-service)
10385 (dbus-handle-event, dbus-register-property)
10386 (dbus-property-handler): Obey the new structure of
10387 `bus-registered-objects'.
10388 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
10389 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
10390 Use `dbus-call-method'.
10391
cf20dee0
CY
103922012-04-22 Chong Yidong <cyd@gnu.org>
10393
10394 * cus-edit.el (custom-commands, custom-reset-menu)
10395 (Custom-reset-standard): Tweak labels.
10396 (custom-reset-button-menu): Change default to t.
10397 (custom-buffer-create-internal): For the custom-reset-button-menu
10398 case, put the revert button first.
10399 (custom-group-subtitle): New face.
10400 (custom-group-value-create): Align docstring to a specific column.
10401
10402 * wid-edit.el (widget-documentation-link-add): Don't handle
10403 indentation in this function.
10404 (widget-documentation-string-indent-to): New function.
10405 (widget-documentation-string-value-create): Use it.
10406
10407 * autorevert.el (auto-revert):
10408 * epg-config.el (epg):
10409 * ibuffer.el (ibuffer):
10410 * mpc.el (mpc):
10411 * ses.el (ses):
10412 * eshell/eshell.el (eshell):
10413 * net/ange-ftp.el (ange-ftp):
10414 * progmodes/ebnf2ps.el (postscript):
10415 * progmodes/flymake.el (flymake):
10416 * progmodes/prolog.el (prolog):
10417 * progmodes/verilog-mode.el (verilog-mode):
10418 * progmodes/which-func.el (which-func):
10419 * term/xterm.el (xterm):
10420 * textmodes/picture.el (picture):
10421 * textmodes/tildify.el (tildify):
10422 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
10423 customization buffers.
10424
583e23bd
AM
104252012-04-22 Alan Mackenzie <acm@muc.de>
10426
10427 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
10428 Adding a ) can hide the resulting (..) from searches. Fix it.
10429 Bound the backward search to the position of the existing (.
10430
7dd51bf1
JB
104312012-04-21 Juanma Barranquero <lekktu@gmail.com>
10432
10433 * progmodes/verilog-mode.el (verilog-mode): Check whether
10434 which-func-modes is t before adding verilog-mode.
10435 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
10436
d64a438f
LL
104372012-04-21 Leo Liu <sdl.web@gmail.com>
10438
7dd51bf1 10439 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 10440
081e8d65
MV
104412012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
10442
10443 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
10444 filling of the last column of a table (Bug#5635).
10445 (woman-find-next-control-line): New arg, specifying an additional
10446 regexp component for the control line.
10447 (woman2-roff-buffer): Use it.
10448 (woman-break-table): New function.
10449 (woman2-TS): Use it.
10450
104512012-04-21 Chong Yidong <cyd@gnu.org>
10452
10453 * woman.el (woman-set-buffer-display-table, woman-decode-region)
10454 (woman-horizontal-escapes, woman-negative-vertical-space)
10455 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
10456 (WoMan-warn-ignored): Use ?\s instead of ?\ .
10457
ed571ccb
SM
104582012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
10459
10460 * minibuffer.el (completion-file-name-table): Complete user names.
10461
39773899
LL
104622012-04-20 Leo Liu <sdl.web@gmail.com>
10463
10464 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
10465 and pcase-let*.
10466
de6ff46d
CY
104672012-04-20 Chong Yidong <cyd@gnu.org>
10468
10469 * server.el (server-execute): Respect initial-buffer-choice if it
10470 is a string and there are no files to open (Bug#2825).
10471 (server-create-window-system-frame, server-create-tty-frame):
10472 Don't switch buffers here.
2d0e8e61
CY
10473 (server-process-filter): Only try to open a window system frame if
10474 compiled with graphical support (Bug#8314).
de6ff46d 10475
54071013
DN
104762012-04-20 Dan Nicolaescu <dann@gnu.org>
10477
10478 * battery.el (battery-echo-area-format): Display remaining time
10479 for sysfs backend too (Bug#11269).
10480 (battery-linux-sysfs): Fix conditional for the charge.
10481
f30d612a
CY
104822012-04-20 Chong Yidong <cyd@gnu.org>
10483
c07a4c0b 10484 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
10485 (gdb-inferior-io--init-proc): New function.
10486 (gdb-init-1): Use it.
10487 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
10488 responsible for allocating a new pty and hooking it to gdb when
10489 the old pty gets an EIO due to process exit.
10490 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
10491 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
10492 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
10493
2116e93c
EZ
104942012-04-20 Eli Zaretskii <eliz@gnu.org>
10495
10496 * window.el (window-min-size, window-sizable, window-min-delta)
10497 (window-max-delta, window--resizable, window-resizable)
10498 (window-total-size, window-full-height-p, window-full-width-p)
10499 (window-in-direction, window--resize-mini-window, window-resize)
10500 (window--resize-child-windows-normal)
10501 (window--resize-child-windows, window--resize-siblings)
10502 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 10503 (enlarge-window, shrink-window): Doc fixes.
2116e93c 10504
c07a4c0b 105052012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 10506
ef24141c
SM
10507 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
10508 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
10509 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
10510 pty process (Bug#11273).
10511 (gdb-update): New arg to suppress talking to the gdb process.
10512 (gdb-done-or-error): Use it.
10513 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
10514 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
10515 sentinel not being called.
10516
10517 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
10518
d02766ab
CY
10519 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
10520
c07a4c0b 105212012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
10522
10523 * net/network-stream.el (open-network-stream): Doc fix.
10524
c07a4c0b 105252012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
10526
10527 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
10528
c07a4c0b 105292012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
10530
10531 Ensure searching for keywords is case sensitive.
10532
10533 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
10534 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
10535 (c-defun-name, c-mark-function, c-cpp-define-name)
10536 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 10537 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 10538
ef24141c
SM
10539 * progmodes/cc-mode.el (c-font-lock-fontify-region):
10540 Bind case-fold-search to nil.
f0f6bc35 10541
c07a4c0b 105422012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
10543
10544 * mail/sendmail.el (mail-bury): Call return action with the right
10545 Rmail buffer (Bug#11242).
10546
9a864fa2
CY
10547 * server.el (server-process-filter): Handle corner case where both
10548 tty and nowait options are present (Bug#11102).
10549
539aa513
EZ
105502012-04-20 Eli Zaretskii <eliz@gnu.org>
10551
10552 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
10553 (top level): Put into the executable the ident-style '$Id:' tag on
10554 windows-nt as well.
539aa513 10555
cfc7d5da
SM
105562012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
10557
10558 * electric.el (electric-indent-post-self-insert-function): Check that
10559 electric-indent-mode is enabled in current buffer.
10560
5b01685c
JB
105612012-04-19 Juanma Barranquero <lekktu@gmail.com>
10562
10563 * imenu.el (imenu-progress-message): Restore; it is "used" in
10564 erc/erc-imenu.el and net/snmp-mode.el.
10565
4d6769e1
JB
105662012-04-19 Juanma Barranquero <lekktu@gmail.com>
10567
10568 * avoid.el (mouse-avoidance-mode): Mark unused arg.
10569 (mouse-avoidance-nudge-mouse): Remove unused binding.
10570
10571 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
10572
10573 * descr-text.el (describe-char):
10574 * progmodes/python.el (python-describe-symbol):
10575 Don't call `toggle-read-only', set `buffer-read-only'.
10576
10577 * imenu.el (imenu-default-goto-function): Mark unused args.
10578 (imenu-progress-message): Remove obsolete macro; all callers changed.
10579
10580 * subr.el (keymap-canonicalize): Remove unused binding.
10581 (read-passwd): Mark unused arg.
10582
10583 * tutorial.el (tutorial--display-changes): Remove unused binding.
10584 (tutorial--save-tutorial-to): Remove unused variable.
10585
10586 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
10587 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
10588 (package-generate-autoloads, package-menu--generate)
10589 (package-menu--find-upgrades): Remove unused bindings.
10590
10591 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
10592 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
10593 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
10594 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
10595 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
10596 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
10597 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
10598 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
10599 (cua-delete-char-rectangle): Mark unused args.
10600 (cua-align-rectangle): Remove unused binding.
10601
10602 * mail/rmail.el (compilation--message->loc)
10603 (epa--find-coding-system-for-mime-charset): Declare.
10604
10605 * net/dbus.el (dbus-register-service): Declare.
10606 (dbus-name-owner-changed-handler): Remove unused binding.
10607
10608 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
10609 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
10610 (nxml-scan-backward-within): Mark unused arg.
10611 (nxml-dynamic-markup-word): Remove unused binding.
10612
10613 * mouse.el (mouse-menu-major-mode-map):
10614 * emacs-lisp/authors.el (authors-scan-change-log)
10615 (authors-add-to-author-list):
10616 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
10617 * emacs-lisp/smie.el (smie-auto-fill):
10618 * mail/sendmail.el (mail-bury):
10619 * mail/unrmail.el (unrmail):
10620 * net/tls.el (open-tls-stream):
10621 * textmodes/picture.el (picture-mouse-set-point):
10622 Remove unused bindings.
10623
8c8fc5df
MA
106242012-04-19 Michael Albinus <michael.albinus@gmx.de>
10625
10626 * net/tramp.el (tramp-action-password): Let-bind
10627 `enable-recursive-minibuffers' to t.
10628
a77b0ac9
SS
106292012-04-18 Sam Steingold <sds@gnu.org>
10630
10631 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
10632 instead of 'string to accommodate values like [f11].
10633 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
10634 * progmodes/gdb-mi.el: Likewise.
10635
12a106a9
LL
106362012-04-18 Leo Liu <sdl.web@gmail.com>
10637
10638 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
10639 current buffer.
10640 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
10641 LOCAL is nil.
10642
bc6494ef
CY
106432012-04-18 Chong Yidong <cyd@gnu.org>
10644
10645 * simple.el (line-move): Use forward-line if in batch mode
10646 (Bug#11053).
10647
c09c46b2
CS
106482012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
10649
10650 * files.el (after-find-file): Do not try to add a final newline if
10651 the buffer is read-only (Bug#11156).
10652
5f6530ea
RS
106532012-04-17 Richard Stallman <rms@gnu.org>
10654
10655 * mail/rmail.el (rmail-start-mail):
10656 Pass (rmail-mail-return...) for the return-action.
10657 Pass (rmail-yank-current-message...) for the yank-action.
10658 (rmail-yank-current-message): New function.
10659 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
10660 (rmail-reply): Likewise.
10661 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
10662
10663 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 10664 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
10665 buffer, not newbuf.
10666
197b6f3c
JB
106672012-04-17 Juanma Barranquero <lekktu@gmail.com>
10668
10669 * server.el (server-ensure-safe-dir): Simplify.
10670
2311d8e5 106712012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 10672
2311d8e5
GM
10673 * emacs-lisp/smie.el: Provide smarter auto-filling.
10674 (smie-auto-fill): New function.
10675 (smie-setup): Use it.
98fb480e 10676
2311d8e5
GM
10677 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
10678
106792012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
10680
10681 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
10682 (comment-indent): Use it.
10683
2311d8e5 106842012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
10685
10686 * ses.el: The overall change is to add cell renaming, that is
10687 setting fancy names for cell symbols other than name matching
10688 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 10689 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 10690 (ses-create-cell-variable): New defun.
2311d8e5 10691 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
10692 (ses-relocate-formula): Relocate formulas only for cells the
10693 symbols of which are not renamed, i.e. symbols whose names do not
10694 match regexp "\\`[A-Z]+[0-9]+\\'".
10695 (ses-relocate-all): Relocate values only for cells the symbols of
10696 which are not renamed.
10697 (ses-load): Create cells variables as the (ses-cell ...) are read,
10698 in order to check row col consistency with cell symbol name only
10699 for cells that are not renamed.
10700 (ses-replace-name-in-formula): New defun.
10701 (ses-rename-cell): New defun.
4bdf2ad2 10702
fc72b15c
PO
107032012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
10704
10705 * progmodes/perl-mode.el (perl-indent-parens-as-block):
10706 New option (bug#11118).
10707 (perl-calculate-indent): Respect it.
10708
12e10e61
GM
107092012-04-17 Glenn Morris <rgm@gnu.org>
10710
10711 * dired-aux.el (dired-mark-read-string): Doc fix.
10712
30009afd
DA
107132012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
10714
10715 * dired-aux.el (dired-mark-read-string): Offer optional completion.
10716 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
10717
41f03f4d
GM
107182012-04-17 Glenn Morris <rgm@gnu.org>
10719
10720 * mouse.el (mouse-drag-track):
10721 * speedbar.el (speedbar-frame-mode):
10722 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
10723
f45f90f3
LL
107242012-04-16 Leo Liu <sdl.web@gmail.com>
10725
10726 * progmodes/python.el: Trivial cleanup.
10727
94ee8db5
GM
107282012-04-16 Glenn Morris <rgm@gnu.org>
10729
121b8917
GM
10730 * vc/vc.el (vc-string-prefix-p):
10731 * vc/pcvs-util.el (cvs-string-prefix-p):
10732 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
10733 * mpc.el (mpc-string-prefix-p):
10734 Make all of these into obsolete aliases for string-prefix-p.
10735 Update callers.
10736 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
10737
1197ecfa
GM
10738 * textmodes/two-column.el: Move custom options to the start.
10739 (frame-width): Remove compat definition.
10740 (2C-associate-buffer, 2C-dissociate):
10741 Use with-current-buffer rather than save-excursion.
10742 (2C-dissociate): Force a mode-line update.
10743 (2C-autoscroll): Use ignore-errors.
10744
099e7202
GM
10745 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
10746 Autoload trivia.
10747
bf350d6a
GM
10748 * emacs-lisp/cl-extra.el (*random-state*):
10749 Remove unnecessary declaration.
10750
0e829eab
GM
10751 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
10752
e3ad7552
GM
10753 * play/cookie1.el (cookie-snarf):
10754 Give an explicit error if input file cannot be read.
10755
68892d27
GM
10756 * play/yow.el (yow-file): Use expand-file-name rather than concat.
10757
20f0c46d
GM
10758 * progmodes/perl-mode.el (c-macro-expand):
10759 Remove unnecessary autoload (it is in loaddefs.el).
10760
5a0978ce
GM
10761 * textmodes/picture.el (picture-desired-column)
10762 (picture-update-desired-column): Convert comments to doc-strings.
10763 (picture-substitute): Remove function.
10764 (picture-mode-map): Initialize in the defvar.
10765
6b955486
GM
10766 * woman.el: Remove eval-after-load for tar-mode.
10767 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
10768 (woman-tar-extract-file): Autoload it.
10769
94ee8db5
GM
10770 * frame.el (automatic-hscrolling): Make this alias obsolete.
10771
177eca34
AM
107722012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10773
090bd7cb 10774 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 10775 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
10776 (ispell-dictionary-base-alist): Revert to original XEmacs
10777 friendly version for default. [:alpha:] will be added in
090bd7cb 10778 `ispell-set-spellchecker-params' if needed.
177eca34 10779
c505aaeb
CY
107802012-04-16 Chong Yidong <cyd@gnu.org>
10781
b19dd9d1 10782 * image.el (imagemagick--file-regexp): New variable.
c505aaeb
CY
10783 (imagemagick-register-types): Use it.
10784 (imagemagick-types-inhibit): Add :set function. Allow new value
10785 of t to inhibit all types.
10786
10787 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
10788 so we can preload it.
10789
10790 * loadup.el (fboundp): Preload regexp-opt, needed by
10791 imagemagick-register-types.
10792
60efac0f
CY
107932012-04-15 Chong Yidong <cyd@gnu.org>
10794
10795 * frame.el (scrolling): Remove nearly unused customization group.
10796
10797 * scroll-all.el (scroll-all-mode): Move to windows group.
10798
5dd1713e
CY
107992012-04-15 Chong Yidong <cyd@gnu.org>
10800
10801 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
10802
e6fd457e
CY
108032012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
10804
10805 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 10806 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 10807
e153c136
GM
108082012-04-15 Glenn Morris <rgm@gnu.org>
10809
10810 * simple.el (process-file-side-effects): Doc fix.
10811
e6fd457e 108122012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
10813
10814 * international/mule-cmds.el (set-language-environment): Doc fix.
10815
3603c3b1
JB
108162012-04-14 Juanma Barranquero <lekktu@gmail.com>
10817
10818 * server.el (server-auth-key, server-generate-key): Doc fixes.
10819 (server-get-auth-key): Doc fix. Use `string-match-p'.
10820 (server-start): Reflow docstring.
10821
e6de100c
LI
108222012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
10823
10824 * server.el (server-generate-key): `called-interactively-p'
10825 requires a parameter.
10826
29734c21
MN
108272012-04-14 Michal Nazarewicz <mina86@mina86.com>
10828
10829 * server.el (server-auth-key): New variable.
75f1671a 10830 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
10831 (server-start): Use the new variable and functions to allow
10832 setting a permanent server key (bug#9423).
10833
d65c9521
LL
108342012-04-14 Leo Liu <sdl.web@gmail.com>
10835
10836 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
10837
5ae255c7
PE
108382012-04-14 Paul Eggert <eggert@cs.ucla.edu>
10839
10840 Spelling fixes.
10841 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
10842 Emacs uses American spelling.
10843
d5e6342e
JB
108442012-04-14 Juanma Barranquero <lekktu@gmail.com>
10845
10846 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
10847 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
10848 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
10849 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
10850
ab036cd7
SM
108512012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
10852
10853 * progmodes/which-func.el (which-func-modes): Change default.
10854
35dc09a1 108552012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
10856
10857 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
10858 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
10859
35dc09a1 108602012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
10861
10862 * custom.el (custom-theme-set-variables): Doc fix.
10863
35dc09a1 108642012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
10865
10866 * international/mule.el (set-auto-coding-for-load): Doc fix.
10867
35dc09a1 108682012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 10869
35dc09a1
GM
10870 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
10871 imenu work again for Objective C Mode. Correct the *-index values,
10872 these having been disturbed by a previous change in 2011-08.
57f845ee 10873
0de3da9f
AM
10874 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
10875 Correct two search limits.
10876
35dc09a1 108772012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
10878
10879 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
10880
35dc09a1 108812012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
10882
10883 * international/characters.el: Fix sorting.
10884
35dc09a1 108852012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
10886
10887 * international/characters.el: Add more missing Latin case pairs.
10888
35dc09a1 108892012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
10890
10891 * files.el (dir-locals-set-class-variables): Doc fix.
10892
35dc09a1 108932012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 10894
3f1b5bf8
EZ
10895 * international/characters.el: Add set-case-syntax-pair call for
10896 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
10897 counterpart. (Bug#11209)
10898
9f847f41
EZ
10899 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
10900
35dc09a1 109012012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
10902
10903 * calendar/holidays.el (calendar-check-holidays): Doc fix.
10904
35dc09a1 109052012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 10906
35dc09a1
GM
10907 * textmodes/ispell.el (ispell-dictionary-base-alist):
10908 Add data for Hebrew.
e2627d21 10909
35dc09a1 109102012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 10911
35dc09a1
GM
10912 * net/rcirc.el (rcirc-cmd-quit):
10913 Revert 2012-03-18 change (Bug#11192).
5c14e333 10914
35dc09a1 109152012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
10916
10917 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
10918
35dc09a1 109192012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 10920
4517fe3a
SM
10921 * minibuffer.el (completion-in-region-mode-map):
10922 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 10923
b472a594
VD
109242012-04-13 Vivek Dasmohapatra <vivek@etla.org>
10925
10926 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
10927
09b95ce3
MY
109282012-04-13 Masatake YAMATO <yamato@redhat.com>
10929
10930 * minibuffer.el (minibuffer-local-filename-syntax): New variable
10931 to allow `C-M-f' and `C-M-b' to move to the nearest path
10932 separator (bug#9511).
10933
4b63a9ca
LI
109342012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
10935
10936 * avoid.el: Require cl when compiling. And also move the
10937 `provide' to the end.
10938
7b55b8bf
TV
109392012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10940
10941 * avoid.el (mouse-avoidance-banish-position): New variable.
10942 (mouse-avoidance-banish-destination): Use it (bug#10165).
10943
adedaa1f
LL
109442012-04-13 Leo Liu <sdl.web@gmail.com>
10945
10946 * progmodes/which-func.el (which-func-modes): Add objc-mode.
10947
70e74021
KB
109482012-04-13 Ken Brown <kbrown@cornell.edu>
10949
10950 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 10951 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
10952 (browse-url-filename-alist): For the same reason, don't modify
10953 file:// URLs on Cygwin.
10954
e75e89ba
SM
109552012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
10956
10957 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
10958 the region on shift if the binding is already shifted (bug#11221).
10959
82f289a4
GM
109602012-04-12 Glenn Morris <rgm@gnu.org>
10961
10962 * mail/mailpost.el: Move to obsolete/.
10963
d333dc4c
DA
109642012-04-12 Drew Adams <drew.adams@oracle.com>
10965
10966 * imenu.el (imenu--generic-function): Ignore invisible definitions
10967 (bug#10123).
10968
0d15b5ba
VD
109692012-04-12 Vivek Dasmohapatra <vivek@etla.org>
10970
10971 * hexl.el (hexl-bits): New variable.
10972 (hexl-options): Mention the variable in the doc string.
75f1671a 10973 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 10974 (hexl-mode): Mention the new variable.
75f1671a
JB
10975 (hexl-mode, hexl-current-address, hexl-current-address):
10976 Use the displen.
0d15b5ba
VD
10977 (hexl-ascii-start-column): New function.
10978 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
10979 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
10980
64a440db
AM
109812012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10982
10983 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
10984 '("-i" ENCODING), in 2 separate command-line arguments, to specify
10985 the encoding, as expected by hunspell.
10986
6decb6c2
SM
109872012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
10988
10989 * battery.el (battery--linux-sysfs-regexp): New const.
10990 (battery-status-function): Use it. Remove yeeloong special case.
10991 (battery-yeeloong-sysfs): Remove.
10992 (battery-echo-area-format): Remove yeeloong special case.
10993
088be6fb
SM
109942012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
10995
6622e416
SM
10996 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
10997 Reported by Noah Friedman.
10998
088be6fb
SM
10999 * subr.el (read-passwd): Use read-string.
11000
b49f886e
LMI
110012012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
11002
11003 * vcursor.el (vcursor-move): Increase the priority of the overlay
11004 (bug#9663).
11005
a63067fc
DD
110062012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
11007
11008 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
11009 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
11010
ac3cf14a
WS
110112012-04-11 William Stevenson <yhvh2000@gmail.com>
11012
11013 * textmodes/artist.el (artist-mode): Convert artist-mode to use
11014 define-minor-mode (bug#10760).
11015
c4fc691b 110162012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 11017
4d6769e1 11018 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
11019 that directories matching `grep-find-ignored-files' won't be
11020 pruned (bug#10351).
11021
af23e2e5
CY
110222012-04-11 Chong Yidong <cyd@gnu.org>
11023
11024 * startup.el (command-line): Remove support for long-obsolete
11025 variable font-lock-face-attributes.
11026
ab7ce8c1
GM
110272012-04-11 Glenn Morris <rgm@gnu.org>
11028
11029 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
11030
de8c03dc
SM
110312012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
11032
11033 * window.el (window--state-get-1): Obey window-point-insertion-type.
11034
050cc68b
LB
110352012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
11036
11037 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
11038 to previous function when point is on the first character of a
75f1671a 11039 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 11040
a38c310c
GM
110412012-04-11 Glenn Morris <rgm@gnu.org>
11042
effed0c2
GM
11043 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
11044 not just file-errors.
11045
a38c310c
GM
11046 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
11047 (vc-bzr-sha1): Use internal sha1.
11048
0221e323
SM
110492012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
11050
11051 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
11052
43956923
SG
110532012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
11054
11055 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
11056 that start in the middle of the line (bug#10496).
11057
6a8c9eaf
DN
110582012-04-10 Dan Nicolaescu <dann@gnu.org>
11059
11060 * battery.el (battery-linux-proc-acpi): Only one battery is
11061 discharged at a time, but that seems to confuse battery.el when
11062 computing `rate-type' for the battery not being discharged
11063 (bug#10332).
11064
1930bf5d
SM
110652012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
11066
2a718f6f
SM
11067 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
11068
599430d0
SM
11069 * international/quail.el: Use dolist and simplify.
11070 (quail-define-package, quail-update-keyboard-layout)
11071 (quail-define-rules): Use dolist.
11072 (quail-insert-kbd-layout, quail-get-translation): CSE.
11073
a2754b6c
SM
11074 * tmm.el: Use dolist, remove left over hook.
11075 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
11076 Use dolist.
11077 (calendar-load-hook): Don't mess with it.
11078
1930bf5d
SM
11079 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
11080 Use derived-mode-p. Run the diff asynchronously.
11081
9f67961c
LMI
110822012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
11083
11084 * obsolete/mouse-sel.el: Add an Obsolete-since header.
11085
2a8ce227
JB
110862012-04-10 Juanma Barranquero <lekktu@gmail.com>
11087
11088 * misc.el: Display absolute path of loaded DLLs (bug#10424).
11089 (list-dynamic-libraries--loaded): New function.
11090 (list-dynamic-libraries--refresh): Use it.
11091
8f33b5f8
NW
110922012-04-10 Nathan Weizenbaum <nweiz@google.com>
11093
1930bf5d
SM
11094 * progmodes/python.el (python-fill-paragraph):
11095 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
11096 disabled (bug#7018).
11097
b12f0439
L
110982012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
11099
1930bf5d 11100 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
11101 DOS/MS Windows for the Baltic languages. There are still plenty
11102 of texts written in this encoding/codepage (bug#6519).
b12f0439 11103
57c3bd01
GM
111042012-04-10 Glenn Morris <rgm@gnu.org>
11105
11106 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
11107 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
11108
6c3eab30
FA
111092012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
11110
1930bf5d 11111 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
11112 next-line "n" and previous-line "p" in order to make recentf more
11113 consistent with ibuffer, dired or org-mode (bug#9387).
11114
24d78a88
LMI
111152012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
11116
bc72b5d9
LMI
11117 * image.el (put-image): Return the overlay created instead of the
11118 optional input string (bug#7834). Note that this may break code
11119 that is (for some reason or other) depending on `put-image'
11120 returning the string.
11121
bd2dba5a
LMI
11122 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
11123
74beb59f
LMI
11124 * simple.el (zap-to-char): Allow zapping using input methods
11125 (bug#1580).
11126
24d78a88
LMI
11127 * textmodes/fill.el (fill-region): Leave point and mark where they
11128 were before filling (bug#5399).
11129
263f20cd
GM
111302012-04-09 Glenn Morris <rgm@gnu.org>
11131
11132 * version.el (emacs-bzr-get-version):
11133 Handle lightweight checkouts of local branches.
11134
58d1f797
AS
111352012-04-09 Andreas Schwab <schwab@linux-m68k.org>
11136
263f20cd 11137 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 11138
b4d3bc10
CY
111392012-04-09 Chong Yidong <cyd@gnu.org>
11140
11141 * custom.el (custom-variable-p): Return nil for non-symbol
11142 arguments instead of signaling an error.
11143 (user-variable-p): Obsolete alias for custom-variable-p.
11144
11145 * apropos.el (apropos-variable):
11146 * files-x.el (read-file-local-variable):
11147 * simple.el (set-variable):
11148 * woman.el (woman-mini-help):
11149 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
11150
fd06db5d
GM
111512012-04-09 Glenn Morris <rgm@gnu.org>
11152
e5fcdb5e
GM
11153 * startup.el (normal-top-level): Don't look for leim-list.el
11154 in places where it will not be found. (Bug#910)
11155
fd06db5d
GM
11156 * international/mule-cmds.el (set-default-coding-systems):
11157 * files.el (normal-mode):
11158 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
11159 This function was removed with ucs-tables.el in 2008.
11160
b39bb7e1
EZ
111612012-04-08 Eli Zaretskii <eliz@gnu.org>
11162
11163 * textmodes/ispell.el (ispell-check-version): For hunspell, set
11164 ispell-encoding8-command to "-i", without a trailing space.
11165 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
11166 separate command-line arguments, to specify the encoding, since
11167 that's how hunspell expects it.
11168
5c5b8e23
GM
111692012-04-08 Glenn Morris <rgm@gnu.org>
11170
11171 * loadup.el: Load bindings before cus-start.
11172 This reduces somewhat the number of "rogue" settings in emacs -Q.
11173
a1ed8b05
GM
111742012-04-07 Glenn Morris <rgm@gnu.org>
11175
11176 * version.el (emacs-bzr-get-version): New function.
dfae128a 11177 (emacs-bzr-version): New variable.
a1ed8b05
GM
11178 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
11179 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
11180
b142f158
EZ
111812012-04-07 Eli Zaretskii <eliz@gnu.org>
11182
dfae128a
GM
11183 * international/uni-bidi.el, international/uni-category.el:
11184 * international/uni-combining.el, international/uni-decimal.el:
11185 * international/uni-decomposition.el, international/uni-digit.el:
11186 * international/uni-lowercase.el, international/uni-mirrored.el:
11187 * international/uni-name.el, international/uni-numeric.el:
11188 * international/uni-titlecase.el, international/uni-uppercase.el:
11189 Update for Unicode 6.1.
b142f158 11190
9078ead6
EZ
111912012-04-07 Eli Zaretskii <eliz@gnu.org>
11192
11193 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
11194
f23d2c7d
LMI
111952012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
11196
11197 * window.el (shrink-window): Mention the `window-min-height'
11198 variable in the doc string.
11199
0a0a3573
BG
112002012-04-05 Bastien Guerry <bzg@altern.org>
11201
11202 * color.el (color-lighten-name): Fix typo.
11203
e5248ac9
SM
112042012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
11205
11206 * server.el (server--on-display-p): New function.
11207 (server--on-display-p): Use it.
11208
b4243e22
GV
112092012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
11210
11211 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
11212 (bug#11145).
11213
305d9f44
SM
112142012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
11215
11216 * comint.el (comint--common-quoted-suffix): Check string boundary
11217 before comparing (bug#11158).
11218 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
11219
3d439cd1
CY
112202012-04-04 Chong Yidong <cyd@gnu.org>
11221
321cc491
CY
11222 * minibuffer.el (completion-extra-properties): Doc fix.
11223
3d439cd1
CY
11224 * subr.el (delayed-warnings-hook): Doc fix.
11225
2d562c0f
DU
112262012-04-04 Daiki Ueno <ueno@unixuser.org>
11227
11228 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
11229 selection (Bug#11159).
11230 (epa-insert-keys): Inform that the default public key will be
11231 exported if no key is selected.
11232
4443f204
RS
112332012-04-04 Richard Stallman <rms@gnu.org>
11234
11235 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
11236
529c06b6
CY
112372012-04-03 Chong Yidong <cyd@gnu.org>
11238
11239 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
11240 mail-insert-file, not its obsolete alias mail-attach-file.
11241
66b907dc
MA
112422012-04-03 Michael Albinus <michael.albinus@gmx.de>
11243
11244 * notifications.el (notifications-notify): Fix docstring.
11245
c0ea195d
GM
112462012-04-02 Glenn Morris <rgm@gnu.org>
11247
11248 * emacs-lisp/authors.el (authors-aliases): Another addition.
11249
5ca64e00
MA
112502012-04-02 Michael Albinus <michael.albinus@gmx.de>
11251
11252 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
11253 `tramp-compat-call-process' instead of `tramp-local-call-process'.
11254 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
11255
42ee526b
CY
112562012-04-01 Chong Yidong <cyd@gnu.org>
11257
11258 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
11259 Handle root directory properly.
11260 (copy-directory): Caller changed.
11261
11262 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
11263 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
11264
0b021094
GM
112652012-03-31 Glenn Morris <rgm@gnu.org>
11266
40f86458
GM
11267 * term/xterm.el (xterm-extra-capabilities): Doc fix.
11268
7019c177
GM
11269 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
11270
a1daddd6
GM
11271 * calendar/calendar.el (calendar-window-list)
11272 (calendar-hide-window): Restore. (Bug#11140)
11273 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
11274
0b021094
GM
11275 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
11276
40311efc
TV
112772012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11278
11279 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
11280 Check if file is a symlink (Bug#10489).
11281
11282 * files.el (copy-directory): Likewise.
11283
5319014e
CY
112842012-03-30 Chong Yidong <cyd@gnu.org>
11285
11286 * image.el (imagemagick-types-inhibit)
11287 (imagemagick-register-types): Doc fix.
11288
935d1290
AM
112892012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11290
090bd7cb 11291 * textmodes/ispell.el (ispell-get-extended-character-mode):
ef24141c 11292 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 11293 and treats ~word as ordinary words in pipe mode.
935d1290 11294
61c6e8fd
GM
112952012-03-30 Glenn Morris <rgm@gnu.org>
11296
11297 * tutorial.el (help-with-tutorial): Ensure local variables don't
11298 happen to make the buffer read-only. (Bug#11127)
11299
81fdff00
SM
113002012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
11301
11302 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
11303 (perl-calculate-indent): Return `noindent' in strings.
11304
6e7a6ec0
SS
113052012-03-28 Sam Steingold <sds@gnu.org>
11306
11307 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
11308 instead of the broken adhockery which does not prevent calendar
11309 buffers from being displayed at random after exit.
11310 (calendar-window-list, calendar-hide-window): Remove the broken
11311 adhockery.
11312
fee88ca0
GM
113132012-03-28 Glenn Morris <rgm@gnu.org>
11314
11315 * replace.el (query-replace-map): Doc fix.
11316
38de3354
AS
113172012-03-28 Andreas Schwab <schwab@linux-m68k.org>
11318
11319 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
11320 contents. (Bug#11109)
11321
b973155e
SM
113222012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
11323
11324 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
11325 (bug#11077).
11326 (avl-tree--check, avl-tree--check-node): New funs.
11327
dcb6e7b3
MR
113282012-03-27 Martin Rudalics <rudalics@gmx.at>
11329
11330 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
11331 (switch-to-prev-buffer, switch-to-next-buffer):
11332 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
11333 showing a buffer already is done on the same frame.
11334
b4fa35fa
GM
113352012-03-27 Glenn Morris <rgm@gnu.org>
11336
11337 * startup.el (mail-host-address): Doc fix.
11338
f9210e18
SM
113392012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
11340
11341 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
11342 than 197 variables.
11343
c0bf7753
AF
113442012-03-26 Ami Fischman <ami@fischman.org>
11345
11346 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
11347
33da7b16
GM
113482012-03-26 Glenn Morris <rgm@gnu.org>
11349
02243d9d
GM
11350 * files.el (save-buffers-kill-emacs): Doc fix.
11351
33da7b16
GM
11352 * startup.el (normal-top-level, command-line, command-line-1):
11353 Give them doc strings.
11354
e5a69fd0
EZ
113552012-03-25 Eli Zaretskii <eliz@gnu.org>
11356
11357 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 11358 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 11359
9a69676a
CY
113602012-03-25 Chong Yidong <cyd@gnu.org>
11361
4125cb8b
CY
11362 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
11363 theme if it was previously enabled before (Bug#11031).
11364
dd470960
CY
11365 * cus-theme.el (custom-theme-write-faces): Retrieve current face
11366 spec with custom-face-get-current-spec if its :shown-value is not
11367 determined yet (Bug#9337).
4125cb8b 11368 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 11369
9a69676a
CY
11370 * button.el (button-at): Minor addition to docstring.
11371
6e7e90fa
SL
113722012-03-24 Simon Leinen <simon.leinen@gmail.com>
11373
11374 * vc/vc.el (vc-merge): Fix a prompt.
11375
f06e2758
CY
113762012-03-24 Chong Yidong <cyd@gnu.org>
11377
11378 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
11379 point (Bug#9623).
11380
6e7e90fa
SL
11381 * button.el (button-at): Minor addition to docstring.
11382
b9d0879b
SM
113832012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
11384
11385 * newcomment.el (comment-choose-indent): No space after BOL.
11386
e71cebb3
SS
113872012-03-22 Sam Steingold <sds@gnu.org>
11388
11389 * window.el (switch-to-prev-buffer): Revert last patch because the
11390 bug turned out to be an advertised feature (Elisp manual 28.14).
11391
335aff35
GM
113922012-03-22 Glenn Morris <rgm@gnu.org>
11393
11394 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
11395 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
11396
c676576a
LMI
113972012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
11398
11399 * net/network-stream.el (network-stream-open-starttls): Make error
11400 message under Windows be less misleading.
11401
126f3d39
LW
114022012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
11403
11404 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
11405 understands (bug#9942).
11406
64fee311
CY
114072012-03-22 Chong Yidong <cyd@gnu.org>
11408
11409 * simple.el (end-of-visible-line): Handle return value of
11410 next-single-property-change properly (Bug#9371).
11411
a640d29a
KH
114122012-03-22 Kenichi Handa <handa@m17n.org>
11413
11414 * international/quail.el (quail-insert-kbd-layout): Fix previous
11415 change. To avoid unwanted bidi reordering, use
11416 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
11417
39675016
DG
114182012-03-21 Dmitry Gutov <dgutov@yandex.ru>
11419
11420 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
11421 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
11422 (ruby-beginning-of-indent): Be more careful with the difference
11423 between word-boundary and symbol boundary.
11424 (ruby-mode-syntax-table): Make : a symbol constituent.
11425
0a6934fc 114262012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 11427
3d008e4f
SM
11428 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
11429
0a6934fc
SM
114302012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
11431
af67c9d7
SM
11432 * progmodes/etags.el (tags-completion-at-point-function):
11433 Improve last fix.
11434
1acad97c
SM
11435 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
11436
e298b5da
SS
114372012-03-21 Sam Steingold <sds@gnu.org>
11438
11439 * progmodes/etags.el (tags-completion-at-point-function):
11440 Avoid the error when point is inside the pattern.
11441
91d82a70
JY
114422012-03-21 John Yates <john@yates-sheets.org> (tiny change)
11443
11444 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
11445 line (Bug#10855).
11446
69188b79
CY
114472012-03-21 Drew Adams <drew.adams@oracle.com>
11448
11449 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
11450
99fc91fe
AK
114512012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
11452
11453 * ido.el (ido-set-current-directory, ido-read-internal)
11454 (ido-choose-completion-string, ido-completion-help): Handle nil
11455 value of ido-completion-buffer (Bug#11008).
11456
087bbb4c
SS
114572012-03-21 Sam Steingold <sds@gnu.org>
11458
11459 * window.el (switch-to-prev-buffer): Do not switch to a visible
11460 window previous buffer, just like with the frame previous buffers.
11461
fb5b8aca
CY
114622012-03-21 Chong Yidong <cyd@gnu.org>
11463
11464 * faces.el (make-face, make-empty-face, copy-face):
11465 * face-remap.el (face-remap-add-relative, face-remap-set-base):
11466 Doc fixes.
11467
dc9924b8
SM
114682012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
11469
11470 * wid-edit.el (widget-complete-field): Remove (bug#11051).
11471 (widget-complete): Remove broken use of it.
11472
f0bcceb9
CY
114732012-03-20 Chong Yidong <cyd@gnu.org>
11474
dc9924b8
SM
11475 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
11476 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
11477 characters.
11478
ee52ebf3
TH
114792012-03-20 Tassilo Horn <tassilo@member.fsf.org>
11480
11481 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
11482 to draw rectangles, not squares. (Regression introduced by revno
11483 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
11484
4c5779ab
CY
114852012-03-18 Chong Yidong <cyd@gnu.org>
11486
11487 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
11488 it is not yet defined (for temacs).
11489
15360934
LL
114902012-03-18 Leo Liu <sdl.web@gmail.com>
11491
735135f9
PE
11492 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
11493 prefix.
15360934 11494
d9a8eb66
EZ
114952012-03-17 Eli Zaretskii <eliz@gnu.org>
11496
11497 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
11498 (ispell-choices-win-default-height, ispell-silently-savep)
11499 (ispell-dictionary-alist, ispell-encoding8-command)
11500 (ispell-check-version, ispell-aspell-find-dictionary)
11501 (ispell-valid-dictionary-list, ispell-words-keyword)
11502 (ispell-get-word, ispell-internal-change-dictionary)
11503 (ispell-region, ispell-skip-region-list)
11504 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
11505 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
11506 (ispell-message-text-end, ispell-message)
11507 (ispell-buffer-local-parsing): Doc fix.
11508
f02ff80d
J
115092012-03-13 Jambunathan K <kjambunathan@gmail.com>
11510
11511 * htmlfontify.el: Add support for code block fontification for ODT
11512 export (Bug #9914).
11513 (hfy-optimisations): Define new option
11514 `body-text-only'
11515 (hfy-fontify-buffer): Honor above setting.
11516 (hfy-begin-span, hfy-end-span): New routines factored out form
11517 `hfy-fontify-buffer'.
11518 (hfy-begin-span-handler, hfy-end-span-handler): New variables
11519 that permit insertion of custom tags.
11520 (hfy-fontify-buffer): Use above handlers.
11521 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
11522 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 11523 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 11524 over multiple runs. This is made possible by having the caller let
f02ff80d
J
11525 bind a special variable `hfy-user-sheet-assoc'.
11526 (htmlfontify-string): New defun.
11527 (hfy-compile-face-map): Make sure that the last char in the
11528 buffer is correctly fontified.
11529 (hfy-face-resolve-face): Whitespace only change.
11530
9ac7a13f
EZ
115312012-03-17 Eli Zaretskii <eliz@gnu.org>
11532
11533 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
11534 message more clear.
11535
e2b5bdd7
LL
115362012-03-16 Leo Liu <sdl.web@gmail.com>
11537
11538 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
11539
2e492df3
AM
115402012-03-16 Alan Mackenzie <acm@muc.de>
11541
11542 Further optimise the handling of large macros.
11543
11544 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
11545 limit to a call of `c-literal-limits'.
11546 (c-determine-+ve-limit): New function.
dc9924b8
SM
11547 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
11548 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
11549 In CASE 5B, restrict a search limit to 500.
11550 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
11551
11552 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
11553 Restrict macro bounds to +-500 from after-change's BEG END.
11554
50e94f0c
LL
115552012-03-16 Leo Liu <sdl.web@gmail.com>
11556
11557 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
11558
6f09f6ed
AH
115592012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
11560
11561 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 11562 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 11563
c7e73d51
GM
115642012-03-16 Glenn Morris <rgm@gnu.org>
11565
da986230
GM
11566 * view.el (view-buffer, view-buffer-other-window)
11567 (view-buffer-other-frame): Doc fixes re special mode-class.
11568
0835f01e
GM
11569 * subr.el (eval-after-load): If named feature is provided not from
11570 a file, run after-load forms. (Bug#10946)
11571
c7e73d51
GM
11572 * calendar/calendar.el (calendar-insert-at-column):
11573 Handle non-unit-width characters a bit better. (Bug#10978)
11574
3f2eafd1
CY
115752012-03-15 Chong Yidong <cyd@gnu.org>
11576
11577 * emacs-lisp/ring.el (ring-extend): New function.
11578 (ring-insert+extend): Extend the ring correctly (Bug#11019).
11579
11580 * comint.el (comint-read-input-ring)
11581 (comint-add-to-input-history): Grow comint-input-ring lazily.
11582
103af3fe
SM
115832012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
11584
663b1677
SM
11585 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
11586 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
11587
103af3fe
SM
11588 * imenu.el: Fix multiple inheritance breakage (bug#9199).
11589 (imenu-add-to-menubar): Don't add a redundant index.
11590 (imenu-update-menubar): Handle a dynamically composed keymap.
11591
899cb7cb
KY
115922012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
11593
11594 * mail/sendmail.el (mail-encode-header):
11595 Bind rfc2047-encode-encoded-words to nil.
11596
3809f91d
GM
115972012-03-13 Glenn Morris <rgm@gnu.org>
11598
11599 * calendar/calendar.el (calendar-string-spread):
11600 Handle non-unit-width characters a bit better. (Bug#10978)
11601
9e345a01
LL
116022012-03-13 Leo Liu <sdl.web@gmail.com>
11603
11604 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
11605 directory and file as argument (Bug#10822).
11606
4a07df36
KS
116072012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
11608
11609 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
11610 For dynamically generated code, follow $PC.
11611 (gdb-disassembly-handler-custom): Handle no function name case.
11612
4aaa9356
TL
116132012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
11614
11615 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
11616 * emulation/ws-mode.el (ws-query-replace):
11617 * sort.el (sort-regexp-fields):
11618 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
11619
225979da
SM
116202012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
11621
11622 * dabbrev.el: Fix cycle completion order (bug#10963).
11623 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
11624 (dabbrev-completion): Don't use an obarray; provide
11625 a cycle-sort-function.
11626
e2f1fdab
LL
116272012-03-12 Leo Liu <sdl.web@gmail.com>
11628
dc9924b8 11629 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
11630 (kill-do-not-save-duplicates): Doc fix.
11631
b19490ed
SM
116322012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
11633
11634 * dabbrev.el: Fix cycle completion (bug#10963).
11635 Use lexical binding and wrap to 80 columns.
11636 (dabbrev-completion): Delay computing the list of completions.
11637
4b05d722
KH
116382012-03-12 Kenichi Handa <handa@m17n.org>
11639
11640 * international/quail.el (quail-insert-kbd-layout): Surround each
11641 row by LRO and PDF instead of inserting many LRMs. Pad the left
11642 and right of each non-spacing marks. Insert invisible space
11643 between lower and upper characters to prevent composition.
11644
dbbc2e69
SM
116452012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
11646
11647 * minibuffer.el (minibuffer-complete): Don't get confused when the
11648 function is run twice via different commands (bug#10958).
11649 (complete-with-action): Fix docstring.
11650
292112ed
CY
116512012-03-12 Chong Yidong <cyd@gnu.org>
11652
5d1ac394
CY
11653 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
11654 (nxml-completion-at-point-function): New function.
11655 (nxml-mode): Use it.
11656 (nxml-bind-meta-tab-to-complete-flag): Default to t.
11657
292112ed
CY
11658 * emacs-lisp/package.el (package-unpack, package-unpack-single):
11659 Load generated autoloads file before byte compiling (Bug#10970).
11660 (package--make-autoloads-and-compile): New helper fun.
11661
4098f8f7
CS
116622012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
11663
11664 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
11665
8f754691
MA
116662012-03-11 Michael Albinus <michael.albinus@gmx.de>
11667
11668 * autorevert.el (auto-revert-handler): Ensure, that
11669 file-readable-p is applied only for local files or in
11670 auto-revert-tail-mode.
11671
e29ab36b
AS
116722012-03-11 Andreas Schwab <schwab@linux-m68k.org>
11673
dbbc2e69
SM
11674 * server.el (server-eval-at): Handle non-tcp connections.
11675 Decode result string.
ad0bf5b6 11676
e29ab36b
AS
11677 * server.el (server-msg-size): New constant.
11678 (server-reply-print): New function.
11679 (server-eval-and-print): Use it.
11680 (server-eval-at): Use server-quote-arg and server-unquote-arg.
11681 Handle -print-nonl.
11682
de5939ba
CS
116832012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
11684
11685 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
11686 (Bug#10987).
11687
0c93eabf
CY
116882012-03-11 Chong Yidong <cyd@gnu.org>
11689
397a688f
CY
11690 * simple.el (goto-line): Doc fix (Bug#9938).
11691
2cc775f9
CY
11692 * subr.el (save-window-excursion): Doc fix (Bug#9979).
11693
0c93eabf
CY
11694 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
11695 when finished (Bug#10963).
11696
c491fa41
MR
116972012-03-11 Martin Rudalics <rudalics@gmx.at>
11698
11699 * window.el (split-window-below): Fix bug in case where
11700 split-window-keep-point is nil (Bug#10971).
11701
300e8fa5
JL
117022012-03-11 Juri Linkov <juri@jurta.org>
11703
11704 * replace.el (replace-highlight): Set isearch-word to nil
11705 unconditionally. (Bug#10887)
11706
dbf6c5a1
EZ
117072012-03-10 Eli Zaretskii <eliz@gnu.org>
11708
11709 * net/mairix.el (mairix-replace-invalid-chars): Rename from
11710 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 11711 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
11712 (mairix-widget-create-query): Add usage information about mairix
11713 search forms: negating words, searching for substrings, etc.
11714
b9e501de
JP
117152012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
11716
11717 * international/fontset.el (font-encoding-alist): Add an entry for
11718 ksx1001 (Bug#5667).
11719
92795c91
RS
117202012-03-10 Richard Stallman <rms@gnu.org>
11721
1694e6c1
RS
11722 * mail/sendmail.el (mail-encode-header):
11723 Set rfc2047-encode-encoded-words.
11724
607e8555
RS
11725 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
11726
de3bc99a
RS
11727 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
11728 view buffer means not swapped.
11729 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
11730 (rmail-write-region-annotate): Error if real text has disappeared.
11731
92795c91
RS
11732 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
11733
699bd04e
CY
117342012-03-10 Chong Yidong <cyd@gnu.org>
11735
11736 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
11737 * emulation/cua-base.el (cua--init-keymaps):
11738 Add delete-forward-char to remappings (Bug#9666).
699bd04e 11739
570a1714
MR
117402012-03-10 Martin Rudalics <rudalics@gmx.at>
11741
dbbc2e69
SM
11742 * speedbar.el (speedbar-unhighlight-one-tag-line):
11743 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 11744
82dcf4e4
CY
117452012-03-10 Chong Yidong <cyd@gnu.org>
11746
7a2c7ca7
CY
11747 * minibuffer.el (completion-in-region, completion-help-at-point):
11748 Give the completion field overlay a high priority (Bug#6830).
11749
82dcf4e4
CY
11750 * dired.el (dired-goto-file): Recognize absolute file name
11751 listings (Bug#7126).
11752 (dired-goto-file-1): New helper function.
11753 (dired-toggle-read-only): Inhibit warnings.
11754
052e28ac
MA
117552012-03-09 Michael Albinus <michael.albinus@gmx.de>
11756
75f1671a 11757 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
11758 there are no properties.
11759
95d5e396
LL
117602012-03-09 Leo Liu <sdl.web@gmail.com>
11761
11762 * savehist.el (savehist-printable): Stricter check for string
11763 value (Bug#10937).
11764
3f018d6d
EZ
117652012-03-09 Eli Zaretskii <eliz@gnu.org>
11766
dbbc2e69
SM
11767 * mail/smtpmail.el (smtpmail-send-it):
11768 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
11769 valid mbox format.
11770
f7fd3d79
GM
117712012-03-09 Glenn Morris <rgm@gnu.org>
11772
11773 * files.el (dir-locals-find-file):
11774 Don't check result is regular, readable.
11775 (dir-locals-read-from-file): Demote errors.
11776
6ff6e72f
EZ
117772012-03-08 Eli Zaretskii <eliz@gnu.org>
11778
dbbc2e69
SM
11779 * international/quail.el (quail-insert-kbd-layout):
11780 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
11781 layout cell, to prevent their reordering by bidi display engine.
11782 For details, see the discussion in
11783 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
11784
9cec7834
AM
117852012-03-08 Alan Mackenzie <acm@muc.de>
11786
11787 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
11788 the starting position; make it extend the marked region when
11789 invoked repeatedly - all under appropriate circumstances.
11790 Fixes bugs #5525, #10906.
11791
9a40b8d4
GM
117922012-03-08 Glenn Morris <rgm@gnu.org>
11793
11794 * files.el (locate-dominating-file, dir-locals-find-file):
11795 Undo 2012-03-06 change.
11796
7a08ed35
EZ
117972012-03-07 Eli Zaretskii <eliz@gnu.org>
11798
dbbc2e69
SM
11799 * international/quail.el (quail-help):
11800 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
11801 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
11802 for the reason.
11803
5aca4f71 118042012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
11805
11806 Avoid superfluous registering of signals. (Bug#10807)
11807
11808 * notifications.el (notifications-on-action-object)
11809 (notifications-on-close-object): New defvars.
11810 (notifications-on-action-signal, notifications-on-closed-signal):
11811 Unregister the signal if not needed any longer.
11812 (notifications-notify): Register `notifications-action-signal' or
11813 `notifications-closed-signal', if :on-action or :on-close has been
11814 passed as argument.
11815
78e8b10a
CY
118162012-03-07 Chong Yidong <cyd@gnu.org>
11817
11818 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
11819 non-X platforms.
11820
69481eb8
GM
118212012-03-06 Glenn Morris <rgm@gnu.org>
11822
11823 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
11824 (x-disown-selection-internal, x-get-selection-internal):
11825 Doc fix (add arglist signatures). (Bug#10783)
11826
133b8e11
KS
118272012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
11828
11829 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
11830 Handle breakpoints with no "type".
11831
99a83064
GM
118322012-03-06 Glenn Morris <rgm@gnu.org>
11833
11834 * files.el (locate-dominating-file): Add optional predicate argument.
11835 (dir-locals-find-file): Make use of above change.
11836
17798e78
TTN
118372012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
11838
11839 * info.el (Info-insert-dir): Also try "dir.gz".
11840
eb182446
GM
118412012-03-06 Glenn Morris <rgm@gnu.org>
11842
8f2114ee
GM
11843 * files.el (dir-locals-find-file):
11844 Ignore non-readable or non-regular files. (Bug#10928)
11845
eb182446
GM
11846 * files.el (locate-dominating-file): Doc fix.
11847
24679323
AS
118482012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
11849
11850 * calendar/calendar.el (calendar-set-mode-line):
11851 `getenv' returns a string. (Bug#10951)
11852
01d972a9
LL
118532012-03-05 Leo Liu <sdl.web@gmail.com>
11854
109aa8a9
LL
11855 * simple.el (backward-delete-char-untabify): Constrain point to
11856 field (Bug#10939).
11857
01d972a9
LL
11858 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
11859
10607bea
CY
118602012-03-05 Chong Yidong <cyd@gnu.org>
11861
11862 * simple.el (count-words): If called from Lisp, return the word
11863 count, for symmetry with `count-lines'. Arglist changed.
11864 (count-words--message): Args changed. Consolidate counting code
11865 from count-words and count-words-region.
11866 (count-words-region): Caller changed.
11867 (count-lines-region): Make it an obsolete alias.
11868
5dd11cfe
TH
118692012-03-04 Tassilo Horn <tassilo@member.fsf.org>
11870
11871 * saveplace.el (save-place-to-alist)
11872 (save-place-ignore-files-regexp): Allow value nil to disable this
11873 feature.
11874
c349f4e6
CY
118752012-03-04 Chong Yidong <cyd@gnu.org>
11876
11877 * faces.el (face-spec-reset-face): For the default face, reset the
11878 attributes to default values (Bug#10748).
11879
e627be4c
LMI
118802012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
11881
11882 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
11883 previous patch: Check `message-send-mail-function', and not the
11884 default function (bug#10897).
11885
ebeabff4
MA
118862012-03-04 Michael Albinus <michael.albinus@gmx.de>
11887
a41a6cf4
MA
11888 * notifications.el (notifications-on-action-signal)
11889 (notifications-on-closed-signal): Check for unique service name of
11890 incoming event. Fix error in removing entry.
ebeabff4 11891 (top): Register for signals with wildcard service name.
a41a6cf4 11892 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 11893
c1ca42b4
CY
118942012-03-04 Chong Yidong <cyd@gnu.org>
11895
dc9924b8 11896 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 11897
ea16568d
GM
118982012-03-04 Glenn Morris <rgm@gnu.org>
11899
11900 * abbrev.el (copy-abbrev-table, abbrev-table-p)
11901 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
11902 (expand-abbrev, define-abbrev-table): Doc fixes.
11903
fbae4637
LMI
119042012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
11905
11906 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
11907 `message-default-send-mail-function' and not `send-mail-function'
11908 when doing the prompting for `sendmail-query-once' before sending
11909 in Message buffers (bug#10897).
11910
a1e7225c
LMI
11911 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
11912 This is inconsistent with all the other stream functions, which leave
11913 the setting up to the higher levels (if so wanted) (bug#10931).
11914
56d093a9
AM
119152012-03-02 Alan Mackenzie <acm@muc.de>
11916
11917 Depessimize the handling of very large macros.
11918
11919 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
11920 (c-macro-cache-syntactic): New variables to implement a one
11921 element macro cache.
11922 (c-invalidate-macro-cache): New function.
11923 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
11924 Adapt to use the new cache.
11925 (c-state-safe-place): Use better the cache of safe positions.
11926 (c-state-semi-nonlit-pos-cache)
11927 (c-state-semi-nonlit-pos-cache-limit):
11928 New variables for...
11929 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
11930 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
11931 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
11932 Use c-state-semi-safe-place.
56d093a9 11933
dbbc2e69
SM
11934 * progmodes/cc-langs.el (c-get-state-before-change-functions):
11935 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 11936
817e5c3d
MA
119372012-03-02 Michael Albinus <michael.albinus@gmx.de>
11938
dbbc2e69
SM
11939 * jka-compr.el (jka-compr-call-process):
11940 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
11941 not remote.
11942
a032a702
MA
119432012-03-01 Michael Albinus <michael.albinus@gmx.de>
11944
11945 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
11946 access of FILE2, if FILE1 does not exist.
11947
99a54f21
MA
11948 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
11949 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
11950
11951 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
11952 Add "PAGER=" to `process-environment'.
11953
f6561e1f
MM
119542012-03-01 Michael R. Mauger <mmaug@yahoo.com>
11955
11956 * progmodes/sql.el: Bug fix
11957 (sql-get-login-ext): Save login values in globals.
11958 (sql-get-login): Use new version of `sql-get-login-ext'.
11959 (sql-interactive-mode): Set global `sql-connection' to nil.
11960 (sql-connect): Set global values for connection.
11961 (sql-product-interactive): Save global values as buffer local.
11962
2d44d9cc
LL
119632012-02-29 Leo Liu <sdl.web@gmail.com>
11964
11965 * abbrev.el (define-abbrevs): Reset sys to nil.
11966
96b49301 119672012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11968
bf7f9bc5
JB
11969 * files.el (file-equal-p): Rename from `files-equal-p'.
11970 Return nil when one or both files don't exist.
96b49301 11971 (file-subdir-of-p): Now only top directory must exists,
11972 return nil if it doesn't.
bf7f9bc5
JB
11973 (copy-directory): No need to test with `file-subdir-of-p' after
11974 creating dir.
11975 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
11976 to `file-equal-p'.
96b49301 11977
44e97401
GM
119782012-02-28 Glenn Morris <rgm@gnu.org>
11979
11980 * shell.el (shell-mode):
11981 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
11982 * play/landmark.el (landmark-font-lock-face-O):
11983 * play/handwrite.el (handwrite):
11984 * play/gomoku.el (gomoku-O):
11985 * net/browse-url.el (browse-url-browser-display):
11986 * international/mule.el (define-charset):
11987 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
11988 * filesets.el (filesets-find-file-delay):
11989 * eshell/em-xtra.el (eshell-xtra):
11990 * eshell/em-unix.el (eshell-grep):
11991 * emulation/viper.el (viper-mode):
11992 * emacs-lisp/regexp-opt.el (regexp-opt-group):
11993 * emacs-lisp/easymenu.el (easy-menu-define):
11994 * calendar/timeclock.el (timeclock-use-display-time):
11995 * bs.el (bs-mode):
11996 * bookmark.el (bookmark-save-flag):
11997 Doc fix (standardize possessive apostrophe usage).
11998
c98c6276
CY
119992012-02-27 Chong Yidong <cyd@gnu.org>
12000
bf7f9bc5
JB
12001 * emulation/viper-cmd.el (viper-intercept-ESC-key):
12002 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 12003
c98c6276
CY
12004 * font-lock.el (font-lock-specified-p): Rename from
12005 font-lock-spec-present. Callers changed.
12006
9c62cd04 120072012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 12008
bf7f9bc5
JB
12009 * emacs-lisp/package.el (package-compute-transaction):
12010 Handle holding a package version to t in package-load-list.
8ac9e529 12011
530739c9
MA
120122012-02-26 Michael Albinus <michael.albinus@gmx.de>
12013
12014 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
12015 (tramp-get-inode, tramp-get-device): Use cached values.
12016
487915d7
AM
120172012-02-26 Alan Mackenzie <acm@muc.de>
12018
12019 Check there is a font-lock specification before doing initial
12020 fontification.
12021
12022 * font-core.el (font-lock-mode): Move the conditional from
12023 :after-hook to font-lock-initial-fontify.
12024 (font-lock-default-function): Move the check for a specification
12025 to font-lock-spec-present.
12026
dc9924b8 12027 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
12028 (font-lock-spec-present): New function.
12029
4fd96557
JB
120302012-02-26 Jim Blandy <jimb@red-bean.com>
12031
12032 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
12033 (gdb-send): Apply it to the operand of the '-interpreter-exec
12034 console' command, so that we can pass arguments with (say) quotes
12035 in them. Store exact string sent in gdb-debug-log (Bug#10765).
12036
9a4888c0
CY
120372012-02-26 Chong Yidong <cyd@gnu.org>
12038
07498861
CY
12039 * help-fns.el (describe-function-1): Clarify description of
12040 remapping (Bug#10844).
12041
9a4888c0
CY
12042 * files.el (files-equal-p): Doc fix.
12043 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
12044 and quit the loop once a mismatch is found.
12045
ea8fb88d
JB
120462012-02-25 Juanma Barranquero <lekktu@gmail.com>
12047
12048 * bs.el (bs--show-with-configuration): Don't throw an error
12049 if the window cannot be split; otherwise, subsequent calls to
12050 bs-show fail, restoring a stale window config. (Bug#10882)
12051
525795c1
JD
120522012-02-25 Jan Djärv <jan.h.d@swipnet.se>
12053
12054 * term/ns-win.el (global-map): Bind ns-drag-file to
12055 ns-find-file (Bug#5855, Bug#10050).
12056
f008086f
AS
120572012-02-25 Andreas Schwab <schwab@linux-m68k.org>
12058
12059 * calendar/parse-time.el (parse-time-string): Allow extractor to
12060 return nil.
12061
a3fcfa99
MA
120622012-02-25 Michael Albinus <michael.albinus@gmx.de>
12063
91027d08
JB
12064 * net/tramp.el (tramp-file-name-for-operation):
12065 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
12066
12067 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
12068 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
12069 Add COPY-CONTENTS argument.
a3fcfa99 12070
67b0de11
CY
120712012-02-25 Chong Yidong <cyd@gnu.org>
12072
12073 Add custom groups for VC backends, for consistency with vc-bzr.
12074
12075 * vc/vc-arch.el (vc-arch):
12076 * vc/vc-cvs.el (vc-cvs):
12077 * vc/vc-git.el (vc-git):
12078 * vc/vc-hg.el (vc-hg):
12079 * vc/vc-mtn.el (vc-mtn):
12080 * vc/vc-rcs.el (vc-rcs):
12081 * vc/vc-sccs.el (vc-sccs):
12082 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
12083 All relevant defcustoms reassigned.
12084
3c9dfce6
CY
120852012-02-25 Chong Yidong <cyd@gnu.org>
12086
1339bf43
CY
12087 * newcomment.el (comment-styles): Add autoload (Bug#10868).
12088
3c9dfce6
CY
12089 * term/x-win.el (x-initialize-window-system): Reduce default for
12090 x-selection-timeout to 5 seconds (Bug#8869).
12091
25b2e303 120922012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12093
ec70a47d
GM
12094 * files.el (files-equal-p, file-subdir-of-p): New functions.
12095 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 12096 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
12097 * dired-aux.el (dired-copy-file-recursive): Same.
12098 (dired-create-files): Modify destination when source is equal to
12099 dest when copying files.
53a46cd0 12100 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 12101
914260cd
MA
121022012-02-24 Michael Albinus <michael.albinus@gmx.de>
12103
12104 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
12105 (Bug#10874)
12106
2cb228f7
AM
121072012-02-23 Alan Mackenzie <acm@muc.de>
12108
12109 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
12110 parameter "after-hook:" to allow the expansion to run code after
12111 the execution of the mode hooks.
12112
12113 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 12114 from font-lock-mode-internal.
2cb228f7 12115
91027d08 12116 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
12117 :after-hook.
12118
8f0fde21
SM
121192012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
12120
3e88618b
SM
12121 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
12122 (completion--cache-all-sorted-completions): New function.
12123 (completion-all-sorted-completions): Use it.
12124 (completion--do-completion, minibuffer-force-complete):
12125 Use it to re-instate the flush hook.
12126
8f0fde21
SM
12127 * icomplete.el (icomplete-completions): Replace last fix with a better
12128 one (bug#10850).
12129
8e911f6f
DG
121302012-02-23 Dmitry Gutov <dgutov@yandex.ru>
12131
12132 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
12133 when it might call us back infinitely (bug#10797).
12134
49fe4321
GM
121352012-02-23 Glenn Morris <rgm@gnu.org>
12136
12137 * minibuffer.el (completion-category-overrides): Doc fix.
12138
b291b572
SM
121392012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
12140
12141 * minibuffer.el (completion-table-with-context): Fix inf-loop.
12142 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
12143
31a9ef2e
GM
121442012-02-23 Glenn Morris <rgm@gnu.org>
12145
5e6e6794 12146 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
12147 (authors-obsolete-files-regexps, authors-ignored-files)
12148 (authors-ambiguous-files, authors-renamed-files-alist):
12149 Add more entries.
12150
0bd1e074
JL
121512012-02-23 Juri Linkov <juri@jurta.org>
12152
12153 * isearch.el (isearch-occur): Sync interactive spec with occur's
12154 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
12155
b617673c
JL
12156 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
12157
19e9789e
JL
121582012-02-22 Juri Linkov <juri@jurta.org>
12159
12160 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
12161 (ucs-insert): Doc fix. Check for hex digits in the string.
12162 Don't display `nil' in the error message. (Bug#10857)
12163
f41ce09d
AM
121642012-02-22 Alan Mackenzie <acm@muc.de>
12165
7a71b18d 12166 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 12167
ac2eceee
GM
121682012-02-22 Glenn Morris <rgm@gnu.org>
12169
12170 * ffap.el (ffap-c-path):
12171 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
12172
abd1f678
CY
121732012-02-22 Chong Yidong <cyd@gnu.org>
12174
12175 * custom.el (load-theme): Doc fix.
12176
f25aef2e
GM
121772012-02-22 Glenn Morris <rgm@gnu.org>
12178
12179 * dired-x.el (dired-guess-shell-alist-default):
12180 Remove escape sequences from nroff output. (Bug#172)
12181
5f8dc2ca
GM
121822012-02-21 Glenn Morris <rgm@gnu.org>
12183
6ff86ec4
GM
12184 * vc/emerge.el (emerge-defvar-local):
12185 Set `permanent-local' property rather than unused `preserved'.
12186
be3223a3 12187 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
12188 (picture-mode-map): Use it. (Bug#10860)
12189 (picture-mode): Doc fix.
12190
3fe58f4f
JB
121912012-02-21 Juanma Barranquero <lekktu@gmail.com>
12192
12193 * newcomment.el (uncomment-region-default): Remove unused binding.
12194
f9a998c3
GM
121952012-02-21 Glenn Morris <rgm@gnu.org>
12196
12197 * textmodes/picture.el (picture-motion, picture-motion-reverse)
12198 (picture-self-insert, picture-tab-chars): Doc fix.
12199 (picture-mode-map): Fix C-a, C-e.
12200
c6029348
GM
122012012-02-20 Glenn Morris <rgm@gnu.org>
12202
12203 * emacs-lisp/authors.el (authors-aliases): Add another entry.
12204
ab1ce9d7
LL
122052012-02-20 Leo Liu <sdl.web@gmail.com>
12206
12207 * icomplete.el (icomplete-completions): Check FROM arg before
12208 passing to substring (Bug#10850).
12209
0fd40f89
CY
122102012-02-19 Chong Yidong <cyd@gnu.org>
12211
12212 * comint.el: Require ansi-color.
12213 (comint-output-filter-functions): Add ansi-color-process-output.
12214
12215 * ansi-color.el: Don't set comint-output-filter-functions; it is
12216 now in the initial value defined in comint.el.
12217 (ansi-color-apply-face-function): New variable.
12218 (ansi-color-apply-on-region): Use it.
12219 (ansi-color-apply-overlay-face): New function.
12220
12221 * shell.el (shell): No need to require ansi-color.
12222 (shell-mode): Use ansi-color-apply-face-function to highlight
12223 color escapes using font-lock-face property (Bug#10835).
12224
20af2394
CY
122252012-02-19 Chong Yidong <cyd@gnu.org>
12226
12227 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
12228 mode-line formats (Bug#10839).
12229
e23a3fbe
GM
122302012-02-18 Glenn Morris <rgm@gnu.org>
12231
b474519e
GM
12232 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
12233
12234 * mail/undigest.el (unforward-rmail-message): Doc fix.
12235
e23a3fbe
GM
12236 * saveplace.el (save-place-ignore-files-regexp): Add :version.
12237
57939ff4
EZ
122382012-02-18 Eli Zaretskii <eliz@gnu.org>
12239
12240 * international/characters.el (script-list): Sync with the latest
12241 Unicode Character Database.
12242
0c23686e
AS
122432012-02-18 Andreas Schwab <schwab@linux-m68k.org>
12244
12245 * international/titdic-cnv.el: Remove duplicate coding tag.
12246 * language/cham.el: Likewise.
12247 * language/tai-viet.el: Likewise.
12248
6818b449
GM
122492012-02-18 Glenn Morris <rgm@gnu.org>
12250
12251 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
12252 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
12253 (calendar-bahai-all-holidays-flag, calendar-other-dates):
12254 * calendar/diary-lib.el (diary-abbreviated-year-flag):
12255 * calendar/holidays.el (holiday-bahai-holidays)
12256 (calendar-holidays, list-holidays):
12257 Use utf-8 Bahá'í in doc-strings, menus, etc.
12258
0311a3fc
TH
122592012-02-17 Tassilo Horn <tassilo@member.fsf.org>
12260
12261 * saveplace.el (save-place-ignore-files-regexp): New variable
12262 allowing for excluding files from saving their location of point.
12263 The default value matches the temporary commit message editing
12264 files from Git, SVN, Bazaar, and Mercurial.
12265 (save-place-to-alist): Use it.
12266
d209e2fb 122672012-02-17 Lawrence Mitchell <wence@gmx.li>
f1a71c6e 12268 Stefan Monnier <monnier@iro.umontreal.ca>
eb864a71
LM
12269
12270 * newcomment.el (uncomment-region-default): Don't leave extra space
12271 when an arg is provided (bug#8150).
12272
ee0ce425
TZ
122732012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
12274
eb864a71 12275 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 12276
95ddf442
GM
122772012-02-17 Glenn Morris <rgm@gnu.org>
12278
12279 * net/socks.el: Require network-stream. (Bug#10599)
12280
48dd1e39 122812012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
12282
12283 * international/charprop.el:
12284 * international/uni-name.el:
12285 * international/uni-old-name.el:
12286 * international/uni-comment.el: Regenerate.
12287
d68cd087
GM
122882012-02-16 Glenn Morris <rgm@gnu.org>
12289
12290 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
12291 Interactively in calendar buffer, give an error if not on a date.
12292
13932042
GM
122932012-02-15 Glenn Morris <rgm@gnu.org>
12294
12295 * shell.el (shell-delimiter-argument-list):
12296 Revert 2011-02-17 change. (Bug#8027)
12297
c3a70e2b
CY
122982012-02-15 Chong Yidong <cyd@gnu.org>
12299
60236b0d
CY
12300 * minibuffer.el (completion-at-point-functions): Doc fix.
12301
c3a70e2b
CY
12302 * custom.el (defcustom): Doc fix; note use of defvar.
12303
9f26dc24
GM
123042012-02-15 Glenn Morris <rgm@gnu.org>
12305
12306 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
12307 Doc fixes.
12308
6546b134
GM
123092012-02-14 Glenn Morris <rgm@gnu.org>
12310
12311 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
12312
d29b2b4c
LI
123132012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
12314
12315 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
12316 way the ports list is computed.
835bdcba
LI
12317 (smtpmail-query-smtp-server): Prompt the user for a port number if
12318 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 12319
08dcdbc9
TZ
123202012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
12321
12322 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
12323
2605051a
GM
123242012-02-13 Glenn Morris <rgm@gnu.org>
12325
12326 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
12327
7ee99f32
TZ
123282012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
12329
12330 * net/gnutls.el (gnutls-trustfiles): New variable.
12331 (gnutls-negotiate): Use it.
12332
5f0af64f
LI
123332012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
12334
12335 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
12336 does its stuff if Gnus is running.
12337
c14fcc95
AM
123382012-02-13 Alan Mackenzie <acm@muc.de>
12339
12340 Fix a loop in c-set-fl-decl-start.
12341
7a71b18d 12342 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
12343 c-backward-syntactic-ws actually moves backwards.
12344
142b4d90
LL
123452012-02-13 Leo Liu <sdl.web@gmail.com>
12346
12347 * net/rcirc.el (rcirc-markup-attributes): Move point to the
12348 beginning so that all \C-o chars are removed.
12349
fa9958a6
TZ
123502012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
12351
dc9924b8 12352 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 12353
0bc5886a
AM
123542012-02-12 Alan Mackenzie <acm@muc.de>
12355
12356 Fix infinite loop with long macros.
4d6769e1 12357 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 12358
d4bd55e7
CY
123592012-02-12 Chong Yidong <cyd@gnu.org>
12360
12361 * window.el (display-buffer): Doc fix (Bug#10785).
12362
66f3fe22
GM
123632012-02-12 Glenn Morris <rgm@gnu.org>
12364
bd7da63e
GM
12365 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
12366 (x-disown-selection-internal, x-get-selection-internal):
12367 Sync docs with the xselect.c versions.
12368
66f3fe22
GM
12369 * allout-widgets.el: Add missing license notice.
12370
3e0d2fa7
GM
123712012-02-11 Glenn Morris <rgm@gnu.org>
12372
cfecdf09
GM
12373 * select.el (x-get-selection-internal, x-own-selection-internal)
12374 (x-disown-selection-internal):
12375 * x-dnd.el (x-get-selection-internal): Update declarations.
12376
6d216d7f
GM
12377 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
12378
2bed3f04
GM
12379 * window.el (window-sides-slots):
12380 * tool-bar.el (tool-bar-position):
12381 * term/xterm.el (xterm-extra-capabilities):
12382 * ses.el (ses-self-reference-early-detection):
12383 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
12384 (verilog-auto-wire-type)
12385 (verilog-auto-delete-trailing-whitespace)
12386 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
12387 (verilog-auto-tieoff-declaration):
12388 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
12389 (sql-oracle-statement-starters, sql-oracle-scan-on):
12390 * progmodes/prolog.el (prolog-align-comments-flag)
12391 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
12392 (prolog-left-indent-regexp, prolog-paren-indent-p)
12393 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
12394 (prolog-types, prolog-mode-specificators)
12395 (prolog-determinism-specificators, prolog-directives)
12396 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
12397 (prolog-electric-dot-flag)
12398 (prolog-electric-dot-full-predicate-template)
12399 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
12400 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
12401 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
12402 (prolog-program-switches, prolog-prompt-regexp)
12403 (prolog-debug-on-string, prolog-debug-off-string)
12404 (prolog-trace-on-string, prolog-trace-off-string)
12405 (prolog-zip-on-string, prolog-zip-off-string)
12406 (prolog-use-standard-consult-compile-method-flag)
12407 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
12408 (prolog-imenu-max-lines, prolog-info-predicate-index)
12409 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
12410 (prolog-char-quote-workaround):
12411 * progmodes/cc-vars.el (c-defun-tactic):
12412 * net/tramp.el (tramp-encoding-command-interactive)
12413 (tramp-local-end-of-line):
12414 * net/soap-client.el (soap-client):
12415 * net/netrc.el (netrc-file):
12416 * net/gnutls.el (gnutls):
12417 * minibuffer.el (completion-category-overrides)
12418 (completion-cycle-threshold)
12419 (completion-pcm-complete-word-inserts-delimiters):
12420 * man.el (Man-name-local-regexp):
12421 * mail/feedmail.el (feedmail-display-full-frame):
12422 * international/characters.el (glyphless-char-display-control):
12423 * eshell/em-ls.el (eshell-ls-date-format):
12424 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
12425 (lisp-lambda-list-keyword-parameter-indentation)
12426 (lisp-lambda-list-keyword-parameter-alignment):
12427 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
12428 * dired-x.el (dired-omit-verbose):
12429 * cus-theme.el (custom-theme-allow-multiple-selections):
12430 * calc/calc.el (calc-highlight-selections-with-faces)
12431 (calc-lu-field-reference, calc-lu-power-reference)
12432 (calc-note-threshold):
12433 * battery.el (battery-mode-line-limit):
12434 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
12435 (archive-7z-update):
12436 * allout.el (allout-prefixed-keybindings)
12437 (allout-unprefixed-keybindings)
12438 (allout-inhibit-auto-fill-on-headline)
12439 (allout-flattened-numbering-abbreviation):
12440 * allout-widgets.el (allout-widgets-auto-activation)
12441 (allout-widgets-icons-dark-subdir)
12442 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
12443 (allout-widgets-theme-dark-background)
12444 (allout-widgets-theme-light-background)
12445 (allout-widgets-item-image-properties-emacs)
12446 (allout-widgets-item-image-properties-xemacs)
12447 (allout-widgets-run-unit-tests-on-load)
12448 (allout-widgets-time-decoration-activity)
12449 (allout-widgets-hook-error-post-time)
12450 (allout-widgets-track-decoration):
12451 Add missing :version tags to new defcustoms and defgroups.
12452
5fec1b8e
GM
12453 * progmodes/sql.el (sql-ansi-statement-starters)
12454 (sql-oracle-statement-starters): Add custom type.
12455
3e0d2fa7
GM
12456 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
12457 (prolog-system-version): Give it a type.
12458
90b671e2
EZ
124592012-02-11 Eli Zaretskii <eliz@gnu.org>
12460
12461 * term/pc-win.el (x-select-text, x-selection-owner-p)
12462 (x-own-selection-internal, x-disown-selection-internal)
12463 (x-get-selection-internal): Sync doc strings and argument lists
12464 with xselect.c, common-win.el and x-win.el. (Bug#10783)
12465
5eac0c02
LL
124662012-02-11 Leo Liu <sdl.web@gmail.com>
12467
12468 * progmodes/python.el (python-end-of-statement): Fix infinite
12469 loop. (Bug#10788)
12470
f82cb659
GM
124712012-02-10 Glenn Morris <rgm@gnu.org>
12472
12473 * international/mule-cmds.el (unify-8859-on-encoding-mode)
12474 (unify-8859-on-decoding-mode): Properly mark as obsolete.
12475
cc26d239
LI
124762012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
12477
12478 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
12479 about SMTP before checking the From header.
12480
91027d08 12481 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
12482 into own function for reuse by emacsbug.el.
12483
1be3ca5a
LL
124842012-02-10 Leo Liu <sdl.web@gmail.com>
12485
12486 * subr.el (condition-case-unless-debug): Rename from
12487 condition-case-no-debug. All callers changed.
12488 (with-demoted-errors): Fix caller.
12489
12490 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
12491 * nxml/rng-valid.el (rng-do-some-validation):
12492 * emacs-lisp/package.el (package-refresh-contents)
12493 (package-menu-execute):
12494 * desktop.el (desktop-create-buffer):
91027d08 12495 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 12496
b011fbfe
GM
124972012-02-10 Glenn Morris <rgm@gnu.org>
12498
b2096d72
GM
12499 * textmodes/bibtex.el:
12500 Add missing :version tags for new/changed defcustoms.
12501
b011fbfe
GM
12502 * files.el (remote-file-name-inhibit-cache): Doc fixes.
12503
4c7e65bf
LI
125042012-02-09 Lars Ingebrigtsen <larsi@rusty>
12505
12506 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
12507 (smtpmail-via-smtp): Use it, or fall back on the From address.
12508 (smtpmail-send-it): Ditto.
12509
f3934f6f
SM
125102012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
12511
12512 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
12513 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
12514 (byte-compile-tmp-var): New const.
12515 (byte-compile-defvar): Use it to minimize .elc size.
12516 Just use `defvar' rather than simulate it (bug#10761).
12517
a075a2c5
GM
125182012-02-09 Glenn Morris <rgm@gnu.org>
12519
cf3aa21b
GM
12520 * files.el (rename-uniquely): Doc fix. (Bug#3806)
12521
354998cd
GM
12522 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
12523 Add :version tags.
12524
dc9924b8
SM
12525 * progmodes/compile.el (compilation-error-screen-columns)
12526 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 12527
dab3703d
GM
12528 * vc/log-view.el (log-view-toggle-entry-display):
12529 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
12530
3f88cd72
GM
12531 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
12532 (report-emacs-bug-can-use-xdg-email):
12533 (report-emacs-bug-insert-to-mailer): Doc fixes.
12534 (report-emacs-bug): Message fix.
12535
d95b247d
GM
12536 * net/browse-url.el (browse-url-can-use-xdg-open)
12537 (browse-url-xdg-open): Doc fixes.
12538
a075a2c5
GM
12539 * electric.el (electric-indent-mode, electric-pair-mode)
12540 (electric-layout-rules, electric-layout-mode): Doc fixes.
12541 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
12542
ffb6157e
MR
125432012-02-08 Martin Rudalics <rudalics@gmx.at>
12544
12545 * server.el (server-unselect-display): Don't inadvertently kill
12546 the current buffer. (Bug#10729)
12547
e1ac4066
GM
125482012-02-08 Glenn Morris <rgm@gnu.org>
12549
34e8a2da
GM
12550 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
12551 (sql-list-table): Doc fixes.
12552
b4ac6e8c
GM
12553 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
12554 Comment out (does nothing).
12555
e1ac4066
GM
12556 * completion.el (dynamic-completion-mode):
12557 * dirtrack.el (dirtrack-debug-mode):
12558 * electric.el (electric-layout-mode):
12559 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
12560 * face-remap.el (text-scale-mode, buffer-face-mode):
12561 * iimage.el (iimage-mode):
12562 * image-mode.el (image-transform-mode):
12563 * minibuffer.el (completion-in-region-mode):
12564 * scroll-lock.el (scroll-lock-mode):
12565 * simple.el (next-error-follow-minor-mode):
12566 * tar-mode.el (tar-subfile-mode):
12567 * tooltip.el (tooltip-mode):
12568 * vcursor.el (vcursor-use-vcursor-map):
12569 * wid-browse.el (widget-minor-mode):
12570 * emulation/tpu-edt.el (tpu-edt-mode):
12571 * emulation/tpu-extras.el (tpu-cursor-free-mode):
12572 * international/iso-ascii.el (iso-ascii-mode):
12573 * language/thai-util.el (thai-word-mode):
12574 * mail/supercite.el (sc-minor-mode):
12575 * net/goto-addr.el (goto-address-mode):
12576 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
12577 * progmodes/cwarn.el (cwarn-mode):
12578 * progmodes/flymake.el (flymake-mode):
12579 * progmodes/glasses.el (glasses-mode):
12580 * progmodes/hideshow.el (hs-minor-mode):
12581 * progmodes/pascal.el (pascal-outline-mode):
12582 * textmodes/enriched.el (enriched-mode):
12583 * vc/smerge-mode.el (smerge-mode):
12584 Doc fixes (minor mode argument).
12585
5e0d957f
EZ
125862012-02-07 Eli Zaretskii <eliz@gnu.org>
12587
12588 * ls-lisp.el (ls-lisp-sanitize): New function.
12589 (ls-lisp-insert-directory): Use it to fix or remove any elements
12590 in file-alist with missing attributes. (Bug#4673)
12591
98d7371e
AM
125922012-02-07 Alan Mackenzie <acm@muc.de>
12593
12594 Fix spurious recognition of c-in-knr-argdecl.
12595
12596 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
12597 putative K&R region.
12598
667ced3a
AM
125992012-02-07 Alan Mackenzie <acm@muc.de>
12600
eb864a71
LM
12601 * progmodes/cc-engine.el (c-forward-objc-directive):
12602 Prevent looping in "#pragma mark @implementation".
667ced3a 12603
5b77774d
MA
126042012-02-07 Michael Albinus <michael.albinus@gmx.de>
12605
12606 * notifications.el (notifications-on-closed-signal): Make `reason'
12607 optional. (Bug#10744)
12608
af008560
GM
126092012-02-07 Glenn Morris <rgm@gnu.org>
12610
60d47423
GM
12611 * emacs-lisp/easy-mmode.el (define-minor-mode):
12612 Doc fixes for the macro and the mode it defines.
12613
dd605cc4
GM
12614 * image.el (imagemagick-types-inhibit): Doc fix.
12615
af008560
GM
12616 * cus-start.el (imagemagick-render-type): Add it.
12617
5cc59a37
LI
126182012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
12619
4d6769e1
JB
12620 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
12621 Set the default at load time, too, so that `font-lock-fontify-buffer'
12622 can be called without setting up the entire mode first. This fixes
12623 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 12624
9a6dd747
CY
126252012-02-06 Chong Yidong <cyd@gnu.org>
12626
2d16b285
CY
12627 * simple.el (list-processes--refresh): Delete exited processes
12628 (Bug#8094).
12629
171e9b6e
CY
12630 * comint.el (comint-next-prompt): next-single-char-property-change
12631 and prev-single-char-property-change never return nil (Bug#8657).
12632
9a6dd747
CY
12633 * custom.el (defcustom): Doc fix (Bug#9711).
12634
aa4589a7
CY
126352012-02-05 Chong Yidong <cyd@gnu.org>
12636
5c2a252f
CY
12637 * cus-edit.el (custom-variable-reset-backup): Quote the value
12638 before storing it in the customized-value property (Bug#6712).
4aab9006 12639 (custom-display): Add a customization type tag.
983b9602 12640 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 12641
aa4589a7
CY
12642 * wid-edit.el (widget-field-value-get): New optional arg to
12643 suppress trailing whitespace truncation.
12644 (character): Use it (Bug#2689).
12645
1ff980ae
AS
126462012-02-05 Andreas Schwab <schwab@linux-m68k.org>
12647
12648 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
12649 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
12650
03988c98
CY
126512012-02-05 Chong Yidong <cyd@gnu.org>
12652
eeb6cc88
CY
12653 * cus-edit.el (custom-variable-value-create): For mismatched
12654 types, show the current value (Bug#7600).
12655
03988c98
CY
12656 * custom.el (defcustom): Doc fix.
12657
f8cdeef0
GM
126582012-02-05 Glenn Morris <rgm@gnu.org>
12659
12660 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
12661
0696d255
JB
126622012-02-05 Juanma Barranquero <lekktu@gmail.com>
12663
12664 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
12665 (pp-buffer): Use `ignore-errors', `looking-at-p'.
12666 (pp-last-sexp): Use `looking-at-p'.
12667
34c99998
GM
126682012-02-04 Glenn Morris <rgm@gnu.org>
12669
8f05da42
GM
12670 * files.el (revert-buffer):
12671 Doc fix (mention revert-buffer-in-progress-p).
12672
f160676e
GM
12673 * emacs-lisp/ert-x.el (ert-simulate-command):
12674 Check deferred-action-list (which is obsolete) is bound.
12675
c7291ad9
GM
12676 * subr.el (with-wrapper-hook): Doc fixes.
12677
34c99998
GM
12678 * simple.el (filter-buffer-substring-functions)
12679 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
12680
6283a7d3
LL
126812012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
12682
12683 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
12684 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
12685
e96e3013
LL
126862012-02-04 Leo Liu <sdl.web@gmail.com>
12687
12688 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
12689
8ded50f2
GM
126902012-02-04 Glenn Morris <rgm@gnu.org>
12691
82ff1d13
GM
12692 * image.el (image-extension-data): Add obsolete alias.
12693
987a0a16
GM
12694 * isearch.el (isearch-update): Doc fix.
12695
ea32ef46
GM
12696 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
12697
8ded50f2
GM
12698 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
12699
eea14f31
GM
127002012-02-03 Glenn Morris <rgm@gnu.org>
12701
12702 * image.el (image-animated-p): Doc fix. Use image-animated-types.
12703 (image-animate-timeout): Doc fix.
12704
12705 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
12706
12f381b7
GM
127072012-02-02 Glenn Morris <rgm@gnu.org>
12708
953cebf5
GM
12709 * server.el (server-auth-dir): Doc fix.
12710 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
12711
12f381b7
GM
12712 * subr.el (run-mode-hooks): Doc fix.
12713
953a8c3b
JL
127142012-02-02 Juri Linkov <juri@jurta.org>
12715
12716 * image-mode.el (image-toggle-display-image): Remove tautological
12717 `major-mode' from the `derived-mode-p' test.
12718
c5d3843c
KH
127192012-02-02 Kenichi Handa <handa@m17n.org>
12720
9f6e692e 12721 * composite.el (compose-region): Cancel previous change.
c5d3843c 12722
159462d4 127232012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
12724
12725 * composite.el (compose-region, compose-string): Signal error for
12726 a null string component (Bug#6988).
12727
9f562668
CY
127282012-02-01 Chong Yidong <cyd@gnu.org>
12729
e2cef717
CY
12730 * view.el (view-buffer-other-window, view-buffer-other-frame):
12731 Handle special modes like view-buffer (Bug#10650).
12732 (view-buffer): Simplify.
12733
9f562668
CY
12734 * frame.el (set-frame-font): Tweak meaning of third argument.
12735
9f6e692e
JB
12736 * dynamic-setting.el (font-setting-change-default-font):
12737 Use set-frame-font (Bug#9982).
9f562668 12738
781acb9f
GM
127392012-02-01 Glenn Morris <rgm@gnu.org>
12740
6035be52
GM
12741 * progmodes/compile.el (compilation-internal-error-properties):
12742 Respect compilation-first-column in the "*compilation*" buffer.
12743
781acb9f
GM
12744 * emacs-lisp/easy-mmode.el (define-minor-mode):
12745 Relax :variable's test for a named function.
12746
abbceb00
AM
127472012-01-31 Alan Mackenzie <acm@muc.de>
12748
12749 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
12750 off by one error.
12751
fce3fdeb
CY
127522012-01-31 Chong Yidong <cyd@gnu.org>
12753
12754 * frame.el (set-frame-font): New arg ALL-FRAMES.
12755
12756 * menu-bar.el (menu-set-font): Use set-frame-font.
12757
12758 * faces.el (face-spec-reset-face): Don't apply unspecified
12759 attribute values to the default face.
12760
47893581
JB
127612012-01-31 Juanma Barranquero <lekktu@gmail.com>
12762
12763 * progmodes/cwarn.el (cwarn): Remove dead link.
12764 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
12765 Remove * from defcustom docstrings.
12766 (turn-on-cwarn-mode): Make obsolete.
12767 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
12768 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
12769
e58e988a
GM
127702012-01-31 Glenn Morris <rgm@gnu.org>
12771
60dc2671 12772 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 12773 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 12774 Allow named functions to be used as the cdr of :variable.
e58e988a 12775
7a3f511d
GM
127762012-01-30 Glenn Morris <rgm@gnu.org>
12777
12778 * emacs-lisp/authors.el (authors-fixed-entries):
12779 Remove reference to deleted file rnewspost.el.
12780
cb882333
JB
127812012-01-29 Juanma Barranquero <lekktu@gmail.com>
12782
12783 * window.el (window-with-parameter): Remove unused variable `windows'.
12784 (window--side-check): Remove unused variable `code'.
12785 (window--resize-siblings): Remove unused variable `first'.
12786 (adjust-window-trailing-edge): Remove unused variable `failed'.
12787 (window-deletable-p, window--delete): Remove unused variable `buffer'.
12788 Use `let', not `let*'.
12789 (balance-windows-2): Remove unused variable `found'.
12790 (window--state-put-2): Remove unused variable `splits'.
12791 (window-state-put): Remove unused variable `selected'.
12792 (same-window-p): Use `string-match-p'.
12793 (display-buffer-assq-regexp): Remove unused variable `value'.
12794 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
12795 Mark argument ALIST as ignored.
12796 (pop-to-buffer): Remove unused variable `old-window'.
12797
907201af
EZ
127982012-01-29 Eli Zaretskii <eliz@gnu.org>
12799
12800 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
12801 and .lzma compressed files.
12802
ea162670
CY
128032012-01-29 Chong Yidong <cyd@gnu.org>
12804
5b95ee8a
CY
12805 * frame.el (window-system-default-frame-alist): Doc fix.
12806
ea162670
CY
12807 * dynamic-setting.el (font-setting-change-default-font): Don't
12808 change the default face if SET-FONT argument is non-nil (Bug#9982).
12809
6fccd6e8 128102012-01-29 Samuel Bronson <naesten@gmail.com>
d6e6f4b1
SB
12811
12812 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
12813
0f29fa41 128142012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
12815
12816 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
12817 breakpoints in files outside current directory (Bug#6098).
12818
db174434
CY
128192012-01-29 Chong Yidong <cyd@gnu.org>
12820
6b25e4e2
SE
12821 * progmodes/python.el: Require ansi-color at top-level.
12822
6df6ae42
JB
12823 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
12824 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
12825 (lisp-mode-abbrev-table): Add doc.
12826 (lisp-mode-variables): Don't set local-abbrev-table.
12827 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
12828
e70ee681
RW
128292012-01-28 Roland Winkler <winkler@gnu.org>
12830
12831 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
12832
ace88aa2
RW
128332012-01-28 Roland Winkler <winkler@gnu.org>
12834
12835 * textmodes/bibtex.el (bibtex-entry-alist): New function.
12836 (bibtex-set-dialect): Use it. Either set global values of
12837 dialect-dependent variables or bind these variables buffer-locally
12838 (Bug#10254).
12839 (bibtex-mode): Call bibtex-set-dialect via
12840 hack-local-variables-hook.
eb864a71
LM
12841 (bibtex-dialect): Update docstring.
12842 Add safe-local-variable predicate.
ace88aa2
RW
12843 (bibtex-entry-alist, bibtex-field-alist): Initialize via
12844 bibtex-set-dialect.
12845 (bibtex-mode-map): Define menu for each dialect.
12846 (bibtex-entry): Fix docstring.
12847
93376c5b
CY
128482012-01-28 Chong Yidong <cyd@gnu.org>
12849
12850 * eshell/esh-arg.el (eshell-quote-argument): New function.
12851
12852 * eshell/esh-ext.el (eshell-invoke-batch-file):
12853 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
12854 first arg to eshell-parse-command (Bug#10523).
12855
4372494f
DA
128562012-01-28 Drew Adams <drew.adams@oracle.com>
12857
12858 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
12859 `default-directory' is non-nil.
12860
4d4ec1f8
EZ
128612012-01-28 Eli Zaretskii <eliz@gnu.org>
12862
12863 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
12864 line that displays system-configuration-options. (Bug#9924)
12865
7c188927
DA
128662012-01-28 Drew Adams <drew.adams@oracle.com>
12867
12868 * descr-text.el (describe-char): Show information about POS, in
12869 addition to information about the character at POS. Improve and
12870 update the doc string. Change "code point" to "code point in
12871 charset", to avoid confusion with the character's Unicode code
12872 point shown above that. (Bug#10129)
12873
e0da685a
EZ
128742012-01-28 Eli Zaretskii <eliz@gnu.org>
12875
12876 * descr-text.el (describe-char): Show the raw character, not only
12877 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
12878 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
12879 for the reasons.
12880
70550acf
PH
128812012-01-28 Phil Hagelberg <phil@hagelb.org>
12882
eb864a71
LM
12883 * emacs-lisp/package.el (package-install):
12884 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 12885
0ce8e868
CY
128862012-01-28 Chong Yidong <cyd@gnu.org>
12887
cb882333
JB
12888 * emacs-lisp/package.el (package-maybe-load-descriptor):
12889 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
12890 (package-maybe-load-descriptor): Use it.
12891 (package-download-transaction): Fully load required packages
12892 inside the loop, so that `require' calls work (Bug#10593).
12893 (package-install): No need to call package-initialize now.
12894
2e7f3bea
CY
128952012-01-28 Chong Yidong <cyd@gnu.org>
12896
6e9bad14
CY
12897 * simple.el (deactivate-mark): Doc fix (Bug#8614).
12898
f823b8ca
CY
12899 * tooltip.el (tooltip-mode): Doc fix.
12900 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
12901
2680c309
CY
12902 * frame.el (set-cursor-color): Doc fix (Bug#352).
12903
d7a9e63b
CY
12904 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
12905 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
12906
2e7f3bea
CY
12907 * cus-edit.el (custom-buffer-create-internal): Fix search button
12908 action (Bug#10542).
2ae01800 12909 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 12910
fc4f7a23
EW
129112012-01-27 Eduard Wiebe <usenet@pusto.de>
12912
12913 * dired.el (dired-mark-files-regexp):
12914 Include any subdirectory components. (Bug#10445)
12915
7dd37071
ML
129162012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
12917
12918 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
12919 Handle [host]:port syntax. (Bug#10533)
12920
a268160b
AH
129212012-01-27 Alex Harsanyi <harsanyi@mac.com>
12922
12923 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
12924
e43273ef
GM
129252012-01-26 Glenn Morris <rgm@gnu.org>
12926
12927 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
12928 * term.el (term-raw-escape-map): Use Control-X-prefix.
12929 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
12930
1edf595d
MR
129312012-01-25 Martin Rudalics <rudalics@gmx.at>
12932
12933 * window.el (window-state-get, window--state-get-1): Don't deal
12934 with fixed-sizeness of windows. Simplify code.
12935
fa8eafef
JC
129362012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
12937
6df6ae42
JB
12938 * window.el (window--state-get-1, window--state-put-2):
12939 Don't save and restore the mark.
fa8eafef 12940
0b21c100
CY
129412012-01-25 Chong Yidong <cyd@gnu.org>
12942
12943 * custom.el (custom-variable-p): Doc fix.
12944
5ae1a6c8
GM
129452012-01-25 Glenn Morris <rgm@gnu.org>
12946
40047858
GM
12947 * dired.el (dired-goto-file): Handle some of the more common
12948 characters that `ls -b' escapes. (Bug#10596)
12949
5ddce96c
GM
12950 * progmodes/compile.el (compilation-next-error-function):
12951 Respect compilation-first-column in the "*compilation*" buffer.
12952 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
12953
5ae1a6c8
GM
12954 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
12955
b559f1a9
GM
129562012-01-24 Glenn Morris <rgm@gnu.org>
12957
12958 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
12959
6725d21a
JD
129602012-01-24 Julien Danjou <julien@danjou.info>
12961
12962 * color.el (color-rgb-to-hsl): Fix value computing.
12963 (color-hue-to-rgb): New function.
12964 (color-hsl-to-rgb): New function.
12965 (color-clamp, color-saturate-hsl, color-saturate-name)
12966 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
12967 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
12968
70df4bbe
GM
129692012-01-24 Glenn Morris <rgm@gnu.org>
12970
12971 * vc/vc-rcs.el (vc-rcs-create-tag):
12972 * vc/vc-sccs.el (vc-sccs-create-tag):
12973 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
12974
802a2ae2
ML
129752012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
12976
12977 * eshell/esh-util.el (eshell-read-hosts-file):
12978 Skip comment lines. (Bug#10549)
12979
d7128bb1
ML
12980 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
12981
d1a5c3b4
JB
129822012-01-23 Juanma Barranquero <lekktu@gmail.com>
12983
2724d9c7
JB
12984 * subr.el (display-delayed-warnings): Doc fix.
12985 (collapse-delayed-warnings): New function to collapse identical
12986 adjacent warnings.
12987 (delayed-warnings-hook): Add it.
d1a5c3b4 12988
a5509865
MA
129892012-01-22 Michael Albinus <michael.albinus@gmx.de>
12990
12991 * net/tramp.el (tramp-action-login): Set connection property "login-as".
12992
a5509865
MA
12993 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
12994 (tramp-default-user-alist): Don't add "pscp".
12995 (tramp-do-copy-or-rename-file-out-of-band): Use connection
12996 property "login-as", if set. (Bug#10530)
12997
cc6d5805
MA
129982012-01-21 Michael Albinus <michael.albinus@gmx.de>
12999
13000 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
13001 "plink1" and "psftp". (Bug#10530)
13002
130032012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
13004
13005 * international/mule-cmds.el (prefer-coding-system): Show a
13006 warning message if the default value of file-name-coding-system
13007 was not changed.
13008
f0960428
JC
130092012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
13010
cb882333
JB
13011 * windmove.el (windmove-reference-loc):
13012 Fix windmove-reference-loc miscalculation.
f0960428 13013
dd6f2a63
JB
130142012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
13015
13016 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
13017 default unit.
13018
7b447e9b
GM
130192012-01-21 Glenn Morris <rgm@gnu.org>
13020
117a9ea1
GM
13021 * international/mule.el (auto-coding-alist): Add .tbz.
13022
7b447e9b
GM
13023 * files.el (local-enable-local-variables): Doc fix.
13024 (inhibit-local-variables-regexps): Rename from
13025 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
13026 Doc fix. Add some extensions from auto-coding-alist.
13027 (inhibit-local-variables-suffixes):
13028 Rename from inhibit-first-line-modes-suffixes. Doc fix.
13029 (inhibit-local-variables-p):
13030 New function, extracted from set-auto-mode-1.
13031 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
13032 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
13033 (hack-local-variables): Doc fix. Make the mode-only case
13034 respect enable-local-variables and friends.
13035 Respect inhibit-local-variables-regexps for file-locals, but
13036 not for directory-locals.
13037 (set-visited-file-name):
13038 Take account of inhibit-local-variables-regexps.
13039 Whether it applies may change as the file name is changed.
13040 * jka-cmpr-hook.el (jka-compr-install):
13041 * jka-compr.el (jka-compr-uninstall):
13042 Update for inhibit-first-line-modes-suffixes name change.
13043
dd6e3cdd
MR
130442012-01-20 Martin Rudalics <rudalics@gmx.at>
13045
13046 * help-macro.el (make-help-screen): Temporarily restore original
13047 binding for minor-mode-map-alist (Bug#10454).
13048
0d0deb38
JD
130492012-01-19 Julien Danjou <julien@danjou.info>
13050
13051 * color.el (color-name-to-rgb): Use the white color to find the max
13052 color component value and return correctly computed values.
13053 (color-name-to-rgb): Add missing float conversion for max value.
13054
34a02f46
MR
130552012-01-19 Martin Rudalics <rudalics@gmx.at>
13056
13057 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
13058 special state value for window-persistent-parameters.
13059 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
13060 (window--state-put-2): Reset all window parameters to nil before
13061 assigning values of persistent parameters.
13062
606c44c4
AM
130632012-01-18 Alan Mackenzie <acm@muc.de>
13064
13065 Eliminate sluggishness and hangs in fontification of "semicolon
13066 deserts".
13067
cb882333
JB
13068 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
13069 Change value 10000 -> 3000.
606c44c4
AM
13070 (c-state-safe-place): Reformulate so it doesn't stack up an
13071 infinite number of wrong entries in c-state-nonlit-pos-cache.
13072 (c-determine-limit-get-base, c-determine-limit): New functions to
13073 determine backward search limits disregarding literals.
13074 (c-find-decl-spots): Amend commenting.
13075 (c-cheap-inside-bracelist-p): New function which detects "={".
13076
13077 * progmodes/cc-fonts.el
13078 (c-make-font-lock-BO-decl-search-function): Give a limit to a
13079 backward search.
13080 (c-font-lock-declarations): Fix an occurrence of point being
13081 undefined. Check additionally for point being in a bracelist or
13082 near a macro invocation without a semicolon so as to avoid a
13083 fruitless time consuming search for a declarator. Give a more
13084 precise search limit for declarators using the new
13085 c-determine-limit.
13086
f3860cea
GM
130872012-01-18 Glenn Morris <rgm@gnu.org>
13088
13089 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
13090 (set-auto-mode): Doc fixes.
13091
1db03b16
GM
130922012-01-17 Glenn Morris <rgm@gnu.org>
13093
0e6038be
GM
13094 * isearch.el (search-nonincremental-instead): Fix doc typo.
13095
1db03b16
GM
13096 * dired.el (dired-insert-directory): Handle newlines in directory name.
13097 (dired-build-subdir-alist): Unescape newlines in directory name.
13098
4cb0aa75
MA
130992012-01-17 Michael Albinus <michael.albinus@gmx.de>
13100
13101 * net/tramp.el (tramp-local-end-of-line): New defcustom.
13102 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
13103 (tramp-action-terminal): Use it. (Bug#10530)
13104
1d00653d
SM
131052012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
13106
13107 * minibuffer.el (completion--replace): Strip properties (bug#10062).
13108
6a6ee00d
MR
131092012-01-16 Martin Rudalics <rudalics@gmx.at>
13110
13111 * window.el (window-state-ignored-parameters): Remove variable.
13112 (window--state-get-1): Rename argument MARKERS to IGNORE.
13113 Handle persistent window parameters. Make copy of clone-of
13114 parameter only if requested. (Bug#10348)
13115 (window--state-put-2): Install a window parameter only if it has
13116 a non-nil value or an existing parameter shall be overwritten.
13117
97912def
MA
131182012-01-15 Michael Albinus <michael.albinus@gmx.de>
13119
13120 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
13121
688070a5
EZ
131222012-01-14 Eli Zaretskii <eliz@gnu.org>
13123
13124 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
13125 don't pass the (nil) value of `upnode' to string-match.
13126
301afadc
CY
131272012-01-14 Chong Yidong <cyd@gnu.org>
13128
13129 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 13130 Fix values recognized by the cursorBlink resource.
301afadc 13131
9e5788aa
PE
131322012-01-14 Paul Eggert <eggert@cs.ucla.edu>
13133
13134 * epg.el (epg--make-temp-file): Avoid permission race condition
13135 when running on old Emacs versions (bug#10403).
13136
3cdb7f5a
GM
131372012-01-14 Glenn Morris <rgm@gnu.org>
13138
13139 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
13140
8c82b1b4
AM
131412012-01-13 Alan Mackenzie <acm@muc.de>
13142
13143 Fix filling for when filladapt mode is enabled.
13144
13145 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
13146 c-mask-paragraph, pass in `fill-paragraph' rather than
13147 `fill-region-as-paragraph'. (This is a reversion of a previous
13148 change.)
eb864a71
LM
13149 * progmodes/cc-mode.el (c-basic-common-init):
13150 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 13151
e517eda4
GM
131522012-01-13 Glenn Morris <rgm@gnu.org>
13153
1498536e
GM
13154 * dired.el (dired-switches-escape-p): New function.
13155 (dired-insert-directory): Use dired-switches-escape-p.
13156 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
13157
e517eda4
GM
13158 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
13159
328f984d
GM
131602012-01-12 Glenn Morris <rgm@gnu.org>
13161
13162 * mail/sendmail.el (mail-mode): Update paragraph-separate for
13163 changes in adaptive-fill-regexp. (Bug#10276)
13164
2cc769a8
AM
131652012-01-11 Alan Mackenzie <acm@muc.de>
13166
13167 Fix Emacs bug #10463 - put `widen's around the critical spots.
13168
1d00653d 13169 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
13170 widen around each invocation of c-state-pp-to-literal. Remove an
13171 unused let variable.
13172
e52c37fa
GM
131732012-01-11 Glenn Morris <rgm@gnu.org>
13174
13175 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 13176 Doc fix.
e52c37fa 13177
96f8741e
CY
131782012-01-10 Chong Yidong <cyd@gnu.org>
13179
1d00653d
SM
13180 * net/network-stream.el (network-stream-open-starttls):
13181 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
13182 response to the capability command.
13183
b09a806e
GM
131842012-01-10 Glenn Morris <rgm@gnu.org>
13185
13186 * mail/unrmail.el (unrmail): Tweak previous change.
13187
7655cb66
CY
131882012-01-09 Chong Yidong <cyd@gnu.org>
13189
13190 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
13191
9d5a8f0b
AM
131922012-01-08 Alan Mackenzie <acm@muc.de>
13193
13194 Optimise font locking in long enum definitions.
13195
13196 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
13197 arm to a cond form to handle enums.
13198 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
13199 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
13200
9a0115ab 132012012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
13202
13203 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 13204 (Bug#10401)
6bb72cbd 13205
f186bb95
LMI
132062012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
13207
29232a68
LMI
13208 * faces.el (set-face-attribute): Clarify the meaning of the nil
13209 frame (bug#10294).
13210
4e5d086d
LMI
13211 * subr.el (with-selected-frame): Mention that the selected frame
13212 is restored (bug#9980).
13213
8e66aebe
LMI
13214 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
13215 (bug#9759).
13216
cd394be1 13217 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
13218 (password-read): Don't autoload unused function.
13219
adf4e762
JB
132202012-01-07 Juanma Barranquero <lekktu@gmail.com>
13221
13222 * progmodes/which-func.el (which-func-mode): Turn into a
13223 non-interactive function and mark as obsolete (bug#10428).
13224
89bd9ccd
CY
132252012-01-06 Chong Yidong <cyd@gnu.org>
13226
13227 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
13228 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
13229 functions, along with 1 and -1.
13230
4afee9d5
EZ
132312012-01-06 Eli Zaretskii <eliz@gnu.org>
13232
13233 * time.el (display-time-load-average)
13234 (display-time-default-load-average): Doc fixes. See the thread
13235 starting at
13236 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
13237 for the details.
13238
536aea70
GM
132392012-01-06 Glenn Morris <rgm@gnu.org>
13240
665ae865
GM
13241 * mail/unrmail.el (unrmail): Give an explicit error if the input file
13242 has no messages. (Bug#10377)
13243
c869783d
GM
13244 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
13245 than Info-edit. (Bug#10385)
13246
2bb4227e
GM
13247 * time.el (display-time-load-average, display-time-next-load-average):
13248 Doc fixes.
13249
7d5944b9
GM
13250 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
13251 local setting of buffer-read-only to the input buffer. (Bug#10419)
13252
536aea70
GM
13253 * calendar/calendar.el (calendar-mode):
13254 Locally set scroll-margin to 0. (Bug#10379)
13255
7dccca16
UM
132562012-01-06 Ulrich Mueller <ulm@gentoo.org>
13257
13258 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
13259
afbb7930
GM
132602012-01-05 Glenn Morris <rgm@gnu.org>
13261
13262 * eshell/em-unix.el (diff-no-select): Autoload it.
13263 (eshell/diff): Use diff-no-select. (Bug#10420)
13264
04482335
CY
132652012-01-05 Chong Yidong <cyd@gnu.org>
13266
7baca3bc
CY
13267 * shell.el (shell-dynamic-complete-functions): Revert last change.
13268 (shell-command-completion-function): New function.
13269 (shell-completion-vars): Use it to implement
13270 shell-completion-execonly (Bug#10417).
13271
04482335
CY
13272 * custom.el (enable-theme): Don't set custom-safe-themes.
13273
1d00653d
SM
13274 * cus-theme.el (custom-theme-merge-theme):
13275 Ignore custom-enabled-themes and custom-safe-themes.
04482335 13276
bb5aa5d6
MM
132772012-01-05 Michael R. Mauger <mmaug@yahoo.com>
13278
13279 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
13280 first prompt in `sql-interacive-mode'.
13281 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 13282 keywords.
6df6ae42 13283 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
13284 (sql-product-interactive): Bug fix: Set `sql-buffer' in
13285 context of original buffer. Invoke `sql-login-hook'.
13286
a7183d7c
EZ
132872012-01-04 Eli Zaretskii <eliz@gnu.org>
13288
13289 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
13290 letters in cite-prefix.
13291
a1eacd1e
LMI
132922012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
13293
13294 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
13295
787cdb34
CY
132962012-01-03 Chong Yidong <cyd@gnu.org>
13297
1d00653d
SM
13298 * shell.el (shell-dynamic-complete-functions):
13299 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
13300 comint-filename-completion first (Bug#10417).
13301
30710442
RS
133022012-01-02 Richard Stallman <rms@gnu.org>
13303
13304 * battery.el (battery-status-function):
13305 Detect when to use battery-yeeloong-sysfs.
13306 (battery-echo-area-format): Add string for Yeeloong.
13307 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
13308 (battery-yeeloong-sysfs): New function.
13309
f75bfc33
CY
133102012-01-02 Chong Yidong <cyd@gnu.org>
13311
13312 * dirtrack.el (dirtrack-list): Eliminate unused third element.
13313 (dirtrack): Merge code for handling relative filenames in prompt
13314 from shell-dir-cookie-watcher.
13315 (dirtrack-debug-message): New arg to avoid excess format calls.
13316
13317 * shell.el (shell-dir-cookie-re): Variable deleted.
13318 (shell-dir-cookie-watcher): Function deleted.
13319 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
13320 with dirtrack-mode.
13321
651e947e
EZ
133222012-01-01 Eli Zaretskii <eliz@gnu.org>
13323
1d00653d
SM
13324 * term/w32-win.el (dynamic-library-alist) <gnutls>:
13325 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
13326 libgnutls-26.dll.
13327
94d4c7dc
AS
133282011-12-31 Andreas Schwab <schwab@linux-m68k.org>
13329
13330 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
13331
8d43f3cd
EZ
133322011-12-31 Eli Zaretskii <eliz@gnu.org>
13333
13334 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
13335 headers of non-MIME messages, when rmail-enable-mime is non-nil.
13336
98c8795a
MA
133372011-12-29 Michael Albinus <michael.albinus@gmx.de>
13338
13339 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
13340 also for alternative shells.
13341 (tramp-open-connection-setup-interactive-shell): Check, whether
13342 the shell is a busybox.
13343 (tramp-send-command): Don't suppress multiple prompts for
13344 busyboxes, it hurts.
13345
51281b32
CY
133462011-12-28 Chong Yidong <cyd@gnu.org>
13347
13348 * progmodes/gdb-mi.el (gdb-get-source-file-list)
13349 (gdb-get-source-file): Move mode line update to
13350 gdb-get-source-file (Bug#10087).
13351
2170cb53
CY
133522011-12-25 Chong Yidong <cyd@gnu.org>
13353
13354 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
13355 gud-gdb-marker-filter without taking it as an argument.
13356 (gud-gdb-run-command-fetch-lines): Caller changed.
13357 (gud-gdb-completion-function): New variable.
13358 (gud-gdb-completion-at-point): Use it.
13359 (gud-gdb-completions-1): Split from gud-gdb-completions.
13360
13361 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
13362 function as separate arguments.
13363 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
13364 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
13365 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
13366 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
13367 (gdb-stopped, def-gdb-auto-update-trigger)
13368 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
13369 (gdb-get-changed-registers, gdb-get-main-selected-frame):
13370 Callers changed.
2170cb53
CY
13371 (gud-gdbmi-completions): New function.
13372 (gdb): Use it for generating the completion table.
13373
be8b11bb
AM
133742011-12-24 Alan Mackenzie <acm@muc.de>
13375
13376 Introduce a mechanism to widen the region used in context font
1d00653d 13377 locking. Use this to protect declarations from losing their contexts.
be8b11bb 13378
1d00653d
SM
13379 * progmodes/cc-langs.el (c-before-font-lock-functions):
13380 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 13381 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
13382 functions to be run just before context (etc.) font locking.
13383
13384 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 13385 New, functionality extracted from
be8b11bb 13386 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 13387 (c-in-after-change-fontification): New variable.
be8b11bb
AM
13388 (c-after-change): Set c-in-after-change-fontification.
13389 (c-set-fl-decl-start): Rejig its interface, so it can be called
13390 from both after-change and context fontifying.
b81d40f0
JB
13391 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
13392 New functions.
13393 (c-standard-font-lock-fontify-region-function): New variable.
13394 (c-font-lock-fontify-region): New function.
be8b11bb 13395
341cf6ac
JL
133962011-12-24 Juri Linkov <juri@jurta.org>
13397
13398 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
13399 (Bug#10348)
13400
bffcee0a
MA
134012011-12-23 Michael Albinus <michael.albinus@gmx.de>
13402
13403 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
13404 existence of source file. (Bug#10325)
13405
cb5e207c
AM
134062011-12-23 Alan Mackenzie <acm@muc.de>
13407
13408 Fix unstable fontification inside templates.
13409
b81d40f0
JB
13410 * progmodes/cc-langs.el (c-before-font-lock-functions):
13411 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
13412 additionally has c-set-fl-decl-start. The other languages (apart
13413 from AWK) have that as a single entry.
13414
b81d40f0
JB
13415 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
13416 The functionality for "local" declarations has been extracted to
cb5e207c
AM
13417 c-set-fl-decl-start.
13418
b81d40f0
JB
13419 * progmodes/cc-mode.el (c-common-init, c-after-change):
13420 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
13421 (c-set-fl-decl-start): New function, extracted from
13422 c-font-lock-enclosing-decls and enhanced.
13423
60ff536c
JB
134242011-12-23 Juanma Barranquero <lekktu@gmail.com>
13425
13426 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
13427
1c4757d6
JL
134282011-12-22 Juri Linkov <juri@jurta.org>
13429
13430 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
13431
d031f2c7
CY
134322011-12-22 Chong Yidong <cyd@gnu.org>
13433
13434 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
13435
bace743a
DA
134362011-12-21 Drew Adams <drew.adams@oracle.com>
13437
13438 * files.el (file-remote-p): Fix docstring. (Bug#10319)
13439
728a1f2b
JC
134402011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
13441
13442 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
13443
0d373f73
TZ
134442011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
13445
fec0aaa4
TZ
13446 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
13447 highlighting and support. Fix up comments for capitalization.
13448 (cfengine-mode-debug): New var.
13449 (cfengine3-mode): Change the modeline indicator to "CFE3".
13450 (cfengine3-font-lock-keywords): Improve defun highlighting.
13451 (cfengine2-actions): Rename from `cfengine-actions'.
13452 (cfengine2-font-lock-keywords): Rename from
13453 `cfengine-font-lock-keywords'.
13454 (cfengine2-imenu-expression): Rename from
13455 `cfengine-imenu-expression'.
13456 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
13457 (cfengine2-beginning-of-defun): Rename from
13458 `cfengine-beginning-of-defun'.
13459 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
13460 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
13461 (cfengine2-mode): Rename from `cfengine-mode'. Change the
13462 modeline indicator to "CFE2".
13463 (cfengine-mode): Defalias to `cfengine-auto-mode'.
13464 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 13465
bc86f573
CY
134662011-12-21 Chong Yidong <cyd@gnu.org>
13467
13468 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
13469 filename argument.
13470
d45ba96b
MR
134712011-12-20 Martin Rudalics <rudalics@gmx.at>
13472
13473 * window.el (window-normalize-buffer-to-display): Remove.
13474 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
13475
a6198c90
CY
134762011-12-19 Chong Yidong <cyd@gnu.org>
13477
13478 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
13479 Don't signal an error in a predicate function; return non-nil.
13480 (vc-dir-mark-file): Move the error here.
13481 (vc-dir-mark-unmark): If acting on the region, keep going if one
13482 of the entries cannot be marked/unmarked.
13483 (vc-dir-mark-all-files): If current entry is a directory, mark
13484 only child files, as documented.
13485
34c5fb55
VB
134862011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
13487
13488 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
13489 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
13490 addition.
13491
c803b2b7
JD
134922011-12-18 Jan Djärv <jan.h.d@swipnet.se>
13493
13494 * term/ns-win.el (ns-get-selection-internal)
13495 (ns-store-selection-internal): Declare.
1154d12e
JB
13496 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
13497 Declare as obsolete.
13498 (ns-get-pasteboard, ns-paste-secondary):
13499 Use ns-get-selection-internal.
41e9b956 13500 (ns-set-pasteboard, ns-copy-including-secondary):
1154d12e 13501 Use ns-store-selection-internal.
c803b2b7 13502
9cff91f8 135032011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
13504
13505 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 13506 (vc-deduce-fileset): Doc fix.
99a289d9 13507
f16c898a
AS
135082011-12-16 Andreas Schwab <schwab@linux-m68k.org>
13509
13510 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
13511
763237c4
SS
135122011-12-13 Sam Steingold <sds@gnu.org>
13513
13514 * man.el (Man-getpage-in-background): When running under a
13515 window-system, ignore $MANWIDTH and $COLUMNS.
13516
5fc1c122
KH
135172011-12-15 Kenichi Handa <handa@m17n.org>
13518
13519 * language/ethio-util.el: Change coding tag to utf-8-emacs.
13520 (setup-ethiopic-environment-internal): Comment out key-binding for
13521 ethio-toggle-punctuation.
13522
13d49cbb
AM
135232011-12-13 Alan Mackenzie <acm@muc.de>
13524
898169a2
AM
13525 Add the switch statement to AWK Mode.
13526
7a71b18d 13527 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
13528 "default" to the keywords regexp.
13529
7a71b18d 13530 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 13531 expression as the rest.
1d00653d
SM
13532 (c-nonlabel-token-key): Allow string literals for AWK.
13533 Refactor for the other modes.
898169a2 13534
13d49cbb 13535 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 13536 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
13537 routines. Limit backward searching in c-font-lock-enclosing.decl.
13538
13539 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
13540 pp-state and literal type in addition to the limits.
1d00653d 13541 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 13542 (c-state-literal-at): Use the above new defun.
1d00653d
SM
13543 (c-slow-in-literal, c-fast-in-literal): Remove.
13544 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
13545
13546 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
13547 being in a literal. Add a limit for backward searching.
13548
13549 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
13550 c-slow-in-literal.
13551
15e0efc7
SM
135522011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
13553
13554 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
13555
454592a6
MR
135562011-12-13 Martin Rudalics <rudalics@gmx.at>
13557
13558 * window.el (delete-other-windows): Use correct frame in call to
13559 window-with-parameter.
13560
87393f26
DP
135612011-12-12 Daniel Pfeiffer <occitan@t-online.de>
13562
13563 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
13564 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
13565 (makefile-gmake-statements, makefile-makepp-statements):
13566 Use it and add new makepp keywords.
13567 (makefile-makepp-font-lock-keywords): Add new patterns.
13568 (makefile-match-function-end): Match new [...] and [[...]].
13569
11636b22
JB
135702011-12-11 Juanma Barranquero <lekktu@gmail.com>
13571
13572 * ses.el (ses-call-printer-return, ses-cell-property-get)
13573 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
13574 (ses-create-cell-variable, ses-reset-header-string)
13575 (ses-cell-set-formula, ses-repair-cell-reference-all)
13576 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
13577 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
13578 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
13579 (ses-aset-with-undo, ses-load, ses-truncate-cell)
13580 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
13581 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
13582 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
13583 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
13584 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
13585 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
13586 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
13587 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
13588
cf018193
VB
135892011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
13590
13591 * ses.el: The overall change is to add cell renaming, that is
13592 setting fancy names for cell symbols other than name matching
13593 "\\`[A-Z]+[0-9]+\\'" regexp .
13594 (ses-create-cell-variable): New defun.
13595 (ses-relocate-formula): Relocate formulas only for cells the
13596 symbols of which are not renamed, i.e. symbols whose names do not
13597 match regexp "\\`[A-Z]+[0-9]+\\'".
13598 (ses-relocate-all): Relocate values only for cells the symbols of
13599 which are not renamed.
13600 (ses-load): Create cells variables as the (ses-cell ...) are read,
13601 in order to check row col consistency with cell symbol name only
13602 for cells that are not renamed.
13603 (ses-replace-name-in-formula): New defun.
13604 (ses-rename-cell): New defun.
13605
ee957461
CY
136062011-12-11 Chong Yidong <cyd@gnu.org>
13607
13608 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
13609 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
13610
9a9e9ef0
MR
136112011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
13612
13613 * window.el (other-window): Fix docstring.
13614
92a8eba5
EZ
136152011-12-10 Eli Zaretskii <eliz@gnu.org>
13616
13617 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
13618 `from' or `to' address before taking its substring.
13619 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
13620 encoded name is chopped in the middle of the encoded string, and
13621 thus displayed encoded.
13622
e152e577
JB
136232011-12-10 Juanma Barranquero <lekktu@gmail.com>
13624
13625 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
13626
e5d84bfe
EZ
136272011-12-10 Eli Zaretskii <eliz@gnu.org>
13628
13629 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
13630 to use texinfo-update-node and commands that call it if the
13631 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 13632 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
13633 (texinfo-all-menus-update, texinfo-master-menu)
13634 (texinfo-update-node, texinfo-every-node-update)
13635 (texinfo-multiple-files-update): Doc fix. Warn against updating
13636 all the @node lines.
13637 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
13638 argument is numeric. Explain better in the doc string what the
13639 function really does.
13640 (texinfo-insert-master-menu-list): Improve the error message
13641 displayed if there's no menu in the Top node.
13642 (Bug#2975) See also this thread:
e5d84bfe
EZ
13643 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
13644
1d84e9bb
MG
136452011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
13646
13647 * speedbar.el (speedbar-supported-extension-expressions):
13648 Add .adb and .ads, commonly used for Ada source code (bug#10256).
13649
382c953b
JB
136502011-12-09 Juanma Barranquero <lekktu@gmail.com>
13651
13652 * printing.el (pr-mode-alist):
13653 * simple.el (filter-buffer-substring-functions)
13654 (completion-list-insert-choice-function):
13655 * window.el (window-with-parameter, window-atom-root)
13656 (window-sides-slots, window-size-fixed, window-min-delta)
13657 (window-max-delta, window--resize-mini-window)
13658 (window--resize-child-windows-normal, window-tree)
13659 (delete-other-windows, quit-window, split-window)
13660 (display-buffer-record-window, special-display-buffer-names)
13661 (special-display-regexps, special-display-popup-frame)
13662 (same-window-p, split-window-sensibly)
13663 (display-buffer-overriding-action, display-buffer-alist)
13664 (display-buffer-base-action, display-buffer, switch-to-buffer)
13665 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
13666 (fit-window-to-buffer, recenter-positions)
13667 (mouse-autoselect-window-state, mouse-autoselect-window-select):
13668 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
13669 and remove unneeded backslashes in docstrings.
13670
39c9faef
SM
136712011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
13672
98449af8
SM
13673 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
13674
39c9faef
SM
13675 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
13676 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
13677 end in ".mk".
13678 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
13679 when reading the makefile (bug#10116).
13680
86ed9fdc
SM
136812011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
13682
13683 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
13684 (bug#10116).
13685
5580f89d
GM
136862011-12-06 Glenn Morris <rgm@gnu.org>
13687
13688 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
13689
28d3917c
CY
136902011-12-06 Chong Yidong <cyd@gnu.org>
13691
13692 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
13693
a98edce9
JB
136942011-12-06 Juanma Barranquero <lekktu@gmail.com>
13695
13696 * textmodes/table.el (table-shorten-cell): Fix typo.
13697
e65adfac
CG
136982011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
13699
13700 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
13701
71cc0b74
EZ
137022011-12-05 Eli Zaretskii <eliz@gnu.org>
13703
13704 * descr-text.el (describe-char): Fix display of strong
13705 right-to-left characters and directional embeddings and overrides.
13706
13707 * simple.el (what-cursor-position): Fix display of codepoints of
13708 strong right-to-left characters.
13709
315bc30d
CY
137102011-12-05 Chong Yidong <cyd@gnu.org>
13711
13712 * faces.el (read-color): Doc fix.
13713
58a70b94
GM
137142011-12-05 Glenn Morris <rgm@gnu.org>
13715
13716 * align.el (align--set-marker): Add doc-string.
13717 Don't try to move something that is not a marker. (Bug#10216)
13718
5158face
GM
137192011-12-04 Glenn Morris <rgm@gnu.org>
13720
13721 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
13722 overly zealous deletion of trailing whitespace.
13723
520fca41
JB
137242011-12-04 Juanma Barranquero <lekktu@gmail.com>
13725
13726 * server.el (server-delete-client): On Windows, do not try to delete
13727 the only terminal.
13728 (server-process-filter): On Windows, treat requests for a tty frame as
13729 if they were for a GUI frame if the running server is in GUI mode.
13730
5e605a2e
GM
137312011-12-03 Glenn Morris <rgm@gnu.org>
13732
13733 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
13734
5c3fe83f
SM
137352011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
13736
6f5e57e7
SM
13737 * electric.el: Streamline electric-indent's hook.
13738 (electric-indent-chars): Revert to simple list.
13739 (electric-indent-functions): New var.
13740 (electric-indent-post-self-insert-function): Use it.
13741
5c3fe83f
SM
13742 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
13743 there's no inferior buffer (bug#10196).
13744 (prolog-consult-compile): Don't use toggle-read-only.
13745
6bdac736
MA
137462011-12-02 Michael Albinus <michael.albinus@gmx.de>
13747
13748 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
13749 interrupt. (Bug#10187)
13750
6131ba7f
SM
137512011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
13752
99c79fee
SM
13753 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
13754 (bug#9160).
13755
6131ba7f
SM
13756 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
13757 (bug#10191).
13758
cb0a02ea
JL
137592011-12-02 Juri Linkov <juri@jurta.org>
13760
13761 * info.el (Info-search): Display "end of manual" when Isearch
13762 reaches the end of single-file Info manual. (Bug#9918)
13763
66e0570c
EZ
137642011-12-02 Eli Zaretskii <eliz@gnu.org>
13765
13766 * isearch.el (isearch-message-prefix): Run the input method part
13767 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
13768
02b16839
JL
137692011-12-02 Juri Linkov <juri@jurta.org>
13770
13771 * isearch.el (isearch-occur): Use `word-search-regexp' for
13772 `isearch-word'.
13773 (isearch-search-and-update): Add condition for `isearch-word' and
13774 call `word-search-regexp'. (Bug#10145)
13775
0b950688
GM
137762011-12-01 Glenn Morris <rgm@gnu.org>
13777
13778 * eshell/em-hist.el (eshell-hist-initialize):
13779 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 13780 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 13781
9505c3c7
SM
137822011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
13783
13784 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
13785
1bbe96b2 137862011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 13787
a1beca85
SM
13788 * progmodes/verilog-mode.el (verilog-pretty-expr):
13789 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
13790 verilog, such as += *= and the like.
13791 (verilog-assignment-operator-re): Regular expression to find the
13792 assigment operator in a verilog assignment.
13793 (verilog-assignment-operation-re): Regular expression to find an
13794 assignment statement for pretty-expr.
13795 (verilog-in-attribute-p): Query returns true if point is in an
13796 attribute context; used to skip these for expression line up from
13797 pretty-expr.
13798 (verilog-in-parameter-p): Query returns true if point is in an
13799 parameter definition context; used to skip these for expression
13800 line up from pretty-expr.
13801 (verilog-in-parenthesis-p): Query returns true if point is in a
13802 parenthetical expression, specifically ( ) but not [ ] or { };
13803 used by pretty-expr.
13804 (verilog-just-one-space): If there is no space, don't add one.
13805 (verilog-get-lineup-indent-2): Specifically skip just attribute
13806 contexts for expression lineup, rather than skipping all
13807 parenthetical expressions.
13808 (verilog-calculate-indent): Fix comment, and fix indent.
13809 (verilog-do-indent): Indent declarations in lists (suggested by
13810 Joachim Lechner).
13811 (verilog-mode-abbrev-table): Populate abbrev mode with the various
13812 skeleton items.
13813 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
13814 by Alain Mellan).
13815
1bbe96b2 138162011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
13817
13818 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
13819 parameters with embedded comments. Reported by Ray Stevens.
13820 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
13821 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
13822 Reported by Tim Holt.
13823 (verilog-auto): Fix AUTOing a upper module then AUTOing module
13824 instantiated by upper module causing wrong expansion until AUTOed a
13825 second time. Reported by K C Buckenmaier.
13826 (verilog-diff-auto): Fix showing .* as a difference when
13827 `verilog-auto-star-save' off. Reported by Dan Dever.
13828 (verilog-auto-reset, verilog-read-always-signals)
13829 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
13830 temporary signals in reset list if
13831 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
13832 style to each signal's assignment type, bug381.
13833 Reported by Thomas Esposito.
6288f0ca
WS
13834 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
13835 (verilog-uvm-statement-re): Support UVM indentation and
13836 highlighting, with old OVM keywords only.
a1beca85 13837 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
13838 Support AUTOTIEOFF creating non-wire data types.
13839 Suggested by Jonathan Greenlaw.
6288f0ca
WS
13840 (verilog-auto-insert-lisp, verilog-delete-to-paren)
13841 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
13842 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
13843 (verilog-read-sub-decls, verilog-read-sub-decls-line):
13844 Fix mismatching parenthesis inside commented out code when deleting
382c953b 13845 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
13846 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
13847 non-numeric vector width. Reported by Alex Reed.
13848 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 13849 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
13850 (verilog-auto-delete-trailing-whitespace):
13851 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
13852 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
13853 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
13854 Fix verilog-scan-cache corruption when running user AUTO expansion
13855 hooks that call indentation routines.
13856 (verilog-simplify-range-expression): Fix typo ignoring lower case
13857 identifiers.
13858 (verilog-delete-auto): Fix delete-autos to also remove user created
13859 automatics, as long as they start with AUTO.
13860 (verilog-batch-diff-auto, verilog-diff-auto)
13861 (verilog-diff-function): Add `verilog-diff-auto' and bind to
13862 "C-c?" to report differences in AUTO expansion, ignoring spaces.
13863 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
13864 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
13865 (verilog-re-search-forward-quick, verilog-syntax-ppss):
13866 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
13867 is disabled and its cache will get corrupt, causing AUTOS not to
13868 expand. Instead use only -quick functions.
13869 (verilog-scan-region): Fix scanning over escaped quotes.
13870 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
13871 (verilog-re-search-backward-quick)
13872 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
13873 related functions now ignore strings, to fix misparsing of strings
13874 with magic comments embedded in them.
a1beca85
SM
13875 (verilog-read-auto-template):
13876 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
13877 Reported by Brad Dobbie.
13878 (verilog-read-auto-template):
13879 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 13880 Reported by Brad Dobbie.
6288f0ca
WS
13881 (verilog-auto-inst, verilog-auto-inst-param)
13882 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
13883 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
13884 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
13885 debugging templates without merge conflicts, bug357.
13886 Reported by Brad Dobbie.
13887 (verilog-read-auto-template):
13888 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
13889 Reported by Brad Dobbie.
13890 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
13891 abbrevs so user won't be asked to save.
13892 (verilog-read-auto-lisp-present): Fix to start at beginning of
13893 buffer in case called outside of verilog-auto.
13894 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
13895 to "X-2". Reported by Matthew Myers.
13896 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
13897 all inputs from module templates. Reported by Leith Johnson.
13898 (verilog-module-inside-filename-p): Fix locating programs as with
13899 modules.
13900 (verilog-auto-inst-port): Fix vl-width expressions when using
13901 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
13902 (verilog-decls-get-regs, verilog-decls-get-signals,
13903 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
13904 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
13905 verilog-read-decls): Combine reg and wire structures into one var
13906 structure to represent SystemVerilog concepts.
13907 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
13908 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
13909 (verilog-auto-wire-type, verilog-insert-definition):
13910 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
13911 SystemVerilog "logic" keyword instead of "wire"/"reg".
13912 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
13913 to declares outputs that also have assignments (presumably in an
a1beca85
SM
13914 ifdef or generate if so there's not a driver conflict).
13915 Reported by Matthew Myers.
13916 (verilog-auto-declare-nettype, verilog-insert-definition):
13917 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
13918 `default_nettype none. Reported by Julian Gorfajn.
13919 (verilog-read-always-signals-recurse, verilog-read-decls)
13920 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
13921 malformed end statement, bug325. Reported by Joshua Wise and
13922 Andrew Drake.
13923 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
13924 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
13925 when expanding .* in interfaces, bug320.
13926 Reported by Pierre-David Pfister.
6288f0ca 13927 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
13928 name and open parenthesis, bug317.
13929 Reported by Pierre-David Pfister.
6288f0ca
WS
13930 (verilog-simplify-range-expression): Fix simplification of
13931 multiplications inside AUTOWIRE connections, bug303.
13932 (verilog-auto-inst-port): Support parameter expansion in
13933 multidimensional arrays.
13934 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
13935 after "assert property". Reported by Julian Gorfajn.
13936 (verilog-simplify-range-expression): Fix "couldn't merge" errors
13937 with multiplication, bug303.
13938 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
13939 Reported by Jan Frode Lonnum.
13940
1bbe96b2
GM
139412011-11-30 Juanma Barranquero <lekktu@gmail.com>
13942
13943 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
13944 (hfy-shell-file-name, hfy-shell):
13945 * international/fontset.el (x-decompose-font-name): Fix typos.
13946
139472011-11-29 Ken Brown <kbrown@cornell.edu>
13948
13949 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
13950 (gdb-version): Remove defvar.
13951 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
13952 (gdb-gud-context-command, gdb-non-stop-handler)
13953 (gdb-current-context-command, gdb-stopped): Use it.
13954 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
13955 (gdb-non-stop-handler): Don't enable pretty-printing here.
13956 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
13957 non-stop mode. Use the following.
13958 (gdb-check-target-async): New defun.
13959 (gud-watch, gdb-stopped): Fix whitespace.
13960 (gdb-get-source-file): Don't try to display the source file if
13961 `gdb-main-file' is nil.
13962
139632011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
13964
13965 * align.el: Try to generate fewer markers (bug#10047).
13966 (align--set-marker): New macro.
13967 (align-region): Use it.
13968
c935221f
SM
139692011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
13970
13971 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
13972
e70b5064
CY
139732011-11-29 Chong Yidong <cyd@gnu.org>
13974
13975 * indent.el (indent-for-tab-command, indent-according-to-mode):
13976 Doc fix.
13977 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
13978
f3af92b7
MA
139792011-11-29 Michael Albinus <michael.albinus@gmx.de>
13980
13981 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
13982 aware of remote file names. (Bug#10124)
13983
ed472be9
CY
139842011-11-29 Chong Yidong <cyd@gnu.org>
13985
13986 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
13987
24510c22
SM
139882011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
13989
13990 * files.el (find-file): Don't use force-same-window (bug#10144).
13991 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
13992 use pop-to-buffer if the selected window can't be used.
13993 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
13994
c60c3703
EZ
139952011-11-28 Eli Zaretskii <eliz@gnu.org>
13996
13997 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
13998 special-mode-map.
13999
e95def75
CY
140002011-11-28 Chong Yidong <cyd@gnu.org>
14001
14002 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
14003
c3f1c606
NR
140042011-11-27 Nick Roberts <nickrob@snap.net.nz>
14005
14006 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
14007 gdb-get-source-file-list on gdb-create-source-file-list.
14008
00db469c
EZ
140092011-11-26 Eli Zaretskii <eliz@gnu.org>
14010
14011 * whitespace.el (whitespace-newline): Use a different foreground
14012 color for 16-color light-background displays.
14013
4ad3bc2a
CY
140142011-11-24 Chong Yidong <cyd@gnu.org>
14015
14016 * window.el (display-buffer--special-action): Doc fix.
14017
e9fce1ac
JB
140182011-11-25 Juanma Barranquero <lekktu@gmail.com>
14019
14020 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
14021 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
14022 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
14023 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
14024 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
14025 (avl-tree-stack-first):
14026 * emacs-lisp/cconv.el (cconv--analyse-use):
14027 * net/gnutls.el (gnutls-negotiate): Fix typos.
14028
cb825e5d
GM
140292011-11-24 Glenn Morris <rgm@gnu.org>
14030
3adbe224
GM
14031 * lpr.el (lpr-windows-system, lpr-lp-system):
14032 * mail/binhex.el (binhex-begin-line):
14033 * progmodes/grep.el (grep-history, grep-find-history):
14034 * textmodes/flyspell.el:
14035 * vc/pcvs-defs.el (cvs-global-menu):
14036 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
14037 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
14038 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
14039
321decc8
GM
14040 * net/tls.el: Fix case of "GnuTLS".
14041
420b63ad
GM
14042 * paths.el (rmail-file-name): Format doc-string for make-docfile.
14043
cb825e5d
GM
14044 * version.el (emacs-build-system): Give it a doc-string.
14045
a0649f08
JL
140462011-11-24 Juri Linkov <juri@jurta.org>
14047
14048 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
14049
c0bc0fd4
GM
140502011-11-24 Glenn Morris <rgm@gnu.org>
14051
14052 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
14053 if called on a non-mime message just toggle the headers. (Bug#8006)
14054
20db1522
JB
140552011-11-24 Juanma Barranquero <lekktu@gmail.com>
14056
14057 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
14058 (allout-lead-with-comment-string, allout-structure-deleted-hook)
14059 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
14060 (allout-rebullet-heading, allout-open-sibtopic)
14061 (allout-toggle-current-subtree-encryption)
14062 (allout-toggle-subtree-encryption, allout-encrypt-string)
14063 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
14064 (allout-distinctive-bullets-string, allout-auto-activation):
14065 * window.el (window-normalize-buffer-to-display):
14066 * progmodes/verilog-mode.el (verilog-batch-indent):
14067 * textmodes/bibtex.el (bibtex-field-braces-opt)
14068 (bibtex-field-strings-opt):
14069 * vc/cvs-status.el (cvs-tree-merge):
14070 Fix typos.
14071
7262a87c
MA
140722011-11-23 Michael Albinus <michael.albinus@gmx.de>
14073
14074 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
14075 `non-essential' to t, in order to avoid remote connections.
14076
283430a1
EZ
140772011-11-23 Eli Zaretskii <eliz@gnu.org>
14078
a1beca85
SM
14079 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
14080 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
14081 case-insensitively.
14082
d2992a38
ML
140832011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
14084
14085 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
14086
50419064
GM
140872011-11-23 Glenn Morris <rgm@gnu.org>
14088
da94eca1
GM
14089 * paths.el (rmail-file-name): Reformat the doc-string so that it
14090 is picked up.
14091
9aac4de2
GM
14092 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
14093 (rmail-auto-file): Ignore case in the "special" field names,
14094 as mail-fetch-field does for all others.
14095
8038d2d2
GM
14096 * mail/rmail.el (rmail-forward):
14097 * mail/rmailkwd.el (rmail-set-label):
14098 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
14099 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
14100
f3fe222a
GM
14101 * mail/rmail.el (rmail-current-message): Doc fix.
14102
50419064
GM
14103 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
14104
28109f49
SM
141052011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
14106
14107 * server.el (server-eval-and-print): Allow C-g (bug#6585).
14108
394c65f1
GM
141092011-11-22 Glenn Morris <rgm@gnu.org>
14110
14111 * mail/rmailmm.el (test-rmail-mime-handler)
14112 (test-rmail-mime-bulk-handler)
14113 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
14114
f2a0aa3a
JL
141152011-11-21 Juri Linkov <juri@jurta.org>
14116
1154d12e
JB
14117 * calc/calc.el (calc-read-key-sequence):
14118 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 14119
9c34a344
LMI
141202011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
14121
14122 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
14123 Tell the caller that the next line needs recomputation, even
14124 though it doesn't start a sexp (bug#10094).
14125
f04a3be9
SM
141262011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
14127
14128 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
14129
7978747f
SM
141302011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
14131
f04a3be9
SM
14132 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
14133 Use force-same-window.
7978747f 14134
fe7a3057
JB
141352011-11-20 Juanma Barranquero <lekktu@gmail.com>
14136
14137 * descr-text.el (describe-char-unicode-data):
14138 * json.el (json-string-escape):
14139 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
14140 (Footnote-unicode, Footnote-style-p):
14141 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
14142
24901d61
CY
141432011-11-20 Chong Yidong <cyd@gnu.org>
14144
14145 * window.el (replace-buffer-in-windows): Restore interactive spec.
14146
bac7ff22
SM
141472011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
14148
24f3d7b9
SM
14149 * electric.el (electric-indent-mode): Fix last change (too optimistic).
14150
bac7ff22
SM
14151 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
14152 (byte-compile-global-not-obsolete-vars): New var.
14153 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
14154 Use it.
14155 (byte-compile-warn-obsolete): Align text with the one in *Help*.
14156
cd1181db
JB
141572011-11-20 Juanma Barranquero <lekktu@gmail.com>
14158
14159 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
14160 * progmodes/pascal.el (electric-pascal-equal):
14161 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
14162 * xml.el (xml-substitute-special): Fix typos.
14163
7fb18e9e
GM
141642011-11-20 Glenn Morris <rgm@gnu.org>
14165
14166 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
14167 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
14168 Doc fixes.
14169 (rmail-decode-mime-charset): Mark as obsolete.
14170
14171 * mail/rmailsum.el (rmail-message-regexp-p-1):
14172 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
14173 Before using mime functions, check they are set. (Bug#10077)
14174
d5a6b3ba
JL
141752011-11-19 Juri Linkov <juri@jurta.org>
14176
14177 * info.el (Info-finder-find-node): Use `package--builtins' instead
14178 of `package-alist'. Use node names formed by the pattern "Keyword "
14179 and the keyword name.
14180
e981b61f
AS
141812011-11-19 Andreas Schwab <schwab@linux-m68k.org>
14182
1d00653d 14183 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 14184
3ffbc301
JL
141852011-11-19 Juri Linkov <juri@jurta.org>
14186
14187 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
14188 that calls `revert-buffer' on all Info buffers. (Bug#9915)
14189 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
14190 `old-history', `old-history-forward'. Add let-binding
14191 `window-selected'. Remove calls to `kill-buffer',
14192 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
14193 before calling `Info-find-node', so `Info-find-node-2' will reread
14194 the Info file. Restore window positions only when `window-selected'
14195 is non-nil.
14196
30c62133
JL
141972011-11-19 Juri Linkov <juri@jurta.org>
14198
14199 * isearch.el (isearch-lazy-highlight-new-loop):
14200 Remove condition `(not isearch-error)'. (Bug#9918)
14201
14202 * misearch.el (multi-isearch-search-fun): Add condition
14203 `(not bound)' to ignore lazy-highlighting search.
14204 Add the search-failed message "end of multi" when the end of
14205 multi-sequence is reached. Uncapitalize the search-failed
14206 message "Repeat for next buffer".
14207
14208 * info.el (Info-search): Add the search-failed message
14209 "end of the manual" when the end of the manual is reached
14210 in Isearch mode.
14211
645ca9cf
JL
142122011-11-19 Juri Linkov <juri@jurta.org>
14213
14214 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
14215 Use non-destructive `remove' instead of `delete' because
14216 `Info-history-list' stored to `Info-isearch-initial-history-list' in
14217 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
14218
df754f66
JL
142192011-11-19 Juri Linkov <juri@jurta.org>
14220
14221 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
14222 to nil instead of binding `search-ring' and `regexp-search-ring'.
14223 (Bug#9185)
14224
0e23d96a
EZ
142252011-11-19 Eli Zaretskii <eliz@gnu.org>
14226
14227 * simple.el (line-move): Force movement by logical lines for any
14228 hscrolled window, not only when auto-hscroll-mode is on.
14229 (line-move-visual): Update doc string to that effect. (Bug#10076)
14230
8a6ccb66
AS
142312011-11-19 Andreas Schwab <schwab@linux-m68k.org>
14232
14233 * language/european.el (macintosh): Define as alias for mac-roman.
14234
49ae5b39
EZ
142352011-11-19 Eli Zaretskii <eliz@gnu.org>
14236
14237 * mail/rmailmm.el (rmail-mime-display-header)
14238 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
14239 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
14240 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
14241 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
14242 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
14243 of a raw aref.
14244 (rmail-mime-entity-segment): To get past the tagline, move forward
14245 2 more lines, to account for the 2 empty lines that precede and
14246 follow the line with the buttons.
14247 (rmail-mime-update-tagline): Move one more line, to get past the
14248 empty line that follows the buttons in the tagline. (Bug#9520)
14249
c56cad4a
MR
142502011-11-19 Martin Rudalics <rudalics@gmx.at>
14251
14252 * window.el (window-max-delta-1, window-min-delta-1)
14253 (window-min-size-1, window-state-get-1, window-state-put-1)
14254 (window-state-put-2): Use "window--" prefix.
14255
cbe71af3
SM
142562011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
14257
2ad52c60
SM
14258 * emacs-lisp/smie.el: Improve warnings and conflict detection.
14259 (smie-warning-count): New var.
14260 (smie-set-prec2tab): Use it.
14261 (smie-bnf->prec2): Improve warnings. Add docstring.
14262 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
14263 (smie-bnf--set-class): New function.
14264 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
14265 corner case.
14266
6944dbc1
SM
14267 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
14268 (compilation-error-properties, compilation-move-to-column):
14269 Handle compilation-first-column while in the target buffer.
14270
c400c4d7
SM
14271 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
14272 Don't hardcode point-min==1.
14273
6dbe3e96
SM
14274 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
14275 (eshell-rewrite-for-command): Remove workaround.
14276 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
14277 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
14278 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
14279
cbe71af3
SM
14280 * files-x.el (modify-file-local-variable): Obey commenting conventions.
14281
a8e1496d
GM
142822011-11-17 Glenn Morris <rgm@gnu.org>
14283
14284 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
14285 Ignore buffer-local generated-autoload-file if it is the same
14286 as the global value. (Bug#10049)
14287
df85d315
JB
142882011-11-17 Juanma Barranquero <lekktu@gmail.com>
14289
14290 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
14291 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
14292 (reftex-toc-previous-heading, reftex-toc-max-level)
14293 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
14294 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
14295 (reftex-toc-do-promote, reftex-toc-promote-prepare)
14296 (reftex-toc-promote-action, reftex-toc-extract-section-number)
14297 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
14298 (reftex-toc-rename-label, reftex-toc-visit-location)
14299 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
14300 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
14301 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
14302 leaving "*toc*" only for references to the buffer.
14303
a0c2d0ae
MR
143042011-11-17 Martin Rudalics <rudalics@gmx.at>
14305
14306 * window.el (window-resize, delete-window, split-window):
14307 Replace window-splits by window-combination-resize.
1d00653d 14308 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 14309
35c0bac8
GM
143102011-11-17 Glenn Morris <rgm@gnu.org>
14311
14312 * progmodes/sh-script.el (sh-font-lock-keywords-var):
14313 Make bash entry derive from sh entry, not shell entry.
14314
d0c8fc8a
MA
143152011-11-16 Michael Albinus <michael.albinus@gmx.de>
14316
7262a87c
MA
14317 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
14318 local file name.
14319
7877f373
JB
143202011-11-16 Juanma Barranquero <lekktu@gmail.com>
14321
14322 * menu-bar.el (menu-bar-file-menu):
14323 * printing.el (pr-ps-utility):
14324 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
14325 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
14326 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
14327 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
14328 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
14329 (icalendar--convert-cyclic-to-ical)
14330 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
14331 (icalendar--convert-ical-to-diary)
14332 (icalendar--convert-recurring-to-diary)
14333 (icalendar--convert-non-recurring-all-day-to-diary)
14334 (icalendar-import-format-sample):
14335 * progmodes/idlw-shell.el (idlwave-shell-mode):
14336 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
14337 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
14338 (vhdl-ps-print-init): Fix typos.
14339
10649b82
KM
143402011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
14341
9d0cfcd6
GM
14342 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
14343 FSF and collapse date sequence, obscure author/maintainer email address
14344 better, remove extra version line, track relocation of author's webpage.
10649b82 14345
9d0cfcd6
GM
14346 * progmodes/python.el (python-pdbtrack-input-prompt)
14347 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
14348 regular python pdb prompts. Adjustments shamelessly taken exactly as
14349 suggested in EmacsWiki page (tiny change):
14350 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 14351
58179cce
JB
143522011-11-16 Juanma Barranquero <lekktu@gmail.com>
14353
14354 * expand.el (expand-pos, expand-index, expand-point):
14355 Remove redundant info from docstring.
14356 (expand-add-abbrevs): Doc fix.
14357 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
14358 (expand-sample-perl-mode-expand-list): Fix typos.
14359
14360 * net/dbus.el (dbus-event-member-name):
14361 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
14362 * term/pc-win.el (msdos-create-frame-with-faces):
14363 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
14364
b6f67890
MR
143652011-11-16 Martin Rudalics <rudalics@gmx.at>
14366
14367 * window.el (split-window, window-state-get-1)
14368 (window-state-put-1, window-state-put-2): Rename occurrences of
14369 window-nest to window-combination-limit.
1d00653d 14370 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 14371
ce7ddba0
CY
143722011-11-16 Chong Yidong <cyd@gnu.org>
14373
14374 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
14375 regexp (Bug#10033).
14376
3ae704f4
SM
143772011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
14378
14379 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
14380 `completing-read' will remove *Completions* and will preserve
14381 current-buffer for us.
14382 (tmm-add-prompt): Users of *Completions* will always (re)set its
14383 major mode.
14384 (tmm-old-comp-map): Remove.
14385
6ad1cdde
GM
143862011-11-16 Glenn Morris <rgm@gnu.org>
14387
14388 * mail/rmailedit.el: Require rmailmm when compiling.
14389 (rmail-old-mime-state): New declaration.
14390 (rmail-edit-current-message): If editing a mime message,
14391 edit the "raw" message from the mbox buffer.
14392 (rmail-cease-edit): Handle mime messages. (Bug#9840)
14393
d20faa20
GM
143942011-11-15 Glenn Morris <rgm@gnu.org>
14395
14396 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
14397 which wasn't being used. Add optional arg to force given state.
14398 (rmail-mime): Add optional arg to force given state.
14399
c7015153
JB
144002011-11-15 Juanma Barranquero <lekktu@gmail.com>
14401
14402 * allout.el (allout-encryption-plaintext-sanitization-regexps):
14403 * frame.el (display-mm-dimensions-alist):
14404 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
14405 (outline-move-subtree-down):
14406 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
14407 (newsticker--treeview-do-get-node):
14408 * net/quickurl.el (quickurl-list-buffer-name):
14409 * progmodes/dcl-mode.el (dcl-mode):
14410 * progmodes/gdb-mi.el (gdb-mapcar*):
14411 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
14412
45261b50
GM
144132011-11-15 Glenn Morris <rgm@gnu.org>
14414
14415 * mail/rmail.el (rmail-file-coding-system): It's only ever used
14416 in a boolean sense, so just make it a boolean, and fix the doc.
14417 (rmail-show-mime-function, rmail-mime-feature)
14418 (rmail-require-mime-maybe): Doc fixes.
14419 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
14420
14421 * mail/rmailmm.el (rmail-show-mime): Doc fix.
14422
0d26e0b6
JB
144232011-11-15 Juanma Barranquero <lekktu@gmail.com>
14424
14425 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
14426 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
14427 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
14428 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
14429
447f30f6
GM
144302011-11-15 Glenn Morris <rgm@gnu.org>
14431
672b871d
GM
14432 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
14433 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
14434 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
14435 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
14436 (rmail-mime, rmail-show-mime): Doc fixes.
14437
f6aa5bb1
GM
14438 * term/ns-win.el (mode-line-frame-identification):
14439 Leave it alone. (Bug#10051)
14440
947cd66b
GM
14441 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
14442
447f30f6
GM
14443 * mail/rmailout.el (rmail-output-to-rmail-buffer):
14444 Handle empty buffers. (Bug#9978)
14445
0b381c7e
JB
144462011-11-14 Juanma Barranquero <lekktu@gmail.com>
14447
14448 * international/mule.el (define-charset):
14449 * mail/rmailmm.el (rmail-mime-find-header-encoding):
14450 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
14451 * progmodes/verilog-mode.el (verilog-backward-token):
14452 * textmodes/ispell.el (lookup-words):
14453 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
14454
71e027ac
GM
144552011-11-14 Glenn Morris <rgm@gnu.org>
14456
56632ce4
GM
14457 * progmodes/executable.el
14458 (executable-make-buffer-file-executable-if-script-p):
14459 Handle file-modes returning nil.
14460
40500957
GM
14461 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
14462 message - not necessary, and causes problems. (Bug#9831)
14463
071c2340
GM
14464 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
14465
d3cfca60
GM
14466 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
14467
71e027ac
GM
14468 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
14469 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
14470 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
14471
89d61221
MR
144722011-11-12 Martin Rudalics <rudalics@gmx.at>
14473
14474 * window.el (window-resize, delete-window): Use window-splits
14475 variable instead of function.
14476 (window-state-get-1, window-state-put-2, window-state-put):
14477 Don't deal with windows' splits status.
14478
98282f6f
GM
144792011-11-12 Glenn Morris <rgm@gnu.org>
14480
14481 * apropos.el (apropos-do-all, apropos-library, apropos-value)
14482 (apropos-documentation): Doc fixes.
14483
40a8bdf6
JB
144842011-11-11 Juanma Barranquero <lekktu@gmail.com>
14485
14486 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
14487 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
14488
65bd19ff
SM
144892011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
14490
14491 * electric.el (electric-indent-post-self-insert-function): Make it
14492 possible for a char to only indent in some circumstances.
14493 (electric-indent-mode): Simplify.
14494
54f9154c
MR
144952011-11-11 Martin Rudalics <rudalics@gmx.at>
14496
14497 * window.el (windows-with-parameter): Remove unused function.
14498 (windows-at-side): Rename to window-at-side-list.
14499 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
14500 (window-side-check, window-size-ignore, window-size-fixed-1)
14501 (window-in-direction-2): Prefix with "window--".
14502 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 14503
68cbc58b
GM
145042011-11-11 Glenn Morris <rgm@gnu.org>
14505
14506 * subr.el (eval-after-load): If FILE is already loaded,
14507 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
14508
b2621720
GM
145092011-11-10 Glenn Morris <rgm@gnu.org>
14510
9a4de110
GM
14511 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
14512 Call svn via vc-svn-command rather than vc-do-command.
14513 (vc-svn-command): Add --non-interactive. (Bug#9993)
14514 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
14515
b2621720
GM
14516 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
14517 Add toggle-read-only. (Bug#7292)
14518 * files.el (toggle-read-only): Mention that it should only
14519 be used interactively. (Bug#10006)
14520
1dce7193
SM
145212011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
14522
d9ac1a1e
SM
14523 * progmodes/compile.el (compilation-error-regexp-alist-alist):
14524 Adjust regexp for OCaml warnings.
14525
0c325082
SM
14526 * electric.el (electric-pair-post-self-insert-function): Let user
14527 turn it off buffer-locally (bug#9932).
14528
90132c14
SM
14529 * progmodes/python.el (python-beginning-of-statement):
14530 Rewrite (bug#2703).
14531
1dce7193
SM
14532 * progmodes/compile.el: Better handle TABs (bug#9749).
14533 (compilation-internal-error-properties)
14534 (compilation-next-error-function): Obey the target buffer's
14535 compilation-error-screen-columns.
14536
c4e7c63a
JB
145372011-11-09 Juanma Barranquero <lekktu@gmail.com>
14538
14539 * progmodes/meta-mode.el: Remove obsolete comments.
14540 (meta-right-comment-regexp, meta-ignore-comment-regexp):
14541 Fix typos in docstrings.
14542
2cffd681
MR
145432011-11-09 Martin Rudalics <rudalics@gmx.at>
14544
14545 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 14546 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
14547 (window--resizable): New function. Make all callers of
14548 window-resizable call window--resizable instead.
14549 (window-resizable): Rewrite in terms of window--resizable.
14550
0edcba87
GM
145512011-11-08 Glenn Morris <rgm@gnu.org>
14552
14553 * progmodes/delphi.el (delphi-mode-syntax-table):
14554 Let define-derived-mode define a proper syntax table. (Bug#9994)
14555
4b0d61e3
SM
145562011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
14557
14558 * window.el: Stay away from defsubst.
14559 (window-list-no-nils): Remove.
14560 (window-state-get-1, window-state-get): Use backquote instead.
14561
cd394be1 145622011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 14563
4b0d61e3 14564 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 14565 Fix incorrect use of default argument in `completing-read'.
14566
e1c2c6f2
MR
145672011-11-08 Martin Rudalics <rudalics@gmx.at>
14568
14569 * window.el (display-buffer-function, special-display-function):
14570 Mention display-buffer-record-window but do not mention
14571 help-setup parameter in doc-strings.
b3f4a882 14572 (window-min-delta): Fix doc-string typo.
e1c2c6f2 14573
105216ed
CY
145742011-11-08 Chong Yidong <cyd@gnu.org>
14575
14576 * window.el (window-total-height, window-total-width): Doc fix.
14577 (window-body-size): Move from C.
14578 (window-body-height, window-body-width): Move to C.
14579
0a9f9ab5
SM
145802011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
14581
14582 * window.el: Make special-display like display-buffer-alist (bug#9532).
14583 (display-buffer--special-action): New function, morphed
14584 from display-buffer--special.
14585 (display-buffer): Use it to handle special-display-buffers at higher
14586 priority (just after display-buffer-alist).
14587 (display-buffer-fallback-action, display-buffer--other-frame-action)
14588 (pop-to-buffer-same-window): Remove display-buffer--special.
14589
a769dd15
GM
145902011-11-07 Glenn Morris <rgm@gnu.org>
14591
14592 * calendar/cal-menu.el (cal-menu-set-date-title):
14593 Do nothing if not in a calendar. (Bug#9976)
14594
05a61ee3
SM
145952011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
14596
14597 * files.el (find-file): Always use selected-window.
14598
be7f5545
MR
145992011-11-07 Martin Rudalics <rudalics@gmx.at>
14600
14601 * window.el (window-combinations): Make WINDOW argument
14602 mandatory. Rewrite doc-string.
14603 (walk-window-subtree, window-atom-check, window-min-delta)
14604 (window-max-delta, window--resize-this-window)
14605 (window--resize-root-window-vertically, window-tree)
14606 (balance-windows, window-state-put): Rewrite doc-strings as to
14607 not mention the term "subwindow".
14608 (window--resize-subwindows-skip-p): Rename to
14609 window--resize-child-windows-skip-p.
14610 (window--resize-subwindows-normal): Rename to
14611 window--resize-child-windows-normal.
14612 (window--resize-subwindows): Rename to
14613 window--resize-child-windows.
14614 (window-or-subwindow-p): Rename to window--in-subtree-p.
14615
3c6702ef
ML
146162011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
14617
14618 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
14619 Ensure that mbox format messages end in two newlines (Bug#9974).
14620
49745b39
CY
146212011-11-06 Chong Yidong <cyd@gnu.org>
14622
14623 * window.el (window-combination-p): Function deleted; its
14624 side-effect is not used in any existing code.
14625 (window-combinations, window-combined-p): Call window-*-child
14626 directly.
14627
24300f5f
CY
146282011-11-05 Chong Yidong <cyd@gnu.org>
14629
14630 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
14631 (window-size-ignore, window-state-get): Callers changed.
14632 (window-normalize-window): Rename from window-normalize-any-window.
14633 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 14634 (window-normalize-live-window): Delete.
447f16b8
CY
14635 (window-combination-p, window-combined-p, window-combinations)
14636 (walk-window-subtree, window-atom-root, window-min-size)
14637 (window-sizable, window-sizable-p, window-size-fixed-p)
14638 (window-min-delta, window-max-delta, window-resizable)
14639 (window-resizable-p, window-full-height-p, window-full-width-p)
14640 (window-current-scroll-bars, window-point-1, set-window-point-1)
14641 (window-at-side-p, window-in-direction, window-resize)
14642 (adjust-window-trailing-edge, maximize-window, minimize-window)
14643 (window-deletable-p, delete-window, delete-other-windows)
14644 (record-window-buffer, unrecord-window-buffer)
14645 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
14646 (quit-window, split-window, window-state-put)
14647 (set-window-text-height, fit-window-to-buffer)
14648 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 14649
89bd5ee1
EZ
146502011-11-04 Eli Zaretskii <eliz@gnu.org>
14651
53479029
EZ
14652 * mail/rmail.el (rmail-simplified-subject): Decode subject with
14653 rfc2047-decode-string.
14654 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
14655 warnings.
14656
89bd5ee1
EZ
14657 * window.el (window-body-height, window-body-width): Mention in
14658 the doc string that the return values are in frame's canonical
14659 units. (Bug#9949)
14660
bd17fdee
AM
146612011-11-03 Alan Mackenzie <acm@muc.de>
14662
14663 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
14664 change in cc-engine.el.
14665
acc825c5
SM
146662011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
14667
14668 * window.el (switch-to-buffer): Use `force-same-window' interactively.
14669
1885e5b8
MR
146702011-11-02 Martin Rudalics <rudalics@gmx.at>
14671
14672 * window.el (quit-window): Call unrecord-window-buffer after
14673 showing another buffer in the window. (Bug#9937)
acc825c5 14674 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 14675
ebe06da9
JB
146762011-11-02 Juanma Barranquero <lekktu@gmail.com>
14677
14678 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
14679 Accept status with more than 9 shelves. (Bug#9935)
14680 Reported by Colin D Bennett <colin@gibibit.com>.
14681
4ee88440
MR
146822011-11-01 Martin Rudalics <rudalics@gmx.at>
14683
14684 * help.el (with-help-window): Don't reference
14685 temp-buffer-show-specifiers in doc-string.
14686
08e1d82c
AS
146872011-10-31 Andreas Schwab <schwab@linux-m68k.org>
14688
14689 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
14690 menu-item.
14691
84bd6e9e
VJL
146922011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
14693
14694 * whitespace.el: New version 13.2.2.
14695 (whitespace-newline-mode): Disable properly. Reported by Sarah
14696 <EmacsWiki>.
14697
dba0634a
UJ
146982011-10-30 Ulf Jasper <ulf.jasper@web.de>
14699
14700 * net/newst-treeview.el: Remove "Time-stamp".
14701 (newsticker--group-manage-orphan-feeds): Do not call
14702 newsticker--treeview-tree-update.
db22a3c2
JB
14703 (newsticker-treeview-update, newsticker-treeview):
14704 Call newsticker--treeview-tree-update if necessary.
dba0634a 14705
3d8daefe
MR
147062011-10-30 Martin Rudalics <rudalics@gmx.at>
14707
14708 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
14709 (window-iso-combinations): Remove "iso-" infix.
14710 Suggested by Chong Yidong.
3d8daefe
MR
14711 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
14712 (window-max-delta-1, window-resize, window--resize-siblings)
14713 (window--resize-this-window, adjust-window-trailing-edge)
14714 (split-window, balance-windows-1)
14715 (shrink-window-if-larger-than-buffer):
14716 * calendar/calendar.el (calendar-generate-window):
db22a3c2 14717 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 14718
1bc4c3ae
SM
147192011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
14720
14721 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
14722 in place (bug#9907).
14723 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
14724 (eshell-rewrite-if-command, eshell-rewrite-for-command)
14725 (eshell-structure-basic-command, eshell-rewrite-while-command)
14726 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
14727 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
14728 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
14729 (eshell-do-pipelines-synchronously, eshell-eval-command):
14730 Use backquotes and prefer setq to set.
14731 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
14732 (eshell-macrop): Use functionp.
c1e2f5fa 14733 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 14734
30b65d9c
CY
147352011-10-30 Chong Yidong <cyd@gnu.org>
14736
14737 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
14738 instead of set-mark (Bug#9810).
14739
2d197ffb
CY
147402011-10-30 Chong Yidong <cyd@gnu.org>
14741
14742 * window.el (split-window-below, split-window-right): Rename from
14743 split-window-above-each-other and split-window-side-by-side
14744 respectively. All callers changed.
14745 (split-window-sensibly, split-window-sensibly): Use them.
14746 (split-window-keep-point): Doc fix.
14747
14748 * isearch.el: Add isearch-scroll property to split-window-below
14749 and split-window-right.
14750
14751 * follow.el (follow-mode):
14752 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
14753 * progmodes/ada-xref.el (ada-gdb-application):
14754 * emulation/vip.el (vip-buffer-in-two-windows):
14755 * image-dired.el (image-dired-dired-with-window-configuration):
14756 * dired-x.el (dired-do-find-marked-files):
14757 * dired.el (dired-pop-to-buffer):
14758 * bs.el (bs--show-with-configuration):
14759 * vc/emerge.el (emerge-setup-windows):
14760 * textmodes/two-column.el (2C-two-columns):
14761 * textmodes/reftex-toc.el (reftex-toc):
14762 * progmodes/gdb-mi.el (gdb-setup-windows):
14763 * progmodes/fortran.el (fortran-window-create):
14764 * net/newst-treeview.el (newsticker--treeview-window-init):
14765 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
14766 * emulation/tpu-edt.el (tpu-gold-map):
14767 * emulation/crisp.el (crisp-mode-map):
14768 * calendar/calendar.el (calendar-basic-setup): Callers changed.
14769
38bb2ca8
CY
147702011-10-29 Chong Yidong <cyd@gnu.org>
14771
aa4de341
CY
14772 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
14773
e1eb5385
CY
14774 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
14775
5d2ece3c
CY
14776 * textmodes/flyspell.el (flyspell-word): Fix char offset for
14777 forged Ispell output (Bug#7904).
14778
38bb2ca8
CY
14779 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
14780
d0af9f77
SM
147812011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
14782
14783 * doc-view.el: Avoid ugly errors about not finding nil.
14784 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
14785 (doc-view-dvipdf-program, doc-view-unoconv-program)
14786 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
14787 Avoid nil or absolute file name as default value.
14788 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
14789
52bedd34
AM
147902011-10-28 Alan Mackenzie <acm@muc.de>
14791
db22a3c2 14792 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 14793
7e43cfa5
AM
147942011-10-28 Alan Mackenzie <acm@muc.de>
14795
14796 Amend the handling of c-beginning/end-of-defun in nested declaration
14797 scopes.
14798
52bedd34
AM
14799 * progmodes/cc-vars.el (c-defun-tactic): Move here from
14800 cc-langs.el. Change it to a defcustom.
7e43cfa5 14801
52bedd34
AM
14802 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
14803 cc-vars.el.
7e43cfa5 14804
d0af9f77
SM
14805 * progmodes/cc-engine.el (c-beginning-of-statement-1):
14806 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 14807
52bedd34 14808 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 14809 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
14810 (c-widen-to-enclosing-decl-scope): New function.
14811 (c-while-widening-to-decl-block): New macro.
14812 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
14813 outward for defun boundaries, and correspondingly change symbol
14814 `respect-enclosure' to `go-outward'.
14815 (c-declaration-limits): Change algorithm to report only the "innermost"
14816 defun's boundaries.
14817
1a2ce9ee
DD
148182011-10-28 Deniz Dogan <deniz@dogan.se>
14819
14820 * net/rcirc.el (rcirc-mode): Use hard newlines.
14821
bc97a826
AM
148222011-10-28 Alan Mackenzie <acm@muc.de>
14823
14824 Amend to indent and fontify macros "which include their own semicolon"
14825 correctly, using the "virtual semicolon" mechanism.
14826
52bedd34 14827 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 14828
d0af9f77 14829 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 14830 Recode to scan one line at a time rather than having \n and \r
58179cce 14831 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 14832 (c-forward-label): Amend for virtual semicolons.
58179cce 14833 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 14834
52bedd34
AM
14835 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
14836 of the new C macros.
bc97a826 14837
52bedd34 14838 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
14839 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
14840 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
14841 (c-opt-cpp-macro-define): Make into a full language variable.
14842 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
14843 AWK Mode (including \n, \r) removed, no longer needed.
14844
d0af9f77
SM
14845 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
14846 Invoke c-make-macro-with-semi-re.
bc97a826 14847
52bedd34
AM
14848 * progmodes/cc-vars.el (c-macro-with-semi-re):
14849 (c-macro-names-with-semicolon): New variables.
58179cce 14850 (c-make-macro-with-semi-re): New function.
bc97a826 14851
7a6c0941
SM
148522011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
14853
14854 * vc/log-edit.el: Fill empty field rather than adding new one.
14855 (log-edit-add-field): New function.
14856 (log-edit-insert-changelog): Use it.
14857
b0c4cdcf
ML
148582011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
14859
14860 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
14861
ee1f1da9
SM
148622011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
14863
14864 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
14865 (gdb--check-interpreter): New function.
14866 (gdb): Use it.
14867
51bc5f8b
GM
148682011-10-27 Glenn Morris <rgm@gnu.org>
14869
416a2c45
GM
14870 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
14871 (least-positive-float, least-negative-float)
14872 (least-positive-normalized-float, least-negative-normalized-float)
14873 (float-epsilon, float-negative-epsilon):
14874 Remove unnecessary declarations.
14875
14876 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
14877 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
14878 (least-positive-float, least-negative-float)
14879 (least-positive-normalized-float, least-negative-normalized-float)
14880 (float-epsilon, float-negative-epsilon): Add doc-strings,
14881 based on those in cl.texi.
14882
51bc5f8b
GM
14883 * files.el (set-visited-file-name): If the major-mode changed,
14884 reload the local variables. (Bug#9796)
14885
15de15c6
CY
148862011-10-27 Chong Yidong <cyd@gnu.org>
14887
14888 * subr.el (change-major-mode-after-body-hook): New hook.
14889 (run-mode-hooks): Run it.
14890
ee1f1da9
SM
14891 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
14892 Use change-major-mode-before-body-hook.
15de15c6
CY
14893
14894 * simple.el (fundamental-mode):
14895 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
14896 change introducing fundamental-mode-hook.
14897
5430d399
JB
148982011-10-26 Juanma Barranquero <lekktu@gmail.com>
14899
acc825c5 14900 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 14901
ad74a69e
MA
149022011-10-26 Michael Albinus <michael.albinus@gmx.de>
14903
14904 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 14905 tramp.el explicitly. (Bug#7583)
ad74a69e 14906
71d4c2a5
SM
149072011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
14908
14909 * progmodes/octave-mod.el:
14910 * progmodes/octave-inf.el: Update maintainer.
14911
b1f6fa26
CY
149122011-10-26 Chong Yidong <cyd@gnu.org>
14913
14914 * subr.el (with-wrapper-hook): Rewrite doc.
14915
3f04efd6
MA
149162011-10-25 Michael Albinus <michael.albinus@gmx.de>
14917
14918 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 14919 filenames "/method:foo:". (Bug#9793)
3f04efd6 14920
410488d3
SM
149212011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
14922
14923 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
14924 (bug#9865).
14925
c1ebb47e
GM
149262011-10-24 Glenn Morris <rgm@gnu.org>
14927
14928 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
14929
7f5c46c7
MA
149302011-10-24 Michael Albinus <michael.albinus@gmx.de>
14931
14932 * notifications.el: Add the requirement of a running D-Bus session
14933 bus to the Commentary.
14934
db2440b6
JL
149352011-10-24 Juri Linkov <juri@jurta.org>
14936
14937 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
14938 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
14939 (Bug#9364)
14940
feecf435
JL
149412011-10-24 Juri Linkov <juri@jurta.org>
14942
14943 * info.el (Info-following-node-name-re): Add newline to the list
14944 of allowed characters for leading space. (Bug#9824)
14945
a3839de2
SM
149462011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
14947
acc825c5
SM
14948 * progmodes/octave-inf.el (inferior-octave-mode-map):
14949 Fix C-c C-h binding.
a3839de2
SM
14950 * progmodes/octave-mod.el (octave-help): Remove.
14951
09388e76
MA
149522011-10-23 Michael Albinus <michael.albinus@gmx.de>
14953
14954 Sync with Tramp 2.2.3.
14955
14956 * net/tramp-cache.el (top): Pacify byte-compiler using
14957 `init-file-user' and `site-run-file'.
14958
14959 * net/trampver.el: Update release number.
14960
86c60681
CY
149612011-10-23 Chong Yidong <cyd@gnu.org>
14962
14963 * files.el (toggle-read-only): Remove obsolete comment about
14964 version control.
14965
14966 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
14967 for toggle-read-only. Note that this hasn't called vc-next-action
14968 since 2008-05-02, though it wasn't documented at the time.
14969
a3839de2
SM
14970 * vc/ediff-init.el (ediff-toggle-read-only-function):
14971 Use toggle-read-only.
86c60681 14972
cd5495ff
AM
149732011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
14974
14975 Fix bug #9560, sporadic wrong indentation; improve instrumentation
14976 of c-parse-state.
14977
00b77525 14978 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 14979 correct faulty logical expression.
cd5495ff
AM
14980 (c-parse-state-state, c-record-parse-state-state):
14981 (c-replay-parse-state-state): New defvar/defuns.
14982 (c-debug-parse-state): Use new functions.
14983
42ee24ed
MR
149842011-10-22 Martin Rudalics <rudalics@gmx.at>
14985
14986 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 14987 last fix. Use window-in-direction correctly.
42ee24ed 14988
a7dee7e7
CY
149892011-10-21 Chong Yidong <cyd@gnu.org>
14990
14991 * progmodes/idlwave.el (idlwave-mode):
14992 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
14993 require-final-newline; that's done in prog-mode.
14994 Suggested by Stefan Monnier.
a7dee7e7 14995
e07b9a6d
MR
149962011-10-21 Martin Rudalics <rudalics@gmx.at>
14997
14998 * mouse.el (mouse-drag-window-above)
14999 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
15000 (mouse-drag-mode-line-1, mouse-drag-header-line)
15001 (mouse-drag-vertical-line-rightward-window): Remove.
15002 (mouse-drag-line): New function.
15003 (mouse-drag-mode-line, mouse-drag-header-line)
15004 (mouse-drag-vertical-line): Call mouse-drag-line.
15005 * window.el (window-at-side-p, windows-at-side): New functions.
15006
7e1361d9
UM
150072011-10-21 Ulrich Mueller <ulm@gentoo.org>
15008
15009 * tar-mode.el (tar-grind-file-mode):
15010 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
15011
30fcaf3a
CY
150122011-10-21 Chong Yidong <cyd@gnu.org>
15013
15014 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
15015 * progmodes/vera-mode.el (vera-mode):
15016 Use mode-require-final-newline.
30fcaf3a 15017
516eddb0
GM
150182011-10-20 Glenn Morris <rgm@gnu.org>
15019
db22a3c2 15020 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 15021
10d5f513
CS
150222011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
15023
15024 * emulation/cua-base.el (cua-set-mark): Fix case of string.
15025
ac6c8639
CY
150262011-10-20 Chong Yidong <cyd@gnu.org>
15027
15028 * emulation/cua-base.el (cua-mode):
15029 * mail/footnote.el (footnote-mode):
15030 * mail/mailabbrev.el (mail-abbrevs-mode):
15031 * net/xesam.el (xesam-minor-mode):
15032 * progmodes/bug-reference.el (bug-reference-mode):
15033 * progmodes/cap-words.el (capitalized-words-mode):
15034 * progmodes/compile.el (compilation-minor-mode)
15035 (compilation-shell-minor-mode):
15036 * progmodes/gud.el (gud-tooltip-mode):
15037 * progmodes/hideif.el (hide-ifdef-mode):
15038 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
15039 * progmodes/subword.el (subword-mode):
15040 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
15041 * progmodes/which-func.el (which-function-mode):
15042 * term/tvi970.el (tvi970-set-keypad-mode):
15043 * term/vt100.el (vt100-wide-mode):
15044 * textmodes/flyspell.el (flyspell-mode):
15045 * textmodes/ispell.el (ispell-minor-mode):
15046 * textmodes/nroff-mode.el (nroff-electric-mode):
15047 * textmodes/paragraphs.el (use-hard-newlines):
15048 * textmodes/refill.el (refill-mode):
15049 * textmodes/reftex.el (reftex-mode):
15050 * textmodes/rst.el (rst-minor-mode):
15051 * textmodes/sgml-mode.el (html-autoview-mode)
15052 (sgml-electric-tag-pair-mode):
15053 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
15054 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
15055 * emulation/crisp.el (crisp-mode):
15056 * emacs-lisp/eldoc.el (eldoc-mode):
15057 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
15058 minor mode behavior.
15059
aa42ab43
JL
150602011-10-19 Juri Linkov <juri@jurta.org>
15061
15062 * descr-text.el (describe-char): Add #x2010 and #x2011 to
15063 the list of hard-coded chars with escape-glyph face.
15064
89400f1d
SM
150652011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
15066
15067 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
15068
305c07f6
MA
150692011-10-19 Michael Albinus <michael.albinus@gmx.de>
15070
15071 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
15072 running process.
15073
13754b54
GM
150742011-10-19 Glenn Morris <rgm@gnu.org>
15075
15076 * vc/vc-bzr.el (vc-bzr-after-dir-status):
15077 Ignore ignored files. (Bug#9726)
15078
06e21633
CY
150792011-10-19 Chong Yidong <cyd@gnu.org>
15080
15081 Doc fix for minor modes, stating that an omitted argument enables
15082 the mode unconditionally when called from Lisp.
15083
15084 * abbrev.el (abbrev-mode):
15085 * allout.el (allout-mode):
15086 * autoinsert.el (auto-insert-mode):
15087 * autoarg.el (autoarg-mode, autoarg-kp-mode):
15088 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
15089 (global-auto-revert-mode):
15090 * battery.el (display-battery-mode):
15091 * composite.el (global-auto-composition-mode)
15092 (auto-composition-mode):
15093 * delsel.el (delete-selection-mode):
15094 * desktop.el (desktop-save-mode):
15095 * dired-x.el (dired-omit-mode):
15096 * dirtrack.el (dirtrack-mode):
15097 * doc-view.el (doc-view-minor-mode):
15098 * double.el (double-mode):
15099 * electric.el (electric-indent-mode, electric-pair-mode):
15100 * emacs-lock.el (emacs-lock-mode):
15101 * epa-hook.el (auto-encryption-mode):
15102 * follow.el (follow-mode):
15103 * font-core.el (font-lock-mode):
15104 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
15105 * help.el (temp-buffer-resize-mode):
15106 * hilit-chg.el (highlight-changes-mode)
15107 (highlight-changes-visible-mode):
15108 * hi-lock.el (hi-lock-mode):
15109 * hl-line.el (hl-line-mode, global-hl-line-mode):
15110 * icomplete.el (icomplete-mode):
15111 * ido.el (ido-everywhere):
15112 * image-file.el (auto-image-file-mode):
15113 * image-mode.el (image-minor-mode):
15114 * iswitchb.el (iswitchb-mode):
15115 * jka-cmpr-hook.el (auto-compression-mode):
15116 * linum.el (linum-mode):
15117 * longlines.el (longlines-mode):
15118 * master.el (master-mode):
15119 * mb-depth.el (minibuffer-depth-indicate-mode):
15120 * menu-bar.el (menu-bar-mode):
15121 * minibuf-eldef.el (minibuffer-electric-default-mode):
15122 * mouse-sel.el (mouse-sel-mode):
15123 * msb.el (msb-mode):
15124 * mwheel.el (mouse-wheel-mode):
15125 * outline.el (outline-minor-mode):
15126 * paren.el (show-paren-mode):
15127 * recentf.el (recentf-mode):
15128 * reveal.el (reveal-mode, global-reveal-mode):
15129 * rfn-eshadow.el (file-name-shadow-mode):
15130 * ruler-mode.el (ruler-mode):
15131 * savehist.el (savehist-mode):
15132 * scroll-all.el (scroll-all-mode):
15133 * scroll-bar.el (scroll-bar-mode):
15134 * server.el (server-mode):
15135 * shell.el (shell-dirtrack-mode):
15136 * simple.el (auto-fill-mode, transient-mark-mode)
15137 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
15138 (line-number-mode, column-number-mode, size-indication-mode)
15139 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
15140 * strokes.el (strokes-mode):
15141 * time.el (display-time-mode):
15142 * t-mouse.el (gpm-mouse-mode):
15143 * tool-bar.el (tool-bar-mode):
15144 * tooltip.el (tooltip-mode):
15145 * type-break.el (type-break-mode-line-message-mode)
15146 (type-break-query-mode):
15147 * view.el (view-mode):
15148 * whitespace.el (whitespace-mode, whitespace-newline-mode)
15149 (global-whitespace-mode, global-whitespace-newline-mode):
15150 * xt-mouse.el (xterm-mouse-mode): Doc fix.
15151
a3839de2
SM
15152 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
15153 Fix autogenerated docstring.
06e21633 15154
5214e501
JL
151552011-10-19 Juri Linkov <juri@jurta.org>
15156
15157 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
15158 by checking environment variables "DESKTOP_SESSION" and
15159 "XDG_CURRENT_DESKTOP". (Bug#9779)
15160
195f8db9
JL
151612011-10-19 Juri Linkov <juri@jurta.org>
15162
15163 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
15164 (browse-url-chromium-program, browse-url-chromium-arguments):
15165 New defcustoms.
15166 (browse-url-default-browser): Check for `browse-url-chromium' and
15167 call `browse-url-chromium-program'.
15168 (browse-url-chromium): New command. (Bug#9779)
15169
343a34ff
JB
151702011-10-18 Juanma Barranquero <lekktu@gmail.com>
15171
15172 * facemenu.el (list-colors-duplicates): On Windows, detect more
15173 duplicates by assuming that only colors matching "^System" are
15174 special "system colors". (Bug#9722)
15175
6978a151
SM
151762011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
15177
15178 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
15179 to distinguish the author from the committer.
15180
6a80b297
MA
151812011-10-18 Michael Albinus <michael.albinus@gmx.de>
15182
15183 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
15184
b31a5677
JK
151852011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
15186
15187 * international/mule.el (sgml-html-meta-auto-coding-function):
15188 Add support for detecting encoding in HTML5 specified only as
15189 <meta charset="UTF-8">. Implementation just makes http-equiv and
15190 content-type parts from HTML4 encoding string optional. (Bug#9716)
15191
80c6d77f
GM
151922011-10-18 Glenn Morris <rgm@gnu.org>
15193
15194 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
15195
08b0fee8
CY
151962011-10-18 Chong Yidong <cyd@gnu.org>
15197
15198 * faces.el (cursor): Doc fix.
15199
67e729a5
CY
152002011-10-17 Chong Yidong <cyd@gnu.org>
15201
15202 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
15203
343a34ff 152042011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
15205
15206 * dirtrack.el (dirtrack): Support shell buffers with path
15207 prefixes, e.g. tramp-based remote shells. (Bug#9647)
15208
0bc06380
TZ
152092011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
15210
15211 * json.el: Bump version to 1.3 and note change in History.
15212 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
15213
8b79f3e0
SM
152142011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
15215
5a7c536b
SM
15216 * comint.el (comint-insert-input, comint-send-input)
15217 (comint-get-old-input-default, comint-backward-matching-input)
15218 (comint-next-prompt): Use nil instead of `input' for field property of
15219 past user input (bug#114).
15220
96a8a0df
SM
15221 * minibuffer.el (completion--replace): Inherit surrounding properties
15222 (bug#114).
15223 (minibuffer-complete-and-exit): Use it.
15224
8b79f3e0
SM
15225 * comint.el (comint--table-subvert): Quote the all-completions output
15226 (bug#9160).
15227
b8f7ff0d
MR
152282011-10-17 Martin Rudalics <rudalics@gmx.at>
15229
8b79f3e0 15230 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 15231
b8f7ff0d 15232 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 15233 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
15234 entries and separate them from frame entries.
15235
c235b555
GM
152362011-10-15 Glenn Morris <rgm@gnu.org>
15237
15238 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
15239 Doc fixes.
15240
6bbfa6e1
CY
152412011-10-15 Chong Yidong <cyd@stupidchicken.com>
15242
8b79f3e0
SM
15243 * net/network-stream.el (network-stream-open-starttls):
15244 Improve detection of failure due to lack of TLS support.
ec5c990d 15245
6bbfa6e1
CY
15246 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
15247 putting the input text in front and in bold.
15248
98488977
SM
152492011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
15250
3d1337be
SM
15251 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
15252
ee0b45e4
SM
15253 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
15254 empty buffer.
15255
98488977
SM
15256 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
15257 unread-command-events rather than pushing yet-another event.
15258
186f4720
EZ
152592011-10-14 Eli Zaretskii <eliz@gnu.org>
15260
15261 * mail/sendmail.el (sendmail-query-once): Improve the wording of
15262 the explanation of the possible choices. Make the options passed
15263 to completing-read shorter.
15264
8b7a997c
AM
152652011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
15266
15267 * textmodes/flyspell.el (flyspell-large-region): Make sure
15268 extended character mode is used if defined (Bug#1339).
15269
12587bbb
EZ
152702011-10-13 Eli Zaretskii <eliz@gnu.org>
15271
15272 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
15273 character info for LRE, LRO, RLE, and RLO characters by appending
15274 an invisible PDF.
12587bbb 15275
bad41229
SM
152762011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
15277
15278 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
15279 even in case of error; add debug spec; simplify data flow.
15280 (with-timeout-handler): Remove.
15281
28dbc92f
MA
152822011-10-12 Michael Albinus <michael.albinus@gmx.de>
15283
15284 Fix Bug#6019, Bug#9315.
15285
15286 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
15287 complete `buffer-file-name', the local file name part could look
15288 remotely (for example on VMS).
15289
15290 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
15291 `tramp-run-real-handler'.
15292 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
15293 already quoted by '"'.
15294
15295 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
15296 Let `file-name-handler-alist' be nil, the local file name part
15297 could look remotely (for example on VMS).
15298
e1b0b23a
SM
152992011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
15300
15301 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
15302 from here...
15303 (flyspell-post-command-hook): ...to here.
15304
a120bde9
SM
153052011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
15306
15307 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
15308 if not needed.
15309 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
15310 using completion. Protect against "slow" callers.
15311 Remove the "message hack".
15312
7ce7717b
JL
153132011-10-11 Juri Linkov <juri@jurta.org>
15314
15315 * isearch.el (isearch-lazy-highlight-word): New variable.
15316 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
15317 Use it. (Bug#9727)
15318
c02ee9d6
GM
153192011-10-11 Glenn Morris <rgm@gnu.org>
15320
15321 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
15322 like f90-previous-statement does.
15323
93e616fd 153242011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15325
1f190e73 15326 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
15327 only in interactive use, to avoid error.
15328
af7b6078
SM
153292011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
15330
15331 * minibuffer.el (completion-file-name-table): Fix last change,
15332 i.e. ignore normal errors but not the other ones.
15333
0563dae9
MR
153342011-10-10 Martin Rudalics <rudalics@gmx.at>
15335
15336 * window.el (special-display-buffer-names)
15337 (special-display-regexps): Remove some remnants of earlier
15338 changes from doc-strings.
366ca7f3
MR
15339 (quit-windows-on): New function.
15340
15341 * vc/vc.el (vc-revert, vc-rollback):
15342 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
15343 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 15344 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 15345
49677495
MR
153462011-10-09 Martin Rudalics <rudalics@gmx.at>
15347
15348 * window.el (frame-auto-hide-function): Add version tag.
15349 (Bug#9699)
15350
56f2d1e1
MA
153512011-10-09 Michael Albinus <michael.albinus@gmx.de>
15352
15353 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
15354 condition.
15355
112a6592
LL
153562011-10-09 Leo Liu <sdl.web@gmail.com>
15357
15358 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
15359 (Bug#9701)
15360
0812589b
GM
153612011-10-08 Glenn Morris <rgm@gnu.org>
15362
15363 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
15364 before the first code statement zero indent. (Bug#9690)
15365
b2b0776e
CY
153662011-10-08 Chong Yidong <cyd@stupidchicken.com>
15367
15368 * simple.el (count-words-region): Always count in the region.
15369 Report the number of lines and characters too.
15370 (count-words): New command, which counts in the buffer if the
15371 region is inactive, as count-words-region used to.
15372 (count-words--message): New function. Handle plurals.
15373 (count-lines-region): Make it an alias for count-words-region.
15374
15375 * bindings.el (esc-map): Replace count-lines-region with
15376 count-words-region.
15377
c557cd6b
MR
153782011-10-08 Martin Rudalics <rudalics@gmx.at>
15379
15380 * window.el (window--delete): Delete dedicated frame
15381 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 15382 (switch-to-buffer): Fix doc-string typo.
c557cd6b 15383
61a57ef4 153842011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15385
3a7d293b 15386 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 15387
c3833279
CY
153882011-10-07 Chong Yidong <cyd@stupidchicken.com>
15389
15390 * bindings.el ([M-left],[M-right]): Bind to left-word and
15391 right-word respectively.
15392
21ce8245
GM
153932011-10-07 Glenn Morris <rgm@gnu.org>
15394
15395 * cus-start.el (debug-on-quit): Fix custom type.
15396
6d823bb2
LMI
153972011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
15398
0181e193
LMI
15399 * subr.el (define-key-after): Clarify that the function is not
15400 useful for non-menu keymaps.
15401
6d823bb2
LMI
15402 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
15403
8e3459ce 154042011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15405
21ce8245 15406 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 15407 in current minibuffer (Fix bug with recursive minibuffers).
15408
a1c2d21e
CY
154092011-10-06 Chong Yidong <cyd@stupidchicken.com>
15410
15411 * progmodes/gdb-mi.el (gdb): Doc fix.
15412
5a4cf282
MR
154132011-10-05 Martin Rudalics <rudalics@gmx.at>
15414
15415 * window.el (frame-auto-hide-function): New option replacing
15416 frame-auto-delete. Suggested by Stefan Monnier.
15417 (window--delete): Call frame-auto-hide-function instead of
15418 investigating frame-auto-delete.
c96111ea
MR
15419 (window-point-1, set-window-point-1): New functions.
15420 (window-in-direction, record-window-buffer, window-state-get-1)
15421 (display-buffer-record-window): Use window-point-1 instead of
15422 window-point.
15423 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 15424
9854542e
SM
154252011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
15426
15427 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
15428
8943cfb0
GM
154292011-10-05 Glenn Morris <rgm@gnu.org>
15430
15431 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
15432 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
15433
647ab967
LL
154342011-10-05 Leo Liu <sdl.web@gmail.com>
15435
15436 * subr.el (read-char-choice): Fix argument to buffer-live-p which
15437 works with buffer object.
15438
3ddfbced
SM
154392011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
15440
15441 * mpc.el (mpc-tool-bar-map): Add labels.
15442
bdfa5dd2
GM
154432011-10-04 Glenn Morris <rgm@gnu.org>
15444
15445 * calendar/holidays.el (calendar-check-holidays): Doc fix.
15446
0e2070b5
MR
154472011-10-04 Martin Rudalics <rudalics@gmx.at>
15448
15449 * window.el (window--delete): New function.
15450 (frame-auto-delete): Resuscitate option.
15451 (bury-buffer, replace-buffer-in-windows)
15452 (quit-window): Rewrite using window--delete.
15453 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
15454 Pass display-buffer-mark-dedicated to window--display-buffer-2
15455 (Bug#9639).
15456
3dc61a09
SM
154572011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
15458
915a9b64
SM
15459 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
15460 returns a list (bug#9554). Add remote file name completion.
15461 * comint.el (comint--table-subvert): Curry and get quote&unquote
15462 functions as arguments.
15463 (comint--complete-file-name-data): Adjust call accordingly.
15464 * pcomplete.el (pcomplete--table-subvert): Remove.
15465 (pcomplete-completions-at-point): Use comint--table-subvert instead.
15466
3dc61a09
SM
15467 * minibuffer.el (completion-table-case-fold): Use currying.
15468 (completion--styles-type, completion--cycling-threshold-type):
15469 New constants.
15470 (completion-styles, completion-category-overrides)
15471 (completion-cycle-threshold): Use them.
15472 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
15473 completion-table-case-fold.
15474
8ea0a993
SB
154752011-10-03 Stephen Berman <stephen.berman@gmx.net>
15476
15477 * minibuffer.el (completion-category-overrides): Fix type of styles
15478 and add more user friendly tags (bug#9660).
15479
8c24b7f6
SM
154802011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
15481
15482 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
15483 (mule-input-method-string): New widget.
15484 (default-input-method, language-info-custom-alist): Use it.
15485
428fe61a
SM
154862011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
15487
32c1fffd
SM
15488 * pcomplete.el: Require comint.
15489 (pcomplete--common-suffix): Remove.
15490 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
15491 (pcomplete--table-subvert): Sync with comint--table-subvert.
15492 (pcomplete--entries): Use comint-completion-file-name-table.
15493 * comint.el (comint-unquote-filename): Simplify.
15494 (comint-completion-file-name-table): New function (bug#9616).
15495 (comint--complete-file-name-data): Use it.
15496
428fe61a
SM
15497 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
15498 (pcmpl-gnu-tar-buffer): Remove.
15499 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
15500 around. Make sure pcomplete-suffix-list is only changed temporarily.
15501 Don't look inside the tar's file if it's too large.
428fe61a 15502
04c52e2f
CY
155032011-10-01 Chong Yidong <cyd@stupidchicken.com>
15504
ce3cefcc
CY
15505 * cus-edit.el (custom-mode-map):
15506 * epa.el (epa-key-list-mode-map):
15507 * man.el (Man-mode-map):
15508 * startup.el (splash-screen-keymap):
15509 * simple.el (special-mode-map): Use scroll-up-command and
15510 scroll-down-command.
15511
15512 * progmodes/idlw-help.el (idlwave-help-mode-map):
15513 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
15514 * net/newst-plainview.el (newsticker-mode-map):
15515 * emulation/ws-mode.el (wordstar-mode-map):
15516 * emulation/vi.el (vi-com-map):
15517 * calc/calc-graph.el (calc-graph-show-dumb):
15518 * term/sun.el (terminal-init-sun):
15519 * term/ns-win.el (global-map):
15520 * progmodes/grep.el (grep-mode-map):
15521 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
15522 * mail/rmail.el (rmail-mode-map):
15523 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
15524
04c52e2f
CY
15525 * custom.el (custom-safe-themes, load-theme): Treat value of t for
15526 custom-safe-themes as special.
15527
79adf8c8
JD
155282011-10-01 Julien Danjou <julien@danjou.info>
15529
15530 * notifications.el (notifications-notify): Fix docstring.
15531
63bd50d3
PS
155322011-10-01 Per Starbäck <per@starback.se>
15533
15534 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
15535
199e4c7e
MR
155362011-09-30 Martin Rudalics <rudalics@gmx.at>
15537
15538 * startup.el (command-line-1): Fix last fix by inserting
15539 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 15540 (Bug#9605) and (Bug#9636)
199e4c7e 15541
fe5f08dd
EZ
155422011-09-29 Eli Zaretskii <eliz@gnu.org>
15543
15544 * simple.el (line-move): If auto-hscroll-mode is disabled and the
15545 window is hscrolled, move by logical lines. (Bug#9607)
15546 (line-move-visual): Update the doc string to the above effect.
15547
b5516bbd
MR
155482011-09-29 Martin Rudalics <rudalics@gmx.at>
15549
ccee00c0
MR
15550 * window.el (display-buffer-record-window): When WINDOW is the
15551 selected window use `point' instead of `window-point'. (Bug#9626)
15552
b5516bbd
MR
15553 * startup.el (command-line-1): Use insert-before-markers when
15554 inserting initial-scratch-message. (Bug#9605)
ccee00c0 15555
b5516bbd
MR
15556 * help.el (help-window): Remove variable.
15557
52aa0014
GM
155582011-09-29 Glenn Morris <rgm@gnu.org>
15559
15560 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
15561
df9a7357
JB
155622011-09-29 Juanma Barranquero <lekktu@gmail.com>
15563
15564 * descr-text.el (describe-char-categories): Accept category
15565 descriptions more than one line long.
15566
a8406c20
SM
155672011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
15568
88d9610c
SM
15569 * simple.el (delete-trailing-whitespace): Fix last change.
15570
a5daf810
SM
15571 * progmodes/perl-mode.el (perl-syntax-propertize-function):
15572 Don't confuse "y => 3" as the beginning of a `y' operation.
15573
a8406c20
SM
15574 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
15575 object has more than 4 slots (bug#9613).
15576
a239d4e9
JB
155772011-09-28 Juanma Barranquero <lekktu@gmail.com>
15578
15579 * subr.el (with-output-to-temp-buffer):
15580 * net/quickurl.el (quickurl, quickurl-browse-url):
15581 Fix typos in docstrings.
15582
693fbdb6
EZ
155832011-09-27 Eli Zaretskii <eliz@gnu.org>
15584
15585 * minibuffer.el (completion-styles)
15586 (completion-category-overrides): Cross reference each other in doc
15587 strings.
15588
8b457e28
GM
155892011-09-27 Glenn Morris <rgm@gnu.org>
15590
15591 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
15592 to split-string. (Bug#9606)
15593
85a16208
LMI
155942011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
15595
15596 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
15597 (bug#9615).
15598
502f9ebd
CY
155992011-09-27 Chong Yidong <cyd@stupidchicken.com>
15600
15601 * emacs-lisp/package.el (list-packages): Fix echo area message.
15602
7690bdea
LL
156032011-09-27 Leo Liu <sdl.web@gmail.com>
15604
15605 * ido.el (ido-read-internal): Accept cons cell HIST arg.
15606
e2ee6f30
MA
156072011-09-25 Michael Albinus <michael.albinus@gmx.de>
15608
15609 * net/dbus.el (dbus-unregister-object): Don't release services for
15610 registered signals. (Bug#9581)
15611
f3f98342
TZ
156122011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
15613
15614 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
15615 function that picks between cfengine 2 and 3 support
15616 automatically. Update docs accordingly.
15617
dd7aa8dd
KH
156182011-09-22 Kenichi Handa <handa@m17n.org>
15619
15620 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
15621 ZERO.
15622 (indian-itrans-v5-table-for-tamil): New variable.
15623 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
15624
3f2b07f8
KM
156252011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
15626
15627 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
15628 that's true if the current command involved collapsing of text.
15629 It's reset to false at the beginning of the next command.
15630 (allout-post-command-business): Move the cursor to the beginning
15631 of entry if the cursor is hidden and collapsing activity just
15632 happened.
15633
371d6a61
CY
156342011-09-24 Chong Yidong <cyd@stupidchicken.com>
15635
15636 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
15637 tracking (Bug#9541).
15638
2ac2721a
UJ
156392011-09-24 Ulf Jasper <ulf.jasper@web.de>
15640
15641 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
15642 (newsticker-show-news): Automatically load html rendering package
15643 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
15644 because w3m-fill-column is let-bound" and the error "Symbol's value
15645 as variable is void: w3m-fill-column".
2ac2721a 15646
fac7ae53
MA
156472011-09-24 Michael Albinus <michael.albinus@gmx.de>
15648
15649 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
15650 Release services only if they are defined. (Bug#9581)
15651
e08b633b
RS
156522011-09-23 Richard Stallman <rms@gnu.org>
15653
e488d29c
RS
15654 * textmodes/paragraphs.el (forward-sentence): For backwards case,
15655 distinguish start of paragraph from start of its text.
15656
19c38752
RS
15657 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
15658
e08b633b
RS
15659 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
15660 (rmail-generate-viewer-buffer): Put that hook on view buffer.
15661 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
15662
0a39f27e
AS
156632011-09-23 Andreas Schwab <schwab@linux-m68k.org>
15664
15665 * international/mule-diag.el (mule-diag): Insert a newline after
15666 each fontset description.
15667
db4e950d
SM
156682011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
15669
15670 * simple.el (delete-trailing-whitespace):
15671 Document last change; simplify.
15672
eca3f3ea
PW
156732011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
15674
d68e189a
PW
15675 * simple.el (delete-trailing-whitespace): Also delete
15676 extra newlines at the end of the buffer.
15677
eca3f3ea
PW
15678 * textmodes/picture.el: Make motion commands obey shift-select-mode.
15679 (picture-newline): Use forward-line so as to ignore fields.
15680
01c157cc
SM
156812011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
15682
15683 * subr.el (with-wrapper-hook): Fix edebug spec.
15684
022de23e
LMI
156852011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
15686
15687 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
15688 (bug#4538).
15689
91683089
MA
156902011-09-23 Michael Albinus <michael.albinus@gmx.de>
15691
eca3f3ea
PW
15692 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
15693 Fix nasty bug using wrong cached values.
91683089 15694
5bdd6fa4
AM
156952011-09-23 Alan Mackenzie <acm@muc.de>
15696
15697 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
15698
97adfb97
CY
156992011-09-23 Chong Yidong <cyd@stupidchicken.com>
15700
15701 * window.el (pop-to-buffer): Ensure right window is selected if we
15702 chose another frame.
15703
d4ef2b50
EZ
157042011-09-22 Eli Zaretskii <eliz@gnu.org>
15705
15706 * simple.el (what-cursor-position): Use get-char-property-change
15707 and next-single-char-property-change, to be able to show display
15708 properties that come from overlays as well as text properties.
15709
72258fe5
CY
157102011-09-22 Chong Yidong <cyd@stupidchicken.com>
15711
15712 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
15713
15714 * cmuscheme.el (run-scheme, switch-to-scheme):
15715 * cus-edit.el (customize-group, custom-buffer-create)
15716 (customize-browse):
15717 * info.el (info):
15718 * shell.el (shell):
15719 * mail/sendmail.el (mail):
15720 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
15721
8f098516
RS
157222011-09-22 Richard Stallman <rms@gnu.org>
15723
15724 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
15725 move back only to line beg, don't move back over blank lines.
15726
e74f1bb6
MA
157272011-09-22 Michael Albinus <michael.albinus@gmx.de>
15728
15729 * files.el (copy-directory): Set directory attributes only in case
15730 they could be retrieved from the source directory. (Bug#9565)
15731
bfeef8b6
DK
157322011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
15733
15734 * progmodes/hideshow.el (hs-looking-at-block-start-p)
15735 (hs-find-block-beginning, hs-hide-level-recursive):
15736 Ignore strings as well as comments. (Bug#9502)
15737
7e423bb8
AS
157382011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
15739
15740 * progmodes/sql.el (sql-comint-postgres):
15741 Convert port number to a string. (Bug#9566)
15742
b4d72fcf
MR
157432011-09-22 Martin Rudalics <rudalics@gmx.at>
15744
15745 * window.el (quit-window): Undedicate window when switching to
15746 previous buffer. Reported by Thierry Volpiatto
15747 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
15748 (special-display-popup-frame): When popping up a new frame reset
15749 its previous buffers to nil. Simplify code.
b4d72fcf 15750
a7b88dc6
MA
157512011-09-21 Michael Albinus <michael.albinus@gmx.de>
15752
15753 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
15754 and process filter, as done also in `shell-command'.
15755
cf4eacfd
MR
157562011-09-21 Martin Rudalics <rudalics@gmx.at>
15757
eca3f3ea 15758 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
15759 Call set-window-start with NOFORCE argument t.
15760 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
15761 (quit-window): Reword doc-string. Handle new format of
15762 quit-restore parameter. Don't delete window if it has a
15763 previous buffer we can show instead of the present one.
15764 (display-buffer-record-window): Rewrite using a new format for
15765 the quit-restore window parameter
15766 (special-display-popup-frame, display-buffer-same-window)
15767 (display-buffer-reuse-window, display-buffer-pop-up-frame)
15768 (display-buffer-pop-up-window, display-buffer-use-some-window):
15769 Adapt symbol passed to display-buffer-record-window.
15770 * help.el (help-window-setup): Handle new format of quit-restore
15771 parameter.
15772
8d28cb95
SM
157732011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
15774
94ab793f
SM
15775 * faces.el (face-list): Fix docstring (bug#9564).
15776
8d28cb95
SM
15777 * window.el (display-buffer--action-function-custom-type):
15778 Don't include internal functions in the Custom interface.
15779
3820edeb
JL
157802011-09-20 Juri Linkov <juri@jurta.org>
15781
15782 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
15783 (Info-forward-node, Info-backward-node, Info-next-preorder)
15784 (Info-last-preorder): Use it. (Bug#9528)
15785
5147931d
JL
157862011-09-20 Juri Linkov <juri@jurta.org>
15787
15788 * info.el (Info-last-preorder): Visit last menu item only when
15789 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
15790
cf499a1a
JD
157912011-09-20 Julien Danjou <julien@danjou.info>
15792
15793 * password-cache.el (password-cache-remove): Remove entries even if the
15794 value is nil, so that password with a nil value (negative caching) is
15795 possible to invalidate.
15796
f84e2fe2
LM
157972011-09-20 Lawrence Mitchell <wence@gmx.li>
15798
15799 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
15800 all whitespace around breakpoint. (Bug#9553)
15801 (f90-find-breakpoint): Only break at whitespace inside a comment.
15802
78054a46
SM
158032011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
15804
15805 * minibuffer.el (completion-file-name-table): Keep track of errors.
15806 (completion-table-with-predicate): Handle the case where pred1 is nil.
15807 * pcomplete.el (pcomplete-completions-at-point): Simplify.
15808
345083b2
SM
158092011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
15810
e24e27be
SM
15811 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
15812 (debugger-return-value): Signal an error if the debugging context does
15813 not await any return value.
15814
345083b2
SM
15815 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
15816 * image-mode.el (image-toggle-display-text)
15817 (image-toggle-display-image): Stay away from evil `intangible'.
15818
08d355e3
LL
158192011-09-19 Leo Liu <sdl.web@gmail.com>
15820
15821 * replace.el (occur-revert-arguments): Make it permanent-local.
15822 (occur-mode): Don't call font-lock-defontify.
15823
f01da43f
CY
158242011-09-19 Chong Yidong <cyd@stupidchicken.com>
15825
15826 * net/ldap.el (ldap-search-internal): Don't push empty search
15827 result (Bug#9508).
15828
b6072fa6
SM
158292011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
15830
15831 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
15832
443d6696
MA
158332011-09-19 Michael Albinus <michael.albinus@gmx.de>
15834
15835 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
15836 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
15837
7cc6e154
JL
158382011-09-18 Juri Linkov <juri@jurta.org>
15839
15840 * buff-menu.el (Buffer-menu-mode-map):
15841 * dired.el (dired-mode-map):
15842 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
15843 (lisp-interaction-mode-map):
15844 * emacs-lisp/package.el (package-menu-mode-map):
15845 * epa.el (epa-key-list-mode-map):
15846 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
15847 (menu-bar-options-menu):
15848 * outline.el (outline-mode-menu-bar-map):
15849 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
15850 * vc/vc-dir.el (vc-dir-menu-map):
15851 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
15852 Capitalize non-function content words in menu item strings.
15853
15854 * dired.el (dired-mode-map): Add menu item for
15855 `image-dired-dired-toggle-marked-thumbs'.
15856
80302a81
JL
158572011-09-18 Juri Linkov <juri@jurta.org>
15858
15859 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
15860 to `isearch-case-fold-search' and restore its original value
15861 after the `isearch-mode' call.
15862
46c5cf66
JL
158632011-09-18 Juri Linkov <juri@jurta.org>
15864
15865 * progmodes/grep.el (grep-process-setup): Don't check code for 1
15866 because `zgrep' returns 1 for successful matches (bug#9226).
15867
d18b513b
JL
158682011-09-18 Juri Linkov <juri@jurta.org>
15869
15870 * info.el (Info-extract-menu-node-name): Check the second match
15871 for empty string (second test-case of bug#9528).
15872 (Info-last-preorder): Let-bind `Info-history' to nil to not add
15873 intermediate nodes to the history (first test-case of bug#9528).
15874
72753f87
JL
158752011-09-18 Juri Linkov <juri@jurta.org>
15876
15877 * info.el (Info-mode-syntax-table): New variable.
1154d12e 15878 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 15879
c9384295
JL
158802011-09-18 Juri Linkov <juri@jurta.org>
15881
1154d12e
JB
15882 * info.el (Info-file-supports-index-cookies):
15883 Increment line-beginning-position's arg from 3 to 4 because makeinfo
15884 outputs one more line for long file names (bug#4142).
c9384295 15885
d473dce8
CY
158862011-09-18 Chong Yidong <cyd@stupidchicken.com>
15887
15888 * newcomment.el (comment-normalize-vars): If prompting for
15889 comment-start, set comment-start-skip too (Bug#8424).
15890
2176854d
JB
158912011-09-18 Johan Bockgård <bojohan@gnu.org>
15892
15893 * icomplete.el: Fix previous fix of Bug#5849.
15894 (icomplete-mode): Don't set completion-show-inline-help.
15895 (icomplete-minibuffer-setup): Set completion-show-inline-help
15896 locally during icompletion.
15897
3aace4e4
CY
158982011-09-18 Chong Yidong <cyd@stupidchicken.com>
15899
c940224f
CY
15900 * woman.el (woman2-process-escapes): Don't delete unrecognized
15901 escapes (Bug#7843).
15902
3aace4e4
CY
15903 * files.el (inhibit-first-line-modes-regexps): Add image files.
15904 (hack-local-variables-prop-line): Return nil for malformed
15905 prop-lines (Bug#9044).
15906
710dec63
MA
159072011-09-18 Michael Albinus <michael.albinus@gmx.de>
15908
15909 * net/tramp.el (top): Don't require 'shell.
15910 (tramp-methods): Fix docstring.
15911 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
15912 Return complete remote file name. Handle "smb" case.
15913 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
15914 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
15915
15916 * net/tramp-compat.el (top): Require 'shell.
15917
15918 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
15919 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
15920 `tramp-current-host'.
15921 (tramp-get-remote-tmpdir): Remove.
15922
15923 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
15924 `tramp-tmpdir' entries.
15925 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
15926 (tramp-smb-handle-file-attributes): Ignore errors.
15927 (tramp-smb-wait-for-output): Check also for process end.
15928
5d5ac8ec
LMI
159292011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
15930
15931 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
15932 when sending QUIT (bug#9312).
15933
8c0f49f0
CY
159342011-09-17 Chong Yidong <cyd@stupidchicken.com>
15935
15936 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
15937 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
15938 occur-mode-display-occurrence.
15939 (occur-edit-mode): Add usage message.
15940 (occur-cease-edit): New command.
15941 (occur-after-change-function): Use text properties to find the
15942 position of the prefix text.
15943 (occur-engine): Set stickiness of prefix text properties.
15944
8f1383f7
GM
159452011-09-17 Glenn Morris <rgm@gnu.org>
15946
15947 * progmodes/etags.el (complete-tag):
15948 Fix call to completion-in-region. (Bug#9526)
15949
744ba0e3
JL
159502011-09-17 Juri Linkov <juri@jurta.org>
15951
15952 * textmodes/ispell.el (ispell-word): Add to the error message
15953 the word, ispell program name and current dictionary (bug#9121).
15954 (ispell-tex-arg-end): Capitalize "error" in the error message.
15955
d9bbf400
AS
159562011-09-17 Andreas Schwab <schwab@linux-m68k.org>
15957
15958 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
15959 check. (Bug#4251)
15960
8da11505
JL
159612011-09-17 Juri Linkov <juri@jurta.org>
15962
15963 * window.el (window-safe-min-height, window-safe-min-width):
15964 Fix typos (followup to bug#9522).
15965
a91adc7e
SJ
159662011-09-17 Sven Joachim <svenjoac@gmx.de>
15967
15968 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
15969
064f328a
EZ
159702011-09-16 Eli Zaretskii <eliz@gnu.org>
15971
15972 * simple.el (line-move): If goal-column is set, move by logical
15973 lines, not by display lines. (Bug#971)
15974 (next-line, previous-line, goal-column, line-move-visual): Doc fix
15975 to reflect the above change.
15976
e69df516
SM
159772011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
15978
15979 * image.el (imagemagick-register-types): Use regexp-opt.
15980
cbb0f9ab
CY
159812011-09-15 Chong Yidong <cyd@stupidchicken.com>
15982
15983 * window.el (display-buffer-base-action): Rename from
15984 display-buffer-default-action. Make default value empty.
15985 (display-buffer-overriding-action): Convert to defvar.
15986 (display-buffer-fallback-action): New var.
15987
25322144
CY
159882011-09-15 Chong Yidong <cyd@stupidchicken.com>
15989
15990 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
15991 declaration.
15992 (package--add-to-archive-contents): If there is a duplicate entry
15993 with an older version, remove it.
15994 (package-menu-mark-delete, package-menu-mark-install)
15995 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
15996 (package-menu-mark-obsolete-for-deletion):
15997 Use package-menu-get-status instead of a regexp search.
25322144
CY
15998 (package-menu-get-status): Use tabulated-list-entry.
15999 (package-menu-mark-upgrades): New command.
d770725a 16000 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
16001 (package-menu-execute): Do installation before deletion.
16002 (package-menu-refresh, package-menu-execute): Use derived-mode-p
16003 instead of checking major-mode.
16004 (package-menu--find-upgrades): New function.
16005
7520339c
LMI
160062011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
16007
16008 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
16009 passwords in the log buffer.
65a046c4
LMI
16010 (smtpmail-process-filter): Update the process marker so that the
16011 "broken by peer" status message is inserted in the right place.
7520339c 16012
d3c30954
SM
160132011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
16014
3fe48822
SM
16015 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
16016 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
16017 bibtex-completion-at-point-function.
16018 (bibtex-completion-at-point-function): Use them.
16019
1b8b3954
SM
16020 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
16021
d3c30954
SM
16022 * mpc.el (mpc-constraints-tag-lookup): New function.
16023 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
16024 also to browser "album|playlist".
16025
72779976
JL
160262011-09-14 Juri Linkov <juri@jurta.org>
16027
16028 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
16029 (isearch-edit-string): Use length of `isearch-string' when
16030 `isearch-fail-pos' returns nil.
16031 (isearch-message): Remove duplicate code and call
16032 `isearch-fail-pos' with arg `t'.
16033
a0bf2bcd
CY
160342011-09-14 Chong Yidong <cyd@stupidchicken.com>
16035
17bb0a2d
CY
16036 * replace.el (occur-mode-goto-occurrence): Don't force using other
16037 window (Bug#9499).
16038
a0bf2bcd
CY
16039 * dired-aux.el (dired-do-chmod): Don't provide initial input.
16040
f678e0b6
MR
160412011-09-14 Martin Rudalics <rudalics@gmx.at>
16042
16043 * window.el (display-buffer-window): Remove.
16044 (display-buffer-record-window): Use help-setup window parameter
16045 instead of variable display-buffer-window.
16046 (display-buffer-function, special-display-buffer-names)
16047 (special-display-function): Mention help-setup parameter instead
16048 of display-buffer-window in doc-string.
d3c30954
SM
16049 * help.el (help-window-setup): New argument help-window.
16050 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
16051 Reword some messages.
16052 (with-help-window): Pass window used for displaying the buffer
16053 to help-window-setup. Don't set display-buffer-window.
16054
8e39b2e8
GM
160552011-09-13 Glenn Morris <rgm@gnu.org>
16056
16057 * emacs-lisp/debug.el (debugger-make-xrefs):
16058 Preserve point. (Bug#9462)
16059
85e9c04b
CY
160602011-09-13 Chong Yidong <cyd@stupidchicken.com>
16061
16062 * window.el (window-deletable-p): Use next-frame.
16063
1b36ed6a
MR
160642011-09-13 Martin Rudalics <rudalics@gmx.at>
16065
16066 * window.el (window-auto-delete): Remove.
16067 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 16068 dedication and previous buffers.
1b36ed6a
MR
16069 (switch-to-prev-buffer): Don't delete window.
16070 (delete-windows-on): Delete a window's frame if and only if the
16071 window is dedicated.
16072 (replace-buffer-in-windows): Delete buffer's window or frame if
16073 and only if window is dedicated.
16074 (quit-window): Handle quit-restore as before last change.
4d61f28d 16075 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 16076
ef8ef9fb
CY
160772011-09-13 Chong Yidong <cyd@stupidchicken.com>
16078
16079 * window.el (window-deletable-p): Never delete the last frame on a
16080 given terminal.
16081
b2cba41e
GM
160822011-09-13 Glenn Morris <rgm@gnu.org>
16083
16084 * help.el (describe-key-briefly): Copy previous standard-output change.
16085
51553db6 160862011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
16087
16088 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
16089
b7556719
GM
160902011-09-13 Glenn Morris <rgm@gnu.org>
16091
16092 * emacs-lisp/lisp-mode.el (lisp-indent-function):
16093 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
16094
64b51947
CY
160952011-09-12 Chong Yidong <cyd@stupidchicken.com>
16096
16097 * dired-aux.el (dired-mark-read-string): Don't return default
16098 value on empty input (Bug#9361).
16099 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
16100 Omit initial minibuffer contents.
16101 (dired-do-chmod): Signal an error on empty input.
16102 (dired-mark-read-string): Don't return default on empty input.
16103
16104 * files.el (file-modes-symbolic-to-number): Doc fix.
16105
393a301e
SM
161062011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
16107
16108 * international/mule-cmds.el (ucs-completions): Remove.
16109 (read-char-by-name): Use complete-with-action instead; add metadata.
16110
fa5660f9
CY
161112011-09-11 Chong Yidong <cyd@stupidchicken.com>
16112
16113 * window.el (display-buffer--action-function-custom-type)
16114 (display-buffer--action-custom-type): New vars.
16115 (display-buffer-alist, display-buffer-default-action)
16116 (display-buffer-overriding-action): Add defcustom types.
16117
4a592f66
CY
16118 * frame.el (delete-other-frames): Doc fix (Bug#276).
16119
73d56dbd
LMI
161202011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
16121
16122 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
16123
37ac18a3
CY
161242011-09-11 Chong Yidong <cyd@stupidchicken.com>
16125
16126 Change modes that used same-window-* vars to use switch-to-buffer.
16127
16128 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
16129 Use switch-to-buffer.
16130
16131 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
16132 (customize-browse, custom-buffer-create-other-window):
16133 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
16134
16135 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
16136 (Info-prev, Info-up, Info-speedbar-goto-node)
16137 (info-display-manual): Use switch-to-buffer.
16138 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
16139
16140 * mail/sendmail.el (mail): Use switch-to-buffer.
16141 (mail-recover): Use switch-to-buffer-other-window.
16142
16143 * cmuscheme.el (run-scheme, switch-to-scheme):
16144 * ielm.el (ielm):
16145 * shell.el (shell):
16146 * net/rlogin.el (rlogin):
16147 * net/telnet.el (telnet, rsh):
16148 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
16149
10195bd6
AS
161502011-09-11 Andreas Schwab <schwab@linux-m68k.org>
16151
16152 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
16153
b322f63a
LMI
161542011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
16155
39d7fed6
LMI
16156 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
16157 so don't mention it (bug#9301).
ba5a81f1 16158 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 16159
ee0e9f11
LMI
16160 * faces.el (face-spec-set-match-display): Make `(type graphic)'
16161 match `x', `w32' and `ns', like the manual says (bug#9029).
16162
0b1c89c1 16163 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
16164 (process-kill-buffer-query-function): Mention the buffer name in
16165 the query.
0b1c89c1 16166
77549ea8
LMI
16167 * image-mode.el (image-next-line): The line parameter is mandatory
16168 (bug#9258).
16169
803ef892
LMI
16170 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
16171 which can be useful (bug#9301).
16172
12980837
LMI
16173 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
16174
91054f8f
LMI
16175 * subr.el (match-string): Mention that the current buffer should
16176 be the same as the search was done in (bug#9282).
16177
b322f63a
LMI
16178 * facemenu.el: Disable the remove-* commands if the mark isn't
16179 active (bug#9162).
16180
3199b96f
CY
161812011-09-10 Chong Yidong <cyd@stupidchicken.com>
16182
16183 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
16184 of display-buffer.
16185 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
16186
16187 * replace.el (occur-mode-goto-occurrence)
16188 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
16189 and display-buffer.
16190
16191 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
16192 display-buffer.
16193
16194 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
16195 special-display and same-window variables.
16196 (mail-other-window): Use switch-to-buffer-other-window.
16197 (mail-other-frame): USe switch-to-buffer-other-frame.
16198
393a301e
SM
16199 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
16200 Use display-buffer-other-frame.
3199b96f
CY
16201 (gdb-display-gdb-buffer): Use pop-to-buffer.
16202
16203 * progmodes/gud.el (gud-goto-info): Use info-other-window.
16204
16205 * progmodes/python.el: Don't set same-window-buffer-names.
16206
16207 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
16208
16209 * window.el (display-buffer-alist): Add *Python*.
16210
8319e0bf
CY
162112011-09-10 Chong Yidong <cyd@stupidchicken.com>
16212
16213 * window.el (display-buffer-alist): Add entry for buffers
16214 previously handled same-window-*.
16215 (display-buffer-alist, display-buffer-default-action)
16216 (display-buffer-overriding-action): Mark as risky.
16217 (display-buffer-alist): Document action function changes.
16218 (display-buffer--same-window-action)
16219 (display-buffer--other-frame-action): New variables.
16220 (switch-to-buffer, display-buffer-other-frame): Use them.
16221 (display-buffer): Rename reuse-frame entry to reusable-frames.
16222 (display-buffer-reuse-selected-window): Function deleted.
16223 (display-buffer-reuse-window): Handle reusable-frames alist entry.
16224 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
16225 (display-buffer-special): New function.
16226 (display-buffer--maybe-pop-up-frame-or-window): Rename from
16227 display-buffer-reuse-or-pop-window. Split off special-display
16228 part into display-buffer-special.
16229 (display-buffer-use-some-window): Don't perform any special
16230 pop-up-frames handling.
16231 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 16232 (display-buffer--maybe-same-window): Rename from
0d3ff375 16233 display-buffer-maybe-same-window.
8319e0bf 16234
919a69aa
CY
16235 * info.el: Don't set same-window-regexps.
16236 (info-setup): New function.
16237 (info-other-window, info): Call it.
16238
16239 * cus-edit.el: Don't set same-window-regexps.
16240 (customize-group): New argument.
16241 (customize-group-other-window): Use it.
16242 (customize-face, customize-face-other-window): Likewise.
16243 (custom-buffer-create-other-window): Use pop-to-buffer directly.
16244
8319e0bf
CY
16245 * net/rlogin.el:
16246 * net/telnet.el:
16247 * progmodes/gud.el: Don't set same-window-regexps.
16248
16249 * cmuscheme.el:
16250 * ielm.el:
16251 * shell.el:
16252 * mail/sendmail.el:
16253 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
16254
25173000
JL
162552011-09-10 Juri Linkov <juri@jurta.org>
16256
16257 * isearch.el (isearch-edit-string): Remove obsolete mention of
16258 `C-w' (`isearch-yank-word-or-char') from docstring.
16259 (isearch-query-replace): Fix typo in docstring (bug#9466).
16260
056e44ef
JL
162612011-09-10 Juri Linkov <juri@jurta.org>
16262
16263 * paren.el (show-paren-function): Don't show escaped parens.
16264 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
16265
c3760c17
EZ
162662011-09-10 Eli Zaretskii <eliz@gnu.org>
16267
16268 * mail/sendmail.el (mml-to-mime, mml-attach-file)
16269 (mm-default-file-encoding): Remove autoload forms, they are
16270 replaced with autoload cookies in mml.el and mm-encode.el.
16271 (mail-add-attachment): New command.
16272 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
16273 (mail-mode): Mention mail-insert-file and mail-add-attachment in
16274 the doc string.
16275 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
16276
fece895e
RT
162772011-09-10 Reuben Thomas <rrt@sc3d.org>
16278
e69df516
SM
16279 * simple.el (count-words-region): Use buffer if there's no region
16280 (bug#9429).
fece895e 16281
5e68ce4a
JL
162822011-09-09 Juri Linkov <juri@jurta.org>
16283
16284 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
16285 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
16286 (wdired-isearch-filter-read-only): New function. (Bug#6362)
16287
0a6b9622
AM
162882011-09-09 Alan Mackenzie <acm@muc.de>
16289
16290 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
16291 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
16292
14a29deb
EZ
162932011-09-09 Eli Zaretskii <eliz@gnu.org>
16294
16295 Fix for Savannah bug#9392.
16296 * simple.el (mail-encode-mml): New defvar.
16297
16298 * mail/rmail.el (mail-encode-mml): Add a defvar.
16299 (rmail-enable-mime-composing): Default to t.
16300 (rmail-forward): Use MIME method of forwarding only if both
16301 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
16302 Set mail-encode-mml non-nil if the MIME method was used.
16303
16304 * mail/sendmail.el (mml-to-mime): Add autoload form.
16305 (mail-encode-mml): Add a defvar.
16306 (mail-mode): Make mail-encode-mml buffer-local and initialize it
16307 to nil.
16308 (mail-send): If mail-encode-mml is non-nil, run the outgoing
16309 message through mml-to-mime, and reset mail-encode-mml to nil.
16310
28c45130
GM
163112011-09-09 Glenn Morris <rgm@gnu.org>
16312
16313 * woman.el (woman-if-body): When processing an .el block,
16314 do not delete the next .el block as well. (Bug#9447)
69f4b618 16315 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 16316
9b1c252e
MR
163172011-09-08 Martin Rudalics <rudalics@gmx.at>
16318
16319 * window.el (window-deletable-p): Make sure window is live before
16320 invoking window-prev-buffers.
16321
567457e3
LL
163222011-09-08 Leo Liu <sdl.web@gmail.com>
16323
16324 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
16325
97f05794
JL
163262011-09-08 Juri Linkov <juri@jurta.org>
16327
16328 * progmodes/compile.el (compilation-environment): Make it
16329 a defcustom (bug#8340).
16330
8b0874b5
MR
163312011-09-08 Martin Rudalics <rudalics@gmx.at>
16332
16333 * window.el (frame-auto-delete): Rename to window-auto-delete.
16334 Make it control auto-deletion of windows and/or frames.
16335 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 16336 for deleting window/frame. (Bug#9419)
8b0874b5
MR
16337 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
16338 Rewrite handling of case when window/frame can be deleted.
16339 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 16340 argument t. (Bug#9456)
8b0874b5 16341
4feb6e73
CY
163422011-09-07 Chong Yidong <cyd@stupidchicken.com>
16343
16344 * help-mode.el (help-mode): Restore autoload.
16345
91ab9c13
JL
163462011-09-07 Juri Linkov <juri@jurta.org>
16347
16348 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
16349 `compilation-environment'. Set buffer-local
16350 `compilation-environment' to `thisenv' later after (funcall mode).
16351 (Bug#8340)
16352
16353 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
16354 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
16355 instead of replacing its value. (Bug#8340)
16356
0527e251
JL
163572011-09-07 Juri Linkov <juri@jurta.org>
16358
16359 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
16360 based on text properties put by `grep-filter' instead of matching
16361 escape sequences.
16362 (grep-mode): Set buffer-local `compilation-error-screen-columns'
16363 to the value of `grep-error-screen-columns' (bug#9438).
16364
249f792c
JL
163652011-09-07 Juri Linkov <juri@jurta.org>
16366
16367 * simple.el (next-error-highlight, next-error-highlight-no-select):
16368 Doc fix (bug#9432).
16369
ff7271b9
OT
163702011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
16371
16372 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
16373 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
16374
183fc730
LL
163752011-09-07 Leo Liu <sdl.web@gmail.com>
16376
16377 * net/rcirc.el (rcirc-mode): Conditionally initialize
16378 rcirc-input-ring.
16379
77694924
SM
163802011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
16381
16382 * emacs-lisp/find-func.el (find-function-C-source): Only set
16383 find-function-C-source-directory after checking that we found a source
16384 file there (bug#9440).
16385
d809b8eb
AM
163862011-09-06 Alan Mackenzie <acm@muc.de>
16387
16388 * isearch.el (isearch-other-meta-char): Wherever a key list is
16389 unread, "unread" the prefix arg, too. This fixes bug #8901.
16390
453de99f
OG
163912011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
16392
16393 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
16394
90439906
JL
163952011-09-05 Juri Linkov <juri@jurta.org>
16396
16397 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
16398
f62bd846
JL
163992011-09-05 Juri Linkov <juri@jurta.org>
16400
16401 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
16402 keeping point where processing of grep matches begins, and
16403 continue to delete remaining escape sequences from the same point.
16404 (grep-filter): Make leading zero optional in "0?1;31m" because
16405 git-grep emits "\033[1;31m" escape sequences unlike expected
16406 "\033[01;31m" as GNU Grep does (bug#9408).
16407 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
16408
045820ec
JL
164092011-09-05 Juri Linkov <juri@jurta.org>
16410
16411 * subr.el (y-or-n-p): Capitalize "yes".
16412
f5e29b9b
MA
164132011-09-04 Michael Albinus <michael.albinus@gmx.de>
16414
16415 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
16416 `tramp-cache-unload-hook' where appropriate.
16417 (tramp-methods): Rename `tramp-remote-sh' to
16418 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
16419 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
16420
16421 * net/tramp-sh.el (top): Don't require 'shell.
16422 (tramp-methods): Add `tramp-remote-shell' and
16423 `tramp-remote-shell-args' entries.
16424 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
16425 (tramp-sh-handle-shell-command): Remove.
16426 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
16427 Use `tramp-remote-shell'.
16428
2784c434
CY
164292011-09-03 Chong Yidong <cyd@stupidchicken.com>
16430
393a301e 16431 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
16432 (sendmail-query-once): Save directly to send-mail-function.
16433 Update message-send-mail-function too.
16434
16435 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
16436
464cdf56
CS
164372011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
16438
16439 * progmodes/python.el (python-mode-map): Use correct function to
16440 start python interpreter from menu-bar (as reported by Geert
16441 Kloosterman).
16442 (inferior-python-mode-map): Fix typo.
393a301e 16443 (python-shell-map): Remove.
464cdf56 16444
d37e5c87
DD
164452011-09-03 Deniz Dogan <deniz@dogan.se>
16446
16447 * net/rcirc.el (rcirc-print): Simplify code for
16448 rcirc-scroll-show-maximum-output. There is no need to walk
16449 through all windows to find the right one.
16450
f3ada0ee
CS
164512011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
16452
16453 * help.el (help-return-method): Doc fix.
16454
1f3c99ca
MR
164552011-09-03 Martin Rudalics <rudalics@gmx.at>
16456
16457 * window.el (window-deletable-p): Don't return a non-nil value
16458 when there's a buffer that was shown in the window before.
16459 (Bug#9419)
393a301e
SM
16460 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
16461 Set window's previous buffers to nil.
1f3c99ca 16462
a3cf097f
EZ
164632011-09-03 Eli Zaretskii <eliz@gnu.org>
16464
16465 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
16466 newline before and after the tag line, so it doesn't interfere
16467 with determining the paragraph direction of bidirectional text.
16468
3d03de90
LL
164692011-09-03 Leo Liu <sdl.web@gmail.com>
16470
16471 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
16472
c3313451
CY
164732011-09-02 Chong Yidong <cyd@stupidchicken.com>
16474
393a301e 16475 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
16476 (pop-to-buffer): Change interactive spec. Pass second argument
16477 directly to display-buffer.
16478 (display-buffer): Fix interactive spec. Use functionp to
16479 distinguish between a function and a list of functions.
16480
16481 * abbrev.el (edit-abbrevs):
16482 * arc-mode.el (archive-extract):
16483 * autoinsert.el (auto-insert):
16484 * bookmark.el (bookmark-bmenu-list):
16485 * files.el (find-file):
16486 * view.el (view-buffer):
16487 * progmodes/compile.el (compilation-goto-locus):
16488 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
16489
89894cd8
CY
164902011-09-02 Chong Yidong <cyd@stupidchicken.com>
16491
16492 * window.el (display-buffer-alist): Doc fix.
16493 (display-buffer): Add docstring. Don't treat
16494 display-buffer-default specially.
16495 (display-buffer-reuse-selected-window)
16496 (display-buffer-same-window, display-buffer-maybe-same-window)
16497 (display-buffer-reuse-window, display-buffer-pop-up-frame)
16498 (display-buffer-pop-up-window)
16499 (display-buffer-reuse-or-pop-window)
16500 (display-buffer-use-some-window): New functions.
16501 (display-buffer-default-action): Use them.
393a301e 16502 (display-buffer-default): Delete.
89894cd8
CY
16503 (pop-to-buffer-1): Fix choice of actions.
16504
ae0bc9fb
SM
165052011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
16506
16507 * minibuffer.el (completion--insert-strings): Don't get confused by
16508 completion entries that end with an LF char.
16509
e9d90883
EZ
165102011-09-01 Eli Zaretskii <eliz@gnu.org>
16511
16512 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
16513
437014c8
CY
165142011-09-01 Chong Yidong <cyd@stupidchicken.com>
16515
16516 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
16517 (display-buffer-same-window, display-buffer-other-window):
16518 New functions.
437014c8
CY
16519 (pop-to-buffer-1): New function. Use the above.
16520 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 16521 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
16522
16523 * view.el (view-buffer-other-window, view-buffer-other-frame):
16524 Just use pop-to-buffer.
16525
a5e063d5
TV
165262011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16527
16528 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
16529
793d32bb
WH
165302011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
16531
16532 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
16533
d65e4c15
RS
165342011-08-31 Richard Stallman <rms@gnu.org>
16535
16536 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
16537 of the separation of rmail-view-buffer from rmail-buffer.
16538 If you say no to "replace original", the decrypt is in the
16539 view buffer. If you say yes, the decrypt goes into the
16540 rmail buffer also.
16541
f818cd2a
MR
165422011-08-31 Martin Rudalics <rudalics@gmx.at>
16543
16544 * window.el (display-buffer-window): Rewrite doc-string.
16545 (display-buffer-record-window): New function.
16546 (display-buffer-macro-specifiers)
16547 (display-buffer-even-window-sizes, display-buffer-set-height)
16548 (display-buffer-set-width, display-buffer-in-window)
16549 (display-buffer-reuse-window, display-buffer-split-specifiers)
16550 (display-buffer-side-specifiers, display-buffer-split-window-1)
16551 (display-buffer-split-window, display-buffer-split-atom-window)
16552 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
16553 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
16554 (display-buffer-other-window-means-other-frame)
16555 (display-buffer-normalize-special)
16556 (display-buffer-normalize-default)
16557 (display-buffer-normalize-argument)
16558 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
16559 (display-buffer-normalize-specifiers, display-buffer-frame)
16560 (display-buffer-same-window, display-buffer-same-frame)
16561 (display-buffer-other-window)
16562 (display-buffer-same-frame-other-window)
16563 (display-buffer-other-frame, pop-to-buffer-same-window)
16564 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
16565 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
16566 (switch-to-buffer-same-frame)
16567 (switch-to-buffer-other-window-same-frame)
16568 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
16569 (display-buffer-alist-set-1, display-buffer-alist-set-2)
16570 (display-buffer-alist-set): Remove.
16571 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
16572 (special-display-regexps, special-display-function):
16573 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
16574 parameter.
16575 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
16576 (special-display-frame-alist, special-display-popup-frame)
16577 (same-window-buffer-names, same-window-regexps, same-window-p)
16578 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
16579 (split-window-preferred-function, split-height-threshold)
16580 (split-width-threshold, window-splittable-p)
16581 (split-window-sensibly, window--try-to-split-window)
16582 (window--frame-usable-p, even-window-heights)
16583 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
16584 (window--display-buffer-2, display-buffer-other-frame):
16585 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
16586 (display-buffer-default, display-buffer-assq-regexp): New functions.
16587 (display-buffer-alist): Rewrite doc-string.
16588 (display-buffer-default-action)
16589 (display-buffer-overriding-action): New variables.
16590 (display-buffer, switch-to-buffer): Rewrite.
16591 (pop-to-buffer): Restore Emacs 23 behavior but use
16592 window-normalize-buffer-to-display.
16593 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
16594 Restore Emacs 23 behavior but use
16595 window-normalize-buffer-to-switch-to.
16596 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
16597 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
16598 Rewrite using Emacs 23 options.
f818cd2a 16599
5bc3b51d
MA
166002011-08-31 Michael Albinus <michael.albinus@gmx.de>
16601
16602 * net/tramp.el (tramp-root-regexp): Remove.
16603 (tramp-completion-file-name-regexp-unified)
16604 (tramp-completion-file-name-regexp-separate)
16605 (tramp-completion-file-name-regexp-url): Don't use leading volume
b46a6a83 16606 letter on w32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
16607 (tramp-drop-volume-letter): Simplify definition.
16608 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 16609
b1a4f8e1
SM
166102011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
16611
16612 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
16613 (bug#9356).
16614
5664fa7b
RT
166152011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
16616
b1a4f8e1 16617 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 16618
9a45d6c3
JL
166192011-08-29 Juri Linkov <juri@jurta.org>
16620
16621 * isearch.el (isearch-done): Don't display message "Mark saved"
16622 when arg `edit' is non-nil to prevent its flicker in the echo area.
16623
fb87e0fb
CY
166242011-08-28 Chong Yidong <cyd@stupidchicken.com>
16625
16626 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
16627 obsolete packages for deletion.
16628
09ac1c2a
CS
166292011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
16630
16631 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 16632 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
16633 view-mode from help-mode.
16634 (help-xref-override-view-map): Remove.
16635 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
16636 view-mode is not used anymore.
16637
7a1ff57f
CY
166382011-08-28 Chong Yidong <cyd@stupidchicken.com>
16639
16640 * server.el (server-port): Doc fix.
16641
b9696605
CY
16642 * cus-theme.el (custom-theme-choose-mode): Inherit from
16643 special-mode (Bug#9124).
16644 (custom-theme-choose-mode-map): Add special-mode to parent.
16645
ef8cdf8c
AM
166462011-08-28 Alan Mackenzie <acm@muc.de>
16647
16648 * progmodes/cc-fonts.el
16649 (c-make-font-lock-BO-decl-search-function): New function.
16650 (c-basic-matchers-after - "Fontify the clauses after various
16651 keywords"): Extract the three keyword lists for the 3 erroneous
16652 constructs from the list of four, and use the new function above
16653 in place of an old one.
16654
27de4e20
DD
166552011-08-28 Deniz Dogan <deniz@dogan.se>
16656
16657 * net/rcirc.el (rcirc-insert-prev-input)
16658 (rcirc-insert-next-input): Remove unused argument.
16659
356a3681
SM
166602011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
16661
16662 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
16663
3fc9b218
AM
166642011-08-27 Alan Mackenzie <acm@muc.de>
16665
16666 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
16667 handle function pointer parameters properly.
16668
538a061c
MR
166692011-08-27 Martin Rudalics <rudalics@gmx.at>
16670
16671 * window.el (display-buffer-reuse-window): Fix case where
16672 selected window was reused with non-nil OTHER-WINDOW argument.
16673 (Bug#9381)
16674
35b1c40c
DD
166752011-08-27 Deniz Dogan <deniz@dogan.se>
16676
16677 * net/rcirc.el (rcirc-check-auth-status): Adding support for
16678 oftc's NickServ messages.
16679
2f6a3e79
GM
166802011-08-27 Glenn Morris <rgm@gnu.org>
16681
16682 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
16683
7254299e
CY
166842011-08-26 Chong Yidong <cyd@stupidchicken.com>
16685
16686 * emacs-lisp/package.el (package-install): Call package-initialize
16687 if called interactively.
16688
f8ccf167
LL
166892011-08-26 Leo Liu <sdl.web@gmail.com>
16690
16691 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
16692
3e8cd5ce
JL
166932011-08-25 Juri Linkov <juri@jurta.org>
16694
16695 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
16696 `search-whitespace-regexp' (bug#9364).
16697
93eb7113
JL
166982011-08-25 Juri Linkov <juri@jurta.org>
16699
16700 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
16701 `regexp-search-ring' to their global values to protect from
16702 updating by `read-from-minibuffer' (bug#9185).
16703
f65d1611
JL
167042011-08-25 Juri Linkov <juri@jurta.org>
16705
16706 * textmodes/ispell.el (ispell-command-loop): Add newline
16707 at the end of the "Use option `i'..." line.
16708
f1cf7a31
JL
167092011-08-25 Juri Linkov <juri@jurta.org>
16710
16711 * battery.el (display-battery-mode): If `battery-status-function'
16712 or `battery-mode-line-format' is nil, display the message and set
16713 `display-battery-mode' to nil (bug#9363).
16714
0c95fcf7
EZ
167152011-08-25 Eli Zaretskii <eliz@gnu.org>
16716
16717 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
16718 bidi-string-mark-left-to-right; they are unnecessary now.
16719
a2ebe600
DD
167202011-08-25 Deniz Dogan <deniz@dogan.se>
16721
16722 * net/quickurl.el: Documentation typo fixes.
16723
e4ed06f1
CY
167242011-08-25 Chong Yidong <cyd@stupidchicken.com>
16725
16726 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
16727
e5f1c99e
GM
167282011-08-25 Glenn Morris <rgm@gnu.org>
16729
b2948976
GM
16730 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
16731
e5f1c99e
GM
16732 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
16733 (smtpmail-via-smtp): Handle nil response from smtp.
16734
f22f4808
JL
167352011-08-24 Juri Linkov <juri@jurta.org>
16736
16737 * proced.el (proced-marked): Inherit from `error' instead of
16738 `font-lock-warning-face'.
16739
16740 * ibuffer.el (ibuffer-marked-face): Change default face from
16741 `font-lock-warning-face' to `warning'.
16742 (ibuffer-deletion-face): Change default face from
16743 `font-lock-type-face' to `error'.
16744
16745 * battery.el (battery-update): Use the face `error' instead of
16746 `font-lock-warning-face' (bug#6117).
16747
6a93965e
JL
167482011-08-24 Juri Linkov <juri@jurta.org>
16749
16750 * faces.el (success): Change face color from "Green3" to
16751 "ForestGreen" on light background (bug#9353).
16752
1ed43b09
CY
167532011-08-24 Chong Yidong <cyd@stupidchicken.com>
16754
5664fa7b
RT
16755 * window.el (quit-window): Rename from quit-restore-window.
16756 Use same arglist as old quit-window.
1ed43b09
CY
16757 (frame-auto-delete): Doc fix.
16758
16759 * view.el (view-mode-exit): Use quit-window.
16760
11dcdbb2
JL
167612011-08-24 Juri Linkov <juri@jurta.org>
16762
16763 * isearch.el (isearch-ring-adjust1): Start visiting previous
16764 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
16765 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
16766 for empty search string (when the last search string is reused
16767 automatically) to adjust the isearch ring to the last element and
16768 prepare the correct index for further M-p commands (bug#9185).
16769
de62b4df
KH
167702011-08-24 Kenichi Handa <handa@m17n.org>
16771
16772 * international/ucs-normalize.el: If decomposition property of
16773 CHAR is the default one (i.e. a list of CHAR itself), treat it as
16774 nil.
16775 (nfd, nfkd): Likewise.
16776
963b492b
SM
167772011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
16778
16779 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
16780 from process filters aren't reliably transmitted to the surrounding
16781 accept-process-output.
16782 (mpc-proc-check): New function.
16783 (mpc-proc-sync): Use it (bug#8293)
16784
93b6b5e1
SM
167852011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
16786
16787 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
16788 Add compatibility functions (bug#9313).
16789
bca633fb
EZ
167902011-08-23 Eli Zaretskii <eliz@gnu.org>
16791
b177498a
EZ
16792 * cus-start.el (all): Add entry for bidi-paragraph-direction.
16793
6df6ae42 16794 * international/uni-bidi.el: Regenerate.
bca633fb 16795
0902a04e
KH
167962011-08-23 Kenichi Handa <handa@m17n.org>
16797
16798 * international/charprop.el:
16799 * international/uni-bidi.el:
16800 * international/uni-category.el:
16801 * international/uni-combining.el:
16802 * international/uni-comment.el:
16803 * international/uni-decimal.el:
16804 * international/uni-decomposition.el:
16805 * international/uni-digit.el:
16806 * international/uni-lowercase.el:
16807 * international/uni-mirrored.el:
16808 * international/uni-name.el:
16809 * international/uni-numeric.el:
16810 * international/uni-old-name.el:
16811 * international/uni-titlecase.el:
16812 * international/uni-uppercase.el: Regenerate.
16813
3bbf23bc
MR
168142011-08-23 Martin Rudalics <rudalics@gmx.at>
16815
16816 * help.el (help-window-setup): Fix message displayed when other
16817 window is reused. (Bug#9341)
16818
b3fd59bd
SM
168192011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
16820
1802e444
SM
16821 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
16822 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
16823
b3fd59bd
SM
16824 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
16825 Mark obsolete.
16826 * shell.el (shell-parse-pcomplete-arguments): New function.
16827 (shell-completion-vars): Use it instead (bug#9160).
16828
4eb61348
SM
168292011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
16830
867cab74
SM
16831 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
16832 strings and comments (bug#9333).
16833
4eb61348
SM
16834 * emacs-lisp/debug.el (debug-arglist): New function.
16835 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
16836 (debug-on-entry-1): Handle interpreted closures (bug#9120).
16837
262a1439
JL
168382011-08-22 Juri Linkov <juri@jurta.org>
16839
56ee679c
JL
16840 * progmodes/compile.el (compilation-mode-font-lock-keywords):
16841 Revert regexp that highlights output switches to its old
16842 pre-2010-10-28 value and remove one `?' from it (bug#9319).
16843
262a1439
JL
16844 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
16845 to check for empty output (bug#9226).
16846
f13f86fb
CY
168472011-08-22 Chong Yidong <cyd@stupidchicken.com>
16848
16849 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
16850 symbol-constituent as the default, as that stops font-lock from
16851 working properly (Bug#8843).
16852
c65c9622
LMI
168532011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
16854
16855 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
16856 `coding-system-for-*' around the process open call to avoid
16857 auth-source side effects.
e7f2c178 16858 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
16859 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
16860 probe hangs.
c65c9622 16861
23a8a5ab
CY
168622011-08-21 Chong Yidong <cyd@stupidchicken.com>
16863
ff98b2dd
CY
16864 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
16865
23a8a5ab
CY
16866 * emacs-lisp/find-func.el (find-function-noselect): New arg
16867 lisp-only.
16868
16869 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
16870 signal an error for built-in functions (Bug#6664).
16871
f5e3c598
LMI
168722011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
16873
16874 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
16875 (smtpmail-try-auth-methods): Use it.
16876
a3f2468a
CY
168772011-08-21 Chong Yidong <cyd@stupidchicken.com>
16878
2c34e8da
CY
16879 * font-lock.el (font-lock-fontify-region)
16880 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
16881 (font-lock-default-unfontify-buffer)
16882 (font-lock-default-fontify-region)
16883 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
16884
b3fd59bd
SM
16885 * progmodes/compile.el (compilation-error-properties):
16886 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
16887 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
16888 `ant' regexp.
ee31aabc 16889
a3f2468a
CY
16890 * net/browse-url.el (browse-url-firefox): Don't call
16891 browse-url-firefox-sentinel unless using -remote (Bug#9328).
16892
8e999f70
GM
168932011-08-20 Glenn Morris <rgm@gnu.org>
16894
c21a496a
GM
16895 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
16896
59ee0542
GM
16897 * tutorial.el (tutorial--default-keys): Update some default bindings.
16898
8e999f70
GM
16899 * files.el (hack-local-variables): Fully ignore case for "mode:".
16900
e3715033
AM
169012011-08-20 Alan Mackenzie <acm@muc.de>
16902
16903 Resolve invalid use of a regexp in regexp-opt.
16904
4d61f28d
JB
16905 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
16906 detection for a java annotation.
e3715033 16907
4d61f28d 16908 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
16909 detection for a java annotation.
16910
4d61f28d
JB
16911 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
16912 handling for java.
e3715033
AM
16913 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
16914
04ed2e9c
CY
169152011-08-20 Chong Yidong <cyd@stupidchicken.com>
16916
16917 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
16918 (Bug#9274).
16919
826cee64
AM
169202011-08-20 Alan Mackenzie <acm@muc.de>
16921
58179cce 16922 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
16923 such a construct. Mainly for when jit-lock etc. starts a chunk
16924 here.
16925
58179cce 16926 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 16927 variable.
58179cce 16928 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
16929 c-make-font-lock-search-function.
16930 (c-make-font-lock-search-function): Use the above function.
16931 (c-make-font-lock-context-search-function): New function.
16932 (c-cpp-matchers): Enhance the preprocessor expression case with
16933 the above function
16934 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
16935 which takes an expression.
16936
16937 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
16938
13009bd8
MR
169392011-08-20 Martin Rudalics <rudalics@gmx.at>
16940
16941 * window.el (display-buffer-reuse-window)
16942 (display-buffer-pop-up-window): Don't reuse or split a side
16943 window.
16944
9234ff7f
GM
169452011-08-19 Glenn Morris <rgm@gnu.org>
16946
16947 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 16948 Downcase "Mode:". (Bug#9331)
9234ff7f 16949
f635daa1
CY
169502011-08-18 Chong Yidong <cyd@stupidchicken.com>
16951
16952 * international/characters.el: Add L and R categories.
16953
16954 * subr.el (bidi-string-mark-left-to-right): Rename from
16955 string-mark-left-to-right. Use category search.
16956
16957 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
16958
bc987f8b
JL
169592011-08-18 Juri Linkov <juri@jurta.org>
16960
16961 * faces.el (error, warning, success): New faces with definitions
16962 copied from old default values of `font-lock-warning-face',
16963 `compilation-warning', `compilation-info' (bug#6117).
16964
16965 * font-lock.el (font-lock-warning-face): Inherit from `error'.
16966
16967 * progmodes/compile.el (compilation-error): Inherit from `error'.
16968 (compilation-warning): Inherit from `warning'.
16969 (compilation-info): Inherit from `success'.
16970
16971 * dired.el (dired-marked): Inherit from `warning'.
16972 (dired-flagged): Inherit from `error'.
16973
57173b96
LMI
169742011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
16975
3e79eb87
LMI
16976 * mail/smtpmail.el (auth-source): Require to avoid problems with
16977 binding variables (bug#9298). Also clean up some unused
16978 autoloads.
16979
b3fd59bd
SM
16980 * net/network-stream.el (network-stream-open-starttls):
16981 Support using starttls.el without using gnutls-cli.
57173b96 16982
02b404de
JL
169832011-08-17 Juri Linkov <juri@jurta.org>
16984
16985 * progmodes/grep.el (rgrep): Handle the case when
16986 `grep-find-command' is a cons cell (bug#9278).
16987
8c9177f2
MR
169882011-08-17 Martin Rudalics <rudalics@gmx.at>
16989
16990 * window.el (display-buffer-pop-up-frame): Run frame creation
16991 function with BUFFER current (as special-display-popup-frame
16992 does). Reported by Drew Adams.
16993
3644a0ab
DU
169942011-08-17 Daiki Ueno <ueno@unixuser.org>
16995
16996 * epa-mail.el: Simplify GnuPG group expansion using
16997 epg-expand-group.
16998 (epa-mail-group-alist, epa-mail-group-modtime)
16999 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
17000 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
17001 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
17002 Remove.
17003
5e617bc2 170042011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
17005
17006 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
17007
9c4aeabf
AM
170082011-08-16 Alan Mackenzie <acm@muc.de>
17009
17010 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
17011 Correct, to avoid the inside of macros.
17012
3a99bf64
RS
170132011-08-16 Richard Stallman <rms@gnu.org>
17014
04963aa8
RS
17015 * epa-mail.el: Handle GnuPG group definitions.
17016 (epa-mail-group-alist, epa-mail-group-modtime)
17017 (epa-mail-gnupg-conf-file): New variables.
17018 (epa-mail-parse-groups, epa-mail-sync-groups)
17019 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
17020 (epa-mail-expand-recipients): New functions.
17021 (epa-mail-encrypt): Call epa-mail-expand-recipients.
17022
177549d0
RS
17023 * mail/rmail.el (rmail-epa-decrypt): New command.
17024
fe38beef
RS
17025 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
17026 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
17027 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
17028 (epa-decrypt-armor-in-region): Make error message clearer.
17029
934eacb9
SM
170302011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
17031
17032 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
17033 and "a2b" to "ab" for `prefix'.
17034
d024fb4e
CY
170352011-08-14 Chong Yidong <cyd@stupidchicken.com>
17036
17037 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
17038 filter groups.
de148fee
CY
17039 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
17040 Fourquet (Bug#8804).
d024fb4e 17041
62f1ca49
JB
170422011-08-12 Juanma Barranquero <lekktu@gmail.com>
17043
17044 * startup.el (argi): Declare as global variable (bug#9275).
17045
9ccaaa4b
CY
170462011-08-12 Chong Yidong <cyd@stupidchicken.com>
17047
17048 * subr.el (string-mark-left-to-right): Search the entire string
17049 for RTL script, not just the terminating character. Doc fix.
17050
a3dae87a
SM
170512011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
17052
6cd18349
SM
17053 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
17054 New function.
17055 (js--regexp-literal, js-syntax-propertize-function): Remove.
17056 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
17057 (js-mode-map): Don't rebind electric keys.
17058 (js-insert-and-indent): Remove.
17059 (js-mode): Setup electric-layout and electric-indent instead.
17060
a3dae87a
SM
17061 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
17062
9d5cb631
DU
170632011-08-12 Daiki Ueno <ueno@unixuser.org>
17064
17065 * epa.el (epa-progress-callback-function): Fix the logic of
17066 displaying progress.
17067 * epa-file.el (epa-file-insert-file-contents): Make progress
17068 display more user-friendly.
17069 (epa-file-write-region): Ditto.
17070
3e26a4a2
CY
170712011-08-10 Chong Yidong <cyd@stupidchicken.com>
17072
17073 * subr.el (string-mark-left-to-right): New function.
17074
17075 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
17076 Use string-mark-left-to-right.
17077 (list-buffers-noselect): Caller changed.
17078
a3dae87a
SM
17079 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
17080 Use string-mark-left-to-right.
3e26a4a2
CY
17081 (tabulated-list-print): Recenter after moving point.
17082
ac8cf6e6
JL
170832011-08-10 Juri Linkov <juri@jurta.org>
17084
17085 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
17086 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
17087 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
17088
8d96c9a4
CY
170892011-08-09 Chong Yidong <cyd@stupidchicken.com>
17090
17091 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
17092 (Bug#7554).
17093
7be1c708 170942011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
17095
17096 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
17097 character. (Bug#6594)
17098
37e11a63
CY
170992011-08-08 Chong Yidong <cyd@stupidchicken.com>
17100
839dde57
CY
17101 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
17102 (image-dired--with-db-file): New macro.
17103 (image-dired-write-tags, image-dired-remove-tag)
17104 (image-dired-create-gallery-lists, image-dired-write-comments)
17105 (image-dired-get-comment, image-dired-mark-tagged-files)
17106 (image-dired-list-tags, image-dired-gallery-generate): Use it.
17107 (image-dired-gallery-generate): Use insert-file-contents.
17108
37e11a63
CY
17109 * time.el (display-time-world-list, display-time-world-display):
17110 * time-stamp.el (time-stamp-string):
17111 * vc/add-log.el (add-change-log-entry): Use setenv instead of
17112 set-time-zone-rule (Bug#7337).
17113
0b4946c4
DU
171142011-08-08 Daiki Ueno <ueno@unixuser.org>
17115
17116 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
17117 (epg-error-to-string, epg-errors-to-string): New function.
17118 (epg-wait-for-completion): Reverse errors list.
17119 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
17120 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
17121 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
17122 (epg-sign-keys, epg-generate-key-from-file)
17123 (epg-generate-key-from-string): Format errors by using
17124 epg-errors-to-string (bug#9255).
17125 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
17126
75bfc667
JL
171272011-08-07 Juri Linkov <juri@jurta.org>
17128
17129 * faces.el (list-faces-display): Remove extra angle bracket
17130 from `help-mode-map'.
17131
17132 * info.el (Info-history-toc-nodes): Doc fix.
17133
17134 * longlines.el (longlines-mode): Doc fix.
17135
673e08bb
SM
171362011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
17137
4640dd88
SM
17138 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
17139 of statements and in a few more cases (bug#9183).
17140
673e08bb
SM
17141 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
17142 New functions.
17143 (cl-transform-lambda): Use them (bug#9239).
17144
89b3f019
MR
171452011-08-05 Martin Rudalics <rudalics@gmx.at>
17146
17147 * window.el (display-buffer-same-window)
17148 (display-buffer-same-frame, display-buffer-other-window)
17149 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
17150 (pop-to-buffer-other-window)
17151 (pop-to-buffer-same-frame-other-window)
17152 (pop-to-buffer-other-frame): Make them defuns.
17153 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
17154
640c8776
SM
171552011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
17156
17157 * subr.el (make-composed-keymap): Move from C. Change calling
17158 convention, and improve docstring to bring attention to a subtle point.
17159 * minibuffer.el (completing-read-default): Adjust accordingly.
17160
63648a95
MA
171612011-08-03 Michael Albinus <michael.albinus@gmx.de>
17162
17163 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
17164 (tramp-open-shell): Use `tramp-shell-quote-argument'.
17165
17166 * net/trampver.el: Update release number.
17167
b796c9b7
SM
171682011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
17169
17170 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
17171 "in" (bug#9190).
17172
2239d7d5
LMI
171732011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
17174
e07dd7c3
LMI
17175 * mail/sendmail.el (sendmail-query-once): Restore the current
17176 buffer after querying (bug#9074).
17177
0e6a2bd7
LMI
17178 * dired.el (dired-flagged): Use different faces for marked and
17179 flagged files (bug#6117).
17180
ce887515
LMI
17181 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
17182 (bug#4433).
17183
92f2affc
LMI
17184 * ido.el (ido-mode): Switch off the message if called
17185 non-interactively.
17186
57d5aff0
LMI
17187 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
17188 before 587, since it appears that that's more likely to work for
17189 more people.
17190
98cd6c18 17191 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 17192 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
17193 exist.
17194
b96dec83
LMI
17195 * info.el: Remove the `Info-beginning-of-buffer' function
17196 (bug#8325).
17197
b796c9b7
SM
17198 * net/network-stream.el (network-stream-open-starttls):
17199 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 17200
d90e2ea0
MR
172012011-08-01 Martin Rudalics <rudalics@gmx.at>
17202
17203 * window.el (display-buffer-in-window): Don't set dedicated status
17204 of window here (Bug#9215).
17205 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
17206 (display-buffer-pop-up-side-window)
b796c9b7 17207 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 17208
cca09170
SM
172092011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
17210
17211 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
17212 before binding generated-autoload-file.
17213
027b979c
DD
172142011-08-01 Deniz Dogan <deniz@dogan.se>
17215
17216 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
17217
3c7ee4f3
MA
172182011-07-30 Michael Albinus <michael.albinus@gmx.de>
17219
17220 Sync with Tramp 2.2.2.
17221
17222 * net/trampver.el: Update release number.
17223
2cc8e51a
JL
172242011-07-30 Juri Linkov <juri@jurta.org>
17225
17226 * dired-aux.el (dired-touch-initial): Remove function.
17227 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
17228 current time, and `default' to the last modification time of the
17229 current marked file (bug#6887).
17230
a514d856
JM
172312011-07-28 Jose E. Marchesi <jemarch@gnu.org>
17232
17233 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 17234 numeric argument to read-number (bug#9163).
a514d856 17235
8a7eddd7
MA
172362011-07-27 Michael Albinus <michael.albinus@gmx.de>
17237
17238 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
17239 connection process, it could be nil.
17240
1ddd96f5
LL
172412011-07-27 Leo Liu <sdl.web@gmail.com>
17242
17243 Simplify url handling in rcirc-mode.
17244
17245 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
17246 (rcirc-browse-url-at-mouse): Remove.
17247 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
17248
b248a85d
AM
172492011-07-26 Alan Mackenzie <acm@muc.de>
17250
17251 Fontify bitfield declarations properly.
17252
17253 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
17254 (c-symbol-chars): Now exported as a lang variable.
17255 (c-not-primitive-type-keywords): New lang variable.
17256
17257 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
17258 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 17259 parsed as a bitfield declaration.
b248a85d 17260
b796c9b7
SM
17261 * progmodes/cc-engine.el (c-beginning-of-statement-1):
17262 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
17263 (c-punctuation-in): New function.
17264 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
17265 declarations properly.
17266
68575ab0
UJ
172672011-07-26 Ulf Jasper <ulf.jasper@web.de>
17268
17269 * calendar/icalendar.el (icalendar--all-events): Take care of
17270 multiple vcalendars in a single file.
b796c9b7 17271 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 17272
0f0a88b9
DD
172732011-07-25 Deniz Dogan <deniz@dogan.se>
17274
17275 * image.el (insert-image): Clarifying docstring.
17276
0b3f36df
MA
172772011-07-24 Michael Albinus <michael.albinus@gmx.de>
17278
17279 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
17280 `tramp-send-command-and-check' if there is no error.
17281 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
17282
a9901f61
AM
172832011-07-22 Alan Mackenzie <acm@muc.de>
17284
17285 Prevent cc-langs.elc being loaded at run time.
17286
17287 * progmodes/cc-mode.el: Remove two autoload forms which loaded
17288 cc-langs.
17289
4d61f28d 17290 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
17291 "(require 'cc-langs)". Quote a form so it will evaluate at
17292 (cc-mode's) compilation time.
17293
11d074b2
MA
172942011-07-22 Michael Albinus <michael.albinus@gmx.de>
17295
17296 * net/tramp.el (tramp-file-name-handler): Avoid recursive
17297 loading. (Bug#9114)
17298
938b94c8
MR
172992011-07-21 Martin Rudalics <rudalics@gmx.at>
17300
17301 * window.el (display-buffer-pop-up-window)
17302 (display-buffer-pop-up-side-window)
17303 (display-buffer-in-side-window): Call display-buffer-set-height
17304 and display-buffer-set-width after setting the new window's
b796c9b7 17305 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 17306
bfa4f190
SS
173072011-07-20 Sam Steingold <sds@gnu.org>
17308
17309 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
17310 (etags-tags-included-tables): Call `convert-standard-filename' on
17311 the file names contained in TAGS so that windows Emacs can handle
17312 TAGS files created by cygwin ctags.
17313
8ca42262
LMI
173142011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
17315
17316 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
17317 which apparently didn't work.
17318
5db2afd2 173192011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 17320
5db2afd2
RW
17321 * proced.el (proced-send-signal): For *Marked Processes* buffer
17322 put point at beginning of buffer.
17323
92e15d10
SB
173242011-07-19 Stephen Berman <stephen.berman@gmx.net>
17325
17326 * proced.el (proced-format): Make header lines align with the text
17327 (bug#1779).
17328
1bfd59e5
LMI
173292011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
17330
17331 * view.el (view-buffer): Allow running in `special' modes if we're
17332 visiting a file (bug#8615).
17333
f5aae37c
MR
173342011-07-19 Martin Rudalics <rudalics@gmx.at>
17335
17336 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
17337 (display-buffer-alist-set-1, display-buffer-alist-set-2):
17338 New functions.
f5aae37c
MR
17339 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
17340 more accurately.
17341
bf2c1571
AM
173422011-07-18 Alan Mackenzie <acm@muc.de>
17343
17344 Fontify declarators properly when, e.g., a jit-lock chunk begins
17345 inside a declaration.
17346
17347 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
17348
b796c9b7
SM
17349 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
17350 New function.
bf2c1571
AM
17351 (c-complex-decl-matchers): Insert reference to
17352 c-font-lock-enclosing-decls.
17353
17354 * progmodes/cc-engine.el (c-backward-single-comment):
17355 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
17356 to nil around calls to (forward-comment -1).
17357
4e190b80
LMI
173582011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
17359
12dc863d
LMI
17360 * image.el (put-image): Doc typo fix.
17361
a762e966
LMI
17362 * progmodes/etags.el (tags-search): Doc typo fix.
17363
4e190b80
LMI
17364 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
17365 password if we get errors 550 to 554.
17366
f019fb21
LMI
173672011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
17368
b796c9b7 17369 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 17370
81746738
LMI
17371 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
17372 indentation character (bug#6380).
17373
3ee3a1b5
LMI
17374 * files.el (buffer-offer-save): Made permanently local (bug#6241).
17375
c82f64de
LMI
17376 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
17377 to clarify what the problem is (bug#4291).
17378
f019fb21
LMI
17379 * simple.el (current-kill): Clarify what
17380 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
17381 (auto-fill-mode): Document `auto-fill-function' in relation to
17382 `auto-fill-mode' (bug#2470).
f019fb21 17383
0794775d
LM
173842011-07-16 Lawrence Mitchell <wence@gmx.li>
17385
17386 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
17387 method if slot is read-only (bug#9035).
17388
be39b8cc
MR
173892011-07-16 Martin Rudalics <rudalics@gmx.at>
17390
b796c9b7 17391 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 17392 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
17393 selected before, see discussion of (Bug#8615), (Bug#6954).
17394 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 17395
6ccf7859
GM
173962011-07-15 Glenn Morris <rgm@gnu.org>
17397
17398 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 17399 Respect help-form.
6ccf7859 17400
87e86684
LM
174012011-07-09 Lawrence Mitchell <wence@gmx.li>
17402
17403 * net/gnutls.el (gnutls-min-prime-bits): New variable.
17404 (gnutls-negotiate): Use it.
17405
d6066239
LMI
174062011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
17407
b796c9b7
SM
17408 * net/gnutls.el (gnutls-negotiate):
17409 Upcase `gnutls-algorithm-priority'.
d6066239 17410
bd23ebc0
GM
174112011-07-15 Glenn Morris <rgm@gnu.org>
17412
c65bca65
GM
17413 * jka-compr.el (jka-compr-verbose): Move from here...
17414 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
17415 Add missing :version tag.
17416 * info.el: No need to require jka-compr when compiling.
bd23ebc0 17417
478615cc
LMI
174182011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
17419
7b41decb
LMI
17420 * net/gnutls.el (gnutls-algorithm-priority): New variable.
17421 (gnutls-negotiate): Use it.
17422
dbc44fcd
LMI
17423 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
17424
06789f97
LMI
17425 * info.el (Info-beginning-of-buffer): New command.
17426 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
17427 announcing `b' as the key (bug#8325).
ab896c37 17428 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 17429
c39da690
LMI
17430 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
17431
3aa5f34b
LMI
17432 * international/mule-cmds.el
17433 (describe-specified-language-support): Make the error message
17434 clearer (bug#8905).
17435
4bf0979f
LMI
17436 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
17437
478615cc
LMI
17438 * isearch.el (isearch-barrier): Add a doc string, since it's
17439 mentioned in a function doc string (bug#8678).
17440
75c68aa1
MR
174412011-07-15 Martin Rudalics <rudalics@gmx.at>
17442
17443 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
17444 buffer argument (Bug#9083) and self-identifying label argument.
17445
a7c33da2
GM
174462011-07-15 Glenn Morris <rgm@gnu.org>
17447
17448 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
17449
2f5c6024
LMI
174502011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
17451
17452 * man.el (Man-fontify-manpage): Fix message when formatting the
17453 man page (bug#7929).
17454
0bb23927 174552011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
17456
17457 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
17458 argument LRM; if non-nil, append an invisible LRM character to the
17459 buffer name.
17460 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
17461 last argument non-nil, when formatting buffer names.
0bb23927
EZ
17462 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
17463 paragraph direction.
cce4b0a7 17464
621ef9ab
LMI
174652011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
17466
d1583c48
LMI
17467 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
17468 the man page name (bug#7929).
17469
6a57fb5f
LMI
17470 * image.el (put-image): Mention the `put-image' overlay property
17471 (bug#7834).
17472
d7956b14
LMI
17473 * scroll-bar.el (set-scroll-bar-mode): Mention that
17474 `scroll-bar-mode' lists the values (bug#7772).
17475
5b2d4a66
LMI
17476 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
17477 command (bug#7729).
17478
7509a874
LMI
17479 * rect.el (apply-on-rectangle): Return the point after the last
17480 operation.
17481 (string-rectangle): Go to the point after the last operation
17482 (bug#7522).
17483
4fe74b19
LMI
17484 * printing.el (pr-toggle-region): Clarify the documentation
17485 slightly (bug#7493).
17486
b796c9b7
SM
17487 * time.el (display-time-update):
17488 Allow `display-time-mail-function' to return nil (bug#7158).
17489 Fix suggested by Detlev Zundel.
ab283561 17490
fc233c9d
LMI
17491 * vc/diff.el (diff): Clarify the order the file names are read
17492 (bug#7111).
17493
43f5740b
LMI
17494 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
17495 the doc string (bug#7015).
17496
f2182a76
LMI
17497 * font-lock.el (font-lock-maximum-decoration): Mention what
17498 numeric levels mean (bug#6935).
17499
621ef9ab
LMI
17500 * startup.el (initial-buffer-choice): Don't mention the `none'
17501 selection, which is against policy.
17502
adc47434
MR
175032011-07-14 Martin Rudalics <rudalics@gmx.at>
17504
b796c9b7
SM
17505 * window.el (display-buffer-normalize-special):
17506 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 17507
7e5bfb8f
EZ
175082011-07-14 Eli Zaretskii <eliz@gnu.org>
17509
17510 * subr.el (version<, version<=, version=): Mention "-CVS" and
17511 "-12345" alpha version numbers.
17512
27fa387a
CY
175132011-07-14 Chong Yidong <cyd@stupidchicken.com>
17514
17515 * bindings.el: Add advertised binding for set-mark-command
17516 (Bug#5772).
17517
8bdfa064
CY
175182011-07-14 Chong Yidong <cyd@stupidchicken.com>
17519
17520 * bindings.el (mode-line-other-buffer):
17521 * bookmark.el (bookmark-bmenu-2-window):
17522 * bs.el (bs-cycle-next, bs-cycle-previous):
17523 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
17524 switch-to-buffer.
17525
17526 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 17527 Delete.
8bdfa064 17528
5eba16a3
JB
175292011-07-14 Juanma Barranquero <lekktu@gmail.com>
17530
17531 * follow.el (follow-debug-message, follow-redisplay):
17532 * jka-cmpr-hook.el (with-auto-compression-mode):
17533 Fix typos in docstrings.
17534
15853710
LMI
175352011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
17536
a28e4607
LMI
17537 * subr.el (with-silent-modifications): Clarify somewhat what the
17538 macro inhibits (bug#6525).
17539
15853710
LMI
17540 * simple.el (eval-expression): Note what it does if called
17541 interactively (bug#6495).
17542
bee0fcef
CY
175432011-07-13 Chong Yidong <cyd@stupidchicken.com>
17544
b796c9b7
SM
17545 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
17546 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
17547
17548 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
17549 Remove switch-to-buffer.
17550
58274504
LMI
175512011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
17552
bd2fcc8d
LMI
17553 * files.el (make-directory): Clarify that an error will be raised
17554 if there's an error (bug#6397).
17555
0f04b32c
LMI
17556 * startup.el (initial-buffer-choice): Add `none' as a choice
17557 (bug#6234).
17558
465c5fc8
LMI
17559 * subr.el (add-hook): Clarify section about buffer-local hooks
17560 (bug#6218).
17561
58274504
LMI
17562 * dired.el (dired-flagged): Clarify doc string (bug#6117).
17563
bead9a43
JB
175642011-07-13 Juanma Barranquero <lekktu@gmail.com>
17565
17566 * tabify.el (untabify): Preserve the current column so that point
17567 doesn't move (bug#6032).
17568
3af98a7b
LMI
175692011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
17570
b796c9b7
SM
17571 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
17572 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 17573
6240145a
GM
175742011-07-13 Glenn Morris <rgm@gnu.org>
17575
17576 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
17577 (dired-insert-directory): Give a message the first time
17578 if ls is found not to support --dired.
17579
1d8c2ccc
LMI
175802011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
17581
17582 * simple.el (toggle-truncate-lines): Clarify what is toggled
17583 (bug#5580). Text by Drew Adams.
17584
5fc4038e
CY
175852011-07-13 Chong Yidong <cyd@stupidchicken.com>
17586
17587 * simple.el (blink-matching-open): Make the error message from the
17588 last change less verbose.
17589
bf6012e5
DN
175902011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
17591
17592 * font-lock.el (font-lock-comment-face): Use the high contrast
17593 "yellow" color for font-lock-comment-face on low color terminals
17594 using a dark background color (bug#4221).
17595
343c3b5a
LMI
175962011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
17597
7e9505c5
LMI
17598 * dired.el (dired-insert-set-properties): Make the doc string
17599 reflect what it does now (bug#5325).
17600
c26fdcf5
LMI
17601 * simple.el (blink-matching-open): Say that we were unable to find
17602 the match within the limit, if we're limited (bug#5122).
17603
bb388cc5
LMI
17604 * international/mule-cmds.el (prefer-coding-system): Add an
17605 example (bug#4869).
17606
343c3b5a
LMI
17607 * progmodes/etags.el (tags-search): Document `file-list-form'
17608 (bug#4731).
17609
2a517d45
LM
176102011-07-13 Lawrence Mitchell <wence@gmx.li>
17611
17612 * net/browse-url.el (browse-url-default-browser)
17613 (browse-url-browser-function): Make the default browser choice a
17614 bit more logical (bug#4300). Also clean up the doc string.
17615
b6c78ef2
JB
176162011-07-13 Juanma Barranquero <lekktu@gmail.com>
17617
17618 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
17619 binary endings (bug#4440).
17620
1c4dd947
LMI
176212011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
17622
a2014063
LMI
17623 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
17624 which can be pretty annoying (bug#8971).
17625
9c9c2d88
LMI
17626 * jka-compr.el (jka-compr-verbose): New variable, and use
17627 throughout (bug#8971).
17628
1c4dd947
LMI
17629 * info.el (Info-find-file): Fall back on the installation
17630 directory if we can't find the info node anywhere else.
17631
a1c9f41b
SO
176322011-07-13 Sergei Organov <osv@javad.com> (tiny change)
17633
17634 * vc/vc.el (vc-revert-file):
17635 Don't set file time-stamp in the past. (Bug#5181)
17636
536f3d36
LMI
176372011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
17638
7152b011
LMI
17639 * files.el (after-find-file): Give a better error message when
17640 trying to find a symlink that points to a file that doesn't exist
17641 (bug#4398).
17642
536f3d36
LMI
17643 * progmodes/cc-vars.el: Remove (probably) misleading comment
17644 (bug#4396).
17645
460c0fba
JB
176462011-07-12 Johan Bockgård <bojohan@gnu.org>
17647
17648 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
17649
7a6bda45
CY
176502011-07-12 Chong Yidong <cyd@stupidchicken.com>
17651
17652 * mouse-sel.el: Hack restoring functionality, while keeping
17653 compatibility with 2010-07-03 changes to mouse selection.
17654 (mouse-sel-primary-overlay): New var.
17655 (mouse-sel-selection-alist): Use it.
17656 (mouse-sel-mode): Doc fix; remove points that are default features
17657 of mouse.el.
17658
c79598ef
JB
176592011-07-12 Johan Bockgård <bojohan@gnu.org>
17660
17661 * progmodes/compile.el (compilation-error-regexp-alist-alist):
17662 Fix previous fix (bug#2490).
17663
ff8be6ef
RW
176642011-07-12 Roland Winkler <winkler@gnu.org>
17665
b796c9b7
SM
17666 * textmodes/bibtex.el (bibtex-initialize):
17667 Use pop-to-buffer-same-window.
ff8be6ef
RW
17668 (bibtex-search-entries): Fix interactive call.
17669
296ba3ee
LMI
176702011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
17671
f5242a02 17672 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
17673 Fontise bytecomp Error lines more correctly (bug#2490).
17674 Fix suggested by Johan Bockgård.
f5242a02 17675
296ba3ee
LMI
17676 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
17677
17678 * dired-x.el (dired-guess-default): Use `delete-dups'.
17679
f69fd0d2
CY
176802011-07-12 Chong Yidong <cyd@stupidchicken.com>
17681
17682 * dired.el (dired-mark-prompt):
17683 * dired-aux.el (dired-read-shell-command): Doc fix.
17684
eab5dc07
LMI
176852011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
17686
b796c9b7
SM
17687 * mail/sendmail.el (sendmail-query-once):
17688 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
17689 emacs -Q.
17690
17691 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
17692
eab5dc07
LMI
17693 * cus-edit.el (custom-file): Take an optional no-error variable.
17694 (customize-save-variable): Set the variable, and give a warning if
17695 running under "emacs -q".
17696
a1e65d42
JB
176972011-07-11 Juanma Barranquero <lekktu@gmail.com>
17698
17699 * loadhist.el (unload-feature-special-hooks):
17700 Add `auto-coding-functions', `fill-nobreak-predicate' and
17701 `find-directory-functions' (bug#5327).
17702
1d52da10
LMI
177032011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
17704
be958f1d
LMI
17705 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
17706
5bedb26c
LMI
17707 * cus-edit.el (custom-guess-name-alist): -alist variables should
17708 use the `alist' type (bug#3120). Suggested by Drew Adams.
17709
1d52da10
LMI
17710 * printing.el: Add documentation to all the `pr-toggle-' commands.
17711
cd394be1 177122011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
17713
17714 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
17715 backends where it makes sense (bug#2623).
17716
dcc88d8a
LMI
177172011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
17718
c3de9feb
LMI
17719 * dired-x.el (dired-guess-default): Remove duplicate shell command
17720 entries (bug#2028).
8a93078b 17721 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 17722 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 17723
dcc88d8a
LMI
17724 * subr.el (remove-duplicates): New conveniency function.
17725
505e3645
LMI
177262011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
17727
17728 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
17729 (bug#1526).
17730
177312011-07-10 Martin Rudalics <rudalics@gmx.at>
17732
17733 * window.el (display-buffer-normalize-default): Don't invert
17734 meaning of even-window-heights. Reported by Eli Zaretskii
17735 <eliz@gnu.org>.
17736
455e4fa1
BR
177372011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
17738
17739 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
17740
8e0bc3e9
CY
177412011-07-10 Chong Yidong <cyd@stupidchicken.com>
17742
17743 * window.el (display-buffer): Fix arguments to
17744 display-buffer-reuse-window in last change.
17745
fa7c3228
CY
17746 * faces.el (link): Use a less saturated blue on light backgrounds.
17747
17748 * startup.el (fancy-startup-text, fancy-about-text)
17749 (fancy-startup-tail): Use font-lock faces, for background safety.
17750
c0a7f300
BN
177512011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
17752
b796c9b7
SM
17753 * emulation/viper-cmd.el (viper-change-state-to-vi):
17754 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 17755
4dc2a129
MR
177562011-07-09 Martin Rudalics <rudalics@gmx.at>
17757
17758 * window.el (display-buffer-default-specifiers): Remove.
17759 (display-buffer-macro-specifiers): Remove default specifiers.
17760 (display-buffer-alist): Default to nil.
b796c9b7 17761 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
17762 (display-buffer-pop-up-window): Allow splitting internal
17763 windows. Check whether a live window was created.
17764 (display-buffer-other-window-means-other-frame)
17765 (display-buffer-normalize-arguments): Rename to
17766 display-buffer-normalize-argument and rewrite. Set the
17767 other-window specifier.
17768 (display-buffer-normalize-special): New function.
17769 (display-buffer-normalize-options): Rename to
17770 display-buffer-normalize-default and rewrite.
17771 (display-buffer-normalize-options-inhibit): Remove.
17772 (display-buffer-normalize-specifiers): Rewrite.
17773 (display-buffer): Process other-window specifier and call
17774 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
17775 more faithfully.
b796c9b7 17776 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 17777 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
17778 (display-buffer-in-window, display-buffer-alist-set):
17779 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
17780 <tassilo@member.fsf.org>.
17781
2d43b8c9
LL
177822011-07-09 Leo Liu <sdl.web@gmail.com>
17783
17784 * register.el (insert-register): Restore accidental change on
17785 2011-06-26. (Bug#9028)
17786
7f9b7c53
GM
177872011-07-09 Glenn Morris <rgm@gnu.org>
17788
17789 * subr.el (remq): Handle the empty list. (Bug#9024)
17790
f042cfd8
AS
177912011-07-08 Andreas Schwab <schwab@linux-m68k.org>
17792
17793 * mail/sendmail.el (send-mail-function): No longer delay custom
17794 initialization.
17795 * custom.el (custom-initialize-delay): Doc fix.
17796
856b2f11
SM
177972011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
17798
17799 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
17800
afae1d68
MA
178012011-07-08 Michael Albinus <michael.albinus@gmx.de>
17802
17803 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
17804 human-friendly prompt.
17805
0757af94
SM
178062011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
17807
17808 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
17809 provided by a particular plugin.
17810
d760b731
LMI
178112011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
17812
17813 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
17814 save customizations (with "emacs -Q"), just set the variable
17815 instead of erroring out.
17816
17817 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
17818
cd79ce90
JL
178192011-07-08 Juri Linkov <juri@jurta.org>
17820
17821 * arc-mode.el (archive-zip-expunge, archive-zip-update)
17822 (archive-zip-update-case): Use 7z if found by `executable-find'.
17823 The order of searching the available programs is the same as in
17824 `archive-zip-extract' (bug#8968).
17825
14cc04aa
CY
178262011-07-07 Chong Yidong <cyd@stupidchicken.com>
17827
17828 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
17829 (menu-bar-options-menu): Tweak descriptions.
17830
0a1848ec
LMI
178312011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
17832
17833 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
17834 menu items into verb phrases (bug#1421). Also refill to fit under
17835 80 columns.
17836
f5bd0689
CY
178372011-07-07 Chong Yidong <cyd@stupidchicken.com>
17838
538e85c6
CY
17839 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
17840 (Info-read-node-name): Doc fix (Bug#1084).
17841
f5bd0689
CY
17842 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
17843 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
17844 (end-of-sexp, beginning-of-sexp)
17845 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
17846 (forward-symbol, forward-same-syntax, word-at-point)
17847 (sentence-at-point): Doc fix (Bug#1144).
17848
56ec5115
LMI
178492011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
17850
f3f8e37f
LMI
17851 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
17852 should cover it (bug#1281).
17853
0757af94 17854 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 17855
e9fce1ac 17856 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
17857 negotiation fails, then possibly try again with a non-encrypted
17858 connection (bug#9017).
17859
56ec5115
LMI
17860 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
17861 be used.
17862
c2f9aec8
RS
178632011-07-07 Richard Stallman <rms@gnu.org>
17864
17865 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
17866 property, and handle its changed format.
17867 Look for the correct line number.
17868 Use file's line contents (but not past first =) to find
17869 correct line in message.
17870
ef7b981d 178712011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
17872
17873 * international/characters.el (build-unicode-category-table):
17874 Delete it.
0757af94 17875 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 17876
0757af94 17877 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
17878 to src/chartab.c.
17879 (get-char-code-property): Call unicode-property-table-internal to
17880 load a file. Call get-unicode-property-internal where necessary.
17881 (put-char-code-property): Call unicode-property-table-internal to
17882 load a file. Call put-unicode-property-internal where necessary.
17883 put-unicode-property-internal where necessary.
0757af94
SM
17884 (char-code-property-description):
17885 Call unicode-property-table-internal to load a file.
c805dec0
KH
17886
17887 * international/charprop.el:
17888 * international/uni-bidi.el:
17889 * international/uni-category.el:
17890 * international/uni-combining.el:
17891 * international/uni-comment.el:
17892 * international/uni-decimal.el:
17893 * international/uni-decomposition.el:
17894 * international/uni-digit.el:
17895 * international/uni-lowercase.el:
17896 * international/uni-mirrored.el:
17897 * international/uni-name.el:
17898 * international/uni-numeric.el:
17899 * international/uni-old-name.el:
17900 * international/uni-titlecase.el:
17901 * international/uni-uppercase.el: Regenerate.
17902
17903 * loadup.el: Load international/charprop.el before
17904 international/characters.
17905
e14b388a
CY
179062011-07-07 Chong Yidong <cyd@stupidchicken.com>
17907
17908 * window.el (next-buffer, previous-buffer): Signal an error if
17909 called from a minibuffer window.
17910
17911 * bindings.el: Revert 2011-07-04 change.
17912
354cf0ba
RS
179132011-07-06 Richard Stallman <rms@gnu.org>
17914
17915 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
17916 (rmail-mime-insert-bulk, rmail-mime-insert-text):
17917 Treat markers like ints.
17918 (rmail-mime-entity): Doc fix.
17919
a48868a7
LMI
179202011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
17921
4906cd3d
LMI
17922 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
17923 defcustom again for backwards compatibility.
17924
e0457abe
LMI
17925 * simple.el (shell-command-on-region): Fill.
17926
d67f7e1f
LMI
17927 * dired-aux.el (dired-kill-line): Add a doc string.
17928
fe204702
LMI
17929 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
17930 to "\\sw\\|\\s_" (bug#358).
17931
a48868a7
LMI
17932 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
17933 (dired-unmark-backward): Ditto.
17934 (dired-flag-backup-files): Ditto.
17935
17936 * dired-x.el (dired-mark-sexp): Ditto.
17937
aa8a705c
RS
179382011-07-06 Richard Stallman <rms@gnu.org>
17939
17940 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
17941 (rmail-mime-entity): New arg TRUNCATED.
17942 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
17943 New functions.
17944 (rmail-mime-save): Warn if entity is truncated.
17945 (rmail-mime-toggle-hidden): Likewise, for showing.
17946 (rmail-mime-process-multipart): Record when an entity is truncated.
17947
a9a936b9
RS
17948 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
17949 if ENTITY is a string.
17950
1f2b92cb
LMI
179512011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
17952
f4f73198 17953 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
17954 of faces when `M-C-x'-ing their definitions (bug#8378).
17955 Also clean up the code slightly.
f4f73198 17956
12b16734 17957 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 17958 because that makes the colors go away.
12b16734 17959
f0691d22
LMI
17960 * mail/sendmail.el (send-mail-function): Change the default to
17961 `sendmail-query-once'.
9e87df06 17962 (sendmail-query-once): Add an autoload cookie.
f0691d22 17963
1f2b92cb
LMI
17964 * net/network-stream.el (network-stream-open-starttls): Try using
17965 a plain connection even if the server offered STARTTLS, and we
17966 kinda wanted to use it, if Emacs doesn't have any STARTTLS
17967 capability. This should make smtpmail.el work in slightly more
17968 configurations.
17969
1cdd2a1b
MA
179702011-07-06 Michael Albinus <michael.albinus@gmx.de>
17971
17972 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
17973 New defun.
17974 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
17975
fbcc67e2
MM
179762011-07-06 Michael R. Mauger <mmaug@yahoo.com>
17977
17978 * progmodes/sql.el: Version 3.0
0757af94 17979 (sql-product-alist): Add product :completion-object,
fbcc67e2 17980 :completion-column, and :statement attributes.
0757af94 17981 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 17982 (sql-mode-syntax-table): Mark all punctuation.
0757af94 17983 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
17984 ansi keywords.
17985 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 17986 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
17987 (sql-oracle-show-reserved-words): New function for development.
17988 (sql-product-font-lock): Simplify for source code buffers.
17989 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
17990 New functions.
17991 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
17992 (sql-mode-map): Add statement movement functions.
17993 (sql-ansi-statement-starters, sql-oracle-statement-starters):
17994 New variable.
fbcc67e2
MM
17995 (sql-statement-regexp, sql-beginning-of-statement)
17996 (sql-end-of-statement, sql-signum): New functions.
0757af94 17997 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
17998 (sql-show-sqli-buffer): Bug fix.
17999 (sql-interactive-mode): Store connection data as buffer local.
0757af94 18000 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
18001 with sql-interactive-mode.
18002 (sql-save-connection): Save buffer local settings.
0757af94 18003 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
18004 (sql-product-interactive): Bug fix.
18005 (sql-preoutput-hold): New variable.
18006 (sql-interactive-remove-continuation-prompt): Bug fixes.
18007 (sql-debug-redirect): New variable.
18008 (sql-str-literal): New function.
18009 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 18010 Redesign.
fbcc67e2
MM
18011 (sql-oracle-save-settings, sql-oracle-restore-settings)
18012 (sql-oracle-list-all, sql-oracle-list-table): New functions.
18013 (sql-completion-object, sql-completion-column)
18014 (sql-completion-sqlbuf): New variables.
18015 (sql-build-completions-1, sql-build-completions)
18016 (sql-try-completion): New functions.
18017 (sql-read-table-name): Use them.
18018 (sql-contains-names): New buffer local variable.
18019 (sql-list-all, sql-list-table): Use it.
18020 (sql-oracle-completion-types): New variable.
18021 (sql-oracle-completion-object, sql-sqlite-completion-object)
18022 (sql-postgres-completion-object): New functions.
18023
d4eaeab1
GM
180242011-07-06 Glenn Morris <rgm@gnu.org>
18025
18026 * window.el (pop-to-buffer): Doc fix.
18027
322b7dab 180282011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
18029
18030 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
18031
322b7dab 180322011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 18033
322b7dab 18034 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 18035
322b7dab 18036 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 18037
605dd5bf
CY
180382011-07-05 Chong Yidong <cyd@stupidchicken.com>
18039
18040 * button.el (button): Inherit from link face. Suggested by Dan
18041 Nicolaescu.
18042
7dbfa719
SM
180432011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
18044
3db614b0
SM
18045 * progmodes/gdb-mi.el: Fit in 80 columns.
18046 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
18047 switch-to-buffer.
18048
7dbfa719
SM
18049 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
18050 if imenu is simply not configured (bug#8941).
18051
919d884a
KM
180522011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
18053
18054 * allout.el (allout-post-undo-hook): New allout outline-change
18055 event hook to signal undo activity.
18056 (allout-post-command-business): Run allout-post-undo-hook if an
18057 undo just occurred.
7dbfa719
SM
18058 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
18059 * allout-widgets.el (allout-widgets-after-undo-function):
18060 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
18061 in the vicinity of an undo.
18062 (allout-widgets-mode): Include allout-widgets-after-undo-function
18063 on the new allout-post-undo-hook.
18064
450a0f09
SM
180652011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
18066
18067 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
18068 Let define-derived-mode define it.
18069 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
18070 cycles of abbrev-table inheritance (bug#8998).
18071
2de69e00
RW
180722011-07-05 Roland Winkler <winkler@gnu.org>
18073
18074 * textmodes/bibtex.el: Add support for biblatex.
18075 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
18076 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
18077 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
18078 (bibtex-entry-alist, bibtex-field-alist): New variables.
18079 (bibtex-entry-field-alist): Obsolete alias for
18080 bibtex-BibTeX-entry-alist.
18081 (bibtex-entry-alist, bibtex-field-alist): New widgets.
18082 (bibtex-set-dialect): New command.
18083 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
18084 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
18085 Bind via bibtex-set-dialect.
2de69e00
RW
18086 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
18087 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
18088 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
18089 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
18090 Define via bibtex-set-dialect.
450a0f09
SM
18091 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
18092 Obey bibtex-no-opt-remove-re.
2de69e00
RW
18093 (bibtex-vec-push, bibtex-vec-incr): New functions.
18094 (bibtex-format-entry, bibtex-field-list)
18095 (bibtex-print-help-message, bibtex-validate)
18096 (bibtex-search-entries): Use new format of bibtex-entry-alist.
18097
2dcdbdd9
SM
180982011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
18099
18100 * progmodes/compile.el (compilation-goto-locus):
18101 * net/tramp-cmds.el (tramp-append-tramp-buffers):
18102 * bs.el (bs-cycle-next, bs-cycle-previous):
18103 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
18104 * bindings.el (mode-line-other-buffer):
18105 * autoinsert.el (auto-insert):
18106 * arc-mode.el (archive-extract):
18107 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
18108
b27640fe
JB
181092011-07-05 Juanma Barranquero <lekktu@gmail.com>
18110
18111 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
18112 Fix check of `emacs-lock-unlockable-modes'.
18113 Coerce true values of `emacs-lock--try-unlocking' to t.
18114
53bbe3ad
JB
181152011-07-05 Juanma Barranquero <lekktu@gmail.com>
18116
18117 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
18118 * emacs-lock.el: New file.
18119
1d3cdbc7
JD
181202011-07-05 Julien Danjou <julien@danjou.info>
18121
18122 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
18123 than `boundp' to check if face is set.
18124
9173deec
JB
181252011-07-05 Juanma Barranquero <lekktu@gmail.com>
18126
18127 * register.el (registerv-make):
18128 * window.el (window-min-height): Fix typos in docstrings.
18129
869795d6
JD
181302011-07-05 Jan Djärv <jan.h.d@swipnet.se>
18131
9173deec 18132 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
18133 Update doc string.
18134
b768cdcd
JB
181352011-07-04 Juanma Barranquero <lekktu@gmail.com>
18136
18137 * server.el (server-execute): Catch quit and call
18138 `server-return-error' to pass the error back to emacsclient and
18139 close the connection (bug#8942).
18140
13aa217b
KM
181412011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
18142
18143 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
18144 insecure exception for current topic. Also note that auto-saves
18145 are handled differently.
18146
5d3385a0 18147 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
13aa217b
KM
18148 State variables for tracking auto-save inhibition situation.
18149
18150 (allout-write-contents-hook-handler): Rename from
18151 'allout-write-file-hook-handler', and describe how it depends on
18152 write-contents-functions sensitivity to non-nil value to prevent
18153 file write.
18154
18155 (allout-auto-save-hook-handler): Remove. auto-save does not check
18156 this in individual buffers, only in the starting buffer, so this
18157 is not the right way for us to inhibit auto-save in a buffer
18158 according to its condition.
18159
18160 (allout-mode): Use new allout-write-contents-hook-handler, and
18161 only with write-contents-functions. Remove auto-save provisions -
18162 they're implemented elsewhere.
18163
18164 (allout-before-change-handler): If undo is in progress, note that
18165 for attention of allout-post-command-business.
18166
18167 (allout-post-command-business): If the command we're following was
18168 an undo, check for change in the status of encrypted items and
18169 adjust auto-save inhibitions accordingly.
18170
18171 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
18172 according to whether there are or aren't any plain-text topics
18173 pending encryption.
18174
2dcdbdd9 18175 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
18176 Adjust buffer-saved-size and some allout state to inhibit auto-saves
18177 if there are plain-text topics pending encryption.
13aa217b
KM
18178
18179 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
18180 buffer-saved-size and some allout state to not inhibit auto-saves
18181 if there are no longer any plain-text topics pending encryption.
18182
0757af94
SM
18183 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
18184 No longer provide for exemption of the current topic.
13aa217b 18185
ac89b32c
JL
181862011-07-04 Juri Linkov <juri@jurta.org>
18187
18188 Add 7z operations to delete and save changed members (bug#8968).
18189 * arc-mode.el (archive-7z-expunge, archive-7z-update):
18190 New defcustoms.
18191 (archive-7z-write-file-member): New function.
18192 (archive-7z-summarize): Fix the number of dashes in the
18193 listing output.
18194
8fa39615
SM
181952011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
18196
18197 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
18198 (bug#8958).
18199
2f11b3f1
CY
182002011-07-04 Chong Yidong <cyd@stupidchicken.com>
18201
d66fef2b
CY
18202 * bindings.el: Ignore next-buffer and previous-buffer in
18203 minibuffer-local-map.
18204
2f11b3f1
CY
18205 * font-lock.el (font-lock-builtin-face): Change light background
18206 color to dark slate blue (Bug#6693).
18207
f932a347
WD
182082011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
18209
18210 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
18211
c8af70e1
SM
182122011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
18213
18214 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
18215 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
18216 Add switch-to-buffer.
18217
f158badc
LMI
182182011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
18219
18220 * isearch.el (isearch-search-fun-function): Clarify further the
18221 meaning of the function returned.
18222
6d95bd46
MA
182232011-07-04 Michael Albinus <michael.albinus@gmx.de>
18224
18225 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
18226
18227 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
18228 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
18229 Use it.
18230 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
18231 `tramp-default-remote-path' does not exist.
18232 (tramp-send-command-and-read): New optional argument NOERROR.
18233 (tramp-open-connection-setup-interactive-shell)
18234 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
18235 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
18236 (tramp-process-sentinel): Flush also process' connection property.
18237 (tramp-sh-handle-start-file-process): Do not set process
18238 sentinel. It is done now ...
18239 (tramp-maybe-open-connection): ... here. (Bug#8929)
18240
909e6b67
MK
182412011-07-04 MON KEY <monkey@sandpframing.com>
18242
18243 * play/animate.el (animate-string): Doc fixes and allow changing
18244 the buffer name (bug#5417).
18245
182462011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
18247
c8af70e1 18248 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 18249
f34755dc
PE
182502011-07-04 Paul Eggert <eggert@cs.ucla.edu>
18251
396cec72
PE
18252 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
18253 This is simpler and helps future-proof the code.
18254 (timer-until): Use time-subtract and float-time.
08235028 18255 (timer--time-less-p): Use time-less-p.
f34755dc 18256
56e6cc31
JB
182572011-07-04 Juanma Barranquero <lekktu@gmail.com>
18258
3abb79e5
JB
18259 * type-break.el (timep): Use the value of `float-time' to avoid a
18260 byte-compiler warning.
18261
56e6cc31
JB
18262 * server.el (server-eval-and-print): Return any result, even nil.
18263
7b9430b4
PE
182642011-07-03 Paul Eggert <eggert@cs.ucla.edu>
18265
18266 * type-break.el: Accept time formats that the builtins accept.
18267 (timep, type-break-time-difference): Accept any format that
18268 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
18269 This is simpler and helps future-proof the code.
18270 (type-break-time-difference): Round rather than ignoring
18271 subseconds components.
18272
3034e9e7
LMI
182732011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
18274
18275 * info.el (Info-apropos-matches): Make non-interactive, since it
18276 doesn't seem to do anything useful as a command (bug#8829).
18277
1485f4c0
CY
182782011-07-03 Chong Yidong <cyd@stupidchicken.com>
18279
18280 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 18281 Move from faces.el.
1485f4c0
CY
18282 (frame-default-terminal-background): New function.
18283
18284 * custom.el (custom-push-theme): Don't record faces in `changed'
18285 theme; this doesn't work correctly for per-frame face settings.
18286 (disable-theme): Use face-set-after-frame-default to reset faces.
18287 (custom--frame-color-default): New function.
18288
9fa3dd45
LMI
182892011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
18290
c8af70e1 18291 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
18292 (bug#8769).
18293
6cbbc20c
KR
182942011-03-29 Kevin Ryde <user42@zip.com.au>
18295
18296 * progmodes/compile.el (compilation-error-regexp-alist-alist):
18297 `perl-Test2' extend to match possible "fail #N" rep count
18298 (bug#8377).
18299
c7f98048
LMI
183002011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
18301
65676592
LMI
18302 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
18303 `smtpmail-via-smtp' now returns the error instead of nil.
18304
c7f98048
LMI
18305 * isearch.el (isearch-search-fun-function): Clarify the doc string
18306 (bug#8101).
18307
56e6cc31 183082011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
18309
18310 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
18311 unnecessary spaces (bug#8987).
18312
2b216704
LMI
183132011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
18314
18315 * net/network-stream.el (open-network-stream): Use the
18316 :end-of-capability command thoughout.
18317
183182011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
18319
18320 * net/network-stream.el (open-network-stream): Add the
18321 :end-of-capability command parameter, used by pop3.el.
18322
36adf6ce
LMI
183232011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
18324
1ca0da0e
LMI
18325 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
18326
fc00f69c
LMI
18327 * fringe.el (fringe-query-style): Remove redundant text " (type ?
18328 for list)" (bug#6475).
18329
28fd8759 18330 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 18331 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
18332 an error (bug#6297).
18333
0dd8b6da
LMI
18334 * man.el (Man-reference-regexp): Allow matching possible
18335 word-wrapped references (bug#6289).
18336
ce1438d6
LMI
18337 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
18338 for consistency with the other vc buffers (bug#6197).
18339 (vc-checkin): Ditto.
18340
18341 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
18342
36adf6ce
LMI
18343 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
18344
e83cc1f7
LMI
183452011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
18346
8a20ca4c
LMI
18347 * custom.el (defcustom): Clarify that :set is only used in the
18348 Customize user interface (bug#6089).
18349
83319045
LMI
18350 * progmodes/flymake.el (flymake-mode): If the buffer isn't
18351 associated with a file, refuse to run instead of erroring out
18352 (bug#6084).
18353
a8392169
LMI
18354 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
18355 the doc string, since it appears that using `fill-column' always
18356 controls the width (bug#7845).
18357
e83cc1f7
LMI
18358 * simple.el (shell-command-on-region): Say where the error output
18359 went if `shell-command-default-error-buffer' is set (bug#6857).
18360
e47ca23b
KM
183612011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
18362
18363 * allout.el (allout-yank-processing): Adjust cursor position for
18364 backwards-deleted space.
18365
18366 (allout-rebullet-heading): Register changes with
18367 allout-exposure-changed-hook, so the modified topic is properly
18368 decorated.
18369
5cf56143
LMI
183702011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
18371
08549772
LMI
18372 * minibuffer.el (completion-in-region): Document PREDICATE
18373 (bug#7136).
18374
48e96771
LMI
18375 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
18376 of keyword/argument pairs (bug#6904).
18377
c8af70e1
SM
18378 * replace.el (multi-occur):
18379 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 18380
e17d05e2
LMI
183812011-07-02 Drew Adams <drew.adams@oracle.com>
18382
18383 * dired.el (dired-mark-if): Make the message about whether it's
18384 marking or unmarking clearer (bug#8523).
18385
063b0e45
LMI
183862011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
18387
18388 * disp-table.el (display-table-print-array): New function.
18389 (describe-display-table): Use it to print the vectors more pretty
18390 (Bug#8859).
18391
28545e04
MR
183922011-07-02 Martin Rudalics <rudalics@gmx.at>
18393
18394 * window.el (window-state-get-1): Don't assign clone numbers.
18395 Add clone-of item to list of window parameters.
18396 (window-state-put-2): Don't process clone numbers.
18397 (display-buffer-alist): Fix doc-string.
18398
3349e122
SM
183992011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
18400
18401 * subr.el (remq): Don't allocate if it's not needed.
18402 (keymap--menu-item-binding, keymap--menu-item-with-binding)
18403 (keymap--merge-bindings): New functions.
18404 (keymap-canonicalize): Use them to refine the canonicalization.
18405 * minibuffer.el (minibuffer-local-completion-map)
18406 (minibuffer-local-must-match-map): Move initialization from C.
18407 (minibuffer-local-filename-completion-map): Move initialization from C;
18408 don't inherit from anything here.
18409 (minibuffer-local-filename-must-match-map): Make obsolete.
18410 (completing-read-default): Use make-composed-keymap to combine
18411 minibuffer-local-filename-completion-map with either
18412 minibuffer-local-must-match-map or
18413 minibuffer-local-filename-completion-map.
18414
d224ac83
GM
184152011-07-01 Glenn Morris <rgm@gnu.org>
18416
3de63bf8
GM
18417 * type-break.el (type-break-time-sum): Use dolist.
18418
d224ac83
GM
18419 * textmodes/flyspell.el (flyspell-word-search-backward):
18420 Replace CL function.
18421
1a1e3f32
SM
184222011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
18423
fe3f64d5
SM
18424 * mouse.el (mouse--strip-first-event): New function.
18425 (function-key-map): Use it to map fringe clicks to normal clicks
18426 by default.
18427
eb604e34
SM
18428 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
18429 (vc-bzr-revision-completion-table): Add support for annotate and date.
18430
1a1e3f32
SM
18431 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
18432 inherit from parent.
18433
5bd35902
LMI
184342011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
18435
ace6c69c 18436 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 18437 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 18438
191e2bed
LMI
18439 * dired.el (dired-mode): Fix up the doc string as suggested by
18440 Drew Adams (bug#8817).
18441
5bd35902
LMI
18442 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
18443 cookie, since the manual says that it should be possible to add
18444 this function to `find-file-hook' (bug#8709).
18445
eee8207a
TZ
184462011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
18447
18448 * progmodes/cfengine.el: Moved all cfengine3.el functionality
18449 here. Noted Ted Zlatanov as the maintainer.
18450 (cfengine-common-settings, cfengine-common-syntax): New functions
18451 to set up common things between `cfengine-mode' and
18452 `cfengine3-mode'.
18453 (cfengine3-mode): New mode.
18454 (cfengine3-defuns cfengine3-defuns-regex
18455 (cfengine3-class-selector-regex cfengine3-category-regex)
18456 (cfengine3-vartypes cfengine3-font-lock-keywords)
18457 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 18458 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 18459
36b148cf
MA
184602011-07-01 Michael Albinus <michael.albinus@gmx.de>
18461
18462 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
18463
18464 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
18465
0bf4ba9a
MR
184662011-07-01 Martin Rudalics <rudalics@gmx.at>
18467
18468 * window.el (same-window-buffer-names, same-window-regexps)
18469 (same-window-p, special-display-frame-alist)
18470 (special-display-popup-frame, special-display-function)
18471 (special-display-buffer-names, special-display-regexps)
18472 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
18473 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
18474 (split-window-preferred-function, split-height-threshold)
18475 (split-width-threshold, even-window-heights)
18476 (display-buffer-mark-dedicated, window-splittable-p)
18477 (split-window-sensibly, window-safely-shrinkable-p):
18478 Un-obsolete.
18479 (display-buffer): Don't spread args with function specifier
18480 because special-display-popup-frame won't like it.
18481
35837f51
PE
184822011-07-01 Paul Eggert <eggert@cs.ucla.edu>
18483
d0672f86
PE
18484 Time-stamp simplifications and fixes.
18485 These improve accuracy slightly, and future-proof the code
18486 against some potential changes to current-time format.
18487
b9444d97
PE
18488 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
18489 by using time-since and float-time.
18490
0ef923dc
PE
18491 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
18492 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
18493 + NNN microseconds".
18494
2f81380d
PE
18495 * type-break.el (type-break-time-sum): Rewrite using time-add.
18496
845b5c3e
PE
18497 * play/hanoi.el (hanoi-current-time-float): Remove.
18498 All uses replaced by float-time.
18499
ee6f1be0
PE
18500 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
18501 This yields a more-accurate answer.
18502 (rng-time-to-float): Remove; no longer needed.
18503
fe955043
PE
18504 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
18505
5777162a
PE
18506 * calendar/timeclock.el (timeclock-seconds-to-time):
18507 Defalias to seconds-to-time, since they're the same thing.
18508
3103f8b6 18509 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 18510 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
18511 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
18512
0e61a35f
SM
185132011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
18514
18515 * window.el (bury-buffer): Don't iconify the only frame.
18516 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
18517 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
18518
ddd63a1e
CY
185192011-07-01 Chong Yidong <cyd@stupidchicken.com>
18520
0e61a35f
SM
18521 * eshell/em-smart.el (eshell-smart-display-navigate-list):
18522 Add mouse-yank-primary.
ddd63a1e 18523
055f4923
TZ
185242011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
18525
18526 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
18527
6a2fb145
SM
185282011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
18529
18530 * emacs-lisp/find-func.el (find-library--load-name): New fun.
18531 (find-library-name): Use it to find relative load names when provided
18532 absolute file name (bug#8803).
18533
fd4983f2
LMI
185342011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
18535
887d14ad
LMI
18536 * textmodes/flyspell.el (flyspell-word): Consider words that
18537 differ only in case as potential doublons (bug#5687).
18538
c53dc7fc
LMI
18539 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
18540 Remove two rather uninteresting debugging-like messages to make
18541 debbugs.el more silent.
18542
fd4983f2
LMI
18543 * comint.el (comint-password-prompt-regexp): Accept "Response" as
18544 a password-like phrase.
18545
7a71b18d 185462011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
18547
18548 * progmodes/cc-guess.el: New file.
18549
6a2fb145 18550 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
18551
18552 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
18553 derived from `c-basic-common-init'.
18554
18555 * progmodes/cc-mode.el (top-level): Require cc-guess.
18556 (c-basic-common-init): Use `cc-choose-style-for-mode'.
18557
1fa280a3
LM
185582011-06-30 Lawrence Mitchell <wence@gmx.li>
18559
18560 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
18561
e6597158
AM
185622011-06-30 Alan Mackenzie <acm@muc.de>
18563
1fa280a3
LM
18564 * progmodes/cc-engine.el (c-guess-continued-construct):
18565 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
18566 lock is disabled. Name this case as "CASE G".
18567
68ba37fb
KM
185682011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
18569
18570 * allout.el (allout-yank-processing): Fix injection of extra space
18571 between bullet and non-whitespace character in first topic when
18572 pasting, ensuring that the actual spacing in the pasted topic
18573 following the bullet char is preserved. This extra space was
18574 causing pasted encrypted topics to get a decrypted status even
18575 when the content was actually still encrypted. Now the decryption
18576 status from before the paste is preserved.
18577
18578 (allout-flag-region): Set all allout overlays so they evaporate
18579 when reduced to zero length (evanescent), to prevent overlay
18580 leakage.
18581
887a0b34
GM
185822011-06-30 Glenn Morris <rgm@gnu.org>
18583
94b9acce
GM
18584 * w32-fns.el (w32-charset-info-alist): Declare.
18585
1d9b46d4
GM
18586 * find-dired.el (find-grep-options): Simplify.
18587
cc232200
GM
18588 * term/ns-win.el (ns-set-resource): Declare.
18589
28e77c46
GM
18590 * ses.el (row, col): Declare dynamic variables honestly.
18591
887a0b34
GM
18592 * textmodes/reftex-parse.el (index-tags): Declare.
18593
658d8eb8
CY
185942011-06-30 Chong Yidong <cyd@stupidchicken.com>
18595
18596 * cus-edit.el (customize-push-and-save): New function.
18597
18598 * files.el (hack-local-variables-confirm): Use it.
18599
1fa280a3
LM
18600 * custom.el (load-theme): New arg NO-CONFIRM.
18601 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
18602 (custom-enabled-themes): Doc fix.
18603
18604 * cus-theme.el (customize-create-theme)
18605 (custom-theme-merge-theme): Callers to load-theme changed.
18606
bb617717
LMI
186072011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
18608
d61bdd5d
LMI
18609 * thingatpt.el (thing-at-point-short-url-regexp): Require that
18610 short URLs have at least one dot in them (bug #7614).
18611
bb617717
LMI
18612 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
18613 nil, because using a pty is apparently too slow (bug #895).
18614
2f31f37a
LMI
186152011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
18616
18617 * mail/sendmail.el (sendmail-query-once): New function.
18618 (sendmail-query-once-function): New variable.
18619
3076b24e
GM
186202011-06-29 Glenn Morris <rgm@gnu.org>
18621
faf2a174
GM
18622 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
18623
3076b24e
GM
18624 * ses.el (top-level): Require cl when compiling.
18625 (ses-set-localvars): Fix error statement.
18626 Call it at compile time to silence a storm of warnings.
18627
5386012d
MR
186282011-06-29 Martin Rudalics <rudalics@gmx.at>
18629
18630 * window.el (normalize-live-buffer): Rename to
18631 window-normalize-buffer.
18632 (normalize-live-frame): Rename to window-normalize-frame.
18633 (normalize-any-window): Rename to window-normalize-any-window.
18634 (normalize-live-window): Rename to window-normalize-live-window.
18635 (make-window-atom): Rename to window-make-atom.
18636 (window-resize-reset): Rename to window--resize-reset.
18637 (window-resize-reset-1): Rename to window--resize-reset-1.
18638 (resize-mini-window): Rename to window--resize-mini-window.
18639 (resize-subwindows-skip-p): Rename to
18640 window--resize-subwindows-skip-p.
18641 (resize-subwindows-normal): Rename to
18642 window--resize-subwindows-normal.
18643 (resize-subwindows): Rename to window--resize-subwindows.
18644 (resize-other-windows): Rename to window--resize-siblings.
18645 (resize-this-window): Rename to window--resize-this-window.
18646 (resize-root-window): Rename to window--resize-root-window.
18647 (resize-root-window-vertically): Rename to
18648 window--resize-root-window-vertically.
18649 (normalize-buffer-to-display): Rename to
18650 window-normalize-buffer-to-display.
18651 (normalize-buffer-to-switch-to): Rename to
18652 window-normalize-buffer-to-switch-to.
18653 Correspondingly update all callers of the functions listed
18654 above.
18655 (display-buffer-alist, display-buffer-normalize-arguments)
18656 (display-buffer-normalize-options, display-buffer)
18657 (display-buffer-alist-set): Use "function" instead of
18658 "fun-with-args".
18659
1176868d
CY
186602011-06-28 Chong Yidong <cyd@stupidchicken.com>
18661
18662 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
18663 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
18664 debbugs.gnu.org. Mention acknowledgment email.
18665
20a7a65f
LMI
186662011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
18667
18668 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
18669 buffer multibyteness, since it shouldn't matter.
18670
5f45cca5
MR
186712011-06-28 Martin Rudalics <rudalics@gmx.at>
18672
18673 * window.el (display-buffer-in-side-window): Handle dedicated
18674 windows as in display-buffer-reuse-window.
18675 (display-buffer-normalize-alist): Use value of override
18676 specifier.
18677 (display-buffer-normalize-specifiers): Use value of
18678 other-window-means-other-frame specifier.
18679 (display-buffer-alist): Rewrite some texts in widgets.
18680 (display-buffer): Spread arguments when calling function
18681 specified by fun-with-args.
18682
ad85fe1f
DD
186832011-06-28 Deniz Dogan <deniz@dogan.se>
18684
1fa280a3
LM
18685 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
18686 Unnest `let'.
da68c4c8 18687
ad85fe1f
DD
18688 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
18689 selectors (Bug#5732).
ec49bd31 18690 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 18691
a08cc025
JA
186922011-06-27 Jari Aalto <jari.aalto@cante.net>
18693
18694 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
18695 (eshell-ls-date-format): New defcustom.
18696 (eshell-ls-file): Use it.
18697
e2b551c5
SM
186982011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
18699
18700 * help-fns.el (describe-variable): Fix message for terminal-local vars.
18701
8982b231
KY
187022011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
18703
18704 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
18705 (ange-ftp-make-tmp-name): New arg.
18706 (ange-ftp-file-local-copy): Use it.
18707
36c9fa27
J
187082011-06-27 Jambunathan K <kjambunathan@gmail.com>
18709
18710 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
18711 no-conversion (Bug#8870).
18712
d68443dc
MR
187132011-06-27 Martin Rudalics <rudalics@gmx.at>
18714
18715 * window.el (window-right, window-left, window-child)
18716 (window-child-count, window-last-child)
18717 (window-iso-combination-p, walk-window-tree-1)
18718 (window-atom-check-1, window-tree-1, delete-window)
18719 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
18720 new naming conventions - window-vchild, window-hchild,
18721 window-next and window-prev are now called window-top-child,
18722 window-left-child, window-next-sibling and window-prev-sibling
18723 respectively.
d615d6d2
MR
18724 (resize-window-reset): Rename to window-resize-reset.
18725 (resize-window-reset-1): Rename to window-resize-reset-1.
18726 (resize-window): Rename to window-resize.
18727 (window-min-height, window-min-width)
18728 (resize-mini-window, resize-this-window, resize-root-window)
18729 (resize-root-window-vertically, adjust-window-trailing-edge)
18730 (enlarge-window, shrink-window, maximize-window)
18731 (minimize-window, delete-window, quit-restore-window)
18732 (split-window, balance-windows, balance-windows-area-adjust)
18733 (balance-windows-area, window-state-put-2)
18734 (display-buffer-even-window-sizes, display-buffer-set-height)
18735 (display-buffer-set-width, set-window-text-height)
18736 (fit-window-to-buffer): Rename all "resize-window" prefixed
18737 calls to use the "window-resize" prefix convention.
18738 (display-buffer-alist): Fix symbol for label specifier.
18739 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
18740 corresponding specifier.
18741 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 18742
b6458526
VB
187432011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
18744
18745 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
18746 convention.
18747 (ses-call-printer): Does not pass an empty string to formatter when the
18748 cell is empty to keep from barking printer Calc math-format-value.
18749
d31fd9ac
RS
187502011-06-27 Richard Stallman <rms@gnu.org>
18751
43d5bf84
RS
18752 * battery.el (battery-mode-line-limit): New variable.
18753 (battery-update): Handle it.
18754
d31fd9ac
RS
18755 * mail/rmailmm.el (rmail-mime-process-multipart):
18756 Handle truncated messages.
18757
819a6054
GM
187582011-06-27 Glenn Morris <rgm@gnu.org>
18759
18760 * progmodes/flymake.el (flymake-err-line-patterns):
18761 Allow for column numbers in the ant/javac pattern. (Bug#8866)
18762
cedc73f2
VB
187632011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
18764
819a6054 18765 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
18766 (ses--clean-!, ses--clean-_): New functions.
18767 (ses-range): Add configurability of readout order, and conversion
18768 to Calc vector.
18769
5e5d49b6
VB
18770 * ses.el (ses-repair-cell-reference-all): New function.
18771 (ses-cell-symbol): Set macro as safe, so that it can be used in
18772 formulas.
18773
56e6cc31 18774 * ses.el: Update cycle detection algorithm.
90ca8b49 18775 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 18776 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
18777 (ses-set-localvars): New function.
18778 (ses-make-cell): Add property-list as a cell element.
18779 (ses-cell-property-get-fun, ses-cell-property-get)
18780 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
18781 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
18782 New functions.
90ca8b49
VB
18783 (ses-cell-property-set, ses-cell-property-pop)
18784 (ses-cell-property-get-handle): New macro.
18785 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
18786 New aliases, used for code readability.
18787 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
18788 cycle detection.
18789 (ses-self-reference-early-detection): New defcustom.
fac916bf 18790 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
18791 (ses-mode): Use ses-set-localvars.
18792 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
18793 before lauching the update processing.
18794 (ses-initialize-Dijkstra-attempt): New function.
18795 (ses-recalculate-cell): Update for cycle detection based on
18796 Dijkstra algorithm.
18797
2bb63e81
VB
18798 * ses.el: Fix commenting and indenting convention.
18799
c9d29fb8
SM
188002011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
18801
18802 * bs.el (bs-cycle-next): Complete last change.
18803
d8e4b68b
JB
188042011-06-27 Drew Adams <drew.adams@oracle.com>
18805
18806 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
18807
40098786
LMI
188082011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
18809
c9d29fb8
SM
18810 * net/network-stream.el (network-stream-open-starttls):
18811 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
18812 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
18813
40098786
LMI
18814 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
18815 to binary to possibly avoid line encoding issues on Windows (among
18816 other things).
18817
468d09d4
LMI
188182011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
18819
18820 * net/network-stream.el (open-network-stream): Return an :error
18821 saying what the problem was, if possible.
18822
18823 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
18824 server.
18825
18826 * net/network-stream.el (network-stream-open-starttls): If we
18827 wanted to use STARTTLS, and the server offered it, but we weren't
18828 able to because we had no STARTTLS support, then close the connection.
18829 (open-network-stream): Return an :error element, if present.
18830
16f07dd7
CY
188312011-06-26 Chong Yidong <cyd@stupidchicken.com>
18832
88821ca0
CY
18833 * hl-line.el (hl-line-sticky-flag): Doc fix.
18834 (global-hl-line-sticky-flag): New option (Bug#8323).
18835 (global-hl-line-highlight): Obey it.
18836
16f07dd7
CY
18837 * vc/vc.el (vc-revert-show-diff): Default to t.
18838
6b5ccddf
KM
188392011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
18840
c9d29fb8
SM
18841 * allout-widgets.el (allout-widgets-post-command-business):
18842 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
18843 undecorated when an isearch is continued past, and isearch
18844 automatically collapses them. This leads to "widget leaks", where
18845 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
18846 hidden widgets can slow down cursor travel, substantially.
18847 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
18848 so we're doing without this nicety.
18849
18850 (allout-widgets-tally-string): Don't try to do a hash-table-count
18851 of allout-widgets-tally when it's nil. This eliminates spurious "Error
18852 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
18853 *Messages* when allout-widgets-maintain-tally is t.
18854
355f2e07
MR
188552011-06-26 Martin Rudalics <rudalics@gmx.at>
18856
18857 * window.el (display-buffer-normalize-argument): Rename to
18858 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
18859 LABEL argument. Respect special-display-function when popping up
18860 a new frame. Fix code searching for a window showing the buffer
18861 on another frame.
c9d29fb8
SM
18862 (display-buffer-normalize-specifiers):
18863 Call display-buffer-normalize-arguments.
355f2e07
MR
18864 (display-buffer-in-window): Don't undedicate the window if its
18865 buffer remains the same.
18866 Reported by Drew Adams <drew.adams@oracle.com>.
18867 (display-buffer-alist): Add choice for same-window macro
18868 specfier.
18869 (display-buffer): Mention special meaning of LABEL argument in
18870 doc-string. Fix quoting. Don't pop up a new frame even as
18871 fallback.
18872
7ca8fc42
JB
188732011-06-26 Juanma Barranquero <lekktu@gmail.com>
18874
18875 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
18876 avoid deleting the current window in some cases (bug#8911).
18877
bc312254
AS
188782011-06-26 Andreas Schwab <schwab@linux-m68k.org>
18879
18880 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
18881 (Bug#8934)
18882
2db18f3f
LMI
188832011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
18884
c9d29fb8
SM
18885 * net/network-stream.el (network-stream-open-starttls):
18886 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
18887 (network-stream-open-tls): Ditto.
18888
6302e0d3
LL
188892011-06-26 Leo Liu <sdl.web@gmail.com>
18890
18891 * register.el (registerv): New struct.
18892 (registerv-make): New function.
c9d29fb8
SM
18893 (jump-to-register, describe-register-1, insert-register):
18894 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
18895 struct. (Bug#8415)
18896
5fdd4046
CY
188972011-06-26 Chong Yidong <cyd@stupidchicken.com>
18898
2afef60a
CY
18899 * vc/vc.el (vc-revert-show-diff): New defcustom.
18900 (vc-diff-internal): New arg specifying diff buffer.
18901 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
18902 reuse an existing *vc-diff* buffer (Bug#8927).
18903
5fdd4046
CY
18904 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
18905
e93db24a
GM
189062011-06-26 Glenn Morris <rgm@gnu.org>
18907
18908 * progmodes/f90.el (f90-critical-indent): New option.
18909 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
18910 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
18911 (f90-mode): Doc fix.
18912 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
18913 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
18914 (f90-beginning-of-block, f90-next-block, f90-indent-region)
18915 (f90-match-end): Handle block, critical.
18916
eefff499
GM
189172011-06-25 Glenn Morris <rgm@gnu.org>
18918
f6ba4cc9
GM
18919 * calendar/diary-lib.el (diary-included-files): Doc fix.
18920 (diary-include-files): New function, extracted from
18921 diary-include-other-diary-files and diary-mark-included-diary-files.
18922 (diary-include-other-diary-files, diary-mark-included-diary-files):
18923 Just call diary-include-files.
18924 (diary-mark-entries): Reset diary-included-files on first call.
18925
16712304
GM
18926 * calendar/diary-lib.el (diary-mark-entries)
18927 (diary-mark-included-diary-files):
18928 Visit included diary-files in temp buffers.
18929
5d8e0d43
GM
18930 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
18931 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
18932 (f90-start-block-re, f90-imenu-generic-expression)
18933 (f90-looking-at-program-block-start, f90-no-block-limit):
18934 Add support for submodules.
18935
ccf7a5d5
GM
18936 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
18937 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 18938
11fdef7d 189392011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
18940
18941 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
18942 buffer-file-type before setting its value, to avoid disastrous
eefff499 18943 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 18944
74f53697
JB
189452011-06-25 Juanma Barranquero <lekktu@gmail.com>
18946
18947 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
18948
18949 * ses.el (ses-unload-function):
18950 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
18951
18952 * proced.el (proced-unload-function):
18953 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
18954
18a4ce5e
AR
189552011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
18956
18957 * server.el (server-create-window-system-frame): Add parameters arg.
18958 (server-process-filter): Doc fix. Handle frame-parameters.
18959
519d22cc
JB
189602011-06-25 Juanma Barranquero <lekktu@gmail.com>
18961
18962 Fix bug#8730, bug#8781.
18963
18964 * loadhist.el (unload--set-major-mode): New function.
18965 (unload-feature): Use it.
18966
18967 * progmodes/python.el (python-after-info-look): Add autoload cookie.
18968 (python-unload-function): New function.
18969
c206f5b0
SM
189702011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
18971
18972 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
18973
f9ad64f3
GS
189742011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
18975
18976 * net/browse-url.el (browse-url-firefox-program): Add icecat to
18977 the candidates list.
18978
7d0da90e
JB
189792011-06-24 Juanma Barranquero <lekktu@gmail.com>
18980
18981 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
18982
14b4e83d
RS
189832011-06-23 Richard Stallman <rms@gnu.org>
18984
18985 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
18986 (rmail-variables): Set next-error-move-function.
18987 (rmail-what-message): Take argument POS.
18988 (rmail-next-error-move): New function.
18989
273d2baf
SM
189902011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
18991
18992 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
18993 messages for adjacent non-terminals.
18994
56c2cc9a
RS
189952011-06-23 Richard Stallman <rms@gnu.org>
18996
18997 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 18998 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
18999 (rmail-start-mail): Don't specify use of rmail-mail-return;
19000 that's done by mail-bury now.
19001 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 19002
d59eb518
MA
190032011-06-23 Michael Albinus <michael.albinus@gmx.de>
19004
19005 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
19006 SIZE is a number.
19007
02cfc6d6
MR
190082011-06-23 Martin Rudalics <rudalics@gmx.at>
19009
19010 * window.el (get-lru-window, get-mru-window)
19011 (get-largest-window): Never return a minibuffer window.
19012 (display-buffer-pop-up-window): Fix a bug that could lead to
19013 reusing the minibuffer window.
19014 (display-buffer): Pass original specifier argument to
19015 display-buffer-function instead of the normalized one.
19016 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
19017
4e323265
LL
190182011-06-22 Leo Liu <sdl.web@gmail.com>
19019
19020 * minibuffer.el (completing-read-function)
1f9f395d 19021 (completing-read-default): Move from minibuf.c.
4e323265 19022
7a70468f
RS
190232011-06-22 Richard Stallman <rms@gnu.org>
19024
50718fc2
RS
19025 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
19026 to Rmail even if not started by a special Rmail command.
19027
7a70468f
RS
19028 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
19029 Copy the buffer currently showing just one message.
19030
297dde5a
RW
190312011-06-22 Roland Winkler <winkler@gnu.org>
19032
19033 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
19034 (bibtex-clean-entry): First delete the old key so that a
19035 customized algorithm for generating the new key does not get
19036 confused by the old key.
19037 (bibtex-url): Obey regexp of first step.
19038 (bibtex-search-entries): Do not use add-to-list with local
19039 list-var.
19040
97bb1093
LMI
190412011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
19042
19043 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
19044 stored a user name, then query for the password first, instead of
19045 waiting for SMTP to give an error message and the trying again.
19046
1c0f1a19
JD
190472011-06-22 Lawrence Mitchell <wence@gmx.li>
19048
19049 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
19050 BUFFER in call-process.
19051
396f7c9d
LMI
190522011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
19053
19054 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
19055 QUIT twice.
ddb7ffee
LMI
19056 (smtpmail-try-auth-methods): Require user name and password from
19057 auth-source.
396f7c9d 19058
8998d1b3
MR
190592011-06-22 Martin Rudalics <rudalics@gmx.at>
19060
19061 * window.el (display-buffer-default-specifiers)
19062 (display-buffer-alist): Remove entries for pop-up-frame-alist.
19063 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 19064 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
19065
19066 * frame.el (pop-up-frame-alist, pop-up-frame-function)
19067 (special-display-frame-alist, special-display-popup-frame):
19068 Remove duplicate declarations. These are now in window.el.
19069
4ea31e07
LMI
190702011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
19071
c9d29fb8
SM
19072 * mail/smtpmail.el (smtpmail-via-smtp):
19073 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
19074 server supports it. SMTP servers that support STARTTLS commonly
19075 require it.
19076
19077 * net/network-stream.el (network-stream-open-starttls): Support
19078 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 19079 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 19080
95f41d9a
LMI
19081 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
19082 upgrades with `open-network-stream', and rely solely on
19083 auth-source for all credentials. Big changes throughout the file,
19084 but in particular:
c9d29fb8
SM
19085 (smtpmail-auth-credentials): Remove.
19086 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
19087 (smtpmail-via-smtp): Check for servers saying they want AUTH after
19088 MAIL FROM, too.
95f41d9a 19089
c9d29fb8
SM
19090 * net/network-stream.el (network-stream-open-starttls):
19091 Provide support for client certificates both for external and built-in
4ea31e07
LMI
19092 STARTTLS.
19093 (auth-source): Require.
19094 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
19095 (network-stream-certificate): Change cert-cert to cert and
19096 cert-key to key.
4ea31e07 19097
065ec2c7
MA
190982011-06-21 Michael Albinus <michael.albinus@gmx.de>
19099
19100 * net/tramp-cache.el (top): Don't load the persistency file when
19101 "emacs -Q" has been called.
19102
cd93b359
DR
191032011-06-21 Tim Harper <timcharper@gmail.com>
19104
d8e4b68b
JB
19105 * term/ns-win.el (ns-initialize-window-system):
19106 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
19107 resource to NO as it is not yet supported by the NS port.
19108
ae9c0411
JB
191092011-06-21 Juanma Barranquero <lekktu@gmail.com>
19110
19111 * misc.el (list-dynamic-libraries--refresh): Compute header here...
19112 (list-dynamic-libraries): ...not here.
19113
7f3f739f
LL
191142011-06-21 Leo Liu <sdl.web@gmail.com>
19115
19116 * subr.el (sha1): Implement sha1 using secure-hash.
19117
327c8fb1
MR
191182011-06-21 Martin Rudalics <rudalics@gmx.at>
19119
19120 * window.el (display-buffer-alist): In default value do not
19121 enforce searching a window on any but the selected frame.
19122 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
19123 (display-buffer-select-window): Remove function.
19124 (display-buffer-in-window): When a window on another frame gets
19125 reused, do not select it any more but just raise its frame if
19126 necessary (Bug#8851) and (Bug#8856).
19127 (display-buffer-normalize-options): Handle pop-up-frames related
19128 options more faithfully.
19129 (pop-to-buffer): Don't rely on `display-buffer' selecting the
19130 window if it is on another frame.
c9d29fb8
SM
19131 (display-buffer-alist, display-buffer-default-specifiers):
19132 Don't make new frame unsplittable by default.
9e9de014
MR
19133 (display-buffer-normalize-argument): Fix doc-string typo and use
19134 'same-frame-other-window instead of 'other-window when associating
19135 with display-buffer-macro-specifiers.
327c8fb1 19136
7cf3f556
VB
191372011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
19138
19139 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
19140 New functions.
19141 (5x5-mode-map, 5x5-mode-menu): Bind them.
19142 (5x5-draw-grid): Tweak the solver's rendering.
19143
60a406cf
SM
191442011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
19145
19146 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
19147 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
19148
d8e4b68b 191492011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
19150
19151 * menu-bar.el: Use function variable instead of switch-to-buffer.
19152 (menu-bar-select-buffer-function): New variable.
60a406cf 19153 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 19154
478d6f95
SM
191552011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
19156
19157 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
19158 variable's status.
19159
ca530739
JD
191602011-06-20 Jan Djärv <jan.h.d@swipnet.se>
19161
19162 * x-dnd.el (x-dnd-version-from-flags)
19163 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
19164 and long as number (Bug#8899).
19165 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
19166
bcd70d97
SM
191672011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
19168
60a406cf 19169 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
19170 (completion-try-completion, completion-all-completions): Compute the
19171 metadata argument if it's missing; make it optional (bug#8795).
19172
60a406cf 19173 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
19174 (widget-complete): Use new :completion-function property.
19175 (widget-completions-at-point): New function.
19176 (default): Use :completion-function instead of :complete.
60a406cf
SM
19177 (widget-default-completions): Rename from widget-default-complete;
19178 Rewrite.
bcd70d97
SM
19179 (widget-string-complete, widget-file-complete, widget-color-complete):
19180 Remove functions.
19181 (file, symbol, function, variable, coding-system, color):
19182 * international/mule-cmds.el (default-input-method, charset)
19183 (language-info-custom-alist):
19184 * cus-edit.el (face): Use new property :completions.
19185
19186 * progmodes/pascal.el (pascal-completions-at-point): New function.
19187 (pascal-mode): Use it.
19188 (pascal-mode-map): Use completion-at-point.
19189 (pascal-toggle-completions): Make obsolete.
19190 (pascal-complete-word, pascal-show-completions):
19191 * progmodes/octave-mod.el (octave-complete-symbol):
19192 Redefine as obsolete alias.
19193 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
19194 Signal absence of completion info for old Octave,
19195 (inferior-octave-complete): Redefine as obsolete alias.
19196 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
19197 (meta-completions-at-point): Rename from meta-complete-symbol and
19198 adapt it for use on completion-at-point-functions.
19199 (meta-common-mode): Use it.
19200 (meta-looking-at-backward, meta-match-buffer): Remove.
19201 (meta-complete-symbol): Redefine as obsolete alias.
19202 (meta-common-mode-map): Use completion-at-point.
19203 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
19204 (makefile-mode-map): Use completion-at-point.
19205 (makefile-completions-at-point): Rename from makefile-complete and
19206 adapt it for use on completion-at-point-functions.
19207 (makefile-mode): Use it.
19208 (makefile-complete): Redefine as obsolete alias.
19209
aebf69c8
DD
192102011-06-20 Deniz Dogan <deniz@dogan.se>
19211
19212 * net/rcirc.el: Delete trailing whitespaces once and for all.
19213
bfbbb27d
DC
192142011-06-20 Daniel Colascione <dan.colascione@gmail.com>
19215
19216 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
19217
d264a46b
CY
192182011-06-19 Chong Yidong <cyd@stupidchicken.com>
19219
4ca009e5
CY
19220 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
19221
d264a46b
CY
19222 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
19223
fbf5b3ce
MR
192242011-06-19 Martin Rudalics <rudalics@gmx.at>
19225
19226 * window.el (display-buffer-other-window-means-other-frame):
19227 Call display-buffer-normalize-alist.
19228 (display-buffer-normalize-specifiers-1): Rename to
19229 display-buffer-normalize-argument. New argument other-frame.
19230 Rewrite.
19231 (display-buffer-normalize-specifiers-2): Rename to
19232 display-buffer-normalize-options.
19233 (display-buffer-normalize-alist-1): New function.
19234 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
19235 display-buffer-normalize-alist.
19236 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
19237 (display-buffer-normalize-options-inhibit): New variable.
19238 (display-buffer-normalize-specifiers): Rewrite calling
19239 display-buffer-normalize-alist,
19240 display-buffer-normalize-argument, and
19241 display-buffer-normalize-options. Don't call the latter if
19242 display-buffer-normalize-options-inhibit is non-nil.
19243 (frame-auto-delete): New option.
19244 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
19245 (window-list-no-nils, window-state-ignored-parameters)
19246 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
19247 (window-state-put-1, window-state-put-2, window-state-put):
19248 New functions.
9a028c23
MR
19249 (display-buffer-normalize-options): Move special-display-p group
19250 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 19251
6d10d800
CY
192522011-06-18 Chong Yidong <cyd@stupidchicken.com>
19253
6420d28b
CY
19254 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
19255 groups (Bug#8776).
19256 (rx-submatch-n): New function.
19257 (rx): Document it.
19258
ddb8b596
CY
19259 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
19260 (Bug#8768).
19261
19262 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
19263
77080289
CY
19264 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
19265
61dfb316
CY
19266 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
19267 anytime existing face settings are present (Bug#8889).
19268
6d10d800
CY
19269 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
19270 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
19271 Remove unused argument.
19272
be3fb2b8
MR
192732011-06-18 Martin Rudalics <rudalics@gmx.at>
19274
bcd70d97
SM
19275 * window.el (display-buffer-default-specifiers):
19276 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
19277 pop-up-window-min-width, and another reuse-window specifier
19278 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
19279 (display-buffer-normalize-specifiers-2):
19280 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
19281 pop-up-windows is unset. Add a reuse-window specifier for the
19282 case popping up a new window fails.
19283 (special-display-popup-frame): Remove double quoting.
28dec25a 19284 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 19285
1c6d8c76
SM
192862011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
19287
19288 * shell.el (shell-completion-vars): Set pcomplete-termination-string
19289 according to comint-completion-addsuffix.
19290
19291 * pcomplete.el: Convert to lexical binding and fix bug#8819.
19292 (pcomplete-suffix-list): Mark as obsolete.
19293 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
19294 pcomplete-seen in the closure.
19295 (pcomplete-comint-setup): Setup completion-at-point as well.
19296 (pcomplete--entries): New function.
19297 (pcomplete--env-regexp): New var.
19298 (pcomplete-entries): Rewrite to work with partial-completion and
19299 without relying on pcomplete-suffix-list.
19300 (pcomplete-pare-list): Remove, unused.
19301
25aef8b8
MR
193022011-06-17 Martin Rudalics <rudalics@gmx.at>
19303
19304 * window.el (display-buffer-alist): Set pop-up-window-min-height
19305 and pop-up-window-min-width in default value. Reported by
19306 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
19307 other-window-means-other-frame.
19308 (display-buffer-macro-specifiers): Comment out entry for
19309 other-window specifier.
19310 (display-buffer-other-window-means-other-frame): New function.
19311 (display-buffer-normalize-specifiers-1): New arguments
19312 buffer-name and label. Treat other-window case specially.
19313 (display-buffer-normalize-specifiers-2): Treat other-window case
19314 specially.
19315 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
19316 (display-buffer-normalize-specifiers):
19317 Call display-buffer-normalize-specifiers-3.
25aef8b8 19318
dbad4f69
MR
193192011-06-17 Martin Rudalics <rudalics@gmx.at>
19320
19321 * window.el (same-window-p): Fix two typos introduced when
19322 adding with-no-warnings.
d1067961
MR
19323 (display-buffer-normalize-specifiers-1): Don't check
19324 pop-up-frames for 'unset initialization.
19325 (display-buffer-normalize-specifiers-2): Major rewrite using
19326 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
19327 (pop-up-frames, display-buffer-reuse-frames)
19328 (display-buffer-mark-dedicated): Don't initialize to 'unset.
19329 Suggested by David Engster <deng@randomsample.de>.
19330 (even-window-heights): Initialize to 'unset.
19331 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
19332 (display-buffer-macro-specifiers): Don't pop up a new frame in the
19333 other window case.
dbad4f69 19334
9b9c9e3a
MR
193352011-06-16 Martin Rudalics <rudalics@gmx.at>
19336
bcd70d97
SM
19337 * window.el (display-buffer-normalize-specifiers-1):
19338 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 19339 second argument of display-buffer (Bug#8865).
981d5c09
MR
19340 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
19341 (switch-to-buffer-other-window-same-frame)
19342 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
19343 Adams (Bug#8875).
9c2755e9
MR
19344 (display-buffer): Don't check noninteractive when calling
19345 display-buffer-pop-up-frame.
19346 (display-buffer-pop-up-frame): Never pop up a frame in
19347 noninteractive mode (Bug#8857).
67222e1d
MR
19348 (enlarge-window, shrink-window): Don't report an error when the
19349 window can't be resized as requested (Bug#8862).
9b9c9e3a 19350
2b75be67
SM
193512011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
19352
9ffdd3ba
SM
19353 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
19354
cb581a67
SM
19355 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
19356
2b75be67
SM
19357 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
19358
8c0e3589
AM
193592011-06-15 Alan Mackenzie <acm@muc.de>
19360
cb581a67
SM
19361 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
19362 for declarators, disable knr checking to speed up for normal files.
19363 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 19364
b96e6cde
LMI
193652011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
19366
4bba86e6
LMI
19367 * net/network-stream.el (open-network-stream): Add the keyword
19368 :always-query-capabilities for the case where you want to force a
19369 `plain' network connection, but the protocol still requires the
19370 capabilitiy command (i.e., SMTP and EHLO).
19371
2b75be67 19372 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
19373 consistency with other `-live-p' functions.
19374
efdcdbf8
SM
193752011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
19376
19377 * window.el (same-window-buffer-names, same-window-regexps)
19378 (special-display-frame-alist, special-display-popup-frame)
19379 (special-display-function, special-display-buffer-names)
19380 (special-display-regexps, pop-up-frame-alist)
19381 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
19382 (pop-up-windows, split-window-preferred-function)
19383 (split-height-threshold, split-width-threshold, even-window-heights)
19384 (display-buffer-mark-dedicated): Don't encourage the use of
19385 display-buffer-alist from Elisp code.
19386
c5cde042
DN
193872011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
19388
19389 * progmodes/python.el (python-mode): Derive from prog-mode.
19390 * progmodes/ps-mode.el (ps-mode):
19391 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 19392 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
19393 * progmodes/ld-script.el (ld-script-mode): Likewise.
19394
baa1c9ab
MR
193952011-06-15 Martin Rudalics <rudalics@gmx.at>
19396
19397 * window.el (display-buffer-alist): Trim default value to avoid
19398 popping up a new frame (Bug#8857) or reusing an arbitrary window
19399 on another frame.
19400 (display-buffer): Do not fall back on popping up a new frame in
19401 batch mode (Bug#8857).
19402
c5dd5a51
CY
194032011-06-14 Chong Yidong <cyd@stupidchicken.com>
19404
19405 * cus-theme.el (describe-theme-1): Use custom-theme-p.
19406 (custom-theme-summary): New function.
19407 (customize-themes): Use it.
19408
d647b7c4
GM
194092011-06-13 Glenn Morris <rgm@gnu.org>
19410
19411 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
19412
9481c002
MR
194132011-06-13 Martin Rudalics <rudalics@gmx.at>
19414
357f93d2
MR
19415 * help.el (help-window): Remove variable.
19416 (help-window-point-marker, temp-buffer-max-height)
19417 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
19418 (help-print-return-message): Don't set help-window.
19419 (resize-temp-buffer-window): Rewrite cod eand doc-string.
19420 (help-window-setup-finish): Remove.
19421 (help-window-display-message, help-window-setup)
19422 (with-help-window): Major rewrite based on new
19423 display-buffer-window variable.
19424
19425 * help-mode.el (help-mode-finish): Remove help-window related
19426 code.
19427
19428 * view.el (view-exits-all-viewing-windows): Remove reference to
19429 view-return-to-alist in doc-string.
19430 (view-return-to-alist): Make obsolete.
19431 (view-buffer): Call pop-to-buffer-same-window and remove
19432 undo-window code.
19433 (view-buffer-other-window): Call pop-to-buffer-other-window and
19434 simplify code. Ignore second argument.
19435 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
19436 simplify code. Ignore second argument.
19437 (view-return-to-alist-update): Make obsolete.
19438 (view-mode-enter): Rename second argument to QUIT-RESTORE.
19439 Rewrite using quit-restore window parameters.
2b75be67
SM
19440 (view-mode-exit): Rename second argument to EXIT-ONLY.
19441 Rewrite using quit-restore-window.
357f93d2
MR
19442 (View-exit, View-exit-and-edit, View-leave, View-quit)
19443 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
19444 appropriate arguments.
19445 (view-end-message): Use quit-restore window parameter.
19446
9481c002
MR
19447 * window.el (display-buffer-function): Rewrite doc-string.
19448 (display-buffer-window, display-buffer-alist): New variables.
19449 (display-buffer-split-specifiers)
19450 (display-buffer-side-specifiers)
19451 (display-buffer-macro-specifiers): New constants.
19452 (display-buffer-even-window-sizes, display-buffer-set-height)
19453 (display-buffer-set-width, display-buffer-select-window)
19454 (display-buffer-in-window, display-buffer-reuse-window)
19455 (display-buffer-split-window-1, display-buffer-split-window)
19456 (display-buffer-split-atom-window, display-buffer-pop-up-window)
19457 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
19458 (display-buffer-in-side-window, normalize-buffer-to-display)
19459 (display-buffer-normalize-specifiers-1)
19460 (display-buffer-normalize-specifiers-2)
2b75be67
SM
19461 (display-buffer-normalize-specifiers, display-buffer-frame):
19462 New functions.
9481c002
MR
19463 (display-buffer): Major rewrite.
19464 (display-buffer-other-window, display-buffer-other-frame)
19465 (pop-to-buffer, switch-to-buffer-other-window)
19466 (switch-to-buffer-other-frame): Rewrite.
19467 (display-buffer-same-window, display-buffer-same-frame)
19468 (display-buffer-same-frame-other-window)
19469 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
19470 (pop-to-buffer-other-window)
19471 (pop-to-buffer-same-frame-other-window)
19472 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
19473 (switch-to-buffer-other-window-same-frame): New functions.
19474 (same-window-p, special-display-p): Rewrite disabling warnings.
19475 Make obsolete.
19476 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
19477 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
19478 Make obsolete
19479 (same-window-buffer-names, same-window-regexps)
19480 (special-display-frame-alist, special-display-popup-frame)
19481 (special-display-function, special-display-buffer-names)
19482 (special-display-regexps, pop-up-frame-alist)
19483 (pop-up-frame-function, split-window-preferred-function)
19484 (split-height-threshold, split-width-threshold)
19485 (even-window-heights): Make obsolete.
19486
9db51aca
GM
194872011-06-12 Glenn Morris <rgm@gnu.org>
19488
19489 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 19490 Misc simplifications.
9db51aca 19491
39cffb44
MR
194922011-06-12 Martin Rudalics <rudalics@gmx.at>
19493
19494 * window.el (window-safely-shrinkable-p): Restore function which
19495 was inadvertently removed in change from 2011-06-11. Declare as
19496 obsolete.
19497
2b75be67
SM
19498 * calendar/calendar.el (calendar-generate-window):
19499 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
19500 window-safely-shrinkable-p.
19501
a8955be7
GM
195022011-06-12 Glenn Morris <rgm@gnu.org>
19503
19504 * progmodes/fortran.el (fortran-mode-syntax-table):
19505 * progmodes/f90.el (f90-mode-syntax-table):
19506 Set % to punctuation. (Bug#8820)
19507 (f90-find-tag-default): Remove, no longer needed.
19508
f0d4059d
DC
195092011-06-12 Daniel Colascione <dan.colascione@gmail.com>
19510
19511 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
19512
1100a63c
CY
195132011-06-11 Chong Yidong <cyd@stupidchicken.com>
19514
19515 * image.el (image-animated-p): Return animation delay in seconds.
19516 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
19517 (image-animate-timeout): Remove DELAY argument. Don't assume
19518 every subimage has the same delay; get it from image-animated-p.
19519 (image-animate): Caller changed.
19520
def722bf
MA
195212011-06-11 Michael Albinus <michael.albinus@gmx.de>
19522
19523 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
19524 to ignored backtrace functions.
19525
0a2bb1a9
GM
195262011-06-11 Glenn Morris <rgm@gnu.org>
19527
19528 * calendar/appt.el (appt-disp-window-function): Doc fix.
19529 (appt-check): Handle overlapping appointments. (Bug#8337)
19530
6198ccd0
MR
195312011-06-11 Martin Rudalics <rudalics@gmx.at>
19532
19533 * window.el (window-tree-1, window-tree): New functions, moving
19534 the latter to window.el.
19535 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
19536 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
19537 (bw-refresh-edges): Remove.
19538 (balance-windows-1, balance-windows-2): New functions.
19539 (balance-windows): Rewrite in terms of window tree functions,
19540 balance-windows-1 and balance-windows-2.
19541 (bw-adjust-window): Remove.
19542 (balance-windows-area-adjust): New function with functionality of
19543 bw-adjust-window but using resize-window.
2b75be67
SM
19544 (set-window-text-height): Rewrite doc-string.
19545 Use normalize-live-window and resize-window.
19546 (enlarge-window-horizontally, shrink-window-horizontally):
19547 Rename argument to DELTA.
6198ccd0
MR
19548 (window-buffer-height): New function.
19549 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
19550 Rewrite using new window resize routines.
2b75be67
SM
19551 (kill-buffer-and-window, mouse-autoselect-window-select):
19552 Use ignore-errors instead of condition-case.
6198ccd0
MR
19553 (quit-window): Call delete-frame instead of delete-windows-on
19554 for the only buffer on frame.
19555
9397e56f
MR
195562011-06-10 Martin Rudalics <rudalics@gmx.at>
19557
19558 * loadup.el (top-level): Load window before files for the sake
19559 of replace-buffer-in-windows.
19560
19561 * files.el (read-buffer-to-switch)
19562 (switch-to-buffer-other-window)
2b75be67
SM
19563 (switch-to-buffer-other-frame, display-buffer-other-frame):
19564 Move to window.el.
9397e56f
MR
19565
19566 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
19567 (previous-buffer): Move to window.el.
19568
19569 * bindings.el (unbury-buffer): Move to window.el.
19570
19571 * window.el (delete-other-windows-vertically): Move after
19572 definition of delete-other-windows.
19573 (other-window, delete-windows-on, replace-buffer-in-windows):
19574 Move here from window.c.
19575 (record-window-buffer, unrecord-window-buffer)
19576 (set-window-buffer-start-and-point, switch-to-prev-buffer)
19577 (switch-to-next-buffer): New functions.
19578 (get-next-valid-buffer, last-buffer, next-buffer): Move here
19579 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
19580 (previous-buffer): Move here from simple.el.
19581 Call switch-to-prev-buffer.
9397e56f
MR
19582 (bury-buffer): Move here from buffer.c. Switch to previous
19583 buffer when window cannot be deleted.
19584 (unbury-buffer): Move here from bindings.el.
19585 (ctl-x-map): Move binding for other-window from window.c to
19586 here.
19587 (read-buffer-to-switch, switch-to-buffer-other-window)
19588 (switch-to-buffer-other-frame): Move here from files.el.
19589 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
19590 (switch-to-buffer): Move here from buffer.c.
19591 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 19592
562dd5e9
MR
195932011-06-10 Martin Rudalics <rudalics@gmx.at>
19594
19595 * window.el (window-min-height, window-min-width): Move here
19596 from window.c. Add defcustoms and rewrite doc-strings.
19597 (resize-mini-window, resize-window): New functions.
19598 (adjust-window-trailing-edge, enlarge-window, shrink-window):
19599 Move here from window.c.
19600 (maximize-window, minimize-window): New functions.
19601 (delete-window, delete-other-windows, split-window): Move here
19602 from window.c.
19603 (window-split-min-size): New function.
19604 (split-window-keep-point): Mention split-window-above-each-other
19605 instead of split-window-vertically.
2b75be67 19606 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
19607 Rename split-window-vertically to split-window-above-each-other
19608 and provide defalias for old definition.
19609 (split-window-side-by-side, split-window-horizontally):
19610 Rename split-window-horizontally to split-window-side-by-side
19611 and provide defalias for the old definition.
562dd5e9
MR
19612 (ctl-x-map): Move bindings for delete-window,
19613 delete-other-windows and enlarge-window here from window.c.
19614 Replace bindings for split-window-vertically and
19615 split-window-horizontally by bindings for
19616 split-window-above-each-other and split-window-side-by-side.
19617
19618 * cus-start.el (all): Remove entries for window-min-height and
19619 window-min-width. Add entries for window-splits and
19620 window-nest.
19621
f0da764a
GM
196222011-06-09 Glenn Morris <rgm@gnu.org>
19623
80675c21
GM
19624 * calendar/appt.el (appt-mode-line): New function.
19625 (appt-check, appt-disp-window): Use it.
19626
f0da764a
GM
19627 * files.el (hack-one-local-variable-eval-safep):
19628 Allow minor-modes with explicit +/-1 arguments.
19629
59f623b7
TZ
196302011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
19631
19632 * term/xterm.el (xterm): Add defgroup.
19633 (xterm-extra-capabilities): Add defcustom to supply known xterm
19634 capabilities, skip querying them, or query them (default).
19635 (terminal-init-xterm): Use it.
19636 (terminal-init-xterm-modify-other-keys): New function to set up
19637 modifyOtherKeys support to simplify `terminal-init-xterm'.
19638
9aab8e0d
MR
196392011-06-09 Martin Rudalics <rudalics@gmx.at>
19640
19641 * window.el (resize-window-reset, resize-window-reset-1)
19642 (resize-subwindows-skip-p, resize-subwindows-normal)
19643 (resize-subwindows, resize-other-windows, resize-this-window)
19644 (resize-root-window, resize-root-window-vertically)
19645 (window-deletable-p, window-or-subwindow-p)
19646 (frame-root-window-p): New functions.
19647
e8b08aee
GM
196482011-06-09 Glenn Morris <rgm@gnu.org>
19649
19650 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
19651 (ange-ftp-get-files): Use it.
19652
254c37a5
AK
196532011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
19654
19655 * mail/sendmail.el (mail-recover-1, mail-recover):
19656 * files.el (recover-file, recover-session):
19657 Handle dired-listing-switches not being just a single short option.
19658
35d7dbd3
GM
196592011-06-09 Glenn Morris <rgm@gnu.org>
19660
19661 * calendar/appt.el (appt-display-message, appt-disp-window):
19662 Handle lists of appointments.
19663
387522b2
MR
196642011-06-08 Martin Rudalics <rudalics@gmx.at>
19665
2b75be67
SM
19666 * window.el (one-window-p): Move down in code.
19667 Rewrite doc-string.
19668 (window-current-scroll-bars): Rewrite doc-string.
19669 Normalize live window argument.
387522b2
MR
19670 (walk-windows, get-window-with-predicate, count-windows):
19671 Rewrite doc-string. Use window-list-1.
19672 (window-in-direction-2, window-in-direction, get-mru-window):
19673 New functions.
19674
d8e4b68b 196752011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
19676
19677 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
19678 Doc fix (Bug#8713).
19679
196802011-06-08 Chong Yidong <cyd@stupidchicken.com>
19681
19682 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
19683
196842011-06-08 Juanma Barranquero <lekktu@gmail.com>
19685
19686 * loadhist.el (unload-feature-special-hooks):
19687 Add `comint-output-filter-functions'.
19688
0de12c52
IK
196892011-06-08 Ivan Kanis <gnu@kanis.fr>
19690
19691 * calendar/appt.el (appt-check): Move some initializations into the let.
19692
f3d1777e
MR
196932011-06-08 Martin Rudalics <rudalics@gmx.at>
19694
19695 * window.el (window-height): Defalias to window-total-height.
19696 (window-width): Defalias to window-body-width.
19697
18af70d0
CY
196982011-06-07 Chong Yidong <cyd@stupidchicken.com>
19699
19700 * image-mode.el (image-toggle-animation): New command.
19701 (image-mode-map): Bind it to RET.
19702 (image-mode): Update message.
19703 (image-toggle-display-image): Avoid a spurious cache flush.
19704 (image-transform-rotation): Doc fix.
19705 (image-transform-properties): Return quickly in the normal case.
19706 (image-animate-loop): Rename from image-animate-max-time.
19707
2b75be67 19708 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
19709 (create-animated-image): Remove unnecessary function.
19710 (image-animate): Rename from image-animate-start. New arg.
2b75be67 19711 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
19712 (image-animate-timer): Use car-safe.
19713 (image-animate-timeout): Rename argument.
19714
190b47e6
MR
197152011-06-07 Martin Rudalics <rudalics@gmx.at>
19716
19717 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
19718 window.c. Rename first argument to ALL-FRAMES.
19719 Rephrase doc-strings.
19720 (get-buffer-window-list): Rewrite using window-list-1.
19721 Rephrase doc-string.
a1511caf
MR
19722 (window-safe-min-height, window-safe-min-width): New constants.
19723 (window-size-ignore, window-min-size, window-min-size-1)
19724 (window-sizable, window-sizable-p, window-size-fixed-1)
19725 (window-size-fixed-p, window-min-delta-1, window-min-delta)
19726 (window-max-delta-1, window-max-delta, window-resizable)
19727 (window-resizable-p, window-total-height, window-total-width)
19728 (window-body-width): New functions.
19729 (window-full-height-p, window-full-width-p): Rewrite using
19730 window-total-size.
19731 (window-body-height): Rewrite using window-body-size.
190b47e6 19732
85cc1f11
MR
197332011-06-06 Martin Rudalics <rudalics@gmx.at>
19734
19735 * window.el (window-right, window-left, window-child)
19736 (window-child-count, window-last-child, window-any-p)
19737 (normalize-live-buffer, normalize-live-frame)
19738 (normalize-any-window, normalize-live-window)
19739 (window-iso-combination-p, window-iso-combined-p)
19740 (window-iso-combinations)
19741 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
19742 (windows-with-parameter, window-with-parameter)
19743 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
19744 (window-atom-check, window-side-check, window-check):
19745 New functions.
85cc1f11
MR
19746 (ignore-window-parameters, window-sides, window-sides-vertical)
19747 (window-sides-slots): New variables.
19748 (window-size-fixed): Move down in code. Minor doc-string fix.
19749
e7156492
AS
197502011-06-05 Andreas Schwab <schwab@linux-m68k.org>
19751
19752 * comint.el (comint-dynamic-complete-as-filename)
19753 (comint-dynamic-complete-filename): Correctly call
19754 completion-in-region.
19755
7e821d0d
DD
197562011-06-05 Deniz Dogan <deniz@dogan.se>
19757
19758 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
19759 in last change.
19760
ac09b8a1
DD
197612011-06-05 Deniz Dogan <deniz@dogan.se>
19762
19763 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
19764 (rcirc): Use it to prompt for encryption.
19765
34699b85
RW
197662011-06-05 Roland Winkler <winkler@gnu.org>
19767
19768 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
19769 (bibtex-search-entries): New command bound to C-c C-a.
19770 (bibtex-display-entries): New function.
19771
004dedd3
RW
197722011-06-05 Roland Winkler <winkler@gnu.org>
19773
19774 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
19775 (bibtex-insert-kill): After yanking insert newline if necessary.
19776 (bibtex-initialize): Call bibtex-string-files-init only once.
19777 (bibtex-mode): Do not call easy-menu-add.
19778 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
19779 (bibtex-yank): Set arg properly if nil.
19780
022fe7ce
RW
197812011-06-05 Roland Winkler <winkler@gnu.org>
19782
2b75be67
SM
19783 * textmodes/bibtex.el (bibtex-search-entry-globally):
19784 New variable.
022fe7ce
RW
19785 (bibtex-search-entry): Use it.
19786
b7c3692a
RW
197872011-06-05 Roland Winkler <winkler@gnu.org>
19788
19789 * textmodes/bibtex.el (bibtex-entry-format): New option
19790 sort-fields.
19791 (bibtex-format-entry, bibtex-reformat): Honor this option.
19792 (bibtex-parse-entry): Return fields in proper order.
19793
8eda563d
JB
197942011-06-05 Juanma Barranquero <lekktu@gmail.com>
19795
19796 * doc-view.el (doc-view-remove-if): Move computation of result out
19797 of `dolist' to silence misleading lexical-binding warning.
19798
7dbe3dbc
CY
197992011-06-04 Chong Yidong <cyd@stupidchicken.com>
19800
19801 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
19802 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
19803
0c33dd17
MA
198042011-06-04 Michael Albinus <michael.albinus@gmx.de>
19805
19806 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
19807 "SunOS 5.10".
19808
f8f91c2b
MA
198092011-06-04 Michael Albinus <michael.albinus@gmx.de>
19810
19811 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
19812 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
19813 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
19814 (tramp-parse-putty):
19815 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
19816 (tramp-completion-function-alist-ssh)
19817 (tramp-completion-function-alist-telnet)
19818 (tramp-completion-function-alist-su)
19819 (tramp-completion-function-alist-putty): Set `tramp-autoload'
19820 cookie.
19821
19822 * net/tramp-ftp.el:
19823 * net/tramp-sh.el:
19824 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
19825 load "tramp.el" `tramp-set-completion-function'.
19826
e17d9003
SM
198272011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
19828
19829 * shell.el: Require and use pcomplete.
19830 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
19831 (shell-completion-vars): Set pcomplete-default-completion-function.
19832
6c4cab03
DD
198332011-06-04 Deniz Dogan <deniz@dogan.se>
19834
19835 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
19836 `memq' (Bug#8799).
19837
ea9fafe0
SM
198382011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
19839
19840 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
19841
b3e945d3
JB
198422011-06-02 Juanma Barranquero <lekktu@gmail.com>
19843
19844 * bs.el (bs--mark-unmark, bs--nth-wrapper):
19845 * mpc.el (mpc-select-extend, mpc-songpointer-context):
19846 * vc/log-view.el (log-view-beginning-of-defun):
19847 * vc/smerge-mode.el (smerge-apply-resolution-patch)
19848 (smerge-refine-forward, smerge-refine-chopup-region):
19849 Silence warning for unused `dotimes' counter variables.
19850
7d520089
SM
198512011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
19852
19853 * net/tramp.el (tramp-with-progress-reporter): Rename from
19854 with-progress-reporter. Use `declare'.
19855 * net/tramp-smb.el:
19856 * net/tramp-sh.el:
19857 * net/tramp-gvfs.el: Update all uses.
19858
a1c2400f
JB
198592011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
19860
19861 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
19862 buffer isn't killed before making it current.
19863
2403c841
SM
198642011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
19865
19866 Silence various byte-compiler warnings.
19867 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
19868 `access-type' and new obsolescence format.
19869 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
19870 new format.
19871 (byte-compile-check-variable): New `access-type' argument.
19872 Only warn if the access-type is obsolete.
19873 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
19874 (byte-compile-variable-set): Adjust callers.
19875 * help-fns.el (describe-variable): Adjust to new obsolescence format.
19876 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
19877 setting it as obsolete.
19878 * simple.el (minibuffer-completing-symbol):
19879 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
19880 access as obsolete.
19881 * minibuffer.el (minibuffer-completing-file-name): Don't make it
19882 obsolete yet.
19883 * international/quail.el (quail-mouse-choose-completion): Remove unused
19884 code referring to obsolete var.
19885 (quail-choose-completion-string): Remove.
19886 * server.el (server-clients-with, server-kill-buffer-query-function)
19887 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
19888 * proced.el (proced-send-signal):
19889 * emacs-lisp/lisp.el (lisp-complete-symbol):
19890 Replace completion-annotate-function with completion-extra-properties.
19891
2462470b
SM
198922011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
19893
fb5b2591
SM
19894 * simple.el (goto-line): Use read-number.
19895 (overriding-map-is-bound): Remove.
19896 (saved-overriding-map): Change default.
19897 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
19898 Take the map as argument.
19899 (universal-argument, negative-argument, digit-argument): Use it.
19900 (restore-overriding-map): Adjust.
19901 (do-auto-fill): Use fill-forward-paragraph.
19902 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
19903
fd6fa53f
SM
19904 * minibuffer.el (minibuffer-inactive-mode-map): New var.
19905 (minibuffer-inactive-mode): New major mode.
19906 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
19907 the *Messages* buffer" hack.
19908 (mouse-popup-menubar): Don't burp if the event is a normal key.
19909
2462470b
SM
19910 Miscellaneous tweaks.
19911 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
19912 lexical scoping as in subr.el's dolist and dotimes.
19913 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
19914 Silence compiler warning.
19915 * thingatpt.el (forward-whitespace): Trivial coding style fix.
19916 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
19917 * international/ccl.el (ccl-compile): Trivial simplification.
19918 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
19919 * emacs-lisp/testcover.el (testcover-end): Remove spurious
19920 `printflag' argument.
19921 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
19922 Purecopy the whole obsolescence data.
19923
108bf785
LL
199242011-06-01 Leo Liu <sdl.web@gmail.com>
19925
19926 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
19927 improve doc-string as suggested by Marco Pessotto
19928 <melmothx@gmail.com>.
19929 (rcirc-print): Fix last change.
19930
30a23501
SM
199312011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
19932
19933 * minibuffer.el (complete-with-action): Return nil for the metadata and
19934 boundaries of non-functional tables.
19935 (completion-table-dynamic): Return nil for the metadata.
19936 (completion-table-with-terminator): Add default case, using
19937 complete-with-action.
19938 (completion--metadata): New function.
19939 (completion-all-sorted-completions, minibuffer-completion-help): Use it
19940 to try and avoid pathological performance problems.
19941 (completion--embedded-envvar-table): Return `category' metadata.
19942
bcd54f83
LMI
199432011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
19944
19945 * subr.el (process-alive-p): New tiny convenience function.
19946
e227544d
SM
199472011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
19948
19949 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
19950 content but also its previous major mode.
19951
e8296fdc
HE
199522011-05-31 Helmut Eller <eller.helmut@gmail.com>
19953
4d61f28d 19954 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
19955 *Backtrace* buffer when we exit with C-M-c.
19956
620c53a6
SM
199572011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
19958
19959 * minibuffer.el: Add metadata method to completion tables.
19960 (completion-category-overrides): New defcustom.
19961 (completion-metadata, completion--field-metadata)
19962 (completion-metadata-get, completion--styles)
19963 (completion--cycle-threshold): New functions.
19964 (completion-try-completion, completion-all-completions):
19965 Add `metadata' argument to choose completion-styles.
19966 (completion--do-completion): Use metadata to choose cycling.
19967 (completion-all-sorted-completions): Use metadata for sorting.
19968 Remove :completion-cycle-penalty which is not needed any more.
19969 (completion--try-word-completion): Add `metadata' argument.
19970 (minibuffer-completion-help): Check metadata for annotation function
19971 and sorting.
19972 (completion-file-name-table): Return `category' metadata.
19973 (minibuffer-completing-file-name): Make obsolete.
19974 * simple.el (minibuffer-completing-symbol): Make obsolete.
19975 * icomplete.el (icomplete-completions): Pass new `metadata' param to
19976 completion-try-completion.
19977
1257e755
SM
199782011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
19979
19980 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
19981
3767e706
LL
199822011-05-30 Leo Liu <sdl.web@gmail.com>
19983
19984 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
19985 (rcirc-print): Decode all incoming messages (bug#8744).
19986 (rcirc-decode-coding-system): Allow value nil for automatic coding
19987 system detection.
3767e706 19988
d1a5d56a
GM
199892011-06-01 Glenn Morris <rgm@gnu.org>
19990
19991 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
19992
e8cbec34
CY
199932011-05-29 Chong Yidong <cyd@stupidchicken.com>
19994
19995 * image.el (image-animate-max-time): Allow nil and t values.
19996 Default to nil.
19997 (create-animated-image): Doc fix.
19998 (image-animate-start): Remove second arg; just use
19999 image-animate-max-time.
20000 (image-animate-timeout): Doc fix. Args changed.
20001
20002 * image-mode.el (image-toggle-display-image): Ensure that the
20003 image spec passed to the animate timer is the same object as in
58179cce 20004 the buffer's display property (Bug#6981).
e8cbec34
CY
20005 (image-transform-properties): Doc fix.
20006
20007 * image.el (image-animate-max-time): Default to nil.
20008
159daf87
MR
200092011-05-29 Martin Rudalics <rudalics@gmx.at>
20010
20011 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
20012 entire buffer list (Bug#8184).
20013
d66c4c7c
CY
200142011-05-29 Chong Yidong <cyd@stupidchicken.com>
20015
20016 * image.el (imagemagick-types-inhibit)
20017 (imagemagick-register-types): Doc fix.
20018
80aec780
DD
200192011-05-29 Deniz Dogan <deniz@dogan.se>
20020
20021 * net/rcirc.el (rcirc): Use the user's stored encryption method by
20022 default.
20023
1dd3c2d9
CY
200242011-05-29 Chong Yidong <cyd@stupidchicken.com>
20025
20026 * select.el: Don't perform clipboard-manager saving in hooks;
20027 leave the hooks empty.
20028
60e56523
LL
200292011-05-28 Leo Liu <sdl.web@gmail.com>
20030
20031 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
20032 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
20033 (occur-edit-mode): New major mode (Bug#8463).
20034 (occur-after-change-function): New function.
20035 (occur-engine): Give Occur tags a read-only property.
20036
2b1e1a22
KR
200372011-05-28 Kevin Ryde <user42@zip.com.au>
20038
20039 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
20040
5d344e88
CY
200412011-05-28 Chong Yidong <cyd@stupidchicken.com>
20042
8e6ca83d
CY
20043 * bindings.el (help-echo): Make the initial non-indicator dash
20044 empty on graphical terminals (Bug#7295).
20045
5d344e88
CY
20046 * files.el (auto-mode-alist): Move config rule after the
20047 in-stripping one (Bug#8547).
20048
bfbbace7
CY
20049 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
20050
fbeba6e2
CY
20051 * startup.el (normal-splash-screen): Remove gratuitous mode-line
20052 setting (Bug#8740).
20053
60ed8c72
AA
200542011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
20055
4ac619f0
AA
20056 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
20057 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
20058 (Bug#8539).
60ed8c72 20059
23db196e
CY
200602011-05-28 Chong Yidong <cyd@stupidchicken.com>
20061
20062 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
20063
5012f24c
DK
200642011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
20065
20066 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
20067 (hs-hide-block-at-point, hs-find-block-beginning)
20068 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
20069 (Bug#8279).
20070
6a639b16
GM
200712011-05-28 Glenn Morris <rgm@gnu.org>
20072
20073 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
20074
d43eaf2c
CY
200752011-05-28 Chong Yidong <cyd@stupidchicken.com>
20076
5199bde1
CY
20077 * help-fns.el (describe-function-1): If the function is a derived
20078 major mode, print the parent mode.
20079
d43eaf2c
CY
20080 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
20081 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
20082
423428a8
SM
200832011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
20084
0ff8e1ba 20085 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 20086 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
20087 * progmodes/etags.el (tags-completion-at-point-function):
20088 * info-look.el (info-lookup-completions-at-point): Mark as
20089 non-exclusive.
20090 (info-complete): Adjust accordingly.
20091
423428a8
SM
20092 * info-look.el: Convert to lexical-binding and completion-at-point.
20093 (info-lookup-completions-at-point): New function.
20094 (info-complete): Use it and completion-in-region.
20095
b74aa22b
DA
200962011-05-28 Drew Adams <drew.adams@oracle.com>
20097
20098 * isearch.el: Let M-e start with point at the first mismatched char.
20099 (isearch-fail-pos): New function.
20100 (isearch-edit-string): Use it.
20101
66e2e71d
DK
201022011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
20103
20104 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
20105
b1890b0f 201062011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
20107
20108 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
20109 traversal functions for avl-trees.
20110 (avl-tree--stack): New struct.
20111 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
20112 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
20113 (avl-tree--do-enter): Add optional `updatefun' arg.
20114 Change return value.
eb95d01d 20115 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
20116 (avl-tree--do-delete): Add `test' and `nilflag' args.
20117 Change return value.
eb95d01d
TC
20118 (avl-tree-member): Add optional `nilflag'
20119 (avl-tree-member-p): New function.
20120 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
20121 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
20122 (avl-tree-stack-empty-p): New functions.
20123
3769ddcf
TC
20124 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
20125 avl-tree--del-balance1 and make it work both ways.
20126 (avl-tree--del-balance2): Remove.
20127 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
20128 make it work both ways.
20129 (avl-tree--enter-balance2): Remove.
20130 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
20131 New macros.
20132 (avl-tree--mapc, avl-tree-map): Add direction argument.
20133
eb95d01d 201342011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
20135
20136 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
20137
a9f737ee
CY
201382011-05-27 Chong Yidong <cyd@stupidchicken.com>
20139
20140 * select.el: Support clipboard managers with built-in function
20141 x-clipboard-manager-save, via delete-frame-functions and
20142 kill-emacs-hook.
20143 (xselect-convert-to-targets): Add MULTIPLE target to list.
20144 (xselect-convert-to-save-targets): New function.
20145
c92a1e54
KH
201462011-05-27 Kenichi Handa <handa@m17n.org>
20147
20148 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
20149 let-binding rfc2047-encode-encoded-words to nil.
20150
e145f188
GM
201512011-05-27 Glenn Morris <rgm@gnu.org>
20152
5ec8a862
GM
20153 * mail/emacsbug.el: Don't require url-util.
20154
4b29d9fb
GM
20155 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
20156
e145f188
GM
20157 * files.el (set-auto-mode):
20158 Also respect mode: entries at the end of the file. (Bug#8586)
20159
7d15102b
GM
201602011-05-26 Glenn Morris <rgm@gnu.org>
20161
98f593b8
GM
20162 * files.el (hack-local-variables-prop-line, hack-local-variables):
20163 Downcase mode names, as seems to be traditional.
27b48e63 20164 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 20165
7d15102b
GM
20166 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
20167 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
20168
51d5b4ec
JD
201692011-05-25 Julien Danjou <julien@danjou.info>
20170
20171 * textmodes/rst.el (rst-define-level-faces): Do not define face
20172 symbol if it is already defined.
20173
91513f63
VB
201742011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
20175
20176 * play/5x5.el (5x5-new-game, 5x5-randomize):
20177 Reset 5x5-solver-output to nil when a new grid is cast.
20178 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
20179 these debugging traces, as defmacro breaks the compiled code.
20180
4d90d6d0
DK
201812011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
20182
20183 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
20184
e1b90ef6
LL
201852011-05-24 Leo Liu <sdl.web@gmail.com>
20186
20187 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
20188 (vc-bzr-sha1): Adapt.
20189
d8e4b68b 20190 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
20191
20192 * bindings.el: Provide sha1 feature.
20193
db0406bb 201942011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
20195
20196 * mail/sendmail.el: Require `rfc2047'.
20197 (mail-insert-from-field): Do not perform RFC2047 encoding.
20198 (mail-encode-header): New function.
20199 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
20200 buffer to the return value of select-message-coding-system.
20201 Call mail-encode-header.
b8d747b9
KH
20202
20203 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
20204
db0406bb 202052011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 20206
4d90d6d0
DK
20207 * mail/supercite.el (sc-default-cite-frame):
20208 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 20209
eb8a5e9b
GM
202102011-05-24 Glenn Morris <rgm@gnu.org>
20211
f8630703
GM
20212 * progmodes/python.el (brm-menu): Declare.
20213
8831bbed
GM
20214 * emulation/viper.el (viper-set-hooks): Declare.
20215
eb8a5e9b
GM
20216 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
20217 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
20218 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
20219 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
20220 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
20221 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
20222
a2a25d24
SM
202232011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
20224
20225 Add an :exit-function for completion-at-point.
20226
20227 * minibuffer.el (completion--done): New fun.
20228 (completion--do-completion): Use it. New arg `expect-exact'.
20229 (minibuffer-complete, minibuffer-complete-word): Don't output message,
20230 since completion--do-completion does it for us now.
20231 (minibuffer-force-complete): Use completion--done and
20232 completion--replace. Handle sole-completion case with more care.
20233 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
20234 (completion-extra-properties): New var.
20235 (completion-annotate-function): Make obsolete.
20236 (minibuffer-completion-help): Adjust accordingly.
20237 Use completion-list-insert-choice-function.
20238 (completion-at-point, completion-help-at-point):
20239 Bind completion-extra-properties.
20240 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
20241 * simple.el (completion-list-insert-choice-function): New var.
20242 (completion-setup-function): Preserve it.
20243 (choose-completion): Pay attention to it, shuffle the code a bit.
20244 (choose-completion-string): New arg `insert-function'.
20245
20246 * textmodes/bibtex.el: Convert to lexical binding.
20247 (bibtex-mode-map): Use completion-at-point.
20248 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
20249 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
20250 (bibtex-complete): Define as obsolete alias.
20251 (bibtex-complete-internal): Remove.
20252 (bibtex-format-entry): Remove unused sub-group in regexp.
20253 * shell.el (shell--command-completion-data)
20254 (shell-environment-variable-completion):
20255 * pcomplete.el (pcomplete-completions-at-point):
20256 * comint.el (comint--complete-file-name-data): Use :exit-function
20257 instead of completion-table-with-terminator so it also works for
20258 choose-completion.
20259
e44e373d
SM
202602011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
20261
4f91a816
SM
20262 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
20263
782fc819
SM
20264 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
20265 (bug#8710).
20266
e44e373d
SM
20267 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
20268
381987c3
KM
202692011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
20270
20271 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
20272 customization variable and implement: If non-nil, auto-fill will
20273 be inhibited while on topic's header line.
20274
b776bc70
VB
202752011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
20276
20277 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 20278 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
20279 always have a solution in grid size = 5 cases.
20280 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
20281 (5x5-solver-output, 5x5-log-buffer): New vars.
20282 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
20283 Make these variables buffer local to achieve 5x5 multi-session-ness.
20284 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
20285 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
20286 (5x5-solve-suggest): New funs.
20287 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
20288 randomize a grid so that we ensure that there is always a solution.
20289 (5x5-make-random-grid): Allow other movement than flipping.
20290
7de88b6e
KR
202912011-05-23 Kevin Ryde <user42@zip.com.au>
20292
20293 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 20294 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
20295 advice and passes PREDICATE.
20296
b1ef1257
SM
202972011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
20298
bbca48fe
SM
20299 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
20300 byte-compile-lambda if it's actually a lambda.
20301
b1ef1257
SM
20302 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
20303 Fix function quoting. Use backquote better.
20304
92a9cc65
YS
203052011-05-22 Yuanle Song <sylecn@gmail.com>
20306
20307 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
20308 matching (Bug#8516).
20309
f0fb8059
JA
203102011-01-22 Jari Aalto <jari.aalto@cante.net>
20311
20312 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
20313 different face (Bug#8178).
20314
d5b44c93
CY
203152011-05-22 Chong Yidong <cyd@stupidchicken.com>
20316
20317 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
20318 defface (Bug#8144).
20319
79106a44
SM
203202011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
20321
9c848d8a
SM
20322 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
20323 funcall as well (bug#8712). Warn when performing those conversions.
20324 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
20325
79106a44
SM
20326 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
20327
88dfa756
GM
203282011-05-22 Glenn Morris <rgm@gnu.org>
20329
20330 * files.el (hack-local-variables-prop-line): Small simplifications.
20331 (hack-local-variables, hack-local-variables-prop-line):
20332 If MODE-ONLY, return the mode, rather than just `t'.
20333
b7cf2c79
SM
203342011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
20335
20336 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
20337
3f1a8558
GM
203382011-05-21 Glenn Morris <rgm@gnu.org>
20339
7e4ccca3
GM
20340 * files.el (hack-local-variables-prop-line, hack-local-variables):
20341 If only interested in the mode, don't bother doing the other stuff.
20342
637d46ca
GM
20343 * image-mode.el (image-after-revert-hook):
20344 Redraw all frames on which the image is visible. (Bug#8567)
20345
973d955b
GM
20346 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
20347
3f1a8558
GM
20348 * wid-edit.el (widget-checklist-match-inline):
20349 Fix 2011-04-19 change. (Bug#8649)
20350
96479927
SM
203512011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
20352
1dcf791f
SM
20353 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
20354 Also allow singlespace after single-letter capitals followed by a dot.
20355
96479927
SM
20356 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
20357 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
20358
35fd0881
N
203592011-05-20 Nix <nix@esperi.org.uk>
20360
20361 * files.el (basic-save-buffer-2):
20362 Fix handling of break-hardlink-on-save with non-existent files.
20363
82745640
DD
203642011-05-19 Deniz Dogan <deniz@dogan.se>
20365
20366 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 20367 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 20368
4a720484
GM
203692011-05-19 Glenn Morris <rgm@gnu.org>
20370
d1f21341
GM
20371 * progmodes/f90.el (f90-type-def-re):
20372 Handle "type, bind(c)". (Bug#8691)
20373
4a720484
GM
20374 * emacs-lisp/autoload.el (batch-update-autoloads):
20375 Set autoload-excludes by parsing loadup.el rather than Makefiles.
20376
2fb0a219
MA
203772011-05-18 Michael Albinus <michael.albinus@gmx.de>
20378
20379 * net/tramp.el (tramp-process-actions): Set "first-password-request"
20380 property for the correct connection in case of multihops.
20381
e565dd37
GM
203822011-05-18 Glenn Morris <rgm@gnu.org>
20383
c2571358 20384 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
20385 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
20386
e565dd37
GM
20387 Rationalize calendar handling of day and month abbrev-arrays.
20388 * calendar/calendar.el (calendar-customized-p): New function.
20389 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
20390 (calendar-day-name-array, calendar-month-name-array): Doc fix.
20391 Add :set function.
20392 (calendar-abbrev-length, calendar-day-abbrev-array)
20393 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
20394 (calendar-day-abbrev-array, calendar-month-abbrev-array):
20395 Elements may no longer be nil.
20396 (calendar-day-name, calendar-month-name):
20397 Update for changed nature of abbrev arrays.
20398 * calendar/diary-lib.el (diary-name-pattern):
20399 Update for changed nature of abbrev arrays.
20400 (diary-mark-entries-1): Update calendar-make-alist calls.
20401 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
20402 * calendar/cal-html.el (cal-html-day-abbrev-array):
20403 Simply inherit from calendar-day-abbrev-array.
20404
1d99a745
SM
204052011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
20406
20407 * progmodes/grep.el (grep-mode): Disable default
20408 compilation-directory-matcher setting (bug#8684).
20409
7c1d9aa0
MA
204102011-05-17 Michael Albinus <michael.albinus@gmx.de>
20411
20412 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
20413 instead of "head" and "tail". There were problems with SunOS 5.9,
20414 and it performs better.
20415
3952e9d8
GM
204162011-05-17 Glenn Morris <rgm@gnu.org>
20417
2dd12e7f
GM
20418 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
20419
e4157b9c
GM
20420 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
20421 Replace obsolete function.
20422
8e249bbd
GM
20423 * shell.el (pcomplete-parse-arguments-function): Declare.
20424
3952e9d8
GM
20425 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
20426 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
20427 (appt-check): Doc fixes.
20428 (appt-disp-window-function, appt-delete-window-function):
20429 Remove needless special case in custom :type.
20430 (appt-display-count): Default to 0, not nil.
20431 (appt-check): Reset appt-display-count to 0, not nil.
20432
c71a0d48 204332011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 20434
c71a0d48
GM
20435 * progmodes/python.el (python-font-lock-keywords):
20436 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 20437
31d55be9
SM
204382011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
20439
20440 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
20441
3bfacb2f
KR
204422011-05-16 Kevin Ryde <user42@zip.com.au>
20443
20444 * info-look.el (makefile-automake-mode): New setups, looking in
20445 automake manual, then makefile-mode.
20446 (makefile-mode): Remove automake manual, have it just in
20447 makefile-automake-mode since there's various things different or
20448 not relevant to plain make.
20449 (makefile-mode): Remove "other-modes" non-existent automake-mode,
20450 believe a hypothetical automake-mode would go to makefile-mode,
20451 not the other way around.
20452
c8e83751
CY
204532011-05-15 Chong Yidong <cyd@stupidchicken.com>
20454
5e9e35cd
CY
20455 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
20456 hunk-end tags (Bug#8672).
20457
c8e83751
CY
20458 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
20459 vc-annotate-show-diff-revision-at-line (Bug#8671).
20460
50b23e5a
GM
204612011-05-14 Glenn Morris <rgm@gnu.org>
20462
7210a739
GM
20463 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
20464 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
20465 (change-log-font-lock-keywords): Also handle multiple author lines
20466 with leading tabs. (Bug#8644)
7210a739 20467
4691905a
GM
20468 * calendar/appt.el (appt-check): Rename some local variables.
20469 Some simplification/reordering.
20470
50b23e5a
GM
20471 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
20472 (feedmail-sendmail-f-doesnt-sell-me-out)
20473 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
20474 (feedmail-debug-sit-for, feedmail-queue-express-hook)
20475 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
20476 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
20477 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
20478 (feedmail-binmail-gnulinuxish-template):
20479 Rename from feedmail-binmail-linuxish-template.
20480 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
20481 Use insert-buffer-substring.
20482
215cda7c
BC
204832011-05-14 Bill Carpenter <bill@carpenter.org>
20484
20485 * mail/feedmail.el (feedmail-patch-level): Increase.
20486 (feedmail-debug): New custom group.
20487 (feedmail-confirm-outgoing-timeout)
20488 (feedmail-sendmail-f-doesnt-sell-me-out)
20489 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
20490 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
20491 (feedmail-sender-line, feedmail-from-line)
20492 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 20493 (feedmail-spray-this-address)
215cda7c
BC
20494 (feedmail-spray-address-fiddle-plex-list)
20495 (feedmail-queue-use-send-time-for-date)
20496 (feedmail-queue-use-send-time-for-message-id)
20497 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
20498 (feedmail-buffer-eating-function):
20499 Doc fixes.
20500 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
20501 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
20502 (feedmail-message-action-scroll-down): New functions.
20503 (feedmail-queue-directory, feedmail-queue-draft-directory):
20504 Use expand-file-name.
20505 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
20506 Remove C-v help entry.
20507 (feedmail-queue-buffer-file-name): New variable.
20508 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
20509 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
20510 (feedmail-message-action-send-strong, feedmail-message-action-edit)
20511 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
20512 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
20513 (feedmail-message-action-toggle-spray)
20514 (feedmail-run-the-queue-no-prompts)
20515 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
20516 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
20517 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
20518 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
20519 (feedmail-envelope-deducer, feedmail-fiddle-from)
20520 (feedmail-fiddle-sender, feedmail-default-date-generator)
20521 (feedmail-fiddle-date, feedmail-fiddle-message-id)
20522 (feedmail-fiddle-spray-address)
20523 (feedmail-fiddle-list-of-spray-fiddle-plexes)
20524 (feedmail-fiddle-list-of-fiddle-plexes)
20525 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
20526 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
20527 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
20528 Change default. Doc fix.
20529 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
20530 (feedmail-binmail-linuxish-template): New constant.
20531 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
20532 Respect feedmail-sendmail-f-doesnt-sell-me-out.
20533 (feedmail-send-it): Add debug call.
20534 Use feedmail-queue-buffer-file-name, and
20535 feedmail-send-it-immediately-wrapper.
20536 (feedmail-message-action-send): Add debug call.
20537 Use feedmail-send-it-immediately-wrapper.
20538 (feedmail-queue-express-to-queue): Add debug call.
20539 Run feedmail-queue-express-hook.
20540 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
20541 (feedmail-message-action-help-blat):
20542 Rename from feedmail-queue-send-edit-prompt-help-first.
20543 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
20544 Check line-endings. Handle errors better.
20545 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
20546 Doc fix. Add debug call.
20547 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
20548 Use feedmail-queue-send-edit-prompt-inner.
20549 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
20550 (feedmail-queue-send-edit-prompt-inner): New function, extracted
20551 from feedmail-queue-send-edit-prompt.
20552 (feedmail-queue-send-edit-prompt-help)
20553 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
20554 (feedmail-tidy-up-slug): Add debug call.
20555 Respect feedmail-queue-slug-suspect-regexp.
20556 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
20557 (feedmail-dump-message-to-queue): Add debug call.
20558 Expand queue-directory.
20559 (feedmail-dump-message-to-queue): Change message slightly.
20560 Use feedmail-say-chatter.
20561 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
20562 (feedmail-send-it-immediately-wrapper): New function.
20563 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
20564 Insert empty string rather than newline. Handle full-frame case.
20565 Use catch/throw. Use feedmail-say-chatter.
20566 (feedmail-fiddle-from): Try mail-host-address.
20567 (feedmail-default-message-id-generator): Doc fix.
20568 Bind system-time-locale. Handle missing end.
20569 (feedmail-fiddle-x-mailer): Add debug call.
20570 Handle feedmail-x-mailer-line being nil.
20571 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
20572 Add debug call. Use buffer-substring-no-properties.
20573 (feedmail-say-debug, feedmail-say-chatter): New functions.
20574 (feedmail-find-eoh): Give an explicit error.
20575
42c7e61e
UJ
205762011-05-13 Ulf Jasper <ulf.jasper@web.de>
20577
c2571358 20578 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 20579 family from helvetica to sans.
c2571358 20580 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
20581 etc/images/newsticker.
20582
c2571358 20583 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
20584 family from helvetica to sans.
20585
20586 * net/newst-plainview.el (newsticker-new-item-face)
20587 (newsticker-old-item-face, newsticker-immortal-item-face)
20588 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 20589 (newsticker-statistics-face): Change default family from
42c7e61e 20590 helvetica to sans.
c2571358 20591 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
20592 etc/images/newsticker.
20593
5d3385a0
JB
20594 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
20595 (newsticker--process-auto-mark-filter-match): Tell user about
42c7e61e
UJ
20596 auto-marking.
20597
8497a297
DV
205982011-05-13 Didier Verna <didier@xemacs.org>
20599
20600 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
20601 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
20602 TODO entries.
8497a297
DV
20603 (lisp-lambda-list-keyword-parameter-indentation)
20604 (lisp-lambda-list-keyword-parameter-alignment)
20605 (lisp-lambda-list-keyword-alignment): New customizable user options.
20606 (lisp-indent-defun-method): Improve docstring.
20607 (extended-loop-p): Fix comment.
20608 (lisp-indent-lambda-list-keywords-regexp): New variable.
20609 (lisp-indent-lambda-list): New function.
20610 (lisp-indent-259): Use it.
20611 (lisp-indent-defmethod): Support for more than one
20612 method qualifier and properly indent methods lambda-lists.
20613 (defgeneric): Provide a missing common-lisp-indent-function property.
20614
f278f87f
SM
206152011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
20616
20617 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
20618 bounds for the empty string (bug#8667).
20619
5233edd7
GM
206202011-05-13 Glenn Morris <rgm@gnu.org>
20621
5237a44f
GM
20622 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
20623
8340026c 20624 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 20625 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 20626
5233edd7 20627 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 20628 (appt-time-msg-list): Doc fix.
a5464014 20629 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 20630
92d10796
AS
206312011-05-12 Andreas Schwab <schwab@linux-m68k.org>
20632
20633 * progmodes/ld-script.el (ld-script-keywords)
20634 (ld-script-builtins): Update keywords list.
20635
914a0ae1
SM
206362011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
20637
c89be45f
SM
20638 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
20639
914a0ae1
SM
20640 * shell.el (shell-completion-vars): New function.
20641 (shell-mode):
20642 * simple.el (read-shell-command): Use it.
20643 (blink-matching-open): No need for " [...]" in minibuffer-message.
20644
98dc3df3
GM
206452011-05-12 Glenn Morris <rgm@gnu.org>
20646
20647 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
20648 (appt-check): Simplify.
20649
d2fc7e3d 206502011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 20651
4d61f28d 20652 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
20653 literal "/dev/null".
20654
d2fc7e3d 206552011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
20656
20657 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
20658 Fix typo.
20659
d2fc7e3d 206602011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 20661
3f254caa
SM
20662 * progmodes/which-func.el (which-function):
20663 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
20664 which might not be defined (Bug#8260).
20665
d45885f7
GM
206662011-05-12 Glenn Morris <rgm@gnu.org>
20667
20668 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
20669 Let byte-compile-initial-macro-environment always take precedence.
20670
488086f4
SM
206712011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
20672
20673 * net/rcirc.el: Add support for SSL/TLS connections.
20674 (rcirc-server-alist): New field `encryption'.
20675 (rcirc): Check `encryption' settings.
20676 (rcirc-connect): New arg `encryption'. Use open-network-stream.
20677 Merge make-local-variable into `set'.
20678 (rcirc--connection-open-p): New function.
20679 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
20680 the process is not a network process (e.g. running gnutls-cli).
20681 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
20682 Make rcirc-(en|de)code-coding-system local here.
20683 (rcirc-mode): Merge make-local-variable into `set'.
20684 (rcirc-parent-buffer): Make permanent buffer-local.
20685 (rcirc-multiline-minor-mode): Don't do it here.
20686 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
20687 there's no server buffer.
20688
7d3b9d44
GM
206892011-05-11 Glenn Morris <rgm@gnu.org>
20690
f64049c6
GM
20691 * newcomment.el (comment-kill): Prefix "unused" local.
20692
93c9df73
GM
20693 * term/w32console.el (get-screen-color): Declare.
20694
7d3b9d44
GM
20695 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
20696 Handle symbol elements of byte-compile-initial-macro-environment.
20697
9e2dd53f
LL
206982011-05-10 Leo Liu <sdl.web@gmail.com>
20699
488086f4
SM
20700 * bookmark.el (bookmark-bmenu-mode-map):
20701 Bind bookmark-bmenu-search to `/'.
8b340240 20702
9e2dd53f 20703 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
20704 (footnote-unicode-string, footnote-unicode-regexp): New variable.
20705 (Footnote-unicode): New function.
20706 (footnote-style-alist): Add unicode style to the list.
20707 (footnote-style): Doc fix.
9e2dd53f 20708
79b70037
GM
207092011-05-10 Jim Meyering <meyering@redhat.com>
20710
20711 Fix doubled-word typos.
20712 * international/quail.el (quail-insert-kbd-layout): and and -> and
20713 * kermit.el: and and -> and
20714 * net/ldap.el (ldap-search-internal): to to -> to
20715 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
20716 * progmodes/js.el (js-mode): and and -> and
20717 * textmodes/artist.el (artist-move-to-xy): at at -> at
20718 (artist-draw-region-trim-line-endings): if if -> if
20719 And Safetyc -> Safety.
20720 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
20721
b8f82dc1 207222011-05-10 Glenn Morris <rgm@gnu.org>
f1a71c6e 20723 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
20724
20725 * files.el (hack-one-local-variable-eval-safep):
20726 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
20727
4f99f44b
GM
207282011-05-10 Glenn Morris <rgm@gnu.org>
20729
20730 * calendar/diary-lib.el (diary-list-entries-hook)
20731 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
20732 (diary-nongregorian-marking-hook, diary-list-entries)
20733 (diary-include-other-diary-files, diary-mark-entries)
20734 (diary-mark-included-diary-files): Doc fixes.
20735
84f29e6b
JB
207362011-05-09 Juanma Barranquero <lekktu@gmail.com>
20737
20738 * misc.el: Require tabulated-list.el during compilation.
20739
9bedd73a
CY
207402011-05-09 Chong Yidong <cyd@stupidchicken.com>
20741
488086f4
SM
20742 * progmodes/compile.el (compilation-start):
20743 Run compilation-filter-hook for the async case too.
9bedd73a
CY
20744 (compilation-filter-hook): Doc fix.
20745
797c735c
DD
207462011-05-09 Deniz Dogan <deniz@dogan.se>
20747
20748 * wdired.el: Remove outdated installation comment. Fix usage
20749 comment.
20750
5f4b1dfe
JB
207512011-05-09 Juanma Barranquero <lekktu@gmail.com>
20752
20753 * misc.el: Implement new command `list-dynamic-libraries'.
20754 (list-dynamic-libraries--loaded-only-p): New variable.
20755 (list-dynamic-libraries--refresh): New function.
20756 (list-dynamic-libraries): New command.
20757
4c44026c
CY
207582011-05-09 Chong Yidong <cyd@stupidchicken.com>
20759
488086f4
SM
20760 * progmodes/compile.el (compilation-error-regexp-alist-alist):
20761 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
20762 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
20763 higher priority to avoid clobbering by gnu.
20764
027f966d
CY
207652011-05-08 Chong Yidong <cyd@stupidchicken.com>
20766
20767 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
20768 if the face has existing theme settings (Bug#8454).
20769
085f5d7d
CY
207702011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
20771
488086f4
SM
20772 * progmodes/perl-mode.el (perl-imenu-generic-expression):
20773 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 20774
2a86a00c
RS
20775 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
20776 special file names `.' and `..' (Bug#8259).
20777
d9c54a06
CY
207782011-05-08 Chong Yidong <cyd@stupidchicken.com>
20779
488086f4
SM
20780 * progmodes/grep.el (grep-mode-font-lock-keywords):
20781 Remove buffer-changing entries.
d9c54a06
CY
20782 (grep-filter): New function.
20783 (grep-mode): Add it to compilation-filter-hook.
20784
20785 * progmodes/compile.el (compilation-filter-hook)
20786 (compilation-filter-start): New defvars.
20787 (compilation-filter): Call compilation-filter-hook prior to
20788 updating the process mark.
20789
c4662635
SM
207902011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
20791
20792 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
20793
b0512a1d
EZ
207942011-05-07 Eli Zaretskii <eliz@gnu.org>
20795
605c9376
EZ
20796 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
20797 mailclient-send-it even if window-system is nil. (Bug#8595)
20798
c4662635
SM
20799 * term/w32console.el (terminal-init-w32console):
20800 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
20801 background-mode. (Bug#8597)
20802
d1dc2cc2
SM
208032011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
20804
20805 Make bytecomp.el understand that defmethod defines funs (bug#8631).
20806 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
20807 New functions.
20808 (defgeneric, eieio--defmethod): Use them.
20809 (eieio-defgeneric): Remove.
20810 (defmethod): Call defgeneric in a way visible to the byte-compiler.
20811
915d1300
GM
208122011-05-07 Glenn Morris <rgm@gnu.org>
20813
a3961c3e
GM
20814 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
20815 Use let rather than let*.
20816 (timeclock-find-discrep): Remove unused local.
20817
314347b9
GM
20818 * calendar/diary-lib.el (diary-comment-start): Doc fix.
20819
915d1300
GM
20820 * calendar/appt.el (appt-time-msg-list): Doc fix.
20821
275b59b0
NF
208222011-05-06 Noah Friedman <friedman@splode.com>
20823
20824 * apropos.el (apropos-print-doc): Only use
20825 emacs-lisp-docstring-fill-column when it is bound to an integer,
20826 per that variable's documentation.
20827
6c19f744
SM
208282011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
20829
20830 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 20831 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 20832
60f884b2
GM
208332011-05-06 Glenn Morris <rgm@gnu.org>
20834
5006e634
GM
20835 * calendar/appt.el (appt-message-warning-time): Doc fix.
20836 (appt-warning-time-regexp): New option.
20837 (appt-make-list): Respect appt-message-warning-time.
20838
548d0a63
GM
20839 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
20840 New options.
20841 (diary-add-to-list): Strip comments from the displayed string.
20842 (diary-mode): Set comment-start and comment-end.
20843
60f884b2
GM
20844 * vc/diff-mode.el (smerge-refine-subst): Declare.
20845 (diff-refine-hunk): Don't require smerge-mode when compiling.
20846
989681bb
JB
208472011-05-06 Juanma Barranquero <lekktu@gmail.com>
20848
20849 * simple.el (list-processes): Return nil as the docstring says.
20850
a6bc05e1
MA
208512011-05-05 Michael Albinus <michael.albinus@gmx.de>
20852
20853 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
20854 to "".
20855 (ange-ftp-write-region, ange-ftp-insert-file-contents)
20856 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
20857 determining of binary transfer. (Bug#7383)
20858
23c22e9a
MA
208592011-05-05 Michael Albinus <michael.albinus@gmx.de>
20860
c4662635
SM
20861 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
20862 Fix port computation bug. (Bug#8618)
23c22e9a 20863
0bff894f
GM
208642011-05-05 Glenn Morris <rgm@gnu.org>
20865
b8296902
GM
20866 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
20867
1f522ce8
GM
20868 * simple.el (shell-dynamic-complete-functions)
20869 (comint-dynamic-complete-functions): Declare.
20870
cf5bee67
GM
20871 * net/network-stream.el (gnutls-negotiate):
20872 * simple.el (tabulated-list-print): Fix declarations.
20873
20874 * progmodes/gud.el (syntax-symbol, syntax-point):
20875 Remove unnecessary and incorrect declarations.
20876
0bff894f 20877 * emacs-lisp/check-declare.el (check-declare-scan):
1f9f395d 20878 Handle byte-compile-initial-macro-environment in bytecomp.el.
0bff894f 20879
9869b3ae
SM
208802011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
20881
20882 Fix earlier half-done eieio-defmethod change (bug#8338).
20883 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
20884 Streamline and change calling convention.
20885 (defmethod): Adjust accordingly and simplify.
20886 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
20887 new eieio--defmethod.
20888 (slot-boundp): Minor CSE simplification.
20889
9c1d5ac5
MZ
208902011-05-05 Milan Zamazal <pdm@zamazal.org>
20891
20892 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
20893 (glasses-make-readable): Use glasses-separate-capital-groups.
20894
455c834e
JB
208952011-05-05 Juanma Barranquero <lekktu@gmail.com>
20896
20897 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
20898 (warning-series): Doc fix.
20899 (display-warning): Don't try to create the buffer if we just found it.
20900
9ed7c8cb
CY
209012011-05-04 Chong Yidong <cyd@stupidchicken.com>
20902
20903 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
20904 (autoload-find-generated-file): New function.
20905 (generate-file-autoloads): Bind generated-autoload-file to
20906 buffer-file-name.
9869b3ae
SM
20907 (update-file-autoloads, update-directory-autoloads):
20908 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
20909 output file (Bug#7989).
20910 (batch-update-autoloads): Doc fix.
20911
0898ca10
JB
209122011-05-04 Juanma Barranquero <lekktu@gmail.com>
20913
20914 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
20915
31dfb76c
GM
209162011-05-04 Glenn Morris <rgm@gnu.org>
20917
f330b642
GM
20918 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
20919 function, so it follows changes in calendar-date-style.
20920 (diary-fancy-date-matcher): New function.
20921 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
20922 (diary-fancy-font-lock-fontify-region-function):
20923 Use diary-fancy-date-pattern as a function.
20924
31dfb76c
GM
20925 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
20926 non-numbers for `year' etc pseudo-variables. (Bug#8583)
20927
48e79d6a
TZ
209282011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
20929
20930 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
20931 instead of positional arguments. Allow :keylist and :crlfiles
20932 arguments.
20933 (open-gnutls-stream): Call it.
20934
20935 * net/network-stream.el (network-stream-open-starttls): Adjust to
20936 call `gnutls-negotiate' with :process and :hostname arguments.
20937
dd5a5ee0
SM
209382011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
20939
ef80fc09
SM
20940 * minibuffer.el (completion--message): New function.
20941 (completion--do-completion, minibuffer-complete)
20942 (minibuffer-force-complete, minibuffer-complete-word): Use it.
20943 (completion--do-completion): Don't ignore completion-auto-help when in
20944 icomplete-mode.
20945
dd5a5ee0
SM
20946 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
20947 internal encoding (e.g. tibetan zero is not whitespace).
20948 (global-whitespace-mode): Prefer save-current-buffer.
20949 (whitespace-trailing-regexp): Remove useless save-match-data.
20950 (whitespace-empty-at-bob-regexp): Minor simplification.
20951
b7d22a83
CY
209522011-05-03 Chong Yidong <cyd@stupidchicken.com>
20953
20954 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
20955
5192af46
AM
209562011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
20957
20958 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 20959 Use `concat' to create string for insertion.
5192af46 20960
5767d190
SM
209612011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
20962
20963 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
20964 Avoid open-line which runs post-self-insert-hook.
20965 (bibtex-fill-entry): Remove unused `end' var.
20966
bf242939
AM
209672011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
20968
5767d190
SM
20969 * textmodes/ispell.el (ispell-add-per-file-word-list):
20970 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 20971
25666126
LL
209722011-05-03 Leo Liu <sdl.web@gmail.com>
20973
20974 * isearch.el (isearch-yank-pop): New command.
5767d190 20975 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
20976 (isearch-forward): Mention it.
20977
52d3c2d0
SM
209782011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
20979
1bcace58
SM
20980 * simple.el (minibuffer-complete-shell-command): Remove.
20981 (minibuffer-local-shell-command-map): Use completion-at-point.
20982 (read-shell-command): Setup completion vars here instead.
20983 (read-expression-map): Bind TAB to symbol completion.
20984
52d3c2d0
SM
20985 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
20986 error directly rather via storing it into `results'.
20987
35813471
LL
209882011-05-02 Leo Liu <sdl.web@gmail.com>
20989
20990 * vc/diff.el: Fix description.
20991
e793a940
LMI
209922011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
20993
20994 * server.el (server-eval-at): New function.
20995
8de66e05
LMI
209962011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
20997
20998 * net/network-stream.el (open-network-stream): Take a :nowait
20999 parameter and pass it on to `make-network-process'.
21000 (network-stream-open-plain): Ditto.
21001
dcb79f20
AS
210022011-04-30 Andreas Schwab <schwab@linux-m68k.org>
21003
21004 * faces.el (face-spec-set-match-display): Don't match toolkit
21005 options on terminal frames.
21006
14a7fbd8
SM
210072011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
21008
7eabc1be
SM
21009 * progmodes/pascal.el: Use lexical binding.
21010 (pascal-mode-map): Remove author preferences.
21011
14a7fbd8
SM
21012 * pcomplete.el (pcomplete-std-complete): Don't abuse
21013 completion-at-point.
21014
50f84510
JB
210152011-04-28 Juanma Barranquero <lekktu@gmail.com>
21016
6e087a44
JB
21017 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
21018 removing code that has been dead since 1991 or so.
21019
50f84510
JB
21020 * startup.el (command-line): When warning about "_emacs", use a
21021 delayed warning to allow the user to filter it out.
21022
0ba690bd
DD
210232011-04-28 Deniz Dogan <deniz@dogan.se>
21024
21025 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
21026 user has not joined.
21027
08abfaad
SM
210282011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
21029
21030 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
21031 aren't any completions at point.
21032
638f053a
JB
210332011-04-28 Juanma Barranquero <lekktu@gmail.com>
21034
21035 * subr.el (display-delayed-warnings): New function.
21036 (delayed-warnings-hook): New variable.
21037
8fff8daa
SM
210382011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
21039
08abfaad
SM
21040 * minibuffer.el (completion-at-point, completion-help-at-point):
21041 Don't presume that a given completion-at-point-function will always
21042 use the same calling convention.
21043
8fff8daa
SM
21044 * pcomplete.el (pcomplete-completions-at-point):
21045 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
21046 pcomplete-seen is non-nil.
21047 (pcomplete-comint-setup): Also recognize the new comint/shell
21048 completion functions.
21049 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
21050 pcomplete-seen is non-nil.
21051
841a1577 210522011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 21053
841a1577 21054 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 21055 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 21056 the first character in the entry. This allows for code to add its
211ec907
UJ
21057 own uid to the entry.
21058 (icalendar--convert-float-to-ical): Add export of
21059 `diary-float'-entries save for those with the optional DAY
21060 argument.
21061
2a782793
DC
210622011-04-27 Daniel Colascione <dan.colascione@gmail.com>
21063
21064 * subr.el (shell-quote-argument): Use alternate escaping strategy
21065 when we spot a variable reference in a string.
21066
0438ce91
DC
210672011-04-26 Daniel Colascione <dan.colascione@gmail.com>
21068
21069 * cus-start.el (all): Define customization for debug-on-event.
21070
841a1577 210712011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
21072
21073 * subr.el (shell-quote-argument): Escape correctly under Windows.
21074
d090ed6c
SM
210752011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
21076
21077 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
21078
bfd31217
MA
210792011-04-25 Michael Albinus <michael.albinus@gmx.de>
21080
d090ed6c
SM
21081 * net/tramp.el (tramp-process-actions): Add POS argument.
21082 Delete region between POS and (pos).
bfd31217 21083
d090ed6c
SM
21084 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
21085 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
21086 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
21087
21088 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
21089 position in `tramp-process-actions' call.
21090
21091 * net/trampver.el: Update release number.
21092
e92f3bd3
SM
210932011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
21094
850256b5
SM
21095 * custom.el (defcustom): Obey lexical-binding.
21096
e92f3bd3
SM
21097 Fix octave-inf completion problems reported by Alexander Klimov.
21098 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
21099 Inherit from octave-mode-syntax-table.
21100 (inferior-octave-mode): Set info-lookup-mode.
21101 (inferior-octave-completion-at-point): New function.
21102 (inferior-octave-complete): Use it and completion-in-region.
21103 (inferior-octave-dynamic-complete-functions): Use it as well, and use
21104 comint-filename-completion.
21105 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
21106 symbol elements which shouldn't be word elements.
21107 (octave-font-lock-keywords, octave-beginning-of-defun)
21108 (octave-function-header-regexp): Adjust regexps accordingly.
21109 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
21110
cd22b309
JB
211112011-04-25 Juanma Barranquero <lekktu@gmail.com>
21112
21113 * net/gnutls.el (gnutls-errorp): Declare before first use.
21114
8b492194
TZ
211152011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
21116
21117 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
21118 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 21119 default trustfile exists before going to use it. Add missing
5a5fa834 21120 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
21121 Reported by Claudio Bley <claudio.bley@gmail.com>.
21122 (open-gnutls-stream): Add usage example.
21123
21124 * net/network-stream.el (network-stream-open-starttls): Give host
21125 parameter to `gnutls-negotiate'.
21126 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 21127 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 21128
841a1577 211292011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 21130
cd22b309
JB
21131 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
21132 Use correct match group (bug#8438).
05842630 21133
3ba7869c
CY
211342011-04-24 Chong Yidong <cyd@stupidchicken.com>
21135
512e3ae1
CY
21136 * emacs-lisp/package.el (package-built-in-p): Fix typo.
21137 (package-menu--generate): New arg specifying packages to show.
21138 (package-menu-refresh, package-menu-execute, list-packages):
21139 Callers changed.
21140 (package-show-package-list): New function, replacing deleted
21141 package--list-packages (renamed because it is non-internal).
21142
21143 * finder.el (finder-list-matches): Use package-show-package-list
21144 instead of deleted package--list-packages.
21145
e92f3bd3
SM
21146 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
21147 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
21148 (vc-annotate-mode-map): Bind it to RET.
21149
7031be6d
UR
211502011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
21151
21152 * progmodes/etags.el (next-file): Don't use set-buffer to change
21153 buffers (Bug#8478).
21154
4ef177aa
CY
211552011-04-24 Chong Yidong <cyd@stupidchicken.com>
21156
c8d173eb
CY
21157 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
21158
4ef177aa
CY
21159 * apropos.el (apropos-label-face): Avoid variable-pitch face.
21160 (apropos-accumulator): Doc fix.
21161 (apropos-function, apropos-macro, apropos-command)
21162 (apropos-variable, apropos-face, apropos-group, apropos-widget)
21163 (apropos-plist): Add face property.
21164 (apropos-symbols-internal): Fix indentation.
21165 (apropos-print): Simplify help, and recognize apropos-multi-type.
21166 (apropos-print-doc): Use button-type-get to extract the button's
21167 face property. Fill docstring (Bug#8352).
21168
4ffd0d6b 211692011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
21170
21171 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
21172
c6c32125 21173 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 21174 (mpuz-mode-map): Use mapc.
c6c32125
JB
21175 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
21176 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
21177 Fix typos in docstrings.
21178
58d468b4
JB
21179 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
21180 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
21181
6470c3c6
JB
21182 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
21183
4ffd0d6b 211842011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
21185
21186 * minibuffer.el (completion--do-completion): Avoid the "Next char
21187 not unique" prompt if icomplete-mode is enabled (Bug#5849).
21188
3ad8bad0
CY
21189 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
21190 mouse-2 into unread-command-events, it is interpreted correctly.
21191
71d73c9c 21192 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 21193 (image-toggle-display): Doc fix.
71d73c9c 21194
841a1577 211952011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 21196
4ffd0d6b
GM
21197 * textmodes/page.el (what-page): Use line-number-at-pos to
21198 calculate line number (Bug#6825).
6e1dbaa9 21199
c2fb1b60
JB
212002011-04-22 Juanma Barranquero <lekktu@gmail.com>
21201
21202 * eshell/esh-mode.el (find-tag-interactive): Declare function.
21203 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
21204 Pass argument NO-DEFAULT to `find-tag-interactive'.
21205
e02f48d7
JB
212062011-04-22 Juanma Barranquero <lekktu@gmail.com>
21207
21208 Lexical-binding cleanup.
21209
21210 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
21211 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
21212 * progmodes/ada-prj.el (ada-prj-initialize-values)
21213 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
21214 (ada-prj-show-value):
21215 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
21216 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
21217 (antlr-invalidate-context-cache, antlr-options-menu-filter)
21218 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
21219 * progmodes/bug-reference.el (bug-reference-push-button):
21220 * progmodes/fortran.el (fortran-line-length):
21221 * progmodes/glasses.el (glasses-change):
21222 * progmodes/octave-mod.el (octave-fill-paragraph):
21223 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
21224 (python-pdbtrack-grub-for-buffer, python-sentinel):
21225 * progmodes/sql.el (sql-save-connection):
21226 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
21227 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
21228 Mark unused parameters.
21229
21230 * progmodes/compile.el (compilation--flush-directory-cache)
21231 (compilation--flush-parse, compile-internal): Mark unused parameters.
21232 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
21233 (compilation-next-error-function): Remove unused variable `timestamp'.
21234
21235 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
21236 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
21237
21238 * progmodes/dcl-mode.el (dcl-end-of-command):
21239 Remove unused variable `start'.
21240 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
21241 (dcl-option-value-basic, dcl-option-value-offset)
21242 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
21243 Mark unused parameters.
21244 (dcl-save-local-variable): Remove unused variable `val'.
21245 (mode): Declare.
21246
21247 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
21248 Mark unused parameters.
21249 (delphi-ignore-changes): Move before first use.
21250 (delphi-charset-token-at): Remove unused variable `start'.
21251 (delphi-else-start): Remove unused variable `if-count'.
21252 (delphi-comment-block-start, delphi-comment-block-end):
21253 Remove unused variable `kind'.
21254 (delphi-indent-line): Remove unused variable `new-point'.
21255
21256 * progmodes/ebrowse.el (ebrowse-files-list)
21257 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
21258 Mark unused parameters. Don't quote `lambda'.
21259 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
21260 Don't quote `lambda'.
21261 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
21262 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
21263 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
21264 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
21265 Use `ignore-errors'.
21266 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
21267 (ebrowse-view/find-file-and-search-pattern)
21268 (ebrowse-view/find-member-declaration/definition):
21269 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
21270 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
21271 Rename parameter PREFIX-ARG to PREFIX.
21272 (ebrowse-tags-read-name): Remove unused variables `start' and
21273 `member-info'.
21274 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
21275 to `tags-file'.
21276
21277 * progmodes/etags.el (local-find-tag-hook): Declare.
21278 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
21279 Mark unused parameters.
21280
21281 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
21282 (executable-interpret): Mark unused parameter.
21283
21284 * progmodes/flymake.el (flymake-process-sentinel)
21285 (flymake-after-change-function)
21286 (flymake-create-temp-with-folder-structure)
21287 (flymake-get-include-dirs-dot): Mark unused parameters.
21288 (flymake-safe-delete-directory): Remove unused variable `err'.
21289
21290 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
21291 (speedbar-timer-fn, speedbar-line-text)
21292 (speedbar-change-expand-button-char, speedbar-delete-subblock)
21293 (speedbar-center-buffer-smartly): Declare functions.
21294 (gdb-find-watch-expression): Remove unused variable `array'.
21295 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
21296 (gdb-starting): Mark unused parameters.
21297 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
21298 (gdb-table-string): Remove unused variable `res'.
21299 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
21300 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
21301 (gdb-display-buffer): Remove unused variable `cur-size'.
21302
21303 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
21304 allow lexical-binding compilation.
21305 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
21306 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
21307 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
21308 Mark unused parameters.
21309 (gud-gdb-marker-filter): Remove unused variable `match'.
21310 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
21311 lambda expressions and funcall them, instead of using `fset'.
21312
21313 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
21314 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
21315
21316 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
21317 variable `header-beg'; use `let'.
21318
21319 * progmodes/icon.el (indent-icon-exp): Remove unused variables
21320 `restart', `last-sexp' and `at-do'.
21321
21322 * progmodes/js.el (js--debug): Mark unused parameter.
21323 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
21324 (js--splice-into-items): Remove unused variable `item'.
21325 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
21326
21327 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
21328 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
21329 (makefile-complete): Remove unused variable `try'.
21330 (makefile-fill-paragraph, makefile-match-function-end):
21331 Mark unused parameters.
21332
21333 * progmodes/octave-inf.el (inferior-octave-complete):
21334 Remove unused variable `proc'.
21335 (inferior-octave-output-digest): Mark unused parameter.
21336
21337 * progmodes/perl-mode.el (perl-calculate-indent):
21338 Remove unused variable `err'.
21339
21340 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
21341 (prolog-indent-line): Mark unused parameters.
21342 (prolog-indent-line): Remove unused variable `beg'.
21343
21344 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
21345 (reporter-dont-compact-list): Declare.
21346
21347 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
21348 Remove unused variable `char'.
21349 (sh-debug): Mark unused parameter.
21350 (sh-get-indent-info): Remove unused variable `start'.
21351 (sh-calculate-indent): Remove unused variable `var'.
21352
21353 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
21354 (simula-electric-keyword): Remove unused variable `null'.
21355 (simula-search-backward, simula-search-forward): Remove unused
21356 variables `begin' and `end'.
21357
21358 * progmodes/vera-mode.el (vera-guess-basic-syntax):
21359 Remove unused variable `pos'.
21360 (vera-electric-tab, vera-comment-uncomment-region):
21361 Mark unused parameters.
21362 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
21363
7ede3b65
CY
213642011-04-22 Chong Yidong <cyd@stupidchicken.com>
21365
21366 * emacs-lisp/package.el (package--builtins, package-alist)
21367 (package-load-descriptor, package-built-in-p, package-activate)
21368 (define-package, package-installed-p)
21369 (package-compute-transaction, package-buffer-info)
21370 (package--push): Doc fix. Distinguish more clearly between
21371 version strings and version lists.
21372
121656e9
JB
213732011-04-21 Juanma Barranquero <lekktu@gmail.com>
21374
21375 Lexical-binding cleanup.
21376
21377 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
21378 (5x5-make-mutate-best):
21379 * play/fortune.el (fortune-in-buffer):
21380 * play/gomoku.el (gomoku-init-display):
21381 * play/solitaire.el (solitaire, solitaire-do-check):
21382 * play/tetris.el (tetris-default-update-speed-function):
21383 Mark unused parameters.
21384
21385 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
21386 (bubbles--shift): Remove unused variable `char-org'.
21387 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
21388 (bubbles--show-images): Remove unused variable `char'.
21389
21390 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
21391 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
21392 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
21393 (decipher-analyze-buffer): Use ?\s.
21394 (decipher-make-checkpoint): Remove unused variable `mapping'.
21395
21396 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
21397
21398 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
21399 Remove unused variable `result'; use `let'.
21400
21401 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
21402 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
21403 (gametree-children-shown-p, gametree-compute-reduced-score):
21404 Use `ignore-errors'.
21405
21406 * play/handwrite.el (ps-lpr-switches): Declare.
21407 (handwrite): Remove unused variables `pmin' and `lastp'.
21408
21409 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
21410
21411 * play/landmark.el (landmark-init-display)
21412 (landmark-update-naught-weights): Mark unused parameters.
21413 (landmark-y): Remove unused variable `noise'. Simplify.
21414 (landmark-human-plays): Remove unused variable `score'.
21415
21416 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
21417 (mpuz-try-proposal): Remove unused variable `game'.
21418
21419 * play/zone.el (life-patterns): Declare.
21420
80f499c7
JB
214212011-04-20 Juanma Barranquero <lekktu@gmail.com>
21422
21423 * vc/vc.el (ediff-vc-internal): Declare function.
21424
024ff170
SM
214252011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
21426
c0a193ea
SM
21427 * shell.el: Use lexical-binding and std completion UI.
21428 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
21429 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
21430 comint-preoutput-filter-functions rather than on
21431 comint-output-filter-functions.
21432 (shell-command-completion, shell--command-completion-data)
21433 (shell-filename-completion, shell-environment-variable-completion)
21434 (shell-c-a-p-replace-by-expanded-directory): New functions.
21435 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
21436 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
21437 (shell-dynamic-complete-environment-variable): Use them.
21438 (shell-dynamic-complete-as-environment-variable)
21439 (shell-dynamic-complete-as-command): Remove.
21440 (shell-match-partial-variable): Match past point.
21441 * comint.el: Clean up use of completion-at-point-functions.
21442 (comint-completion-at-point): New function.
21443 (comint-mode): Use it completion-at-point-functions.
21444 (comint-dynamic-complete): Make it obsolete.
21445 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
21446 (comint-c-a-p-replace-by-expanded-history): New function.
21447 (comint-dynamic-complete-functions)
21448 (comint-replace-by-expanded-history): Use it.
21449 * minibuffer.el (completion-table-with-terminator): Allow dynamic
21450 termination strings. Try harder to avoid second try-completion.
21451 (completion-in-region-mode-map): Disable bindings that don't work yet.
21452
2dbaa080
SM
21453 * comint.el: Use lexical-binding. Require CL.
21454 (comint-dynamic-complete-functions): Use comint-filename-completion.
21455 (comint-completion-addsuffix): Tweak custom type.
21456 (comint-filename-completion, comint--common-suffix)
21457 (comint--common-quoted-suffix, comint--table-subvert)
21458 (comint--complete-file-name-data): New functions.
21459 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
21460 (comint-dynamic-list-filename-completions): Use them.
21461 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 21462
2dbaa080
SM
21463 * minibuffer.el (completion-in-region-mode):
21464 Keep completion-in-region-mode--predicate global.
21465 (completion-in-region--postch):
21466 Assume completion-in-region-mode--predicate is not null.
21467
c79a6f38
SM
21468 * progmodes/flymake.el (flymake-start-syntax-check-process):
21469 Obey `dir'. Simplify.
21470
024ff170
SM
21471 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
21472 we're in VC after all.
21473
1c6c854e
CS
214742011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
21475
21476 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 21477 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
21478 (vc-version-diff): Use vc-diff-build-argument-list-internal.
21479
bed7f140
SM
214802011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
21481
332e62ab
SM
21482 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
21483 add sanity check.
21484
bed7f140
SM
21485 * obsolete/erc-hecomplete.el: Make obsolete.
21486 * obsolete/: Standardize obsolescence info in the header.
21487
f195c582
GM
214882011-04-20 Glenn Morris <rgm@gnu.org>
21489
21490 * calendar/solar.el (solar-horizontal-coordinates):
21491 Use the longitude argument rather than `calendar-longitude'.
21492 (solar-date-next-longitude): Remove unused locals.
21493
cb79b8c0
VJL
214942011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
21495
21496 * whitespace.el: New version 13.2.1.
21497
214982011-04-20 felix <EmacsWiki> (tiny change)
21499
d8e4b68b 21500 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
21501 switching between major modes on a file.
21502
602ea69d
SM
215032011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
21504
21505 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
21506 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
21507 multi-line comments as well.
21508
06b60517
JB
215092011-04-19 Juanma Barranquero <lekktu@gmail.com>
21510
21511 Lexical-binding cleanup.
21512
21513 * arc-mode.el (archive-mode-revert):
21514 * cmuscheme.el (scheme-interactively-start-process):
21515 * custom.el (custom-initialize-delay):
21516 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
21517 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
21518 * emacs-lock.el (emacs-lock-clear-sentinel):
21519 * ezimage.el (defezimage):
21520 * follow.el (follow-avoid-tail-recenter):
21521 * fringe.el (set-fringe-mode-1):
21522 * generic-x.el (bat-generic-mode-compile):
21523 * help-mode.el (help-info-variable, help-do-xref)
21524 (help-mode-revert-buffer):
21525 * help.el (view-emacs-todo):
21526 * iswitchb.el (iswitchb-completion-help):
21527 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
21528 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
21529 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
21530 * locate.el (locate-update):
21531 * longlines.el (longlines-encode-region)
21532 (longlines-after-change-function):
21533 * outline.el (outline-isearch-open-invisible):
21534 * ps-def.el (declare-function, charset-dimension, char-width)
21535 (encode-char):
21536 * ps-mule.el (ps-mule-plot-string):
21537 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
21538 (recentf-edit-list-select, recentf-edit-list-validate)
21539 (recentf-open-files-action):
21540 * rect.el (delete-whitespace-rectangle-line)
21541 (rectangle-number-line-callback):
21542 * register.el (window-configuration-to-register)
21543 (frame-configuration-to-register):
21544 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
21545 * select.el (xselect-convert-to-string, xselect-convert-to-length)
21546 (xselect-convert-to-targets, xselect-convert-to-delete)
21547 (xselect-convert-to-filename, xselect-convert-to-charpos)
21548 (xselect-convert-to-lineno, xselect-convert-to-colno)
21549 (xselect-convert-to-os, xselect-convert-to-host)
21550 (xselect-convert-to-user, xselect-convert-to-class)
21551 (xselect-convert-to-name, xselect-convert-to-integer)
21552 (xselect-convert-to-atom, xselect-convert-to-identity):
21553 * subr.el (declare, ignore, process-kill-without-query)
21554 (text-clone-maintain):
21555 * terminal.el (te-get-char, te-tic-sentinel):
21556 * tool-bar.el (tool-bar-make-keymap):
21557 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
21558 * type-break.el (type-break-mode, type-break-noninteractive-query):
21559 * view.el (View-back-to-mark):
21560 * wid-browse.el (widget-browse-action, widget-browse-widget)
21561 (widget-browse-widgets, widget-browse-sexp):
21562 * widget.el (define-widget-keywords):
21563 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
21564 Mark unused parameters.
21565
21566 * align.el (align-adjust-col-for-rule): Mark unused parameter.
21567 (align-areas): Remove unused variable `look'.
21568 (align-region): Remove unused variables `real-end' and `pos-list'.
21569
21570 * apropos.el (apropos-score-doc): Remove unused variable `i'.
21571
21572 * bindings.el (mode-line-modified, mode-line-remote):
21573 Mark unused parameters.
21574 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
21575
21576 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
21577 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
21578
21579 * comint.el (comint-history-isearch-pop-state)
21580 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
21581 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
21582 (comint-substitute-in-file-name): Doc fix.
21583
21584 * completion.el (cmpl-statistics-block): Mark unused parameter.
21585 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
21586 (save-completions-to-file, load-completions-from-file):
21587 Remove unused local variable `e'.
21588
21589 * composite.el (compose-chars): Remove unused variable `len'.
21590 (lgstring-insert-glyph): Remove unused variable `g'.
21591 (compose-glyph-string): Remove unused variables `ascent',
21592 `descent', `lbearing' and `rbearing'.
21593 (compose-glyph-string-relative): Remove unused variables
21594 `lbearing', `rbearing' and `wadjust'.
21595 (compose-gstring-for-graphic): Remove unused variables `header',
21596 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
21597 (compose-gstring-for-terminal): Remove unused variables `header'
21598 and `nchars'. Use `let', not `let*'.
21599
21600 * cus-edit.el (Custom-set, Custom-save, custom-reset)
21601 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
21602 (Custom-buffer-done, custom-buffer-create-internal)
21603 (custom-browse-visibility-action, custom-browse-group-tag-action)
21604 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
21605 (widget-magic-mouse-down-action, custom-toggle-parent)
21606 (custom-add-parent-links, custom-toggle-hide-variable)
21607 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
21608 (custom-toggle-hide-face, face, hook, custom-group-link-action)
21609 (custom-face-menu-create, custom-variable-menu-create, get)
21610 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
21611 (custom-reset-standard-save-and-update): Remove unused variable `value'.
21612 (customize-apropos): Remove unused variable `tests'.
21613 (custom-group-value-create): Remove unused variable `hidden-p'.
21614 (sort-fold-case): Declare.
21615
21616 * cus-theme.el (custom-reset-standard-faces-list)
21617 (custom-reset-standard-variables-list): Declare.
21618 (customize-create-theme, custom-theme-revert, custom-theme-write)
21619 (custom-theme-choose-mode, customize-themes, custom-theme-save):
21620 Mark unused parameters.
21621
21622 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
21623
21624 * delim-col.el (delimit-columns-max): Move defvar before first use.
21625
21626 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 21627 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
21628
21629 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
21630 (auto-insert): Declare.
21631 (desktop-restore-file-buffer): Rename desktop-* parameters;
21632 mark unused ones.
21633 (desktop-create-buffer): Rename desktop-* parameters and bind them.
21634 (desktop-buffer): Rename desktop-* parameters.
21635
21636 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
21637 (dframe-reposition-frame-xemacs, dframe-help-echo)
21638 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
21639 Mark unused parameters.
21640
21641 * dired-aux.el (backup-extract-version-start, overwrite-query)
21642 (overwrite-backup-query, rename-regexp-query)
21643 (rename-non-directory-query): Declare.
21644 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
21645 (dired-add-entry): Remove unused variable `orig-file-name'.
21646 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
21647 Use parameter PRESERVE-TIME instead of accessing dynamic variable
21648 `dired-copy-preserve-time' directly.
21649 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
21650 (dired-insert-subdir-newpos): Rename unused variable `pos'.
21651
21652 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
21653 (dired-virtual-revert, dired-make-relative-symlink):
21654 Mark unused parameters.
21655 (manual-program): Declare.
21656 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
21657 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
21658 wrapped in `with-no-warnings' to avoid replacing one warning by another.
21659
21660 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
21661
21662 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
21663
21664 * echistory.el (electric-history-in-progress, Helper-return-blurb):
21665 Declare.
21666
21667 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
21668
21669 * electric.el (Electric-command-loop): Rename parameter
21670 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
21671
21672 * expand.el (expand-in-literal): Remove unused variable `here'.
21673
21674 * facemenu.el (facemenu-add-new-color):
21675 Remove unused variable `docstring'.
21676
21677 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
21678 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
21679 (face-attr-construct): Mark unused parameter. Doc fix.
21680 (read-color): Remove unused variable `hex-string'.
21681
21682 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
21683 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
21684 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
21685 (display-buffer-other-frame): Remove unused variable `old-window'.
21686 (kill-buffer-hook): Declare.
21687 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
21688 Mark unused parameters.
21689 (after-find-file): Pass 1 to `auto-save-mode', not t.
21690
21691 * files-x.el (auto-insert): Declare.
21692 (modify-file-local-variable-prop-line): Remove unused variable `val'.
21693
21694 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 21695 variable `buf'. Mark unused parameter.
06b60517
JB
21696 (find-lisp-insert-directory): Mark unused parameter.
21697
21698 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
21699 (format-encode-region): Remove unused variables `cur-buf' and `result'.
21700 (format-common-tail): Remove, unused.
21701 (format-deannotate-region): Remove unused variable `loc'.
21702 (format-annotate-region): Remove unused variable `p'.
21703 (format-annotate-single-property-change): Remove unused variables
21704 `default' and `tail'.
21705
21706 * forms.el (read-file-filter): Declare.
21707 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
21708
21709 * frame.el (frame-creation-function-alist): Mark unused parameter.
21710 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
21711
21712 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
21713 Remove unused parameters.
21714 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
21715 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
21716
21717 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
21718 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
21719 (hfy-prepare-tag-map): Mark unused parameters.
21720 (htmlfontify-buffer): Use `called-interactively-p'.
21721
21722 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
21723 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
21724 (ibuffer-do-occur): Mark unused parameters.
21725 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
21726 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
21727
21728 * ibuffer.el: Don't quote `lambda'.
21729 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
21730 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
21731 Mark unused parameters.
21732
21733 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
21734 (ido-completing-read): Mark unused parameters.
21735 (ido-copy-current-word): Mark unused parameters;
21736 remove unused variable `name'.
21737 (ido-sort-merged-list): Remove unused parameter `dirs'.
21738
21739 * ielm.el (ielm-input-sender): Mark unused parameter.
21740 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
21741 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
21742 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
21743 `ielm-string' as a dynamic variable accessible from the IELM prompt.
21744 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
21745
21746 * image-dired.el (image-dired-display-thumbs): Remove unused
21747 variables `curr-file' and `count'.
21748 (image-dired-remove-tag): Remove unused variable `start'.
21749 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
21750 variable `curr-file'
21751 (image-dired-rotate-original): Remove unused variable `temp-file'.
21752 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
21753 Remove unused variable `file'.
21754 (image-dired-gallery-generate): Remove unused variable `curr'.
21755 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
21756
21757 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
21758
21759 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
21760
21761 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
21762
21763 * isearch.el (minibuffer-history-symbol): Declare.
21764 (isearch-edit-string): Remove unused variable `err'.
21765 (isearch-message-prefix, isearch-message-suffix):
21766 Mark unused parameters.
21767
21768 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
21769
21770 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
21771
21772 * makesum.el (double-column): Remove unused variable `cnt'.
21773
21774 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
21775 (ido-ignore-item-temp-list): Declare.
21776
21777 * mouse-drag.el (mouse-drag-throw): Remove unused variables
21778 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
21779 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
21780 (mouse-drag-drag): Remove unused variables `mouse-delta' and
21781 `mouse-col-delta'.
21782
21783 * mouse-sel.el (mouse-extend-internal):
21784 Remove unused variable `orig-window-frame'.
21785
21786 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
21787 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
21788 Move declarations before first use.
21789 (pcomplete-opt): Mark unused parameters; doc fix.
21790
21791 * proced.el (proced-revert): Mark unused parameter.
21792 (proced-send-signal): Remove unused variable `err'.
21793
21794 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
21795 Rename parameter PREFIX-ARG to ARG.
21796 (ps-basic-plot-string, ps-basic-plot-whitespace):
21797 Mark unused parameters.
21798
21799 * replace.el (replace-count): Define.
21800 (occur-revert-function): Mark unused parameters.
21801 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
21802 (isearch-case-fold-search, isearch-string): Declare.
21803 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
21804 bind `case-fold-search'. Remove unused variables `beg' and `end',
21805 and simplify.
21806 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
21807 COUNT and bind `replace-count'.
21808 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
21809 to COUNT.
21810
21811 * savehist.el (print-readably, print-string-length): Declare.
21812
21813 * shadowfile.el (shadow-expand-cluster-in-file-name):
21814 Remove unused variable `cluster'.
21815 (shadow-copy-file): Remove unused variable `i'.
21816 (shadow-noquery, shadow-clusters, shadow-site-cluster)
21817 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
21818 (shadow-define-literal-group, shadow-define-regexp-group)
21819 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
21820
21821 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
21822 (shell): Use `called-interactively-p'.
21823 (shell-directory-tracker): Remove unused variable `chdir-failure'.
21824
21825 * simple.el (compilation-context-lines, comint-file-name-quote-list)
21826 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
21827 (delete-backward-char): Remove unused variable `ocol'.
21828 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
21829 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
21830 (event-apply-hyper-modifier, event-apply-shift-modifier)
21831 (event-apply-control-modifier, event-apply-meta-modifier):
21832 Mark unused parameters.
21833 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
21834 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
21835
21836 * speedbar.el (speedbar-ignored-directory-expressions)
21837 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
21838 (speedbar-find-file, speedbar-dir-follow)
21839 (speedbar-directory-buttons-follow, speedbar-tag-find)
21840 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
21841 (speedbar-buffers-line-directory, speedbar-buffer-click):
21842 Mark unused parameters.
21843 (speedbar-tag-file): Remove unused variable `mode'.
21844 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
21845
21846 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
21847
21848 * talk.el (talk): Remove unused variable `display'.
21849
21850 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
21851 (tar-write-region-annotate): Mark unused parameter.
21852
21853 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
21854 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
21855 Declare them, wrapped in `with-no-warnings' to avoid replacing one
21856 warning by another.
21857
21858 * time-stamp.el (time-stamp-string-preprocess):
21859 Remove unused variable `require-padding'.
21860
21861 * tree-widget.el (widget-glyph-enable): Declare.
21862 (tree-widget-action): Mark unused parameter.
21863
21864 * w32-fns.el (x-get-selection): Mark unused parameter.
21865 (autoload-make-program, generated-autoload-file): Declare.
21866
21867 * wdired.el (wdired-revert): Mark unused parameters.
21868 (wdired-xcase-word): Remove unused variable `err'.
21869
21870 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
21871 (whitespace-help-scroll): Remove unused variable `data-help'.
21872
21873 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
21874 (widget-image-insert, widget-after-change, default)
21875 (widget-default-format-handler, widget-default-notify)
21876 (widget-default-prompt-value, widget-info-link-action)
21877 (widget-url-link-action, widget-function-link-action)
21878 (widget-variable-link-action, widget-file-link-action)
21879 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
21880 (widget-field-prompt-internal, widget-field-action, widget-field-match)
21881 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
21882 (widget-insert-button-action, widget-delete-button-action, visibility)
21883 (widget-documentation-link-action, widget-documentation-string-action)
21884 (widget-const-prompt-value, widget-regexp-match, symbol)
21885 (widget-coding-system-prompt-value)
21886 (widget-key-sequence-value-to-external, sexp)
21887 (widget-sexp-value-to-internal, character, vector, cons)
21888 (widget-choice-prompt-value, widget-boolean-prompt-value)
21889 (widget-color--choose-action): Mark unused parameters.
21890 (widget-item-match-inline, widget-choice-match-inline)
21891 (widget-checklist-match, widget-checklist-match-inline)
21892 (widget-group-match): Rename parameter VALUES to VALS.
21893 (widget-field-value-set): Remove unused variable `size'.
21894 (widget-color-action): Remove unused variables `value' and `start'.
21895
21896 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 21897 variable `dir'. Doc fix.
06b60517
JB
21898 (windmove-find-other-window): Don't pass it.
21899
21900 * window.el (count-windows): Mark unused parameter.
21901 (bw-adjust-window): Remove unused variable `err'.
21902
21903 * woman.el (woman-file-name): Remove unused variable `default'.
21904 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
21905 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
21906 (global-font-lock-mode): Declare.
21907 (woman-decode-region): Mark unused parameter.
21908 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
21909
21910 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
21911 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
21912 (x-dnd-handle-moz-url): Remove unused variable `title'.
21913 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
21914
21915 * xml.el (xml-parse-tag, xml-parse-attlist):
21916 Remove unused variable `pos'.
21917
bc4f7f3d
GM
219182011-04-19 Glenn Morris <rgm@gnu.org>
21919
21920 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
21921 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
21922 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
21923 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
21924 * calendar/cal-html.el (cal-html-insert-minical):
21925 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
21926 (calendar-mark-date-pattern):
21927 Prefix "unused" locals.
21928
21929 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
21930 optional argument `style'.
21931
21932 * calendar/appt.el (appt-make-list):
21933 * calendar/cal-china.el (calendar-chinese-date-string):
21934 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
21935 (diary-hebrew-yahrzeit):
21936 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
21937 * calendar/calendar.el (calendar-generate-window):
21938 * calendar/time-date.el (time-to-days):
21939 Remove unused local variables.
21940
16a43933
CY
219412011-04-18 Chong Yidong <cyd@stupidchicken.com>
21942
21943 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
21944 glyphless-char-display table.
21945 (tabulated-list-glyphless-char-display): New var.
21946
7eed1860
SS
219472011-04-18 Sam Steingold <sds@gnu.org>
21948
21949 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
21950 to acknowledgments.
21951
4d2d1ccd
GM
219522011-04-17 Glenn Morris <rgm@gnu.org>
21953
21954 * calendar/diary-lib.el (diary-sexp-entry):
21955 * calendar/holidays.el (holiday-sexp):
21956 Set debug-on-error rather than the removed stack-trace-on-error.
21957
239da61d
GM
219582011-04-16 Glenn Morris <rgm@gnu.org>
21959
21960 * progmodes/f90.el: Use lexical-binding.
21961 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
21962
8b05752a
SM
219632011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
21964
daca8ba5
SM
21965 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
21966 (mail-mode): Setup mailalias completion here instead.
21967 * mail/mailalias.el: Use lexical-binding.
21968 (pattern, mailalias-done): Declare dynamic.
21969 (mail-completion-at-point-function): New function, from mail-complete.
21970 (mail-complete): Use it.
21971 (mail-completion-expand): New function.
21972 (mail-get-names): Use it.
21973 (mail-directory, mail-directory-process, mail-directory-stream):
21974 Don't use `pattern' for lexically bound arg.
21975
6f542485
SM
21976 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
21977
037e7c3f
SM
21978 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
21979 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
21980 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
21981
8b05752a
SM
21982 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
21983 (byte-save-window-excursion, byte-temp-output-buffer-setup)
21984 (byte-interactive-p): Define them again, for use when inlining
21985 old code.
21986
49093f60
JB
219872011-04-15 Juanma Barranquero <lekktu@gmail.com>
21988
21989 * loadup.el: Use `string-to-number', not `string-to-int'.
21990
b5b8e7de
SM
219912011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
21992
21993 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
21994 gud-gdb-complete-command.
21995 (gud-gdb-completions): New function, from gud-gdb-complete-command.
21996 (gud-gdb-completion-at-point): New function.
21997 (gud-gdb-completions): Remove.
21998
f42efeb5
MA
219992011-04-14 Michael Albinus <michael.albinus@gmx.de>
22000
49093f60
JB
22001 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
22002 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
22003 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
22004 whether `executable-find' is bound.
f42efeb5
MA
22005
22006 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
22007
e240cc21
SM
220082011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
22009
22010 * minibuffer.el (completion-in-region-mode-predicate)
22011 (completion-in-region-mode--predicate): New vars.
22012 (completion-in-region, completion-in-region--postch)
22013 (completion-in-region-mode): Use them.
22014 (completion--capf-wrapper): Also return the hook function.
22015 (completion-at-point, completion-help-at-point):
22016 Adjust and provide a predicate.
c2bd2ab0
SM
22017
22018 Preserve arg names for advice of subr and lexical functions (bug#8457).
22019 * help-fns.el (help-function-arglist): Consolidate the subr and
22020 new-byte-code cases. Add argument `preserve-names' to extract names
22021 from the docstring when needed.
22022 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
22023 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
22024 (ad-arglist): Use help-function-arglist's new arg.
22025 (ad-definition-type): Use cond.
22026
c183f693
JB
220272011-04-13 Juanma Barranquero <lekktu@gmail.com>
22028
06641a47
JB
22029 * autorevert.el (auto-revert-handler):
22030 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
22031 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
22032 Don't quote lambda.
22033
c183f693
JB
22034 * image-mode.el (image-transform-set-scale):
22035 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
22036
1e3b6001
G
220372011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
22038
22039 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 22040 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
22041 Upgrades via gnutls-cli are too slow to be done opportunistically.
22042
2d6af8dd
JB
220432011-04-12 Juanma Barranquero <lekktu@gmail.com>
22044
22045 * dframe.el (dframe-current-frame): Remove spurious quote.
22046
c0749a51
GM
220472011-04-12 Glenn Morris <rgm@gnu.org>
22048
088d0d61
GM
22049 * calendar/cal-tex.el (cal-tex-end-document):
22050 Try to automatically use latin1 input if needed.
22051
c0749a51
GM
22052 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
22053 Don't try to cons a mark onto an empty element.
22054
5c90fde0
LL
220552011-04-11 Leo Liu <sdl.web@gmail.com>
22056
22057 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
22058 buffers.
22059 (ido-kill-buffer-at-head): Support killing virtual buffers.
22060
369e974d
CY
220612011-04-10 Chong Yidong <cyd@stupidchicken.com>
22062
22063 * minibuffer.el (completion-show-inline-help): New var.
22064 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
22065 (minibuffer-force-complete, minibuffer-complete-word):
22066 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
22067
22068 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
22069 to avoid interference from inline help (Bug#5849).
22070
37f1c930
LL
220712011-04-10 Leo Liu <sdl.web@gmail.com>
22072
099c39a4
JB
22073 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
22074 Fix typo.
37f1c930 22075
a32d4040
CY
220762011-04-09 Chong Yidong <cyd@stupidchicken.com>
22077
22078 * image-mode.el (image-toggle-display-image): Signal an error if
22079 not in Image mode.
22080 (image-transform-mode, image-transform-resize)
22081 (image-transform-set-rotation): Doc fix.
daca8ba5 22082 (image-transform-set-resize): Delete.
a32d4040
CY
22083 (image-transform-set-scale, image-transform-fit-to-height)
22084 (image-transform-fit-to-width): Handle image-toggle-display-image
22085 and image-transform-resize directly.
22086
099c39a4 220872011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
22088
22089 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
22090 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
22091 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
22092 (doc-view-mode-map): Add bindings for the new functions.
22093
099c39a4 220942011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 22095
4d61f28d 22096 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
22097 Fix typo in docstring.
22098
3726838a
EZ
220992011-04-08 Eli Zaretskii <eliz@gnu.org>
22100
04f33f1e
EZ
22101 * files.el (file-size-human-readable): Produce one digit after
22102 decimal, like "ls -lh" does.
22103
22104 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
22105 the file size representation.
22106
3726838a
EZ
22107 * simple.el (list-processes): If async subprocesses are not
22108 available, error out with a clear error message.
22109
cbb59342
CY
221102011-04-08 Chong Yidong <cyd@stupidchicken.com>
22111
22112 * help.el (help-form-show): New function, to be called from C.
22113 Put help-form output in a buffer named differently than *Help*.
22114
e3971c44
EZ
221152011-04-08 Eli Zaretskii <eliz@gnu.org>
22116
22117 * files.el (file-size-human-readable): New function.
22118
22119 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
22120 computing the representation inline. Don't require `cl'.
22121
12544bbe
GM
221222011-04-08 Glenn Morris <rgm@gnu.org>
22123
a1de6c6a
GM
22124 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
22125
3c4671f4
GM
22126 * net/browse-url.el (browse-url-firefox):
22127 Test system-type, not system-configuration.
22128
b605679c
GM
22129 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
22130 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
22131 Use log-edit-empty-buffer-p. (Bug#7598)
22132
56442f0c
GM
22133 * net/rlogin.el (rlogin-process-connection-type): Simplify.
22134 (rlogin-mode-map): Initialize in the defvar.
22135 (rlogin): Use ignore-errors.
22136
12544bbe
GM
22137 * replace.el (occur-mode-map): Some fixes for menu items.
22138
eb237b0f
AH
221392011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
22140
22141 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
22142
7d668f2c
CY
221432011-04-06 Chong Yidong <cyd@stupidchicken.com>
22144
e67a13ab
CY
22145 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
22146 issuing unused warnings.
22147
22148 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
22149 macro directly.
22150
7d668f2c
CY
22151 * simple.el: Lisp reimplement of list-processes. Based on an
22152 earlier reimplementation by Leo Liu, but using tabulated-list.el.
22153 (process-menu-mode): New major mode.
22154 (list-processes--refresh, list-processes):
22155 (process-menu-visit-buffer): New functions.
22156
22157 * files.el (save-buffers-kill-emacs): Don't assume any return
22158 value of list-processes, which is undocumented anyway.
22159
a83ec3c9
CY
221602011-04-06 Chong Yidong <cyd@stupidchicken.com>
22161
22162 * emacs-lisp/tabulated-list.el: New file.
22163
e91a96fe
CY
22164 * emacs-lisp/package.el: Use Tabulated List mode.
22165 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
22166 (package-menu-mode): Derive from tabulated-list-mode. Set up the
22167 table format using Tabulated List mode variables.
22168 (package--push): New macro, replacing package-list-maybe-add.
22169 (package-menu--generate): Use package--push. Renamed from
22170 package--generate-package-list.
22171 (package-menu-refresh, list-packages): Use it.
daca8ba5 22172 (package-menu--print-info): Rename from package-print-package.
e91a96fe 22173 Return insertion data instead of inserting it directly.
099c39a4
JB
22174 (package-menu-describe-package, package-menu-execute):
22175 Use tabulated-list-get-id.
e91a96fe
CY
22176 (package-menu-mark-delete, package-menu-mark-install)
22177 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
22178 (package-menu-mark-obsolete-for-deletion):
22179 Use tabulated-list-put-tag.
e91a96fe
CY
22180 (package--list-packages, package-menu-revert)
22181 (package-menu-get-package, package-menu-get-version)
22182 (package-menu-sort-by-column): Functions deleted.
22183 (package-menu-package-list, package-menu-sort-key): Vars deleted.
22184 (package-menu--status-predicate, package-menu--version-predicate)
22185 (package-menu--name-predicate)
22186 (package-menu--description-predicate): Handle arguments in the
22187 Tabulated List format.
22188 (package-list-packages-no-fetch): Call list-packages.
22189
3e214b50
JB
221902011-04-06 Juanma Barranquero <lekktu@gmail.com>
22191
22192 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 22193 (after-find-file): Don't bind it.
3e214b50
JB
22194 (revert-buffer-in-progress-p): New variable.
22195 (revert-buffer): Bind it.
22196 Pass nil for `after-find-file-from-revert-buffer'.
22197
22198 * saveplace.el (save-place-find-file-hook): Use new variable
22199 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
22200
3f0f1700
GM
222012011-04-06 Glenn Morris <rgm@gnu.org>
22202
c0274801
GM
22203 * Makefile.in (AUTOGEN_VCS): New variable.
22204 (autoloads): Use $AUTOGEN_VCS.
22205
3f0f1700
GM
22206 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
22207 * calendar/calendar.el (calendar-mode-map):
22208 Check for toolkit scroll bars. (Bug#8305)
22209
41ea9e48
CY
222102011-04-05 Chong Yidong <cyd@stupidchicken.com>
22211
22212 * minibuffer.el (completion-in-region--postch)
22213 (completion-in-region-mode): Remove unnecessary messages.
22214
6194c800
JB
222152011-04-05 Juanma Barranquero <lekktu@gmail.com>
22216
33256f14
JB
22217 * font-lock.el (font-lock-refresh-defaults):
22218 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
22219 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
22220
6194c800
JB
22221 * info.el (Info-directory-list, Info-read-node-name-2)
22222 (Info-split-parameter-string): Doc fixes.
22223 (Info-virtual-nodes): Reflow docstring.
22224 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
22225 (Info-apropos-toc-nodes, info-finder, Info-get-token)
22226 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
22227 Fix typos in docstrings.
22228 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
22229 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
22230 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
22231 (Info-restore-desktop-buffer): Mark unused parameters.
22232 (Info-directory-find-file, Info-directory-find-node)
22233 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
22234 (Info-virtual-index-find-node, Info-apropos-find-file)
22235 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 22236 Mark unused parameters; fix typos in docstrings.
6194c800
JB
22237 (Info-virtual-index): Remove unused local variable `nodename'.
22238
b87a8200 222392011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 22240
b87a8200
DD
22241 * net/rcirc.el: Update my e-mail address.
22242 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 22243
3b2ff876
CY
222442011-04-05 Chong Yidong <cyd@stupidchicken.com>
22245
22246 * startup.el (command-line): Save the cursor's theme-face
22247 directly, instead of using face-override-spec.
22248
22249 * custom.el (load-theme): Minor optimization in assigning faces.
22250
8d17e7ca
JB
222512011-04-04 Juanma Barranquero <lekktu@gmail.com>
22252
22253 * help-fns.el (describe-variable): Complete all variables having
22254 documentation, including keywords.
22255 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
22256
2fbc1934
JB
222572011-04-04 Juanma Barranquero <lekktu@gmail.com>
22258
22259 Convert to lexical-binding.
22260
22261 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
22262 (bs--get-marked-string, bs--get-modified-string)
22263 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
22264 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
22265 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
22266
22267 * ehelp.el (electric-help-execute-extended)
22268 (electric-help-ctrl-x-prefix):
22269 * hexl.el (hexl-revert-buffer-function):
22270 * linum.el (linum-after-change, linum-after-scroll):
22271 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
22272
22273 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
22274
74f50695
DU
222752011-04-04 Daiki Ueno <ueno@unixuser.org>
22276
22277 * epa-dired.el:
22278 * epa-mail.el:
22279 * epa-hook.el:
22280 * epa-file.el:
22281 * epa.el:
22282 * epg.el: Use lexical binding.
22283
c11325f7
CY
222842011-04-03 Chong Yidong <cyd@stupidchicken.com>
22285
0d9e9a12
CY
22286 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
22287
c11325f7 22288 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
22289 dictionary case for flyspell-mark-duplications-exceptions.
22290 Use regexp matching for languages.
c11325f7
CY
22291 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
22292 default dictionary (Bug#7926).
22293
da91b5f2
CY
222942011-04-02 Chong Yidong <cyd@stupidchicken.com>
22295
099c39a4
JB
22296 * emacs-lisp/package.el (package--with-work-buffer):
22297 Recognize https URLs.
da91b5f2 22298
099c39a4
JB
22299 * net/network-stream.el: Move from gnus/proto-stream.el.
22300 Change prefix to network-stream throughout.
da91b5f2
CY
22301 (open-protocol-stream): Merge into open-network-stream, leaving
22302 open-protocol-stream as an alias. Handle nil BUFFER args.
22303
22304 * subr.el (open-network-stream): Move to net/network-stream.el.
22305
afa8e9f6
GM
223062011-04-02 Glenn Morris <rgm@gnu.org>
22307
1d2e369d
GM
22308 * find-dired.el (find-exec-terminator): New option.
22309 (find-ls-option): Test for -ls support.
22310 (find-ls-subdir-switches): Test for -b in find-ls-option.
22311 (find-dired, find-grep-dired): Doc fixes.
22312 (find-dired): Use find-exec-terminator.
22313
8abb7da8 22314 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
22315 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
22316 (find-name-arg): Remove purecopy.
8abb7da8 22317
f3ca7378
GM
22318 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
22319 (grep-compute-defaults): Check for `-exec COMMAND +' support.
22320 Set grep-find-use-xargs, grep-find-command, and grep-find-template
22321 accordingly. Don't add the null-device if not needed.
22322
afa8e9f6
GM
22323 * files.el (save-some-buffers): Doc fix.
22324
35eae264
EZ
223252011-04-02 Eli Zaretskii <eliz@gnu.org>
22326
22327 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
22328
26b51db5
JB
223292011-04-01 Juanma Barranquero <lekktu@gmail.com>
22330
22331 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
22332 Use `dolist' rather than `mapcar'.
22333
7200d79c
SM
223342011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
22335
03408648 22336 Add lexical binding.
7200d79c 22337
03408648
SM
22338 * subr.el (apply-partially): Use new closures rather than CL.
22339 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
22340 (dolist, dotimes): Use slightly different expansion for lexical code.
22341 (functionp): Move to C.
22342 (letrec): New macro.
22343 (with-wrapper-hook): Use it and apply-partially instead of CL.
22344 (eval-after-load): Preserve lexical-binding.
22345 (save-window-excursion, with-output-to-temp-buffer): Turn them
22346 into macros.
7200d79c 22347
03408648
SM
22348 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
22349
22350 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
22351 than the arglist.
22352 (help-add-fundoc-usage): Don't add `Not documented'.
22353 (help-function-arglist): Handle closures, subroutines, and new
22354 byte-code-functions.
22355 (help-make-usage): Remove leading underscores.
22356 (describe-function-1): Handle closures.
22357 (describe-variable): Use special-variable-p for completion.
22358
22359 * files.el (lexical-binding): Declare safe.
f488fb65 22360
03408648
SM
22361 * emacs-lisp/pcase.el: Don't use destructuring-bind.
22362 (pcase--memoize): Rename from pcase-memoize. Change weakness.
22363 (pcase): Add `let' pattern.
22364 Change memoization so it actually works.
22365 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
22366 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
22367 <let>: New case.
f488fb65 22368
03408648
SM
22369 * emacs-lisp/macroexp.el: Use lexical binding.
22370 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
22371 Don't convert ' to #' without checking that it's indeed quoting
22372 a lambda.
22373
22374 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 22375 Use eval-sexp-add-defvars.
03408648
SM
22376 (eval-sexp-add-defvars): New fun.
22377
22378 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
22379
22380 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
22381 Don't autoload.
22382 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
22383 than the internal `byte-compile-lambda'.
22384 (defmethod): Don't hide code under quotes.
22385 (eieio-defmethod): New `code' argument.
22386
22387 * emacs-lisp/eieio-comp.el: Remove.
22388
22389 * emacs-lisp/edebug.el (edebug-eval-defun)
22390 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
22391 (edebug-toggle): Avoid `eval'.
22392
22393 * emacs-lisp/disass.el (disassemble-internal): Handle new
22394 `closure' objects.
22395 (disassemble-1): Handle new byte codes.
22396
22397 * emacs-lisp/cl.el (pushnew): Silence warning.
22398
22399 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
22400 (cl-byte-compile-throw): Remove.
22401 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
22402
22403 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
22404 closures.
22405
22406 * emacs-lisp/cconv.el: New file.
22407
22408 * emacs-lisp/bytecomp.el: Use lexical binding instead of
22409 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
22410 (byte-compile-initial-macro-environment):
22411 Handle declare-function here.
22412 (byte-compile--lexical-environment): New var.
22413 (byte-stack-ref, byte-stack-set, byte-discardN)
22414 (byte-discardN-preserve-tos): New lap codes.
22415 (byte-interactive-p): Don't use any more.
22416 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
22417 New macros.
22418 (byte-compile-lapcode): Use them and handle new lap codes.
22419 (byte-compile-obsolete): Remove.
22420 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
22421 (byte-compile-arglist-warn): Check late def of inlinable funs.
22422 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
22423 since they should have been expanded by now.
22424 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
22425 (byte-compile-from-buffer): Remove unused second arg.
22426 (byte-compile-preprocess): New function.
22427 (byte-compile-toplevel-file-form): New function to distinguish
22428 file-form calls from outside from file-form calls from hunk-handlers.
22429 (byte-compile-file-form): Simplify.
22430 (byte-compile-file-form-defsubst): Remove.
22431 (byte-compile-file-form-defmumble): Simplify now that
22432 byte-compile-lambda always returns a byte-code-function.
22433 (byte-compile): Preprocess.
22434 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
22435 Remove, not used any more.
22436 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
22437 (byte-compile-make-args-desc): New funs.
22438 (byte-compile-lambda): Handle lexical functions. Always return
22439 a byte-code-function.
22440 (byte-compile-reserved-constants): New var, to make up room for
22441 closed-over variables.
22442 (byte-compile-constants-vector): Obey it.
22443 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
22444 (byte-compile-macroexpand-declare-function): New function.
22445 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
22446 byte-code-functions.
22447 (byte-compile-form): Check obsolescence here.
22448 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
22449 (byte-compile-variable-ref): Remove.
22450 (byte-compile-dynamic-variable-op): New fun.
22451 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
22452 (byte-compile-variable-set): New funs.
22453 (byte-compile-discard): Add 2 args.
22454 (byte-compile-stack-ref, byte-compile-stack-set)
22455 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
22456 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
22457 macroexpand-all instead.
22458 (byte-compile-quote-form): Remove.
22459 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
22460 (byte-compile-bind, byte-compile-unbind): New funs.
22461 (byte-compile-let): Handle let* and lexical binding.
22462 (byte-compile-let*): Remove.
22463 (byte-compile-catch, byte-compile-unwind-protect)
22464 (byte-compile-track-mouse, byte-compile-condition-case):
22465 Handle a new :fun-body form, used for lexical scoping.
22466 (byte-compile-save-window-excursion)
22467 (byte-compile-with-output-to-temp-buffer): Remove.
22468 (byte-compile-defun): Simplify.
22469 (byte-compile-stack-adjustment): New fun.
22470 (byte-compile-out): Use it.
22471 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
22472
22473 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
22474 handler any more.
22475
22476 * emacs-lisp/byte-opt.el: Use lexical binding.
22477 (byte-inline-lapcode): Remove (to bytecomp).
22478 (byte-compile-inline-expand): Pay attention to inlining to/from
22479 lexically bound code.
22480 (byte-compile-unfold-lambda): Don't handle byte-code-functions
22481 any more.
22482 (byte-optimize-form-code-walker): Don't handle save-window-excursion
22483 any more and don't call compiler-macros.
22484 (byte-compile-splice-in-already-compiled-code): Remove.
22485 (byte-code): Don't inline any more.
22486 (disassemble-offset): Receive `bytes' as argument rather than via
22487 dynamic scoping.
22488 (byte-compile-tag-number): Declare before first use.
22489 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
22490 `return' even if make-spliceable.
22491 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
22492 obsolete interactive-p.
22493 (byte-optimize-lapcode): Optimize new lap-codes.
22494 Don't trip up on new form of `byte-constant' lap code.
22495
22496 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
22497
22498 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
22499
22500 * custom.el (custom-initialize-default, custom-declare-variable):
22501 Use `defvar'.
22502
22503 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
22504 New variables.
22505 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
22506 (COMPILE_FIRST): Add macroexp and cconv.
22507 * makefile.w32-in: Mirror changes in Makefile.in.
22508
22509 * vc/cvs-status.el:
22510 * vc/diff-mode.el:
22511 * vc/log-edit.el:
22512 * vc/log-view.el:
22513 * vc/smerge-mode.el:
22514 * textmodes/bibtex-style.el:
090bd7cb 22515 * textmodes/css-mode.el:
03408648
SM
22516 * startup.el:
22517 * uniquify.el:
da91b5f2
CY
22518 * minibuffer.el:
22519 * newcomment.el:
22520 * reveal.el:
22521 * server.el:
22522 * mpc.el:
22523 * emacs-lisp/smie.el:
22524 * doc-view.el:
22525 * dired.el:
03408648
SM
22526 * abbrev.el: Use lexical binding.
22527
0f0c1f27
EZ
225282011-04-01 Eli Zaretskii <eliz@gnu.org>
22529
22530 * info.el (info-display-manual): New function.
22531
c82b2579
SM
225322011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
22533
22534 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
22535
221ddf68
TH
225362011-03-31 Tassilo Horn <tassilo@member.fsf.org>
22537
22538 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 22539 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 22540
cba6e77e
GM
225412011-03-31 Glenn Morris <rgm@gnu.org>
22542
e040639f
GM
22543 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
22544
cba6e77e
GM
22545 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
22546
6d0f1c9e
CS
225472011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
22548
22549 * progmodes/python.el (python-default-interpreter)
22550 (python-python-command-args, python-jython-command-args)
22551 (python-which-shell, python-which-args, python-which-bufname)
22552 (python-file-queue, python-comint-output-filter-function)
22553 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
22554 variables and functions.
22555
3e2d70fd
SM
225562011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
22557
22558 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
22559 (completion-in-region-mode): New minor mode.
22560 (completion-in-region): Use it.
22561 (completion-in-region--data, completion-in-region-mode-map): New vars.
22562 (completion-in-region--postch): New function.
22563 (completion--capf-misbehave-funs, completion--capf-safe-funs):
22564 New vars.
22565 (completion--capf-wrapper): New function.
22566 (completion-at-point): Use it to track well-behavedness of
22567 hook functions.
22568 (completion-help-at-point): New command.
22569
f3e4086c
JM
225702011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
22571
22572 * vc/add-log.el (add-change-log-entry): Don't use whitespace
22573 syntax class to search for whitespace on a single line
22574 (Message-ID: <4D938140.4030905@redhat.com>).
22575
eb7ffc14
LL
225762011-03-30 Leo Liu <sdl.web@gmail.com>
22577
22578 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
22579 New commands.
22580 (edit-abbrevs-map): Bind them here.
22581 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
22582
d806ab68
KM
225832011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
22584
22585 * allout.el (allout-hide-by-annotation, allout-flag-region):
22586 Reduce possibility of overlay leakage by making them volatile.
22587
22588 * allout-widgets.el (allout-widgets-tally): Define as nil so the
22589 hash is not shared between buffers. Mode initialization is
22590 responsible for giving it a useful starting value.
22591 (allout-item-span): Reduce possibility of overlay leakage by
22592 making them volatile.
22593 (allout-widgets-count-buttons-in-region): Add diagnostic function
22594 for tracking down button overlay leaks.
22595
ea622834
LL
225962011-03-29 Leo Liu <sdl.web@gmail.com>
22597
22598 * ido.el (ido-read-internal): Use the default history var
22599 minibuffer-history if no HISTORY is specified.
22600
b62f8267
G
226012011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
22602
03408648
SM
22603 * net/imap.el (imap-shell-open, imap-process-connection-type):
22604 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
22605 Kerberos, SSL, other subprocesses.
22606
947b6566
LL
226072011-03-28 Leo Liu <sdl.web@gmail.com>
22608
22609 * abbrev.el (abbrev-table-empty-p): New function.
22610 (prepare-abbrev-list-buffer): Place empty abbrev tables after
22611 nonempty ones. (Bug#5937)
22612
5ffb62aa
JD
226132011-03-27 Jan Djärv <jan.h.d@swipnet.se>
22614
22615 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
22616
7a097943
LL
226172011-03-27 Leo Liu <sdl.web@gmail.com>
22618
22619 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
22620 for foreground and background colors.
22621 (ansi-color-make-color-map): Adapt.
22622
c5b40130
LL
226232011-03-25 Leo Liu <sdl.web@gmail.com>
22624
1f48f7d2
LL
22625 * midnight.el (midnight-time-float): Remove. Note it calculates
22626 the microsecond component incorrectly and seconds-to-time does the
22627 same job.
625897ec 22628 Remove redundant (require 'timer).
1f48f7d2 22629
c5b40130
LL
22630 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
22631 (ido-completions): Remove unused arguments. (Bug#8329)
22632
d86d2721
SM
226332011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
22634
22635 * minibuffer.el (completion--flush-all-sorted-completions):
22636 Remove itself from hook.
22637 (completion-at-point): Let the functions perform the completion
22638 immediately and return nil or t.
22639 * comint.el (comint-dynamic-complete-functions): Now identical to
22640 completion-at-point-functions.
22641 (comint-dynamic-list-input-ring): Remove unused var `index'.
22642 (comint--match-partial-filename, comint--unquote&expand-filename):
22643 New funs, split from comint-match-partial-filename.
22644 (comint-dynamic-complete): Use completion-at-point.
22645 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
22646
e8974c48
DA
226472011-03-24 Drew Adams <drew.adams@oracle.com>
22648
22649 * thingatpt.el: Support `defun'.
22650
def71b5e
LL
226512011-03-23 Leo Liu <sdl.web@gmail.com>
22652
cb5af48e
LL
22653 * abbrevlist.el: Move to obsolete/abbrevlist.el.
22654
def71b5e
LL
22655 * help-mode.el (help-mode-finish): Tweak regexp.
22656
927c53e7
GM
226572011-03-23 Glenn Morris <rgm@gnu.org>
22658
18d05bed
GM
22659 * eshell/esh-opt.el (eshell-eval-using-options):
22660 Do not bind unused local variable `eshell-option-stub'.
22661
927c53e7
GM
22662 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
22663
9d0da923
JB
226642011-03-22 Juanma Barranquero <lekktu@gmail.com>
22665
22666 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
22667 keymap variable in `with-no-warnings' to avoid a warning when the
22668 keymap has been already `defconst'ed.
22669
4b978a67
LL
226702011-03-22 Leo Liu <sdl.web@gmail.com>
22671
22672 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
22673 encode all chars in abbrevs; otherwise use emacs-mule or
22674 utf-8-emacs. (Bug#8308)
22675
5fd62452
JB
226762011-03-22 Juanma Barranquero <lekktu@gmail.com>
22677
0b1596c6
JB
22678 * simple.el (backward-delete-char-untabify):
22679 Avoid warning about using `delete-backward-char'.
22680
5fd62452
JB
22681 * image.el (image-type-file-name-regexps): Make it variable.
22682 `imagemagick-register-types' modifies it, and the user may want
22683 to add new extensions for known image types.
22684 (imagemagick-register-types): Throw error if not using ImageMagick.
22685
0b4e93f1
LL
226862011-03-22 Leo Liu <sdl.web@gmail.com>
22687
22688 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
22689 located before rcirc-prompt-end-marker.
22690 (rcirc-complete): Error if point is not after rcirc prompt.
22691 Handle the case when table is nil.
9882e214 22692 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 22693
fccee4ab
CY
226942011-03-22 Chong Yidong <cyd@stupidchicken.com>
22695
22696 * custom.el (custom--inhibit-theme-enable): Make it affect only
22697 custom-theme-set-variables and custom-theme-set-faces.
22698 (provide-theme): Ignore custom--inhibit-theme-enable.
22699 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
22700 (custom-enabling-themes): Delete variable.
d86d2721
SM
22701 (enable-theme): Accept only loaded themes as arguments.
22702 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
22703 (custom-enabled-themes): Forbid themes from setting this.
22704 Eliminate use of custom-enabling-themes.
22705 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 22706
af896da6
LL
227072011-03-21 Leo Liu <sdl.web@gmail.com>
22708
22709 * ido.el (ido-read-internal): Add ido-selected to history instead
22710 of user input.
22711
78f64af0
SM
227122011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
22713
22714 * subr.el (deferred-action-list, deferred-action-function):
22715 Mark obsolete.
22716
b16ac1ec
LL
227172011-03-21 Leo Liu <sdl.web@gmail.com>
22718
810f7698
LL
22719 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
22720 change on 2011-02-13 (bug#8309).
22721
b16ac1ec
LL
22722 * minibuffer.el (read-file-name-function): Change default value.
22723 (read-file-name--defaults): Rename from read-file-name-defaults.
22724 (read-file-name-default): Rename from read-file-name.
22725 (read-file-name): Call read-file-name-function.
22726
4e05e67e
GM
227272011-03-21 Glenn Morris <rgm@gnu.org>
22728
22729 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
22730 Doc fixes.
22731
4359915b
CY
227322011-03-21 Chong Yidong <cyd@stupidchicken.com>
22733
22734 * cus-theme.el: Add missing provide statement.
22735 (customize-create-theme): Extract theme value correctly.
22736 (custom-theme-visit-theme): Autoload.
22737 (customize-create-theme): Prompt before inserting default faces.
22738
1fe275ee
JB
227392011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
22740
22741 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
22742 units and musical notes.
22743
cd394be1 227442011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
22745
22746 * ido.el (ido-read-internal): Use completing-read-default.
22747 (ido-completing-read): Fix compatibility with completing-read.
22748
7d476bde
CO
227492011-03-20 Christian Ohler <ohler@gnu.org>
22750
22751 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
22752 (ert-delete-all-tests): Use `called-interactively-p' rather than
22753 `interactive-p'.
22754 (ert--make-xrefs-region): Respect END.
22755
fe0fb33e
CY
227562011-03-19 Chong Yidong <cyd@stupidchicken.com>
22757
ff854b0b
CY
22758 * dired-aux.el (dired-create-directory): Signal an error if the
22759 directory already exists (Bug#8246).
22760
fe0fb33e
CY
22761 * facemenu.el (list-colors-display): Call list-faces-display
22762 inside with-help-window.
22763 (list-colors-print): Use display property to align the final
22764 column, instead of checking window-width.
22765
576bce32
EZ
227662011-03-19 Eli Zaretskii <eliz@gnu.org>
22767
4d61f28d 22768 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
22769 windows-nt systems.
22770 (emerge-protect-metachars): Quote correctly for ms-dos and
22771 windows-nt systems.
22772
89c41d68 227732011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
22774
22775 * info.el (info-initialize): Replace all uses of `:' with
22776 path-separator for compatibility with non-Unix systems.
22777 Cache quoting of path-separator. (Bug#8258)
22778
b14e3e21 227792011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
22780
22781 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
22782 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
22783 (mouse-avoidance-mode): Fix typos in docstrings.
22784
4525ce3e
CY
227852011-03-19 Chong Yidong <cyd@stupidchicken.com>
22786
22787 * startup.el (package-subdirectory-regexp): Move from package.el.
22788 Omit \\` and \\', and let callers add them.
22789
22790 * emacs-lisp/package.el (package-strip-version)
22791 (package-load-all-descriptors): Add \\` and \\' to
22792 package-subdirectory-regexp before using it.
22793 (package-untar-buffer): New arg DIR; ensure that file untars only
22794 into this expected directory. Remove superfluous delete-region.
22795 (package-unpack): Caller changed.
22796 (package-tar-file-info): Use package-subdirectory-regexp.
22797
a904a09a 227982011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 22799
a904a09a
SM
22800 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
22801 diff-mode-shared-map (bug#8284).
22802 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
22803
228042011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
22805
22806 * calendar/time-date.el (format-seconds): Use assoc instead of
22807 assoc-string, since assoc-string doesn't exist in XEmacs.
22808
171fc304
JB
228092011-03-17 Juanma Barranquero <lekktu@gmail.com>
22810
22811 * custom.el (custom-known-themes): Reflow docstring.
22812 (custom-theme-load-path): Fix typo in docstring.
22813 (load-theme): Fix typo in error message.
22814 (custom-available-themes, custom-variable-theme-value):
22815 Use `let', not `let*'.
22816
d71990a1
JB
228172011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
22818
22819 * calc/README: Mention inclusion of musical notes.
22820
22821 * calc/calc-units.el (calc-lu-quant): Rename from
22822 `calc-logunits-quantity'.
22823 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
22824 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
22825 (calc-db): Rename from `calc-dblevel'.
22826 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
22827 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
22828 (calc-np): Rename from `calc-nplevel'.
22829 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
22830 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
22831 (calc-lu-plus): Rename from `calc-logunits-add'.
22832 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
22833 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
22834 (calc-lu-minus): Rename from `calc-logunits-sub'.
22835 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
22836 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
22837 (calc-lu-times): Rename from `calc-logunits-mul'.
22838 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
22839 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
22840 (calc-lu-divide): Rename from `calc-logunits-div'.
22841 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
22842 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
22843
22844 * calc/calc-ext.el (calc-init-extensions): Update the names of the
22845 functions being autoloaded.
22846
22847 * calc/calc.el (calc-lu-power-reference): Rename from
22848 `calc-logunits-power-reference'.
22849 (calc-lu-field-reference): Rename from
22850 `calc-logunits-field-reference'.
22851
7a71b18d
GM
22852 * calc/calc-help.el (calc-l-prefix-help):
22853 Mention musical note functions.
d71990a1 22854
40c2934b
SM
228552011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
22856
22857 * minibuffer.el (completion-all-sorted-completions):
22858 Use :completion-cycle-penalty text property if present.
22859
b0911414
KM
228602011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
22861
22862 * allout.el (allout-yank-processing): Adjust for new rebulleting
22863 regime so bullet being yanked is used without prompting the user
22864 for a choice.
22865
8a05b668
JB
228662011-03-16 Juanma Barranquero <lekktu@gmail.com>
22867
22868 * startup.el (command-line): Warn the user that _emacs is deprecated.
22869
5ba5fb81
JB
228702011-03-16 Juanma Barranquero <lekktu@gmail.com>
22871
22872 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
22873 (delphi-verbose, delphi-comment-face, delphi-string-face)
22874 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
22875 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
22876 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
22877 (delphi-new-comment-line, delphi-font-lock-defaults)
22878 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
22879 Fix typos in docstrings.
22880
2dab465b
KM
228812011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
22882
5ba5fb81 22883 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
22884 Invert the roles of character and string values for INSTEAD, so a
22885 string is used for the more common case of a defaulting prompt.
22886
0adf5618
SM
228872011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
22888
22889 * progmodes/ruby-mode.el (ruby-backward-sexp):
22890 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
22891 * play/gamegrid.el (gamegrid-make-face):
22892 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
22893 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
22894 * notifications.el (notifications-notify):
22895 * net/xesam.el (xesam-search-engines):
22896 * net/quickurl.el (quickurl-list-insert):
22897 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
22898
d72700e5
CY
228992011-03-15 Chong Yidong <cyd@stupidchicken.com>
22900
22901 * startup.el (command-line): Update package subdirectory regexp.
22902
49c5410a
SM
229032011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
22904
c6eee9aa
SM
22905 * allout.el (allout-abbreviate-flattened-numbering)
22906 (allout-mode-deactivate-hook): Fix up obsolescence "date".
22907
49c5410a
SM
22908 * subr.el (read-char-choice): Only show the cursor after the prompt,
22909 not after the answer.
22910
047b2bb9
KR
229112011-03-15 Kevin Ryde <user42@zip.com.au>
22912
22913 * help-fns.el (variable-at-point): Skip leading quotes, if any
22914 (bug#8253).
22915
0a57d256
SM
229162011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
22917
22918 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
22919 warning message.
22920
77c992bc
MA
229212011-03-14 Michael Albinus <michael.albinus@gmx.de>
22922
22923 * shell.el (shell): When called interactively, offer to change the
22924 shell file name on remote hosts.
22925
eebc475d
TZ
229262011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
22927
22928 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
22929 integration for LDAP parameters. The host, base, user or binddn,
22930 and secret tokens can be specified in a netrc file, for instance.
22931 This is optional because an `auth-source' parameter must be
22932 specified in the search attributes.
22933
9d05d1ba
JB
229342011-03-13 Juanma Barranquero <lekktu@gmail.com>
22935
22936 * help.el (describe-mode): Link to the mode's definition (bug#8185).
22937
09d9db2c
GM
229382011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
22939
22940 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
22941 into declaration. Remove redundant and harmful binding.
22942
229432011-03-12 Eli Zaretskii <eliz@gnu.org>
22944
22945 * files.el (file-ownership-preserved-p): Pass `integer' as an
22946 explicit 2nd argument to `file-attributes'. If the file's owner
22947 is the Administrators group on Windows, and the current user is
22948 Administrator, consider that a match.
22949
22950 * server.el (server-ensure-safe-dir): Consider server directory
22951 safe on MS-Windows if its owner is the Administrators group while
22952 the current Emacs user is Administrator. Use `=' to compare
22953 numerical UIDs, since they could be integers or floats.
22954
219bd536
JB
229552011-03-12 Juanma Barranquero <lekktu@gmail.com>
22956
22957 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
22958
f3afd36b
MA
229592011-03-12 Michael Albinus <michael.albinus@gmx.de>
22960
22961 Sync with Tramp 2.2.1.
22962
22963 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
22964
22965 * net/trampver.el: Update release number.
22966
3aaaa6f1
SM
229672011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
22968
94642599
SM
22969 * progmodes/compile.el (compilation--previous-directory): Fix up
22970 various nil/dead-marker mismatches (bug#8014).
22971 (compilation-directory-properties, compilation-error-properties):
22972 Don't call it at a position past the one we're about to change.
22973
3aaaa6f1
SM
22974 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
22975 Disable obsolescence warnings in the file that declares it.
22976
14239447
KM
229772011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
22978
099c39a4
JB
22979 * allout-widgets.el (allout-widgets-tally):
22980 Initialize allout-widgets-tally as a hash table rather than nil to
22981 prevent mode-line redisplay warnings. Also, clarify the module
22982 description and fix a comment typo.
14239447 22983
135e287c
JB
229842011-03-11 Juanma Barranquero <lekktu@gmail.com>
22985
22986 * help-fns.el (describe-variable): Don't complete keywords.
22987 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
22988
ffbf300e
CY
229892011-03-10 Chong Yidong <cyd@stupidchicken.com>
22990
ba08b241
CY
22991 * emacs-lisp/package.el (package-version-join): Impose a standard
22992 string representation for pre/alpha/beta version lists.
22993 (package-unpack-single): Standardize the directory name by passing
22994 it through package-version-join.
22995 (package-strip-rcs-id): Accept any version string that does not
22996 signal an error in version-to-list.
ffbf300e 22997
f346fd6b
MA
229982011-03-10 Michael Albinus <michael.albinus@gmx.de>
22999
23000 * simple.el (delete-trailing-whitespace): Return nil for the
23001 benefit of `write-file-functions'.
23002
ccb55d27
GM
230032011-03-10 Glenn Morris <rgm@gnu.org>
23004
5ceaac0c
GM
23005 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
23006
02da65ff
GM
23007 * vc/vc-git.el (vc-git-program): New option.
23008 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
23009 (vc-git--call): Use it.
23010
b2f603cc
GM
23011 * eshell/esh-util.el (eshell-condition-case): Doc fix.
23012
5772caab
GM
23013 * cus-edit.el (Custom-newline): If no button at point, look
23014 for a subgroup button at start-of-line. (Bug#2298)
23015
ccb55d27
GM
23016 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
23017
ec6ecaed
JD
230182011-03-10 Julien Danjou <julien@danjou.info>
23019
23020 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
23021 `cursor-type' is nil.
23022
9d5aa01d
JB
230232011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
23024
23025 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
23026
b6a5875b
KM
230272011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
23028
7a71b18d 23029 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
23030 preserves the existing header prefix, rebulleting it if necessary,
23031 rather than replacing it. This is necessary for proper operation
23032 of cooperative addons like allout-widgets.
1154d12e
JB
23033 (allout-make-topic-prefix, allout-rebullet-heading):
23034 Change SOLICIT arg to INSTEAD, and interpret additionally a string
23035 value as alternate bullet to be used, instead of prompting the user
23036 for a bullet character.
b6a5875b 23037
ee545c35
MA
230382011-03-09 Michael Albinus <michael.albinus@gmx.de>
23039
d86d2721
SM
23040 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
23041 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
23042 `tramp-default-port'.
23043
c47971d7
DD
230442011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
23045
23046 * net/rcirc.el (rcirc-handler-001): Remove useless
23047 with-rcirc-process-buffer.
23048 (rcirc-check-auth-status): Swap arguments to string-match.
23049
13522cb4
GM
230502011-03-09 Glenn Morris <rgm@gnu.org>
23051
0be6f4f1
GM
23052 * shell.el (shell-mode):
23053 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
23054
13522cb4
GM
23055 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
23056 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
23057
515de2e3
CY
230582011-03-08 Chong Yidong <cyd@stupidchicken.com>
23059
23060 * emacs-lisp/package.el (package-refresh-contents)
23061 (package-menu-execute): Use condition-case-no-debug.
23062
b511b994
MA
230632011-03-08 Michael Albinus <michael.albinus@gmx.de>
23064
23065 * simple.el (shell-command-to-string): Use `process-file'.
23066
23067 * emacs-lisp/package.el (package-tar-file-info): Handle also
23068 remote files.
23069
d86d2721
SM
23070 * emacs-lisp/package-x.el (package-upload-buffer-internal):
23071 Use `equal' for upload base check.
b511b994 23072
25bbfb31
AM
230732011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
23074
23075 * textmodes/texinfo.el (texinfo-environments):
23076 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
23077
be996521
GM
230782011-03-08 Glenn Morris <rgm@gnu.org>
23079
e9c8529f
GM
23080 * cus-start.el (cursor-in-non-selected-windows):
23081 Fix :set quoting oddness. (Bug#8192)
23082
be996521
GM
23083 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
23084 in some setf expressions. (Bug#2159)
23085
2bb5649e
CY
230862011-03-08 Chong Yidong <cyd@stupidchicken.com>
23087
23088 * custom.el (custom-available-themes): Return themes in
23089 alphabetical order.
23090
33383987 23091See ChangeLog.15 for earlier changes.
e3d51b27
MR
23092
23093;; Local Variables:
23094;; coding: utf-8
e3d51b27
MR
23095;; End:
23096
ab422c4d 23097 Copyright (C) 2011-2013 Free Software Foundation, Inc.
e3d51b27
MR
23098
23099 This file is part of GNU Emacs.
23100
23101 GNU Emacs is free software: you can redistribute it and/or modify
23102 it under the terms of the GNU General Public License as published by
23103 the Free Software Foundation, either version 3 of the License, or
23104 (at your option) any later version.
23105
23106 GNU Emacs is distributed in the hope that it will be useful,
23107 but WITHOUT ANY WARRANTY; without even the implied warranty of
23108 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
23109 GNU General Public License for more details.
23110
23111 You should have received a copy of the GNU General Public License
23112 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.