* epg.el (epg--start): Modify process-environment locally.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
361828b5
AS
12012-12-28 Andreas Schwab <schwab@linux-m68k.org>
2
3 * epg.el (epg--start): Modify process-environment locally.
4
23bd348c
DU
52012-12-28 Daiki Ueno <ueno@gnu.org>
6
7 * epg.el: Support pinentry-curses.
8 Suggested by Werner Koch in
9 <http://lists.gnu.org/archive/html/emacs-devel/2007-02/msg00755.html>.
10 (epg-agent-file, epg-agent-mtime): New variable.
11 (epg--start): Record the modified time of gpg-agent socket file,
12 to restore Emacs frame after pinentry-curses termination.
13 (epg-wait-for-completion): Restore Emacs frame here.
14
313f39aa
JL
152012-12-27 Juri Linkov <juri@jurta.org>
16
17 * info.el (Info-file-completions): New variable.
18 (Info-read-node-name-1): Complete node names in the Info file
19 when a file name is given. Call `Info-build-node-completions'
20 with a file name.
21 (Info-build-node-completions): Add new arg `file'. When it is
22 non-nil, visit it in a temporary buffer and cache its completions in
23 `Info-current-file-completions'. Move most of the function body to
24 `Info-build-node-completions-1'.
25 (Info-build-node-completions-1): New function with the body from
26 `Info-build-node-completions'. (Bug#12456)
27
a45b7647
JL
282012-12-27 Juri Linkov <juri@jurta.org>
29
30 * frame.el (frame-maximization-style): Remove user option.
31 (cycle-frame-maximized): Remove function.
32 (toggle-frame-maximized): Rewrite and bind to M-<f10>.
33 (toggle-frame-fullscreen): New command bound to <f11> instead of
34 `toggle-frame-maximized'.
35 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00703.html
36
10ffd0be
MA
372012-12-27 Michael Albinus <michael.albinus@gmx.de>
38
39 * net/tramp.el (tramp-handle-file-accessible-directory-p): New defun.
40
41 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
42 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
43 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
44 for `file-accessible-directory-p'. (Bug#13275)
45
fd146719
SS
462012-12-27 Sam Steingold <sds@gnu.org>
47
48 * progmodes/cperl-mode.el (cperl-calculate-indent): Do not stagger
49 continuations, see <http://stackoverflow.com/questions/3582436>.
50
82e2a1f0 512012-12-27 Dmitry Gutov <dgutov@yandex.ru>
db590ef6
DG
52
53 * progmodes/ruby-mode.el (ruby-indent-beg-re): Only allow "class",
54 "module" and "def" to have indentation before them. Regression
bcdfbc0e 55 from 2012-09-07T04:15:56Z!dgutov@yandex.ru (see the new test).
db590ef6 56
ea0857a1
DG
57 * progmodes/ruby-mode.el: Bump the version to 1.2 (Bug#13200).
58
82e2a1f0 592012-12-27 Alan Mackenzie <acm@muc.de>
3f6b93cd
AM
60
61 Speed up fontification where there's large brace blocks.
62 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Add a limit
63 to a call of c-beginning-of-decl-1.
64
c34339f3
VS
652012-12-27 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
66
67 * comint.el (comint-adjust-window-point): New function.
68 (comint-postoutput-scroll-to-bottom): Call
69 comint-adjust-window-point (Bug#13248).
70
78269b95
DG
712012-12-26 Dmitry Gutov <dgutov@yandex.ru>
72
73 * progmodes/ruby-mode.el (auto-mode-alist): `purecopy' the
74 Rakefile regexp.
75 (auto-mode-alist): Associate .gemspec files with ruby-mode
76 (https://bugs.ruby-lang.org/issues/5453).
77
bd8c13f9
JH
782012-12-26 Jürgen Hötzel <juergen@archlinux.org>
79
80 * net/tramp-adb.el (tramp-adb-get-ls-command): New defun. Suppress
81 coloring, if possible (required for BusyBox based systems like
82 CynagenMod).
83 (tramp-adb-handle-file-attributes)
84 (tramp-adb-handle-insert-directory)
85 (tramp-adb-handle-file-name-all-completions): Use it.
86 (tramp-adb-get-toolbox): New defun. Check for remote shell
87 implementation (BusyBox or Toolbox).
88
dc646358
CK
892012-12-24 Constantin Kulikov <zxnotdead@gmail.com> (tiny change)
90
91 * startup.el (initial-buffer-choice): Allow function as value
92 (Bug#13251).
93 (command-line-1): Handle case where initial-buffer-choice
94 specifies a function.
95 * server.el (server-execute): Handle case where
96 initial-buffer-choice specifies a function.
97
e7d52a4d
LI
982012-12-24 Lars Ingebrigtsen <larsi@gnus.org>
99
100 * mail/smtpmail.el (smtpmail-try-auth-method): Refactored out into
101 its own function.
102 (smtpmail-try-auth-methods): Forget the user name/password if the
103 login is unsuccessful (bug#12424).
104
cdb07539
MA
1052012-12-22 Michael Albinus <michael.albinus@gmx.de>
106
1ef5f225
MA
107 * notifications.el (notifications-notify): Protect body with
108 `with-demoted-errors'.
109
cdb07539
MA
110 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Check
111 properties of remote device. Restart connection, if there is a
112 change.
113
594f37aa
CY
1142012-12-21 Chong Yidong <cyd@gnu.org>
115
116 * sort.el (sort-subr): Doc fix (Bug#13056).
117
a4b0cca1 1182012-12-21 Bastien Guerry <bzg@gnu.org>
acc650b8 119
acc650b8
BG
120 * progmodes/etags.el (tags-search): Fix typo. Bug #13232.
121
0e9c7693
MA
1222012-12-21 Michael Albinus <michael.albinus@gmx.de>
123
124 * simple.el (process-file): Overwrite stderr file, if exists.
125
c6609164
DU
1262012-12-21 Daiki Ueno <ueno@gnu.org>
127
128 * epg.el (epg--start): Print GPG_AGENT_INFO in the debug buffer.
3eb05092 129 (epg-error): Set `error-message' property.
c6609164 130
aa26f345
CY
1312012-12-21 Chong Yidong <cyd@gnu.org>
132
34b4b7eb
CY
133 * international/mule-cmds.el (read-char-by-name): Signal an error
134 if the user does not supply a valid character (Bug#13177).
135
aa26f345
CY
136 * simple.el (transpose-subr-1): Preserve marker positions by
137 changing the insertion sequence (Bug#13122).
138
05c22d87
KD
1392012-12-21 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
140
141 * simple.el (kill-region): Deactivate mark even for empty regions
142 (Bug#13169).
143
f5733f87
CY
1442012-12-21 Chong Yidong <cyd@gnu.org>
145
146 * help-fns.el (describe-variable): Make sure we get the right
147 buffer name (Bug#13105). Suggested by Kelly Dean.
148
fab6916d
MM
1492012-12-20 Michael R. Mauger <mmaug@yahoo.com>
150
151 * comint.el (comint-redirect-previous-input-string): New variable.
152 (comint-redirect-setup, comint-redirect-cleanup)
153 (comint-redirect-preoutput-filter): Use it. Fixes redirection bug.
154 (comint-redirect-preoutput-filter): Fix verbose message.
155
91b982a0
MA
1562012-12-20 Michael Albinus <michael.albinus@gmx.de>
157
158 * progmodes/grep.el (rgrep): Escape command line. Sometimes, it
159 is too long for Tramp. See discussion in
160 <http://thread.gmane.org/gmane.emacs.tramp/8233/focus=8244>.
161
162 * progmodes/compile.el (compilation-start): Remove line escape
163 template.
164
87523aed
DA
1652012-12-20 Dmitry Antipov <dmantipov@yandex.ru>
166
167 * vc/ediff-ptch.el (ediff-map-patch-buffer): Use `point-min-marker'.
168 Adjust comment.
169
ee3c0aec
JB
1702012-12-19 Jonas Bernoulli <jonas@bernoul.li>
171
172 * emacs-lisp/lisp-mnt.el (lm-section-end): Always end before the
173 following non-comment text (bug#13207).
174 (lm-header-multiline): Continuation lines need to be indented more than
175 the first line.
176 (lm-homepage): New function.
177 (lm-with-file): Don't be confused if narrowing is in effect.
f4d79bd0
SM
178
179 * vc/diff-mode.el (diff-post-command-hook): Don't ignore changes at the
180 very beginning of a hunk (e.g. killing the first line).
181
3c532af6
MA
1822012-12-19 Michael Albinus <michael.albinus@gmx.de>
183
184 * net/tramp-sh.el (tramp-sh-handle-file-acl): Delete empty lines
185 and text properties from returned ACL string.
186 (tramp-sh-handle-set-file-acl): Do not use additional parentheses
187 for "setfacl" command.
188
e0d01ef3
MA
1892012-12-18 Michael Albinus <michael.albinus@gmx.de>
190
191 * net/tramp.el (tramp-error-with-buffer): Give a hint to use
192 `tramp-cleanup-this-connection', when the process has died.
193 (Bug#13151)
194
2387610d
SM
1952012-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
196
197 * icomplete.el (icomplete-completions): Also use … to truncate prefix.
198
19156242
KR
1992012-12-17 Kevin Ryde <user42@zip.com.au>
200
201 * files.el (auto-save-file-name-p): Use \` and \' (bug#13186).
202
53b6a8b1
MA
2032012-12-17 Michael Albinus <michael.albinus@gmx.de>
204
205 Add support for preserving ACL entries of files.
206
207 * net/tramp.el (tramp-file-name-for-operation): Add `file-acl' and
208 `set-file-acl' handlers.
209
19156242
KR
210 * net/tramp-adb.el (tramp-adb-handle-copy-file):
211 Handle PRESERVE-EXTENDED-ATTRIBUTES.
53b6a8b1 212
19156242
KR
213 * net/tramp-compat.el (tramp-compat-copy-file):
214 Handle PRESERVE-EXTENDED-ATTRIBUTES.
53b6a8b1 215
19156242
KR
216 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
217 Add `file-acl' and `set-file-acl' handlers.
218 (tramp-gvfs-handle-copy-file):
219 Handle PRESERVE-EXTENDED-ATTRIBUTES.
220 (tramp-gvfs-handle-file-acl, tramp-gvfs-handle-set-file-acl):
221 New defuns.
53b6a8b1 222
19156242
KR
223 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
224 Add `file-acl' and `set-file-acl' handlers.
53b6a8b1
MA
225 (tramp-remote-acl-p, tramp-sh-handle-file-acl)
226 (tramp-sh-handle-set-file-acl): New defuns.
19156242
KR
227 (tramp-sh-handle-copy-file, tramp-do-copy-or-rename-file):
228 Handle PRESERVE-EXTENDED-ATTRIBUTES.
53b6a8b1 229
19156242
KR
230 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
231 Add `file-acl' and `set-file-acl' handlers.
53b6a8b1
MA
232 (tramp-smb-handle-copy-file): Handle PRESERVE-EXTENDED-ATTRIBUTES.
233
6ae57a67
KD
2342012-12-17 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
235
236 * help-macro.el (make-help-screen): Instead of switch-to-buffer
19156242 237 use pop-to-buffer with NORECORD argument t. As buffer name, use
6ae57a67
KD
238 *Metahelp* with a leading space (Bug#13190).
239
7c3d167f
RF
2402012-12-16 Romain Francoise <romain@orebokech.com>
241
242 * files.el (file-extended-attributes)
243 (set-file-extended-attributes): New functions.
244 (backup-buffer): Use them to handle both SELinux context and ACL
245 entries.
246 (backup-buffer-copy): Work with an alist of extended attributes,
247 rather than an SELinux context.
248 (basic-save-buffer-2): Ditto.
249
19b748ad
TM
2502012-12-16 Timo Myyrä <timo.myyra@gmail.com>
251
252 * battery.el (battery-bsd-apm): New function.
253
70042c64
JB
2542012-12-16 Jay Belanger <jay.p.belanger@gmail.com>
255
256 * calc/calc.el (calc-standard-date-formats): Adjust one of the
257 standard date formats.
258
279f9b06
JL
2592012-12-15 Juri Linkov <juri@jurta.org>
260
261 * isearch.el (isearch-mode-map): Bind `C-x 8 RET' to
262 `isearch-insert-char-by-name'.
263 (with-isearch-suspended): New defmacro with body mostly from
264 `isearch-edit-string' except the part that sets
265 `isearch-new-string' and `isearch-new-message'.
266 (isearch-edit-string): Use new macro `with-isearch-suspended' with
267 body that sets `isearch-new-string' and `isearch-new-message'.
268 (isearch-insert-char-by-name): New command.
269 * international/mule-cmds.el (read-char-by-name): Let-bind
270 `enable-recursive-minibuffers' to t.
271 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00234.html
272
8370def5
JL
2732012-12-15 Juri Linkov <juri@jurta.org>
274
275 * isearch.el (isearch-delete-char, isearch-del-char): Doc fix.
276 (Bug#13175)
277
178fb95d
CS
2782012-12-15 Christopher Schmidt <christopher@ch.ristopher.com>
279
280 * dired-x.el (dired-guess-shell-command): Put colon at the end of
281 the prompt. (Bug#13045)
282
a5f74442
GM
2832012-12-14 Glenn Morris <rgm@gnu.org>
284
285 * emacs-lisp/macroexp.el (macroexp--warn-and-return):
286 Try to include filename in non-bytecomp warning. (Bug#13132)
287
97976f9f
PE
2882012-12-14 Paul Eggert <eggert@cs.ucla.edu>
289
290 Fix permissions bugs with setgid directories etc. (Bug#13125)
291 * files.el (backup-buffer): Don't rely on 9th output of
292 file-attributes, as it's now a placeholder. Instead, use the new
293 optional arg of file-ownership-preserved-p.
294 (file-ownership-preserved-p): New optional arg GROUP.
295 Fix mishandling of setuid directories that would cause this
296 function to return t when it should have returned nil.
297 Document what happens if the file does not exist, and when
298 it's not known whether the ownership will be preserved.
299 * net/tramp-sh.el (tramp-sh-handle-file-ownership-preserved-p):
300 Likewise.
301 (tramp-get-local-gid): Use group-gid for integer, as that's
302 faster and more reliable.
303
016b2a42
JD
3042012-12-14 Julien Danjou <julien@danjou.info>
305
19156242
KR
306 * progmodes/sql.el (sql-mode-postgres-font-lock-keywords):
307 Update keywords list, data type and PL/pgSQL.
016b2a42 308
665e5e07
DA
3092012-12-14 Dave Abrahams <dave@boostpro.com>
310
311 * vc/ediff-util.el (ediff-buffer-type): New function.
312 (ediff-clone-buffer-for-current-diff-comparison): Compute the buf-type
313 rather than taking it as as argument.
314 (ediff-inferior-compare-regions): Adjust calls accordingly (bug#11319).
315
d72e9e92
RC
3162012-12-14 Ryan Crum <ryan.crum@eleostech.com>
317
318 * json.el: Add pretty-print option (bug#12634).
319 (json-encoding-separator, json-encoding-default-indentation)
320 (json--encoding-current-indentation, json-encoding-pretty-print)
321 (json-encoding-lisp-style-closings): New vars.
322 (json--with-indentation): New macro.
323 (json-encode-hash-table, json-encode-alist, json-encode-plist)
324 (json-encode-array): Use it to obey json-encoding-pretty-print.
325 (json-pretty-print-buffer, json-pretty-print): New commands.
326
dbb530d9
DG
3272012-12-14 Dmitry Gutov <dgutov@yandex.ru>
328
329 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
330 Extract `ruby-syntax-propertize-expansions'.
331 (ruby-syntax-propertize-expansions): Only change syntax on
332 certain string delimiters, to punctuation. This way the common
333 functions like forward-word and thing-at-point still work.
334 (ruby-match-expression-expansion): Improve readability.
bb808526
DG
335 (ruby-block-contains-point): New function.
336 (ruby-add-log-current-method): Handle several edge cases.
dbb530d9 337
ce0440ff
JB
3382012-12-13 Juanma Barranquero <lekktu@gmail.com>
339
340 * emacs-lisp/edebug.el (edebug-unload-function): Make sure that
341 unload-feature finishes even when aborting an ongoing edebug session.
342 Also, do not worry about edebug-mode, unload-feature takes care of it.
343
f10331bf
AS
3442012-12-13 Andreas Schwab <schwab@suse.de>
345
346 * net/tls.el (tls-program): Update customize type.
347
5f3a3bb1
JB
3482012-12-13 Juanma Barranquero <lekktu@gmail.com>
349
350 * emacs-lisp/edebug.el (edebug--require-cl-read): New function.
351 (edebug-setup-hook, cl-read-load-hooks): Use it.
352 (edebug-unload-function): New function. (Bug#13163)
353
6ce21463
MA
3542012-12-13 Michael Albinus <michael.albinus@gmx.de>
355
356 * net/tramp-adb.el (tramp-adb-file-name-p): Make it a defsubst.
357 Otherwise, there could be errors in autoloading. (Bug#13151)
358
d754b364
JH
3592012-12-13 Jürgen Hötzel <juergen@archlinux.org>
360
361 * net/tramp-adb.el (tramp-adb-wait-for-output): Remove spurious " ^H"
362 sequences.
363
727f9739 3642012-12-13 Alan Mackenzie <acm@muc.de>
14b8c3d9
AM
365
366 Make CC Mode not hang when _some_ lines end in CRLF. Bug #11841.
367 * progmodes/cc-engine.el (c-backward-comments): Add code to work
368 around `forward-comment' not recognizing ^M as whitespace.
369
727f9739 3702012-12-13 Fabián Ezequiel Gallina <fgallina@cuca>
2c43a9ad
FEG
371
372 * progmodes/python.el (python-skeleton-class)
373 (python-skeleton-def): Do not add space after defun name.
374
eb8006c6
SM
3752012-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
376
377 * emacs-lisp/cl.el (letf): Make it an alias of cl-letf.
378 (cl--symbol-function): Remove (now that funbound is like nil).
379
4c74b1e4
GM
3802012-12-12 Glenn Morris <rgm@gnu.org>
381
382 * button.el (button--area-button-p): Fix typo.
383
37f38bca
SS
3842012-12-12 Sam Steingold <sds@gnu.org>
385
386 * frame.el (frame-maximization-style): New user option.
387 (toggle-frame-maximized): Toggle frame maximization according to
388 `frame-maximization-style', bound to <f11>.
389 (cycle-frame-maximized): Cycle between all maximization styles and
390 non-maximized frame, bound to shift-<f11>.
391
fd49a218
DC
3922012-12-12 David Cadé <codename68@gmail.com>
393
394 * mpc.el (mpc-format): Use truncate-string-to-width (bug#13143).
395
69e1c203
JB
3962012-12-12 Jonas Bernoulli <jonas@bernoul.li>
397
398 * lisp/emacs-lisp/eieio.el: Prettier object pretty-printing (bug#13115).
399 (eieio-override-prin1): Don't quote kewords and booleans.
400 (object-write) <eieio-default-superclass>: Don't put closing parens
401 on new line, avoid needless empty lines, align values that are objects
402 with the slot keyword (instead of beginning on the same line).
403 (eieio-list-prin1): Align value with slot keyword; increase
404 eieio-print-depth before printing members of the list.
405
4b0df848
SM
4062012-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
407
030f4af5
SM
408 * mail/emacsbug.el (report-emacs-bug): Move the intangible text to
409 a display text-property.
410 (report-emacs-bug-hook): Don't bother deleting it any more.
411
6ac1f8ca
SM
412 * hilit-chg.el (highlight-save-buffer-state): Delete.
413 Use with-silent-modifications instead.
414 (hilit-chg-set-face-on-change): Only fixup the text that's modified.
415
4b0df848
SM
416 * button.el: Handle buttons in display text-properties.
417 (button--area-button-p, button--area-button-string):
418 Use (STRING . STRING-POS) representation instead of just STRING.
419
d46d2d3a
EZ
4202012-12-11 Eli Zaretskii <eliz@gnu.org>
421
422 * makefile.w32-in (compile4-SH): Fix a typo that caused term
423 subdirectory be skipped.
424
a0099d31
GM
4252012-12-11 Glenn Morris <rgm@gnu.org>
426
36327e4f
GM
427 * net/rcirc.el (rcirc-urls, rcirc-condition-filter): Doc fixes.
428
a0099d31
GM
429 * progmodes/f90.el (f90-line-continued, f90-indent-region):
430 Treat preprocessor lines embedded in continuations like comments.
431 (f90-indent-line): Special-case preprocessor lines. (Bug#13138)
432
ff3f6c26
JB
4332012-12-11 Jay Belanger <jay.p.belanger@gmail.com>
434
435 * calc/calc.el (calc-standard-date-formats): Add more date
436 formats.
437 * calc/calc-forms.el (math-parse-iso-date): New function.
438 (math-parse-date): Use `math-parse-iso-date' when appropriate.
439 (math-parse-iso-date-validate): Add extra error checking.
440 (calc-date-notation): Add ability to access new date formats.
441
ed6f2cd4
SM
4422012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
443
444 * hi-lock.el (hi-lock--regexps-at-point): Fix boundary case for
445 font-lock as well as when there's no text-property.
446
c868b919
J
4472012-12-10 Jambunathan K <kjambunathan@gmail.com>
448
449 * hi-lock.el: Refine the choice of default face.
450 (hi-lock-keyword->face): New function. Use it wherever we used
451 cadadadr instead.
452 (hi-lock--regexps-at-point): Ignore faces that can't come from hi-lock.
453 (hi-lock--last-face): Remove var.
454 (hi-lock--unused-faces): New var to replace it.
455 (hi-lock-read-face-name): Use/maintain it.
456 (hi-lock-unface-buffer): Maintain it. Fix error for the C-u case.
457 (hi-lock-set-pattern): Ignore new rule if it has the same regexp even
458 if it has another face.
459
2b8c9064
EZ
4602012-12-10 Eli Zaretskii <eliz@gnu.org>
461
462 * subr.el (w32notify-handle-event): New function.
463 (inotify-handle-event): Doc fix.
464
81606b10
RS
4652012-12-10 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
466
467 * subr.el (inotify-event-p, inotify-handle-event): New functions.
468
265c2fbf 4692012-12-10 Dani Moncayo <dmoncayo@gmail.com>
6ce49f24
DM
470
471 * simple.el (just-one-space): Doc fix.
472
265c2fbf 4732012-12-10 Eli Zaretskii <eliz@gnu.org>
8d43bd30 474
c868b919 475 * textmodes/texinfo.el (texinfo-enable-quote-envs): Add "smallexample".
8d43bd30 476
265c2fbf 4772012-12-10 Le Wang <l26wang@gmail.com>
3a21537c
LW
478
479 * hilit-chg.el (hilit-chg-set-face-on-change): Don't burp in
480 narrowed buffer (bug#12361).
481
265c2fbf 4822012-12-10 Juanma Barranquero <lekktu@gmail.com>
bf741d33
JB
483
484 * vc/vc-hooks.el (vc-state): Doc fix.
485
265c2fbf 4862012-12-10 Glenn Morris <rgm@gnu.org>
07026166
GM
487
488 * mail/rmail.el (rmail-maybe-display-summary):
489 Preserve buffer, in case select-window changes it. (Bug#13066)
490
265c2fbf 4912012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
82e1f390
SM
492
493 * emacs-lisp/cl.el, emacs-lisp/cl-lib.el: Move cl-unload-function and
494 cl-load-hook where they belong.
495
bad162fd
SM
4962012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
497
498 * emacs-lisp/cl-lib.el (cl-declaim): Paren typo.
499
ca065258
EZ
5002012-12-09 Eli Zaretskii <eliz@gnu.org>
501
502 Parallelize byte compilation on MS-Windows.
503 * makefile.w32-in (WINS_BASIC1, WINS_BASIC2, WINS_BASIC3)
bad162fd 504 (WINS_BASIC4): New variables, subdivide subdirectories into 4 parts.
ca065258
EZ
505 (WINS_BASIC): Define as concatenation of the above.
506 (compile): Subdivide into 4 separate and independent jobs that can
507 be run in parallel.
508 (compile0-CMD, compile0-SH): New targets for compiling
509 COMPILE_FIRST files, which are prerequisites for the rest of the
510 byte-compilation.
bad162fd
SM
511 (compile1-CMD, compile2-CMD, compile3-CMD, compile4-CMD):
512 New targets for parallel compilation with cmd.exe.
ca065258
EZ
513 (compile1-SH, compile2-SH, compile3-SH, compile4-SH): Ditto for
514 compiling under a Unixy shell.
515
5dea55d2
CY
5162012-12-09 Chong Yidong <cyd@gnu.org>
517
518 * simple.el (set-mark-default-inactive): Delete this
519 accidentally-introduced option.
520 (set-mark-command, exchange-point-and-mark): Remove calls.
521
c6c08d3f
GM
5222012-12-09 Glenn Morris <rgm@gnu.org>
523
524 * emacs-lisp/lisp-mode.el (eval-defun-1): Doc fix.
525 Respect a defcustom's :set function, if appropriate. (Bug#109)
526 (eval-defun): Doc fix.
527
858aab4c
JL
5282012-12-08 Juri Linkov <juri@jurta.org>
529
530 * info.el (Info-copy-current-node-name, Info-breadcrumbs)
531 (Info-fontify-node, Info-bookmark-make-record): Remove the
532 file extension from Info-current-file (Bug#13016).
533
2e4ad7e5
SM
5342012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
535
536 * hi-lock.el (hi-lock-unface-buffer): If there's no matching regexp at
537 point, still provide some default.
538 (hi-lock--regexps-at-point): Don't enforce a "hi-lock-" prefix on face
539 names, since we don't use it right now. Actually return the list.
540 (hi-lock-file-patterns, hi-lock-interactive-patterns): Use defvar-local.
541
75498db0
CY
5422012-12-07 Chong Yidong <cyd@gnu.org>
543
ffe7ba8f
CY
544 * novice.el (disabled-command-function): Remove a spurious help
545 xref (Bug#13043). Suggested by Kelly Dean.
546
454eb095
CY
547 * subr.el (text-clone-maintain): Fix clone overlay deletion when a
548 syntax is specified (Bug#13025).
549
75498db0
CY
550 * info.el (Info-set-mode-line): Remove the file extension from
551 Info-current-file if there is one (Bug#13016).
552
13a40633
GM
5532012-12-07 Glenn Morris <rgm@gnu.org>
554
54c8b5ba
GM
555 * mail/rmail.el (rmail-mime-decoded): New permanent local.
556 (rmail-show-message-1): Set rmail-mime-decoded when appropriate.
557 * mail/rmailedit.el (rmail-cease-edit): Respect rmail-mbox-format
558 and rmail-mime-decoded. (Bug#9841)
559
13a40633
GM
560 * mail/unrmail.el (unrmail-mbox-format): New option. (Bug#6574)
561 (batch-unrmail, unrmail): Doc fixes.
562 (unrmail): Respect unrmail-mbox-format.
563 * mail/rmail.el (rmail-mbox-format): New option.
564 (rmail-show-message-1): Respect rmail-mbox-format.
565
4611a3cc
SM
5662012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
567
568 * emacs-lisp/cl-macs.el (cl-tagbody): New macro.
569
1812c724
SM
5702012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
571
338bfefa
SM
572 Further cleanup of the "cl-" namespace. Fit CL in 80 columns.
573 * emacs-lisp/cl-macs.el (cl--pop2, cl--optimize-safety)
574 (cl--optimize-speed, cl--not-toplevel, cl--parse-loop-clause)
575 (cl--expand-do-loop, cl--proclaim-history, cl--declare-stack)
576 (cl--do-proclaim, cl--proclaims-deferred): Rename from the "cl-" prefix.
577 (cl-progv): Don't rely on dynamic scoping to find the body.
578 * emacs-lisp/cl-lib.el (cl--optimize-speed, cl--optimize-safety)
579 (cl--proclaims-deferred): Rename from the "cl-" prefix.
580 (cl-declaim): Use backquotes.
581 * emacs-lisp/cl-extra.el (cl-make-random-state, cl-random-state-p):
582 Use "cl--" prefix for the object's tag.
583
1812c724
SM
584 * ses.el: Use advice-add/remove.
585 (ses--advice-copy-region-as-kill, ses--advice-yank): New functions.
586 (copy-region-as-kill, yank): Use advice-add.
587 (ses-unload-function): Use advice-remove.
588
24fc9480
JB
5892012-12-06 Jonas Bernoulli <jonas@bernoul.li>
590
591 * button.el: Make them work in header-lines (bug#12817).
592 (button-map): Add bindings for header-line and mode-line use.
593 (button-get, button-put, button-label): `button' may now be a string.
594 (button-activate): Don't make it a defsubst.
595 (button--area-button-p, button--area-button-string): New functions.
596 (make-text-button): Fix the return value when `beg' was a string.
597 (push-button): Handle the mode-line case.
598
853c1ffc
SM
5992012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
600
93852cb0
SM
601 * progmodes/sql.el: Use cl-lib and lexical-binding; various cleanup.
602 (sql-signum): Remove. Use `cl-signum' instead.
603 (sql-read-passwd): Remove; use read-passwd instread.
604 (sql-get-login-ext): Use read-string.
605 (sql-get-login): Use dolist and pcase.
606 (sql--completion-table): Rename from sql-try-completion.
607 Use complete-with-action.
608 (sql-mode): Don't change abbrev-all-caps globally.
609 (sql-connect): Don't rely on dynamic scoping for `new-name'.
610 (sql-postgres-completion-object): Initialize vars in their `let'.
611 (sql-comint-sybase, sql-comint-sqlite, sql-comint-mysql)
612 (sql-comint-solid, sql-comint-ms, sql-comint-postgres)
613 (sql-comint-interbase): Use a single append, without setq.
614 (sql-comint-linter): Same, and unwind-protect the LINTER_MBX var.
615
853c1ffc
SM
616 * hi-lock.el: Rework the default face and the serialize regexp code.
617 (hi-lock--auto-select-face-defaults): Remove.
618 (hi-lock-string-serialize-serial): Remove.
619 (hi-lock--hashcons-hash): Rename from hi-lock-string-serialize-hash;
620 make weak.
621 (hi-lock--hashcons): Rename from hi-lock-string-serialize, return an
622 equal string.
623 (hi-lock-set-pattern): Adjust accordingly.
624 (hi-lock--regexps-at-point): Simplify accordingly.
625 (hi-lock--auto-select-face-defaults): Remove.
626 (hi-lock--last-face): New var to replace it.
627 (hi-lock-read-face-name): Rewrite (bug#11095).
628 (hi-lock-unface-buffer): Arrange for the face to be the next default.
629
5504e2c7
MA
6302012-12-06 Michael Albinus <michael.albinus@gmx.de>
631
853c1ffc
SM
632 * net/tramp.el (tramp-replace-environment-variables):
633 Hide compiler warning.
5504e2c7
MA
634 (tramp-file-name-for-operation): Remove `executable-find',
635 `start-process', `call-process' and `call-process-region'.
636
853c1ffc 637 * net/tramp-compat.el (top): Don't require 'tramp-util and 'tramp-vc.
5504e2c7
MA
638
639 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Ensure backward
640 compatibility.
641
642 * net/tramp-sh.el (top): Remove `tramp-sh-handle-call-process-region'.
643
e1d51545
CY
6442012-12-06 Chong Yidong <cyd@gnu.org>
645
646 * ffap.el (ffap-replace-file-component): Fix typo.
647
d8ad4d3f 6482012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
ef54d315
SM
649
650 * progmodes/octave-mod.el (octave-mark-block): Move out of tokens and
651 fix open-paren-like token test (bug#12785).
652
d8ad4d3f 6532012-12-06 Glenn Morris <rgm@gnu.org>
52d129cd
GM
654
655 * mail/rmailsum.el (rmail-new-summary): Tweak for
656 rmail-maybe-display-summary changing buffer. (Bug#13066)
657
d8ad4d3f 6582012-12-06 Juri Linkov <juri@jurta.org>
68bf4e09
JL
659
660 * info.el (Info-fontify-node): Don't hide the last newline.
661 (Bug#12272)
662
9ad948e2
KY
6632012-12-06 Katsumi Yamaoka <yamaoka@jpl.org>
664
665 * mail/mailabbrev.el (mail-abbrev-expand-wrapper): Work in minibuffer
666 so as to enable message-read-from-minibuffer to expand mail aliases.
667
4b5c89ee
SM
6682012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
669
670 * minibuf-eldef.el (minibuf-eldef-update-minibuffer): Don't mess with
671 the `intangible' property.
672 Suggested by Christopher Schmidt <christopher@ch.ristopher.com>
673
5602a53a
DD
6742012-12-05 Deniz Dogan <deniz@dogan.se>
675
676 * net/rcirc.el (rcirc-urls): Update documentation.
677 (rcirc-condition-filter): New function.
678 (rcirc-browse-url, rcirc-markup-urls): Use only URLs before point
679 and exclude consecutive duplicate URLs (Bug#6082).
680
51b890ac
MA
6812012-12-05 Michael Albinus <michael.albinus@gmx.de>
682
d5f97f62
MA
683 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
684 Check return code of copy command.
685
853c1ffc
SM
686 * net/tramp-adb.el (tramp-adb-sdk-dir, tramp-adb-prompt):
687 Use group `tramp'. Add version.
51b890ac 688
04b14f2b
CY
6892012-12-05 Chong Yidong <cyd@gnu.org>
690
a3680194
CY
691 * ffap.el (ffap-url-regexp): Don't require matching at front of
692 string (Bug#4952).
693 (ffap-url-p): If only a substring matches, return that.
694 (ffap-url-at-point): Use the return value of ffap-url-p.
695 (ffap-read-file-or-url, ffap-read-file-or-url-internal)
696 (find-file-at-point, dired-at-point, dired-at-point-prompter)
697 (ffap-guess-file-name-at-point): Likewise.
698 (ffap-replace-file-component): Fix typo.
699
04b14f2b
CY
700 * info.el (info-display-manual): Add existing Info buffers, whose
701 files may not be in Info-directory-list, to the completion.
702 (info--manual-names): New helper function.
703
49596095
GM
7042012-12-05 Glenn Morris <rgm@gnu.org>
705
706 * vc/vc-hg.el (vc-hg-resolve-when-done, vc-hg-find-file-hook):
707 New functions, for detecting and resolving conflicts. (Bug#10709)
708
b85aec93
J
7092012-12-04 Jambunathan K <kjambunathan@gmail.com>
710
711 * hi-lock.el (hi-lock-auto-select-face): New user variable.
712 (hi-lock-auto-select-face-defaults): New buffer local variable.
713 (hi-lock-read-face-name): Honor `hi-lock-auto-select-face'.
714 (hi-lock-unface-buffer): Prompt user with useful defaults.
715 With prefix arg, unhighlight all hi-lock patterns in buffer.
716
8515507f
SM
7172012-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
718
719 * obsolete/terminal.el, obsolete/longlines.el: Add obsolecence info.
720
72cebfb7
MA
7212012-12-04 Michael Albinus <michael.albinus@gmx.de>
722
723 * Makefile.in (TRAMP_SRC):
724 * makefile.w32-in (TRAMP_SRC): Add tramp-adb.el.
725
0ec3f7ea
JH
7262012-12-04 Juergen Hoetzel <juergen@archlinux.org>
727
728 * net/tramp-adb.el: New package.
729
770de7cf
CY
7302012-12-04 Chong Yidong <cyd@gnu.org>
731
ce3e7725
CY
732 * terminal.el: Move to obsolete/.
733
770de7cf
CY
734 * longlines.el: Move to obsolete/.
735
736 * vc/ediff-diff.el (ediff-extract-diffs, ediff-extract-diffs3):
737 Remove code referring to longlines mode.
738
c38a186c
JL
7392012-12-03 Juri Linkov <juri@jurta.org>
740
741 * sort.el (delete-duplicate-lines): New command. (Bug#13032)
742
329bfd64
AM
7432012-12-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
744
745 * textmodes/ispell.el (ispell-init-process)
475eea6f
AM
746 (ispell-start-process, ispell-internal-change-dictionary):
747 Make sure personal dictionary name is expanded after initial
748 `default-directory' value. Use expanded strings for
749 keep/restart checks and for value (Bug#13019).
329bfd64 750
77a74935
JB
7512012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
752
753 * calc/calc-forms.el (math-date-to-iso-dt): Fix weekday number.
754
c5bc2d1d 7552012-12-03 Leo Liu <sdl.web@gmail.com>
ff3d86d0
LL
756
757 * files.el (dir-locals-read-from-file): Check file non-empty
758 before reading. (Bug#13038)
759
c5bc2d1d 7602012-12-03 Glenn Morris <rgm@gnu.org>
6247eff5
GM
761
762 * jka-cmpr-hook.el (jka-compr-get-compression-info):
763 Remove any version extension before checking filename. (Bug#13006)
764 (jka-compr-compression-info-list): Belated :version bump.
765
c5bc2d1d 7662012-12-03 Chong Yidong <cyd@gnu.org>
a5bf43ba 767
8ecba97d
CY
768 * simple.el (transient-mark-mode): Doc fix (Bug#11523).
769
a5bf43ba
CY
770 * buff-menu.el (Buffer-menu-delete-backwards, Buffer-menu-mode)
771 (buffer-menu): Doc fix (Bug#12294).
772
c5bc2d1d 7732012-12-03 Roland Winkler <winkler@gnu.org>
34755291
RW
774
775 * calendar/diary-lib.el (diary-header-line-format): Use keybinding
776 of diary-show-all-entries in the diary buffer (Bug#12994).
777
c5bc2d1d 7782012-12-03 Michael Albinus <michael.albinus@gmx.de>
c2f5b60a
MA
779
780 * net/tramp-sh.el (tramp-perl-encode): Use "read STDIN" instead of
781 "<STDIN>". This is binary safe.
782
682ceaf8
JB
7832012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
784
785 * calc/calc-forms.el (math-absolute-from-iso-dt)
786 (math-date-to-iso-dt, math-parse-iso-date-validate)
787 (math-iso-dt-to-date): New functions.
788 (math-fd-iso-dt, math-fd-isoyear, math-fd-isoweek)
789 (math-fd-isoweekday): New variables.
790 (calc-date-notation, math-parse-standard-date, math-format-date)
791 (math-format-date-part): Add support for more formatting codes.
792
db47d5e9
DG
7932012-12-02 Dmitry Gutov <dgutov@yandex.ru>
794
795 * vc/vc.el (vc-delete-file, vc-rename-file): Default to the
796 current buffer's file name when called interactively (Bug#12488).
797
3faf4944
JL
7982012-12-02 Juri Linkov <juri@jurta.org>
799
800 * info.el (info-display-manual): Don't clobber an existing Info
010db6da 801 buffer (Bug#10770). Add completion (Bug#10771).
3faf4944 802
cb5d51dc
YN
8032012-12-01 Yuya Nishihara <yuya@tcha.org> (tiny change)
804
805 * vc/vc-hooks.el (vc-find-file-hook): Expand buffer-file-truename
806 before using it for comparison (Bug#5297).
807
f38cd76e
JA
8082012-12-01 Jari Aalto <jari.aalto@cante.net>
809
810 * textmodes/css-mode.el (css-current-defun-name): New function.
811 (css-mode): Use it.
812
813 * textmodes/sgml-mode.el (html-current-defun-name): New function.
814 (html-mode): Use it.
815
ba03d0d9
CY
8162012-12-01 Chong Yidong <cyd@gnu.org>
817
818 Modularize add-log-current-defun (Bug#2224).
819 Suggested by Jari Aalto.
820
821 * vc/add-log.el (add-log-current-defun-function): Doc fix.
822 (add-log-current-defun): Move mode-specific code to other files.
823 (add-log-lisp-like-modes, add-log-c-like-modes)
824 (add-log-tex-like-modes): Variables deleted.
825
826 * emacs-lisp/lisp-mode.el (lisp-current-defun-name): New.
827 (lisp-mode-variables): Use it.
828
829 * progmodes/cc-mode.el (c-common-init):
830 * progmodes/cperl-mode.el (cperl-mode): Set a value for
831 add-log-current-defun-function.
832
833 * progmodes/m4-mode.el (m4-current-defun-name): New function.
834 (m4-mode): Use it.
835
836 * progmodes/perl-mode.el (perl-current-defun-name): New.
837 (perl-mode): Use it.
838
853c1ffc
SM
839 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
840 Use lisp-current-defun-name.
ba03d0d9
CY
841
842 * textmodes/tex-mode.el (tex-current-defun-name): New.
843 (tex-common-initialization): Use it.
844
845 * textmodes/texinfo.el (texinfo-current-defun-name): New.
846 (texinfo-mode): Use it.
847
92eadba5
CY
8482012-12-01 Chong Yidong <cyd@gnu.org>
849
850 * emacs-lisp/lisp-mode.el (lisp-mode-variables, lisp-mode):
851 * progmodes/autoconf.el (autoconf-mode):
852 * progmodes/js.el (js-mode):
853 * progmodes/make-mode.el (makefile-mode, makefile-makepp-mode)
854 (makefile-bsdmake-mode, makefile-imake-mode, makefile-browse):
855 * progmodes/perl-mode.el (perl-mode):
856 * progmodes/sh-script.el (sh-mode, sh-set-shell):
857 * textmodes/css-mode.el (css-mode):
858 * textmodes/sgml-mode.el (html-mode, sgml-mode)
859 (sgml-tags-invisible, sgml-guess-indent):
860 * textmodes/tex-mode.el (tex-common-initialization)
861 (latex-complete-bibtex-keys, tex-shell, tex-main-file)
862 (doctex-mode, plain-tex-mode, latex-mode):
863 * textmodes/texinfo.el (texinfo-mode): Use setq-local.
864
3ddbf803
KK
8652012-12-01 Kirk Kelsey <kirk.kelsey@0x4b.net>
866
867 * vc/vc-hg.el (vc-hg-next-revision):
868 Ensure use of default "tip" output format. (Bug#6968)
869
f0b6ae63
KS
8702012-12-01 Kim F. Storm <storm@cua.dk>
871
872 * startup.el (fancy-startup-tail): Add a clickable link
873 (Bug#2176).
874
c01bf73e
CY
8752012-12-01 Chong Yidong <cyd@gnu.org>
876
877 * startup.el (fancy-startup-tail): Improve the message about
878 auto-save files (Bug#2176).
879
f0b6ae63
KS
880 * files.el (recover-session): Improve the descriptive message, and
881 use substitute-command-keys.
882
a9400458
GM
8832012-12-01 Glenn Morris <rgm@gnu.org>
884
885 * ido.el (ido-file-internal):
886 Handle other-window, other-frame for dired. (Bug#13036)
887
fb3bf6ce
GM
8882012-11-30 Glenn Morris <rgm@gnu.org>
889
890 * icomplete.el (icomplete-separator): Fix :version.
891
a813fe3f
CY
8922012-11-30 Chong Yidong <cyd@gnu.org>
893
894 * shell.el (shell): For C-u M-x shell, use an inactive shell
895 buffer as the default (Bug#1975).
276479fd
CY
896 (shell-apply-ansi-color, shell-reapply-ansi-color): New functions.
897 (shell-mode): Use them to reapply ansi colorization if Shell mode
898 is re-enabled.
a813fe3f 899
a8b733a5
CY
9002012-11-30 Yuriy Vostrikov <delamonpansie@gmail.com> (tiny change)
901
902 * vc/vc-git.el (vc-git-command): Disable the pager (Bug#6137).
903
6fccd6e8
SB
9042012-11-30 Samuel Bronson <naesten@gmail.com>
905
906 * progmodes/grep.el (grep-compute-defaults): Do not pass the -e
907 flag to xargs, for compatibility with BSD xargs (Bug#11703).
908
53c9a337
TT
9092012-11-30 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
910
911 * textmodes/fill.el (fill-region-as-paragraph): Handle overshoot
912 by move-to-column (Bug#3234).
913
ccf520bb
CY
9142012-11-30 Chong Yidong <cyd@gnu.org>
915
916 * longlines.el (longlines-wrap-line, longlines-encode-region):
917 Preserve text properties (Bug#1425).
918
171b0949
OT
9192012-11-30 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
920
921 * vc/vc.el (vc-register): Allow registering a file which is
922 already registered with a different backend (Bug#10589).
923
cc37e70f
J
9242012-11-29 Jambunathan K <kjambunathan@gmail.com>
925 Stefan Monnier <monnier@iro.umontreal.ca>
926
927 * icomplete.el: Change separator; add ido-style commands.
928 (icomplete-show-key-bindings): Remove custom var.
929 (icomplete-get-keys): Remove function.
930 (icomplete-forward-completions, icomplete-backward-completions):
931 New commands.
932 (icomplete-minibuffer-map): New var.
933 (icomplete-minibuffer-setup): Use it.
934 (icomplete-exhibit): Don't delay if the list of completions is known.
935 (icomplete-separator): New custom.
936 (icomplete-completions): Use it.
937 * minibuffer.el (completion-all-sorted-completions): Delete duplicates.
938 (minibuffer-force-complete-and-exit): New command.
939 (minibuffer--complete-and-exit): New function extracted from
940 minibuffer-complete-and-exit.
941 (minibuffer-complete-and-exit): Use it.
83e12fe0
SM
942
943 * progmodes/etags.el (visit-tags-table-buffer): Give a more precise
944 error message when the file doesn't exist (bug#12974).
945
31646597
KD
9462012-11-29 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
947
948 * simple.el (activate-mark): Run activate-mark-hook (bug#13027).
949
e9df8f87
GM
9502012-11-29 Glenn Morris <rgm@gnu.org>
951
824eefe4
GM
952 * files.el (hack-dir-local-variables): Warn if try to set
953 coding via dir-locals, since it doesn't work. (Bug#7169)
954
4ad900d9
GM
955 Add desktop support for restoring vc-dir buffers. (Bug#10606)
956 * vc/vc-dir.el (vc-dir-mode): Autoload it (for desktop restore).
957 Set buffer-local value of desktop-save-buffer.
958 (vc-dir-desktop-buffer-misc-data, vc-dir-restore-desktop-buffer):
959 New functions.
960 (desktop-buffer-mode-handlers): Add vc-dir-mode entry.
961 * desktop.el (desktop-save-buffer-p): Treat vc-dir like dired.
962
e9df8f87
GM
963 * files.el (inhibit-local-variables-ignore-case): New. (Bug#10610)
964 (inhibit-local-variables-p): Use inhibit-local-variables-ignore-case.
965 Doc fix.
966 (inhibit-local-variables-regexps, inhibit-local-variables-suffixes):
967 Doc fixes.
968
e7c8fcc4
JB
9692012-11-28 Jay Belanger <jay.p.belanger@gmail.com>
970
971 * calc/calc-forms.el (calc-date-notation): Fix regexp
972 used to find time codes. Fix symbol for seconds.
973
48d6d9c0
GM
9742012-11-27 Glenn Morris <rgm@gnu.org>
975
976 * emacs-lisp/derived.el (derived-mode-make-docstring):
977 Don't mention "abbrev" or "syntax" if nil. (Bug#11277)
978
369f945d
SM
9792012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
980
981 * textmodes/table.el (table-insert): Don't use `symbol-name' on
982 lexically scoped variables (bug#13005).
983
5c9cf0a3 9842012-11-27 Glenn Morris <rgm@gnu.org>
98f99594 985
999e745e
GM
986 * vc/vc-hooks.el (vc-mistrust-permissions):
987 Default to t, to avoid data-loss. (Bug#11490)
98f99594 988
5c9cf0a3 9892012-11-27 Fabián Ezequiel Gallina <fgallina@cuca>
207cb73c 990
999e745e
GM
991 * progmodes/python.el (python-indent-guess-indent-offset):
992 If indentation is guessed make python-indent-offset buffer-local.
993
207cb73c 994 Fix Imenu regression.
999e745e
GM
995 * progmodes/python.el (python-nav-beginning-of-defun):
996 Fix forward movement when statement(s) separates point from defun.
207cb73c
FEG
997 (python-imenu-prev-index-position): New function.
998
5c9cf0a3 9992012-11-27 Eli Zaretskii <eliz@gnu.org>
33a488e4
EZ
1000
1001 * subr.el (buffer-file-type): Declare with defvar-local. Doc fix.
1002
1003 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
865f7d8f 1004 Don't set buffer-file-type. Return nil. (Bug#12989)
33a488e4 1005
5c9cf0a3 10062012-11-27 Glenn Morris <rgm@gnu.org>
50207191
GM
1007
1008 * hippie-exp.el (hippie-expand-try-functions-list):
1009 Re-autoload it. (Bug#12982)
1010
5c9cf0a3 10112012-11-27 Eli Zaretskii <eliz@gnu.org>
2147c6ab 1012
369f945d
SM
1013 * descr-text.el (describe-char-padded-string):
1014 Call internal-char-font only on GUI frames. (Bug#11964)
2147c6ab 1015
5c9cf0a3 10162012-11-27 Andreas Schwab <schwab@linux-m68k.org>
58b1ae1e
AS
1017
1018 * buff-menu.el (Buffer-menu-buffer+size-width): Fix customize type
1019 and obsoletion message.
1020
5c9cf0a3 10212012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
35a10516
SM
1022
1023 * emacs-lisp/cl-macs.el (cl--transform-lambda): Add back `declare' in
1024 the constructs to keep outside of the `cl-block' (bug#12977).
1025
5c9cf0a3 10262012-11-27 Chong Yidong <cyd@gnu.org>
0c5ef133
CY
1027
1028 * mouse.el (mouse-drag-line): Even if the line is not draggable,
1029 keep reading until we get the up-event anyway, in order to process
1030 the up-event for mouse-1-click-follows-link (Bug#12971).
1031
848a2dd1
SM
10322012-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
1033
1034 * emacs-lisp/advice.el (ad-should-compile): Don't compile advice if the
1035 base function is not yet defined (bug#12965).
1036 (ad-activate-advised-definition): Use ad-compile-function.
1037 (ad-activate): Use cond.
1038
9ad79506
LL
10392012-11-25 Leo Liu <sdl.web@gmail.com>
1040
1041 * textmodes/sgml-mode.el (sgml-tag): Fix indentation for closing tag.
1042 (Bug#12979)
1043
e2cb57f5
VB
10442012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
1045
1046 * textmodes/reftex-parse.el (reftex-parse-from-file): Use variable
1047 reftex-section-info-function in order to be compatible with
1048 Texinfo integration.
1049
1050 * textmodes/reftex.el (reftex-section-pre-regexp)
848a2dd1
SM
1051 (reftex-section-post-regexp, reftex-section-info-function):
1052 New variable.
1053 (reftex-compile-variables): Use variables reftex-section-pre-regexp,
1054 reftex-section-post-regexp, and reftex-section-info-function in order
1055 to be compatible with Texinfo integration.
1056
1057 * textmodes/reftex-toc.el (reftex-toc-promote-action):
1058 use reftex-section-pre-regexp variable in order to be compatible with
e2cb57f5
VB
1059 Texinfo integration.
1060
1c4f115d
CY
10612012-11-25 Chong Yidong <cyd@gnu.org>
1062
1063 * faces.el: Make face-spec-set more analogous to setq.
1064 (face-spec-set): Change the third arg to specify whether this
1065 function is being called via defface, customize, or a third party.
1066 Set the appropriate symbol properties. Clear the override spec if
1067 setting via Custom. Initialize face if necessary. (Bug#4988)
1068 (face-spec-recalc): Allow theme faces to completely replace the
1069 defface spec, in the same way as custom faces (Bug#8454).
1070
1071 * cus-face.el (custom-declare-face): Move face initialization to
1072 face-spec-set.
1073 (custom-theme-set-faces): Don't initialize the face name here, as
1074 that is now done in face-spec-set.
1075
1076 * cus-edit.el (custom-face-set, custom-face-mark-to-save)
1077 (custom-face-reset-saved, custom-face-mark-to-reset-standard):
1078 Simplify by using the new arg to face-spec-set.
1079
1080 * emacs-lisp/lisp-mode.el (eval-defun-1): When evaluating defface,
1081 reset face-override-spec too, and use custom-declare-face.
1082
c2350548
JD
10832012-11-24 Jan Djärv <jan.h.d@swipnet.se>
1084
1085 * term/ns-win.el (ns-initialize-window-system): Move creation of
1086 fontsets here (Bug#11964).
1087
ecfc364c
VB
10882012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
1089
1090 * ses.el (ses-rename-cell): Correct bug on mode-line update after
1091 cell renaming.
1092
0917cc54
CY
10932012-11-24 Chong Yidong <cyd@gnu.org>
1094
433212bf
CY
1095 * woman.el (woman-default-faces, woman-monochrome-faces): Mark as
1096 obsolete.
1097
0917cc54
CY
1098 * custom.el (custom-theme-set-variables): Use a topological sort
1099 for ordering by custom dependencies (Bug#12952).
1100 (custom--sort-vars, custom--sort-vars-1): New functions.
1101
d125ca15 11022012-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
002c019c
SM
1103
1104 * emacs-lisp/bytecomp.el (byte-compile-file): Setup default value for
1105 lexical-binding (bug#12938).
1106
d125ca15 11072012-11-24 Wolfgang Jenkner <wjenkner@inode.at>
977f9325
WJ
1108
1109 * image-mode.el (image-transform-check-size): Use assertions only
1110 for images of type imagemagick.
1111
1112 Otherwise no error, image-transform-fit-to-{width,height} is
1113 silently ignored, as before. Doc fix.
1114
d125ca15 11152012-11-24 Chong Yidong <cyd@gnu.org>
bccffa83
CY
1116
1117 * faces.el (color-defined-p): Doc fix (Bug#12853).
1118
d125ca15 11192012-11-24 Juri Linkov <juri@jurta.org>
61a2a122
JL
1120
1121 * dired.el (dired-mark): Add optional arg `interactive'.
1122 Check for `use-region-p' if `interactive' is non-nil.
1123 (dired-unmark, dired-flag-file-deletion): Add optional arg
1124 `interactive'. Call `dired-mark' with the arg `interactive'.
1125 (Bug#10624)
1126
cc4c01bd
JL
1127 * wdired.el: Revert 2012-10-17 change partly and replace it with
1128 Patch by Christopher Schmidt <christopher@ch.ristopher.com>.
1129 (wdired-finish-edit): Add marks for new file names to
1130 `wdired-old-marks'. Restore marks using `dired-mark-remembered'
1131 after `revert-buffer'.
1132 (wdired-do-renames): Remove calls to `dired-remove-file',
1133 `dired-add-file', `dired-add-entry'. (Bug#11795)
1134
d125ca15 11352012-11-24 Alan Mackenzie <acm@muc.de>
b03aabda 1136
dc310ed0
AM
1137 * progmodes/cc-defs.el (c-version): Bump to 5.32.4.
1138
b03aabda
AM
1139 Fix bugs in the state cache. Enhance a debugging mechanism.
1140 * progmodes/cc-engine.el (c-parse-state-get-strategy): Don't use
1141 "brace at column zero" strategy for C++.
1142 (c-append-lower-brace-pair-to-state-cache): Repair algorithm.
1143 (c-parse-state-point): New variable.
1144 (c-record-parse-state-state): Record old parse state with
1145 `copy-tree'. Record previous value of point.
1146 (c-debug-parse-state-double-cons): New debugging function.
1147 (c-debug-parse-state): Call the above new function.
1148 (c-toggle-parse-state-debug): Output a confirmatory message.
1149
002c019c
SM
1150 * progmodes/cc-mode.el (c-before-change, c-after-change):
1151 Call c-invalidate-state-cache from `c-before-change' instead of
b03aabda
AM
1152 `c-after-change'.
1153
930a6273
CY
11542012-11-23 Chong Yidong <cyd@gnu.org>
1155
1156 * find-cmd.el (find-constituents): Add executable, ipath,
1157 readable, samefile, writable, daystart, regextype (Bug#12856).
1158
15c9d04e
SM
11592012-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
1160
1161 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: Use cl-lib and lexical-binding.
1162
2ecb2679
PE
11632012-11-22 Paul Eggert <eggert@cs.ucla.edu>
1164
1165 * calc/calc.el (calc-gregorian-switch): Move to after calc-refresh
1166 definition. This fixes a bootstrap failure.
a14a5a40
PE
1167 (calc-gregorian-switch): In menu, put dates before regions.
1168 This is easier to follow, lines up better in the menu, and lets us
1169 coalesce regions that switch at the same time. Give country
15c9d04e
SM
1170 names, not "Vatican", as that's better for non-expert users.
1171 Use names that are stable between the date of switch and now, e.g.,
a14a5a40
PE
1172 Bohemia and Moravia (which existed then and now) and not
1173 Czechoslovakia (which didn't exist then and doesn't exist now).
1174 What is now the U.S. mostly did not switch at the same time as
1175 Britain, so omit the U.S. Correct spelling of "Britain".
1176 Catholic Switzerland was too much of a mess, so omit it.
2ecb2679 1177
723da6aa
JB
11782012-11-22 Jay Belanger <jay.p.belanger@gmail.com>
1179
1180 * calc/calc.el (calc-gregorian-switch): Refresh the Calc buffer
1181 after the variable is changed.
1182
21fa2482
DC
11832012-11-21 Daniel Colascione <dancol@dancol.org>
1184
1185 * progmodes/sql.el (sql-mode-font-lock-object-name): Support IF NOT EXISTS
b6096e85
DC
1186 in SQL declarations for font-lock.
1187 (sql-imenu-generic-expression): Teach imenu about IF NOT EXISTS.
21fa2482 1188
3ca2f1bf
GM
11892012-11-21 Glenn Morris <rgm@gnu.org>
1190
1bf335cf
GM
1191 * faces.el (face-underline-p, face-inverse-video-p, face-bold-p)
1192 (face-italic-p): Add optional argument "inherit".
1193
3ca2f1bf
GM
1194 * faces.el (set-face-inverse-video, set-face-bold, set-face-italic):
1195 Remove -p suffix from names, for consistency with other set-face-*.
1196 (set-face-inverse-video): Fix interactive spec.
1197 * play/gamegrid.el (gamegrid-make-mono-tty-face):
1198 * textmodes/table.el (table--update-cell-face):
1199 Use set-face-inverse-video rather than now obsolete alias.
1200
6ef2e5ef 12012012-11-21 Eli Zaretskii <eliz@gnu.org>
7cf95797
EZ
1202
1203 * simple.el (line-move): Don't call line-move-partial if
1204 scroll-conservatively is in effect. (Bug#12927)
1205
6ef2e5ef 12062012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
63f25172 1207
93b05041
SM
1208 * eshell/em-cmpl.el (eshell-pcomplete): Refine fix for bug#12838:
1209 Fallback on completion-at-point rather than
1210 pcomplete-expand-and-complete, and only if pcomplete actually failed.
1211 (eshell-cmpl-initialize): Setup completion-at-point.
1212
1213 * pcomplete.el (pcomplete--entries): Obey pcomplete-ignore-case.
1214
bc715d67
SM
1215 * emacs-lisp/ert.el (ert--expand-should-1): Adapt to cl-lib.
1216
6ef2e5ef 12172012-11-21 Michael Albinus <michael.albinus@gmx.de>
d7f2a65c
MA
1218
1219 * net/tramp-sh.el (tramp-do-copy-or-rename-file): If both files
1220 are remote, check out-of-band property for both.
1221
6ef2e5ef 12222012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
d1c0cddf
SM
1223
1224 * window.el (switch-to-buffer): Re-add the warning that was lost in the
1225 code rewrite.
1226
6ef2e5ef 12272012-11-21 Paul Eggert <eggert@cs.ucla.edu>
0c93aa38 1228
535efd4a
PE
1229 More minor time fixes.
1230 * calendar/time-date.el: Commentary fix.
1231 * net/tramp-sh.el (tramp-do-file-attributes-with-ls): Undo last change;
1232 too much other code depends on (0 0) time stamps.
1233 * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
1234 Add a couple of FIXME comments.
1235
0c93aa38
PE
1236 Minor cleanup for times as lists of four integers.
1237 * files.el (dir-locals-directory-cache):
1238 * ps-bdf.el (bdf-file-mod-time, bdf-read-font-info):
1239 Doc fixes.
1240 * net/tramp-sh.el (tramp-do-file-attributes-with-ls):
1241 * ps-bdf.el (bdf-file-newer-than-time):
1242 Process four-integers time stamps, not two. Doc fixes.
1243
23ba2705
SM
12442012-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
1245
2e31777b
SM
1246 * uniquify.el (uniquify-managed): Use defvar-local.
1247 (rename-buffer, create-file-buffer): Advise with advice-add.
1248 (uniquify-unload-function): Unadvise accordingly.
1249
8b62d742
SM
1250 * emacs-lisp/trace.el: Rewrite, use nadvice and lexical-binding.
1251 (trace-buffer): Don't purecopy.
1252 (trace-entry-message, trace-exit-message): Add `context' arg.
1253 (trace--timer): New var.
1254 (trace-make-advice): Adjust for use in nadvice.
1255 Add `context' argument. Delay `display-buffer' via a timer.
1256 (trace-function-internal): Use advice-add.
1257 (trace--read-args): New function.
1258 (trace-function-foreground, trace-function-background): Use it.
1259 (trace-function): Rename to trace-function-foreground and redefine as
1260 an alias to that new name.
1261 (untrace-function, untrace-all): Adjust to the use of nadvice.
1262
5d0ccd95
SM
1263 * emacs-lisp/bytecomp.el (byte-compile): Fix handling of closures.
1264
3837d988
SM
1265 * emacs-lisp/byte-run.el (defun-declarations-alist): Fix last change.
1266
23ba2705
SM
1267 * subr.el (called-interactively-p-functions): New var.
1268 (internal--called-interactively-p--get-frame): New macro.
1269 (called-interactively-p, interactive-p): Rewrite in Lisp.
1270 * emacs-lisp/nadvice.el (advice--called-interactively-skip): New fun.
1271 (called-interactively-p-functions): Use it.
1272 * emacs-lisp/edebug.el (edebug--called-interactively-skip): New fun.
1273 (called-interactively-p-functions): Use it.
1274 * allout.el (allout-called-interactively-p): Don't assume
1275 called-interactively-p is a subr.
1276
b0636be7
GM
12772012-11-20 Glenn Morris <rgm@gnu.org>
1278
1279 * profiler.el (profiler-report-mode-map): Add a menu.
1280 No need to bind `q' because we derive from special-mode.
1281 (profiler-report-find-entry): Handle calls from the menu-bar.
1282
855b17af
SM
12832012-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
1284
14146222
SM
1285 * emacs-lisp/byte-run.el (defun-declarations-alist):
1286 Allow a compiler-macro to be a lambda expression.
1287
1288 * progmodes/python.el: Use cl-lib. Move var declarations outside of
1289 eval-when-compile.
1290 (python-syntax-context): Add compiler-macro.
1291 (python-font-lock-keywords): Simplify with De Morgan.
1292
1000d895
SM
1293 * vc/diff-mode.el (diff-hunk): Don't make useless timers.
1294
ac5392dc
SM
1295 * files.el (load-file): Require match in minibuffer selection, as was
1296 the case in Emacs-20 before we changed the spec to allow .elc files
1297 (bug#12935).
1298
19dc7206
SM
1299 * json.el: Don't require cl since we don't use it.
1300 * color.el: Don't require cl.
1301 (color-complement): `caddr' -> `nth 2'.
1302
855b17af
SM
1303 * calendar/time-date.el (time-to-seconds): De-obsolete.
1304
e8909bdc
JB
13052012-11-19 Jay Belanger <jay.p.belanger@gmail.com>
1306
1307 * calc/calc-forms.el (math-leap-year-p): Fix formula for negative
1308 year numbers.
1309 (math-date-to-julian-dt): Adjust the initial approximation for the
1310 year to deal with the new definition of the DATE.
1311
6e9f7997
DC
13122012-11-19 Daniel Colascione <dancol@dancol.org>
1313
855b17af
SM
1314 * term/w32-win.el (cygwin-convert-path-from-windows):
1315 Accomodate rename of cygwin_convert_path* to cygwin_convert_file_name*.
6e9f7997 1316
6a3dd257
CY
13172012-11-18 Chong Yidong <cyd@gnu.org>
1318
1319 * filecache.el (file-cache--read-list): New function.
1320 (file-cache-add-directory-list, file-cache-add-file-list)
1321 (file-cache-delete-file-list, file-cache-delete-directory-list):
1322 Use it to read a list of files or directories (Bug#12846).
1323 (file-cache-add-file, file-cache-add-directory)
1324 (file-cache-delete-file-list, file-cache-delete-file-regexp)
1325 (file-cache-delete-directory): Print an message.
1326
eef97f35
JB
13272012-11-18 Jay Belanger <jay.p.belanger@gmail.com>
1328
1329 * calc/calc-forms.el (math-date-to-dt): Use integer date when
1330 calling `math-date-to-julian-dt' and 'math-date-to-gregorian-dt'.
1331
913c8291
GM
13322012-11-18 Glenn Morris <rgm@gnu.org>
1333
1334 * image.el (insert-image, insert-sliced-image): Doc fix.
1335
2ac9538d 13362012-11-18 Chong Yidong <cyd@gnu.org>
ec6f8ce6
CY
1337
1338 * emacs-lisp/syntax.el (syntax-propertize-function): Doc fix
1339 (Bug#12810).
1340
2ac9538d 13412012-11-18 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
c2d07557
CY
1342
1343 * vc/vc-svn.el (vc-svn-merge-news): Properly parse the merge
1344 response when the target file is in a subdirectory (Bug#12757).
1345
2ac9538d 13462012-11-18 Chong Yidong <cyd@gnu.org>
33f8917c
CY
1347
1348 * filecache.el (file-cache-add-file-list): Doc fix (Bug#12694).
1349
2ac9538d 13502012-11-18 Glenn Morris <rgm@gnu.org>
65463c40 1351
9a5e2ee3
GM
1352 * emacs-lisp/cl-lib.el (face-underline-p):
1353 Use set-face-underline rather than the alias set-face-underline-p.
1354
65463c40 1355 * window.el (with-temp-buffer-window): Doc fix.
95f0501e
GM
1356 * subr.el (with-output-to-temp-buffer):
1357 Add doc xref to with-temp-buffer-window.
65463c40 1358
c9ed8e3d
JB
13592012-11-18 Juanma Barranquero <lekktu@gmail.com>
1360
1361 * woman.el (woman-non-underline-faces): Use `set-face-underline'.
1362 * calc/calc.el (math-format-date-cache): Declare.
1363
310e60d9
PE
13642012-11-17 Paul Eggert <eggert@cs.ucla.edu>
1365
6f6b82d6
PE
1366 Calc by default uses the Gregorian calendar for all dates (Bug#12633).
1367 It also uses January 1, 1 AD as its day number 1.
310e60d9 1368 * calc/calc-forms.el (math-julian-date-beginning)
6f6b82d6 1369 (math-julian-date-beginning-int): Implement this.
310e60d9 1370
d7fe6352
JB
13712012-11-17 Juanma Barranquero <lekktu@gmail.com>
1372
1373 * descr-text.el (quail-find-key):
1374 * dired.el (desktop-file-name):
1375 * dirtrack.el (shell-prefixed-directory-name, shell-process-cd):
1376 * generic-x.el (comint-mode, comint-exec):
1377 * image-dired.el (widget-forward):
1378 * info.el (speedbar-add-expansion-list, speedbar-center-buffer-smartly)
1379 (speedbar-change-expand-button-char)
1380 (speedbar-change-initial-expansion-list, speedbar-delete-subblock)
1381 (speedbar-make-specialized-keymap, speedbar-make-tag-line):
1382 * printing.el (easy-menu-add-item, easy-menu-remove-item)
1383 (widget-field-action, widget-value-set):
1384 * speedbar.el (imenu--make-index-alist):
1385 * term.el (ring-empty-p, ring-ref, ring-insert-at-beginning)
1386 (ring-length, ring-insert):
1387 * vcursor.el (compare-windows-skip-whitespace):
1388 * woman.el (dired-get-filename):
1389 Declare functions.
1390
1391 * term/w32-win.el (cygwin-convert-path-from-windows): Fix declaration.
1392
c9f618db
JB
13932012-11-17 Jay Belanger <jay.p.belanger@gmail.com>
1394
1395 * calc/calc.el (calc-gregorian-switch): New variable.
1396
1397 * calc/calc-forms.el (math-day-in-year, math-dt-before-p)
1398 (math-absolute-from-gregorian-dt, math-absolute-from-julian-dt)
1399 (math-date-to-julian-dt, math-date-to-gregorian-dt): New functions.
1400 (math-leap-year-p): Add option to distinguish between Julian
1401 and Gregorian calendars.
1402 (math-day-number): Use `math-day-in-year' to do the computations.
1403 (math-absolute-from-dt): Rename from `math-absolute-from-date'.
1404 Use `math-absolute-from-gregorian' and `math-absolute-from-julian'
1405 to do the computations.
1406 (math-date-to-dt): Use `math-date-to-julian-dt' and
1407 `math-date-to-gregorian-dt' to do the computations.
1408 (calcFunc-weekday, math-format-date-part): Use the new version of
1409 the DATE to determine the weekday.
1410 (calcFunc-newmonth, calcFunc-newyear): Use `calc-gregorian-switch'
1411 when necessary.
1412
3804f7bc
EZ
14132012-11-17 Eli Zaretskii <eliz@gnu.org>
1414
1415 * term/w32-win.el (w32-handle-dropped-file): Use 'file://' only on
1416 Cygwin; otherwise use 'file:'. (Bug#12914)
1417 (cygwin-convert-path-from-windows): Declare, to avoid
1418 byte-compiler warnings.
1419
de959d4d
AP
14202012-11-17 Andreas Politz <politza@fh-trier.de>
1421
1422 * ibuffer.el (ibuffer-mark-forward, ibuffer-unmark-forward)
1423 (ibuffer-unmark-backward, ibuffer-mark-interactive): Support plain
1424 prefix and negative numeric prefix args (Bug#12795).
1425
e45deaef
SB
14262012-11-17 Stephen Berman <stephen.berman@gmx.net>
1427
1428 * play/gamegrid.el (gamegrid-add-score-with-update-game-score-1):
1429 Don't signal an error with a score that is too low to add to the
1430 list of top scores. (Bug#12779)
1431
ec15e0ff
CY
14322012-11-17 Chong Yidong <cyd@gnu.org>
1433
8e7696a1
CY
1434 * help-mode.el (help-xref-interned): End on point-min (Bug#12737).
1435
ec15e0ff
CY
1436 * filecache.el (file-cache-add-file): Handle relative file name in
1437 the argument (Bug#12694).
1438
60c4ee66
JH
14392012-11-16 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
1440
1441 * eshell/em-unix.el (eshell/mkdir): Handle "--parents" (bug#12897).
1442
cdc5d88c
SM
14432012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
1444
dd0c5bbb
SM
1445 * emacs-lisp/advice.el (ad-make-advised-definition): Improve last fix.
1446
cdc5d88c
SM
1447 * emacs-lisp/cl-lib.el: Set more meaningful version number.
1448
0ff7851c
MR
14492012-11-16 Martin Rudalics <rudalics@gmx.at>
1450
1451 * window.el (enlarge-window, shrink-window): Don't mention return
1452 value in doc-string (Bug#12896).
1453 (window--display-buffer): Don't resize frames - it won't work
1454 with all window managers and defeat pop-up-frame-alist.
1455 (display-buffer-alist): In doc-string explain that CONDITION can
1456 be a function and which arguments are passed to it (Bug#12854).
1457 (display-buffer-assq-regexp): New argument ACTION. Handle lambda
1458 expressions (Bug#12854).
1459 (display-buffer): Pass ACTION argument to
1460 display-buffer-assq-regexp.
1461
dedd1884
GM
14622012-11-16 Glenn Morris <rgm@gnu.org>
1463
7c82753d
GM
1464 * window.el (fit-frame-to-buffer-bottom-margin)
1465 (fit-frame-to-buffer, fit-window-to-buffer): Doc fixes.
1466
dedd1884
GM
1467 * faces.el (face-underline-p): Use face-attribute-specified-or.
1468
96e05507 14692012-11-16 Juanma Barranquero <lekktu@gmail.com>
662b0ee6
JB
1470
1471 * emacs-lisp/cl-macs.el (cl-loop, cl-do, cl-do*): Doc fixes.
1472
96e05507 14732012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
eb31fa40
SM
1474
1475 * emacs-lisp/cl-macs.el (cl-flet, cl-flet*): Fix docstring (bug#12895).
1476
96e05507 14772012-11-16 Glenn Morris <rgm@gnu.org>
e2e13f18 1478
17c083ac
GM
1479 * eshell/em-cmpl.el (eshell-pcomplete): New command. (Bug#12838)
1480 (eshell-cmpl-initialize): Bind eshell-pcomplete to TAB, C-i.
1481
bde3c6c0
GM
1482 * faces.el (face-underline-p): Doc fix. Handle :underline being
1483 things other than `t' (a string, a list).
1484 (face-inverse-video-p): Doc fix.
1485 (set-face-underline): Rename it back from set-face-underline-p.
1486 Doc fix. Allow interactive input of values other than t.
1487 (read-face-attribute): Apply formatting to :underline,
1488 since like :box and :stipple it can take list values.
1489
e2e13f18
GM
1490 * term.el (ansi-term): Don't let C-x escape-char binding
1491 clobber the more standard C-c binding. (Bug#12842)
1492
e0ea8060
GM
1493 * subr.el (set-temporary-overlay-map): Doc fix.
1494
96e05507 14952012-11-16 Martin Rudalics <rudalics@gmx.at>
92346275
MR
1496
1497 * window.el (record-window-buffer)
1498 (display-buffer-record-window): When copying the markers to
1499 window-point preserve window-point-insertion-type. (Bug#12588)
1500
96e05507 15012012-11-16 Glenn Morris <rgm@gnu.org>
7b1bf173
GM
1502
1503 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
1504 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error):
1505 Use new names for hooks rather than obsolete aliases.
1506
faeafc01
DC
15072012-11-15 Daniel Colascione <dancol@dancol.org>
1508
1509 * term/w32-win.el (w32-handle-dropped-file): Use a "file://"
9533048d
DC
1510 prefix instead of "file:" so that when FILE-NAME begins with "//",
1511 as it does when the target file is on a network share, url-handler
1512 isn't confused.
1513
1232d6c2
SM
15142012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
1515
1516 * emacs-lisp/advice.el (ad-definition-type): Make sure we don't use
1517 a preactivated advice from an old advice.el; they're not compatible!
1518
47f01a8a
KY
15192012-11-15 Katsumi Yamaoka <yamaoka@jpl.org>
1520
1521 * emacs-lisp/nadvice.el (advice--make-interactive-form):
1522 Fix string-spec case.
1523
1524 * emacs-lisp/advice.el (ad-make-advised-definition): Fix undefined case.
1525
a61428c4
SM
15262012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
1527
1528 * emacs-lisp/nadvice.el: Add buffer-local support to add-function.
1529 (advice--buffer-local-function-sample): New var.
1530 (advice--set-buffer-local, advice--buffer-local): New functions.
1531 (add-function, remove-function): Use them.
1532
875ce3a7
DA
15332012-11-15 Drew Adams <drew.adams@oracle.com>
1534
1535 * imenu.el (imenu--split-submenus): Use imenu--subalist-p (bug#12717).
1536
589fc479
SM
15372012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
1538
1539 * emacs-lisp/cl-macs.el (cl--transform-lambda): Defend against
1540 potential binding of print-gensym to t, and prettify (back)quotes in
1541 case they appear in args's default values (bug#12884).
1542
1668ea90
SM
15432012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1544
1545 * emacs-lisp/nadvice.el: Add around advice for interactive specs.
1546 (advice-eval-interactive-spec): New function.
1547 (advice--make-interactive-form): Support around advice (bug#12844).
1548
8619323f
DG
15492012-11-14 Dmitry Gutov <dgutov@yandex.ru>
1550
1551 * progmodes/ruby-mode.el (ruby-expr-beg): Make heredoc detection
1552 more strict. Add docstring.
c62792e7
DG
1553 (ruby-expression-expansion-re): Extract from
1554 `ruby-match-expression-expansion'.
1555 (ruby-syntax-propertize-function): After everything else, search
1556 for expansions in string literals, mark their insides as
1557 whitespace syntax and save match data for font-lock.
1558 (ruby-font-lock-keywords): Use the 2nd group from expression
1559 expansion matches.
1560 (ruby-match-expression-expansion): Use the match data saved to the
1561 text property in ruby-syntax-propertize-function.
8619323f 1562
9c3912d3
SM
15632012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1564
1565 * emacs-lisp/gv.el (setf): Fix debug spec for multiple assignments
1566 (bug#12879).
1567
5e9419e8
DG
15682012-11-13 Dmitry Gutov <dgutov@yandex.ru>
1569
1570 * progmodes/ruby-mode.el (ruby-move-to-block): Looks for a block
1571 start/end keyword a bit harder. Works with different values of N.
1572 Add more comments.
1573 (ruby-end-of-block): Update accordingly.
1574
3c442f8b
SM
15752012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
1576
fa470af0
SM
1577 * woman.el (woman-file-name): Don't mess with unread-command-events
1578 (bug#12861).
1579
3c442f8b
SM
1580 * emacs-lisp/advice.el: Layer on top of nadvice.el.
1581 Remove out of date self-require hack.
1582 (ad-do-advised-functions): Use simple `dolist'.
1583 (ad-advice-name, ad-advice-protected, ad-advice-enabled)
1584 (ad-advice-definition): Redefine as functions.
1585 (ad-advice-classes): Move before first use.
1586 (ad-make-origname, ad-set-orig-definition, ad-clear-orig-definition)
fa470af0 1587 (ad-make-mapped-call, ad-make-advised-docstring,ad-make-plain-docstring)
3c442f8b 1588 (ad--defalias-fset): Remove functions.
fa470af0 1589 (ad-make-advicefunname, ad-clear-advicefunname-definition): New funs.
3c442f8b
SM
1590 (ad-get-orig-definition): Rewrite.
1591 (ad-make-advised-definition-docstring): Change base docstring.
1592 (ad-real-orig-definition): Rewrite.
1593 (ad-map-arglists): Change name of called function.
1594 (ad--make-advised-docstring): Redirect `function' from ad-Advice-...
1595 (ad-make-advised-definition): Simplify.
1596 (ad-assemble-advised-definition): Tweak for new calling context.
fa470af0 1597 (ad-activate-advised-definition): Setup ad-Advice-* i.s.o ad-Orig-*.
3c442f8b
SM
1598 (ad--defalias-fset): Rename from ad-handle-definition. Make it set the
1599 function and call ad-activate if needed.
1600 (ad-activate, ad-deactivate): Don't call ad-handle-definition any more.
1601 (ad-recover): Clear ad-Advice-* instead of ad-Orig-*.
1602 (ad-compile-function): Compile ad-Advice-*.
1603 (ad-activate-on-top-level, ad-with-auto-activation-disabled): Remove.
1604 (ad-start-advice, ad-stop-advice): Remove.
1605
5745cae6
DG
16062012-11-13 Dmitry Gutov <dgutov@yandex.ru>
1607
1608 * progmodes/ruby-mode.el (ruby-add-log-current-method): Print the
1609 period before class method names, not after. Remove handling of
1610 one impossible case. Add comments.
1611
413d4689
SM
16122012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
1613
7db1bda8
SM
1614 * emacs-lisp/advice.el: Remove support for freezing.
1615 (ad-make-freeze-docstring, ad-make-freeze-definition): Remove functions.
1616 (ad-make-single-advice-docstring, ad-defadvice-flags, defadvice):
1617 Remove support for `freeze'.
1618
413d4689
SM
1619 * emacs-lisp/cl.el (dolist, dotimes, declare): Use advice-add to
1620 override the default.
1621 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Rewrite without using
1622 cl--dotimes/dolist.
1623 * subr.el (dolist, dotimes, declare): Redefine them normally, even when
1624 `cl' is loaded.
1625
1626 * emacs-lisp/nadvice.el (advice--normalize): New function, extracted
1627 from add-advice.
1628 (advice--strip-macro): New function.
1629 (advice--defalias-fset): Use them to handle macros.
1630 (advice-add): Use them.
1631 (advice-member-p): Correctly handle macros.
1632
f178c32d
DG
16332012-11-13 Dmitry Gutov <dgutov@yandex.ru>
1634
7db1bda8
SM
1635 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
1636 Never font-lock the beginning of singleton class as heredoc.
f178c32d 1637
f78ee6af 16382012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
f8705f6e
SM
1639
1640 * emacs-lisp/gv.el (gv-define-simple-setter): One more fix (bug#12871).
1641
f78ee6af 16422012-11-13 Wolfgang Jenkner <wjenkner@inode.at>
9db94175
WJ
1643
1644 * ansi-color.el (ansi-color-apply-sequence): Implement SGR codes
f78ee6af
GM
1645 39 and 49 (bug#12792). Also, treat unimplemented parameters as 0,
1646 thereby restoring the behavior of revisions prior to 2012-08-15T03:33:55Z!monnier@iro.umontreal.ca.
9db94175 1647
f78ee6af 16482012-11-13 Fabián Ezequiel Gallina <fgallina@cuca>
2e6625b5
FEG
1649
1650 Fix end-of-defun misbehavior.
1651 * progmodes/python.el (python-nav-beginning-of-defun): Rename from
1652 python-beginning-of-defun-function. Handle nested defuns
1653 correctly.
1654 (python-nav-end-of-defun): Rename from
1655 python-end-of-defun-function. Ensure forward movement.
f8705f6e 1656 (python-info-current-defun): Reimplement to work as intended
2e6625b5
FEG
1657 with new fixed python-nav-{end,beginning}-of-defun. Stop scanning
1658 parent defuns as soon as possible.
1659
f78ee6af 16602012-11-13 Glenn Morris <rgm@gnu.org>
24c38527
GM
1661
1662 * progmodes/flymake.el (flymake-error-bitmap)
1663 (flymake-warning-bitmap, flymake-fringe-indicator-position): Doc fixes.
1664 (flymake-error-bitmap, flymake-warning-bitmap): Fix :types.
1665
f78ee6af 16662012-11-13 Dmitry Gutov <dgutov@yandex.ru>
d1e1e53d
DG
1667
1668 * progmodes/ruby-mode.el (ruby-move-to-block): When moving
1669 backward, always stop at indentation. Reverts the change from
1670 2012-08-12T22:06:56Z!monnier@iro.umontreal.ca (Bug#12851).
1671
f78ee6af 16722012-11-13 Glenn Morris <rgm@gnu.org>
68146aa5 1673
a1d3e07e
GM
1674 * ibuffer.el (ibuffer-mode-map, ibuffer-mode):
1675 Add ibuffer-filter-by-derived-mode.
1676
84acf328
GM
1677 * ibuffer.el (ibuffer-mode-map): Don't have two menu items with
1678 the same name shadowing each other.
1679
38785e75
GM
1680 * window.el (with-temp-buffer-window): Doc tweak.
1681
57fc0fee
GM
1682 * emacs-lisp/debug.el (debugger-bury-or-kill): Doc tweak.
1683
6ba6a3e5
GM
1684 * help.el (temp-buffer-max-height):
1685 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-bottom-margin):
68146aa5
GM
1686 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix :version.
1687
231d8498
SM
16882012-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
1689
1690 * emacs-lisp/nadvice.el: New package.
1691 * subr.el (special-form-p): New function.
1692 * emacs-lisp/elp.el: Use lexical-binding and advice-add.
1693 (elp-all-instrumented-list): Remove var.
1694 (elp-not-profilable): Remove elp-wrapper.
1695 (elp-profilable-p): Use autoloadp and special-form-p.
1696 (elp--advice-name): New const.
1697 (elp-instrument-function): Use advice-add.
1698 (elp--instrumented-p): New predicate.
1699 (elp-restore-function): Use advice-remove.
1700 (elp-restore-all, elp-reset-all): Use mapatoms.
1701 (elp-set-master): Use elp--instrumented-p.
1702 (elp--make-wrapper): Rename from elp-wrapper, return a function
1703 suitable for advice-add. Use cl-inf.
1704 (elp-results): Use mapatoms+elp--instrumented-p.
1705 * emacs-lisp/debug.el: Use lexical-binding and advice-add.
1706 (debug-function-list): Remove var.
1707 (debug): Rename arg, and then let-bind it explicitly inside.
1708 (debugger-setup-buffer): Rename arg.
1709 (debugger-setup-buffer): Adjust counts to new debug-on-entry setup.
1710 (debugger-frame-number): Adjust to new debug-on-entry setup.
1711 (debug--implement-debug-on-entry): Rename from
1712 implement-debug-on-entry, add argument.
1713 (debugger-special-form-p): Remove, use special-form-p instead.
1714 (debug-on-entry): Use advice-add.
1715 (debug--function-list): New function.
1716 (cancel-debug-on-entry): Use it, along with advice-remove.
1717 (debug-arglist, debug-convert-byte-code, debug-on-entry-1): Remove.
1718 (debugger-list-functions): Use debug--function-list instead of
1719 debug-function-list.
1720 * emacs-lisp/advice.el (ad-save-real-definition): Remove, unused.
1721 (ad-special-form-p): Remove, use special-form-p instead.
1722 (ad-set-advice-info): Use add-function and remove-function.
1723 (ad--defalias-fset): Adjust accordingly.
1724
19e09879
GM
17252012-11-10 Glenn Morris <rgm@gnu.org>
1726
714cebd1
GM
1727 * mail/emacsbug.el (report-emacs-bug-tracker-url)
1728 (report-emacs-bug-bug-alist, report-emacs-bug-choice-widget)
1729 (report-emacs-bug-create-existing-bugs-buffer)
1730 (report-emacs-bug-parse-query-results)
1731 (report-emacs-bug-query-existing-bugs): Remove. (Bug#7449)
1732
bf67dafa
GM
1733 * term.el (term-default-fg-color, term-default-bg-color):
1734 Make obsolete, rather than just saying "deprecated" in the doc.
1735
19e09879
GM
1736 * term.el (term): Rename from `term-face'.
1737 (term-current-face, ansi-term-color-vector)
1738 (term-default-fg-color, term-default-bg-color, term-ansi-reset):
1739 Update all users.
1740
6baf66d5 17412012-11-10 Jan Djärv <jan.h.d@swipnet.se>
531bdce6
JD
1742
1743 * server.el (server-create-window-system-frame): Handle Nextstep
1744 specially (Bug#12780).
1745
6baf66d5 17462012-11-10 Glenn Morris <rgm@gnu.org>
fedb154e
GM
1747
1748 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
1749 Unautoload, and make obsolete. (Bug#7449)
1750
6baf66d5 17512012-11-10 Chong Yidong <cyd@gnu.org>
9d9e48d9
CY
1752
1753 * vc/diff-mode.el (diff-delete-trailing-whitespace): Rewrite, and
1754 rename from diff-remove-trailing-whitespace (Bug#12831).
1755
6baf66d5 17562012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
32170f7f
SM
1757
1758 * emacs-lisp/advice.el: Require `cl-lib' at run-time to fix
1759 miscompilation of trace.el.
1760
6baf66d5 17612012-11-10 Glenn Morris <rgm@gnu.org>
26f59676
GM
1762
1763 * vc/diff-mode.el (diff-remove-trailing-whitespace): Doc fix.
1764
6baf66d5 17652012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
41626722
SM
1766
1767 * emacs-lisp/gv.el (gv-define-simple-setter): Fix last change
1768 (bug#12812).
1769
6baf66d5 17702012-11-10 Chong Yidong <cyd@gnu.org>
7d806bfe
CY
1771
1772 * minibuf-eldef.el (minibuffer-eldef-shorten-default): Convert to
1773 a defcustom with an appropriate :set function.
1774 (minibuffer-default--in-prompt-regexps): New function.
1775
6baf66d5 17762012-11-10 Glenn Morris <rgm@gnu.org>
2ee1d59f 1777
031b2ea7
GM
1778 * emacs-lisp/cl.el (define-setf-expander, defsetf)
1779 (define-modify-macro): Doc fixes.
1780
2ee1d59f
GM
1781 * emacs-lisp/gv.el (gv-letplace): Fix doc typo.
1782 (gv-define-simple-setter): Update doc of `fix-return'.
1783
6baf66d5 17842012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
d57c286e 1785
b715ed44
SM
1786 * emacs-lisp/gv.el (gv-define-simple-setter): Don't evaluate `val'
1787 twice when `fix-return' is set (bug#12813).
1788
d57c286e
SM
1789 * emacs-lisp/cl.el (defsetf): Pass the third arg to
1790 gv-define-simple-setter (bug#12812).
1791
c9cac599
SM
1792 * woman.el (woman-decode-region): Disable adaptive-fill when rendering
1793 (bug#12756).
1794
6baf66d5 17952012-11-10 Glenn Morris <rgm@gnu.org>
6b3770fb
GM
1796
1797 * emacs-lisp/gv.el (gv-define-setter): Fix doc typo.
1798
5593ed90
GM
1799 * emacs-lisp/cl-extra.el (cl-prettyexpand):
1800 * emacs-lisp/cl-lib.el (cl-proclaim, cl-declaim):
1801 * emacs-lisp/cl-macs.el (cl-destructuring-bind, cl-locally)
1802 (cl-the, cl-compiler-macroexpand): Add basic doc strings.
1803
1804 * emacs-lisp/cl-extra.el (cl-maplist, cl-mapcan): Doc fix.
1805
05a859c1
LL
18062012-11-10 Leo Liu <sdl.web@gmail.com>
1807
1808 * ido.el (ido-set-matches-1): Improve flex matching performance by
1809 removing backtracking in the regexp (suggested by Stefan). (Bug#12796)
1810
32e5c58c
SM
18112012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
1812
1813 * emacs-lisp/advice.el (ad-set-advice-info): Set defalias-fset-function.
1814 (ad--defalias-fset): New function.
1815 (ad-safe-fset): Remove.
1816 (ad-make-freeze-definition): Use cl-letf*.
1817
f5925cd9
SM
18182012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
1819
da03ef8a
SM
1820 * subr.el (dolist): Don't bind VAR in RESULT.
1821
6858633a
SM
1822 * emacs-lisp/advice.el: Miscellaneous cleanup. Use lexical-binding.
1823 (fset, documentation): Don't save real def since we don't advise.
1824 (ad-do-advised-functions): Remove problematic `result-form'.
1825 (ad-safe-fset): `ad-real-fset' => `fset'.
1826 (ad-read-advised-function): Don't assume that ad-do-advised-functions
1827 uses CL's dolist internally.
1828 (ad-arglist): Remove unused arg `name'.
1829 (ad-docstring, ad-make-advised-docstring):
1830 `ad-real-documentation' => `documentation'.
1831 (warning-suppress-types): Declare.
1832 (ad-set-arguments): Simple CSE.
1833 (ad-recover-normality): Sanity check.
1834
f5925cd9
SM
1835 * emacs-lisp/bytecomp.el (byte-compile-out-toplevel): Don't turn
1836 (funcall '(lambda ..) ..) into ((lambda ..) ..).
1837
93a66b3a
VB
18382012-11-09 Vincent Belaïche <vincentb1@users.sourceforge.net>
1839
1840 * ses.el: symbol to coordinate mapping is made by symbol property
f5925cd9
SM
1841 `ses-cell'. This means that the same mapping is done for all SES
1842 sheets. That is good enough for cells with standard A1 names, but
1843 not for named cell. So a hash map is added for the latter.
1844 (defconst ses-localvars): Add local variable ses--named-cell-hashmap
93a66b3a
VB
1845 (ses-sym-rowcol): Use hashmap for named cell.
1846 (ses-is-cell-sym-p): New defun.
1847 (ses-decode-cell-symbol): New defun.
f5925cd9
SM
1848 (ses-create-cell-variable): Add cell to hashmap when name is not
1849 A1-like.
93a66b3a
VB
1850 (ses-rename-cell): Check that cell new name is not already in
1851 spreadsheet with the use of ses-is-cell-sym-p
1852 (ses-rename-cell): Use hash map for named cells, but accept also
1853 renaming back to A1-like.
1854
67dd8ad1
SM
18552012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
1856
57618ecf
SM
1857 * emacs-lisp/advice.el: Use new dynamic docstrings.
1858 (ad-make-advised-definition-docstring, ad-advised-definition-p):
1859 Use dynamic-docstring-function instead of ad-advice-info.
1860 (ad--make-advised-docstring): New function extracted from
1861 ad-make-advised-docstring.
1862 (ad-make-advised-docstring): Use it.
1863 * progmodes/sql.el (sql--make-help-docstring): New function, extracted
1864 from sql-help.
1865 (sql-help): Use it with dynamic-docstring-function.
1866
67dd8ad1
SM
1867 * env.el (env--substitute-vars-regexp): Don't use rx (for bootstrap).
1868
be883b34
SM
18692012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1870
d41706aa
SM
1871 * files.el (hack-one-local-variable--obsolete): New function.
1872 (hack-one-local-variable): Use it for obsolete settings.
1873
85e55412
SM
1874 * subr.el (locate-user-emacs-file): If both old and new name exist, use
1875 the new name.
1876
be883b34
SM
1877 * progmodes/js.el (js--filling-paragraph): New var.
1878 (c-forward-sws, c-backward-sws, c-beginning-of-macro): Advise.
1879 (js-c-fill-paragraph): Prefer advice to cl-letf so the rebinding is
1880 less sneaky.
1881
cabc040a
JD
18822012-11-08 Julien Danjou <julien@danjou.info>
1883
1884 * progmodes/ruby-mode.el (auto-mode-alist): Add Rakefile in
1885 `auto-mode-alist' (Bug#12835).
1886
d14bb752
SM
18872012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1888
79b3e376
SM
1889 * progmodes/perl-mode.el (perl-prettify-symbols): New defcustom.
1890 (perl--prettify-symbols-alist): New const.
1891 (perl--font-lock-compose-symbol, perl--font-lock-symbols-keywords):
1892 New functions.
1893 (perl-font-lock-keywords-2): Use them.
1894 (perl-electric-noindent-p): New function.
1895 (perl-mode): Use it to set up electric-indent-mode.
1896 (perl-electric-terminator, perl-indent-command): Mark obsolete.
1897 (perl-mode-map): Remove bindings for them.
1898 (perl-imenu-generic-expression, perl-outline-level):
1899 Match functions&packages in column>0.
1900
3b11e6ac
SM
1901 * env.el (env--substitute-vars-regexp): New const.
1902 (substitute-env-vars): Use it. Add `only-defined' arg.
1903 * net/tramp.el (tramp-replace-environment-variables): Use it.
1904
784c1a7b
SM
1905 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
1906 Byte-compile *before* eval in eval-and-compile.
1907 (byte-compile-log-warning): Remove redundant inhibit-read-only.
1908 (byte-compile-file-form-autoload): Don't hide actual definition.
1909 (byte-compile-maybe-guarded): Accept `functionp' as well.
1910
d14bb752
SM
1911 * emacs-lisp/gv.el (gv-ref, gv-deref): New function and macro.
1912
499a0f7a
MA
19132012-11-07 Michael Albinus <michael.albinus@gmx.de>
1914
1915 * notifications.el (notifications-get-server-information-method):
1916 New defconst.
1917 (notifications-get-capabilities): Fix docstring.
1918 (notifications-get-server-information): New defun.
1919
f0704a9a
AM
19202012-11-06 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1921
1922 * textmodes/ispell.el (ispell-region): Standard re-indent for better
1923 readability.
1924
b159a1fd
AM
1925 * textmodes/ispell.el: Experimental support for support debugging.
1926 (ispell-create-debug-buffer): Create a `ispell-debug-buffer' debug
1927 buffer for ispell.
1928 (ispell-print-if-debug): New function to print stuff to
1929 `ispell-debug-buffer' if debugging is enabled.
1930 (ispell-region, ispell-process-line): Use `ispell-print-if-debug' to
1931 show some debugging info.
1932 (ispell-buffer-with-debug): New function that creates a debugging
1933 buffer and calls `ispell-buffer' with debugging enabled.
1934
056cb3a1
AM
1935 * textmodes/ispell.el (ispell-region): Do not prefix sent string by
1936 comment in autoconf mode. (Bug#12768)
1937
8e6a67b7
DA
19382012-11-06 Dmitry Antipov <dmantipov@yandex.ru>
1939
1940 * emacs-lisp/byte-opt.el (toplevel): Add compare-window-configurations,
1941 frame-first-window, frame-root-window, frame-selected-window,
1942 minibuffer-selected-window, minibuffer-window,
1943 window-absolute-pixel-edges, window-at, window-body-height,
1944 window-body-width, window-display-table, window-combination-limit,
1945 window-frame, window-fringes, window-inside-absolute-pixel-edges,
1946 window-inside-edges, window-inside-pixel-edges, window-left-child,
1947 window-left-column, window-margins, window-next-buffers,
1948 window-next-sibling, window-new-normal, window-new-total,
1949 window-normal-size, window-parameter, window-parameters, window-parent,
1950 window-pixel-edges, window-point, window-prev-buffers,
1951 window-prev-sibling, window-redisplay-end-trigger, window-scroll-bars,
1952 window-start, window-text-height, window-top-child, window-top-line,
1953 window-total-height, window-total-width and window-use-time to the list
1954 of functions without side-effects.
1955 (toplevel): Add window-valid-p to the list of error-free functions
1956 without side-effects.
1957
53fc914f
AM
19582012-11-05 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1959
f5925cd9
SM
1960 * textmodes/ispell.el (ispell-program-name):
1961 Update spellchecker parameters when customized.
53fc914f 1962
9749e2b0
GM
19632012-11-04 Glenn Morris <rgm@gnu.org>
1964
1965 * vc/vc-svn.el (vc-svn-state-heuristic): Avoid calling svn. (Bug#7850)
1966
2cbafa56
CY
19672012-11-04 Chong Yidong <cyd@gnu.org>
1968
1969 * bookmark.el (bookmark-bmenu-switch-other-window): Avoid binding
1970 same-window-* variables.
1971
85178ca1
JL
19722012-11-04 Juri Linkov <juri@jurta.org>
1973
1974 * isearch.el (isearch-help-for-help, isearch-describe-bindings)
1975 (isearch-describe-key, isearch-describe-mode): Use a display
1976 action instead of binding same-window-* variables (Bug#10040).
1977
5c677d44
GM
19782012-11-03 Glenn Morris <rgm@gnu.org>
1979
49138400
GM
1980 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
1981 Rename handler properties back from cl-- to cl-. (Bug#12788)
1982
5c677d44
GM
1983 * emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string.
1984
1d4341f9
EZ
19852012-11-03 Eli Zaretskii <eliz@gnu.org>
1986
1987 * term/pc-win.el: Don't load term/internal from here.
1988
1989 * loadup.el: Load term/internal from here.
1990
12fd5ee1
FEG
19912012-11-03 Fabián Ezequiel Gallina <fgallina@cuca>
1992
1993 * progmodes/python.el (inferior-python-mode): Fix hang in
1994 jit-lock (Bug#12645).
1995
43bcfda6
MR
19962012-11-03 Martin Rudalics <rudalics@gmx.at>
1997
1998 * window.el (switch-to-visible-buffer)
1999 (switch-to-buffer-preserve-window-point): Fix doc-strings.
2000
376a8e83
GM
20012012-11-03 Glenn Morris <rgm@gnu.org>
2002
2003 * emacs-lisp/cl-lib.el (cl--random-time):
2004 Rename from cl-random-time. (Bug#12773)
2005 (cl--gensym-counter, cl--random-state): Update callers.
2006 * emacs-lisp/cl-extra.el (cl-make-random-state): Update callers.
2007
0f7b074f
CY
20082012-11-03 Chong Yidong <cyd@gnu.org>
2009
2010 * cus-start.el: Make cursor-type customizable (Bug#11633).
2011
3a6851d9
GM
20122012-11-02 Glenn Morris <rgm@gnu.org>
2013
00a3b041
GM
2014 * filecache.el: No need to load find-lisp when compiling.
2015 (find-lisp-find-files): Autoload it.
2016 (file-cache-add-directory-recursively): Don't require find-lisp.
2017
11fef14a
GM
2018 * image.el (image-type-from-file-name): Trivial simplification.
2019
3a6851d9
GM
2020 * emacs-lisp/bytecomp.el (byte-compile-eval):
2021 Decouple "noruntime" and "cl-functions" warnings.
2022
b4b096e4
SB
20232012-11-01 Stephen Berman <stephen.berman@gmx.net>
2024
2025 * play/gomoku.el (gomoku-display-statistics): Update mode line
2026 only if in Gomoku buffer; don't capitalize "won" (Bug#12771).
2027
218e997a
MR
20282012-10-31 Martin Rudalics <rudalics@gmx.at>
2029
2030 * window.el (quit-restore-window): If the window has been
2031 created on an existing frame and ended up as the sole window on
2032 that frame, do not delete it (Bug#12764).
2033
b08b6da7
SM
20342012-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
2035
3618df45
SM
2036 * progmodes/sh-script.el (sh--inside-noncommand-expression):
2037 Rename from sh--inside-arithmetic-expression, handle more cases
2038 (bug#11263).
2039
b08b6da7
SM
2040 * progmodes/sh-script.el (sh--inside-arithmetic-expression): New func.
2041 (sh-font-lock-open-heredoc): Use it (bug#12770).
2042
4ddedf94
GM
20432012-10-30 Glenn Morris <rgm@gnu.org>
2044
f43a5263
GM
2045 * emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie. Doc fix.
2046
4ddedf94
GM
2047 * emacs-lisp/cl.el (letf): Doc fix. (Bug#12760)
2048
748b0d84
CY
20492012-10-29 Chong Yidong <cyd@gnu.org>
2050
b5dd9a77
CY
2051 * isearch.el (isearch-other-meta-char): Ensure that a reprocessed
2052 function key is stored in a keyboard macro (Bug#4894).
2053
748b0d84
CY
2054 * thingatpt.el (number-at-point): Apply a thing-at-point property.
2055
e07fcbdc
SM
20562012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
2057
d7f9cc85
SM
2058 * vc/diff-mode.el (diff-context->unified): Don't get confused by "hunk
2059 header comments".
2060 (diff-unified->context, diff-context->unified)
2061 (diff-reverse-direction, diff-fixup-modifs): Use `use-region-p'.
2062
c606253c
SM
2063 * emacs-lisp/cl.el (letf): Add missing indent rules (bug#12759).
2064
e07fcbdc
SM
2065 * files.el (find-alternate-file): Only ask one question (bug#12487).
2066
894b9dd9
CY
20672012-10-29 Chong Yidong <cyd@gnu.org>
2068
1dc2755a
CY
2069 * vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
2070 Suggested by Dan Nicolaescu (Bug#6326).
2071
329c48d8
CY
2072 * info.el (Info-complete-menu-item): Avoid duplicates (Bug#12705).
2073
2230fa5b 2074 * startup.el (fancy-about-screen): Don't message (Bug#12680).
5c2f2631 2075
e84cad57
CY
2076 * thingatpt.el (thing-at-point): Doc fix (Bug#12691).
2077
1913c5f5
CY
2078 * imenu.el (imenu): Inhibit push-mark message (Bug#12726).
2079
894b9dd9
CY
2080 * face-remap.el (face-remap-add-relative): Handle the case where a
2081 face-remapping-alist entry is a cons cell (Bug#12762).
2082
329c48d8
CY
20832012-10-29 Kevin Ryde <user42@zip.com.au>
2084
2085 * woman.el (woman-parse-numeric-value): Handle picas correctly
2086 (Bug#12639).
2087
a0ccbcbd
GM
20882012-10-29 Glenn Morris <rgm@gnu.org>
2089
2090 * emacs-lisp/cl.el (defsetf): Doc fix.
2091
b3871e59
SM
20922012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
2093
2094 * progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation
2095 syntax to the matching opener, if any (bug#12547).
2096 (sh-smie-sh-forward-token, sh-smie-sh-backward-token): Recognize this
2097 matching open as a "case-(".
2098 (sh-smie-rc-grammar): Add a corresponding rule for it.
2099
cd44022c
DH
21002012-10-28 Daniel Hackney <dan@haxney.org>
2101
2102 * emacs-lisp/package.el (package-generate-autoloads): Kill buffer
2103 "PKGNAME-autoloads.el" in case we created it.
2104
70edffb1
SM
21052012-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
2106
86957a0c
SM
2107 * minibuffer.el (completion--sifn-requote): Rewrite to handle things
2108 like Tramp's "/foo:~bar//baz" -> "/scpc:foo:/baz" mapping (bug#11714).
b9383404 2109 (completion--twq-all): Disable too-strict assertions.
86957a0c 2110
70edffb1
SM
2111 * tmm.el (tmm-prompt): Use map-keymap (bug#12744).
2112
d069271c
EZ
21132012-10-27 Eli Zaretskii <eliz@gnu.org>
2114
2115 * profiler.el (profiler-report-make-entry-part): Fix help-echo
2116 text to match the real keybindings.
2117
e2f022a3
JL
21182012-10-27 Juri Linkov <juri@jurta.org>
2119
2120 * wdired.el (wdired-keep-marker-rename): New defcustom.
2121 (wdired-do-renames): Use it instead of `dired-keep-marker-rename'.
2122 (Bug#11795)
2123
2124 * dired.el (dired-keep-marker-rename): Add reference to
2125 `wdired-keep-marker-rename' in the docstring.
2126 Add default character value ?R to display initially in
2127 Customization UI instead of ?@.
2128
df171c23
MR
21292012-10-27 Martin Rudalics <rudalics@gmx.at>
2130
2131 * window.el (display-buffer): In doc-string describe
2132 window-height and window-width alist entries.
2133
2134 * time.el (display-time-world): Restore fit-window-to-buffer
2135 behavior.
2136
05b621a6
CY
21372012-10-27 Chong Yidong <cyd@gnu.org>
2138
2139 * subr.el (insert-buffer-substring-as-yank): Doc fix.
2140
55f197b2
J
21412012-10-26 Jambunathan K <kjambunathan@gmail.com>
2142
2143 * minibuffer.el (completion-category-overrides): New completion
2144 category `bookmark' (bug#11131).
2145
372212df
SM
21462012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
2147
150f809c
SM
2148 * emacs-lisp/advice.el (ad-assemble-advised-definition):
2149 Silence bogus compiler warnings for ad-do-it.
2150
372212df
SM
2151 * bookmark.el (bookmark-completing-read): Set the completion category
2152 to `bookmark' (bug#11131).
2153
c5772569
B
21542012-10-26 Bastien <bzg@altern.org>
2155 Stefan Monnier <monnier@iro.umontreal.ca>
2156
2157 * face-remap.el: Use lexical-binding.
2158 (text-scale-adjust): Improve docstring. Use itself for the temporary
2159 overlay-map bindings, so as to repeat the "Use..." message each time.
2160
a2be0357
SM
21612012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
2162
63314e57
SM
2163 * emacs-lisp/macroexp.el (macroexp--expand-all):
2164 Obey byte-compile-warning-enabled-p (bug#12486).
2165
a2be0357
SM
2166 * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
2167 (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).
2168
8c7727c3
MR
21692012-10-26 Martin Rudalics <rudalics@gmx.at>
2170
2171 * mouse.el (mouse-drag-line): Move last form into preceding when
2172 clause (Bug#12731).
2173
2174 * help.el (resize-temp-buffer-window): Fix doc-string.
2175
3f2a848d
DE
21762012-10-25 David Engster <deng@randomsample.de>
2177
2178 * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
a2be0357 2179 Remove. This feature is already integrated in imenu.
3f2a848d
DE
2180
2181 * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
2182 always loaded. Require `speedbar' unconditionally.
2183
a7723be6
SM
21842012-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
2185
aaabfc8b
SM
2186 * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
2187
414a8595
SM
2188 * minibuffer.el (minibuffer-force-complete): Fix thinko.
2189
fb5b9475
SM
2190 * net/ldap.el (ldap-search-internal): The official ldif format starts
2191 with a "version: 1" header (bug#12724).
2192
a7723be6
SM
2193 * emacs-lisp/package.el (package-installed-p): Warn if not ready
2194 (bug#12721).
2195
a05cb6e3
GM
21962012-10-25 Glenn Morris <rgm@gnu.org>
2197
2198 * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
2199
3c92de70
SM
22002012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
2201
2202 * minibuffer.el (minibuffer-force-complete): Use one more marker
2203 for the temporary-overlay-map command (bug#12619).
2204
a4b6d7c6
CY
22052012-10-24 Chong Yidong <cyd@gnu.org>
2206
2207 * time.el (display-time-world-mode): Derive from special-mode.
2208 (display-time-world): Use display-buffer (Bug#12708).
2209 (display-time-world-mode-map): Variable deleted.
9321d8d7
CY
2210 (display-time-world-display): Wrap the final delete-char inside
2211 inhibit-read-only.
a4b6d7c6 2212
75e8f9d2
CY
22132012-10-24 Chong Yidong <cyd@gnu.org>
2214
cd996018
CY
2215 * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
2216 Doc fix.
2217
75e8f9d2
CY
2218 * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
2219
d92df117
SM
22202012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
2221
2222 * minibuffer.el (completion--all-sorted-completions-location): New var.
2223 (completion--cache-all-sorted-completions)
2224 (completion--flush-all-sorted-completions): Use it.
2225 (completion-in-region, completion-in-region--postch)
2226 (completion-at-point, completion-help-at-point): Use markers in
2227 completion-in-region--data (bug#12619).
2228
9c3e39f3
SM
22292012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
2230
c79825bd
SM
2231 * progmodes/compile.el (compilation-start): Try to handle common
2232 quoting of `cd' argument (bug#12640).
2233
9c3e39f3
SM
2234 * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
2235 (bug#12671).
2236
a6709bc7
GM
22372012-10-23 Glenn Morris <rgm@gnu.org>
2238
2239 * progmodes/gud.el (gud-menu-map):
2240 Check gdb-active-process is bound. (Bug#12358)
2241
d1069532
SM
22422012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
2243
d20d69c0
SM
2244 * repeat.el (repeat): Set real-this-command (bug#12232).
2245
d1069532
SM
2246 * htmlfontify.el (hfy-post-html-hook):
2247 * filesets.el (filesets-cache-fill-content-hook):
2248 * arc-mode.el (archive-extract-hook):
2249 * progmodes/cc-mode.el (c-prepare-bug-report-hook):
2250 * net/rcirc.el (rcirc-sentinel-functions)
2251 (rcirc-receive-message-functions, rcirc-activity-functions)
2252 (rcirc-print-functions):
2253 * net/dbus.el (dbus-event-error-functions):
2254 * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
2255 * emacs-lisp/checkdoc.el (checkdoc-style-functions)
2256 (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
2257 * term/sun.el (sun-raw-prefix-hooks):
2258 * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
2259
f7eac6d8
MA
22602012-10-23 Michael Albinus <michael.albinus@gmx.de>
2261
d1069532
SM
2262 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
2263 Set `tramp-chunksize' to 1. This improves the performance.
f7eac6d8
MA
2264 (tramp-smb-wait-for-output): Add timeout to
2265 `tramp-accept-process-output' calls.
2266
608d9d7c
CY
22672012-10-23 Chong Yidong <cyd@gnu.org>
2268
49238e7f
CY
2269 * faces.el (font-list-limit): Define as an obsolete variable.
2270
2271 * startup.el (command-line):
2272 * cus-start.el: Don't refer to font-list-limit.
2273
608d9d7c
CY
2274 * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
2275
4ff5b1b2
SM
22762012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
2277
2278 * subr.el (internal-temp-output-buffer-show): Rename from
2279 temp-output-buffer-show, since previously compiled files expect this name.
2280
ea1d4aac
GM
22812012-10-23 Glenn Morris <rgm@gnu.org>
2282
2283 * image.el (image-type-from-file-name): If multiple types match,
2284 return the first one that is supported. (Bug#9045)
2285
eda82a31
GM
22862012-10-22 Glenn Morris <rgm@gnu.org>
2287
2288 * image.el (imagemagick-enabled-types): Doc fix.
2289
4f020bec
TA
22902012-10-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
2291
2292 * progmodes/which-func.el (which-func-current): The hash-table may have
2293 an explicit nil (bug#12338).
2294
c77d37e2
SM
22952012-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
2296
2297 * electric.el (electric-pair-delete-selection-self-insert-function):
2298 Rename to electric-pair-will-use-region, return a boolean.
2299 (electric-pair-mode): Adjust accordingly. Don't require delsel.
2300
2301 * delsel.el (delete-selection-helper): Use a function instead of a hook.
2302 (delete-selection-pre-hook): Use use-region-p.
2303 (delete-selection-self-insert-function): Remove.
2304 (self-insert-command): Obey self-insert-uses-region-functions.
2305 (self-insert-iso): Revert to previous setting, since we don't actually
2306 know what that command does.
2307 (delete-selection-self-insert-hooks): Remove.
2308
b1d39ccc
SL
23092012-10-22 Simon Law <sfllaw@sfllaw.ca> (tiny change)
2310
2311 * delsel.el (delete-selection-helper): New function, extracted from
2312 delete-selection-pre-hook.
2313 (delete-selection-pre-hook): Use it.
2314 (delete-selection-self-insert-function): New function.
2315 (delete-selection-self-insert-hooks): New hook.
2316 (self-insert-command, self-insert-iso): Use it.
2317 * electric.el (electric-pair-syntax): New function, extracted from
2318 electric-pair-post-self-insert-function.
2319 (electric-pair-post-self-insert-function): Use it.
2320 (electric-pair-delete-selection-self-insert-function): New function.
2321 (electric-pair-mode): Require delsel and setup
2322 delete-selection-self-insert-hooks (bug#11520).
2323
045ef729
CY
23242012-10-20 Chong Yidong <cyd@gnu.org>
2325
4c5d08a8
CY
2326 * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
2327 no changes to show (Bug#12586).
2328
045ef729
CY
2329 * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
2330 list explicitly (Bug#12571).
2331
3503c798 23322012-10-20 Arne Jørgensen <arne@arnested.dk>
79e1997a 2333
b1d39ccc
SL
2334 * progmodes/flymake.el (flymake-create-temp-inplace):
2335 Use file-truename.
79e1997a 2336
2068905b
EZ
23372012-10-20 Eli Zaretskii <eliz@gnu.org>
2338
2339 * loadup.el: Update comment about uncompiled Lisp files. (Bug#12395)
2340
4c9e9550
JB
23412012-10-20 Jay Belanger <jay.p.belanger@gmail.com>
2342
2343 * calc/calc-units.el (math-extract-units): Properly extract powers
2344 of units.
2345
1a6e7e38
DC
23462012-10-20 Daniel Colascione <dancol@dancol.org>
2347
2348 * frame.el (make-frame): Set x-display-name as we used to in order
2349 to unbreak creating an X11 frame from an Emacs daemon started
2350 without a display.
2351
8e808318
SM
23522012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
2353
2354 * minibuffer.el (minibuffer-force-complete): Make the next completion use
f5925cd9 2355 the same completion-field (bug#12221).
8e808318 2356
fb0104da
MR
23572012-10-19 Martin Rudalics <rudalics@gmx.at>
2358
2359 * emacs-lisp/debug.el (debug): Record height of debugger window
2360 also when debugger will be back (Bug#8789).
2361
8c27235e
CY
23622012-10-18 Chong Yidong <cyd@gnu.org>
2363
2364 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
2365 Convert to defcustom.
2366 (gdb-get-source-file): Don't bind pop-up-windows.
2367
2368 * progmodes/gud.el (gud-display-line): Don't specially re-use
2369 other frames for the gdb-mi case (Bug#12648).
2370
90eacf99
SM
23712012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
2372
aaf0c300
SM
2373 * emacs-lisp/advice.el: Clean up commentary a bit.
2374 (ad-do-advised-functions, ad-with-originals): Use `declare'.
2375 (byte-code-function-p): Never redefine.
2376
90eacf99
SM
2377 * emacs-lisp/gv.el (cond): Same fix as before for `if'.
2378
281c9d2b
GM
23792012-10-18 Glenn Morris <rgm@gnu.org>
2380
40714e3d
GM
2381 * dired.el (dired-sort-toggle): Some ls implementations only allow
2382 a single option string. (Bug#12666)
2383
281c9d2b
GM
2384 * minibuffer.el (completion-cycle-threshold): Doc fix.
2385
b278604e
KH
23862012-10-17 Kenichi Handa <handa@gnu.org>
2387
90eacf99
SM
2388 * international/mule.el (set-keyboard-coding-system):
2389 Recover input meta mode when the new coding system doesn not use 8-bit.
b278604e
KH
2390 Supply TERMINAL arg to set-input-meta-mode.
2391
df171c23 23922012-10-17 Michael Heerdegen <michael_heerdegen@web.de>
7ebc5f5a
MH
2393
2394 * wdired.el (wdired-old-marks): New variable.
2395 (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
2396 (wdired-do-renames): Move point with renamed file and don't lose
2397 mark status (Bug#11795).
2398
e5a94ec4
JL
23992012-10-16 Juri Linkov <juri@jurta.org>
2400
2401 * replace.el (query-replace-help): Mention multi-buffer replacement
2402 keys in the Help message. (Bug#12655)
2403
d18a0d24
CY
24042012-10-15 Chong Yidong <cyd@gnu.org>
2405
2406 * emacs-lisp/byte-run.el (defsubst): Doc fix.
2407
8111f5e6
EZ
24082012-10-14 Eli Zaretskii <eliz@gnu.org>
2409
7b9abf24
EZ
2410 * window.el (display-buffer): Doc fix.
2411
8111f5e6
EZ
2412 * progmodes/compile.el (compilation-error-regexp-alist-alist):
2413 Adjust the msft regexp to the output of Studio 2010, and move msft
2414 before edg-1. See the discussion on emacs-devel,
2415 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
2416 for the details.
2417
5046ef67
SM
24182012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
2419
9760c73c
SM
2420 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
2421 (oset): Move uses of object-class-fast macro after its definition.
2422
5046ef67
SM
2423 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
2424
0d11ff1c
CY
24252012-10-13 Chong Yidong <cyd@gnu.org>
2426
2427 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
2428 enabled, re-enable it (Bug#11963).
2429
88ded8ac
MR
24302012-10-13 Martin Rudalics <rudalics@gmx.at>
2431
2432 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
2433 non-nil, restore window configuration (Bug#12623).
2434
bd0ffffd
SM
24352012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
2436
06485aa8
SM
2437 * help-fns.el (describe-variable, describe-function-1):
2438 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
2439
bd0ffffd
SM
2440 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
2441
3a989246
GM
24422012-10-12 Glenn Morris <rgm@gnu.org>
2443
2444 * mail/rmailsum.el (rmail-header-summary):
2445 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
2446
55cd00c8
FEG
24472012-10-12 Fabián Ezequiel Gallina <fgallina@cuca>
2448
bd0ffffd
SM
2449 * progmodes/python.el (python-mode-map):
2450 Replace subtitute-key-definition with proper command remapping.
55cd00c8
FEG
2451 (python-nav--up-list): Fix behavior for blocks on the same level.
2452
ac9fc2c7
SM
24532012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
2454
d8cc4c00 2455 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
d8cc4c00 2456
5253a5fd
SM
2457 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
2458 changes to the format of load-history.
2459
ac9fc2c7
SM
2460 * international/mule-cmds.el (read-char-by-name): Move let-binding of
2461 completion-ignore-case in case that var is buffer-local (bug#12615).
2462
cde44a77
KH
24632012-10-11 Kenichi Handa <handa@gnu.org>
2464
2465 * international/eucjp-ms.el: Re-generated.
2466
4ef4a10d
KH
24672012-10-10 Kenichi Handa <handa@gnu.org>
2468
2469 * select.el (xselect--encode-string): If a coding is specified for
2470 selection, and that is compatible with COMPOUND_TEXT, use it.
2471
9d7f027b
MR
24722012-10-10 Martin Rudalics <rudalics@gmx.at>
2473
2474 * window.el (switch-to-buffer-preserve-window-point): New option.
ac9fc2c7
SM
2475 (switch-to-buffer):
2476 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
9d7f027b 2477
238f3a58
SM
24782012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
2479
2480 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
2481 Don't document nil as a useful value (bug#12583).
2482
1d51f99c
MA
24832012-10-09 Michael Albinus <michael.albinus@gmx.de>
2484
238f3a58
SM
2485 * net/tramp.el (tramp-debug-message):
2486 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
1d51f99c
MA
2487 (with-tramp-progress-reporter): Rename from
2488 `tramp-with-progress-reporter'.
238f3a58
SM
2489 (with-tramp-file-property, with-tramp-connection-property):
2490 Move from tramp-cache.el, rename from `with-file-property' and
1d51f99c
MA
2491 `with-connection-property', respectively.
2492
2493 * net/tramp-cache.el: Remove `with-file-property' and
2494 `with-connection-property'.
2495
2496 * net/tramp.el:
2497 * net/tramp-gvfs.el:
2498 * net/tramp-sh.el:
2499 * net/tramp-smb.el: Adapt callees.
2500
2501 * net/trampver.el: Update release number.
2502
26b77251
GM
25032012-10-09 Glenn Morris <rgm@gnu.org>
2504
9a5f296f
GM
2505 * w32-fns.el (set-message-beep):
2506 * term/w32-win.el (set-message-beep): Update declarations.
2507
94c66ce5
SM
25082012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
2509
10766e9e
SM
2510 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
2511 (mode-line-widen, mode-line-input-method-map)
2512 (mode-line-coding-system-map, mode-line-remote)
2513 (mode-line-unbury-buffer, mode-line-bury-buffer)
2514 (mode-line-next-buffer, mode-line-previous-buffer):
2515 Replace save-selected-window+select-window => with-selected-window.
2516
f754db08
SM
2517 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
2518 * progmodes/cc-vars.el (bq-process): Remove, unused.
2519
94c66ce5
SM
2520 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
2521
a4ff7fe1
FEG
25222012-10-09 Fabián Ezequiel Gallina <fgallina@cuca>
2523
2524 Implemented `backward-up-list'-like navigation.
2525 * progmodes/python.el (python-nav-up-list)
2526 (python-nav-backward-up-list): New functions.
2527 (python-mode-map): Define substitute key for backward-up-list to
2528 python-nav-backward-up-list.
2529
24517d82
FEG
25302012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
2531
2532 * progmodes/python.el (python-fill-paragraph): Rename from
2533 python-fill-paragraph-function. Fixed fill-paragraph for
2534 decorators (Bug#12605).
2535
51867ae2
FEG
25362012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
2537
2538 * progmodes/python.el (python-shell-output-filter): Handle extra
2539 carriage return in OSX (Bug#12409).
2540
a5b773c4
FEG
25412012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
2542
2543 Fix shell handling of unbalanced quotes and parens in output.
94c66ce5 2544 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
a5b773c4
FEG
2545 (python-syntax-propertize-function): Use it.
2546 (python-shell-output-syntax-table): New var.
2547 (inferior-python-mode): Prevent unbalanced parens/quotes from
2548 previous output mess with current input context.
2549
13373538
JB
25502012-10-08 Juanma Barranquero <lekktu@gmail.com>
2551
2552 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
2553 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
2554
775a132d
MA
25552012-10-08 Michael Albinus <michael.albinus@gmx.de>
2556
2557 * ffap.el (ffap-replace-file-component): Support Tramp file name
2558 syntax, not only ange-ftp's one.
2559
3ab44929
GM
25602012-10-08 Glenn Morris <rgm@gnu.org>
2561
57f1dee4
GM
2562 * cus-start.el (message-log-max): Set :version.
2563
3ab44929
GM
2564 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
2565
6a088630
MR
25662012-10-08 Martin Rudalics <rudalics@gmx.at>
2567
2568 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
2569 the minibuffer window (Bug#10851).
2570
8dbce54c
FEG
25712012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
2572
2573 Enhancements on forward-sexp movement.
2574 * progmodes/python.el (python-nav-beginning-of-statement)
2575 (python-nav-end-of-statement): Return point-marker.
2576 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
2577 (python-info-current-symbol)
2578 (python-info-statement-starts-block-p): Rename from
2579 python-info-beginning-of-block-p.
2580 (python-info-statement-ends-block-p): Rename from
2581 python-info-end-of-block-p.
2582 (python-info-beginning-of-statement-p)
2583 (python-info-end-of-statement-p)
2584 (python-info-beginning-of-block-p, python-info-end-of-block-p):
2585 New functions.
2586
5acd2b3e
SM
25872012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
2588
2589 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
2590 frame-selected-windows.
2591
e08348a0
DC
25922012-10-08 Daniel Colascione <dancol@dancol.org>
2593
2594 * battery.el (battery-status-function): Check for
2595 w32-battery-status itself, not system-time windows-nt.
2596
2597 * frame.el: Require cl-lib.
2598 (display-format-alist): New variable mapping frame types to
2599 functions that initialize them.
2600 (window-system-for-display): New function: interprets
2601 display-format-alist.
2602 (make-frame-on-display): Remove existing display-selection logic
2603 and just forward to make-frame, which will now DTRT.
2604 (make-frame): Restructure to use window-system-for-display to
2605 figure out how to create a frame on a given display.
2606 (display-mouse-p): Look for frame-type w32, not a particular
2607 system-type.
2608
2609 * loadup.el: Load w32 lisp code when we have the w32 feature.
2610
2611 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
2612 system-type windows-nt.
2613
2614 * server.el (server-create-window-system-frame): Look for window
2615 type.
2616 (server-proces-filter): Only force a window system when windows-nt
2617 _and_ w32. Explain why.
2618
2619 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
2620 of window systems we configure for the mode.
2621
2622 * startup.el (command-line): Mark window system is initialized
2623 after we've done it.
2624
2625 * common-win.el (x-select-text): Look for w32, not windows-nt.
2626
2627 * ns-win.el: Require cl-lib. Add ourselves to
2628 display-format-alist.
2629 (ns-initialize-window-system): Assert we're not initialized twice.
2630
2631 * w32-win.el: Enable lexical binding; require cl-lib; add
2632 ourselves to display-format-alist.
2633 (w32-handle-dropped-file): Convert incoming dropped files from
2634 Windows paths to Cygwin ones before passing them on to the rest of
2635 Emacs.
2636 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
2637 (w32-initialize-window-system): Assert we're not initialized twice.
2638
2639 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
2640 (x-initialize-window-system): Assert we're not initialized twice.
2641
2642 * w32-common-fns.el: New File.
2643 (w32-version, w32-using-nt, w32-get-clipboard-data)
2644 (w32-set-clipboard-data, x-set-selection, x-get-selection)
2645 (w32-charset-info-alist, x-last-selected, text)
2646 (x-get-selection-value, x-selection-value): Move here.
2647
2648 * w32-fns.el: Require w32-common-fns.
2649 (w32-version, w32-using-nt, w32-get-clipboard-data)
2650 (w32-set-clipboard-data, x-set-selection, x-get-selection)
2651 (w32-charset-info-alist, x-last-selected, text)
2652 (x-get-selection-value, x-selection-value): Move to
2653 w32-common-fns.
2654
2655 * w32-vars.el:
2656 (w32-allow-system-shell, w32-system-shells): Define only in
2657 non-cygwin case.
2658
795b1482
SM
26592012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
2660
2661 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
2662 (read-passwd): Remove a few more potential sources of leaks.
2663
f27c99dc
FEG
26642012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
2665
2666 * progmodes/python.el (inferior-python-mode)
795b1482 2667 (python-shell-make-comint): Fix initialization of local
f27c99dc
FEG
2668 variables copied from parent buffer.
2669
fcacb558
JD
26702012-10-07 Jan Djärv <jan.h.d@swipnet.se>
2671
2672 * term/ns-win.el (ns-read-file-name): Update declaration to match
2673 nsfns.m.
2674 (ns-respond-to-change-font): Change fontsize separatly so we are sure
2675 it is set when font is acted upon.
2676
be0d5bae
FEG
26772012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
2678
2679 Enhancements to indentation.
2680 * progmodes/python.el (python-indent-context): Give priority to
2681 inside-string context. Make comments indentation markers.
2682 (python-indent-region): Do not mess with strings, unless it's the
2683 enclosing set of quotes.
2684
13af0d10
SM
26852012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
2686
662a9d0e
SM
2687 * window.el (internal--before-save-selected-window)
2688 (internal--after-save-selected-window): New functions extracted from
2689 save-selected-window. Make sure we return the `alist' we construct.
2690 (save-selected-window): Use them.
2691
2692 * textmodes/tex-mode.el (tex-recenter-output-buffer):
2693 Use with-selected-window.
2694
13af0d10
SM
2695 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
2696 forms that define macros (bug#12593).
2697
6aa75fb6
KH
26982012-10-07 Kenichi Handa <handa@gnu.org>
2699
13af0d10
SM
2700 * international/mule-conf.el (compound-text-with-extensions):
2701 Add :mime-charset property as x-ctext.
6aa75fb6 2702
78d876b9
SM
27032012-10-07 Stefan Merten <smerten@oekonux.de>
2704
2705 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
2706 (rst-indent-literal-normal, rst-indent-literal-minimized)
2707 (rst-indent-comment): Correct :version tag.
557337e9 2708 (rst-official-cvs-rev): Correct version string.
78d876b9 2709
99a1e701
GM
27102012-10-07 Glenn Morris <rgm@gnu.org>
2711
2712 * mail/rmailmm.el (rmail-mime-process-multipart):
2713 Do not confuse a multipart message with an epilogue
2714 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
2715
08f18c3d
FEG
27162012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
2717
2718 Fix shell output retrieval and comint-prompt-regexp init.
2719 * progmodes/python.el (inferior-python-mode):
2720 (python-shell-make-comint): Fix initialization of
2721 comint-prompt-regexp from copied file local variables.
2722 (python-shell-fetched-lines): Remove var.
2723 (python-shell-output-filter-in-progress): Rename from
2724 python-shell-fetch-lines-in-progress.
2725 (python-shell-output-filter-buffer): Rename from
2726 python-shell-fetch-lines-string.
2727 (python-shell-fetch-lines-filter): Delete function.
2728 (python-shell-output-filter): New function.
2729 (python-shell-send-string-no-output): Use them.
2730
82ed3ab4
GM
27312012-10-07 Glenn Morris <rgm@gnu.org>
2732
1595ecfa
GM
2733 * hi-lock.el (hi-lock-process-phrase):
2734 Try to make it less fragile. (Bug#7161)
2735
82ed3ab4
GM
2736 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
2737
f1f4dba0
GM
27382012-10-06 Glenn Morris <rgm@gnu.org>
2739
addc11ed 2740 * ehelp.el (electric-help-mode): Use help-mode rather than
32939005
GM
2741 non-existent mode `help'.
2742 (electric-help-map): Use button-buffer-map. (Bug#10917)
addc11ed 2743
460042b8
GM
2744 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
2745 (reftex-create-bibtex-footer): Fix custom types.
2746
67667c70
GM
2747 * progmodes/sh-script.el (sh-indent-after-continuation):
2748 Add explicit :group.
2749
18dec750
GM
2750 * textmodes/rst.el (rst-preferred-decorations)
2751 (rst-shift-basic-offset): Clarify obsolescence versions.
2752
d1a1c7e6
GM
2753 * profiler.el (profiler): Add missing group :version tag.
2754 * avoid.el (mouse-avoidance-banish-position):
2755 * proced.el (proced-renice-command):
2756 * calc/calc.el (calc-ensure-consistent-units):
2757 * calendar/icalendar.el (icalendar-import-format-uid):
2758 * net/tramp.el (tramp-save-ad-hoc-proxies):
2759 * progmodes/bug-reference.el (bug-reference-bug-regexp):
2760 * progmodes/flymake.el (flymake-error-bitmap)
2761 (flymake-warning-bitmap, flymake-fringe-indicator-position):
2762 * progmodes/sh-script.el (sh-indent-after-continuation):
2763 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
2764 (verilog-before-save-font-hook, verilog-after-save-font-hook):
2765 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
2766 (vhdl-array-index-record-field-in-sensitivity-list)
2767 (vhdl-indent-comment-like-next-code-line):
2768 * textmodes/reftex-vars.el (reftex-ref-style-alist)
2769 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
2770 (reftex-cite-key-separator, reftex-create-bibtex-header)
2771 (reftex-create-bibtex-footer):
2772 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
2773 (rst-indent-literal-normal, rst-indent-literal-minimized)
2774 (rst-indent-comment): Add missing custom :version tags.
2775
ef35abb4
GM
2776 * calendar/timeclock.el (timeclock-modeline-display):
2777 Add missing obsolete alias for renamed user option.
2778
d1aae614
GM
2779 * strokes.el (strokes-modeline-string):
2780 * emulation/crisp.el (crisp-mode-modeline-string):
2781 * eshell/esh-mode.el (eshell-status-in-modeline):
2782 Aliases to defcustoms must come before the defcustom.
2783
f1f4dba0
GM
2784 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
2785 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
2786 (cal-tex-cursor-week-monday): Doc fixes.
2787 (cal-tex-cursor-week2-summary): Doc fix.
2788 Rename from cal-tex-cursor-week-at-a-glance.
2789
2790 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
2791 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
2792
2793 * calendar/calendar.el (calendar-mode-map):
2794 Add cal-tex-cursor-week2-summary.
2795
d39109c3
SM
27962012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
2797
685f87b0
SM
2798 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
2799
d39109c3
SM
2800 * subr.el (read-passwd-map): New var.
2801 (read-passwd): Use `read-string' again.
2802 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
2803
5694896d
J
28042012-10-06 Jambunathan K <kjambunathan@gmail.com>
2805
2806 * register.el (append-to-register, prepend-to-register):
2807 Deactivate mark, as does `copy-to-register' (bug#12389).
2808
9414dd8d
CY
28092012-10-06 Chong Yidong <cyd@gnu.org>
2810
2811 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
2812
2b89bca4
KH
28132012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
2814
2815 * international/characters.el: Fix simple mistake ((car chars) ->
2816 elt), delete duplicated code.
2817
d5acb99a
GM
28182012-10-06 Glenn Morris <rgm@gnu.org>
2819
2820 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
2821
123ec157
JS
28222012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
2823
2824 * color.el (color-hsl-to-rgb): Fix incorrect results for
2825 small and large hue values. (Bug#12559)
2826
7fa36ccb
FEG
28272012-10-05 Fabián Ezequiel Gallina <fgallina@cuca>
2828
2829 Enhancements to docstring formatting when filling paragraphs.
2830 * progmodes/python.el (python-fill-docstring-style): Rename from
2831 python-fill-string-style. Added new style.
2832 (python-fill-string): Use new style. Better checks for
2833 docstrings.
2834
d8788e1e
GM
28352012-10-05 Glenn Morris <rgm@gnu.org>
2836
204f3953
GM
2837 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
2838
d8788e1e
GM
2839 * color.el (color-name-to-rgb, color-rgb-to-hex)
2840 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
2841 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
2842 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
2843 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
2844
8d956cef
GM
2845 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
2846
e8757f09 28472012-10-05 Juanma Barranquero <lekktu@gmail.com>
ea9a3563
JB
2848
2849 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
2850 to get the correct size across symlinks.
2851
e8757f09
GM
2852 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
2853
0e2ae83d
JL
28542012-10-04 Juri Linkov <juri@jurta.org>
2855
2856 * replace.el (query-replace-interactive): Declare obsolete.
2857 (query-replace-read-from): Add the last incremental search string
2858 to the list of default values accessible via M-n.
2859 (map-query-replace-regexp): Use `read-regexp'.
2860 (query-replace, query-replace-regexp, query-replace-regexp-eval)
2861 (map-query-replace-regexp, replace-string, replace-regexp):
2862 Fix docstrings to replace mentions of `query-replace-interactive'
2863 with alternatives. (Bug#12526)
2864
93cacb6d
JL
28652012-10-04 Juri Linkov <juri@jurta.org>
2866
2867 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
2868 (dired-pop-to-buffer): Declare obsolete.
2869 (dired-mark-pop-up): Doc fix.
2870
fc345011
FEG
28712012-10-04 Fabián Ezequiel Gallina <fgallina@cuca>
2872
2873 Allow user to set docstring style for fill-paragraph.
2874 * progmodes/python.el
2875 (python-fill-comment-function, python-fill-string-function)
2876 (python-fill-decorator-function, python-fill-paren-function):
2877 Remove :safe for defcustoms.
2878 (python-fill-string-style): New defcustom
5694896d 2879 (python-fill-paragraph-function): Enhance context detection.
fc345011
FEG
2880 (python-fill-string): Honor python-fill-string-style settings.
2881
6bab5d8b
MR
28822012-10-04 Martin Rudalics <rudalics@gmx.at>
2883
2884 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
2885 after setting its buffer (Bug#10805).
2886
a1a9f411
FEG
28872012-10-03 Fabián Ezequiel Gallina <fgallina@cuca>
2888
2889 Fix cornercase for string syntax.
2890 * progmodes/python.el (python-syntax-propertize-function):
2891 Simplify and enhance the regexp for unescaped quotes. Now it also
2892 matches quotes in weird situations like the single quote in
2893 "something\"'".
2894 (python-syntax-stringify): Simplify num-quotes detecting code.
2895
05e153a6
GM
28962012-10-03 Glenn Morris <rgm@gnu.org>
2897
2898 * help-macro.el (three-step-help):
2899 Revert 2012-09-29 change. (Bug#12567)
2900
2e566ecb
MR
29012012-10-03 Martin Rudalics <rudalics@gmx.at>
2902
96ef9ccd
MR
2903 * menu-bar.el (kill-this-buffer): Don't do anything when
2904 `menu-frame' is not alive or visible (Bug#8184).
2905
2e566ecb
MR
2906 * emacs-lisp/debug.el (debug): When quitting the debugger window
2907 restore current buffer (Bug#12502).
2908
a96e1cb7
CY
29092012-10-02 Chong Yidong <cyd@gnu.org>
2910
5694896d
J
2911 * progmodes/hideif.el (hif-lookup, hif-defined):
2912 Handle semantic-c-takeover-hideif.
a96e1cb7 2913
b3ecad33
PE
29142012-10-02 Paul Eggert <eggert@cs.ucla.edu>
2915
2916 Change sampling interval units from ms to ns.
2917 * profiler.el (profiler-sampling-interval): Change units
2918 from ms to ns, multiplying the default by 1000000 so that
2919 it remains 1 ms.
2920 (profiler-report-cpu-line-format): Give enough room for
2921 the maximum counters on 64-bit hosts.
2922 (profiler-report-render-calltree-1): Call them "CPU samples",
2923 not "Time (ms)", since they are not milliseconds now (and
2924 never really were).
2925
8cb51b66 29262012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
c623f81a 2927
5694896d
J
2928 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
2929 Fix querying BBDB for entries without a last name (Bug#11580).
c623f81a 2930
fd795bf4
CY
29312012-10-02 Chong Yidong <cyd@gnu.org>
2932
2933 * emacs-lisp/eieio.el: Restore Version header.
2934
fe0a74f9
SM
29352012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
2936
6be9197e
SM
2937 * vc/diff-mode.el (diff--auto-refine-data): New var.
2938 (diff-hunk): Use it to delay refinement.
2939 (diff-mode): Remove overlays when we turn off font-lock.
2940
18486139
SM
2941 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
2942 (table-initialize-table-fixed-width-mode)
2943 (table-set-table-fixed-width-mode): Remove functions.
2944 (table-command-list): Move initialization into declaration.
2945 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
2946 (table-with-cache-buffer): Use `declare'.
2947 (table-span-cell): Simplify via CSE.
2948 (table-fixed-width-mode): Use define-minor-mode.
2949 (table-call-interactively, table-funcall, table-apply): Remove.
2950 (table-function): New function, to replace them.
2951
d83ef976
SM
2952 * bookmark.el (bookmark-search-pattern): Remove var.
2953 (bookmark-read-search-input): Remove function.
2954 (bookmark-bmenu-search): Reimplement using a minibuffer.
2955
cd386662
SM
2956 * faces.el (modeline): Remove obsolete face name.
2957
fe0a74f9
SM
2958 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
2959 and give a non-nil default value.
2960 (add-change-log-entry): Simplify accordingly.
2961
9f7b98f8
DG
29622012-10-01 Dmitry Gutov <dgutov@yandex.ru>
2963
2964 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
2965 (vc-git-log-edit-toggle-amend): New function.
2966 (vc-git-log-edit-toggle-signoff): New function.
2967 (vc-git-log-edit-mode): New major mode.
2968 (vc-git-log-edit-mode-map): Keymap for it.
2969 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
2970
2971 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
2972 header names.
2973 (log-edit-toggle-header): New function.
2974 (log-edit-extract-headers): Accept function values in HEADERS alist.
2975
62a81506
CY
29762012-10-01 David Engster <deng@randomsample.de>
2977
2978 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
2979 from symbol property and change message to be more consistent with
2980 Emacs proper.
2981 (eieio-describe-generic): Add filename for each implementation.
2982 Fix indices for generic and normal methods.
2983 (eieio-method-def, eieio-class-def): New buttons.
2984 (eieio-help-find-method-definition)
2985 (eieio-help-find-class-definition): New functions.
2986 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
2987 class, constructor and method definitions.
2988
2989 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
2990 information in symbol property.
2991 (scoped-class): Remove.
2992 (eieio-slot-name-index, call-next-method): Check if it is bound.
2993
29942012-10-01 Leo P. White <lpw25@cam.ac.uk>
2995
2996 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
2997 (eieio-custom-mode): New major mode.
2998 (eieio-customize-object): Use it.
2999
30002012-10-01 Eric Ludlam <zappo@gnu.org>
3001
3002 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
3003 specifying the expected class, and whether subclassing is allowed.
3004 (eieio-persistent-convert-list-to-object):
1f9f395d
JB
3005 (eieio-persistent-validate/fix-slot-value)
3006 (eieio-persistent-slot-type-is-class-p): New functions.
3007 (eieio-named::slot-missing): Doc fix.
62a81506
CY
3008
3009 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
3010 Stop using unused publd variable.
3011
3012 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
3013 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
3014 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
3015 (eieio-speedbar-handle-click): Do not specify a class for the
3016 method. Fixes method invocation order problems with EDE.
3017
375e49d4
SM
30182012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
3019
3020 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
3021 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
3022
16ce6ccd
KF
30232012-10-01 Karl Fogel <kfogel@red-bean.com>
3024
3025 * bookmark.el (bookmark-version-control): Give tags in the
3026 :type choices (Bug#12309), and improve doc string.
e4c4abdd
KF
3027 (bookmark-write-file): Bind `print-circle' to `t' to allow
3028 circular custom bookmark types. (Bug#12503)
16ce6ccd 3029
19e54a4d
PE
30302012-10-01 Paul Eggert <eggert@cs.ucla.edu>
3031
86ec63ba
PE
3032 Revert the FOLLOW-SYMLINKS change for file-attributes.
3033 * files.el (remote-file-name-inhibit-cache, after-find-file):
3034 * time.el (display-time-file-nonempty-p): Undo last change.
3035
19e54a4d
PE
3036 * profiler.el (profiler-sampling-interval): Change default back to 1.
3037 See Stefan Monnier in
3038 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
3039
0478776b
FEG
30402012-10-01 Fabián Ezequiel Gallina <fgallina@cuca>
3041
3042 Shell output catching a la gud-gdb.
3043 * progmodes/python.el (python-shell-fetch-lines-in-progress)
375e49d4
SM
3044 (python-shell-fetch-lines-string, python-shell-fetched-lines):
3045 New Vars.
0478776b
FEG
3046 (python-shell-fetch-lines-filter): New function.
3047 (python-shell-send-string-no-output): Use them.
3048
c22bac2c
TM
30492012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
3050
3051 * profiler.el (profiler-sampling-interval): Rename from
3052 profiler-sample-interval.
3053 (profiler-sampling-interval): Default to 10.
3054 (profiler-find-profile): New command (was profiler-find-log).
3055 (profiler-find-profile-other-window): New command.
3056 (profiler-find-profile-other-frame): New command.
3057 (profiler-profile): Introduce API-level data structure.
3058
e7a2937b
PE
30592012-09-30 Paul Eggert <eggert@cs.ucla.edu>
3060
3061 file-attributes has a new optional arg FOLLOW-SYMLINKS.
3062 * files.el (remote-file-name-inhibit-cache):
3063 * time.el (display-time-file-nonempty-p): Use it.
3064 * files.el (after-find-file): Don't chase links before calling
3065 file-exists-p, as file-exists-p already does the right thing.
3066
4f595e15
RA
30672012-09-30 Ralf Angeli <angeli@caeruleus.net>
3068
3069 Merge from standalone RefTeX repository.
3070
3071 The following ChangeLog entries are shortened versions of the
3072 original ones with file paths adapted. A not so strongly edited
3073 version of the original ChangeLog can be found in the commit log.
3074
3075 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
375e49d4
SM
3076 (reftex-arg-cite): Use `reftex-cite-key-separator'.
3077 Correctly handle new value type returned by `reftex-citation'.
4f595e15
RA
3078
3079 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
375e49d4
SM
3080 that entries with whitespace at various places are found.
3081 Doc fix. Include entries that are cross-referenced from cited entries.
4f595e15
RA
3082 Include @String definitions in the resulting bib file. Add header
3083 and footer defined in `reftex-create-bibtex-header' and
3084 `reftex-create-bibtex-footer'.
3085 (reftex-do-citation): Make it possible again to insert
3086 non-existent entries. Save match data when asking for optional
3087 arguments. Return all keys, not just the first one.
3088 (reftex-all-used-citation-keys): Fix regexp to correctly extract
3089 all citations in the same line.
3090 (reftex-parse-bibtex-entry): Accept additional optional argument
3091 `raw' and keep quotes or braces if it is non-nil. Match fields
3092 containing hyphens besides word constituents.
3093 (reftex-get-string-refs): New function.
3094 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
3095 and ask if it should be reread in case it did.
3096 (reftex-pop-to-bibtex-entry)
3097 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
3098 entries with spaces or tabs in front of arguments.
3099 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
375e49d4
SM
3100 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
3101 Match entries containing numbers and symbol constituents.
3102 (reftex-do-citation, reftex-figure-out-cite-format):
3103 Use `reftex-cite-key-separator'.
4f595e15
RA
3104
3105 * textmodes/reftex-dcr.el: Move provide statement to end of file.
3106 (reftex-mouse-view-crossref): Explain why point is set.
3107
3108 * textmodes/reftex-global.el: Whitespace changes.
3109
3110 * textmodes/reftex-index.el: Move provide statement to end of
3111 file.
3112 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
3113 (reftex-index-visit-phrases-buffer): Set marker when visiting
3114 buffer. This allows for returning from the phrases file to the
3115 file one was just editing instead of the file where the last
3116 phrases was added from.
3117 (reftex-index-phrases-syntax-table): New variable. Give ?\"
3118 punctuation syntax as it usually is not used as string quote in
3119 TeX-related modes and may occur unmatched. The change also
3120 prevents fontification of quoted content.
3121 (reftex-index-phrases-mode): Use it.
3122
375e49d4
SM
3123 * textmodes/reftex-parse.el (reftex-parse-from-file):
3124 Move backward one char if a `\' was matched after a section macro.
4f595e15
RA
3125 (reftex-parse-from-file): Use beginning of match instead of end as
3126 bound.
3127
3128 * textmodes/reftex-ref.el: Adapt creation of
3129 `reftex-<package>-<macro>' functions to new structure of
3130 `reftex-ref-style-alist'.
375e49d4
SM
3131 (reftex-reference): Use `reftex-ref-style-list' function.
3132 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
4f595e15
RA
3133 reference macro if `reftex-ref-macro-prompt' is non-nil.
3134 (reftex-reference): Pass refstyle to `reftex-format-special'.
3135 Determine reference macro by looking at
375e49d4
SM
3136 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
3137 Use only one special format function.
4f595e15
RA
3138 (reftex-varioref-vref, reftex-fancyref-fref)
3139 (reftex-fancyref-Fref): Remove definitions. The functions are now
3140 generated from `reftex-ref-style-alist'.
3141 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
3142 Remove.
3143 (reftex-format-special): New function.
3144
3145 * textmodes/reftex-sel.el
3146 (reftex-select-cycle-ref-style-internal): Adapt to new structure
3147 of `reftex-ref-style-alist'. Remove code for testing macro type.
3148 (reftex-select-toggle-varioref)
3149 (reftex-select-toggle-fancyref): Remove.
3150 (reftex-select-cycle-ref-style-internal)
3151 (reftex-select-cycle-ref-style-forward)
3152 (reftex-select-cycle-ref-style-backward): New functions.
3153 (reftex-select-label-map): Use `v' and `V' for general cycling
3154 through reference styles. Add `p' for switching between number
3155 and page reference types.
3156
375e49d4
SM
3157 * textmodes/reftex-toc.el (reftex-re-enlarge):
3158 Call `enlarge-window' only if there is something to do because in Emacs
4f595e15
RA
3159 the horizontal version throws an error even if the parameter is 0.
3160
3161 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
3162 (reftex-plug-into-AUCTeX): Doc fix.
3163 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
3164 string. Adapt to new name.
3165 (reftex-ref-style-alist): Change structure so that it is not
3166 possible to use multiple different package names within a style.
375e49d4
SM
3167 Remove the symbols for symbols for macro type distinction.
3168 Add characters for macro selection.
4f595e15
RA
3169 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
3170 (reftex-create-bibtex-footer): New variables.
3171 (reftex-format-ref-function): Mention third argument of special
3172 format function.
375e49d4
SM
3173 (reftex-ref-style-alist, reftex-ref-style-default-list):
3174 New variables.
4f595e15
RA
3175 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
3176 to new implementation. Mark as obsolete. Add compatibility code
3177 for honoring the variable values in case they are set.
375e49d4
SM
3178 (reftex-cite-format-builtin, reftex-bibliography-commands):
3179 Add support for ConTeXt.
3180 (reftex-format-ref-function, reftex-format-cite-function):
3181 Fix custom type.
4f595e15
RA
3182 (reftex-cite-key-separator): New variable.
3183
3184 * textmodes/reftex.el (reftex-syntax-table-for-bib)
3185 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
3186 `reftex-syntax-table' because parens have to retain their paren
3187 syntax in order for parsing of BibTeX entries like @book(...) to
3188 work.
3189 (reftex-in-comment): Do not error out if `comment-start-skip' is
3190 not set. Deal correctly with escaped comment characters.
375e49d4
SM
3191 (reftex-tie-multifile-symbols): Add doc string.
3192 Initialize `reftex-ref-style-list'.
4f595e15
RA
3193 (reftex-untie-multifile-symbols): Add doc string.
3194 (reftex-add-index-macros): Doc fix.
3195 (reftex-ref-style-activate, reftex-ref-style-toggle)
3196 (reftex-ref-style-list): New functions.
3197 (reftex-mode-menu): Use them. Adapt to new structure of
3198 `reftex-ref-style-alist'.
3199 (reftex-select-with-char): Kill the RefTeX Select buffer when
3200 done.
3201 (reftex-remove-if): New function.
3202 (reftex-erase-all-selection-and-index-buffers)
3203 (reftex-mode-menu): Reference styles are now computed from
3204 `reftex-ref-style-alist'. Fix typo.
3205 (reftex-report-bug): New function.
3206 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
3207 algorithms with O(n log n). Introduce optional argument SORT (not
3208 yet used).
3209
440ba395
FEG
32102012-09-30 Fabián Ezequiel Gallina <fgallina@cuca>
3211
3212 Enhancements for triple-quote string syntax.
375e49d4
SM
3213 * progmodes/python.el (python-syntax-propertize-function):
3214 Match both quote cases in one regexp.
440ba395
FEG
3215 (python-syntax-stringify): Handle matches properly.
3216
4c478e6b
JL
32172012-09-30 Juri Linkov <juri@jurta.org>
3218
3219 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
93cacb6d 3220 to nil around the call to `insert' to prevent
4c478e6b
JL
3221 directory time modification by lock_file. (Bug#2295)
3222 * tar-mode.el (tar-summarize-buffer): Idem.
3223
d80d54b2
JL
32242012-09-30 Juri Linkov <juri@jurta.org>
3225
3226 * facemenu.el (list-colors-sort): Add option "Luminance".
3227 (list-colors-sort-key): Implement it.
3228
3229 * vc/diff-mode.el (diff-refine-removed):
3230 * vc/ediff-init.el (ediff-fine-diff-A):
3231 * vc/smerge-mode.el (smerge-refined-removed):
3232 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
3233
d7e642cc
JD
32342012-09-30 Jan Djärv <jan.h.d@swipnet.se>
3235
3236 * term/ns-win.el (x-file-dialog): New function.
3237
ee41332b
JB
32382012-09-30 Juanma Barranquero <lekktu@gmail.com>
3239
3240 * ido.el (ido-max-directory-size): Default to nil; the current
3241 default is small for POSIX systems, and impractical on Windows 7
3242 now that lstat returns directory sizes for NTFS.
3243
5938d519
MR
32442012-09-30 Martin Rudalics <rudalics@gmx.at>
3245
3246 In buffer display functions handle window-height/window-width
3247 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
375e49d4
SM
3248 * window.el (window--display-buffer): New argument ALIST.
3249 Obey window-height and window-width alist entries.
3250 (window--try-to-split-window): New argument ALIST.
3251 Bind window-combination-limit to t when the window's size shall be
5938d519
MR
3252 changed and window-combination-limit equals `window-size'.
3253 (display-buffer-in-atom-window)
3254 (display-buffer-in-major-side-window)
3255 (display-buffer-in-side-window, display-buffer-same-window)
3256 (display-buffer-reuse-window, display-buffer-pop-up-frame)
3257 (display-buffer-pop-up-window, display-buffer-below-selected)
3258 (display-buffer-at-bottom, display-buffer-in-previous-window)
3259 (display-buffer-use-some-window): Adjust all callers of
3260 window--display-buffer and window--try-to-split-window.
3261 (fit-frame-to-buffer): New option.
3262 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
3263 is non-nil.
3264 (display-buffer-in-major-side-window): Evaluate window-height /
3265 window-width alist entries.
3266
3267 * help.el (temp-buffer-resize-frames)
3268 (temp-buffer-resize-regexps): Remove options.
3269 (temp-buffer-resize-mode): Adjust doc-string.
3270 (resize-temp-buffer-window): Don't consult
3271 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
3272 temp-buffer-resize-frames.
3273
375e49d4
SM
3274 * dired.el (dired-mark-pop-up):
3275 Call display-buffer-below-selected with a fit-window-to-buffer alist
5938d519
MR
3276 entry.
3277
c4c0c2df
CY
32782012-09-30 Chong Yidong <cyd@gnu.org>
3279
48de8b12
CY
3280 * server.el (server-host): Document the security implications.
3281 (server-auth-key): Doc fix.
3282
3283 * startup.el (initial-buffer-choice): Doc fix.
3284
3285 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
3286
a97dc380
CY
3287 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
3288 restriction change.
3289
d39d3c8e
CY
3290 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
3291
c4c0c2df
CY
3292 * help-fns.el (help-fns--obsolete): Fix last change.
3293
98a5e33b
SM
32942012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
3295
34cf6f39
SM
3296 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
3297 (minor-mode-map-alist): Remove redundant code.
3298
e01c13fe
SM
3299 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
3300 visited in a buffer.
3301 (cvs-insert-visited-file): New function.
3302 (find-file-hook): Use it.
3303
3304 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
3305
02661b3a
SM
3306 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
3307 chose face.
3308 (log-edit-empty-buffer-p): Don't require a space after a header.
3309
43711d4b
SM
3310 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
3311
38a30d64
SM
3312 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
3313
4ffb41a9
SM
3314 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
3315 a proper minor-mode.
3316
98a5e33b
SM
3317 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
3318
de82e29b
GM
33192012-09-29 Glenn Morris <rgm@gnu.org>
3320
5cc2e639
GM
3321 * winner.el (winner-mode): Remove variable (let define-minor-mode
3322 handle it).
3323 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
3324 Doc fixes.
3325 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
3326 (winner-mode): Use define-minor-mode.
3327
7bd302eb
GM
3328 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
3329 the full definition in loaddefs, rather than duplicating it.
3330
2923922f 3331 * help-macro.el (three-step-help): No need to autoload defcustom.
ced08382 3332
0e3e4156
GM
3333 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
3334 (inferior-lisp-program, inferior-lisp-load-command)
3335 (inferior-lisp-prompt, inferior-lisp-mode-hook):
2923922f 3336 No need to autoload defcustoms.
0e3e4156 3337
de82e29b
GM
3338 * hippie-exp.el (hippie-expand-try-functions-list)
3339 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
3340 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
3341 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
2923922f 3342 (hippie-expand-only-buffers): No need to autoload defcustoms.
de82e29b
GM
3343 * progmodes/vhdl-mode.el (vhdl-line-expand):
3344 Explicitly load hippie-exp, so it does not get autoloaded
3345 while hippie-expand-try-functions-list is let-bound.
3346
e60b51ab
GM
33472012-09-28 Glenn Morris <rgm@gnu.org>
3348
277f0cfa
GM
3349 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
3350
e60b51ab
GM
3351 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
3352 Only "cl.el" counts as cl these days.
3353
53baf48a
JL
33542012-09-28 Juri Linkov <juri@jurta.org>
3355
3356 Display archive errors in the echo area instead of inserting
3357 to the file buffer.
3358
3359 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
3360 to STDERR-TEST that can be a regexp matching a successful output.
3361 Create a temporary file and redirect stderr to it. Search for
3362 STDERR-TEST in the stderr output and display it in the echo area
3363 if no match is found.
3364 (archive-extract-by-file): New function like
3365 `archive-extract-by-stdout' but extracting archives to files
3366 and looking for successful matches in stdout. Function body is
3367 mostly copied from `archive-rar-extract'.
3368 (archive-rar-extract): Use `archive-extract-by-file'.
3369 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
3370
9c1228c3
LL
33712012-09-28 Leo Liu <sdl.web@gmail.com>
3372
375e49d4
SM
3373 * pcomplete.el (pcomplete-show-completions):
3374 Use minibuffer-message to make pcomplete usable in minibuffer.
147c0425 3375
9c1228c3
LL
3376 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
3377
7f457c06
SM
33782012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
3379
3df749b0
SM
3380 * type-break.el: Use lexical-binding.
3381 (type-break-mode): Use define-minor-mode.
3382
7f457c06
SM
3383 * emacs-lisp/pcase.el (pcase--mark-used): New.
3384 (pcase--u1): Use it (bug#12512).
3385
3386 * custom.el (load-theme): Set buffer-file-name so the load is recorded
3387 in load-history with the right file name.
3388
c00ebc98
TH
33892012-09-28 Tassilo Horn <tsdh@gnu.org>
3390
3391 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
3392 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
3393 (doc-view-get-bounding-box): Make bounding box slicing work for
3394 ODF and DVI documents.
3395
96fb7170
GM
33962012-09-28 Glenn Morris <rgm@gnu.org>
3397
3398 * type-break.el (type-break-mode, type-break-interval)
3399 (type-break-good-rest-interval, type-break-keystroke-threshold):
3400 No need to autoload.
3401 (type-break-good-rest-interval, type-break-keystroke-threshold):
3402 Add :set-after.
3403
5bc93c67
CY
34042012-09-28 Chong Yidong <cyd@gnu.org>
3405
3406 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
3407 Add :version tag.
3408
9cad61d6
SM
34092012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
3410
e28e67b3 3411 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
9cad61d6 3412
daee954c
GM
34132012-09-27 Glenn Morris <rgm@gnu.org>
3414
a88324d4
GM
3415 * faces.el (x-display-name): Declare (for without-x builds).
3416
8e5064e5
GM
3417 * linum.el (linum-format): Don't autoload it. Improve :type.
3418
cc1783c2
GM
3419 * progmodes/tcl.el: Don't require outline when compiling.
3420 (outline-regexp, outline-level): Declare.
1dddcf4c
GM
3421 * textmodes/sgml-mode.el: Don't require outline when compiling.
3422 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
3423
48c339f2
GM
3424 * term.el (term-ansi-reset):
3425 Try setting term-ansi-face-already-done to nil. (Bug#11785)
3426
daee954c
GM
3427 * vc/vc.el (vc-next-action): Only gripe about committing read-only
3428 files for RCS and SCCS. (Bug#9781)
3429
b7f42161
CY
34302012-09-27 Chong Yidong <cyd@gnu.org>
3431
3432 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
3433 change; value should be t.
3434
a2e770db
SM
34352012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
3436
83600dc8
SM
3437 * image-mode.el: Use lexical-binding.
3438 (image-mode-winprops): Use t to stand for the window of
3439 a buffer that's not displayed.
3440 * doc-view.el (doc-view-new-window-function): Handle the new
3441 t in winprops.
3442 (doc-view-enlarge): Make it a real nop if the size is not changed.
3443 (doc-view-display): Handle the case where the buffer is not (yet?)
3444 displayed in any window.
3445 (doc-view-saved-settings): New var.
3446 (doc-view-mode): Use it.
3447 (doc-view-fallback-mode): Set it.
3448
a2e770db
SM
3449 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
3450 Set lexical-binding.
3451 (minibuffer-eldef-shorten-default): New var.
3452 (minibuffer-default-in-prompt-regexps): Use it for new default.
3453 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
3454
e3b60857
JB
34552012-09-26 Juanma Barranquero <lekktu@gmail.com>
3456
3457 * international/uni-bidi.el:
3458 * international/uni-category.el:
3459 * international/uni-name.el:
3460 * international/uni-numeric.el: Regenerate.
3461
3a880af4
SM
34622012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
3463 Stefan Monnier <monnier@iro.umontreal.ca>
3464
3465 * profiler.el: New file.
3466
07b1a5fb
SM
34672012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
3468
3469 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
3470 (testcover-reinstrument): Simplify with CSE.
3471
42019c2e
JB
34722012-09-26 Juanma Barranquero <lekktu@gmail.com>
3473
3474 * window.el (temp-buffer-window-setup): Fix typo in docstring.
3475
179f044b
WS
34762012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
3477
3478 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
3479 (verilog-auto-input, verilog-auto-insert-lisp)
3480 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
3481 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
3482 (verilog-auto-unused, verilog-auto-wire)
3483 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
3484 newline. Reported by Andrew Jones.
3485 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
3486 Reported by Brad Dobbie.
07b1a5fb
SM
3487 (verilog-batch-delete-trailing-whitespace):
3488 Create verilog-batch-delete-trailing-whitespace.
3489 Reported by Brad Dobbie.
179f044b
WS
3490 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
3491 parameters from another module. Reported by Dan Katz.
3492 (verilog-auto, verilog-auto-assign-modport)
3493 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
3494 AUTOINOUTMODPORT for UVM interface module shell generation.
3495 Reported by Brad Dobbie.
3496 (verilog-auto-inst-interfaced-ports): Make default nil, as more
3497 standard behavior.
3498 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
3499 Reported by Matt Martin.
3500
9c52dd5a
MR
35012012-09-25 Martin Rudalics <rudalics@gmx.at>
3502
3503 * window.el (window--resize-child-windows): When resizing child
3504 windows proportionally, process them in reverse order to
3505 preserve the "when splitting a window the new one gets the odd
3506 line" behavior.
3507 (window--resize-root-window-vertically): When resizing the
3508 minibuffer window try to affect only windows at the bottom of the
3509 frame. (Bug#12419)
3510
863666eb
CY
35112012-09-25 Chong Yidong <cyd@gnu.org>
3512
3513 * subr.el (declare): Doc fix.
3514
3515 * help-fns.el (help-fns--obsolete): Handle macros properly.
3516
59f7af81
CY
35172012-09-25 Chong Yidong <cyd@gnu.org>
3518
3519 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
3520 this function obsolete.
3521
3522 * calendar/cal-x.el (calendar-two-frame-setup)
3523 (calendar-only-one-frame-setup, calendar-one-frame-setup):
3524 * calendar/calendar.el (american-calendar, european-calendar)
3525 (calendar-for-loop):
3526 * comint.el (comint-dynamic-simple-complete)
3527 (comint-dynamic-complete-as-filename, comint-unquote-filename):
3528 * desktop.el (desktop-load-default):
3529 * dired-x.el (dired-omit-here-always)
3530 (dired-hack-local-variables, dired-default-directory):
3531 * emacs-lisp/derived.el (derived-mode-class):
3532 * emacs-lisp/timer.el (timer-set-time-with-usecs):
3533 * emacs-lock.el (toggle-emacs-lock):
3534 * epa.el (epa-display-verify-result):
3535 * epg.el (epg-sign-keys, epg-start-sign-keys)
3536 (epg-passphrase-callback-function):
3537 * eshell/esh-util.el (eshell-for):
3538 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
3539 (eshell-add-to-window-buffer-names):
3540 * files.el (locate-file-completion):
3541 * imenu.el (imenu-example--create-c-index)
3542 (imenu-example--create-lisp-index)
3543 (imenu-example--lisp-extract-index-name)
3544 (imenu-example--name-and-position):
3545 * international/mule-cmds.el (princ-list):
3546 * international/mule-diag.el (decode-codepage-char):
3547 * international/mule-util.el (detect-coding-with-priority):
3548 * iswitchb.el (iswitchb-read-buffer):
3549 * mail/mailalias.el (mail-complete):
3550 * mail/sendmail.el (mail-sent-via):
3551 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
3552 (mouse-major-mode-menu):
3553 * password-cache.el (password-read-and-add):
3554 * pcomplete.el (pcomplete-parse-comint-arguments):
3555 * progmodes/sh-script.el (sh-maybe-here-document):
3556 * replace.el (query-replace-regexp-eval):
3557 * savehist.el (savehist-load):
3558 * simple.el (choose-completion-delete-max-match):
3559 * term.el (term-dynamic-simple-complete):
3560 * vc/ediff-init.el (ediff-check-version):
3561 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
3562 * vc/vc.el (vc-diff-switches-list):
3563 * view.el (view-return-to-alist-update): Likewise.
3564
3565 * subr.el (eval-next-after-load, makehash, insert-string)
3566 (assoc-ignore-representation, assoc-ignore-case): Use declare to
3567 mark obsolete.
3568 (mode-line-inverse-video): Variable deleted.
3569
3570 * international/mule-util.el (string-to-sequence): Remove.
3571
3572 * calendar/calendar.el (calendar-version):
3573 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
3574 (icalendar-convert-diary-to-ical):
3575 * cus-edit.el (custom-mode):
3576 * ansi-color.el (ansi-color-unfontify-region):
3577 * international/latin1-disp.el (latin1-char-displayable-p):
3578 * progmodes/cwarn.el (turn-on-cwarn-mode):
07b1a5fb
SM
3579 * progmodes/which-func.el (which-func-update-1):
3580 Use define-obsolete-function-alias.
59f7af81
CY
3581
3582 * net/newst-backend.el (newsticker-cache-filename):
07b1a5fb
SM
3583 * net/newst-treeview.el (newsticker-groups-filename):
3584 Fix incorrect obsolescence declaration.
59f7af81
CY
3585
3586 * allout.el (allout-passphrase-hint-string): Likewise.
3587 (allout-init): Use a declare form to mark obsolete.
3588
3589 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
3590 this applies to functions.
3591
3592 * iswitchb.el (iswitchb-read-buffer): Move code of
3593 iswitchb-define-mode-map here, and delete that obsolete function.
3594
3595 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
3596 font-lock-reference-face.
3597
cca96c97
GM
35982012-09-25 Glenn Morris <rgm@gnu.org>
3599
b06eeda8
GM
3600 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
3601 Doc fixes.
3602
cca96c97
GM
3603 * eshell/em-term.el (eshell-term-name):
3604 Default to term-term-name. (Bug#12485)
3605
dc4f818b
FEG
36062012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
3607
cca96c97
GM
3608 * progmodes/python.el (python-shell-send-buffer): Better handling
3609 of "if __name__ == '__main__':" conditionals when sending the buffer.
dc4f818b 3610
289c24bd
GM
36112012-09-24 Glenn Morris <rgm@gnu.org>
3612
3613 * eshell/esh-cmd.el (eshell-find-alias-function):
3614 Tighten up file-name regexp. (Bug#12499)
3615
8fb8b88f
FEG
36162012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
3617
3618 Enhancements for triple-quote string syntax.
3619 * progmodes/python.el (python-quote-syntax): Remove.
3620 (python-syntax-propertize-function): New value.
07b1a5fb
SM
3621 (python-syntax-count-quotes, python-syntax-stringify):
3622 New functions.
8fb8b88f 3623
6c27f0f8
CY
36242012-09-24 Chong Yidong <cyd@gnu.org>
3625
a5f2b6ec
CY
3626 * mail/supercite.el (sc-version): Remove obsolete function.
3627 (sc-describe): Don't mark as obsolete, since it is bound.
3628 (sc-submit-bug-report): Remove.
3629
3630 * vc/log-edit.el (cvs-changelog-full-paragraphs)
3631 (cvs-commit-buffer-require-final-newline): Remove.
0c765e5f
CY
3632 (log-edit-require-final-newline)
3633 (log-edit-changelog-full-paragraphs): Default to t.
a5f2b6ec
CY
3634
3635 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
3636 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
3637 * vc/vc.el (vc-checkout-carefully): Likewise.
3638
3639 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
3640 (emerge-version): Remove.
3641
3642 * progmodes/compile.el (compile-internal): Remove.
3643 (compilation-parse-errors-function): Fix typo.
3644
3645 * international/mule.el (set-char-table-default): Remove.
3646 (set-coding-priority, make-coding-system, generic-char-p)
3647 (charset-list, charset-bytes, charset-id): Use declare to mark
3648 functions as obsolete.
3649
3650 * vc/pcvs-defs.el (cvs-buffer-name-alist)
3651 (cvs-invert-ignore-marks): Remove references to obsolete vars.
3652 * vc/vc-hooks.el (vc-default-registered): Don't use
3653 vc-master-templates.
3654
07b1a5fb
SM
3655 * font-lock.el (font-lock-reference-face):
3656 Use define-obsolete-variable-alias.
6c27f0f8
CY
3657
3658 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
3659 * calendar/calendar.el (calendar-font-lock-keywords):
3660 * calendar/diary-lib.el (diary-font-lock-keywords)
3661 (diary-fancy-font-lock-keywords):
3662 * textmodes/reftex-sel.el (reftex-insert-docstruct):
3663 * textmodes/reftex-index.el (reftex-insert-index):
3664 * textmodes/reftex-cite.el (reftex-format-bib-entry):
3665 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
3666 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
3667 * progmodes/prolog.el (prolog-font-lock-keywords):
3668 * progmodes/idlwave.el (idlwave-idl-keywords):
3669 * progmodes/ada-mode.el (ada-font-lock-keywords):
3670 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
3671
bcc0adbf
GM
36722012-09-24 Glenn Morris <rgm@gnu.org>
3673
3674 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
3675
095bb823
FEG
36762012-09-23 Fabián Ezequiel Gallina <fgallina@cuca>
3677
3678 * progmodes/python.el (python-indent-line): More consistent cursor
3679 movement behavior.
3680
70efc5c9
SM
36812012-09-23 Stefan Merten <smerten@oekonux.de>
3682
3683 * textmodes/rst.el: Fix compiler warning.
3684
2f438239
RW
36852012-09-23 Roland Winkler <winkler@gnu.org>
3686
07b1a5fb
SM
3687 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
3688 Transcribe also LaTeX hyphenation.
2f438239
RW
3689 (bibtex-reformat): Bug fix. Do not quote twice the elements of
3690 bibtex-reformat-previous-options.
3691
936ad041
RW
36922012-09-23 Roland Winkler <winkler@gnu.org>
3693
3694 * proced.el (proced-renice-command): New variable.
3695 (proced-marked-processes): New function.
3696 (proced-with-processes-buffer): New macro.
3697 (proced-send-signal): Use them.
3698 (proced-renice): New command bound to r.
3699
6fab0274
RW
37002012-09-23 Roland Winkler <winkler@gnu.org>
3701
3702 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
3703 ibuffer-saved-filter-groups has one element, shortcut the call of
3704 completing-read. (Bug#12331)
3705
9a930676
CY
37062012-09-23 Chong Yidong <cyd@gnu.org>
3707
3708 * bindings.el (mode-line-toggle-read-only):
3709 * bs.el (bs-toggle-readonly):
3710 * buff-menu.el (Buffer-menu-toggle-read-only):
3711 * dired.el (dired-toggle-read-only):
3712 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
3713
d07ff9db
CY
37142012-09-23 Chong Yidong <cyd@gnu.org>
3715
3716 * image.el (image-type-available-p): Adapt to init-image-library
3717 argument changes.
3718
51c4474e
JL
37192012-09-22 Juri Linkov <juri@jurta.org>
3720
3721 * dired.el (dired-mode-map): Add [remap read-only-mode] for
3722 `dired-toggle-read-only'. (Bug#12462)
3723
43bf5e8e
MR
37242012-09-22 Martin Rudalics <rudalics@gmx.at>
3725
3726 * subr.el (temp-output-buffer-show): New function.
3727 (with-output-to-temp-buffer): Call temp-output-buffer-show
3728 instead of internal-temp-output-buffer-show.
3729
c88b867f
CY
37302012-09-22 Chong Yidong <cyd@gnu.org>
3731
3df47cd5
CY
3732 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
3733 (Bug#12462).
3734
c88b867f
CY
3735 * repeat.el (repeat): Doc fix (Bug#12348).
3736
3737 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
3738 (Bug#10909).
3739
3740 * simple.el (shell-command-on-region): Doc fix.
3171e303 3741 (read-only-mode): Doc fix.
c88b867f 3742
df9685f3
EZ
37432012-09-22 Eli Zaretskii <eliz@gnu.org>
3744
3745 * emacs-lisp/timer.el (run-with-idle-timer)
3746 (timer-activate-when-idle): Warn against reinvoking an idle timer
3747 from within its own timer action. (Bug#12447)
3748
8e17c9ba
MR
37492012-09-22 Martin Rudalics <rudalics@gmx.at>
3750
3751 * cus-start.el (window-combination-limit): Add new optional
3752 values.
3753 * window.el (temp-buffer-window-show)
3754 (window--try-to-split-window): Handle new values of
3755 window-combination-limit (Bug#1806).
3756 (split-window): Test window-combination-limit for t instead of
3757 non-nil.
3758 (display-buffer-at-bottom): New buffer display action function.
3759 * help.el (temp-buffer-resize-regexps): New option.
3760 (temp-buffer-resize-mode): Rewrite doc-string.
3761 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
bd909927 3762 Don't resize reused window. Suggested by Glenn Morris.
8e17c9ba 3763
48a24920
SM
37642012-09-22 Stefan Merten <smerten@oekonux.de>
3765
70efc5c9 3766 * textmodes/rst.el: Revamp section title faces.
48a24920
SM
3767 (rst-official-version)
3768 (rst-package-emacs-version-alist): Sync with official version
3769 V1.4.0.
3770 (rst-faces-defaults, rst-set-level-default)
3771 (rst-level-face-max, rst-level-face-base-color)
3772 (rst-level-face-base-light, rst-level-face-format-light)
3773 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
3774 (rst-adornment-faces-alist): Match new setup.
3775 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
3776 (rst-level-5, rst-level-6): New faces.
3777
82f8cd94
CY
37782012-09-22 Chong Yidong <cyd@gnu.org>
3779
3780 * simple.el (undo): Handle indirect buffers (Bug#8207).
3781
acfa068f 37822012-09-21 Leo Liu <sdl.web@gmail.com>
a8c14da8
LL
3783
3784 IDO: Disable match re-ordering for buffer switching.
2bc9406c 3785 * ido.el (ido-buffer-disable-smart-matches): New variable.
a8c14da8
LL
3786 (ido-set-matches-1): Use it. (Bug#2042)
3787
acfa068f 37882012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
a316d229
JM
3789
3790 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
3791 Fix 2011-05-17 change. (Bug#12418)
3792
acfa068f 37932012-09-21 Leo Liu <sdl.web@gmail.com>
d02e58f8
LL
3794
3795 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
3796
acfa068f 37972012-09-21 Glenn Morris <rgm@gnu.org>
511fd0b2
GM
3798
3799 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
3800 Be more robust about locating simple.el.
3801
acfa068f 38022012-09-21 Glenn Morris <rgm@gnu.org>
fa05bfe0
GM
3803
3804 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
3805
acfa068f
CY
38062012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
3807
3808 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
3809
41a97e6f
JL
38102012-09-20 Juri Linkov <juri@jurta.org>
3811
eb2deaff
JL
3812 * replace.el (query-replace-read-from): Use `read-regexp' instead
3813 of `read-from-minibuffer' when `regexp-flag' is non-nil.
3814 (occur-read-primary-args): Use `read-regexp' instead of
3815 `read-string'.
3816 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
3817 `read-from-minibuffer'.
3818 * isearch.el (isearch-occur): Use `read-regexp' instead of
3819 `read-string'.
3820 * dired.el (dired-read-regexp): Use `read-regexp' instead of
3821 `read-from-minibuffer'.
3822 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
3823 of `read-string'. (Bug#7567)
3824
5825610b
JL
3825 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
3826 and allow accepting a list of strings prepended to a list of
3827 standard default values. Doc fix. (Bug#12321)
3828
eebbf404
JL
3829 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
3830
41a97e6f
JL
3831 * replace.el (read-regexp): Don't add ": " when PROMPT already
3832 ends with a colon and space. (Bug#12321)
3833
c9e452d3
TH
38342012-09-20 Tassilo Horn <tsdh@gnu.org>
3835
3836 * doc-view.el (doc-view-display): Better fix for the cl-assertion
3837 error.
3838
ee97deee
SM
38392012-09-20 Stefan Merten <smerten@oekonux.de>
3840
70efc5c9 3841 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
ee97deee
SM
3842 Fixes feature request bug#11711.
3843 (rst-mode): Create `imenu-create-index-function'.
3844 (rst-get-stripped-line): Delete after refactoring.
3845 (rst-section-tree, rst-section-tree-rec)
3846 (rst-section-tree-point): Refactor and document properly.
3847 (rst-imenu-find-adornments-for-position)
07b1a5fb
SM
3848 (rst-imenu-convert-cell, rst-imenu-create-index):
3849 New function.
ee97deee 3850
f490dab9
SM
38512012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
3852
95b9712e
SM
3853 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
3854 (macroexp--expand-all): Use it.
3855 (macroexp--funcall-and-return): Remove by folding it into its sole
3856 caller (macroexp--warn-and-return).
3857 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
3858 Use macroexp--obsolete-warning.
3859
f490dab9
SM
3860 * calc/calc.el: Fix last change by removing the whole chunk, since it
3861 was only needed back when Calc was not bundled.
3862
96e8d411
MR
38632012-09-20 Martin Rudalics <rudalics@gmx.at>
3864
3865 * emacs-lisp/debug.el (debug): Restore assignment to
3866 debugger-old-buffer removed on 2012-09-08.
3867
0876a82d
JL
38682012-09-20 Juri Linkov <juri@jurta.org>
3869
3870 * dired-aux.el (dired-diff): Remove (require 'diff) since
3871 `diff-latest-backup-file' is now autoloaded.
3872
9f7c28f0
CY
38732012-09-20 Chong Yidong <cyd@gnu.org>
3874
3875 * vc/diff.el (diff-latest-backup-file): Autoload.
3876
7a04bee9
SM
38772012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
3878
e6f0a80d
SM
3879 * calc/calc.el: Remove redundant autoload shape check.
3880 (sel-mode): Don't defvar.
3881 (calc-get-stack-element): Add `sel-mode' arg instead.
3882 (calc-top, calc-top-list): Pass it this additional argument.
3883 * calc/calc-store.el (calc-store-map):
3884 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
3885 (calc-map-equation, calc-outer-product, calc-inner-product):
3886 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
3887
7a04bee9
SM
3888 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
3889
12734222
JL
38902012-09-19 Juri Linkov <juri@jurta.org>
3891
3892 * dired-aux.el (dired-diff): Add (require 'diff) because
3893 `diff-latest-backup-file' is not autoloaded.
3894 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
3895 of `dired-get-filename' to t to not report error when there is
3896 no default file on the current line.
3897
46624b4f
SM
38982012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
3899
ce97595b
SM
3900 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
3901 macroexp--eval-if-compile.
3902 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
3903 (macroexp--expand-all): Use them (bug#12371).
3904
46624b4f
SM
3905 * doc-view.el (doc-view-guess-paper-size)
3906 (doc-view-scale-bounding-box): Fix unbound `caddr'.
3907
db8a5a18
TH
39082012-09-19 Tassilo Horn <tsdh@gnu.org>
3909
3910 New feature: set optimal slice from BoundingBox information.
3911 * doc-view.el (doc-view-mode-map): Add keybinding.
3912 (doc-view-menu): Add menu entry.
3913 (doc-view-set-slice): Adapt docstring.
3914 (doc-view-get-bounding-box, doc-view-guess-paper-size)
3915 (doc-view-scale-bounding-box)
3916 (doc-view-set-slice-from-bounding-box): New functions.
3917 (doc-view-paper-sizes): New defvar.
3918
69f6644c
GM
39192012-09-19 Glenn Morris <rgm@gnu.org>
3920
35f5b19d
GM
3921 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
3922 (byte-compile-log-warning): Autoload. (Bug#12371)
3923
69f6644c
GM
3924 * calendar/calendar.el (calendar-american-month-header)
3925 (calendar-european-month-header, calendar-iso-month-header)
3926 (calendar-month-header): New options.
3927 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
3928 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
3929
e543ae91
JD
39302012-09-19 Jan Djärv <jan.h.d@swipnet.se>
3931
3932 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
3933
2fd5e67d
JL
39342012-09-18 Juri Linkov <juri@jurta.org>
3935
3936 * dired-aux.el (dired-diff): Restore original functionality of
3937 getting the default value, but keep new feature of using the
3938 latest existing backup file (`diff-latest-backup-file').
3939
42917e79
JL
39402012-09-18 Juri Linkov <juri@jurta.org>
3941
3942 * dired.el (dired-mark): If the region is active in Transient Mark
3943 mode, mark all files in the active region. Doc fix.
3944 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
3945 Doc fix. (Bug#10624)
3946
20f70ede
JL
39472012-09-18 Juri Linkov <juri@jurta.org>
3948
3949 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
3950 attributes for M-n are pulled from the file at point.
3951 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
3952 Suggested by Drew Adams. (Bug#10624)
3953
32fb8162
DG
39542012-09-18 Dmitry Gutov <dgutov@yandex.ru>
3955
3956 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
3957 whitespace after "end".
3958 (ruby-do-end-to-brace): Collapse block to one line if it fits
3959 within fill-column.
3960
37ab5092
MR
39612012-09-18 Martin Rudalics <rudalics@gmx.at>
3962
3963 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
3964 value.
3965 (debug): Don't remove debugger window when debugger is expected
3966 to be back.
3967
ed1f0bd3
CY
39682012-09-18 Chong Yidong <cyd@gnu.org>
3969
3970 * custom.el (defface): Doc fix.
3971
3972 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
3973
a11035b8
MB
39742012-09-18 Martin Blais <blais@furius.ca> (tiny change)
3975
3976 * progmodes/compile.el (compilation-start): Use compilation-always-kill
3977 to initialize query-on-exit; then test that instead (bug#12288).
3978
64f6a736
SM
39792012-09-17 Stefan Merten <smerten@oekonux.de>
3980
70efc5c9 3981 * textmodes/rst.el: Add support for `testcover'.
64f6a736
SM
3982 (rst-defcustom-testcover, rst-testcover-add-compose)
3983 (rst-testcover-add-1value): New functions.
3984 (rst-portable-mark-active-p): Replace by `use-region-p'.
3985 (rst-update-section, rst-classify-adornment)
3986 (rst-find-title-line): Mark `1value' forms.
3987 (rst-classify-adornment): Remove superfluous form.
3988 (rst-update-section, rst-get-adornments-around)
3989 (rst-adornment-complete-p, rst-get-next-adornment)
3990 (rst-adjust, rst-promote-region)
3991 (rst-display-adornments-hierarchy, rst-straighten-adornments)
3992 (rst-find-pfx-in-region, rst-section-tree-rec)
3993 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
3994 (rst-toc-node, rst-toc, rst-forward-section)
3995 (rst-iterate-leftmost-paragraphs)
3996 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
3997 (rst-bullet-list-region)
3998 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
3999 (rst-compile-find-conf, rst-compile)
4000 (rst-repeat-last-character): Fix style.
4001
580bd868
CY
40022012-09-17 Chong Yidong <cyd@gnu.org>
4003
4004 * comint.el (comint--complete-file-name-data): Don't add a space
4005 if the status is `sole'; that adds a gratuitous space in the
4006 completion-cycling case (Bug#12092).
4007
4008 * pcomplete.el (pcomplete-completions-at-point): Likewise.
4009
69de3ec6
RS
40102012-09-17 Richard Stallman <rms@gnu.org>
4011
0dee970c
RS
4012 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
4013 only in the mime-shown mode, not in raw mode.
4014 (rmail-mime): Toggle off mime by displaying the message without
6b250df6 4015 mime processing. (Bug#12305)
0dee970c 4016
6b250df6
GM
4017 * mail/rmail.el (rmail-retry-failure):
4018 Turn off mime processing first. (Bug#12037)
acb1c47b 4019
69de3ec6
RS
4020 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
4021
d079ee5f
CY
40222012-09-17 Chong Yidong <cyd@gnu.org>
4023
4024 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
4025 (shell-dynamic-complete-functions): Convert to defcustom.
4026 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
4027
865fe16f
CY
4028 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
4029 * comint.el (comint-prompt-read-only):
4030 * custom.el (defcustom):
4031 * hi-lock.el (hi-lock-mode):
4032 * ibuffer.el (ibuffer-formats):
4033 * ielm.el (ielm-prompt-read-only):
4034 * novice.el (disable-command):
4035 * saveplace.el (toggle-save-place):
4036 * speedbar.el (speedbar-supported-extension-expressions):
4037 * startup.el (auto-save-list-file-prefix, init-file-user)
4038 (after-init-hook, inhibit-startup-echo-area-message):
4039 * strokes.el (strokes-help):
4040 * time-stamp.el (time-stamp):
4041 * calendar/calendar.el (calendar, diary-file):
4042 * calendar/diary-lib.el (diary-mail-entries, diary)
4043 (diary-list-entries-hook):
4044 * calendar/holidays.el (holidays, calendar-holidays):
4045 * calendar/lunar.el (lunar-phases):
4046 * calendar/solar.el (sunrise-sunset):
4047 * emulation/edt.el (edt-load-keys):
4048 * emulation/viper.el (viper-mode):
4049 * eshell/em-alias.el (eshell-command-aliases-list):
4050 * eshell/esh-util.el (eshell-convert-numeric-arguments):
4051 * international/ogonek.el (ogonek-information):
4052 * net/tramp-cmds.el (tramp-bug):
4053 * net/quickurl.el (quickurl-reread-hook-postfix):
4054 * play/decipher.el (decipher-font-lock-keywords):
4055 * progmodes/cc-styles.el (c-set-style):
4056 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
4057 * progmodes/inf-lisp.el (inferior-lisp-prompt):
4058 * progmodes/octave-mod.el (octave-mode):
4059 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
4060 * progmodes/verilog-mode.el (verilog-read-defines):
4061 * textmodes/two-column.el (2C-mode): Likewise.
4062
48093eb9
KY
40632012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
4064
4065 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
4066 that holds many addresses.
4067
c584eaf9
CY
40682012-09-16 Chong Yidong <cyd@gnu.org>
4069
40d70ecb
CY
4070 * align.el (align-areas): Call the indication function with
4071 positions instead of markers for arguments (Bug#12343).
4072
1667e065
CY
4073 * files.el (parse-colon-path): Use split-string (Bug#12351).
4074
fdc2806d 4075 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
71ce58e7 4076 (display-buffer-function): Mark as obsolete.
fdc2806d 4077
f1be615c 4078 * progmodes/compile.el (compilation-parse-errors): Accept list
ce97595b
SM
4079 values similar to font-lock-keywords (Bug#12136).
4080 Suggested by Oleksandr Manzyuk.
c584eaf9
CY
4081 (compilation-error-regexp-alist): Doc fix.
4082
f40a9709
GM
40832012-09-15 Glenn Morris <rgm@gnu.org>
4084
72aa16e1
GM
4085 * version.el (emacs-bzr-version-bzr): New function.
4086 (emacs-bzr-get-version): Add optional EXTERNAL argument.
4087
82375160
GM
4088 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
4089 checkouts, check the parent dirstate matches the branch.
4090 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
4091 empty string.
4092
f40a9709
GM
4093 * version.el (emacs-bzr-version): Doc fix.
4094 (emacs-bzr-version-dirstate): New function.
4095 (emacs-bzr-get-version): For lightweight checkouts, if the parent
4096 is local try and check that it matches the branch. If not, just
4097 use dirstate information. (Bug#12441)
4098
cb26b7f5
JL
40992012-09-14 Juri Linkov <juri@jurta.org>
4100
4101 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
4102 (Bug#12399)
4103
2de39f08
SM
41042012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
4105
0fb3cb7c
SM
4106 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
4107
2de39f08
SM
4108 * emacs-lisp/edebug.el: Miscellaneous cleanup.
4109 Remove obsolete byte-compiler hack that tried to silence some warnings.
4110 (edebug-submit-bug-report): Remove.
4111 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
4112 Remove aliases, use the un-prefixed name instead.
4113 (edebug-pop-to-buffer): Consider other frames.
4114 (edebug-original-read):: Make it more obvious that it's always defined.
4115 (edebug--make-form-data-entry, edebug--form-data-name)
4116 (edebug--form-data-begin, edebug--form-data-end): Rename from the
4117 single-dashed name, and implement with cl-defstruct.
4118 (edebug-set-form-data-entry): Use the standard accessors.
4119 (edebug-make-top-form-data-entry): Use push.
4120 (edebug-no-match): Drop useless `funcall'.
4121 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
4122 to functions.
4123 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
4124 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
4125 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
4126 (easy-menu-define, with-custom-print): Remove redundant specs.
4127 (edebug-outside-overriding-local-map)
4128 (edebug-outside-overriding-terminal-local-map): Remove, unused.
4129 (edebug--display): Bind unread-command-events directly to nil rather
4130 than binding it to unread-command-events and later setting it to nil.
4131 (edebug--display): Kill edebug-eval-buffer here...
4132 (edebug--recursive-edit): ...rather than here.
4133 Bind standard-output and standard-input.
4134 (edebug-eval): Check cl-macroexpand-all is fboundp.
4135 (edebug-temp-display-freq-count): Fix last change.
4136
4137 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
4138 * subr.el (noreturn, 1value): Add `debug' spec.
4139 * emacs-lisp/advice.el: Require cl-lib.
4140 (ad-copy-tree): Remove, use copy-tree instead.
4141 (ad-dolist): Remove use dolist or cl-dolist instead.
4142 (ad-do-return): Remove, use cl-return instead.
4143 (defadvice): Add `debug' spec.
4144
5b68b333
JL
41452012-09-13 Juri Linkov <juri@jurta.org>
4146
4147 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
4148 (Bug#12399)
4149
b9800ec4
GM
41502012-09-13 Glenn Morris <rgm@gnu.org>
4151
6a2e6868
GM
4152 * calc/calc.el (math-compose-expr):
4153 * calc/calc-ext.el (math-compose-expr):
4154 * progmodes/cc-defs.el (cl-macroexpand-all):
4155 * progmodes/cc-langs.el (delete-duplicates, mapcan)
4156 (cl-macroexpand-all): Update declarations.
4157
b9800ec4
GM
4158 * vc/vc.el: No need to require ediff.
4159 (ediff-load-version-control): Declare.
4160 (ediff-vc-internal): Fix declaration.
4161 (vc-version-ediff): Require ediff.
4162
c18e885b
PE
41632012-09-13 Paul Eggert <eggert@cs.ucla.edu>
4164
4165 Use a more backwards-compatible timer format (Bug#12430).
4166 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
4167 being right after USECS, as that better supports old code that
4168 inadvisedly looked directly at the timer vector.
4169
d607d303
KH
41702012-09-13 Kenichi Handa <handa@gnu.org>
4171
4172 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
4173 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
4174 `coding-priority' property of these language environment.
4175
72eac303
PE
41762012-09-13 Paul Eggert <eggert@cs.ucla.edu>
4177
4178 Fix glitches caused by addition of psec to timers (Bug#12430).
4179 * image.el (image-animate-timer):
4180 * time.el (display-time-world-timer):
4181 Use timer--function and timer--args rather than raw access to
4182 timer vector.
4183
2168fe4f
GM
41842012-09-13 Glenn Morris <rgm@gnu.org>
4185
4186 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
4187 If not compiling a file, try using load-file-name.
4188
bd8d6108
SM
41892012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
4190
c0c54fbd
SM
4191 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
4192 Fix last change.
4193 (edebug-update-eval-list): Use `push'.
4194
bd8d6108
SM
4195 * emacs-lisp/edebug.el: Use lexical-binding.
4196 Remove the "edebug-" prefix from non-dynamically-scoped variables.
4197 Mark unused args with underscore.
4198 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
4199 (edebug-form-data): Use defvar-local.
4200 (edebug-make-before-and-after-form, edebug-make-after-form):
4201 Use backquote.
4202 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
4203 Not dynamically scoped any more.
4204 (edebug--enter-trace): Add arguments `function' and `args'.
4205 Rename from edebug-enter-trace.
4206 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
4207 (edebug--update-coverage): Add `after-index' and `value' args.
4208 Rename from edebug-update-coverage.
4209 (edebug-slow-after): Call it accordingly.
4210 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
4211 edebug-recursive-edit.
4212 (edebug--display): Call it accordingly. Add args `value',
4213 `offset-index', and `arg-mode'. Rename from edebug-display.
4214 (edebug-debugger, edebug): Call it accordingly.
4215 (edebug-eval-display-list): Use dolist.
4216
a9f9d9de
JL
42172012-09-12 Juri Linkov <juri@jurta.org>
4218
4219 * info.el (Info-search): Don't check for isearch-mode and
4220 isearch-regexp before let-binding search-spaces-regexp to
4221 Info-search-whitespace-regexp.
4222 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
4223 search-whitespace-regexp if isearch-lax-whitespace or
4224 isearch-regexp-lax-whitespace is non-nil.
4225 (Info-mode): Don't set local variable search-whitespace-regexp.
4226 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
4227
bfeae2cf
SM
42282012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
4229
4230 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
4231 (debugger-env-macro): Remove support for unread-command-char.
4232
4233 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
4234 the temporary map re-appearing on emulation-mode-map-alists.
4235
4236 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
4237 since 22.1.
4238
4239 * ehelp.el (with-electric-help): Accept functions in
4240 electric-help-form-to-execute.
4241 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
4242 And replace unread-command-char -> unread-command-events.
4243
fbbcaf1b
MA
42442012-09-12 Michael Albinus <michael.albinus@gmx.de>
4245
4246 Sync with Tramp 2.2.6.
4247
4248 * net/tramp.el (tramp-accept-process-output): Don't use
4249 JUST-THIS-ONE in the XEmacs case.
4250
4251 * net/trampver.el: Update release number.
4252
4dece104
MR
42532012-09-12 Martin Rudalics <rudalics@gmx.at>
4254
bfeae2cf
SM
4255 * emacs-lisp/debug.el (debugger-previous-window-height):
4256 New variable.
4dece104
MR
4257 (debug): When debugger-jumping-flag is non-nil try to restore
4258 height of debugger window. (Bug#8789)
4259
45b82ad0
SM
42602012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
4261
60c49c0f
SM
4262 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
4263 overriding-local-map and pre/post-command-hook here.
4264 (edebug-recursive-edit): Do it here instead (bug#12345).
4265 (edebug-outside-unread-command-char): Remove all uses of
4266 unread-command-char.
4267
45b82ad0
SM
4268 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
4269 inhibit-debugger is bound instead.
4270
baa26ea0
BG
42712012-09-11 Bastien Guerry <bzg@gnu.org>
4272
4273 * subr.el (set-temporary-overlay-map): Add a docstring.
fc0c31f8 4274 (Bug#12346)
baa26ea0 4275
04e8abfa
BG
42762012-09-11 Bastien Guerry <bzg@gnu.org>
4277
96d03571 4278 * minibuffer.el (completion-table-subvert): Fix docstring.
fc0c31f8 4279 (Bug#12347)
96d03571
BG
4280
42812012-09-11 Bastien Guerry <bzg@gnu.org>
4282
fc0c31f8 4283 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
04e8abfa 4284
04e082b0
MM
42852012-09-10 Michael R. Mauger <mmaug@yahoo.com>
4286
4287 * progmodes/sql.el: Version 3.1
4288 (sql-db2-escape-newlines): New variable.
4289 (sql-escape-newlines-filter): Use it.
4290
399a361b
JB
42912012-09-10 Juanma Barranquero <lekktu@gmail.com>
4292
4293 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
4294
0780c517
DN
42952012-09-10 Dan Nicolaescu <dann@gnu.org>
4296
45b82ad0
SM
4297 * vc/diff-mode.el (diff-mode-menu):
4298 Bind diff-remove-trailing-whitespace.
0780c517 4299
9b851e25
SM
43002012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
4301
4302 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
fc0c31f8
JB
4303 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
4304 (emacs-lisp-byte-code-mode): New functions.
9b851e25
SM
4305 (eval-sexp-add-defvars): Don't skip defvars in column >0.
4306 (eval-defun-2): Remove bogus interactive spec.
4307 (lisp-indent-line): Remove redundant whole-exp code, now done in
4308 indent-according-to-mode.
4309 (save-match-data): Remove redundant indent data.
4310
4311 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
4312 Use `declare'.
4313
3231d532
JL
43142012-09-09 Juri Linkov <juri@jurta.org>
4315
4316 * replace.el (replace-regexp-lax-whitespace): New defcustom.
4317 (replace-lax-whitespace, query-replace-regexp)
4318 (query-replace-regexp-eval, replace-regexp): Doc fix.
4319 (perform-replace, replace-highlight): Let-bind
4320 isearch-lax-whitespace to replace-lax-whitespace and
4321 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
4322
4323 * isearch.el (isearch-query-replace): Let-bind
4324 replace-lax-whitespace to isearch-lax-whitespace and
4325 replace-regexp-lax-whitespace to
4326 isearch-regexp-lax-whitespace. (Bug#10885)
4327
70fe8236
SM
43282012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
4329
4330 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
4331
8ed43f15
AM
43322012-09-09 Alan Mackenzie <acm@muc.de>
4333
70fe8236
SM
4334 * progmodes/cc-engine.el (c-state-cache-init):
4335 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
4336 (c-record-parse-state-state):
4337 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
8ed43f15 4338
bfabf70a
AS
43392012-09-09 Andreas Schwab <schwab@linux-m68k.org>
4340
4341 * register.el (register-separator): Rename from
4342 separator-register. All uses changed. Doc fix.
4343 (register): Fix version.
4344
011474aa
CY
43452012-09-09 Chong Yidong <cyd@gnu.org>
4346
4347 * replace.el (query-replace-map): Bind four new symbols for
4348 requesting window scrolling.
4349
4350 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
4351 query-replace-map (Bug#8948).
4352
4353 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
4354
4355 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
4356 since they are now in query-replace-map.
4357
4358 * window.el (scroll-other-window-down): Make the arg optional.
4359
a8b7cd8d
CY
43602012-09-09 Chong Yidong <cyd@gnu.org>
4361
4362 * files.el (hack-local-variables-confirm): Use quit-window to kill
4363 the *Local Variables* buffer.
4364
c3268831
DG
43652012-09-08 Dmitry Gutov <dgutov@yandex.ru>
4366
4367 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
4368 not just expect to be at its beginning. Adjust callees.
4369 Succeed when do-end block has no space before the pipe character.
4370 (ruby-brace-to-do-end): When the original block is one-liner,
4371 convert to multiline. Reindent the result.
4372
0979429b
J
43732012-09-08 Jambunathan K <kjambunathan@gmail.com>
4374
4375 * register.el (register): New group.
27359e99 4376 (separator-register): New user option.
0979429b
J
4377 (increment-register): Route it to `append-to-register', if
4378 register contains text. Implication is that `C-x r +' can now be
4379 used for appending to a text register (bug#12217).
4380 (append-to-register, prepend-to-register): Add separator based on
5b9c45a6 4381 `separator-register'.
0979429b 4382
ace2989a
AM
43832012-09-08 Alan Mackenzie <acm@muc.de>
4384
4385 AWK Mode: make auto-newline work when there's "==" in the pattern.
4386 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
4387 correctly.
0979429b
J
4388 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
4389 Test more rigorously for "=" token.
ace2989a 4390
616c6c36
DG
43912012-09-08 Dmitry Gutov <dgutov@yandex.ru>
4392
0979429b
J
4393 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
4394 Only fail when reached LIMIT.
616c6c36 4395
35d98877
CY
43962012-09-08 Chong Yidong <cyd@gnu.org>
4397
4398 * dired.el (dired-mode-map): Don't bind M-=.
4399
4400 * dired-aux.el (dired-diff): Use backup file as default.
4401
1715f2db
DA
44022012-09-08 Drew Adams <drew.adams@oracle.com>
4403
4404 * subr.el (add-to-history): Fix delete usage (Bug#12314).
4405
6dcef6ec
CY
44062012-09-08 Chong Yidong <cyd@gnu.org>
4407
4408 * subr.el (syntax-after, syntax-class): Doc fix.
4409
fa2bcf43
MR
44102012-09-08 Martin Rudalics <rudalics@gmx.at>
4411
4412 * window.el (display-buffer-in-previous-window): New buffer
4413 display action function.
4414
4415 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
4416 (debugger-previous-window): New variable.
4417 (debug): Rewrite using display-buffer-in-previous-window,
4418 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
4419
daac280a
SM
44202012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
4421
4422 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
4423
9dd40b00
MM
44242012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
4425
daac280a
SM
4426 * progmodes/python.el (python-shell-send-string):
4427 When default-directory is remote, create temp file on remote
9dd40b00
MM
4428 filesystem.
4429 (python-shell-send-file): When file is remote, pass local view of
4430 file paths to remote Python interpreter. (Bug#12340)
4431
145823ec
CY
44322012-09-07 Chong Yidong <cyd@gnu.org>
4433
cee2e90d
CY
4434 * window.el (switch-to-buffer): Doc fix (Bug#12181).
4435
0d7eb2ea
CY
4436 * files.el (after-find-file): Don't fail on a read-only buffer if
4437 require-final-newline is `visit' or `visit-save' (Bug#11156).
4438
145823ec
CY
4439 * subr.el (read-char-choice): Allow quitting via ESC ESC.
4440
daac280a
SM
4441 * userlock.el (ask-user-about-supersession-threat):
4442 Use read-char-choice (Bug#12093).
145823ec 4443
74c582e6
CY
44442012-09-07 Chong Yidong <cyd@gnu.org>
4445
e5c2edf7
CY
4446 * subr.el (buffer-narrowed-p): New function.
4447
4448 * ses.el (ses-widen):
4449 * simple.el (count-words--buffer-message):
1f9f395d 4450 * net/browse-url.el (browse-url-of-buffer): Use it.
e5c2edf7
CY
4451
4452 * simple.el (count-words-region): Don't signal an error if there
4453 is a non-nil prefix arg and the mark is not set.
c640e87d 4454
74c582e6
CY
4455 * help.el (describe-key-briefly): Allow the message to be seen
4456 when invoked from the minibuffer (Bug#7014).
4457
d81ceaaf
DG
44582012-09-07 Dmitry Gutov <dgutov@yandex.ru>
4459
4460 * progmodes/ruby-mode.el (ruby-end-of-defun)
4461 (ruby-beginning-of-defun): Simplify, allow indentation before
4462 block beginning and end keywords.
8f06acce
DG
4463 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
4464 (ruby-end-of-defun): Expect that the point is at the beginning of
4465 the defun.
d81ceaaf 4466
d458ef98
SM
44672012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4468
4469 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
4470 (bug#12367).
4471 (cl--make-usage-args): Strip _ from argument names.
4472
20367d28
RS
44732012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4474
4475 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
4476 obsolete alias speedbar-key-map.
4477 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
4478 (vhdl-index-menu-init): Don't use obsolete variable
4479 font-lock-maximum-size.
4480
3424a4f6
CY
44812012-09-06 Chong Yidong <cyd@gnu.org>
4482
4483 * frame.el (window-system-version): Mark as obsolete.
4484
fcbfbdea
CY
4485 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
4486 of obsolete variable speedbar-key-map.
4487
826b3235
JL
44882012-09-06 Juri Linkov <juri@jurta.org>
4489
4490 * replace.el (replace-lax-whitespace): New defcustom.
4491 (query-replace, query-replace-regexp, query-replace-regexp-eval)
4492 (replace-string, replace-regexp): Mention it in docstrings.
4493 (perform-replace, replace-highlight): Let-bind
4494 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
4495 to the values of replace-lax-whitespace and regexp-flag.
4496 Don't let-bind search-whitespace-regexp. (Bug#10885)
4497
4498 * isearch.el (isearch-query-replace): Let-bind
4499 replace-lax-whitespace instead of let-binding
4500 replace-search-function and replace-re-search-function.
4501 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
4502 and isearch-regexp-lax-whitespace to lazy-highlight variables.
4503 (isearch-toggle-symbol): Set isearch-regexp to nil
4504 in isearch-word mode (like in isearch-toggle-word).
4505
1ec5e41d
JL
45062012-09-06 Juri Linkov <juri@jurta.org>
4507
4508 * replace.el (replace-search-function)
4509 (replace-re-search-function): Set default values to nil.
4510 (perform-replace): Let-bind isearch-related variables based on
4511 replace-related values, call `isearch-search-fun' and let-bind
4512 the result to `search-function'. Remove code that sets
4513 `search-function' and `search-string' separately for
4514 `delimited-flag'.
4515 (replace-highlight): Add new argument `delimited-flag' and
4516 rename other arguments to the names used in `perform-replace'.
4517 Let-bind `isearch-word' to the argument `delimited-flag'.
4518 (Bug#10885, bug#10887)
4519
0ba2d4b6
DG
45202012-09-07 Dmitry Gutov <dgutov@yandex.ru>
4521
4522 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
4523 ruby-beginning-of-indent, simplify, allow all keywords to have
4524 indentation before them.
4525 (ruby-beginning-of-indent): Adjust for above. Search until the
4526 found point is not inside a string or comment.
4527 (ruby-font-lock-keywords): Allow symbols to start with "@"
4528 character, give them higher priority than variables.
4529 (ruby-syntax-propertize-function)
4530 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
4531 matchers. Expression expansions are not comments when inside a
4532 string, and there comment syntax status is irrelevant.
4533 (ruby-match-expression-expansion): New function. Check that
4534 expression expansion is inside a string, and it's not escaped.
4535 (ruby-font-lock-keywords): Use it.
4536
ef654460
MR
45372012-09-05 Martin Rudalics <rudalics@gmx.at>
4538
4539 * help.el (temp-buffer-max-height): New default value.
4540 (temp-buffer-resize-frames): New option.
4541 (resize-temp-buffer-window): Optionally resize frame.
4542
4543 * window.el (fit-frame-to-buffer-bottom-margin): New option.
4544 (fit-frame-to-buffer): New function.
4545
7e570fbf 45462012-09-05 Glenn Morris <rgm@gnu.org>
72308848
GM
4547
4548 * emulation/cua-rect.el (cua--init-rectangles):
4549 * textmodes/picture.el (picture-mode-map):
4550 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
4551 like forward-char and backward-char. (Bug#12317)
4552
7e570fbf 45532012-09-05 Leo Liu <sdl.web@gmail.com>
3aca1291
LL
4554
4555 * progmodes/flymake.el (flymake-warning-re): New variable.
4556 (flymake-parse-line): Use it.
4557
7e570fbf 45582012-09-05 Glenn Morris <rgm@gnu.org>
b6683353
GM
4559
4560 * calendar/holidays.el (holiday-christian-holidays):
4561 Rename an entry. (Bug#12289)
4562
7e570fbf 45632012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
64f8c4bd
SM
4564
4565 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
4566 (bug#12222).
4567
972debf2
SM
45682012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
4569
4570 * loadup.el: Load macroexp. Remove hack.
4571 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
4572 (macroexp--expand-all): Use it to get better warnings.
4573 (macroexp--backtrace, macroexp--trim-backtrace-frame)
4574 (internal-macroexpand-for-load): New functions.
4575 (macroexp--pending-eager-loads): New var.
4576 (emacs-startup-hook): New hack to replace one in loadup.el.
4577 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
4578 (cl--compiler-macro-cXXr): Move to top, before they can be used.
4579 (cl-psetf): Simplify.
4580 (cl-defstruct): Add indent rule.
4581
8ce192e3
LI
45822012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
4583
4584 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
4585 over `user-mail-address' for the SMTP MAIL FROM envelope.
4586 (smtpmail-via-smtp): Ditto.
4587
6578b4d8
DG
45882012-09-04 Dmitry Gutov <dgutov@yandex.ru>
4589
4590 * progmodes/ruby-mode.el: Clean up keybindings.
4591 (ruby-mode-map): Don't bind ruby-electric-brace,
4592 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
4593 backward-kill-word, reindent-then-newline-and-indent.
4594 (ruby-mark-defun): Remove.
4595 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
4596 (ruby-mode): Set local beginning-of-defun-function and
4597 end-of-defun-function values.
4598
c5e28e39
MR
45992012-09-03 Martin Rudalics <rudalics@gmx.at>
4600
4601 * window.el (temp-buffer-window-setup-hook)
4602 (temp-buffer-window-show-hook): New hooks.
4603 (temp-buffer-window-setup, temp-buffer-window-show)
4604 (with-temp-buffer-window): New functions.
972debf2
SM
4605 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
4606 (special-display-popup-frame): Make sure the window used shows BUFFER.
c5e28e39
MR
4607
4608 * help.el (temp-buffer-resize-mode): Fix doc-string.
4609 (resize-temp-buffer-window): New optional argument WINDOW.
4610
4611 * files.el (recover-file, save-buffers-kill-emacs):
4612 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
4613
73406194
MA
46142012-09-02 Michael Albinus <michael.albinus@gmx.de>
4615
4616 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
4617 remote definition of `default-directory', ensure we can connect.
4618
63dd1c6f
JL
46192012-09-02 Juri Linkov <juri@jurta.org>
4620
4621 Toggle whitespace matching mode with M-s SPC.
4622 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
4623
4624 * isearch.el (search-whitespace-regexp): Doc fix.
4625 Remove cons cell customization.
4626 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
4627 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
4628 New variables.
4629 (isearch-forward, isearch-forward-regexp): Doc fix.
4630 (isearch-toggle-lax-whitespace): New command.
4631 (search-forward-lax-whitespace, search-backward-lax-whitespace)
4632 (re-search-forward-lax-whitespace)
4633 (re-search-backward-lax-whitespace): New functions.
4634 (isearch-whitespace-regexp): Remove function.
4635 (isearch-query-replace): Let-bind replace-search-function and
4636 replace-re-search-function.
4637 (isearch-occur): Let-bind search-spaces-regexp according to the
4638 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
4639 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
4640 condition for C-q SPC.
4641 (isearch-search-fun-default): Use new functions mentioned above.
4642 (isearch-search-forward, isearch-search-backward): Remove functions.
4643 (isearch-search): Don't let-bind search-spaces-regexp.
4644 (isearch-lazy-highlight-space-regexp): Remove variable.
4645 (isearch-lazy-highlight-lax-whitespace)
4646 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
4647 (isearch-lazy-highlight-new-loop): Use them.
4648 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
4649
af7dda05
CY
46502012-09-02 Chong Yidong <cyd@gnu.org>
4651
4652 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
4653
d67d3afd
GM
46542012-09-02 Glenn Morris <rgm@gnu.org>
4655
4656 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
4657
69678719
GM
46582012-09-01 Glenn Morris <rgm@gnu.org>
4659
4660 * term.el: Tidy up menu definitions.
4661 (term-mode-map): Use easymenu for In/Out, Complete menus.
4662 (term-pager-break-map): Initialize in the defvar.
4663 (term-terminal-menu, term-signals-menu): Define with easymenu.
4664 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
4665 (term-pager-menu): New, extracted from term-process-pager.
4666 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
4667 (term-update-mode-line): Propertize line/char and page items.
4668 (term-process-pager): Move keymap initialization elsewhere.
4669
78dd6ab1
MR
46702012-09-01 Martin Rudalics <rudalics@gmx.at>
4671
4672 * window.el (switch-to-prev-buffer): Handle additional values of
4673 BURY-OR-KILL argument. Don't switch in minibuffer window.
4674 (switch-to-next-buffer): Don't switch in minibuffer window.
4675 (quit-restore-window): New function based on quit-window.
4676 Handle additional values of former KILL argument.
4677 (quit-window): Call quit-restore-window with appropriate
4678 interpretation of KILL argument.
4679 (display-buffer-below-selected): New buffer display action
4680 function.
4681
3d10e134
SM
46822012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
4683
4684 * minibuffer.el (completion-at-point-functions): Complete docstring
4685 (bug#12254).
4686
0e23ef9d
PE
46872012-09-01 Paul Eggert <eggert@cs.ucla.edu>
4688
4689 Better seed support for (random).
4690 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
4691 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
4692 * play/mpuz.el, play/tetris.el, play/zone.el:
4693 * calc/calc-comb.el (math-init-random-base):
4694 * play/blackbox.el (bb-init-board):
4695 * play/life.el (life):
4696 * server.el (server-use-tcp):
4697 * type-break.el (type-break):
4698 Remove unnecessary call to (random t).
4699 * net/sasl.el (sasl-unique-id-function):
4700 Change (random t) to (random), now that the latter is more random.
4701 * play/life.el (life-initialized): Remove no-longer-needed var.
4702
862382df
MR
47032012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
4704
4705 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
4706 Consider frame's buffer predicate when choosing the buffer.
4707 (Bug#12081)
4708
262a66e1
RS
47092012-08-30 Richard Stallman <rms@gnu.org>
4710
4711 * simple.el (special-mode-map): Delete binding for `z'.
4712
f17e1d00
AS
47132012-08-30 Andreas Schwab <schwab@linux-m68k.org>
4714
4715 * progmodes/compile.el (compilation-always-kill): Doc fix.
4716
24777832
CY
47172012-08-30 Chong Yidong <cyd@gnu.org>
4718
4719 * window.el (display-buffer-reuse-frames): Make the obsolescence
4720 message more informative.
4721
69ba1f04
GM
47222012-08-30 Glenn Morris <rgm@gnu.org>
4723
4724 * paren.el (show-paren-delay):
4725 Add a :set function. Doc fix. (Bug#12297)
4726
f0019ede
MB
47272012-08-29 Martin Blais <blais@furius.ca> (tiny change)
4728
4729 * progmodes/compile.el (compilation-always-kill): New var.
4730 (compilation-start): Use it.
4731
35e62fc9
SM
47322012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
4733
af070a1c
SM
4734 * simple.el (read-only-mode): Move from files.el for bootstrapping.
4735 * files.el (read-only-mode): Move to simple.el.
4736
35e62fc9
SM
4737 * files.el (read-only-mode): New minor mode.
4738 (toggle-read-only): Use it and mark obsolete.
4739 (find-file--read-only):
4740 * vc/vc.el (vc-next-action, vc-checkout):
4741 * vc/vc-cvs.el (vc-cvs-checkout):
4742 * obsolete/vc-mcvs.el (vc-mcvs-update):
4743 * ffap.el (ffap--toggle-read-only): Update callers.
4744
c2c43c23
MA
47452012-08-29 Michael Albinus <michael.albinus@gmx.de>
4746
4747 * eshell/esh-ext.el (eshell-external-command): Do not examine
972debf2
SM
4748 remote shell scripts.
4749 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
c2c43c23
MA
4750
4751 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
4752 "/usr/local/sbin".
4753
9fba804b
SM
47542012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
4755
4756 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
4757
eada0861 47582012-08-28 Leo Liu <sdl.web@gmail.com>
22ab32ef 4759
806f0cc7
LL
4760 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
4761 completion-at-point. (Bug#12220)
4762
3bb213b9
LL
4763 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
4764
22ab32ef
LL
4765 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
4766
eada0861 47672012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
db148c21 4768
19c17fc1
CY
4769 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
4770 be buffer-local; add delete-trailing-whitespace (bug#12259).
db148c21 4771
eada0861 47722012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
ffe6eaf1
JM
4773
4774 * progmodes/hideif.el (hif-compress-define-list):
4775 Fix typo. (Bug#11951)
4776
eada0861 47772012-08-28 Dan Nicolaescu <dann@gnu.org>
d30aca1b
DN
4778
4779 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
4780 buffer local setting.
4781
27d6c5a8
LL
4782 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
4783 rcirc-encode-coding-system.
4784
eada0861 47852012-08-28 Leo Liu <sdl.web@gmail.com>
4432d2e2
LL
4786
4787 * net/rcirc.el (rcirc-split-message): New function.
4788 (rcirc-send-message): Use it. (Bug#12051)
4789
d44688e4
JL
47902012-08-28 Juri Linkov <juri@jurta.org>
4791
4792 * info.el (Info-fontify-node): Hide empty lines at the end of
4793 the node. (Bug#12272)
4794
34f10d41
MR
47952012-08-27 Drew Adams <drew.adams@oracle.com>
4796
4797 * dired.el (dired-pop-to-buffer): Make window start at beginning
4798 of buffer (Bug#12281).
4799
77f1f99c
CY
48002012-08-26 Chong Yidong <cyd@gnu.org>
4801
4802 * window.el (special-display-regexps, special-display-frame-alist)
4803 (special-display-buffer-names, special-display-function)
4804 (display-buffer-reuse-frames): Mark as obsolete.
4805
4806 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
4807
4808 * help.el (help-print-return-message): Don't treat
4809 display-buffer-reuse-frames specially.
4810
d97af5a0
CY
48112012-08-26 Chong Yidong <cyd@gnu.org>
4812
9fba804b
SM
4813 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
4814 New variable, replacing gdb-frame-parameters.
d97af5a0
CY
4815 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
4816 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
4817 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
4818 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
4819 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
4820 the functions directly with gdb-display-buffer-other-frame-action.
4821 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
4822 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
4823 (gdb-display-stack-buffer, gdb-display-locals-buffer)
4824 (gdb-display-registers-buffer): Define directly.
4825 (def-gdb-display-buffer): Macro deleted.
4826 (gdb-display-buffer): Remove second and third args, callers don't
4827 use them. Defer to the default display-buffer behavior, apart
4828 from making windows dedicated.
4829 (gdb-setup-windows): Don't call display-buffer unnecessarily.
4830
4831 * progmodes/gud.el (gud-display-line): Just use display-buffer.
4832
4833 * window.el (display-buffer-pop-up-frame): Handle a
4834 pop-up-frame-parameters alist entry.
4835 (display-buffer): Document it.
4836
dd7ffad6
CY
48372012-08-26 Chong Yidong <cyd@gnu.org>
4838
4839 * isearch.el (search-whitespace-regexp): Make string and nil
4840 values apply to both ordinary and regexp search. Allow a cons
4841 cell value to distinguish between the two.
4842 (isearch-whitespace-regexp, isearch-search-forward)
4843 (isearch-search-backward): New functions.
4844 (isearch-occur, isearch-search-fun-default, isearch-search)
4845 (isearch-lazy-highlight-new-loop): Use them.
4846 (isearch-forward, isearch-forward-regexp): Doc fix.
4847
4c47bd1e
CY
48482012-08-26 Chong Yidong <cyd@gnu.org>
4849
4850 * faces.el (help-argument-name): Always inherit from italic
4851 (Bug#12213).
4852
9aba119d
MR
48532012-08-25 Martin Rudalics <rudalics@gmx.at>
4854
4855 * window.el (window--even-window-heights): Even heights when
4856 WINDOW and the selected window form a vertical combination.
4857 (display-buffer-use-some-window): Provide that window used gets
4858 sized back by quit-window. (Bug#11880) and (Bug#12091)
4859
ca5256ad
PE
48602012-08-24 Paul Eggert <eggert@cs.ucla.edu>
4861
4862 Fix file time stamp problem with bzr and CVS (Bug#12001).
4863 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
4864 in the file's time stamp, since the version control system loses
4865 that information.
4866
d1c0d176
JL
48672012-08-22 Juri Linkov <juri@jurta.org>
4868
4869 * info.el (Info-fontify-node): Hide the suffix of the
4870 Info file name in the header line. (Bug#12187)
4871
141562ff
GM
48722012-08-22 Glenn Morris <rgm@gnu.org>
4873
4874 * calendar/cal-tex.el (cal-tex-weekly-common):
4875 Restore leading blank page.
4876
3a21537c 48772012-08-22 Le Wang <l26wang@gmail.com>
add9ca2d
BG
4878
4879 * misc.el (forward-to-word, backward-to-word): Activate or extend
61a48e19
GM
4880 the region under `shift-select-mode'. (Bug#12231)
4881
48822012-08-22 Bastien Guerry <bzg@gnu.org>
0fcd3d9f
BG
4883
4884 * progmodes/executable.el (executable-prefix): Set to "#!" instead
4885 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
4886 gives details on why the space is never needed.
4887
ea95074e
MR
48882012-08-22 Martin Rudalics <rudalics@gmx.at>
4889
9fba804b
SM
4890 * window.el (walk-window-tree, window-with-parameter):
4891 New optional argument MINIBUF to control whether these functions
ea95074e
MR
4892 should run on the minibuffer window.
4893 (window-at-side-list): Don't operate on minibuffer window.
4894 (window-in-direction): Simplify and rewrite doc-string.
9fba804b
SM
4895 (window--size-ignore): Rename to window--size-ignore-p.
4896 Update callers.
caceae25
MR
4897 (display-buffer-in-atom-window, window--major-non-side-window)
4898 (window--major-side-window, display-buffer-in-major-side-window)
9fba804b
SM
4899 (delete-side-window, display-buffer-in-side-window):
4900 New functions.
caceae25
MR
4901 (window--side-check, window-deletable-p, delete-window)
4902 (delete-other-windows, split-window): Handle side windows and
4903 atomic windows appropriately.
4904 (window--display-buffer): Call display-buffer-record-window also
4905 when the window buffer did not change.
ea95074e 4906
80a51fa0
CS
49072012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
4908
4909 * help-fns.el (help-fns--key-bindings):
4910 Abbreviate non-symbol remap targets. (Bug#12174)
4911
fbb6300b
MR
49122012-08-22 Martin Rudalics <rudalics@gmx.at>
4913
4914 * dired.el (dired-mark-remembered): Don't clobber point.
4915 (Bug#11795)
4916
2b2c0794
GM
49172012-08-22 Glenn Morris <rgm@gnu.org>
4918
4919 * progmodes/bug-reference.el (bug-reference): New custom group.
4920 (bug-reference-bug-regexp): Make it a defcustom.
4921
37219830
DU
49222012-08-22 Daiki Ueno <ueno@unixuser.org>
4923
4924 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
4925 (js-paren-indent-offset, js-square-indent-offset)
4926 (js-curly-indent-offset): Add :safe (Bug#12257).
4927
94e0e559
EC
49282012-08-22 Edward O'Connor <hober0@gmail.com>
4929
4930 * json.el (json-key-format): Add error properties.
4931 (json-encode-key): New function.
4932 (json-encode-hash-table, json-encode-alist, json-encode-plist):
4933 Use json-encode-key.
4934
da485f5e
GM
49352012-08-22 Glenn Morris <rgm@gnu.org>
4936
4937 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
4938 (cal-tex-leftday, cal-tex-rightday): Remove functions.
4939 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
4940 Update for above change.
4941
c6cc78b8
AS
49422012-08-21 Andreas Schwab <schwab@linux-m68k.org>
4943
4944 * cus-face.el (custom-face-attributes): Fix customize type for the
4945 :underline attribute. (Bug#11805)
4946
5481664a
MR
49472012-08-21 Martin Rudalics <rudalics@gmx.at>
4948
4949 * window.el (window-point-1, set-window-point-1): Remove.
4950 (window-in-direction, record-window-buffer)
4951 (set-window-buffer-start-and-point, split-window-below)
9fba804b
SM
4952 (window--state-get-1, display-buffer-record-window):
4953 Replace calls to window-point-1 and set-window-point-1 by calls to
5481664a
MR
4954 window-point and set-window-point respectively.
4955
6d74698e
GM
49562012-08-21 Glenn Morris <rgm@gnu.org>
4957
b7fa2691
GM
4958 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
4959 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
4960 Use it.
4961
52f56d5a
GM
4962 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
4963 (cal-tex-shortday): New function.
4964 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
4965 (cal-tex-cursor-filofax-daily): Use the above.
4966
9f1ee09e
GM
4967 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
4968 New functions.
4969 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
4970 (cal-tex-cursor-filofax-week): Use them.
4971
79858159
GM
4972 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
4973 New constants.
4974 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
4975 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
4976
d346b2b4
GM
4977 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
4978 (cal-tex-end-document): Don't rely on buffer name.
4979
b2403709
GM
4980 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
4981 Use cal-tex-vspace.
4982 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
4983 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
2d225a3a
GM
4984 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
4985 Use cal-tex-arg.
b2403709 4986
1cebb5c0
GM
4987 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
4988 (cal-tex-cursor-week, cal-tex-cursor-week2)
4989 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
4990 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
4991 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
4992 (cal-tex-insert-preamble, cal-tex-b-document)
4993 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
4994 Improve cal-tex-cmd usage.
4995
c68cd5d4
GM
4996 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
4997 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
4998 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
4999 (cal-tex-weekly-paper): New function.
5000 (cal-tex-cursor-week, cal-tex-cursor-week2)
5001 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
5002 (cal-tex-cursor-day): Use it.
5003
9dca4801
GM
5004 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
5005 (cal-tex-cursor-filofax-week): Remove leading blank page.
5006
1941e134
GM
5007 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
5008 Add autoload cookie. For now at least, don't use color, since
5009 no other cal-tex function does.
5010
6d74698e
GM
5011 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
5012 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
5013 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
5014
64cde199
JL
50152012-08-21 Juri Linkov <juri@jurta.org>
5016
5017 * info.el (Info-file-attributes): New variable.
5018 (info-insert-file-contents): Add file attributes to
5019 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
5020 `Info-toc-nodes' when previous modtime of the Info file is less
5021 than new modtime.
5022 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
5023 of info.el. (Bug#12230)
5024
32757648
GM
50252012-08-20 Glenn Morris <rgm@gnu.org>
5026
5027 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
5028 * calendar/holidays.el (calendar-holiday-list):
5029 Report errors with display-warning rather than beep'n'sleep.
5030
a32fbbcf
MA
50312012-08-20 Michael Albinus <michael.albinus@gmx.de>
5032
5033 * net/tramp.el (tramp-accept-process-output): Accept only output
5034 from PROC. Otherwise, process filters and sentinels might be
5035 confused. (Bug#12145)
5036
a05731a0
CY
50372012-08-20 Chong Yidong <cyd@gnu.org>
5038
5039 * descr-text.el (describe-text-properties-1): Use overlays-in to
5040 report on empty overlays (Bug#3322).
5041
36e8d1eb
GM
50422012-08-20 Glenn Morris <rgm@gnu.org>
5043
3d300447
GM
5044 * mail/rmailout.el (rmail-output-read-file-name):
5045 Trap and report errors in rmail-output-file-alist elements.
5046
36e8d1eb
GM
5047 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
5048 since most non-font-lock faces are not also variables).
5049
b96e5814
ER
50502012-08-20 Edward Reingold <reingold@iit.edu>
5051
5052 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
5053 New function. (Bug12160)
5054
7cef3569
GM
50552012-08-19 Glenn Morris <rgm@gnu.org>
5056
5057 * mail/rmailout.el (rmail-output-read-file-name):
5058 Fix previous change (when the alist is nil or does not match).
5059
17975d7f
CY
50602012-08-19 Chong Yidong <cyd@gnu.org>
5061
5062 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
5063 (Bug#12228).
5064
2170b1bd
CY
50652012-08-18 Chong Yidong <cyd@gnu.org>
5066
5067 * simple.el (yank-handled-properties): New defcustom.
5068 (yank-excluded-properties): Add font-lock-face and category.
5069 (yank): Doc fix.
5070
9fba804b
SM
5071 * subr.el (remove-yank-excluded-properties):
5072 Obey yank-handled-properties. The special handling of font-lock-face
2170b1bd
CY
5073 and category is now done this way, instead of being hard-coded.
5074 (insert-for-yank-1): Remove font-lock-face handling.
5075 (yank-handle-font-lock-face-property)
5076 (yank-handle-category-property): New function.
5077
ee218151
GM
50782012-08-17 Glenn Morris <rgm@gnu.org>
5079
5080 * mail/rmailout.el (rmail-output-read-file-name):
5081 Check rmail-output-file-alist against the full message body
5082 in the correct rmail buffer. (Bug#12214)
5083
4a6bc3fd
MA
50842012-08-17 Michael Albinus <michael.albinus@gmx.de>
5085
9fba804b
SM
5086 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
5087 Eliminate superfluous prompt. (Bug#12203)
4a6bc3fd 5088
383dcbf9
CY
50892012-08-17 Chong Yidong <cyd@gnu.org>
5090
5091 * mouse.el (mouse-appearance-menu): If x-select-font returns a
5092 font spec, set the font directly (Bug#3228).
5093
998c4a6a
MR
50942012-08-17 Martin Rudalics <rudalics@gmx.at>
5095
5096 * window.el (delete-window): Fix last fix.
5097
52162052
MR
50982012-08-16 Martin Rudalics <rudalics@gmx.at>
5099
5100 * window.el (window-valid-p): Move to window.c.
85c2386b
MR
5101 (window-child, window-child-count, window-last-child)
5102 (window-normalize-window, window-combined-p)
5103 (window-combinations, window-atom-root, window-min-size)
5104 (window-sizable, window-sizable-p, window-size-fixed-p)
5105 (window-min-delta, window-max-delta, window--resizable)
5106 (window--resizable-p, window-resizable, window-total-size)
5107 (window-full-height-p, window-full-width-p, window-body-size)
5108 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
5109 (minimize-window, window-deletable-p, delete-window)
5110 (delete-other-windows, set-window-buffer-start-and-point)
5111 (next-buffer, previous-buffer, split-window, balance-windows-2)
5112 (set-window-text-height, window-buffer-height)
5113 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
9fba804b
SM
5114 (truncated-partial-width-window-p): Minor code adjustments.
5115 In doc-strings state whether the argument window has to denote a
85c2386b 5116 live, valid or any window.
52162052 5117
1c308380
PS
51182012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
5119
5120 * progmodes/subword.el (subword-forward-function)
5121 (subword-backward-function, subword-forward-regexp)
5122 (subword-backward-regexp): New variables.
5123 (subword-forward, subword-forward-internal, subword-backward-internal):
5124 Use new variables, eg so that different "word" definitions
5125 can be easily used. (Bug#11411)
5126
94c9ece1
SM
51272012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
5128
5129 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
5130 for composite selectors.
5131 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
5132 operation just because we can't find a previous revision.
5133
f2045622
CY
51342012-08-15 Chong Yidong <cyd@gnu.org>
5135
5136 * frame.el (set-frame-font): Accept font objects.
5137
582db660
SM
51382012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
5139
5140 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
5141
2f29c200
WJ
51422012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
5143
456e62c2
WJ
5144 * man.el (Man-overstrike-face, Man-underline-face)
5145 (Man-reverse-face): Remove variables.
5146 (Man-overstrike, Man-underline, Man-reverse): New faces.
5147 (Man-fontify-manpage): Use them instead of the variables.
5148 (Man-cleanup-manpage): Comment change.
5149 (Man-ansi-color-map): New variable.
5150 (Man-fontify-manpage): Use it.
5151 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
5152
2f29c200
WJ
5153 Implement ANSI SGR parameters 22-27 (bug#12146).
5154 * ansi-color.el (ansi-colors): Doc fix.
5155 (ansi-color-context, ansi-color-context-region): Doc fix.
5156 (ansi-color--find-face): New function.
5157 (ansi-color-apply, ansi-color-apply-on-region): Use it.
5158 Rename the local variable `face' to `codes' since it is now a list of
5159 ansi codes. Doc fix.
5160 (ansi-color-get-face): Remove.
5161 (ansi-color-parse-sequence): New function, derived from
5162 ansi-color-get-face.
5163 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
5164 codes 22-27.
5165
b4f5e9df
SM
51662012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
5167
5168 * subr.el (read-passwd): Allow use from a minibuffer.
5169
ba025fbd
EZ
51702012-08-14 Eli Zaretskii <eliz@gnu.org>
5171
5172 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
5173 inside comments and strings as identifiers.
5174
5175 * progmodes/gud.el (gud-tooltip-print-command): Quote the
5176 expression to evaluate. This allows to evaluate expressions with
5177 embedded whitespace.
5178 (gud-tooltip-tips): Add a blank before the newline in the
5179 message-box text, for the benefit of message-box emulation on
5180 MS-Windows.
5181
5182 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
5183 messages from GDB, pop them up in a tooltip to give feedback to
5184 user.
b4f5e9df
SM
5185 (gdb-tooltip-print-1): Quote the expression to evaluate.
5186 This allows to evaluate expressions with embedded whitespace.
ba025fbd
EZ
5187 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
5188 if the TTY name is nil or empty (which happens when communicating
5189 with the inferior via pipes, e.g. on MS-Windows).
5190 (gdb-internals): If GDB sends a "&\n" empty debugging message,
5191 don't send that to the GUD buffer.
5192
c548f821
GM
51932012-08-14 Glenn Morris <rgm@gnu.org>
5194
5195 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
5196 Optimize away setq-default with no args, as for setq. (Bug#12195)
5197
55802e4a
CY
51982012-08-14 Chong Yidong <cyd@gnu.org>
5199
4abcdac8
CY
5200 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
5201
55802e4a
CY
5202 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
5203 (Bug#12085).
5204
3c3cda1a
GM
52052012-08-14 Glenn Morris <rgm@gnu.org>
5206
5207 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
5208
e1873bd0
MA
52092012-08-14 Michael Albinus <michael.albinus@gmx.de>
5210
5211 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
5212 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
5213 Use cached shell name.
5214
925411b4
FEG
52152012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
5216
5217 * progmodes/python.el (python-shell-send-string):
3c3cda1a 5218 (python-shell-send-setup-code): Do not use `format' with `message'.
925411b4 5219
e636fafe
DG
52202012-08-14 Dmitry Gutov <dgutov@yandex.ru>
5221
5222 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
5223 (ruby-percent-literal-beg-re): New constant.
5224 (ruby-syntax-general-delimiters-goto-beg): Rename to
5225 `ruby-syntax-enclosing-percent-literal', improve literal type check.
5226 (ruby-syntax-propertize-general-delimiters): Rename to
5227 `ruby-syntax-propertize-percent-literal', it's a shorter and more
5228 popular term. Adjust comments everywhere.
5229 (ruby-syntax-propertize-percent-literal): Only propertize when not
5230 inside a simple string or comment. When the literal is unclosed,
5231 leave the text after it unpropertized.
f063063a
DG
5232 (ruby-syntax-methods-before-regexp): New constant.
5233 (ruby-syntax-propertize-function): Use it to recognize regexps.
5234 Don't look at the text after regexp, just use the whitelist.
e636fafe 5235
e5b19827
AS
52362012-08-14 Andreas Schwab <schwab@linux-m68k.org>
5237
5238 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
5239 non-nil always load the compiled file if it exists. (Bug#12197)
5240
a9f6f311
CY
52412012-08-14 Chong Yidong <cyd@gnu.org>
5242
5243 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
5244 (hi-lock-set-pattern): When deciding whether to use font lock or
5245 overlays, look at font-lock-mode instead of font-lock-fontified
5246 (Bug#12168).
5247 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
5248 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
5249
7d806b1e
DU
52502012-08-14 Daiki Ueno <ueno@unixuser.org>
5251
5252 * subr.el (internal--after-with-selected-window): Fix typo
5253 (Bug#12193).
5254
5beed586
FEG
52552012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
5256
5257 Use `completion-table-dynamic' for completion functions.
5258 * progmodes/python.el
5259 (python-shell-completion--do-completion-at-point)
e636fafe
DG
5260 (python-shell-completion--get-completions):
5261 Remove functions.
5beed586
FEG
5262 (python-shell-completion-complete-at-point): New function.
5263 (python-completion-complete-at-point): Use it.
5264
92cb3b04
J
52652012-08-13 Jambunathan K <kjambunathan@gmail.com>
5266
5267 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
5268 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
5269
89660017
SM
52702012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
5271
3c98c962
SM
5272 * subr.el (function-get): Refine `autoload' arg so it can also
5273 autoload functions for gv.el (bug#12191).
5274 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
5275 autoloads macros.
5276
aa7c6dbe
SM
5277 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
5278 Prefer pcase-let over destructuring-bind.
5279 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
5280 Also, remove whitespace as we go, rather than after accumulating the
5281 various places.
5282
89660017
SM
5283 * subr.el (internal--before-with-selected-window)
5284 (internal--after-with-selected-window): Fix typo seleted->selected.
5285 (with-selected-window): Adjust callers.
5286 Reported by Dmitry Gutov <dgutov@yandex.ru>.
5287
31cd32c9
BG
52882012-08-13 Bastien Guerry <bzg@gnu.org>
5289
0fcd3d9f 5290 * window.el (special-display-popup-frame): Minor docstring
31cd32c9
BG
5291 enhancement. (Bug#12172)
5292
1b15d8ad
AS
52932012-08-13 Andreas Schwab <schwab@linux-m68k.org>
5294
31e54db0
AS
5295 * tar-mode.el (tar-header-data-end): Only ignore size for files of
5296 type 1-6.
5297 (tar-header-block-summarize, tar-get-descriptor): Handle pax
5298 extended headers.
5299
1b15d8ad
AS
5300 * files.el (hack-local-variables-filter): Remove useless eval.
5301
35cb9c06
MR
53022012-08-13 Martin Rudalics <rudalics@gmx.at>
5303
5304 * subr.el (with-selected-window): Fix last change.
5305
1439443b
SM
53062012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
5307
5308 * subr.el (internal--before-with-seleted-window)
5309 (internal--after-with-seleted-window): New functions.
1b15d8ad
AS
5310 (with-selected-window): Use them, to replace dependency on
5311 tty-top-frame.
1439443b 5312
0d9e2599
NN
53132012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
5314
5315 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
5316 binding for `newline'.
5317 (ruby-move-to-block): When moving backward, stop at block opening,
5318 not indentation.
5319 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
5320 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
5321 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
5322 `ruby-toggle-block'.
5323
ba10c48c
SM
53242012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
5325
5326 * ibuffer.el (ibuffer-do-toggle-read-only):
5327 * dired.el (dired-toggle-read-only):
5328 * buff-menu.el (Buffer-menu-toggle-read-only):
5329 * bindings.el (mode-line-toggle-read-only):
5330 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
5331
9229c658
AS
53322012-08-12 Andreas Schwab <schwab@linux-m68k.org>
5333
5334 * descr-text.el (describe-char): Put the overlays over the
5335 "displayed as" character.
5336
0fd09128
JB
53372012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
5338
5339 * calc/calc-units.el (math-default-units-table): Give an
5340 initial value.
5341 (math-put-default-units): Add options to put composite units and
5342 unit systems in the default units table.
5343 (calc-convert-units): Send composite units to
5344 `math-put-default-units' when appropriate.
5345
9ff9402d 53462012-08-11 Glenn Morris <rgm@gnu.org>
7aacaf15 5347
fbb5e336
GM
5348 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
5349
7aacaf15
GM
5350 * tutorial.el (help-with-tutorial):
5351 * emacs-lisp/copyright.el (copyright-update-directory):
5352 * emacs-lisp/autoload.el (autoload-find-generated-file)
5353 (autoload-find-file): Disable local eval: (for insurance).
5354
f40b9f10
GM
5355 * files.el (hack-local-variables-filter): If an eval: form is not
5356 known to be safe, and enable-local-variables is :safe, then ignore
5357 the form totally, as is done for non-eval forms. (Bug#12155)
6f97980a 5358 This is CVE-2012-3479.
f40b9f10 5359
daa9f1a6
SM
53602012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
5361
5362 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
5363 (rx-form): Simplify.
5364
9cd80478
DG
53652012-08-09 Dmitry Gutov <dgutov@yandex.ru>
5366
0d9e2599
NN
5367 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
5368 ?, _, and : are symbol constituents, ! is not (but kinda should be).
5369 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
5370 (ruby-syntax-propertize-function): Adjust for changes in
5371 `ruby-syntax-propertize-heredoc'.
5372
53732012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
5374
9cd80478
DG
5375 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
5376 binding (use `M-;' instead).
9cd80478 5377 (ruby-singleton-class-p): New function.
0d9e2599 5378 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
9cd80478 5379
d301b413
SM
53802012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
5381
5382 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
5383
1530c98e
CY
53842012-08-10 Chong Yidong <cyd@gnu.org>
5385
5386 * progmodes/python.el (python-shell-get-process-name): Don't mess
5387 with same-window-buffer-names.
5388
5389 * eshell/eshell.el (eshell-add-to-window-buffer-names)
5390 (eshell-remove-from-window-buffer-names): Make obsolete.
5391 (eshell-buffer-name, eshell-unload-hook): Don't use them.
5392 (eshell): Just use pop-to-buffer-same-window instead.
5393
e1293765
CY
53942012-08-10 Chong Yidong <cyd@gnu.org>
5395
5396 * bindings.el: Bind M-= back to count-words-region.
5397
5398 * simple.el (count-words-region): Accept a prefix arg for acting
5399 on the entire buffer.
5400 (count-words--buffer-message): New helper function.
5401
e1894109
SM
54022012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
5403
5404 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
5405 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
5406 (event-start, event-end): Use posn-at-point to return a more
5407 informative posn.
5408 (posnp): New function.
5409 * mouse.el (popup-menu-normalize-position): Use it.
5410
c69f56a2
MY
54112012-08-10 Masatake YAMATO <yamato@redhat.com>
5412
5413 * mouse.el (popup-menu-normalize-position): New function.
5414 (popup-menu): Use `popup-menu-normalize-position' to normalize
5415 the form for POSITION argument.
5416
5417 * term/x-win.el (x-menu-bar-open):
5418 Use the value returend from (posn-at-point) as position
5419 passed to `popup-menu'.
5420
31673780
JB
54212012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
5422
5423 * calc/calccomp.el (math-compose-expr): Add extra argument
5424 indicating that parentheses should be put around products in
5425 denominators. Give multiplication precedence over division during
5426 composition.
5427
dab7711b
CY
54282012-08-09 Chong Yidong <cyd@gnu.org>
5429
dee4ef93
CY
5430 * man.el (Man-switches, Man-sed-command, Man-awk-command)
5431 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
5432 (Man-untabify-command, manual-program): Convert to defcustom
5433 (Bug#10429).
5434
73e2bbc5
CY
5435 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
5436
3e861c8a
CY
5437 * descr-text.el (describe-char): Don't insert extra newlines
5438 (Bug#10127).
5439
a9f5a649
CY
5440 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
5441 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
5442
dab7711b
CY
5443 * align.el (align-region): Delete temporary markers (Bug#10047).
5444 Plus some code cleanups.
5445
e0cc4efa
FEG
54462012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
5447
5448 * progmodes/python.el (python-pdbtrack-tracked-buffer)
5449 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
5450 (python-shell-internal-last-output): Use make-local-variable
5451 instead of make-variable-buffer-local.
5452
489af14f
FEG
54532012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
5454
5455 * progmodes/python.el: Enhancements to forward-sexp.
5456 (python-nav-forward-sexp): Rename from
5457 python-nav-forward-sexp-function.
c69f56a2
MY
5458 (python-nav--forward-sexp, python-nav--backward-sexp):
5459 New functions.
489af14f 5460
0fc50303
JB
54612012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
5462
5463 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
5464 modes and simplification modes.
5465
5d65606a
SM
54662012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
5467
5468 * delsel.el (delete-selection-pre-hook): Don't propagate the
5469 file-supersession signals (bug#12161).
5470
4250fdf5
SM
54712012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
5472
5473 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
5474 (cl-map-extents): Add compatibility aliases (bug#12135).
5475
d9f9b465
MA
54762012-08-08 Michael Albinus <michael.albinus@gmx.de>
5477
5478 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
5479 tests by `ignore-error'.
5480 (tramp-find-shell): Open also a new shell, when cache is already
5481 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
5482
ce0fcefa
JL
54832012-08-08 Juri Linkov <juri@jurta.org>
5484
5485 * bookmark.el: Add `defaults' property to the bookmark record.
5486 (bookmark-current-buffer): Doc fix.
5487 (bookmark-make-record): Add `defaults' property with default values
5488 to the bookmark record.
5489 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
5490 with `bookmark-insert-current-bookmark'.
5491 (bookmark-set): Get `defaults' property from the bookmark record
5492 and use it in `read-from-minibuffer'.
5493 (bookmark-insert-current-bookmark): Remove function.
5494
5495 * info.el (Info-bookmark-make-record): Add `defaults' property
5496 with values of canonical Info node name, the current Info file
5497 name and the current Info node name. (Bug#12107)
5498
53fa8652
JL
54992012-08-08 Juri Linkov <juri@jurta.org>
5500
5501 * files.el (basic-save-buffer): Use `buffer-name' as the default
5502 of `read-file-name' when buffer is not visiting a file (bug#12128).
5503
242c0a95
JL
55042012-08-08 Juri Linkov <juri@jurta.org>
5505
5506 * info.el (Info-isearch-search): Doc fix.
5507 (Info-search): Change search-failed message from "initial node" to
5508 "end of node" (bug#12078).
5509 (Info-isearch-search): Change `isearch-string-state' to
5510 `isearch--state-string'.
5511
32ac3a6b
GM
55122012-08-08 Glenn Morris <rgm@gnu.org>
5513
5514 * language/persian.el: Remove file.
f8c1afd5 5515 * language/misc-lang.el: Move unique part of persian.el here.
32ac3a6b
GM
5516 * loadup.el: Remove language/persian.
5517
2c2d9c9c
OF
55182012-08-08 Óscar Fuentes <ofv@wanadoo.es>
5519
5520 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
5521
2d79ec42
FEG
55222012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
5523
5524 * progmodes/python.el Fixed defsubst warning.
5525 (python-syntax-context) Rename from python-info-ppss-context.
5526 (python-syntax-context-type): Rename from
5527 python-info-ppss-context-type.
5528 (python-syntax-comment-or-string-p): Rename from
5529 python-info-ppss-comment-or-string-p.
5530
2bd255dd
JB
55312012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
5532
5533 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
5534
c395097f
AS
55352012-08-07 Andreas Schwab <schwab@linux-m68k.org>
5536
6125983e
AS
5537 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
5538 a defcustom that is quoted with backquote.
5539
4250fdf5
SM
5540 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
5541 Fix handling of interactive spec when the body uses return.
651eaf36
AS
5542 (math-do-arg-check, math-define-function-body): Use backquote forms.
5543 * calc/calc-ext.el (math-defcache): Likewise.
5544 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
5545 * allout.el (allout-new-exposure): Likewise.
5546 * calc/calcalg2.el (math-tracing-integral): Likewise.
5547 * info.el (Info-last-menu-item): Likewise.
5548 * emulation/vip.el (vip-loop): Likewise.
5549 * textmodes/artist.el (artist-funcall): Likewise.
5550 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
5551 Construct menu-item directly.
5552
4250fdf5
SM
5553 * progmodes/autoconf.el (font-lock-syntactic-keywords):
5554 Don't declare.
c395097f 5555
5fb50dd3
CY
55562012-08-07 Chong Yidong <cyd@gnu.org>
5557
5558 * simple.el (deactivate-mark): Preserve text properties when
5559 saving the primary selection (Bug#8384).
5560
54eea618
KR
55612012-08-07 Kevin Ryde <user42@zip.com.au>
5562
5563 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
5564 (woman-parse-numeric-value): On a bad .IP line, issue a warning
5565 and continue processing (Bug#12110).
5566
638eaeb9
SM
55672012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
5568
5569 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
5570 syntax-propertize-function (bug#10095).
5571
ea376861
SM
55722012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
5573
f91b35be
SM
5574 * help-fns.el (help-fns--key-bindings, help-fns--signature)
5575 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
5576 describe-function-1.
5577 (describe-function-1): Use them. Move compiler macro after sig.
5578 (help-fns--compiler-macro): Use function-get. Assume we're already in
5579 standard-output. Adjust layout to new call order.
5580
ea376861
SM
5581 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
5582 re-binding a symbol that has a symbol-macro (bug#12119).
5583
d5be7bd0
MB
55842012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
5585
5586 * language/persian.el: New file. (Bug#11812)
5587 * loadup.el: Add language/persian.el.
5588
90749b53
CY
55892012-08-06 Chong Yidong <cyd@gnu.org>
5590
5591 * window.el (window--maybe-raise-frame): New function.
5592 (window--display-buffer): Split off from here.
5593 (display-buffer-reuse-window, display-buffer-pop-up-frame)
5594 (display-buffer-pop-up-window, display-buffer-use-some-window):
5595 Obey an inhibit-switch-frame action alist entry.
5596 (display-buffer): Update doc.
5597
5598 * replace.el (occur-after-change-function): Avoid losing focus by
5599 using the inhibit-switch-frame display parameter (Bug#12139).
5600
ba7b0154
FEG
56012012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
5602
5603 Make internal shell process buffer names start with space.
5604 * progmodes/python.el (python-shell-make-comint): Add optional
5605 argument INTERNAL.
5606 (run-python-internal): Use it.
5607 (python-shell-internal-get-or-create-process): Check for new
5608 internal buffer names.
5609
5eaeacb5
GM
56102012-08-06 Glenn Morris <rgm@gnu.org>
5611
e296d94b 5612 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
5eaeacb5
GM
5613 Do less getting and setting of environment variables.
5614
b7ccbdc2
CY
56152012-08-05 Chong Yidong <cyd@gnu.org>
5616
777fe95e
CY
5617 * proced.el (proced): Add substitution string to docstring to
5618 trigger autoloading of the proced library on C-h f (Bug#1768).
5619
4250fdf5
SM
5620 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
5621 Don't show defvars which have no second argument (Bug#8638).
b7ccbdc2
CY
5622
5623 * imenu.el (imenu-generic-expression): Move documentation here
5624 from imenu--generic-function.
5625 (imenu--generic-function): Refer to imenu-generic-expression.
5626
9e3b7800 56272012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
d5c31f1d
5628
5629 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
5630 indentation declaration.
5631 (viper-loop): Add indentation declaration (Bug#7025).
5632
e5d9c0d1
CY
56332012-08-05 Chong Yidong <cyd@gnu.org>
5634
f0422feb
CY
5635 * help-fns.el (describe-variable): Add hyperlink for
5636 directory-local variables files. Improve buffer-local and
5637 permanent-local reporting; suggested by MON KEY (Bug#6644).
5638
5639 * help-mode.el (help-dir-local-var-def): New button type.
5640
e5d9c0d1
CY
5641 * files.el (kill-buffer-hook): Provide a defvar.
5642
a4f2deaa
GM
56432012-08-05 Glenn Morris <rgm@gnu.org>
5644
5645 * eshell/esh-ext.el (eshell/addpath):
5646 Also update eshell-path-env. (Bug#12013)
5647
a9dd5754
CY
56482012-08-05 Chong Yidong <cyd@gnu.org>
5649
a4f2deaa 5650 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
615b0bf0 5651
d014c740
CY
5652 * fringe.el (fringe-styles): Add docstring.
5653 (fringe--check-mode): New function.
5654 (set-fringe-mode, set-fringe-style): Use it.
5655 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
5656
a9dd5754
CY
5657 * files.el (set-auto-mode): Fix invalid setq call.
5658
7c2dc8bd
SM
56592012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
5660
5661 * isearch.el: Misc simplification; use defstruct.
5662 (isearch-mode-map): Dense maps now work like sparse ones.
5663 (isearch--state): New defstruct.
5664 (isearch-string-state, isearch-message-state, isearch-point-state)
5665 (isearch-success-state, isearch-forward-state)
5666 (isearch-other-end-state, isearch-word-state, isearch-error-state)
5667 (isearch-wrapped-state, isearch-barrier-state)
5668 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
5669 replaced by defstruct's accessors.
5670 (isearch--set-state): Rename from isearch-top-state and change
5671 calling convention.
5672 (isearch-push-state): Use new isearch--get-state.
5673 (isearch-toggle-word): Disable regexp when enabling word.
5674 (isearch-message-prefix): Remove unused arg _c-q-hack.
5675 (isearch-message-suffix): Remove unused arg _ellipsis.
5676
7fcc0070
AS
56772012-08-04 Andreas Schwab <schwab@linux-m68k.org>
5678
5679 * simple.el (list-processes--refresh): For a server use :host or
5680 :local as the address.
97ad0769 5681 (list-processes): Doc fix.
7fcc0070 5682
a11035b8 56832012-08-04 Michal Nazarewicz <mina86@mina86.com>
00340faf
MN
5684
5685 * lisp/mpc.el: Support password in host argument.
5686 (mpc--proc-connect): Parse and use new password element.
5687 Set mpc-proc variable instead of returning process.
5688 (mpc-proc): Adjust accordingly.
5689
6dad7178
EZ
56902012-08-03 Eli Zaretskii <eliz@gnu.org>
5691
18949c2f
EZ
5692 * whitespace.el (whitespace-display-mappings): Use Unicode
5693 codepoints, instead of emacs-mule codepoints. See
5694 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
5695 for the details.
5696
6dad7178
EZ
5697 * files.el (file-truename): Don't skip symlink-chasing part on
5698 windows-nt. Incorporate the resolution of 8+3 short aliases on
4250fdf5
SM
5699 Windows into the loop that recursively chases symlinks.
5700 Compare directory and its parent case-insensitively on MS-Windows and
6dad7178
EZ
5701 MS-DOS.
5702
385b0198
CY
57032012-08-03 Chong Yidong <cyd@gnu.org>
5704
6200f3c4
CY
5705 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
5706
385b0198
CY
5707 * sort.el (sort-regexp-fields): Doc fix.
5708
b9e74744
TH
57092012-08-03 Tassilo Horn <tsdh@gnu.org>
5710
5711 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
5712 labels regex position point at the expected place.
5713
41013cb4
MK
57142012-08-03 MON KEY <monkey@sandpframing.com>
5715
5716 * net/imap.el (imap-interactive-login, imap-authenticate)
5717 (imap-mailbox-lsub, imap-mailbox-list)
5718 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
5719 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
5720 (imap-parse-response): Doc fix.
5721
0ffee616
JT
57222012-08-03 João Távora <joaotavora@gmail.com>
5723
5724 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
5725 if sexp scanning does not move point (Bug#5734).
5726
cfcc9cc8
TH
57272012-08-02 Tassilo Horn <tsdh@gnu.org>
5728
5729 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
5730 Add listings, minted, and ctable packages.
5731 (reftex-label-alist-builtin): Move listings, minted, and ctable
5732 entries before LaTeX.
a01bbb84 5733 (reftex-label-alist): Docfix.
cfcc9cc8 5734
66ec2442
BG
57352012-08-02 Bastien Guerry <bzg@gnu.org>
5736
5737 * replace.el (occur): Fix docstring (bug#12122).
5738
837b365b
GM
57392012-08-02 Glenn Morris <rgm@gnu.org>
5740
5741 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
5742
e098de97
PE
57432012-08-02 Paul Eggert <eggert@cs.ucla.edu>
5744
5745 Obsolete alias inactivate-current-input-method-function (Bug#10150).
5746 * international/mule-cmds.el: Create
5747 inactivate-current-input-method-function as an obsolete alias for
5748 deactivate-current-input-method-function. See Katsumi Yamaoka in
5749 <http://bugs.gnu.org/10150#46>.
5750
a0f95636
JB
57512012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
5752
5753 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
5754 of nested `if's.
5755
0d26d7c4
GM
57562012-08-01 Glenn Morris <rgm@gnu.org>
5757
5758 * progmodes/autoconf.el (autoconf-definition-regexp):
5759 Add AH_TEMPLATE, adjust submatch numbering.
5760 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
5761 (autoconf-current-defun-function): Update for above change.
5762 (autoconf-current-defun-function): First skip to end of current word.
5763
b686ba06
RS
57642012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
5765
5766 * calendar/cal-html.el (cal-html-insert-agenda-days):
5767 Fix typo. (Bug#12018)
5768
0d49da68
FEG
57692012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
5770
5771 Shell processes: enhancements to startup and CEDET compatibility.
5772 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
5773 (python-shell-make-comint): accept-process-output at startup.
5774 (run-python-internal): Set inferior-python-mode-hook to nil.
5775 (python-shell-internal-get-or-create-process): call sit-for.
5776 (python-preoutput-result): Add obsolete alias.
5777 (python-shell-internal-send-string): Use it.
5778 (python-shell-send-setup-code): Remove call to
5779 accept-process-output.
5780
f1a71c6e
AS
57812012-07-31 Andreas Schwab <schwab@linux-m68k.org>
5782
5783 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
5784 (Bug#12108)
5785
d2605269
JB
57862012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
5787
5788 * calc-mode.el (calc-basic-simplification-mode): Rename from
5789 `calc-limited-simplification-mode'.
5790 (calc-alg-simplification-mode): New function.
fc0c31f8 5791 (calc-set-simplify-mode): Adjust message.
f1a71c6e 5792
d2605269
JB
5793 * calc.el (calc-set-mode-line): Adjust mode line display for
5794 basic simplification mode.
5795
5796 * calc-help.el (calc-m-prefix-help): Update help message.
5797
5798 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
5799 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
5800
a3827a43
BG
58012012-07-31 Bastien Guerry <bzg@gnu.org>
5802
5803 * man.el (man): Fix comment. (bug#12101)
5804
502e3f89
MR
58052012-07-31 Martin Rudalics <rudalics@gmx.at>
5806
5807 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
5808 Don't return a non-nil value when no suitable buffer was found.
5809
d7714961
FEG
58102012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
5811
5812 * progmodes/python.el (run-python-internal): Disable font lock for
5813 internal shells.
5814
1f45e27e
SM
58152012-07-30 Stefan Merten <smerten@oekonux.de>
5816
70efc5c9 5817 * textmodes/rst.el: Silence `checkdoc-ispell'.
1f45e27e
SM
5818 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
5819 (rst-official-version, rst-official-cvs-rev)
5820 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
5821 (rst-mode-map): New key binding.
5822
0aee6912
PE
58232012-07-30 Paul Eggert <eggert@cs.ucla.edu>
5824
5825 Update .PHONY listings in makefiles.
5826 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
5827 autoloads, update-subdirs, updates, bzr-update, update-authors,
5828 compile-onefile, compile-calc, backup-compiled-files,
5829 compile-after-backup, compile-one-process, mh-autoloads,
5830 bootstrap-clean, distclean, maintainer-clean.
5831
9052f9f0
JB
58322012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
5833
1823ac5a
JB
5834 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
5835 (calc-set-mode-line): Don't display "AlgSimp ".
5836
5837 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
5838 (calc-lim-simplify-mode): New function.
5839 (calc-set-simplify-mode): Default to 'alg.
5840 (calc-default-simplify-mode): Make algebraic simplifications
5841 the default.
5842
5843 * calc/calc-ext.el (calc-init-extensions): Remove binding for
5844 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
5845
8d7c7eed 5846 * calc/calc-help.el (calc-m-prefix-help): Change messages to
4b337409
JB
5847 indicate new simplification modes.
5848
1823ac5a
JB
5849 * calc/README: Mention new default simplification mode.
5850
9052f9f0
JB
5851 * calc/calc.el (math-normalize-error): New variable.
5852 (math-normalize): Set `math-normalize-error' to t
5853 when there's an error.
5854
5855 * calc/calc-alg.el (math-simplify): Don't simplify when
5856 `math-normalize' returns an error.
5857
20ba0cb4
EZ
58582012-07-29 Eli Zaretskii <eliz@gnu.org>
5859
5860 * international/mule-cmds.el (set-locale-environment): Revert last
5861 change, since display-graphic-p returns nil when this function is
5862 called during startup. Instead...
5863
5864 * term/w32console.el (terminal-init-w32console): ...setup the
5865 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
5866
a5dcc929
JL
58672012-07-29 Juri Linkov <juri@jurta.org>
5868
5869 * simple.el (goto-line): Don't display default line number in the
5870 prompt because it should be displayed by `read-number' (bug#9952).
5871 Add the current line number to the defaults of `goto-line' to
5872 allow its easier modification by users with `M-n' (bug#9201).
5873
5874 * subr.el (read-number): Support multiple default values like in
5875 other minibuffer reading functions. Replace `read' with
5876 `string-to-number' for consistency with `number-to-string'.
5877
72b255c7
PE
58782012-07-29 Paul Eggert <eggert@cs.ucla.edu>
5879
5880 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
5881 * emulation/viper-init.el (viper-deactivate-input-method-action):
5882 Rename from viper-inactivate-input-method-action.
5883 (viper-deactivate-input-method):
5884 Rename from viper-inactivate-input-method.
5885 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
5886 * international/mule-cmds.el (deactivate-input-method):
5887 Rename from inactivate-input-method.
5888 Also run input-method-deactivate-hook.
5889 (deactivate-current-input-method-function):
5890 Rename from inactivate-current-input-method-function.
5891 (input-method-deactivate-hook): New hook.
5892 (input-method-inactivate-hook): Mark obsolete.
bb6eb9fc
PE
5893 (inactivate-input-method): Mark obsolete.
5894
72b255c7
PE
5895 * international/quail.el (quail-activate):
5896 Also run quail-deactivate-hook.
5897 (quail-deactivate): Rename from quail-inactivate.
5898 * international/robin.el (robin-activate):
5899 Also run robin-deactivate-hook.
5900 (robin-deactivate): Rename from robin-inactivate.
5901
2549c068
CY
59022012-07-29 Chong Yidong <cyd@gnu.org>
5903
5904 * simple.el (indicate-copied-region): New function.
5905 (kill-ring-save): Split off from here.
5906
5907 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
5908 (kill-rectangle): Set deactivate-mark to t on read-only error.
5909
5910 * register.el (copy-to-register, copy-rectangle-to-register):
5911 Deactivate the mark, and use indicate-copied-region (Bug#10056).
4c478e6b
JL
5912 (append-to-register, prepend-to-register): Call indicate-copied-region.
5913
59142012-07-29 Juri Linkov <juri@jurta.org>
17711ed9
JL
5915
5916 * simple.el (async-shell-command-buffer): New defcustom.
5917 (shell-command): Use it. (Bug#4719)
5918
01bd1b0d
EZ
59192012-07-28 Eli Zaretskii <eliz@gnu.org>
5920
5921 * international/mule-cmds.el (set-locale-environment): In a
5922 console session on MS-Windows, set up keyboard and terminal
5923 encoding from the OEM codepage, not the ANSI codepage.
5924 (Bug#12055)
5925
a55739d3
CY
59262012-07-28 Chong Yidong <cyd@gnu.org>
5927
5928 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
5929 gdb-get-location.
5930
0e1a094f 59312012-07-28 Leo Liu <sdl.web@gmail.com>
9a0f8f2e
LL
5932
5933 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
5934 the alist (bug#12029).
5935
20329d73
EZ
59362012-07-28 Eli Zaretskii <eliz@gnu.org>
5937
5938 * makefile.w32-in (custom-deps, finder-data, updates, compile)
5939 (compile-always, compile-first)
5940 ($(lisp)/calendar/cal-loaddefs.el)
5941 ($(lisp)/calendar/diary-loaddefs.el)
5942 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
5943 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
5944 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
5945 instead of on update-subdirs.
5946 (bootstrap-clean): Delete $(lisp)/subdirs.el.
5947
345a2258
CY
59482012-07-28 Chong Yidong <cyd@gnu.org>
5949
1eee6341
CY
5950 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
5951 directory if vc-deduce-backend returns nil (Bug#7350).
5952
345a2258
CY
5953 * simple.el (delete-trailing-lines): New option.
5954 (delete-trailing-whitespace): Obey it (Bug#11879).
5955
049a0936
DE
59562012-07-28 David Engster <deng@randomsample.de>
5957
5958 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
5959 Explanation of new 'symbol-qnames feature in doc-strings.
5960 (xml-maybe-do-ns): Return expanded names as plain symbols if
5961 'symbol-qnames was provided in XML-NS argument (Bug#11916).
5962 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
5963
aa81af71
FEG
59642012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
5965
5966 Consistent completion in inferior python with emacs -nw.
5967 * progmodes/python.el (inferior-python-mode): replace "<tab>"
5968 binding in inferior-python-mode-map with "\t".
5969 (python-shell-completion-complete-at-point)
5970 (python-completion-complete-at-point): Remove interactive spec.
5971
e827b1eb
JB
59722012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
5973
5974 * calc/calccomp.el (math-compose-expr): Undo previous change.
5975
a90dfb95
FEG
59762012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
5977
4250fdf5 5978 * progmodes/python.el (python-mode-map): Add keybinding for
a90dfb95
FEG
5979 run-python.
5980 (python-shell-make-comint): Fix pop-to-buffer call.
5981 (run-python): Autoload. New arg SHOW.
5982 (python-shell-get-or-create-process): Do not pop python process
5983 buffer.
5984
32770973 59852012-07-27 Michael Albinus <michael.albinus@gmx.de>
1c6ef030
MA
5986
5987 * notifications.el (notifications-on-action-signal)
5988 (notifications-on-closed-signal): Use also the bus address for the map.
5989 (notifications-notify, notifications-close-notification)
fc0c31f8 5990 (notifications-get-capabilities): Add optional argument BUS.
1c6ef030 5991
86332df2
TH
59922012-07-27 Tassilo Horn <tsdh@gnu.org>
5993
4250fdf5
SM
5994 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
5995 Add support for the lstlisting and minted environments, and for the
86332df2
TH
5996 ctable macro.
5997 * textmodes/reftex.el (reftex-compile-variables): Also recognize
5998 labels written in keyvals syntax.
5999
ca1302a4
JB
60002012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
6001
6002 * calc/calccomp.el (math-compose-expr): Use parentheses when
6003 there is a product in the denominator of a fraction.
6004
f8b91036
EZ
60052012-07-26 Eli Zaretskii <eliz@gnu.org>
6006
6007 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
6008 ($(lisp)/calendar/diary-loaddefs.el)
6009 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
4250fdf5
SM
6010 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
6011 Fixes failures in parallel bootstrap because subdirs.el is being
f8b91036
EZ
6012 rewritten while the autoload files are built at the same time,
6013 which needs to load subdirs.el.
6014
c8e5a42c
MR
60152012-07-26 Martin Rudalics <rudalics@gmx.at>
6016
6017 * mouse.el (popup-menu): Fix doc-string and re-indent code.
6018 (mouse-drag-line): Don't exit tracking when a switch-frame or
6019 switch-window event occurs (Bug#12006).
6020
670d85ea
SM
60212012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6022
6023 * mouse.el (popup-menu): Fix last change.
6024
7abaf5cc
SM
60252012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6026
6027 Autoload from Lisp with more care. Follow aliases when looking for
6028 function properties.
6029 * subr.el (autoloadp): New function.
6030 (symbol-file): Use it.
6031 (function-get): New function.
6032 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
6033 autoload-do-load.
6034 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
6035 (lisp-indent-function):
6036 * emacs-lisp/gv.el (gv-get):
6037 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
6038 * emacs-lisp/byte-opt.el (byte-optimize-form):
6039 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
6040 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
6041 Use function-get.
6042 * emacs-lisp/cl.el: Don't propagate function properties any more.
6043
6044 * speedbar.el (speedbar-add-localized-speedbar-support):
6045 * emacs-lisp/disass.el (disassemble-internal):
6046 * desktop.el (desktop-load-file):
6047 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
6048 (describe-function-1):
6049 * emacs-lisp/find-func.el (find-function-noselect):
6050 * emacs-lisp/elp.el (elp-instrument-function):
6051 * emacs-lisp/advice.el (ad-has-proper-definition):
6052 * apropos.el (apropos-safe-documentation, apropos-macrop):
6053 * emacs-lisp/debug.el (debug-on-entry):
6054 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
6055 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
6056 * calc/calc.el (name): Use autoloadp & autoload-do-load.
6057
b1364986
AA
60582012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
6059
6060 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
6061 function, not an obsolete variable (Bug#12046).
6062
67ada220
AS
60632012-07-25 Andreas Schwab <schwab@linux-m68k.org>
6064
6065 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
6066
f08088e3
CS
60672012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
6068
6069 * emacs-lisp/pp.el (pp-display-expression): Select old selected
6070 window only if it is still live (Bug#12034).
6071
8137e7b3
MR
60722012-07-25 Martin Rudalics <rudalics@gmx.at>
6073
6074 * subr.el (redirect-frame-focus): Add advertised calling
6075 convention (Bug#12030).
6076
09ae5da1
PE
60772012-07-25 Paul Eggert <eggert@cs.ucla.edu>
6078
6079 Prefer typical American spelling for "acknowledgment".
6080 * vc/add-log.el (change-log-acknowledgment): Rename from
6081 change-log-acknowledgement, with an alias for the old name.
6082
3cc5a3a8
JB
60832012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
6084
6085 * calc-alg.el (math-simplify-divide): Don't cross multiply
6086 in an equation when the lhs is a variable.
6087
b7af7f62
JD
60882012-07-24 Julien Danjou <julien@danjou.info>
6089
6090 * net/netrc.el (netrc-find-service-number, netrc-store-data):
6091 Remove, unused.
6092
ec1b09b1
EZ
60932012-07-23 Eli Zaretskii <eliz@gnu.org>
6094
6095 * startup.el (command-line): Don't display an empty user name in
6096 the error message about non-existent home directory, when
6097 init-file-user was set to an empty string. See
6098 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
6099 for the details and context.
6100
b525fd8a
VB
61012012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
6102
6103 * ses.el (ses-cell-formula-aset): New macro.
6104 (ses-cell-references-aset): New macro.
6105 (ses-cell-p): New function.
6106 (ses-rename-cell): Do no longer rely on complex operations like
6107 ses-cell-set-formula or ses-set-cell to change the cell and handle
6108 the undo at the same time, but rather use lower level new macros
6109 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
fc0c31f8 6110 the undo directly. Refresh the mode line.
b525fd8a 6111
2c73e345
LL
61122012-07-21 Leo Liu <sdl.web@gmail.com>
6113
670d85ea
SM
6114 * progmodes/cc-cmds.el (c-defun-name):
6115 Use match-string-no-properties instead for consistency.
2c73e345 6116
542dfbde
LL
61172012-07-20 Leo Liu <sdl.web@gmail.com>
6118
3646bcd6
LL
6119 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
6120 (Bug#7879)
6121
542dfbde
LL
6122 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
6123
25721031
CY
61242012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
6125
6126 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
6127 * progmodes/bug-reference.el, misearch.el: Provide themselves
6128 (bug#11915).
6129
6130 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
6131 of narrowed buffer (bug#11966).
6132
316e68a7
VB
61332012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
6134
6135 * ses.el (ses-rename-cell): Set new name also in reference list of
6136 cells of which the renamed cell depends.
6137
bbf0e7d9
MY
61382012-07-20 Masatake YAMATO <yamato@redhat.com>
6139
6140 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
6141 to check whether menu-bar is shown or not. If not shown,
6142 show the menu-bar as a popup menu instead of using tmm.
6143 * mouse.el (popup-menu): Accept `point' as `position' argument.
6144
c28662a8
DG
61452012-07-20 Dmitry Gutov <dgutov@yandex.ru>
6146
6147 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
6148 up inside string symbol literal (bug#11923).
6149
87ab808f
EZ
61502012-07-20 Eli Zaretskii <eliz@gnu.org>
6151
6152 * startup.el (fancy-startup-text): Read the whole tutorial, not
6153 just its first 256 bytes. Prevents gibberish in display of the
6154 tutorial title.
6155
89dea803
DA
61562012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
6157
6158 Drop idle buffer compaction due to an absence of the
6159 proved efficiency.
6160 * compact.el: Remove.
6161
8a4e6db8
SS
61622012-07-19 Sam Steingold <sds@gnu.org>
6163
6164 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
6165 vc-bzr-pull & vc-bzr-merge-branch.
6166 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
6167 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
6168 for consistency with compilation-error-regexp-alist.
6169 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
6170 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
6171 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
6172 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
6173
5db81e33
SM
61742012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
6175
6176 * emacs-lisp/chart.el: Use lexical-binding.
6177 (chart-emacs-storage): Don't hardcode the list of entries.
6178
5b835e1d
DA
61792012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
6180
6181 Next round of tweaks caused by Fgarbage_collect changes.
6182 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
6183
9cd47b72
DA
61842012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
6185
6186 Compact buffers when idle.
6187 * compact.el: New file.
6188
1d6fc0df
SM
61892012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
6190
6191 * subr.el (eventp): Presume that if it looks vaguely like an event,
6192 it's an event (bug#10190).
6193
1d29cc7d
FEG
61942012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
6195
6196 Enhancements to ppss related code (thanks Stefan).
6197 * progmodes/python.el (python-indent-context)
6198 (python-indent-calculate-indentation, python-indent-dedent-line)
6199 (python-indent-electric-colon, python-nav-forward-block)
6200 (python-mode-abbrev-table)
1d6fc0df 6201 (python-info-assignment-continuation-line-p): Simplify checks
1d29cc7d
FEG
6202 for ppss context.
6203 (python-info-continuation-line-p): Cleanup.
6204 (python-info-ppss-context): Do not catch 'quote.
6205 (python-info-ppss-context-type)
6206 (python-info-ppss-comment-or-string-p): Simplify.
6207
d583cbe6
FEG
62082012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
6209
6210 * progmodes/python.el: Enhancements to eldoc support.
6211 (python-info-current-symbol): New function.
6212 (python-eldoc-at-point): Use python-info-current-symbol.
6213 (python-info-current-defun): Fix cornercase on first defun scan.
6214 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
6215 and signal error when no inferior python process is available.
6216
eceb6feb
DG
62172012-07-18 Dmitry Gutov <dgutov@yandex.ru>
6218
6219 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
6220 assume it's always t.
6221 (vc-git-registered): Remove caching, the function is only called
6222 once.
6223 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
6224
4c8ff0fe
CY
62252012-07-18 Chong Yidong <cyd@gnu.org>
6226
19fb7186
CY
6227 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
6228
9587c688
CY
6229 * simple.el (count-words): Report on narrowing (Bug#9959).
6230
0fe776a1
CY
6231 * bindings.el: Bind M-= to count-words.
6232
4c8ff0fe
CY
6233 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
6234
7f5331cc
MY
62352012-07-18 Masatake YAMATO <yamato@redhat.com>
6236
6237 * progmodes/sh-script.el (sh-imenu-generic-expression):
6238 Capture a function with `function' keyword and without parentheses
6239 like "function FOO" (bug#11856).
6240
2dc2a609
TH
62412012-07-18 Tassilo Horn <tassilo@member.fsf.org>
6242
6243 * window.el (split-window-sensibly): Make WINDOW argument
6244 optional.
6245
439f7677
CY
62462012-07-18 Chong Yidong <cyd@gnu.org>
6247
9aeb25a6
CY
6248 * subr.el (keyboard-translate): Doc fix (Bug#7261).
6249
439f7677
CY
6250 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
6251 and make C-x 8 RET exit isearch (Bug#11439).
6252
6253 * international/iso-transl.el: Move isearch-mode-map key
6254 definitions to isearch.el.
6255
12999ea8
SM
62562012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
6257
6258 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
6259 (eieio-defclass): Use gv-define-setter when possible.
6260
3ab6e069
DA
62612012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
6262
6263 Reflect recent changes in Fgarbage_collect.
6264 * emacs-lisp/chart.el (chart-emacs-storage): Change to
6265 reflect new format of data returned by Fgarbage_collect.
6266
0a60bc10
FEG
62672012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
6268
6269 New utility functions + python-info-ppss-context fix (Bug#11910).
6270 * progmodes/python.el (python-info-beginning-of-block-statement-p)
6271 (python-info-ppss-comment-or-string-p): New functions.
6272 (python-info-ppss-context): Small fix for string check.
6273
6dafa0d5
JL
62742012-07-17 Juri Linkov <juri@jurta.org>
6275
6276 * dired-aux.el (dired-do-async-shell-command): Doc fix.
6277 (dired-do-async-shell-command): Don't add `*' at the end of the
6278 command (Bug#11815).
6279 (dired-do-shell-command): Doc fix.
6280 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
6281 Join the individual commands using either "&" or ";" as the
6282 separator depending on the values of these trailing characters.
6283 At the end re-add the trailing "&". (Bug#10598)
6284
6285 * simple.el (async-shell-command): Sync the interactive spec with
6286 `shell-command'. Doc fix.
6287 (shell-command): Doc fix.
6288
b19dd9d1
JL
62892012-07-17 Juri Linkov <juri@jurta.org>
6290
6291 * descr-text.el (describe-char): Fix format args. (Bug#10129)
6292
bcdc27d7 62932012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
7f5331cc 6294
bcdc27d7 6295 Final renames and doc fixes for movement commands (bug#11899).
7f5331cc
MY
6296 * progmodes/python.el (python-nav-beginning-of-statement):
6297 Rename from python-nav-statement-start.
bcdc27d7
FEG
6298 (python-nav-end-of-statement): Rename from
6299 python-nav-statement-end.
6300 (python-nav-beginning-of-block): Rename from
6301 python-nav-block-start.
6302 (python-nav-end-of-block): Rename from python-nav-block-end.
6303
191da00e
FEG
63042012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
6305
7f5331cc
MY
6306 * progmodes/python.el (python-shell-send-string-no-output):
6307 Allow accept-process-output to quit, keeping shell process ready for
191da00e
FEG
6308 future interactions (Bug#11868).
6309
4dc7c8d5 63102012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
aa7aaf8f 6311
88ecaf8f
SM
6312 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
6313
ef501ef0
SM
6314 * emacs-lisp/elint.el (elint-find-args-in-code):
6315 Use help-function-arglist, so as to handle lexical byte-code.
6316
aa7aaf8f
SM
6317 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
6318 change (bug#11826).
6319
45fd731c
SM
63202012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
6321
2143fa32
SM
6322 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
6323 Avoid spuriously marking the buffer as modified because of c-is-sws.
6324
efc26dbe
SM
6325 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
6326 as not-a-comment (bug#11946).
6327
f5695c9a
SM
6328 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
6329 for uninterned vars.
6330
6331 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
6332 Use read-event since we don't really want to read chars but bytes.
6333
45fd731c
SM
6334 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
6335 $$..$$ but also $..$ using regexps (bug#11953).
6336 Use tex-verbatim for \url and \path.
6337 (tex-font-lock-keywords): Define as defconst like the others.
6338 (tex-common-initialization): Don't use font-lock-syntax-table any more.
6339
ddfc8813
RK
63402012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
6341
6342 * international/mule-cmds.el (ucs-insert): Make it an obsolete
6343 alias for insert-char.
6344
758e556a
FEG
63452012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
6346
6347 * progmodes/python.el: Simplified imenu implementation.
6348 (python-nav-jump-to-defun): Remove command.
6349 (python-mode-map): Use `imenu' instead.
6350 (python-nav-list-defun-positions-cache)
6351 (python-imenu-include-defun-type, python-imenu-make-tree)
6352 (python-imenu-subtree-root-label, python-imenu-index-alist):
6353 Remove vars.
6354 (python-nav-list-defun-positions, python-nav-read-defun)
6355 (python-imenu-tree-assoc, python-imenu-make-element-tree)
45fd731c
SM
6356 (python-imenu-make-tree, python-imenu-create-index):
6357 Remove functions.
758e556a
FEG
6358 (python-mode): Update to interact with imenu by setting
6359 `imenu-extract-index-name-function' only.
6360
032d23ab
FEG
63612012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
6362
6363 * progmodes/python.el: Enhancements to navigation commands.
6364 (python-nav-backward-sentence)
6365 (python-nav-forward-sentence): Remove.
6366 (python-nav-backward-statement, python-nav-forward-statement)
6367 (python-nav-statement-start, python-nav-statement-end)
6368 (python-nav-backward-block, python-nav-forward-block)
6369 (python-nav-block-start, python-nav-block-end)
6370 (python-nav-forward-sexp-function)
6371 (python-info-current-line-comment-p)
6372 (python-info-current-line-empty-p): New functions.
6373 (python-indent-context): Use `python-nav-statement-start'.
6374
01795a1b
MA
63752012-07-16 Michael Albinus <michael.albinus@gmx.de>
6376
9328d9aa
MA
6377 * eshell/em-ls.el (eshell/ls): Use `apply'.
6378
6379 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
6380 multi-hops, instead of Tramp internals.
6381
01795a1b
MA
6382 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
6383
6384 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
6385 when F1 and F2 are located on different hosts.
6386
63408057
CY
63872012-07-14 Chong Yidong <cyd@gnu.org>
6388
6389 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
6390 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
6391 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
6392 (xterm-mouse--read-event-sequence-1000)
6393 (xterm-mouse--read-event-sequence-1006): New functions. For old
6394 mouse protocol, handle M-mouse-X events correctly.
6395 (xterm-mouse-event): New arg specifying mouse protocol.
6396 (turn-on-xterm-mouse-tracking-on-terminal)
6397 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
45fd731c
SM
6398 sequence to toggle extended coordinates on newer XTerms.
6399 This appears to be harmless on terminals which do not support this.
63408057 6400
cd276f6e
LL
64012012-07-14 Leo Liu <sdl.web@gmail.com>
6402
28ca98ac
LL
6403 Add fringe bitmap indicators for flymake. (Bug#11253)
6404 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
6405 (flymake-make-overlay): New arg BITMAP.
6406 (flymake-error-bitmap, flymake-warning-bitmap)
6407 (flymake-fringe-indicator-position): New user variables.
6408
cd276f6e
LL
6409 * fringe.el: New bitmap exclamation-mark.
6410
04408072
JD
64112012-07-14 Jan Djärv <jan.h.d@swipnet.se>
6412
6413 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
6414 also (Bug#7879).
6415
b5cf7fc4
CY
64162012-07-14 Chong Yidong <cyd@gnu.org>
6417
6418 * electric.el (electric-pair-post-self-insert-function): Fix pair
6419 insertion in empty-region case (Bug#11520).
6420
be755c79
RT
64212012-07-14 Chong Yidong <cyd@gnu.org>
6422
45fd731c
SM
6423 * bindings.el: Consolidate ctl-x-r-map bindings.
6424 Bind copy-rectangle-as-kill to C-x r w.
be755c79
RT
6425
6426 * rect.el, register.el: Move bindings to bindings.el.
6427
64282012-07-14 Reuben Thomas <rrt@sc3d.org>
6429
6430 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
6431
7f5b3198
AS
64322012-07-13 Andreas Schwab <schwab@linux-m68k.org>
6433
6434 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
6435
97662200
JB
64362012-07-13 Juanma Barranquero <lekktu@gmail.com>
6437
80185fed
JB
6438 * bindings.el (top): Use `mapc' instead of `mapcar'.
6439
97662200
JB
6440 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
6441
2bb1ae55
MA
64422012-07-13 Michael Albinus <michael.albinus@gmx.de>
6443
6444 * progmodes/sql.el (sql-comint): Suppress the check for program on
6445 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
6446 (Bug#11908)
6447
dea31bd3
CY
64482012-07-13 Chong Yidong <cyd@gnu.org>
6449
6450 * bindings.el: Assign a non-nil permanent-local property to
6451 per-buffer variables which lack a default value (Bug#11930).
6452
6453 * help-fns.el (describe-variable): In the "automatically becomes
6454 local" notice, take note of permanent-local variables.
6455
b68b3337
CY
64562012-07-13 Chong Yidong <cyd@gnu.org>
6457
6458 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
6459 to allow printing the message when called from Lisp.
6460
6461 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
6462 Remove toggle-read-only.
6463
6464 * bs.el (bs-toggle-readonly):
45fd731c
SM
6465 * buff-menu.el (Buffer-menu-toggle-read-only):
6466 Remove with-no-warnings around toggle-read-only.
b68b3337
CY
6467
6468 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
6469 Remove with-no-warnings around toggle-read-only.
6470 (ffap-read-only, ffap-read-only-other-window)
6471 (ffap-read-only-other-frame): Callers changed.
6472
6473 * help-mode.el: Don't require view package.
6474 (help-mode-finish): Set buffer-read-only instead of calling
6475 toggle-read-only.
6476
6477 * bindings.el (mode-line-toggle-read-only):
6478 * dired.el (dired-toggle-read-only):
6479 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
6480 with non-nil second arg.
6481
6482 * emacs-lisp/eieio-custom.el (eieio-customize-object):
6483 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
6484 directly.
6485
56bc1586
EZ
64862012-07-12 Eli Zaretskii <eliz@gnu.org>
6487
6488 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
6489 not incf.
6490
a464a6c7
SM
64912012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
6492
6493 More CL cleanups and reduction of use of cl.el.
6494 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
6495 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
6496 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
6497 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
6498 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
6499 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
6500 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
6501 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
6502 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
6503 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
6504 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
6505 * eshell/em-cmpl.el, eshell/em-banner.el:
6506 * calendar/parse-time.el: Use cl-lib.
6507 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
6508 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
6509 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
6510 * term/ns-win.el, term.el, shell.el, ps-samp.el:
6511 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
6512 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
6513 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
6514 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
6515 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
6516 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
6517 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
6518 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
6519 `lambda' rather than with `quote'.
6520 (eshell-do-opt): Adjust accordingly.
6521 (eshell-process-option): Simplify.
6522 * eshell/esh-var.el:
6523 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
6524 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
6525 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
6526 to `pcase--dontcare'.
6527 * emacs-lisp/cl.el (labels): Mark obsolete.
6528 (cl--letf, letf): Move to cl-lib.
6529 (cl--letf*, letf*): Remove.
6530 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
6531 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
6532 (cl-progv): Rewrite.
6533 (cl--letf, cl-letf): Move from cl.el.
6534 (cl-letf*): New macro.
6535 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
6536
7ad4afe1
MA
65372012-07-11 Michael Albinus <michael.albinus@gmx.de>
6538
6539 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
6540
9af57756
CY
65412012-07-11 Chong Yidong <cyd@gnu.org>
6542
6543 * vc/log-edit.el (log-edit-vc-backend): New variable.
6544 (log-edit): Doc fix.
6545
6546 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
6547 argument of log-edit to set up all local variables.
6548 (vc-start-logentry): New optional arg specifying VC backend.
6549
6550 * vc/vc.el (vc-checkin): Use it.
6551 (vc-deduce-fileset): Handle Log Edit buffers.
6552 (vc-diff): Make first argument optional too.
6553
6554 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
6555
8477cc7a
MA
65562012-07-10 Michael Albinus <michael.albinus@gmx.de>
6557
6558 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
6559 command, just in case. The function is not needed anymore.
6560 (eshell-external-command): Do not call `eshell-remote-command'.
6561
19faa8e8
SM
65622012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
6563
f58e0fd5
SM
6564 Reduce use of (require 'cl).
6565 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
6566 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
6567 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
6568 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
6569 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
6570 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
6571 * battery.el, avoid.el, abbrev.el: Use cl-lib.
6572 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
6573 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
6574 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
6575 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
6576 * calculator.el, autorevert.el, apropos.el: Don't require CL.
6577 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
6578 (byte-compile-unfold-bcf, byte-compile-check-variable):
6579 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
6580 (byte-compile-nilconstp):
6581 * emacs-lisp/autoload.el (make-autoload): Use pcase.
6582 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
6583
2519d43a
SM
6584 * emacs-lisp/gv.el (cond): Make it a valid place.
6585 (if): Simplify slightly.
6586
19faa8e8
SM
6587 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
6588 (pcase--self-quoting-p): New function.
6589 (pcase--u1): Use it.
6590
c4907a5e
GM
65912012-07-10 Glenn Morris <rgm@gnu.org>
6592
6593 * emacs-lisp/authors.el (authors-fixed-entries):
6594 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
6595
c4444d16
PE
65962012-07-09 Paul Eggert <eggert@cs.ucla.edu>
6597
6598 Rename configure.in to configure.ac (Bug#11603).
6599 * emacs-lisp/authors.el (authors-canonical-file-name):
6600 * progmodes/autoconf.el (autoconf-mode):
6601 Prefer configure.ac to configure.in.
6602
d75be97d
CY
66032012-07-08 Chong Yidong <cyd@gnu.org>
6604
01ac65bd
CY
6605 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
6606 Implement the mouse-1-click-follows-link handling properly.
6607
6608 * info.el (Info-link-keymap): Use follow-link mechanism for
6609 header-line links (Bug#374).
6610
d75be97d
CY
6611 * simple.el (deactivate-mark): Do not set the primary selection
6612 if another program has acquired it (Bug#11772).
6613
87a92845 66142012-07-07 Kevin Ryde <user42@zip.com.au>
f0ecdfea
KR
6615
6616 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
6617 (woman-decode-region): Replace escaped-escapes without destroying
6618 bold or underline (Bug#11552).
87a92845 6619 (woman2-process-escapes): Handle nofill regions (Bug#11591).
f0ecdfea 6620
621b9d6c
CY
66212012-07-07 Chong Yidong <cyd@gnu.org>
6622
6623 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
19faa8e8
SM
6624 (interprogram-cut-function, interprogram-paste-function):
6625 Mention that we typically mean the clipboard.
621b9d6c 6626
133a11fc
GM
66272012-07-06 Glenn Morris <rgm@gnu.org>
6628
0d27a45e
GM
6629 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
6630
133a11fc
GM
6631 * files.el (toggle-read-only): Restrict message to interactive use.
6632
07b151f1
MA
66332012-07-06 Michael Albinus <michael.albinus@gmx.de>
6634
6635 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
6636
6637 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
6638
211b896b
GM
66392012-07-06 Glenn Morris <rgm@gnu.org>
6640
50394322
GM
6641 * Makefile.in (compile-one-process): Rename from "recompile".
6642
211b896b
GM
6643 * Makefile.in (bzr-update): "compile" is the same as "recompile
6644 autoloads", but parallelizable, so use that instead.
6645
4737eec9
DG
66462012-07-06 Dmitry Gutov <dgutov@yandex.ru>
6647
6648 * window.el (quit-window): Always restore window height when
8137e7b3 6649 it's saved in quit-restore parameter (Bug#11810).
4737eec9 6650
226c3633 66512012-07-06 Glenn Morris <rgm@gnu.org>
cb442973
GM
6652
6653 * simple.el (kill-whole-line): Doc tweak.
6654
226c3633 66552012-07-06 Eli Zaretskii <eliz@gnu.org>
93842198
EZ
6656
6657 * files.el (file-relative-name): Compare file names
6658 case-insensitively if on MS-Windows or MS-DOS, or if
6659 read-file-name-completion-ignore-case is non-nil. Don't use
6660 case-fold-search for this purpose. (Bug#11827)
6661
4dc7c8d5
SM
66622012-07-17 Andreas Schwab <schwab@linux-m68k.org>
6663
6664 * calendar/cal-dst.el (calendar-current-time-zone):
6665 Return calendar-current-time-zone-cache if non-nil.
6666
66672012-07-17 Masatake YAMATO <yamato@redhat.com>
226c3633 66682012-07-06 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 6669
19faa8e8
SM
6670 * calendar/cal-dst.el (calendar-current-time-zone):
6671 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 6672
60198fc9
GM
66732012-07-06 Glenn Morris <rgm@gnu.org>
6674
6675 * Makefile.in (cvs-update): Remove old alias.
6676
957b3189
MA
66772012-07-05 Michael Albinus <michael.albinus@gmx.de>
6678
6679 Sync with Tramp 2.2.6-pre.
6680
6681 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
6682 compatible declaration.
6683
19faa8e8
SM
6684 * net/tramp-cmds.el (tramp-append-tramp-buffers):
6685 Protect `list-load-path-shadows' call.
957b3189
MA
6686
6687 * net/tramp-compat.el (top): Require packages, which aren't
6688 autoloaded anymore for XEmacs. Protect call of
6689 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
6690 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
6691 it hurts at least for SXEmacs.
6692 (tramp-compat-temporary-file-directory): In XEmacs, there is no
6693 standard-value for `temporary-file-directory'.
6694
6695 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
6696 Redirect stderr to /dev/null.
6697 (tramp-sh-handle-write-region): uid and gid can be floats.
6698 Reported by Russell Sim <russell.sim@gmail.com>.
6699 (tramp-sh-handle-vc-registered): Hide errors.
6700 (tramp-vc-file-name-handler): Use dummy results for `process-file'
6701 and `start-file-process'.
6702 (tramp-maybe-open-connection): Check also whether `non-essential'
6703 is bound.
6704
566df3fc
CY
67052012-07-04 Chong Yidong <cyd@gnu.org>
6706
6707 * xml.el (xml--parse-buffer): Use xml-syntax-table.
6708 (xml-parse-tag): Likewise, and avoid changing entity tables.
6709 (xml-syntax-table): Define from scratch, making sure not to give
6710 x2000 and other Unicode spaces whitespace syntax, since those are
6711 not spaces in XML.
6712 (xml-parse-fragment): Delete unused function.
6713 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
6714 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
6715 (xml-entity-ref, xml-pe-reference-re)
6716 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
6717 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
6718 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
6719 (xml-entity-value-re): Use syntax references in regexps where
6720 possible; no need to define inside a let-binding.
6721 (xml-parse-dtd): Use xml-pe-reference-re.
6722 (xml-entity-or-char-ref-re): New defconst.
6723 (xml-parse-string, xml-substitute-special): Use it.
6724
30eabd7a
SM
67252012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
6726
0781098a
SM
6727 * files.el (locate-dominating-file): Allow `name' to be a predicate.
6728 (find-file--read-only): New function.
6729 (find-file-read-only, find-file-read-only-other-window)
6730 (find-file-read-only-other-frame): Use it.
6731 (insert-file-contents-literally): Don't `fset'.
6732 (get-free-disk-space): Use locate-dominating-file.
6733
b5771c0d
SM
6734 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
6735 function is already compiled.
6736
30eabd7a
SM
6737 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
6738
b4886f6e
MA
67392012-07-03 Michael Albinus <michael.albinus@gmx.de>
6740
6741 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
6742 files on the same host.
6743
b9d82339
AS
67442012-07-03 Andreas Schwab <schwab@linux-m68k.org>
6745
6746 * help-fns.el (describe-function-1): Only call
6747 help-fns--autoloaded-p when we have a file name. (Bug#11848)
6748
a76e6535
CY
67492012-07-03 Chong Yidong <cyd@gnu.org>
6750
6751 * xml.el: Protect parser against XML bombs.
6752 (xml-entity-expansion-limit): New variable.
6753 (xml-parse-string, xml-substitute-special): Use it.
6754 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
6755
b544fef2
GM
67562012-07-03 Glenn Morris <rgm@gnu.org>
6757
6758 * progmodes/bug-reference.el (bug-reference-bug-regexp):
6759 Allow linking to specific messages in debbugs reports (eg 123#5).
6760
a7aef6f5
CY
67612012-07-02 Chong Yidong <cyd@gnu.org>
6762
6763 * xml.el: Fix entity and character reference expansion, allowing
6764 them to expand into markup as per XML spec.
6765 (xml-default-ns): New variable.
6766 (xml-entity-alist): Use XML spec definitions for lt and amp.
30eabd7a
SM
6767 (xml-parse-region): Make first two arguments optional.
6768 Discard text properties.
6769 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
6770 All callers changed.
a7aef6f5
CY
6771 (xml-parse-tag): Call xml-parse-tag-1. For backward
6772 compatibility, this function should not modify buffer contents.
6773 (xml-parse-tag-1): Fix opening-tag regexp.
6774 (xml-parse-string): Rewrite, handling entity and character
6775 references properly.
6776 (xml--entity-replacement-text): Signal an error if a parameter
6777 entity is undefined.
6778
3df31c9f
SM
67792012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
6780
2b5208f1
SM
6781 * comint.el (comint-output-filter): Filter out repeated prompts.
6782
3df31c9f
SM
6783 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
6784 and file-name-absolute-p.
6785 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
6786 internal calls.
6787
e3ac1281
PE
67882012-07-02 Paul Eggert <eggert@cs.ucla.edu>
6789
6790 Spelling fixes.
6791 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
6792 Rename from byte-compile--refiy-function. All uses changed.
6793
fbf2e7ad
CY
67942012-07-01 Chong Yidong <cyd@gnu.org>
6795
6796 * xml.el (xml--parse-buffer): New function. Move most of
6797 xml-parse-region here.
6798 (xml-parse-region): Copy region into a temporary buffer, since
6799 parameter entity substitution requires changing buffer contents.
6800 Use xml--parse-buffer.
6801 (xml-parse-file): Use xml--parse-buffer.
6802 (xml-parse-dtd): Make parameter entity substitution work right.
6fe566a7 6803 Use proper regexps for ELEMENT declarations (Bug#7172).
fbf2e7ad 6804
9bf0aa15
GM
68052012-06-30 Glenn Morris <rgm@gnu.org>
6806
bbce2853
GM
6807 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
6808
9bf0aa15
GM
6809 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
6810 Remove outdated and unnecessary dbus declarations.
6811
0d23c240
EZ
68122012-06-30 Eli Zaretskii <eliz@gnu.org>
6813
6814 * emacs-lisp/timer.el (timer-until): Subtract results of
6815 float-time, instead of taking float-time of the result of
6816 time-subtract, since float-time signals an error for negative time
6817 arguments.
6818
b3218de1
CY
68192012-06-30 Chong Yidong <cyd@gnu.org>
6820
6821 * xml.el (xml-*-re): Convert defvars into defconsts, and
6822 eval-and-compile them so eval-and-compile works on derivatives.
6823 (xml--entity-replacement-text): Use eval-and-comple.
6824
a40c87a0
MA
68252012-06-30 Michael Albinus <michael.albinus@gmx.de>
6826
6827 * vc/vc-git.el (vc-git-registered): Use cache property
6828 `git-registered'.
6829 (vc-git-mode-line-string): Call `vc-working-revision' instead of
6830 `vc-git-working-revision' in order to benefit from the cache.
2bb1ae55 6831 (vc-git-root): Use cache property `git-root'. (Bug#11757)
a40c87a0 6832
ac87de97
DG
68332012-06-30 Dmitry Gutov <dgutov@yandex.ru>
6834
6835 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
2bb1ae55 6836 removed (likely outside Emacs). (Bug#11757)
ac87de97 6837
ac10fe06
SM
68382012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
6839
3df31c9f 6840 * emacs-lisp/cl-lib.el: Require macroexp.
ac10fe06 6841
7f3fbd5d
CY
68422012-06-30 Chong Yidong <cyd@gnu.org>
6843
6844 * xml.el: Implement XML parameter entities.
6845 (xml-parameter-entity-alist): New variable.
6846 (xml-parse-region, xml-parse-fragment): Preserve previous values
6847 of xml-entity-alist and xml-parameter-entity-alist, so that
6848 repeated calls on different documents do not change them.
6849 (xml-parse-tag): Fix doctype regexp.
6850 (xml--entity-replacement-text): New function.
6851 (xml-parse-dtd): Use it. Don't handle system entities; doing that
6852 properly requires url retrieval which is unimplemented.
6853 (xml-escape-string): Doc fix.
6854
3cfbebba
SM
68552012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
6856
6857 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
6858
2af3565e
DA
68592012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
6860
6861 * fringe.el (fringe-mode): Doc fix.
6862
929df0e7
MA
68632012-06-29 Michael Albinus <michael.albinus@gmx.de>
6864
6865 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
6866 is non-nil.
6867 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
6868 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
6869
c8d3a25c 68702012-06-29 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 6871
c8d3a25c
GM
6872 * calendar/cal-dst.el (calendar-current-time-zone):
6873 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 6874
c8d3a25c 68752012-06-29 Masatake YAMATO <yamato@redhat.com>
26e8548e
MY
6876
6877 * progmodes/which-func.el (which-func-format):
6878 Add mouse-face. (Bug#11698)
6879
c8d3a25c
GM
68802012-06-29 Leo Liu <sdl.web@gmail.com>
6881
6882 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
6883
68842012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
6885
6886 * minibuffer.el (minibuffer-confirm-exit-commands):
6887 Add completion-at-point (bug#11725).
6888
68892012-06-29 Glenn Morris <rgm@gnu.org>
6890
6891 * progmodes/f90.el (f90-font-lock-keywords-2):
6892 Add some preprocessor elements. (Bug#10499)
6893
68942012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
6895
6896 * progmodes/cperl-mode.el (cperl-update-syntaxification):
6897 Use syntax-propertize (bug#11739).
6898
2badeec4
JB
68992012-06-28 Juanma Barranquero <lekktu@gmail.com>
6900
6901 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
6902
ae4969c2
JD
69032012-06-28 Julien Danjou <julien@danjou.info>
6904
6905 * term.el (term-handle-colors-array): Use a set of new faces to
6906 color the terminal. Also uses :inverse-video property.
6907 (term-default-fg-color): Set to nil by default, deprecate in favor
6908 of `term-face'.
6909 (term-default-bg-color): Set to nil by default, deprecate in favor
6910 of `term-face'.
6911 (term-current-face): Use `term-face' by default.
6912 (term-bold-attribute): Variable deleted.
6913
1c9bd870
GM
69142012-06-28 Glenn Morris <rgm@gnu.org>
6915
6916 * simple.el (completion-list-mode-finish):
6917 Don't use toggle-read-only. (Since completion-list-mode has
6918 a special mode-class, it wasn't doing anything extra anyway.)
6919
c207708c
SM
69202012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
6921
6922 Make inlining of other-mode interpreted functions work (bug#11799).
6923 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
6924 (byte-compile): Use it to fix compilation of lexical-binding closures.
6925 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
6926 function, if needed.
6927
3fd56834
SM
69282012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
6929
04901786
SM
6930 * help-mode.el (help-make-xrefs): Don't just withstand
6931 cyclic-variable-indirection but any error in documentation-property.
6932
1ec4b7b2
SM
6933 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
6934 memory use.
6935 * bindings.el (bindings--define-key): New function.
6936 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
6937 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
6938 * bindings.el: Use it to purecopy define-key bindings.
6939
e309e2a5
SM
6940 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
6941
d5c6faf9
SM
6942 * emacs-lisp/cl.el (flet): Mark obsolete.
6943 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
6944 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
6945 * progmodes/js.el (js-c-fill-paragraph):
6946 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
6947 (ebrowse-switch-member-buffer-to-derived-class):
6948 * play/5x5.el (5x5-solver): Use cl-flet.
6949
6e9590e2
SM
6950 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
6951 (cl--symbol-function): New macro.
6952 (cl--letf, cl--letf*): Use it.
6953
3fd56834
SM
6954 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
6955 Strip "toggle-" if any.
6956
35ff222c
GM
69572012-06-27 Glenn Morris <rgm@gnu.org>
6958
1ba6038a
GM
6959 * info.el (Info-default-directory-list): Move here from paths.el.
6960 * paths.el: Remove file, which is now empty.
6961 * loadup.el: No longer load "paths".
6962
0ea0e51b
GM
6963 * custom.el (custom-initialize-delay): Doc fix.
6964
35ff222c
GM
6965 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
6966 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
6967 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
6968 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
6969 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
6970 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
6971 * eshell/eshell.el (eshell-defgroup): Remove alias.
6972
c89926a5
CY
69732012-06-27 Chong Yidong <cyd@gnu.org>
6974
6975 * help.el (help-enable-auto-load): New variable.
6976
6977 * help-fns.el (help-fns--autoloaded-p): New function.
6978 (describe-function-1): Refer to a function as "autoloaded" if it
6979 was autoloaded at any time in the past. Perform autoloading if
6980 help-enable-auto-load is non-nil.
6981
cc06e7e7
EZ
69822012-06-26 Eli Zaretskii <eliz@gnu.org>
6983
6984 * makefile.w32-in (compile, compile-always): Depend on
6985 update-subdirs, not on subdirs.el. Otherwise, several different
6986 sub-targets of 'bootstrap' running in parallel could
6987 simultaneously write to subdirs.el, producing a garbled file.
6988
d2c32364
SS
69892012-06-26 Sam Steingold <sds@gnu.org>
6990
6991 * files.el (file-name-base): New convenience function.
0d14cc21
GM
6992 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
6993 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
6994 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
6995 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
6996 * textmodes/ispell.el, textmodes/reftex-ref.el:
d2c32364
SS
6997 * textmodes/tex-mode.el: Use it.
6998 Did not touch cedet and org because they are maintained elsewhere.
6999
5cf983b2
MR
70002012-06-26 Martin Rudalics <rudalics@gmx.at>
7001
7002 * calendar/calendar.el (calendar-exit): Don't try to delete or
7003 iconify last frame. See:
7004 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
7005
8c4f2952
JD
70062012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
7007
7008 * server.el (server-process-filter): Remember dir in the
7009 process's `server-client-directory' properties.
7010
772b2e2c
CY
70112012-06-24 Chong Yidong <cyd@gnu.org>
7012
7013 * xml.el (xml-parse-tag): Correctly handle comment embedded in
7014 non-tag text.
7015
711b11e1
JB
70162012-06-23 Juanma Barranquero <lekktu@gmail.com>
7017
7018 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
7019
dc5d230c
SM
70202012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
7021
7022 * help-fns.el (describe-variable): Don't croak when doc is not found.
7023 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
7024 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
7025 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
7026 * emacs-lisp/smie.el (smie-next-sexp): CSE.
7027 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
7028 ((lambda ..) ..).
7029 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
7030
136e1c1d
CY
70312012-06-23 Chong Yidong <cyd@gnu.org>
7032
e8c1cabf
CY
7033 * info.el (Info-mouse-follow-link): Accept symbol values of
7034 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
136e1c1d
CY
7035 (Info-fontify-node): Use Info-link-keymap for all navigation
7036 buttons, with link-args property to perform the desired action.
7037 (Info-link-keymap): Doc fix.
7038 (Info-next-link-keymap, Info-prev-link-keymap)
7039 (Info-up-link-keymap): Delete now-unused keymaps.
7040
0e9e6c6a
CY
70412012-06-23 Chong Yidong <cyd@gnu.org>
7042
05e89fea
CY
7043 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
7044
0e9e6c6a
CY
7045 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
7046 system abbrevs.
7047
7048 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
7049
e33c6771
SM
70502012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
7051
b68581e2
SM
7052 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
7053 (bug#11719).
7054
e33c6771
SM
7055 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
7056 the requote function doesn't work properly (bug#11714).
7057
7117e105
GM
70582012-06-23 Glenn Morris <rgm@gnu.org>
7059
7060 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
7061
36cec983
SM
70622012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
7063
7064 Further GV/CL cleanups.
7065 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
7066 gv-expander.
7067 (gv--defun-declaration): New function.
7068 (defun-declarations-alist): Use it.
7069 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
7070 (gv-place): Autoload.
7071 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
7072 original definition of dotimes and dolist.
7073 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
7074 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
7075 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
7076 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
7077 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
7078 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
7079 to the function's definition.
7080 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
7081 * window.el:
7082 * files.el:
7083 * faces.el:
7084 * env.el: Don't use CL.
7085
d35af63c
PE
70862012-06-22 Paul Eggert <eggert@cs.ucla.edu>
7087
7088 Support higher-resolution time stamps (Bug#9000).
7089
7090 * calendar/time-date.el (with-decoded-time-value): New arg
7091 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
7092 (encode-time-value): New optional arg PICO. New type 3.
7093 (time-to-seconds) [!float-time]: Support the new picoseconds
7094 component if it's used.
7095 (seconds-to-time, time-subtract, time-add):
7096 Support ps-resolution time stamps as well.
7097
7098 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
7099 (timerp): Timer vectors now have length 9, not 8.
7100 (timer--time): Support new-style (4-part) time stamps.
7101 (timer-next-integral-multiple-of-time): Time stamps now have
7102 picosecond resolution, so take a bit more care about rounding.
7103 (timer-relative-time, timer-inc-time): New optional arg psecs.
7104 (timer-set-time-with-usecs): Set psecs to 0.
7105 (timer--activate): Check psecs component, too.
7106
7107 * proced.el (proced-time-lessp): Support ps-resolution stamps.
7108
ac77b21a
SM
71092012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
7110
f143bfe3
SM
7111 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
7112 Move the non-essential binding to the post/pre-command-hook where it is
7113 more obviously correct.
7114
ac77b21a
SM
7115 * subr.el (read-passwd): Don't use a history at all.
7116 * savehist.el (savehist-save): Remove password saved accidentally
7117 because of the above bug.
7118
76386c5a
BG
71192012-06-22 Bastien Guerry <bzg@gnu.org>
7120
7121 * files.el (toggle-read-only): Display a message telling whether
7122 the buffer is read-only or not (bug#11726).
7123
2ee3d7f0
SM
71242012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
7125
7126 * emacs-lisp/gv.el: New file.
7127 * subr.el (push, pop): Extend to generalized variables.
7128 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
7129 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
7130 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
7131 gv-define-simple-setter, and gv-define-expander.
7132 Remove setf-methods defined in gv. Rename cl-setf -> setf.
7133 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
7134 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
7135 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
7136 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
7137 gv-letplace.
7138 (cl-defstruct): Don't define setf-method any more.
7139 * emacs-lisp/cl.el (flet): Don't autoload.
7140 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
7141 (define-setf-expander, defsetf, define-modify-macro)
7142 (cl-struct-setf-expander): Move from cl-lib.el.
7143 * emacs-lisp/syntax.el:
7144 * emacs-lisp/ewoc.el:
7145 * emacs-lisp/smie.el:
7146 * emacs-lisp/cconv.el:
7147 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
7148 (timer--time): Use gv-define-simple-setter.
7149 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
7150 to avoid coding-system problems in subr.el. Adjust all users.
7151 (macroexp--maxsize, macroexp-small-p): New functions.
7152 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
7153 * scroll-bar.el (scroll-bar-mode):
7154 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
7155 (normal-erase-is-backspace-mode): Don't use the `eq' place.
7156 * winner.el (winner-configuration, winner-make-point-alist)
7157 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
7158 * files.el (locate-file-completion-table): Avoid list*.
7159
c5695d1d
CY
71602012-06-22 Chong Yidong <cyd@gnu.org>
7161
7162 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
7163 (dired-create-files): Doc fix (Bug#11329).
7164 (dired-do-copy): Doc fix (Bug#11334).
7165 (dired-mark-read-string): Doc fix (Bug#11553).
7166
2ee3d7f0
SM
7167 * dired.el (dired-recursive-copies, dired-recursive-deletes):
7168 Doc fix (Bug#11326).
c5695d1d
CY
7169 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
7170 (dired-dwim-target): Doc fix.
7171
7172 * wdired.el (wdired-mode): Doc fix.
7173
89b5595a
GM
71742012-06-22 Glenn Morris <rgm@gnu.org>
7175
575db3f1
GM
7176 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
7177 (pcmpl-rpm-cache-stamp-file): New constant.
7178 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
7179 (pcmpl-rpm-packages): Optionally cache list of packages.
7180
a4c8dd51
GM
7181 * pcmpl-rpm.el (pcmpl-rpm): New group.
7182 (pcmpl-rpm-query-options): New option.
7183 (pcmpl-rpm-packages): No need to inline it.
7184 Use pcmpl-rpm-query-options.
7185
89b5595a
GM
7186 * calendar/calendar.el (calendar-in-read-only-buffer):
7187 Avoid some needless mode changes.
7188
e76f0800
CY
71892012-06-21 Chong Yidong <cyd@gnu.org>
7190
7191 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
7192 (desktop-path): Remove . from the default value (Bug#10977).
6b67c0d4 7193 (desktop-read): Use user-emacs-directory if desktop-path is nil.
e76f0800 7194
297a8f1d
CY
71952012-06-20 Chong Yidong <cyd@gnu.org>
7196
7197 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
7198
d34c18b1
DR
71992012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
7200
7201 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
7202 (bug#11201).
7203
32f7f28e
CY
72042012-06-20 Chong Yidong <cyd@gnu.org>
7205
7206 * term.el (term-window-width): Handle the case of a missing right
7207 fringe (Bug#8837).
7208 (term-check-size): Use window-text-height (Bug#5445).
d34c18b1
DR
7209 (term-mode): Use define-derived-mode. Minor cleanups.
7210 Set font-lock-defaults (Bug#7692).
6ff7caa8
CY
7211 (term-move-columns, term-insert-char, term-emulate-terminal)
7212 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
32f7f28e 7213
493c6688
MA
72142012-06-20 Michael Albinus <michael.albinus@gmx.de>
7215
d34c18b1
DR
7216 * net/ange-ftp.el (ange-ftp-get-passwd):
7217 Bind `enable-recursive-minibuffers'.
493c6688
MA
7218 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
7219
3f06ecf4
DR
72202012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
7221
7222 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
7223
68f12411
GM
72242012-06-19 Glenn Morris <rgm@gnu.org>
7225
7226 * progmodes/python.el (python-mode): Derive from prog-mode.
7227
b3820318
KG
72282012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
7229
7230 * emulation/edt.el (edt-default-menu-bar-update-buffers)
7231 (edt-user-menu-bar-update-buffers): New functions.
7232 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
7233
c6bf3022
CY
72342012-06-19 Chong Yidong <cyd@gnu.org>
7235
7236 * subr.el (with-selected-window): Preserve the selected window's
7237 terminal's top-frame (Bug#4702).
7238
7239 * window.el (save-selected-window): Likewise.
7240
25f09295
SM
72412012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
7242
7243 * progmodes/python.el (python-rx-constituents): Move backquote.
7244 (python-skeleton-define, python-define-auxiliary-skeleton):
7245 Use `declare'.
7246
6b11952a
MA
72472012-06-18 Michael Albinus <michael.albinus@gmx.de>
7248
7249 * minibuffer.el (read-file-name-default): Revert the patch from
7250 2012-06-17.
7251
ee4b1330
SM
72522012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
7253
7254 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
7255 (pcase--u1, pcase--q1): Don't use apply-partially.
7256
35647f79
GM
72572012-06-18 Glenn Morris <rgm@gnu.org>
7258
7259 * progmodes/python.el (python-proc, python-buffer)
7260 (python-send-receive, python-send-string): Fix obsolete versions.
7261
24b0cff0
MR
72622012-06-18 Martin Rudalics <rudalics@gmx.at>
7263
7264 * window.el (special-display-p): Completely remove stringp
7265 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
7266
29855149
MA
72672012-06-17 Michael Albinus <michael.albinus@gmx.de>
7268
7269 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
7270
7271 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
7272
7273 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
7274 * net/tramp-sh.el (tramp-maybe-open-connection):
7275 Throw if `non-essential' is non-nil.
7276
07463363
MR
72772012-06-17 Martin Rudalics <rudalics@gmx.at>
7278
7279 * window.el (special-display-p): Signal an error if BUFFER-NAME
7280 is not a string (Bug#11713).
7281
48d1354e
PE
72822012-06-17 Paul Eggert <eggert@cs.ucla.edu>
7283
7284 * progmodes/python.el (python-info-beginning-of-backslash):
7285 Rename from python-info-beginning-of-backlash, as a spelling fix.
7286
eb4a8a9a
CY
72872012-06-17 Chong Yidong <cyd@gnu.org>
7288
7289 * term.el (term-emulate-terminal): If term-check-size is called,
7290 move point to the process mark without resetting point (Bug#4635).
7291
ddfbf826 72922012-06-17 Glenn Morris <rgm@gnu.org>
9c758578
GM
7293
7294 * international/mule-cmds.el (mule-menu-keymap)
7295 (set-language-environment, set-locale-environment): Doc tweaks.
7296
9b0e3eba
AA
72972012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
7298
7299 * cus-face.el (custom-face-attributes): Add wave-style underline
7300 attribute.
7301 * faces.el (set-face-attribute): Update docstring to describe
7302 wave-style underline attribute.
7303
771e3eae
CY
73042012-06-16 Chong Yidong <cyd@gnu.org>
7305
7306 * term/xterm.el (terminal-init-xterm): Discard input before
7307 querying background mode (Bug#10959).
7308
7ae2ea10
SM
73092012-06-16 Stefan Merten <smerten@oekonux.de>
7310
7311 * textmodes/rst.el: Added and corrected some comments.
7312 (rst-re-alist-def): Improve symbol syntax.
7313 (rst-mode-syntax-table): Correct syntax entries.
6665a6fd
SM
7314 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
7315 (rst-official-version, rst-official-cvs-rev): Update version
7316 information.
7ae2ea10 7317
b6974efa
JB
73182012-06-15 Juanma Barranquero <lekktu@gmail.com>
7319
7320 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
7321 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
7322
8826d473
GM
73232012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
7324
7325 * progmodes/python.el: New python.el merge.
7326 (python-guess-indent): Obsolete var.
7327 (python-indent-guess-indent-offset): New defcustom.
7328 (python-indent): Obsolete var.
7329 (python-indent-offset): New defcustom.
7330 (python-python-command, python-jython-command): Delete var.
7331 (python-shell-interpreter): New defcustom.
7332 (python-pdbtrack-do-tracking-p): Delete var.
7333 (python-pdbtrack-activate): New defcustom.
7334 (python-use-skeletons): Obsolete var.
7335 (python-skeleton-autoinsert): New defcustom.
7336 (inferior-python-filter-regexp, python-continuation-offset)
7337 (python-honour-comment-indentation, python-indent-string-contents)
7338 (python-jython-packages, python-mode-hook)
7339 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
7340 (python-shell-prompt-alist)
7341 (python-source-modes): Delete defcustoms.
7342 (python-check-buffer-name, python-eldoc-setup-code)
7343 (python-eldoc-string-code, python-ffap-setup-code)
7344 (python-ffap-string-code, python-fill-comment-function)
7345 (python-fill-decorator-function, python-fill-paren-function)
7346 (python-fill-string-function, python-imenu-include-defun-type)
7347 (python-imenu-make-tree, python-imenu-subtree-root-label)
7348 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
7349 (python-shell-compilation-regexp-alist)
7350 (python-shell-completion-module-string-code)
7351 (python-shell-completion-pdb-string-code)
7352 (python-shell-completion-setup-code)
7353 (python-shell-completion-string-code)
7354 (python-shell-enable-font-lock, python-shell-exec-path)
7355 (python-shell-extra-pythonpaths)
7356 (python-shell-internal-buffer-name, python-shell-interpreter-args)
7357 (python-shell-process-environment)
7358 (python-shell-prompt-block-regexp)
7359 (python-shell-prompt-output-regexp)
7360 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
7361 (python-shell-send-setup-max-wait, python-shell-setup-codes)
7362 (python-shell-virtualenv-path): New defcustoms.
7363 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
7364 (inferior-python-mode-syntax-table, python--prompt-regexp)
7365 (python-buffer, python-command python-python-command)
7366 (python-default-template, python-imports, python-indent-index)
7367 (python-indent-list, python-indent-list-length)
7368 (python-mode-running, python-pdbtrack-is-tracking-p)
7369 (python-preoutput-continuation, python-preoutput-leftover)
7370 (python-preoutput-result, python-preoutput-skip-next-prompt)
7371 (python-prev-dir/file, python-recursing)
7372 (python-saved-check-command, python-version-checked)
7373 (python-which-func-length-limit)
7374 (view-return-to-alist): Delete vars.
7375 (python-check-custom-command, python-dotty-syntax-table)
7376 (python-imenu-index-alist, python-indent-current-level)
7377 (python-indent-dedenters, python-indent-levels)
7378 (python-nav-beginning-of-defun-regexp)
7379 (python-nav-list-defun-positions-cache)
7380 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
7381 (python-shell-internal-buffer)
7382 (python-skeleton-available): New vars.
7383 (def-python-skeleton): Delete macro.
7384 (python-skeleton-define): New macro.
7385 (python-define-auxiliary-skeleton, python-rx): New macros.
7386 (python-insert-class): Delete command.
7387 (python-skeleton-class): New command.
7388 (python-insert-def): Delete command.
7389 (python-skeleton-def): New command.
7390 (python-insert-for): Delete command.
7391 (python-skeleton-for): New command.
7392 (python-insert-if): Delete command.
7393 (python-skeleton-if): New command.
7394 (python-insert-try/except, python-insert-try/finally): Delete commands.
7395 (python-skeleton-try): New command.
7396 (python-insert-while): Delete command.
7397 (python-skeleton-while): New command.
7398 (python-backspace): Delete command.
7399 (python-indent-dedent-line-backspace): New command.
7400 (python-electric-colon): Delete command.
7401 (python-indent-electric-colon): New command.
7402 (python-guess-indent): Delete command.
7403 (python-indent-guess-indent-offset): New command.
7404 (python-shift-left): Delete command.
7405 (python-indent-shift-left): New command.
7406 (python-shift-right): Delete command.
7407 (python-indent-shift-right): New command.
7408 (python-find-function): Delete command.
7409 (python-nav-jump-to-defun): New command.
7410 (python-next-statement): Delete command.
7411 (python-nav-forward-sentence): New command.
7412 (python-previous-statement): Delete command.
7413 (python-nav-backward-sentence): New command.
7414 (python-fill-paragraph): Delete command.
7415 (python-fill-paragraph-function): New command.
7416 (python-send-buffer): Delete command.
7417 (python-shell-send-buffer): New command.
7418 (python-send-defun): Delete command.
7419 (python-shell-send-defun): New command.
7420 (python-send-region, python-send-region-and-go): Delete commands.
7421 (python-shell-send-region)
7422 (python-shell-switch-to-shell): New commands.
7423 (python-send-string): Delete command.
7424 (python-shell-send-string): New command.
7425 (python-switch-to-python): Delete command.
7426 (python-shell-switch-to-shell): New command.
7427 (python-describe-symbol): Delete command.
7428 (python-eldoc-at-point): New command.
7429 (python--set-prompt-regexp, python-args-to-list)
7430 (python-after-info-look, python-check-version)
7431 (python-check-comint-prompt, python-find-imports)
7432 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
7433 (python-unload-function, python-expand-template)
7434 (python-maybe-jython, python-preoutput-filter)
7435 (python-pdbtrack-get-source-buffer)
7436 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
7437 (python-pdbtrack-toggle-stack-tracking)
7438 (python-pdbtrack-track-stack-file, python-initial-text)
7439 (python-first-word, python-comment-line-p, python-send-command)
7440 (python-setup-brm, python-sentinel, python-set-proc)
7441 (python-skip-out, python-input-filter, python-outdent-p)
7442 (python-outline-level, python-backslash-continuation-line-p)
7443 (python-end-of-block, python-end-of-statement, python-mark-block)
7444 (python-beginning-of-block, python-beginning-of-statement)
7445 (python-blank-line-p, python-beginning-of-string)
7446 (python-open-block-statement-p): Delete functions.
7447 (python-indent-line, python-indent-line-1): Delete functions.
7448 (python-indent-line): New function.
7449 (python-indentation-levels): Delete function.
7450 (python-indent-calculate-levels): New function.
7451 (python-proc): Delete function.
7452 (python-shell-get-process): New function.
7453 (python-send-receive): Delete function.
7454 (python-shell-send-string-no-output): New function.
7455 (python-module-path): Delete function.
7456 (python-ffap-module-path): New function.
7457 (python-completion-at-point)
7458 (python-symbol-completions): Delete functions.
7459 (python-completion-complete-at-point): New function.
7460 (python-load-file): Delete function.
7461 (python-shell-send-file): New function.
7462 (python-calculate-indentation): Delete function.
7463 (python-indent-calculate-indentation): New function.
7464 (python-skip-comments/blanks): Delete function.
7465 (python-util-forward-comment): New function.
7466 (python-continuation-line-p): Delete function.
7467 (python-info-continuation-line-p): New function.
7468 (python-which-func, python-current-defun): Delete function.
7469 (python-info-current-defun): New function.
7470 (python-beginning-of-defun): Delete function.
7471 (python-nav-beginning-of-defun): New function.
7472 (python-close-block-statement-p)
7473 (python-block-end-p): Delete function.
7474 (python-info-closing-block): New function.
7475 (python-comint-output-filter-function)
7476 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
7477 (python-fill-comment, python-fill-decorator, python-fill-paren)
7478 (python-fill-string, python-imenu-make-element-tree)
7479 (python-imenu-make-tree, python-imenu-tree-assoc)
7480 (python-indent-context, python-indent-dedent-line)
7481 (python-indent-line-function)
7482 (python-indent-post-self-insert-function)
7483 (python-indent-toggle-levels)
7484 (python-info-assignment-continuation-line-p)
7485 (python-info-beginning-of-backlash)
7486 (python-info-block-continuation-line-p)
7487 (python-info-closing-block-message)
7488 (python-info-line-ends-backslash-p)
7489 (python-info-looking-at-beginning-of-defun)
7490 (python-info-ppss-context, python-info-ppss-context-type)
7491 (python-nav-list-defun-positions, python-nav-read-defun)
7492 (python-nav-sentence-end, python-nav-sentence-start)
7493 (python-pdbtrack-comint-output-filter-function)
7494 (python-pdbtrack-set-tracked-buffer)
7495 (python-shell-calculate-exec-path)
7496 (python-shell-calculate-process-environment)
7497 (python-shell-completion--do-completion-at-point)
7498 (python-shell-completion--get-completions)
7499 (python-shell-completion-complete-at-point)
7500 (python-shell-completion-complete-or-indent)
7501 (python-shell-get-or-create-process)
7502 (python-shell-get-process-name)
7503 (python-shell-internal-get-or-create-process)
7504 (python-shell-internal-get-process-name)
7505 (python-shell-internal-send-string, python-shell-make-comint)
7506 (python-shell-parse-command, python-shell-send-setup-code)
7507 (python-skeleton-add-menu-items)
7508 (python-util-clone-local-variables, python-util-position)
7509 (run-python-internal, python-indentation-levels)
7510 (python-nav-beginning-of-defun)
7511 (python-completion-complete-at-point): New functions.
7512 (run-python): Change arguments. New API requirements.
7513
4302f5ba
SM
75142012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
7515
f38ea36d
SM
7516 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
7517 (bug#11649).
7518
7519 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
7520 (macroexp--expand-all): Use it.
7521
4302f5ba
SM
7522 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
7523 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
7524 Use `cl-function' instead.
7525
33377562
JB
75262012-06-14 Juanma Barranquero <lekktu@gmail.com>
7527
7528 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
7529 Suggested by Stefan Monnier while discussing bug#11657.
7530
54c5ba1a
SS
75312012-06-14 Sam Steingold <sds@gnu.org>
7532
7533 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
7534
f9f1b1fe
AS
75352012-06-14 Andreas Schwab <schwab@linux-m68k.org>
7536
7537 * play/doctor.el (doctor-doc): Remove parameter and use
7538 doctor-sent instead of sent.
7539 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
7540
a81068ba
SM
75412012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
7542
5a315f9c
SM
7543 * files.el: Require cl-lib.
7544 (file-name-non-special): Replace case -> cl-case.
7545
7546 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
7547
a81068ba
SM
7548 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
7549 mapping from #' to function*.
7550
8cca9703
CY
75512012-06-13 Chong Yidong <cyd@gnu.org>
7552
7553 * mouse.el (mouse-drag-track): Do not set the mark if the user
7554 releases the mouse without selecting anything (Bug#11588).
7555
a12ac9d7
SM
75562012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
7557
ccf1dc18
SM
7558 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
7559 as well (bug#11646).
7560
ef62b23d
SM
7561 * loadup.el: Count byte-code functions as well.
7562
c4c8444a
SM
7563 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
7564 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
7565
a12ac9d7
SM
7566 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
7567 (bug#11649). Add cl-defun and cl-defmacro.
7568
87e6e64f
DA
75692012-06-13 Drew Adams <drew.adams@oracle.com>
7570
7571 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
7572 Fix last change.
7573
682cefaf
MA
75742012-06-13 Michael Albinus <michael.albinus@gmx.de>
7575
7576 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
7577 Otherwise, it blocks in batch mode.
7578
773e1f08
JB
75792012-06-13 Juanma Barranquero <lekktu@gmail.com>
7580
7581 * help-mode.el (bookmark-make-record-default): Declare.
7582
60057926
CY
75832012-06-13 Chong Yidong <cyd@gnu.org>
7584
7585 * emacs-lisp/package.el (list-packages): Compute a list of
7586 packages that are newly-available since the last list-packages
7587 invocation.
7588 (package-menu--new-package-list): New var.
7589 (package-menu--generate, package-menu--print-info)
7590 (package-menu--status-predicate, package-menu-mark-install):
7591 Handle new status label "new".
7592
ad4d226c
SM
75932012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
7594
7595 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
7596 conversion to backquotes.
7597
f1a4e679
CY
75982012-06-12 Chong Yidong <cyd@gnu.org>
7599
7600 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
7601 Rename from gud-inhibit-global-bindings.
7602
7603 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
7604
7605 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
7606 hook from nxml-glyph-set-hook.
7607
7608 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
7609 declaration.
7610
7611 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
7612
7613 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
7614 Convert to defcustom.
7615
0c9e42b5
DA
76162012-06-12 Drew Adams <drew.adams@oracle.com>
7617
7618 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
7619 New functions.
7620 (help-mode): Use them.
7621
09e06855
GM
76222012-06-11 Glenn Morris <rgm@gnu.org>
7623
7624 * progmodes/fortran.el (fortran-font-lock-keywords-3):
7625 Use preprocessor face for directives.
7626 (fortran-directive-re): Doc fix.
7627
71adb94b
SM
76282012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
7629
2eb87922
SM
7630 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
7631 conversion to backquotes (bug#11652).
7632
71adb94b
SM
7633 Fix compiler-expansion of CL's cXXr functions (bug#11673).
7634 * emacs-lisp/cl-lib.el (cl--defalias): New function.
7635 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
7636 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
7637 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
7638 (cl-ninth, cl-tenth): Mark them as inlinable.
7639 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
7640 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
7641 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
7642 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
7643 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
7644 (cl-list*, cl-adjoin): Don't put an autoload manually.
7645 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
7646 (cl--compiler-macro-list*): Add autoload cookie.
7647 (cl--compiler-macro-cXXr): New function.
2eb87922 7648
71adb94b
SM
7649 * help-fns.el (help-fns--compiler-macro): New function extracted from
7650 describe-function-1; follow aliases and use `compiler-macro' property.
7651 (describe-function-1): Use it.
7652
a6674402
CY
76532012-06-11 Chong Yidong <cyd@gnu.org>
7654
7655 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
7656 is uninstalled, if imagemagick is installed.
7657
bb3faf5b
SM
76582012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
7659
7660 * emacs-lisp/cl-lib.el: Use lexical-binding.
7661 (cl-map-extents, cl-maclisp-member): Remove.
7662 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
7663 (cl--set-substring, cl--block-wrapper, cl--block-throw)
7664 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
7665 * emacs-lisp/cl-extra.el: Use lexical-binding.
7666 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
7667 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
7668 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
7669 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
7670 * emacs-lisp/cl-seq.el: Use lexical-binding.
7671 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
7672 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
7673 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
7674 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
7675 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
7676 CL's internals.
7677
2fe4b125
MA
76782012-06-11 Michael Albinus <michael.albinus@gmx.de>
7679
7680 Sync with Tramp 2.2.6-pre.
7681
7682 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
7683 `print-length' and `print-level' to nil, in order to avoid
7684 truncation. Reported by Christopher Schmidt
7685 <christopher@ristopher.com>.
7686
7687 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
7688
7689 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
7690 New defmacro.
7691 (tramp-compat-copy-directory): Add optional argument
7692 COPY-CONTENTS. It is not handled yet.
7693
7694 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
7695 (tramp-ftp-file-name-p): Simplify.
7696
7697 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
7698 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
7699 connection vector.
7700
7701 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
7702 (tramp-methods): Do not use `tramp-password-end-of-line'.
7703 (tramp-completion-function-alist-putty): Handle UNIX case.
7704 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
7705 (tramp-do-file-attributes-with-stat)
7706 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
7707 gid as real numbers. They could run out of integer range on cygwin.
7708 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
7709 (tramp-sh-handle-expand-file-name): Handle hops.
87e6e64f
DA
7710 (tramp-open-connection-setup-interactive-shell):
7711 Use `tramp-cleanup'. Move check for busyboxes ...
7712 (tramp-find-shell): ... here. Simplify implementation.
7713 Set "remote-shell" property also for alternative shells.
7714 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
7715 If failing, a regular file would be written otherwise.
7716 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
2fe4b125
MA
7717 (tramp-find-inline-encoding): Cache the coding commands in the
7718 process cache. Apply test command on the remote side, if defined.
7719 (tramp-find-inline-compress): Cache the compress commands in the
7720 process cache.
7721 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
7722 when requested. Handle hops.
7723 (tramp-current-connection): New defvar.
87e6e64f
DA
7724 (tramp-maybe-open-connection): Use `tramp-cleanup'.
7725 Throw `suppress', if there was a failed connection shortly before.
2fe4b125 7726 Handle user interrupt. (Bug#10187)
87e6e64f
DA
7727 (tramp-get-inline-compress, tramp-get-inline-coding):
7728 Read connection properties from the process cache.
2fe4b125
MA
7729
7730 * net/tramp-smb.el (tramp-smb-server-version)
87e6e64f
DA
7731 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
7732 New defconsts.
2fe4b125
MA
7733 (tramp-smb-prompt): Extend for powershell prompt.
7734 (tramp-smb-file-name-handler-alist): Add handlers for
7735 `process-file', `shell-command' and `start-file-process'.
7736 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
7737 (tramp-smb-winexe-shell-command-switch): New defcustoms.
7738 (tramp-smb-file-name-p): Simplify.
7739 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
7740 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
7741 (tramp-smb-shell-quote-argument): New defuns.
7742 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
7743 Implement using "tar". By this, time-stamps are preserved.
7744 (tramp-smb-handle-copy-file): Handle also the case of directories.
7745 (tramp-smb-do-file-attributes-with-stat)
87e6e64f
DA
7746 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
7747 Use `tramp-get-connection-buffer').
2fe4b125
MA
7748 (tramp-smb-handle-rename-file): Use "rename", when source and
7749 target are on the same share.
87e6e64f
DA
7750 (tramp-smb-maybe-open-connection): Handle wrong passwords.
7751 Use `tramp-smb-server-version'.
2fe4b125
MA
7752 (tramp-smb-wait-for-output): Remove prompt.
7753
7754 * net/tramp.el (top): Require 'cl.
87e6e64f
DA
7755 (tramp-methods, tramp-rsh-end-of-line):
7756 Remove `tramp-password-end-of-line' from docstring.
2fe4b125
MA
7757 (tramp-save-ad-hoc-proxies): New defcustom.
7758 (tramp-completion-function-alist): Adapt docstring.
7759 (tramp-default-password-end-of-line): Remove defcustom.
7760 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
7761 (tramp-user-regexp, tramp-file-name-regexp-unified)
7762 (tramp-file-name-regexp-url): Extend regexp by hop separator.
7763 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
7764 (tramp-remote-file-name-spec-regexp): New defconst.
7765 (tramp-file-name-structure): Extend structure for hops.
7766 (tramp-get-method-parameter): Move up.
7767 (tramp-file-name-p, tramp-dissect-file-name)
7768 (with-parsed-tramp-file-name): Handle hops.
7769 (tramp-file-name-hop): New defun.
7770 (tramp-make-tramp-file-name): New optional arg HOP.
7771 (tramp-message-show-progress-reporter-message): New defvar.
7772 (tramp-with-progress-reporter): Use it. We cannot use
7773 `tramp-message-show-message' here, because this suppresses also
7774 error buffers.
7775 (tramp-error-with-buffer): Suppress buffer view, if
87e6e64f
DA
7776 `tramp-message-show-message' is nil.
7777 Use `tramp-get-connection-buffer'.
2fe4b125
MA
7778 (tramp-cleanup): New defun.
7779 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
7780 (tramp-file-name-handler): If `debug-on-error' is set, propagate
7781 an error unchanged.
7782 (tramp-completion-handle-file-name-all-completions): Handle hops.
7783 Fix an error when called from ido.
7784 (tramp-completion-dissect-file-name): Use better local variable
7785 name. Add hop to the vector.
7786 (tramp-handle-insert-file-contents): Use progress-reporter for the
7787 whole scenario.
7788 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
7789 to `t'.
7790 (tramp-check-for-regexp): Simplify search.
7791 (tramp-enter-password): Remove it. Move implementation ...
7792 (tramp-action-password): ... here.
7793 (tramp-mode-string-to-int, tramp-local-host-p)
7794 (tramp-make-tramp-temp-file, tramp-read-passwd)
87e6e64f
DA
7795 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
7796 Set tramp-autoload cookie.
2fe4b125
MA
7797
7798 * net/trampver.el: Update release number.
7799
78002012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7801 Michael Albinus <michael.albinus@gmx.de>
7802
7803 * net/tramp.el (tramp-set-completion-function): Fix docstring.
7804 (tramp-parse-group, tramp-parse-file)
7805 (tramp-parse-shostkeys-sknownhosts): New defuns.
7806 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
7807 (tramp-parse-shosts-group, tramp-parse-sconfig)
7808 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
7809 (tramp-parse-sknownhosts, tramp-parse-hosts)
7810 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
7811 Use them.
7812 (tramp-parse-passwd-group, tramp-parse-netrc-group)
7813 (tramp-parse-putty-group): Don't narrow.
7814 (tramp-parse-putty): Make a loop.
7815 (tramp-file-name-handler): Catch the `suppress' signal.
7816
72834e10
CY
78172012-06-11 Chong Yidong <cyd@gnu.org>
7818
7819 * image.el (imagemagick-register-types): Put the ImageMagick entry
7820 at the end of image-type-file-name-regexps.
7821
a4712e11
JB
78222012-06-11 Johan Bockgård <bojohan@gnu.org>
7823
7824 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
7825 (pcase, pcase-let*, pcase-dolist): Use them.
7826
82ad98e3
SM
78272012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
7828
7829 * emacs-lisp/pcase.el (pcase--let*): New function.
7830 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
7831 (pcase--expand): Use macroexp-let².
7832
f80efb86
SM
78332012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
7834
7835 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
7836 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
7837 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
7838 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
7839 * emacs-lisp/derived.el: Use pcase instead of `cl'.
7840 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
7841
31ca4639 78422012-06-10 Glenn Morris <rgm@gnu.org>
94f0aa34 7843
31ca4639
CY
7844 * mail/rmail.el (rmail-yank-current-message): Leave point at
7845 correct position. (Bug#11660)
94f0aa34 7846
31ca4639 78472012-06-10 Chong Yidong <cyd@gnu.org>
9e1b8ec4 7848
31ca4639 7849 * allout-widgets.el: Fix code header.
9e1b8ec4 7850
31ca4639 78512012-06-10 Chong Yidong <cyd@gnu.org>
00cd0305 7852
f80efb86
SM
7853 * cus-edit.el (customize-changed-options-previous-release):
7854 Bump to 24.1.
31ca4639 7855
642b6d30
AS
78562012-06-09 Andreas Schwab <schwab@linux-m68k.org>
7857
7858 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
7859
4f5d2ba1
CY
78602012-06-09 Chong Yidong <cyd@gnu.org>
7861
7862 * ebuff-menu.el (electric-buffer-list): Preserve header line.
7863
e75852fd
MR
78642012-06-09 Martin Rudalics <rudalics@gmx.at>
7865
7866 * window.el (special-display-popup-frame): Don't use
7867 window--display-buffer (Bug#11651).
7868
1e48e282
EZ
78692012-06-09 Eli Zaretskii <eliz@gnu.org>
7870
8a26b487
EZ
7871 Fix parallel builds: make sure loaddefs.el is not being written
7872 while Lisp files are compiled.
7873 (compile): Don't depend on 'mh-autoloads'.
7874 (compile-CMD, compile-SH): Depend on 'autoloads'.
7875 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
7876
1e48e282
EZ
7877 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
7878
6175e34b
CY
78792012-06-09 Chong Yidong <cyd@gnu.org>
7880
7881 * face-remap.el (face-remap-add-relative, face-remap-set-base)
7882 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
7883 Doc fixes (Bug#11225).
7884
d9857e53
SM
78852012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
7886
7887 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
7888 a function if there's a clear indication that it has a compiler-macro.
7889 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
7890 (macro-declarations-alist): Add arglist to declaration functions.
7891 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
7892 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
7893 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
7894 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
7895 Also add autoload to find the compiler macro.
7896 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
7897 (cl--compiler-macro-member, cl--compiler-macro-assoc)
7898 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
7899 (cl--compiler-macro-get): New functions, replacing calls to
7900 cl-define-compiler-macro.
7901 (cl-typep) [compiler-macro]: Use macroexp-let².
7902
f81298f8 79032012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
ee574791
UJ
7904
7905 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
7906 string properly, fixes Bug#11473.
7907
4b56d0fe
CY
79082012-06-08 Chong Yidong <cyd@gnu.org>
7909
7910 * faces.el (set-face-attribute): Doc fix.
7911 (modify-face): Don't use :bold and :italic.
7912 (error, warning, success): Tweak definitions.
7913
7914 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
7915 (custom-modified, custom-set, custom-changed, custom-themed)
7916 (custom-saved, custom-button, custom-button-mouse)
7917 (custom-button-pressed, custom-state, custom-comment-tag)
7918 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
7919 (custom-group-subtitle): Use new-style face specs.
7920 (custom-invalid-face, custom-rogue-face, custom-modified-face)
7921 (custom-set-face, custom-changed-face, custom-saved-face)
7922 (custom-button-face, custom-button-pressed-face)
7923 (custom-documentation-face, custom-state-face)
7924 (custom-comment-face, custom-comment-tag-face)
7925 (custom-variable-tag-face, custom-variable-button-face)
7926 (custom-face-tag-face, custom-group-tag-face-1)
7927 (custom-group-tag-face): Remove obsolete face alias.
7928
7929 * epa.el (epa-validity-high, epa-validity-medium)
7930 (epa-validity-low, epa-mark, epa-field-name, epa-string)
7931 (epa-field-name, epa-field-body):
7932 * font-lock.el (font-lock-comment-face, font-lock-string-face)
7933 (font-lock-keyword-face, font-lock-builtin-face)
7934 (font-lock-function-name-face, font-lock-variable-name-face)
7935 (font-lock-type-face, font-lock-constant-face):
7936 * ido.el (ido-first-match, ido-only-match, ido-subdir)
7937 (ido-virtual, ido-indicator, ido-incomplete-regexp):
7938 * speedbar.el (speedbar-button-face, speedbar-file-face)
7939 (speedbar-directory-face, speedbar-tag-face)
7940 (speedbar-selected-face, speedbar-highlight-face)
7941 (speedbar-separator-face):
7942 * whitespace.el (whitespace-newline, whitespace-space)
7943 (whitespace-hspace, whitespace-tab, whitespace-trailing)
7944 (whitespace-line, whitespace-space-before-tab)
7945 (whitespace-space-after-tab, whitespace-indentation)
7946 (whitespace-empty):
7947 * emulation/cua-base.el (cua-global-mark):
7948 * eshell/em-prompt.el (eshell-prompt):
7949 * net/newst-plainview.el (newsticker-new-item-face)
7950 (newsticker-old-item-face, newsticker-immortal-item-face)
7951 (newsticker-obsolete-item-face, newsticker-date-face)
7952 (newsticker-statistics-face, newsticker-default-face):
7953 * net/newst-reader.el (newsticker-feed-face)
7954 (newsticker-extra-face, newsticker-enclosure-face):
7955 * net/newst-treeview.el (newsticker-treeview-face)
7956 (newsticker-treeview-new-face, newsticker-treeview-old-face)
7957 (newsticker-treeview-immortal-face)
7958 (newsticker-treeview-obsolete-face)
7959 (newsticker-treeview-selection-face):
7960 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
7961 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
7962 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
7963 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
7964 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
7965 (nxml-outline-active-indicator, nxml-outline-ellipsis):
7966 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
7967 (mpuz-text):
7968 * progmodes/vera-mode.el (vera-font-lock-number)
7969 (vera-font-lock-function, vera-font-lock-interface):
7970 * textmodes/table.el (table-cell): Use new-style face specs, and
7971 don't use the old :bold and :italic attributes.
7972
7973 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
7974 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
7975 (ebrowse-member-class, ebrowse-progress): Likewise.
7976 (ebrowse-tree-mark-face, ebrowse-root-class-face)
7977 (ebrowse-file-name-face, ebrowse-default-face)
7978 (ebrowse-member-attribute-face, ebrowse-member-class-face)
7979 (ebrowse-progress-face): Remove obsolete faces.
7980
7981 * progmodes/flymake.el (flymake-errline, flymake-warnline):
7982 Inherit from error and warning faces respectively.
7983
7984 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
7985 Likewise.
f80efb86
SM
7986 (flyspell-incorrect-face, flyspell-duplicate-face):
7987 Remove obsolete aliases.
4b56d0fe 7988
03310646
MA
79892012-06-08 Michael Albinus <michael.albinus@gmx.de>
7990
7991 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
7992 Avoid infloop.
7993
513749ee
SM
79942012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
7995
7996 * startup.el (argv, argi): Make lexically scoped.
7997 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
7998 * emacs-lisp/cl-macs.el: Use lexical-binding.
7999 Rename cl-bind-* to cl--bind-*.
8000 * files.el: Don't require `cl' since it doesn't use it.
8001 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
8002
595ef4ad
JB
80032012-06-08 Juanma Barranquero <lekktu@gmail.com>
8004
8005 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
8006 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
8007 instead of calling external sort utility.
8008 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
8009
e9f66fcb
EZ
80102012-06-08 Eli Zaretskii <eliz@gnu.org>
8011
8012 * descr-text.el (describe-char): Mention how to insert the
8013 character, if the current input method doesn't support it.
8014 See the discussion in this thread for the details:
8015 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
8016
3d10db47
SS
80172012-06-08 Sam Steingold <sds@gnu.org>
8018
8019 * bindings.el (global-map): Bind XF86Forward to next-buffer and
8020 XF86Back to previous-buffer.
8021 (minibuffer-local-map): Bind them to next-history-element and
8022 previous-history-element respectively.
8023 * help-mode.el (help-mode-map): Bind them to help-go-forward and
8024 help-go-back respectively.
8025 * info.el (Info-mode-map): Bind them to Info-history-forward and
8026 Info-history-back respectively.
8027 These are the keys next to Up on the ThinkPad keyboard.
8028
de7e2b36
SM
80292012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
8030
8031 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
8032 * emacs-lisp/cl-macs.el: Provide itself.
8033 (cl--labels-convert-cache): New var.
8034 (cl--labels-convert): New function.
8035 (cl-flet, cl-labels): New implementation with new semantics, relying on
8036 lexical-binding.
8037 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
8038 (cl-closure-vars, cl--function-convert-cache)
8039 (cl--function-convert): Move from cl-macs.el.
8040 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
8041 rename by removing the "cl-" prefix.
8042 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
8043
6fa6c4ae
SM
80442012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
8045
8046 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
8047 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
8048 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
8049 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
8050 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
8051 (cl-hash-table-count): Add old compatibility aliases.
8052
8053 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
8054 Use macroexpand-all-environment instead.
8055 (cl--old-macroexpand): New var.
8056 (cl--sm-macroexpand): New function.
8057 (cl-symbol-macrolet): Use it during macro expansion.
8058 (cl--function-convert-cache): New var.
8059 (cl--function-convert): New function, extracted from
8060 cl-macroexpand-all.
8061 (cl-lexical-let): Use it.
8062
8063 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
8064 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
8065 (cl-member): Remove old alias.
8066
8067 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
8068 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
8069 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
8070 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
8071 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
8072 (cl-macroexpand-cmacs): Remove var.
8073 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
8074 Use macroexpand-all instead.
8075
4dd1c416
SM
80762012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
8077
8078 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
8079 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
8080 (macroexp-copyable-p): New functions and macros.
8081 * emacs-lisp/edebug.el (edebug-unwrap):
8082 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
8083 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
8084 (pcase--let*): Remove.
8085 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
8086 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
8087 macroexp-const-p instead.
8088 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
8089
8090 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
8091 instead of "cl-" for internal definitions. Use macroexp-const-p.
8092 (cl-old-bc-file-form): Remove var.
8093 (cl-const-exprs-p): Remove fun.
8094 (cl-labels, cl-macrolet): Use backquote.
8095 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
8096 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
8097 (cl-define-setf-expander): Rename from cl-define-setf-method.
8098 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
8099
8100 * international/mule-cmds.el: Don't require CL.
8101 (view-hello-file): Don't use `letf'.
8102
ed8bd4d7
SM
81032012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
8104
7287f2f3
SM
8105 * tmm.el (tmm-prompt): Use string-prefix-p.
8106 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
8107 (tmm-add-prompt): Use minibuffer-completion-help.
8108 (tmm-delete-map): Remove.
8109
ed8bd4d7
SM
8110 * subr.el (kbd): Make it its own function.
8111
7b4cdbf4
SM
81122012-06-07 Stefan Merten <smerten@oekonux.de>
8113
8114 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
8115 Silence compiler warnings. Fix versions.
ed8bd4d7 8116 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
7b4cdbf4 8117 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
ed8bd4d7 8118 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
7b4cdbf4
SM
8119 (rst-package-emacs-version-alist): Correct Emacs version to
8120 represent major merge with upstream.
ed8bd4d7 8121 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
7b4cdbf4 8122
2b48d721
GM
81232012-06-06 Glenn Morris <rgm@gnu.org>
8124
8125 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
8126 Only print environment variables if set.
8127
fa779ab0
SM
81282012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
8129
8130 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
8131 (macroexp--cons): Rename from maybe-cons.
8132 (macroexp--accumulate): Rename from macroexp-accumulate.
8133 (macroexp--all-forms): Rename from macroexpand-all-forms.
8134 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
8135 (macroexp--expand-all): Rename from macroexpand-all-1.
8136
628299e0
SS
81372012-06-06 Sam Steingold <sds@gnu.org>
8138
8139 * calendar/calendar.el (calendar-in-read-only-buffer):
8140 Call `special-mode' to enable the standard read-only keybindings.
8141
b7bb5838
SM
81422012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
8143
8144 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
8145 with "loading" messages (bug#11635).
8146
dfb308ba
MA
81472012-06-06 Michael Albinus <michael.albinus@gmx.de>
8148
8149 * files.el (enable-remote-dir-locals): New option.
8150 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
8151
0372ee92
MA
8152 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
8153 Ensure, that the temp directory is local.
8154
8155 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
8156 `temporary-file-directory'.
8157
eed0bb91
MA
8158 * progmodes/python.el (python-send-region): Ensure, that the
8159 temporary file is created also in the remote case.
8160
7a58f64d
GM
81612012-06-06 Glenn Morris <rgm@gnu.org>
8162
f7dd4e98
GM
8163 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
8164 (vc-rcs-update-changelog): Use it.
8165
090bd7cb 8166 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
276d5f5d 8167
7a58f64d
GM
8168 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
8169 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
8170 (vc-sccs-diff): Replace use of the external vcdiff script.
8171
daed4003
GM
81722012-06-05 Glenn Morris <rgm@gnu.org>
8173
8174 * ledit.el: Move to obsolete/.
8175
48c455c7
SS
81762012-06-05 Sam Steingold <sds@gnu.org>
8177
ed9265fc 8178 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
48c455c7
SS
8179 patch (Bug#11140).
8180
57a7d507
SM
81812012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8182
090bd7cb 8183 * emacs-lisp/cust-print.el: Move to obsolete.
d32926ff 8184
53aacf21
SM
8185 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
8186 compiler-macro expansion.
8187
57a7d507
SM
8188 Add native compiler-macro support.
8189 * emacs-lisp/macroexp.el (macroexpand-all-1):
8190 Support compiler-macros directly. Properly follow aliases and apply
8191 the compiler macros more thoroughly.
8192 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
8193 macroexpand now properly follows aliases.
8194 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
8195 (cl-compiler-macroexpand): Use new prop.
8196 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
8197
8198 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
8199
51a5f9d8
MR
82002012-06-05 Martin Rudalics <rudalics@gmx.at>
8201
8202 * window.el (get-lru-window, get-mru-window, get-largest-window):
8203 New argument NOT-SELECTED to avoid picking the selected window.
8204 (window--display-buffer-1, window--display-buffer-2): Replace by
8205 new function window--display-buffer
8206 (display-buffer-same-window, display-buffer-reuse-window)
57a7d507
SM
8207 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
8208 Use window--display-buffer.
51a5f9d8
MR
8209 (display-buffer-use-some-window): Remove temporary dedication
8210 hack by calling get-lru-window and get-largest-window with
8211 NOT-SELECTED argument non-nil. Call window--display-buffer.
8212
08f9f738
GM
82132012-06-05 Glenn Morris <rgm@gnu.org>
8214
8215 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
8216 Replace external vcdiff script.
8217
e364a2b7
SM
82182012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
8219
8220 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
8221
041df390
CY
82222012-06-04 Chong Yidong <cyd@gnu.org>
8223
e364a2b7
SM
8224 * image.el (imagemagick-types-inhibit): Revert last change.
8225 Add INFO and M.
47b36b94 8226 (imagemagick-enabled-types): Remove CIN and EPS*.
041df390 8227
7c1898a7
SM
82282012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
8229
8230 * emacs-lisp/cl-lib.el: Rename from cl.el.
8231 * emacs-lisp/cl.el: New compatibility file.
8232 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
8233 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
8234 to obey the "cl-" prefix.
8235 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
8236
0c3461de
GM
82372012-06-03 Glenn Morris <rgm@gnu.org>
8238
1e266c88
GM
8239 * emacs-lisp/authors.el (authors-aliases): Addition.
8240
0c3461de
GM
8241 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
8242 Fix :version.
8243
d8a52e15
SM
82442012-06-03 Stefan Merten <smerten@oekonux.de>
8245
8246 * textmodes/rst.el: Add comments.
8247 (rst-transition, rst-adornment): New faces.
8248 (rst-adornment-faces-alist): Make default safe to reevaluate.
8249 Fixes
8250 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
8251 Improve customization tags.
8252 (rst-define-level-faces): Clarify meaning.
8253
5205d6f6
CY
82542012-06-03 Chong Yidong <cyd@gnu.org>
8255
8256 * progmodes/compile.el (compilation-mode-line-fail)
7c1898a7
SM
8257 (compilation-mode-line-run, compilation-mode-line-exit):
8258 New faces.
5205d6f6
CY
8259 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
8260
757ee657
JD
82612012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
8262
7c1898a7
SM
8263 * progmodes/which-func.el (which-func-update-ediff-windows):
8264 New function. Use it in ediff-select-hook (Bug#11478).
757ee657 8265
5f2c76c6
CY
82662012-06-03 Chong Yidong <cyd@gnu.org>
8267
8268 * bindings.el: Remove explicit help text from format-mode-line.
8269 It is now supplied by mode-line-default-help-echo.
8270 (mode-line-front-space, mode-line-end-spaces)
8271 (mode-line-misc-info): New variables.
8272 (mode-line-modes, mode-line-position): Move the default value to
8273 the variable definition.
8274 (mode-line-default-help-echo): New defcustom.
383f7350
CY
8275 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
8276 (mode-line-modified-help-echo): New functions.
8277 (mode-line-mule-info, mode-line-modified): Use them.
8278 (mode-line-eol-desc, propertized-buffer-identification):
8279 Consistency fixes for help text.
cbe46e5f
CY
8280 (mode-line-coding-system-map): Allow using mouse-3 to invoke
8281 set-buffer-file-coding-system (Bug#289).
8282 (mode-line-mule-info-help-echo): Update help text.
5f2c76c6 8283
f2d6a3df
SM
82842012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
8285
8286 * simple.el (execute-extended-command): Set real-this-command
8287 (bug#11506).
8288
37269466
CY
82892012-06-02 Chong Yidong <cyd@gnu.org>
8290
8291 Remove incorrect uses of "modeline" in comments, docstrings, and
8292 function/variable names (Bug#10329).
8293
8294 * cus-edit.el (mode-line):
8295 * dframe.el (dframe-mouse-hscroll):
8296 * emacs-lisp/re-builder.el:
8297 * emacs-lisp/easy-mmode.el (define-minor-mode):
8298 * frame.el (set-frame-name):
8299 * help.el (lookup-minor-mode-from-indicator):
8300 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
8301 * progmodes/cc-cmds.el (c-toggle-auto-newline)
8302 (c-toggle-hungry-state):
8303 * progmodes/antlr-mode.el (antlr-language-alist):
8304 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
8305 * progmodes/vhdl-mode.el (vhdl-mode):
8306 * progmodes/which-func.el (which-func, which-func-cleanup-function):
8307 * term/ns-win.el (ns-face-at-pos):
8308 * term/sup-mouse.el (sup-mouse-report):
8309 * textmodes/flyspell.el (flyspell-mode-line-string):
8310 * textmodes/ispell.el (ispell-highlight-face):
8311 * textmodes/reftex-global.el:
8312 * vc/vc-arch.el (vc-arch-mode-line-string):
8313 * vc/vc-cvs.el (vc-cvs-mode-line-string):
8314 * vc/vc-git.el (vc-git-mode-line-string):
8315 * vc/vc-hooks.el (vc-display-status)
8316 (vc-default-mode-line-string):
8317 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
8318
8319 * ansi-color.el (ansi-color-faces-vector): Change default faces.
8320
8321 * dired.el (dired-sort-set-mode-line): Rename from
8322 dired-sort-set-modeline. All callers changed.
8323
8324 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
8325 eshell-status-in-modeline.
8326
8327 * foldout.el (foldout-mode-line-string): Rename from
8328 foldout-modeline-string. All callers changed.
8329 (foldout-update-mode-line): Rename from foldout-update-modeline.
8330
8331 * subr.el (redraw-modeline): Make into obsolete alias.
8332
8333 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
8334 timeclock-modeline-display. Make old name an alias.
8335 (timeclock-update-mode-line): Likewise. All callers changed.
8336 (timeclock-mode-line-display): No need to check before using
8337 add-hook.
8338 (timeclock-relative, timeclock-day-over-hook)
8339 (timeclock-use-elapsed, timeclock-mode-string)
8340 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
8341
8342 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
8343 crisp-mode-modeline-string.
8344
8345 * play/solitaire.el (solitaire-build-mode-line): Rename from
8346 solitaire-build-modeline. All callers changed.
8347
8348 * play/zone.el (zone-hiding-mode-line): Rename from
8349 zone-hiding-modeline. All callers changed.
8350 (zone): Remove unusued `modeline-hidden-level' property.
8351
8352 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
8353 xscheme-modeline-initialize. All callers changed.
8354
8355 * strokes.el (strokes-lighter): Rename from
8356 strokes-modeline-string.
8357
8358 * textmodes/sgml-mode.el (html-face-tag-alist)
8359 (html-tag-face-alist): Use mode-line face instead of obsolete
8360 alias modeline.
8361
42152ee4
SM
83622012-06-02 Stefan Merten <smerten@oekonux.de>
8363
8364 * textmodes/rst.el: Always require `cl'.
4cf9b38d 8365 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
42152ee4 8366
95f520b5
CY
83672012-06-02 Chong Yidong <cyd@gnu.org>
8368
8369 * image.el (imagemagick-enabled-types): Rename from
8370 imagemagick-types-enable. Add many more types.
8371 (imagemagick-types-inhibit): Change default to nil.
8372 (imagemagick-filter-types): Caller changed.
8373
4a5f187a
SM
83742012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
8375
03fef3e6
SM
8376 * emacs-lisp/cl-macs.el: Use backquotes.
8377 (cl-transform-function-property): Use eval-and-compile rather than
8378 abusing `require'.
8379 (defstruct): Use declare-function instead of with-no-warnings.
8380
4a5f187a
SM
8381 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
8382 (byte-compile-output-docform): Re-add the print-circle bindings.
8383 (byte-compile-fix-header): Use #$ just because it's shorter.
8384 (byte-compile-output-file-form): Remove defun/defmacro.
8385
bd56924f
MR
83862012-06-01 Martin Rudalics <rudalics@gmx.at>
8387
8388 * simple.el (choose-completion): Remove now obsolete binding for
8389 owindow.
8390
046e38ce
MA
83912012-06-01 Michael Albinus <michael.albinus@gmx.de>
8392
8393 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
8394 in order to avoid "Stack overflow in regexp matcher".
8395
32d72c2f
GM
83962012-05-31 Glenn Morris <rgm@gnu.org>
8397
8398 * image.el: For clarity, call imagemagick-register-types at
8399 top-level, rather than relying on a custom :initialize.
8400 (imagemagick-types-enable): New option. (Bug#11557)
60b5f187
GM
8401 (imagemagick-filter-types): New function. (Bug#7406)
8402 (imagemagick-register-types): Use imagemagick-filter-types.
32d72c2f
GM
8403 If disabling support, remove elements altogether rather
8404 than using an impossible regexp.
8405 (imagemagick-types-inhibit): Give it the default init function.
8406
dd41169b
SM
84072012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
8408
4a5f187a
SM
8409 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
8410 Handle arbitrary file name lengths (Bug#11585).
dd41169b 8411
efc00ab1 84122012-05-31 Martin Rudalics <rudalics@gmx.at>
5221ccb9
MR
8413
8414 * desktop.el (desktop-read): Clear previous and next buffers for
8415 all windows and bury *Messages* buffer (bug#11556).
8416
500fcedc
SM
84172012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
8418
8419 Add `declare' for `defun'. Align `defmacro's with it.
8420 * emacs-lisp/easy-mmode.el (define-minor-mode)
8421 (define-globalized-minor-mode): Don't autoload the var definitions.
8422 * emacs-lisp/byte-run.el: Use lexical-binding.
8423 (defun-declarations-alist, macro-declarations-alist): New vars.
8424 (defmacro, defun): Use them.
8425 (make-obsolete, define-obsolete-function-alias)
8426 (make-obsolete-variable, define-obsolete-variable-alias):
8427 Use `declare'.
8428 (macro-declaration-function): Mark obsolete.
8429 * emacs-lisp/autoload.el: Use lexical-binding.
8430 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
8431
6e8a1786
AM
84322012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8433
8434 * textmodes/ispell.el (ispell-with-no-warnings):
8435 Define as a macro.
500fcedc
SM
8436 (ispell-kill-ispell, ispell-change-dictionary):
8437 Use `called-interactively-p' for Emacs instead of obsolete
6e8a1786
AM
8438 `interactive-p'.
8439
61b108cc
SM
84402012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
8441
8442 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
8443 (macro-declaration-function): Move var from C code.
8444 (macro-declaration-function): Define function with defalias.
8445 * emacs-lisp/macroexp.el (macroexpand-all-1):
8446 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
8447 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
8448 defun/defmacro any more.
8449 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
8450 Provide fallback for unknown arglist.
8451 (byte-compile-arglist-warn): Change calling convention.
8452 (byte-compile-output-file-form): Move print-vars binding.
8453 (byte-compile-output-docform): Simplify accordingly.
8454 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
8455 (byte-compile-defmacro-declaration): Remove.
8456 (byte-compile-file-form-defmumble): Generalize to defalias.
8457 (byte-compile-output-as-comment): Return byte-positions.
8458 Simplify callers accordingly.
8459 (byte-compile-lambda): Use `assert'.
8460 (byte-compile-defun, byte-compile-defmacro): Remove.
8461 (byte-compile-file-form-defalias):
8462 Use byte-compile-file-form-defmumble.
8463 (byte-compile-defalias-warn): Remove.
8464
6d3f7c2f
SM
84652012-05-29 Stefan Merten <smerten@oekonux.de>
8466
8467 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
61b108cc 8468 possible. Fix authors. Improve comments. Improve loading of `cl'.
6d3f7c2f
SM
8469
8470 (rst-mode-abbrev-table): Merge definition.
8471 (rst-mode): Make sure `font-lock-defaults' is buffer local.
8472 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
8473
6dbaa1c7
UJ
84742012-05-29 Ulf Jasper <ulf.jasper@web.de>
8475
8476 * calendar/icalendar.el
8477 (icalendar-export-region): Export UID properly.
8478
d209e2fb 84792012-05-29 Leo Liu <sdl.web@gmail.com>
61b108cc
SM
8480 * calendar/icalendar.el (icalendar-import-format):
8481 Add `icalendar-import-format-uid' (Bug#11525).
6dbaa1c7
UJ
8482 (icalendar-import-format-uid): New.
8483 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
8484 Export UID.
8485
6876a58d
SM
84862012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
8487
8488 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
8489 different alternative patterns.
8490 (pcase-codegen): Be more careful to preserve identity.
8491 (pcase--u1): Don't forget to mark vars as used.
8492
8493 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
8494 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
8495 (byte-compile-from-buffer): ...rather than here.
8496
8497 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
8498 functions from byte-compile-function-environment.
8499
46b7967e
TN
85002012-05-29 Troels Nielsen <bn.troels@gmail.com>
8501
8502 * window.el (window-deletable-p): Avoid deleting the root window
8503 of a frame with an active minibuffer.
8504
69d565e2
MR
85052012-05-29 Martin Rudalics <rudalics@gmx.at>
8506
8507 * simple.el (choose-completion): Use quit-window (Bug#11567).
8508
a149fa51
CY
85092012-05-29 Chong Yidong <cyd@gnu.org>
8510
8511 * whitespace.el (whitespace-cleanup): Fix usage of
8512 whitespace-empty-at-bob-regexp (Bug#11492).
8513
2b311310
AH
85142012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
8515
8516 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
8517 revert (Bug#11488).
8518
b9cb2387
JL
85192012-05-29 Juri Linkov <juri@jurta.org>
8520
8521 * isearch.el (isearch-mode-map): Bind `M-s _' to
8522 `isearch-toggle-symbol'. Bind `M-s c' to
8523 `isearch-toggle-case-fold'.
8524 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
8525 (isearch-forward): Add `M-s _' to the docstring.
8526 (isearch-forward-symbol, isearch-toggle-case-fold)
8527 (isearch-symbol-regexp): New functions. (Bug#11381)
8528
d5e61c1c
JL
85292012-05-29 Juri Linkov <juri@jurta.org>
8530
8531 * isearch.el (isearch-word): Add docstring. (Bug#11381)
8532 (isearch-occur, isearch-search-and-update): If `isearch-word' is
8533 a function, call it to get the regexp.
8534 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
8535 property `isearch-message-prefix' instead of the string "word ".
8536 (isearch-search-fun-default): For the case of `isearch-word',
8537 return a lambda that calls re-search-forward/re-search-backward
8538 with a regexp returned by `word-search-regexp' or by the function
8539 in `isearch-word'.
8540
8cbd80f7
JL
85412012-05-29 Juri Linkov <juri@jurta.org>
8542
8543 * isearch.el (isearch-search-fun-default): New function.
8544 (isearch-search-fun): Move default part to the new function
8545 `isearch-search-fun-default'.
8546 (isearch-search-fun-function): Set the default value to
8547 `isearch-search-fun-default'. (Bug#11381)
8548
8549 * comint.el (comint-history-isearch-end):
8550 Use `isearch-search-fun-default'.
8551 (comint-history-isearch-search): Use `isearch-search-fun-default'
8552 and remove spacial case for `isearch-word'.
8553 (comint-history-isearch-wrap): Remove spacial case for
8554 `isearch-word'.
8555
8556 * hexl.el (hexl-isearch-search-function):
8557 Use `isearch-search-fun-default'.
8558
8559 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
8560 Use `word-search-regexp' for `isearch-word'.
8561
8562 * misearch.el (multi-isearch-search-fun):
8563 Use `isearch-search-fun-default'.
8564
8565 * simple.el (minibuffer-history-isearch-search):
8566 Use `isearch-search-fun-default' and remove spacial case for
8567 `isearch-word'.
8568 (minibuffer-history-isearch-wrap): Remove spacial case for
8569 `isearch-word'.
8570
8571 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
8572 Remove spacial case for `isearch-word'.
8573 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
8574
85c8c5b6
AM
85752012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8576
8577 Decrease XEmacs incompatibilities.
8578 * textmodes/flyspell.el (flyspell-check-pre-word-p):
8579 Use `string-match'.
8580 (flyspell-delete-region-overlays): Use alternative definition for
8581 XEmacs.
8582 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
8583 (flyspell-word): Use `process-kill-without-query' if XEmacs.
8584 (flyspell-mode-on): Use `interactive-p' if XEmacs.
8585 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
8586 `define-obsolete-face-alias' under XEmacs, but old method.
8587
8588 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
8589 `with-no-warnings' definition or Emacs alias.
8590 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
8591 (ispell-word): Do not use `region-p' if XEmacs.
8592
8cab9efc
AM
85932012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8594
8595 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
8596 Check for `ispell-dictionary-base-alist' instead of full
8597 `ispell-dictionary-alist'.
8598 (ispell-init-process): Show spellchecker when starting new Ispell
8599 process.
8600
fda91268
RZ
86012012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
8602
8603 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
8604 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
8605
694ea8e3
JB
86062012-05-27 Juanma Barranquero <lekktu@gmail.com>
8607
8608 * version.el (motif-version-string, gtk-version-string)
8609 (ns-version-string): Declare.
8610
e4d4f539
JL
86112012-05-27 Juri Linkov <juri@jurta.org>
8612
8613 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
8614 after the `eval-defun-1' specialcaseing
8615 like in `edebug-eval-defun' (bug#10181).
8616
8617 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
8618 like in `eval-defun-1'.
8619
33017faf 86202012-05-27 Eli Zaretskii <eliz@gnu.org>
b30b64b9 8621
fda91268
RZ
8622 * mail/sendmail.el (mail-yank-region):
8623 Recognize rmail-yank-current-message in addition to insert-buffer.
8624 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
b30b64b9
EZ
8625 a *mail* buffer created through rmail-start-mail with sendmail as
8626 mail-user-agent.
8627
33017faf
GM
86282012-05-27 Chong Yidong <cyd@gnu.org>
8629
8630 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
8631 Default to 256 (Bug#11267).
8632
8633 * help.el (describe-mode): Doc fix.
8634
04188bb9
GM
86352012-05-26 Glenn Morris <rgm@gnu.org>
8636
38264cc9
GM
8637 * w32-fns.el (w32-init-info): Remove.
8638 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
8639
eb7afdad
GM
8640 * info.el (info-initialize): For self-contained NS builds, put the
8641 included info/ directory at the front. (Bug#2791)
8642
04188bb9
GM
8643 * paths.el (Info-default-directory-list): Make it a defcustom,
8644 mainly so that we can use custom-initialize-delay.
8645
a179e3f7
SM
86462012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
8647
43416392
SM
8648 * subr.el (buffer-has-markers-at): Mark obsolete.
8649
a179e3f7 8650 * subr.el (lambda): Use declare.
43416392 8651
a179e3f7
SM
8652 * emacs-lisp/lisp-mode.el (lambda):
8653 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
8654
34a008d9
AH
86552012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
8656
8657 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
8658
0a3b289f
GM
86592012-05-26 Glenn Morris <rgm@gnu.org>
8660
8661 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
8662
758c81e8
GM
86632012-05-25 Glenn Morris <rgm@gnu.org>
8664
f9f334f0
GM
8665 * paths.el: Remove no-byte-compile.
8666 * loadup.el: No need to load paths.el uncompiled.
8667
87eb79c2
GM
8668 * image.el (imagemagick-types-inhibit): Doc fix.
8669
758c81e8
GM
8670 * version.el: Remove no-byte-compile and associated formatting.
8671 * loadup.el: No need to load version.el uncompiled. AFAICS, this
8672 is ancient code from when there was an "inc-vers.el".
8673
e7e85dc0
SM
86742012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
8675
8676 * progmodes/gdb-mi.el: Minor style changes.
8677 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
8678 Turn into minor modes.
8679 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
8680 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
8681 (gdb-shell): Remove unneeded let-binding.
8682 (gdb-get-many-fields): Eliminate O(n²) behavior.
8683
f31237a4
EZ
86842012-05-25 Eli Zaretskii <eliz@gnu.org>
8685
8686 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
8687 platforms that don't link in fontset.c.
8688
bc1b21bb
JL
86892012-05-25 Juri Linkov <juri@jurta.org>
8690
8691 Use the same diff color scheme as in modern VCSes (bug#10181).
8692
8693 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
8694 to avoid confusion with `diff-added' that now uses green colors.
8695 (diff-removed): Use shades of red.
8696 (diff-added): Use shades of green.
8697 (diff-changed): Leave just the yellow color.
8698 (diff-use-changed-face): New variable.
8699 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
8700 how to highlight context diff changes.
8701 (diff-refine-change): Use shades of yellow.
8702 (diff-refine-removed): New face that uses shades of red.
8703 (diff-refine-added): New face that uses shades of green.
8704 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
8705 `diff-refine-removed' in the call to `smerge-refine-subst'
8706 depending on the value of `diff-use-changed-face'.
8707
8708 * vc/smerge-mode.el (smerge-mine): Use shades of red.
8709 (smerge-other): Use shades of green.
8710 (smerge-base): Use shades of yellow.
8711 (smerge-refined-change): Empty face.
8712 (smerge-refined-removed): New face that uses shades of red.
8713 (smerge-refined-added): New face that uses shades of green.
8714 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
8715 args `props-r' and `props-a', and use them. Doc fix.
8716 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
8717 on its value use different faces `smerge-refined-change',
8718 `smerge-refined-removed', `smerge-refined-added' in the call to
8719 `smerge-refine-subst'.
8720
8721 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
8722 Add face condition `min-colors 88' with shades of red.
8723 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
8724 `min-colors 88' with shades of green.
8725 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
8726 `min-colors 88' with shades of yellow.
8727
6df9112c
GM
87282012-05-24 Glenn Morris <rgm@gnu.org>
8729
ead5edc0
GM
8730 * paths.el (prune-directory-list, remote-shell-program): Move to...
8731 * files.el (prune-directory-list, remote-shell-program): ...here.
8732 For the latter, delay initialization, prefer ssh, just search PATH.
8733
f18b81e6
GM
8734 * paths.el (term-file-prefix): Move to faces.el (the only user).
8735 * faces.el (term-file-prefix): Move here, make it a defcustom.
8736
ee2f89a6
GM
8737 * paths.el (news-directory, news-path, news-inews-program):
8738 Move to gnus/nnspool.el.
61a583ca 8739
f8815e4c
GM
8740 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
8741
c8f3b42c
GM
8742 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
8743 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
8744 Make the latter a defcustom, with a delayed initialization.
8745
6df9112c
GM
8746 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
8747 These were deleted from Gnus itself late 2010.
8748
5dadff36
JB
87492012-05-22 Juanma Barranquero <lekktu@gmail.com>
8750
9e1701c6
JB
8751 * progmodes/which-func.el (which-func-ff-hook):
8752 Check against user-error, not error.
8753
bd7239f5 8754 * emacs-lisp/edebug.el (top): Do not load or set up loading of
5dadff36
JB
8755 cl-specs.el, which no longer exists.
8756
3290526d
GM
87572012-05-22 Glenn Morris <rgm@gnu.org>
8758
8759 * info.el (info-emacs-bug): New command.
8760 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
8761 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
8762
ff0c3cfb
GM
87632012-05-21 Glenn Morris <rgm@gnu.org>
8764
8765 * makefile.w32-in (update-subdirs-SH):
8766 * Makefile.in (update-subdirs): Update for moved update-subdirs.
8767
5814f126
SM
87682012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
8769
a52c0aa0
SM
8770 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
8771
5814f126
SM
8772 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8773 Simplify Maven regexp, and make sure the file can't start with a space
8774 (bug#11517).
8775
b847032c
GM
87762012-05-21 Glenn Morris <rgm@gnu.org>
8777
8778 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
8779 Scrap superfluous subshells.
8780
3858bfe7
SM
87812012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
8782
8783 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
8784 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
8785
d14b0029
JB
87862012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
8787
8788 * calc/calc.el (calc-ensure-consistent-units): New variable.
8789
a52c0aa0
SM
8790 * calc/calc-units.el (math-consistent-units-p)
8791 (math-check-unit-consistency): New functions.
8792 (calc-quick-units, calc-convert-units):
8793 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
8794 is non-nil.
d14b0029
JB
8795 (calc-extract-units): Fix typo.
8796
60c4db3a
SM
87972012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
8798
77f3b62e
SM
8799 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
8800
60c4db3a
SM
8801 * textmodes/flyspell.el: Commenting style, plus code simplifications.
8802 (flyspell-default-deplacement-commands): Don't spell check after
8803 repeated window/frame switches (e.g. triggered by mouse-movement).
8804 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
8805 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
8806 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
8807 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
8808 Remove unused vars.
8809 (flyspell-get-casechars, flyspell-get-not-casechars):
8810 Simplify; Don't bother removing a ] just to add it back.
8811 * textmodes/ispell.el (ispell-program-name): Use executable-find.
8812
d209e2fb 88132012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
b1a10716
RS
8814
8815 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
8816 New functions.
bd7239f5 8817 (math-function-table): Add support for more C functions.
b1a10716 8818
3f1b25b5
AM
88192012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8820
090bd7cb
JB
8821 * textmodes/flyspell.el (flyspell-check-pre-word-p)
8822 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
8823 Protect delay handling for otherchars against empty otherchars.
3f1b25b5 8824
b581bb5c
SM
88252012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
8826
8827 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
8828 their respective macro declarations.
8829 * skeleton.el (define-skeleton):
8830 * progmodes/compile.el (define-compilation-mode):
8831 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
8832 (define-ibuffer-filter):
8833 * emacs-lisp/generic.el (define-generic-mode):
8834 * emacs-lisp/easy-mmode.el (define-minor-mode)
8835 (define-globalized-minor-mode):
8836 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
8837 * emacs-lisp/byte-run.el (defsubst):
8838 * custom.el (deftheme): Add doc-string metadata.
8839
70b8ef8f
SM
88402012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
8841
8842 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
8843
b1198e17
SM
88442012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
8845
9abdc45d
SM
8846 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
8847
b1198e17
SM
8848 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
8849 * emacs-lisp/cl-macs.el: Idem.
8850 * emacs-lisp/cl-specs.el: Remove.
8851
4735906a
SM
88522012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
8853
8854 Minor renaming of internal CL functions and variables.
8855 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
8856 (cl--position): Rename from cl-position.
8857 (cl--delete-duplicates): Rename from cl-delete-duplicates.
8858 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
8859 (cl--random-state): Rename from *random-state*.
8860
ac348012
SM
88612012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
8862
8863 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
8864 parens around the arg list (bug#11499).
8865
a0a79cde
JL
88662012-05-17 Juri Linkov <juri@jurta.org>
8867
8868 * isearch.el (word-search-regexp, word-search-backward)
8869 (word-search-forward, word-search-backward-lax)
8870 (word-search-forward-lax): Move functions from search.c
8871 (bug#10145, bug#11381).
8872
65034a51
AM
88732012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8874
090bd7cb
JB
8875 * textmodes/flyspell.el (flyspell-check-pre-word-p)
8876 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
8877 Delay for otherchars as for normal word components.
65034a51 8878
1a72a195
SM
88792012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
8880
8881 * minibuffer.el (completion--sifn-requote): Fix last change.
8882 (minibuffer-local-must-match-filename-map):
8883 Move define-obsolete-variable-alias before its var.
8884
fdb058c2
SM
88852012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
8886
c41045e6
SM
8887 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
8888
036dfb8b
SM
8889 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
8890 behavior.
8891 (completion--string-equal-p): New function.
8892 (completion--twq-all): Use it to get better assertion failure data.
8893
2473256d
SM
8894 Only handle ".." and '..' quoting in shell-mode (bug#11466).
8895 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
8896 (shell--requote-argument): New functions.
8897 (shell-completion-vars): Use them.
8898 (shell--parse-pcomplete-arguments): Rename from
8899 shell-parse-pcomplete-arguments.
8900 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
8901 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
8902 Obey comint-file-name-quote-list.
8903
fdb058c2
SM
8904 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
8905 (smie-indent-keyword): Use it.
8906
51fa99f1
SM
89072012-05-14 Stefan Merten <smerten@oekonux.de>
8908
8909 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
8910
e18afed7 89112012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
d9d1dfef
SM
8912
8913 * net/rlogin.el (rlogin-mode-map): Fix last change.
8914
e18afed7 89152012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
8633b1f4
JW
8916
8917 * mail/smtpmail.el (smtpmail-send-command): Send the command and
8918 the following \r\n using a single `process-send-string', since the
8919 Lotus SMTP server refuses to accept any commands if they are sent
e18afed7 8920 with two `process-send-string's (Bug#11444).
8633b1f4 8921
e18afed7 89222012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
fe263b8f 8923
fdb058c2
SM
8924 * shell.el (shell-parse-pcomplete-arguments):
8925 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
e18afed7 8926
2d21d7f6
WJ
89272012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
8928
e18afed7 8929 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
2d21d7f6
WJ
8930 (image-transform-scale, image-transform-right-angle-fudge): New vars.
8931 (image-transform-width, image-transform-fit-width): New functions.
8932 (image-transform-properties): Use them.
8933 (image-transform-check-size): New function.
8934 (image-toggle-display-image): Use it (for testing).
8935 (image-transform-set-rotation): Reduce angle mod 360.
8936 Delete obsolete comment.
8937
7102e6d0
WJ
89382012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
8939
8940 * image-mode.el: Fix scaling (bug#11399).
8941 (image-transform-resize): Doc fix.
8942 (image-transform-properties): Default scale is 1 and height should
8943 be an integer.
8944
06bc5e6e
SM
89452012-05-13 Johan Bockgård <bojohan@gnu.org>
8946
8947 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
8948 than hard-coding `car', to fix misbehavior when moving forward.
8949
0ae03b6a
CY
89502012-05-13 Chong Yidong <cyd@gnu.org>
8951
8952 * emacs-lisp/tabulated-list.el (tabulated-list-format)
8953 (tabulated-list-entries, tabulated-list-padding)
8954 (tabulated-list-sort-key): Make permanent-local.
8955
8956 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
8957 (electric-buffer-list): Put electric buffer menu
8958 command descriptions in this docstring, instead of the docstring
8959 of electric-buffer-menu-mode. Code cleanups.
8960 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
8961 Electric-buffer-menu-mode.
8962 (electric-buffer-update-highlight): Minor code cleanup.
8963
205a7391
MA
89642012-05-13 Michael Albinus <michael.albinus@gmx.de>
8965
8966 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
8967 (Bug#11447)
8968
e5bd0a28
SM
89692012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
8970
8971 Move define-obsolete-variable-alias before the var's definition.
8972 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
8973 * tooltip.el (tooltip-hook):
8974 * textmodes/reftex-toc.el (reftex-toc-map):
8975 * textmodes/reftex-sel.el (reftex-select-label-map)
8976 (reftex-select-bib-map):
8977 * textmodes/reftex-index.el (reftex-index-map)
8978 (reftex-index-phrases-map):
8979 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
8980 * progmodes/meta-mode.el (meta-mode-map):
8981 * novice.el (disabled-command-hook):
8982 * loadhist.el (unload-hook-features-list):
8983 * frame.el (blink-cursor):
8984 * files.el (find-file-not-found-hooks, write-file-hooks)
8985 (write-contents-hooks):
8986 * emulation/tpu-edt.el (GOLD-map):
8987 * emacs-lock.el (emacs-lock-from-exiting):
8988 * emacs-lisp/generic.el (generic-font-lock-defaults):
8989 * emacs-lisp/chart.el (chart-map):
8990 * dos-fns.el (register-name-alist):
8991 * dired-x.el (dired-omit-files-p):
8992 * desktop.el (desktop-enable):
8993 * cus-edit.el (custom-mode-hook):
8994 * buff-menu.el (buffer-menu-mode-hook):
8995 * bookmark.el (bookmark-read-annotation-text-func)
8996 (bookmark-exit-hooks):
8997 * allout.el (allout-mode-deactivate-hook)
8998 (allout-exposure-change-hook, allout-structure-added-hook)
8999 (allout-structure-deleted-hook, allout-structure-shifted-hook):
9000 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
9001 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
9002 comes before the corresponding variable's definition.
9003
ac59c2f6
CY
90042012-05-12 Chong Yidong <cyd@gnu.org>
9005
9006 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
0d909786
CY
9007 (Buffer-menu-mouse-select): Restore function (Bug#11459).
9008 (Buffer-menu-mode-map): Bind it.
9009 (Buffer-menu--pretty-name): Add a mouse-face property.
ac59c2f6 9010
dee6c9a3
SM
90112012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
9012
2171cea5
SM
9013 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
9014 (prolog-upper-case-string, prolog-lower-case-string)
9015 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
9016 (prolog-use-smie, prolog-smie-grammar): New vars.
9017 (prolog-smie-forward-token, prolog-smie-backward-token)
9018 (prolog-smie-rules): New funs.
9019 (prolog-comment-indent): Remove.
9020 (prolog-mode-variables): Use default comment indentation instead.
9021 Setup SMIE.
9022 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
9023 (prolog-mode): Don't call them any more.
9024 (prolog-electric-colon, prolog-electric-dash)
9025 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
9026
aa0382bd
SM
9027 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
9028
dbacb4bd
SM
9029 * minibuffer.el (completion--twq-all): Again, allow case differences.
9030
13bdd94c
SM
9031 * term.el: Move keymap initialization code to be more idiomatic.
9032 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
9033 (term-terminal-menu): Move initialization into declaration.
9034 (term-escape-char): Let the user set it in her .emacs.
9035
ff46c759
SM
9036 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
9037 Provide SMIE-based indentation (not enabled by default yet).
9038 (sh-mode-map): Don't bind electric keys.
9039 Use electric-pair-mode instead of skeleton-pair.
9040 (sh-assignment-regexp): Fit within 80 columns.
9041 (sh-indent-supported): Specify actual shell name instead of boolean.
9042 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
9043 (sh-maybe-here-document): Use it. Make obsolete.
9044 (sh-electric-here-document-mode) New minor mode.
9045 (sh-mode): Use it. Don't set sh-indent-supported-here here.
9046 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
9047 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
9048 (sh-smie-rc-grammar, sh-use-smie): New vars.
9049 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
9050 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
9051 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
9052 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
9053 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
9054 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
9055 (sh-set-shell): Use smie-setup if requested.
9056
dee6c9a3
SM
9057 * term.el (term-set-escape-char): Properly set term-escape-char.
9058 See http://stackoverflow.com/questions/10524656.
9059
9f9aa044
CY
90602012-05-10 Chong Yidong <cyd@gnu.org>
9061
9062 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
9063 Use url-generic-parse-url, and handle host names and Windows
9064 filenames properly.
9065 (ffap-url-unwrap-remote): Use url-generic-parse-url.
9066 (ffap-url-unwrap-remote): Accept list values, specifying a list of
9067 URL schemes to work on.
9068 (ffap--toggle-read-only): New function.
9069 (ffap-read-only, ffap-read-only-other-window)
9070 (ffap-read-only-other-frame): Use it.
9071 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
9072 necessary for ffap-url-unwrap-remote.
9073
836d29b3
DA
90742012-05-10 Dave Abrahams <dave@boostpro.com>
9075
9076 * cus-start.el (create-lockfiles): Add it.
9077
00fd78ed
CY
90782012-05-09 Chong Yidong <cyd@gnu.org>
9079
9080 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
9081 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
9082
666b903b 90832012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1cb51c12
SM
9084
9085 * shell.el (shell-completion-vars): Fix last change (bug#11348).
9086
666b903b 90872012-05-09 Chong Yidong <cyd@gnu.org>
18f00515
CY
9088
9089 * ansi-color.el (ansi-color-process-output): Check for validity of
9090 comint-last-output-start before using it. This avoids a bad
9091 interaction with gdb-mi's input/output buffer.
9092
666b903b 90932012-05-09 Glenn Morris <rgm@gnu.org>
fd075e7b
GM
9094
9095 * files.el (dir-locals-read-from-file):
9096 Mention dir-locals in any error message.
9097
666b903b 90982012-05-09 Chong Yidong <cyd@gnu.org>
25f292cd
CY
9099
9100 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
9101 package (Bug#11410).
9102
f677562b
CY
9103 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
9104 variables into description.
9105
666b903b 91062012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3d53ee1b
SM
9107
9108 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
9109 shell-delimiter-argument-list (bug#11348).
9110 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
9111
b499d8d0
JB
91122012-05-09 Juanma Barranquero <lekktu@gmail.com>
9113
8f6b6da8
JB
9114 * textmodes/rst.el: Silence byte-compiler warnings.
9115 (rst-re-alist, rst-reset-section-caches): Move around.
9116 (rst-re): Use `characterp', not `char-valid-p'.
9117 (font-lock-beg, font-lock-end): Declare.
9118
4824146a
JB
9119 * progmodes/idlw-shell.el (specs): Remove reference to deleted
9120 variable `idlwave-shell-activate-alt-keybindings' and simplify.
9121
b499d8d0
JB
9122 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
9123
ad89bb83
GM
91242012-05-08 Glenn Morris <rgm@gnu.org>
9125
9126 * files.el (auto-mode-alist): Treat ".make" like ".mk".
9127
8bba5a75
SM
91282012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9129
49ed9c8e
SM
9130 * vc/log-edit.el: Add GNU coding standards highlighting.
9131 (log-edit-font-lock-gnu-style)
9132 (log-edit-font-lock-gnu-keywords): New vars.
9133 (log-edit-font-lock-keywords): New fun.
9134 (log-edit-mode): Don't fold case in font-lock.
9135 (log-edit-font-lock-keywords): Do not assume case-folding.
9136
07d00b56
SM
9137 * imenu.el: Misc cleanup. Make docstrings out of comments.
9138 Use lexical-binding.
9139 (imenu--index-alist, imenu--last-menubar-index-alist)
9140 (imenu-menubar-modified-tick): Use defvar-local.
9141 (imenu--split-menu): Remove unused var.
9142 (imenu--cleanup-seen): Declare as global.
9143 (imenu--cleanup): Use dolist.
9144
8bba5a75
SM
9145 * subr.el (defvar-local): Add debug spec and doc-string position.
9146
5075bdb5
GM
91472012-05-08 Glenn Morris <rgm@gnu.org>
9148
090bd7cb 9149 * language/burmese.el, language/cham.el, language/czech.el:
c052c904
GM
9150 * language/english.el, language/georgian.el, language/greek.el:
9151 * language/japanese.el, language/khmer.el, language/korean.el:
9152 * language/lao.el, language/misc-lang.el, language/romanian.el:
9153 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
9154 * language/thai.el, language/utf-8-lang.el:
9155 Remove no-byte-compile setting.
9156
5075bdb5
GM
9157 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
9158
06f679a7
AH
91592012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
9160
9161 * progmodes/make-mode.el (makefile-browse):
9162 Remove unnecessary interactive. (Bug#11324)
9163
03794570
GM
91642012-05-07 Glenn Morris <rgm@gnu.org>
9165
af8630f4
GM
9166 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
9167
03794570
GM
9168 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
9169
f0809a9d
SM
91702012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
9171
28be5ce7
SM
9172 * loadup.el: Preload newcomment.el.
9173 * newcomment.el: Move autoload-only code to toplevel.
9174
f0809a9d
SM
9175 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
9176 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
9177 Handle new :right-align column property.
9178 (tabulated-list-print-col): Idem, plus use `display' text-property to
9179 try and preserve alignment for variable pitch fonts.
9180
1241b724
CY
91812012-05-07 Chong Yidong <cyd@gnu.org>
9182
9183 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
9184 (tabulated-list-use-header-line): New var.
9185 (tabulated-list-init-header): Use it.
9186 (tabulated-list-print-fake-header): New function.
9187 (tabulated-list-print): Use it.
9188 (tabulated-list-sort-button-map): Add non-header-line commands.
9189 (tabulated-list-init-header): Add column name property to basic
9190 labels as well.
9191 (tabulated-list-col-sort): Handle non-header-line button case.
9192 (tabulated-list--sort-by-column-name): Fix a corner case.
9193
f0809a9d
SM
9194 * buff-menu.el (list-buffers--refresh):
9195 Handle Buffer-menu-use-header-line.
1241b724 9196
e5f9458f
CY
91972012-05-06 Chong Yidong <cyd@gnu.org>
9198
9199 * buff-menu.el: Convert to Tabulated List mode.
9200 (Buffer-menu-buffer+size-width): Make obsolete.
9201 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
9202 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
9203 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
9204 documentation into docstring of buffer-menu.
9205 (Buffer-menu-toggle-files-only): Add an informative message.
9206 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
9207 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
9208 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
9209 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
9210 (Buffer-menu-execute, Buffer-menu-select)
9211 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
9212 (Buffer-menu-bury): Use Tabulated List machinery.
9213 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
9214 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
f0809a9d 9215 Delete.
e5f9458f
CY
9216 (list-buffers--refresh): New function.
9217 (list-buffers-noselect): Use it.
9218 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
9219 (Buffer-menu--pretty-file-name): New helper functions.
9220
9221 * loadup.el: Preload tabulated-list.
9222
9223 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
9224 tabulated-list-sort-column.
9225 (tabulated-list-init-header): Add the initial aligning space even
9226 if tabulated-list-padding is zero.
9227
e129292c
CS
92282012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
9229
9230 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
9231 whose cdr is not a cons cell correctly (bug#11038).
9232
6632d361
CY
92332012-05-06 Chong Yidong <cyd@gnu.org>
9234
e129292c
CS
9235 * emacs-lisp/tabulated-list.el (tabulated-list-format):
9236 Accept additional plist in column descriptors.
6632d361
CY
9237 (tabulated-list-init-header): Obey it.
9238 (tabulated-list-get-entry): New function.
9239 (tabulated-list-put-tag): Use it. Use string-width instead of
9240 length.
9241 (tabulated-list--column-number): New function.
9242 (tabulated-list-print): Use it.
e129292c
CS
9243 (tabulated-list-print-col): New function.
9244 Set `tabulated-list-column-name' property on each column's text.
6632d361 9245 (tabulated-list-print-entry): Use it.
e129292c
CS
9246 (tabulated-list-delete-entry, tabulated-list-set-col):
9247 New functions.
6632d361
CY
9248 (tabulated-list-sort-column): New command (Bug#11337).
9249
3cc99f68
CY
9250 * buff-menu.el (list-buffers): Move C-x C-b binding from
9251 buff-menu.el to bindings.el.
9252
9253 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
9254 :advertised-binding feature.
9255
52b61776
TN
92562012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
9257
9258 * progmodes/compile.el (compilation-internal-error-properties):
9259 Calculate start position correctly when end-col is set but
9260 end-line is not (Bug#11382).
9261
ebfe2597
WJ
92622012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
9263
9264 * man.el (Man-unindent): Use text-property-default-nonsticky to
9265 prevent untabify from inheriting face properties (Bug#11408).
9266
6d3f7c2f
SM
92672012-05-05 Stefan Merten <smerten@oekonux.de>
9268
9269 * textmodes/rst.el: Major merge with upstream development up to
9270 Docutils SVN r7399 / rst.el V1.2.1.
9271
9272 Clarify maintainership and authors.
9273
9274 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
9275 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
9276 (rst-official-version, rst-official-cvs-rev, rst-version)
9277 (rst-package-emacs-version-alist): New functions and variables
9278 for version information.
9279
9280 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
9281 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
9282 (rst-mode-syntax-table, rst-mode): New and corrected functions
9283 and variables representing reStructuredText features.
9284
9285 (rst-re): New function for reStructuredText regexes. Use in
9286 many places.
9287
9288 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
9289 (rst-mode-map): Rebind keys.
9290
9291 (rst-mode-lazy, rst-font-lock-keywords)
9292 (rst-font-lock-extend-region)
9293 (rst-font-lock-extend-region-internal)
9294 (rst-font-lock-extend-region-extend)
9295 (rst-font-lock-find-unindented-line-limit)
9296 (rst-font-lock-find-unindented-line-match)
9297 (rst-adornment-level, rst-font-lock-adornment-level)
9298 (rst-font-lock-adornment-match)
9299 (rst-font-lock-handle-adornment-pre-match-form)
9300 (rst-font-lock-handle-adornment-matcher): Major revision of
9301 font-locking. Integrate with other code. Use `jit-lock-mode'.
9302
9303 (rst-preferred-adornments, rst-adjust-hook)
9304 (rst-new-adornment-down, rst-preferred-bullets)
9305 (rst-preferred-bullets, rst-indent, rst-indent-width)
9306 (rst-indent-field, rst-indent-literal-normal)
9307 (rst-indent-literal-minimized, rst-indent-comment): Change,
9308 extend and improve customization.
9309
9310 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
9311 (rst-normalize-cursor-position, rst-get-decoration)
9312 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
9313 (rst-rstrip, rst-toc-insert-find-delete-contents)
9314 (rst-shift-fill-region, rst-compute-bullet-tabs)
9315 (rst-debug-print-tabs, rst-debug-mark-found)
9316 (rst-shift-region-guts, rst-shift-region-right)
9317 (rst-shift-region-left, rst-use-char-classes)
9318 (rst-font-lock-keywords-function)
9319 (rst-font-lock-indentation-point)
9320 (rst-font-lock-find-unindented-line-begin)
9321 (rst-font-lock-find-unindented-line-end)
9322 (rst-font-lock-find-unindented-line)
9323 (rst-font-lock-adornment-point, rst-font-lock-level)
9324 (rst-adornment-level-alist): Remove functions and variables.
9325
9326 (rst-compare-adornments, rst-get-adornment-match)
9327 (rst-suggest-new-adornment, rst-get-adornments-around)
9328 (rst-adornment-complete-p, rst-get-next-adornment)
9329 (rst-adjust-adornment, rst-display-adornments-hierarchy)
9330 (rst-straighten-adornments): Standardize function names to
9331 use "adornment" instead of "decoration". Correct callers.
9332 Similar standardizing in many places.
9333
9334 (rst-update-section, rst-adjust, rst-promote-region)
9335 (rst-enumerate-region, rst-bullet-list-region)
9336 (rst-repeat-last-character): Correct use of `interactive'.
9337
9338 (rst-classify-adornment, rst-find-all-adornments)
9339 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
9340 (rst-find-leftmost-column, rst-repeat-last-character):
9341 Refactor functions.
9342
9343 (rst-find-title-line, rst-reset-section-caches)
9344 (rst-get-adornments-around, rst-adjust-adornment-work)
9345 (rst-arabic-to-roman, rst-roman-to-arabic)
9346 (rst-insert-list-pos, rst-insert-list-new-item)
9347 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
9348 New functions.
9349
9350 (rst-all-sections, rst-section-hierarchy)
9351 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
9352 New variables.
9353
9354 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
9355 configuration instead of only buffer. Change where necessary.
9356
9357 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
9358 (rst-shift-region, rst-adaptive-fill): New functions for
9359 indentation and filling.
9360
9361 (rst-comment-line-break, rst-comment-indent)
9362 (rst-comment-insert-comment, rst-comment-region)
9363 (rst-uncomment-region): New functions for handling comments.
9364
9365 (rst-compile): Quote shell arguments.
9366
9367 (rst-compile-pdf-preview, rst-compile-slides-preview):
9368 Delete temporary files after use.
9369
a43f98b3
GM
93702012-05-05 Glenn Morris <rgm@gnu.org>
9371
48176e8b
GM
9372 * calendar/cal-html.el: Optionally include holidays in the output.
9373 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
9374 (cal-html-holidays): New option.
9375 (cal-html-css-default): Add holiday entry.
9376 (holiday-in-range): Autoload it.
9377 (cal-html-htmlify-entry): Add optional class argument.
9378 (cal-html-htmlify-list): Add optional holidays argument.
9379 (cal-html-insert-agenda-days): Include holidays in the output.
9380 (cal-html-one-month): Maybe include holidays.
9381
a43f98b3
GM
9382 * calendar/holidays.el (holiday-in-range):
9383 Move here from cal-tex-list-holidays.
9384 * calendar/cal-tex.el (cal-tex-list-holidays):
9385 Make it an obsolete alias for holiday-in-range. Update all callers.
9386
fef9d149 93872012-05-05 Chong Yidong <cyd@gnu.org>
eceeb5fc
CY
9388
9389 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
9390 Nextstep.
9391
248da2f4
RW
93922012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
9393
9394 * files.el (file-auto-mode-skip): New var.
9395 (set-auto-mode-1): Use it.
9396
f95e9344
SM
93972012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
9398
df96ab1e
SM
9399 * repeat.el: Use lexical-binding.
9400 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
9401 (repeat-undo-count): Remove.
9402 (repeat):
9403 * progmodes/octave-mod.el (octave-abbrev-start):
9404 * progmodes/f90.el (f90-abbrev-start):
9405 * face-remap.el (text-scale-adjust):
9406 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
9407
5342bb06
SM
9408 * emacs-lisp/pcase.el (pcase--let*): New function.
9409 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
9410 a bit more.
9411 (pcase--split-pred): Be more clever about ruling out overlap between
9412 a predicate and some constant pattern.
9413 (pcase--q1): Use `null' instead of (eq foo nil).
9414
f95e9344
SM
9415 * subr.el (setq-local, defvar-local): New macros.
9416 (kbd): Redefine as an alias.
9417 (with-selected-window): Leave unrelated frames alone.
9418 (set-temporary-overlay-map): New function.
9419
71873e2b
SM
94202012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
9421
9422 * subr.el (user-error): New function.
9423 * window.el (switch-to-buffer):
9424 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
9425 (smerge-match-conflict):
9426 * simple.el (previous-matching-history-element)
9427 (next-matching-history-element, goto-history-element, undo-more)
9428 (undo-start):
9429 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
9430 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
9431 (next-file, tags-loop-scan, list-tags, complete-tag):
9432 * progmodes/compile.el (compilation-loop):
9433 * mouse.el (mouse-minibuffer-check):
9434 * man.el (Man-bgproc-sentinel, Man-goto-page):
9435 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
9436 (Info-history-forward, Info-follow-reference, Info-menu)
9437 (Info-extract-menu-item, Info-extract-menu-counting)
9438 (Info-forward-node, Info-backward-node, Info-next-menu-item)
9439 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
9440 (Info-next-reference, Info-prev-reference, Info-index)
9441 (Info-index-next, Info-follow-nearest-node)
9442 (Info-copy-current-node-name):
9443 * imenu.el (imenu--make-index-alist)
9444 (imenu-default-create-index-function, imenu-add-to-menubar):
9445 * files.el (basic-save-buffer, recover-file):
9446 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
9447 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
9448 (checkdoc-message-text, checkdoc-defun):
9449 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
9450 * cus-edit.el (customize-changed-options, customize-rogue)
9451 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
9452 (custom-variable-mark-to-reset-standard)
9453 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
9454 (custom-file):
9455 * completion.el (check-completion-length):
9456 * comint.el (comint-search-arg)
9457 (comint-previous-matching-input-string-position)
9458 (comint-previous-matching-input)
9459 (comint-replace-by-expanded-history-before-point, comint-send-input)
9460 (comint-copy-old-input, comint-backward-matching-input)
9461 (comint-goto-process-mark, comint-set-process-mark):
9462 * calendar/calendar.el (calendar-cursor-to-date): Use it.
9463 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
9464
8a61ee22
SM
94652012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
9466
66408d1e
SM
9467 * dabbrev.el (dabbrev--ignore-case-p): New function.
9468 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
9469 Use it.
9470
8a61ee22
SM
9471 * files.el (automount-dir-prefix): Mark as obsolete.
9472
3c74813a
GM
94732012-05-04 Glenn Morris <rgm@gnu.org>
9474
9475 * patcomp.el, play/bruce.el: Move to obsolete/.
9476
0bfcf5c5
PE
94772012-05-04 Paul Eggert <eggert@cs.ucla.edu>
9478
9479 Fix minor Y10k bugs.
9480 * arc-mode.el (archive-unixdate):
9481 * autoinsert.el (auto-insert-alist):
9482 * calc/calc-forms.el (math-this-year):
9483 * emacs-lisp/copyright.el (copyright-current-year)
9484 (copyright-update-year, copyright):
9485 * tar-mode.el (tar-clip-time-string):
9486 * time.el (display-time-update):
9487 Don't assume years have 4 digits.
9488
78f3273a
CY
94892012-05-04 Chong Yidong <cyd@gnu.org>
9490
9491 * dos-w32.el (file-name-buffer-file-type-alist)
9492 (direct-print-region-use-command-dot-com):
9493 * ffap.el (ffap-menu-regexp):
9494 * find-file.el (ff-special-constructs):
9495 * follow.el (follow-debug):
9496 * forms.el (forms--debug):
9497 * iswitchb.el (iswitchb-all-frames):
9498 * ido.el (ido-all-frames):
9499 * emacs-lisp/timer.el (timer-max-repeats):
9500 * mail/feedmail.el (feedmail-mail-send-hook)
9501 (feedmail-mail-send-hook-queued):
9502 * mail/footnote.el (footnote-signature-separator):
9503 * mail/mailabbrev.el (mail-alias-separator-string)
9504 (mail-abbrev-mode-regexp):
9505 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
9506 * progmodes/idlwave.el (idlwave-libinfo-file)
9507 (idlwave-default-completion-case-is-down)
9508 (idlwave-library-routines): Convert defvars to defcustoms.
9509
9510 * mail/rmail.el (rmail-decode-mime-charset):
9511 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
9512 (idlwave-shell-fix-inserted-breaks)
9513 (idlwave-shell-activate-alt-keybindings)
9514 (idlwave-shell-use-breakpoint-glyph):
9515 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
9516
f7ae6719
SM
95172012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
9518
9519 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
9520
47086495
WS
95212012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
9522
9523 * progmodes/verilog-mode.el (font-lock-keywords):
9524 Fix mis-highligting auto. Reported by Craig Barner.
9525 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
fc0c31f8 9526 defines from global name space. Reported by Dan Dever.
47086495
WS
9527 (verilog-auto-reset, verilog-auto-reset-widths)
9528 (verilog-auto-tieoff): Support using unbased numbers for
9529 AUTORESET and AUTOTIEOFF.
9530 (verilog-submit-bug-report): Update variable list.
9531 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
fc0c31f8 9532 parenthesis from not matching. Reported by Michael Rytting.
47086495
WS
9533 (verilog-auto-template-lint): Fix hash error when linting modules
9534 with no used templates.
9535 (verilog-warn, verilog-warn-error)
9536 (verilog-warn-fatal): When non-interactive report multiple
9537 warnings before exiting. Suggested by Brad Dobbie.
9538 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
9539 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
9540 to report unused template errors. Reported by Brad Dobbie.
9541 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
fc0c31f8 9542 nets, bug438. Reported by Vns Blore.
47086495
WS
9543 (verilog-auto-inout-module, verilog-auto-reg)
9544 (verilog-read-decls, verilog-read-sub-decls-sig)
9545 (verilog-signals-edit-wire-reg, verilog-signals-with):
9546 Fix passing of Verilog data types in ANSI input/output ports
fc0c31f8 9547 such as "output logic" into the AUTOs. Special case "wire" and
47086495
WS
9548 "reg" for backwards compatibility presuming Verilog 2001.
9549 (verilog-auto-ascii-enum): Add "auto enum" as alias.
9550 (verilog-preprocess): Fix replication of preprocess output.
9551 Reported by Brad Dobbie.
9552 (verilog-auto-inst-interfaced-ports):
9553 Create verilog-auto-inst-interfaced-ports, bug429.
9554 Reported by Julian Gorfajn.
9555 (verilog-after-save-font-hook)
9556 (verilog-before-save-font-hook): New variable.
9557 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
9558 (verilog-save-font-mods): Wrap disabling fontification, reported
9559 by David Rogoff.
9560 (verilog-do-indent, verilog-pretty-declarations-auto)
9561 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
9562 Reported by Pierre-David Pfister.
9563 (verilog-set-auto-endcomments): Fix endtask auto comments outside
9564 of class declarations, bug292. Reported by Kevin Heilman.
9565 (verilog-read-decls): Fix 'parameter type' not appearing in
9566 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
9567 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
fc0c31f8 9568 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
47086495
WS
9569 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
9570 Reported by David Kravitz.
9571
95722012-05-03 Michael McNamara <mac@mail.brushroad.com>
9573
9574 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
9575 assignment with tests in ifs and for loops.
9576 (verilog-extended-complete-re, verilog-complete-reg): Change so
9577 that DPI inport functions don't look like fuction declarations.
9578 (verilog-pretty-expr): Don't line up assignment
9579 operations to the test and increment in if and for loops
9580 (verilog-extended-complete-re, verilog-complete-reg): Change so
090bd7cb 9581 that DPI inport functions don't look like fuction declarations.
47086495 9582
2e51d4b5
KH
95832012-05-03 Kenichi Handa <handa@m17n.org>
9584
9585 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
c846da43 9586 decoding, and show a warning message without signaling an error
2e51d4b5
KH
9587 (Bug#11282).
9588
2bd785a2
SM
95892012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
9590
9591 * emacs-lisp/bytecomp.el
9592 (byte-compile-file-form-custom-declare-variable): Compile all elements,
9593 since cconv.el might have introduced :fun-body, internal-make-closure,
9594 and friends for bytecomp to handle (bug#11391).
9595 * custom.el (defcustom): Avoid ((λ ..) ..).
9596
99d27583
SM
95972012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
9598
9599 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
9600
55a71479
JB
96012012-05-02 Juanma Barranquero <lekktu@gmail.com>
9602
9603 * notifications.el (dbus-debug):
9604 * term/linux.el (gpm-mouse-enable):
9605 * term/screen.el (xterm-register-default-colors): Declare.
9606
7b97c764
CY
96072012-05-02 Chong Yidong <cyd@gnu.org>
9608
2bc356d7
CY
9609 * cus-start.el (gc-cons-percentage, exec-suffixes)
9610 (dos-display-scancodes, dos-hyper-key, dos-super-key)
9611 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
9612 (make-cursor-line-fully-visible, void-text-area-pointer)
9613 (font-list-limit): Add customization data.
9614
7b97c764
CY
9615 * allout.el (allout-exposure-change-functions)
9616 (allout-structure-added-functions)
9617 (allout-structure-deleted-functions)
9618 (allout-structure-shifted-functions): Rename abnormal hooks from
9619 *-hook, and convert to defcustoms.
5d3385a0
JB
9620 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
9621 Convert to defcustoms.
7b97c764
CY
9622 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
9623
9624 * allout-widgets.el: Hook callers changed.
9625
90207a15 96262012-05-02 Eli Zaretskii <eliz@gnu.org>
91af76bf
EZ
9627
9628 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
9629 the yanked message in preference to the default value of
9630 buffer-file-coding-system.
9631
90207a15 96322012-05-02 Martin Rudalics <rudalics@gmx.at>
d9558cad 9633
5d3385a0
JB
9634 * window.el (display-buffer--action-function-custom-type):
9635 Fix entry.
d9558cad 9636
90207a15 96372012-05-02 Alan Mackenzie <acm@muc.de>
09affde0
AM
9638
9639 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
9640
d80ac57b
GM
96412012-05-01 Glenn Morris <rgm@gnu.org>
9642
976f7668
GM
9643 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
9644
beb83b5a
GM
9645 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
9646
d80ac57b
GM
9647 * cus-edit.el (custom-variable-documentation): Simplify with format.
9648
b593d6a9 96492012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
f1a71c6e 9650 Stefan Monnier <monnier@iro.umontreal.ca>
b593d6a9
AH
9651
9652 * simple.el (suggest-key-bindings, execute-extended-command):
9653 Move from keyboard.c.
9654
782fbf2a
CY
96552012-05-01 Chong Yidong <cyd@gnu.org>
9656
9657 * follow.el: Eliminate advice.
9658 (set-process-filter, process-filter, sit-for): Advice deleted.
9659 (follow-mode-off-hook): Obsolete hook removed.
b593d6a9
AH
9660 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
9661 Vars deleted.
782fbf2a
CY
9662 (follow-auto): Use a :set function.
9663 (follow-mode): Rewritten. Don't advise process filters.
9664 (follow-switch-to-current-buffer-all, follow-scroll-up)
9665 (follow-scroll-down): Assume follow-mode is bound.
9666 (follow-comint-scroll-to-bottom)
9667 (follow-align-compilation-windows): New functions.
9668 (follow--window-sorter): New function.
9669 (follow-all-followers): Use it to explicitly sort windows by their
9670 positions; don't make assumptions about next-window order.
9671 (follow-windows-start-end, follow-delete-other-windows-and-split)
9672 (follow-calc-win-start): Doc fix.
9673 (follow-windows-aligned-p, follow-select-if-visible): Don't call
9674 vertical-motion unnecessarily.
9675 (follow-adjust-window): New function.
9676 (follow-post-command-hook): Use it.
9677 (follow-call-set-process-filter, follow-call-process-filter)
9678 (follow-intercept-process-output, follow-tidy-process-filter-alist)
9679 (follow-stop-intercept-process-output, follow-generic-filter):
9680 Functions deleted.
9681 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
b593d6a9
AH
9682 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
9683 New functions, replacing advice on scroll-bar-* commands.
87233a14 9684 (follow-mwheel-scroll): New function (Bug#4112).
782fbf2a
CY
9685
9686 * comint.el (comint-adjust-point): New function.
b593d6a9
AH
9687 (comint-postoutput-scroll-to-bottom): Use it.
9688 Call follow-comint-scroll-to-bottom for Follow mode buffers.
782fbf2a 9689
290af740
GM
96902012-05-01 Glenn Morris <rgm@gnu.org>
9691
9692 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
9693 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
9694 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
9695 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
9696 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
9697 Remove no-byte-compile setting.
9698
6eac8dc9
SM
96992012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
9700
9701 * minibuffer.el (completion-table-with-quoting): Fix compatibility
9702 all-completions code to not return a number in the last cdr.
9703
9cc7819c
LL
97042012-04-30 Leo Liu <sdl.web@gmail.com>
9705
9706 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
9707 read-only error.
9708
c93b886f
CY
97092012-04-29 Chong Yidong <cyd@gnu.org>
9710
9711 * follow.el (follow-calc-win-end): Rewrite to handle partial
9712 screen lines correctly (Bug#8390).
9713 (follow-avoid-tail-recenter): Minor cleanup.
9714
8b6c19f4
SM
97152012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
9716
9717 Avoid the obsolete `assoc' package.
9718 * speedbar.el (speedbar-refresh): Avoid adelete.
9719 (speedbar-file-lists): Simplify and avoid aput.
9720 * man.el (Man--sections, Man--refpages): New vars, replacing
9721 Man-sections-alist and Man-refpages-alist.
9722 (Man-build-section-alist, Man-build-references-alist):
9723 Use them; avoid aput.
9724 (Man--last-section, Man--last-refpage): New vars.
9725 (Man-follow-manual-reference): Use them.
9726 Use the `default' arg of completing-read.
9727 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
9728
c5bb7569
CY
97292012-04-27 Chong Yidong <cyd@gnu.org>
9730
d1d2e2e8
CY
9731 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
9732
15cd8efd
CY
9733 * startup.el (x-apply-session-resources): New function.
9734
9735 * term/ns-win.el (ns-initialize-window-system):
9736 * term/w32-win.el (w32-initialize-window-system):
9737 * term/x-win.el (x-initialize-window-system): Use it to properly
9738 set menu-bar-mode and other vars from X resources, even if the
9739 initial frame is not a window-system frame (Bug#2299).
9740
c5bb7569
CY
9741 * subr.el (read-key): Avoid running filter function when setting
9742 up temporary tool bar entries (Bug#9922).
9743
a8e7d6d7 97442012-04-27 Andreas Schwab <schwab@linux-m68k.org>
c4347ab9
AS
9745
9746 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
9747 (Bug#11344)
9748
a8e7d6d7 97492012-04-27 Chong Yidong <cyd@gnu.org>
acb71f1d
CY
9750
9751 * select.el (xselect--encode-string): New function, split from
9752 xselect-convert-to-string.
9753 (xselect-convert-to-string): Use it.
9754 (xselect-convert-to-filename, xselect-convert-to-os)
9755 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
9756 returned strings are properly encoded (Bug#11315).
9757
a8e7d6d7 97582012-04-27 Chong Yidong <cyd@gnu.org>
d55486c7
CY
9759
9760 * simple.el (delete-active-region): Move to killing custom group.
9761
a8e7d6d7 97622012-04-27 Andreas Schwab <schwab@linux-m68k.org>
581b6788
AS
9763
9764 * progmodes/which-func.el (which-func-current): Quote %
9765 characters for mode-line processing.
9766
578c1d4b 97672012-04-27 Chong Yidong <cyd@gnu.org>
18edb22d
CY
9768
9769 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
9770 reaching eob (Bug#11286).
9771
a8e7d6d7 97722012-04-27 Eli Zaretskii <eliz@gnu.org>
9ee9f470
EZ
9773
9774 * progmodes/gdb-mi.el (gdb-control-level): New variable.
9775 (gdb): Make it buffer-local and init to zero.
9776 (gdb-control-commands-regexp): New variable.
9777 (gdb-send): Don't wrap in "-interpreter-exec console" if
9778 gdb-control-level is positive. Increment gdb-control-level
9779 whenever the command matches gdb-control-commands-regexp, and
9780 decrement it each time the command is "end". (Bug#11279)
9781
a8e7d6d7 97822012-04-27 Martin Rudalics <rudalics@gmx.at>
41cfe0cb
MR
9783
9784 * window.el (adjust-window-trailing-edge, enlarge-window)
9785 (shrink-window, window-resize):
9786 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
9787 windows (Bug#11276).
9788
b3608390
CY
97892012-04-27 Chong Yidong <cyd@gnu.org>
9790
9791 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
a8e7d6d7 9792 fix "missing prefix" warning. All callers changed.
b3608390 9793
797e6e88
SM
97942012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
9795
9796 * emacs-lisp/assoc.el: Move to obsolete/.
9797
e95a67dc
SM
97982012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
9799
657c21e4 9800 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
e95a67dc
SM
9801
9802 * term/ns-win.el (ns-define-service):
9803 * progmodes/pascal.el (pascal-goto-defun):
9804 * progmodes/js.el (js--read-tab):
9805 * progmodes/etags.el (tags-lazy-completion-table):
9806 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
9807 * emacs-lisp/ewoc.el (ewoc--wrap):
9808 * emacs-lisp/assoc.el (aput, adelete, amake):
9809 * doc-view.el (doc-view-convert-current-doc):
9810 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
9811
cb3e7ae0
CY
98122012-04-26 Chong Yidong <cyd@gnu.org>
9813
dce04f7f
CY
9814 * image.el (image-type-from-buffer): Only return supported image
9815 type (Bug#9045).
9816
cb3e7ae0
CY
9817 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
9818 value, for symmetry with diff-end-of-hunk.
9819 (diff-split-hunk, diff-find-source-location)
9820 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
9821 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
9822 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
9823 compute the relevant hunk or file properly (Bug#6005).
9824 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
9825
0d42eb3e
SM
98262012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
9827
9828 * vc/vc-mtn.el:
9829 * vc/vc-hg.el:
9830 * vc/vc-git.el:
9831 * vc/vc-dir.el:
9832 * vc/vc-cvs.el:
9833 * vc/vc-bzr.el:
9834 * vc/vc-arch.el:
9835 * vc/vc.el: Replace lexical-let by lexical-binding.
9836 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
9837 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
9838 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
9839
f08ae1c9
CY
98402012-04-26 Chong Yidong <cyd@gnu.org>
9841
8b71081d
CY
9842 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
9843 (diff-mode-shared-map): Bind it to / and [remap undo].
9844
f08ae1c9
CY
9845 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
9846 (ediff-window-setup-function): Use it as the default, to set up
9847 windows based on whether the current frame is graphical (Bug#2138).
9848 (ediff-choose-window-setup-function-automatically): Make obsolete.
9849
9850 * vc/ediff-init.el: Always define ediff-pixel-width/height.
9851
ef24141c
SM
98522012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
9853
cc356a5d
SM
9854 * ffap.el: Remove old code for obsolete package.
9855 (ffap-complete-as-file-p): Remove.
9856
b4ff4f1f
SM
9857 Use completion-table-with-quoting for comint and pcomplete.
9858 * comint.el (comint--unquote&requote-argument)
9859 (comint--unquote-argument, comint--requote-argument): New functions.
9860 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
9861 (comint-quote-filename): Use regexp-opt-charset.
9862 (comint--common-suffix, comint--common-quoted-suffix)
9863 (comint--table-subvert): Remove.
9864 (comint-unquote-function, comint-requote-function): New vars.
9865 (comint--complete-file-name-data): Use them with
9866 completion-table-with-quoting.
9867 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
9868 * pcomplete.el (pcomplete-arg-quote-list)
9869 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
9870 (pcomplete-unquote-argument-function): Default to non-nil.
9871 (pcomplete-unquote-argument): Simplify.
9872 (pcomplete--common-quoted-suffix): Remove.
9873 (pcomplete-requote-argument-function): New var.
9874 (pcomplete--common-suffix): New function.
9875 (pcomplete-completions-at-point): Use completion-table-with-quoting
9876 and completion-table-subvert.
9877
79c4eeb4
SM
9878 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
9879 (minibuffer--double-dollars): Preserve properties.
9880 (completion--sifn-requote): New function.
9881 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
9882
ef24141c
SM
9883 * minibuffer.el: Add support for completion of quoted/escaped data.
9884 (completion-table-with-quoting, completion-table-subvert): New funs.
9885 (completion--twq-try, completion--twq-all): New functions.
9886 (completion--nth-completion): New function.
9887 (completion-try-completion, completion-all-completions): Use it.
9888
784e7d6e
LL
98892012-04-25 Leo Liu <sdl.web@gmail.com>
9890
dd2ac746
SM
9891 * progmodes/python.el (python-pdbtrack-get-source-buffer):
9892 Use compilation-message if available to find real filename.
784e7d6e 9893
07875ee7
CY
98942012-04-25 Chong Yidong <cyd@gnu.org>
9895
9896 * vc/diff-mode.el (diff-setup-whitespace): New function.
9897 (diff-mode): Use it.
9898
9899 * vc/diff.el (diff-sentinel):
9900 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
9901 Whitespace mode variables based on diff style (Bug#8612).
9902
5055880d
LL
99032012-04-25 Leo Liu <sdl.web@gmail.com>
9904
daf75653
LL
9905 * progmodes/python.el (python-send-region): Add suffix .py to the
9906 temp file.
9907
5055880d
LL
9908 * files.el (auto-mode-alist): Use javascript-mode instead.
9909
db9b177b
AH
99102012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
9911
ef24141c 9912 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b 9913
090bd7cb 9914 * net/soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 9915 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 9916 references, see Bug#9.
ef24141c 9917 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 9918 when receiving a fault reply.
ef24141c 9919 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b 9920
090bd7cb 9921 * net/soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 9922 (soap-inspect-simple-type): New function.
db9b177b 9923
090bd7cb 9924 * net/soap-client.el (soap-simple-type): New struct.
db9b177b 9925 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
9926 (soap-decode-basic-type, soap-encode-basic-type):
9927 support unsignedInt and double basic types.
db9b177b 9928 (soap-resolve-references-for-simple-type)
ef24141c
SM
9929 (soap-parse-simple-type, soap-encode-simple-type): New function.
9930 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b 9931
090bd7cb 9932 * net/soap-client.el (soap-default-xsd-types)
ef24141c
SM
9933 (soap-default-soapenc-types): Add integer, byte and anyURI types.
9934 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
9935 the local name of "soapenc:Array".
9936 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
db9b177b
AH
9937 decoding integer, byte and anyURI xsd types.
9938
1fc6097b
CY
99392012-04-25 Chong Yidong <cyd@gnu.org>
9940
9941 * cus-edit.el (custom-buffer-create-internal): Update header text.
9942
afc6df87
EZ
99432012-04-25 Eli Zaretskii <eliz@gnu.org>
9944
9945 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
9946 settings on 'system-type', not on 'window-system'. On MS-Windows,
9947 set interactive-mode on in GDB.
9948
dfbd787f
SM
99492012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
9950
9951 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
9952 (ruby-syntax-propertize-regexp): Remove.
9953 (ruby-syntax-propertize-function): Split regexp into chunks.
9954 Match following code directly.
9955
85222d44
DG
99562012-04-24 Dmitry Gutov <dgutov@yandex.ru>
9957
51a8ea2a
DG
9958 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
9959 (ruby-syntax-propertize-regexp): New function.
9960 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
9961 by a special keyword.
9962
85222d44
DG
9963 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
9964 (ruby-syntax-general-delimiters-goto-beg)
9965 (ruby-syntax-propertize-general-delimiters): New functions.
9966 (ruby-syntax-propertize-function): Use them to handle GDL.
9967 (ruby-font-lock-keywords): Move old handling of GDL...
9968 (ruby-font-lock-syntactic-keywords): .. to here.
9969 (ruby-calculate-indent): Adjust indentation for GDL.
9970
b613912b
MA
99712012-04-24 Michael Albinus <michael.albinus@gmx.de>
9972
b5380639
MA
9973 * notifications.el (top): Remove unneeded declarations.
9974 (notifications-specification-version): Change to "1.2".
e43042fe 9975 (notifications-interface, notifications-notify-method)
b613912b
MA
9976 (notifications-close-notification-method): Fix docstring.
9977 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
9978 (notifications-notify): Add :action-items, :resident and
9979 :transient hints. Change "image_data" to "image-data" and
9980 "image_path" to "image-path".
b613912b
MA
9981 (notifications-get-capabilities): New defun.
9982
257440aa
LL
99832012-04-24 Leo Liu <sdl.web@gmail.com>
9984
9985 * progmodes/python.el: Move hideshow setup to the end.
9986
b1bac16e
MR
99872012-04-24 Martin Rudalics <rudalics@gmx.at>
9988
9989 * window.el (handle-select-window): Clear echo area since this is
9990 no more done by read_char (Bug#11304).
9991
d81bd059
SM
99922012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
9993
9994 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
9995 and `/ M' to filter-derived-mode.
9996 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
9997 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
9998 (ibuffer-mark-by-mode): Use default rather than initial-input.
9999 (ibuffer-filter-by-derived-mode): Autoload and require-match.
10000
c4cf6d91
IA
100012012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
10002
10003 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
10004 (ibuffer-filter-by-derived-mode): New filter.
10005 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
10006
7511ded8
CY
100072012-04-23 Andreas Politz <politza@fh-trier.de>
10008
10009 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
10010
775c916b
CY
100112012-04-23 Chong Yidong <cyd@gnu.org>
10012
10013 * cus-edit.el (customize-apropos, customize-apropos-options):
10014 Disable matching of non-option variables (Bug#11176).
10015 (customize-option, customize-option-other-window)
10016 (customize-changed-options): Doc fix.
10017 (customize-apropos-options, customize-apropos-faces)
10018 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
10019
10020 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 10021 Fix word list splitting (Bug#11132).
46c71e23
CY
10022 (apropos-symbol, apropos-keybinding, apropos-label)
10023 (apropos-property, apropos-function-button)
10024 (apropos-variable-button, apropos-misc-button): New faces.
10025 (apropos-symbol-face, apropos-keybinding-face)
10026 (apropos-label-face, apropos-property-face, apropos-match-face):
10027 Variables removed (Bug#8396).
10028 (apropos-library-button, apropos-format-plist, apropos-print)
10029 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 10030
2df41f9c
MA
100312012-04-23 Michael Albinus <michael.albinus@gmx.de>
10032
10033 * net/xesam.el (xesam-mode-map): Use let-bound map in
10034 initialization. (Bug#11292)
10035
da00640a
AM
100362012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10037
10038 Preserve ispell session localwords when switching back to
10039 original buffer.
10040
090bd7cb
JB
10041 * textmodes/ispell.el (ispell-buffer-session-localwords):
10042 New buffer-local variable to hold buffer session localwords.
ed9265fc 10043 (ispell-kill-ispell): Add option 'clear to delete session
da00640a
AM
10044 localwords.
10045 (ispell-command-loop, ispell-change-dictionary)
10046 (ispell-buffer-local-words): Preserve session localwords when
10047 needed.
10048
090bd7cb
JB
10049 * textmodes/flyspell.el (flyspell-process-localwords)
10050 (flyspell-do-correct): Preserve session localwords when needed.
da00640a 10051
f621ccf5
AM
100522012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10053
090bd7cb
JB
10054 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
10055 using obsolete `translation-table-for-input'.
ef24141c
SM
10056 (ispell-word, ispell-process-line, ispell-complete-word):
10057 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 10058
c2d1019e
CY
100592012-04-22 Chong Yidong <cyd@gnu.org>
10060
10061 * cus-edit.el (custom-variable-menu)
10062 (custom-variable-reset-saved, custom-face-menu)
10063 (custom-face-reset-saved): If there is no saved value, make the
10064 "reset-saved" operation bring back the default (Bug#9509).
10065 (custom-face-state): Properly detect themed faces.
10066
eeddc531
CY
10067 * faces.el (face-spec-set): Stop supporting deprecated form of
10068 third arg.
10069
dcbf5805
MA
100702012-04-22 Michael Albinus <michael.albinus@gmx.de>
10071
10072 Move functions from C to Lisp. Make non-blocking method calls
10073 the default. Implement further D-Bus standard interfaces.
10074
ef24141c
SM
10075 * net/dbus.el (dbus-message-internal): Declare function.
10076 Remove unneeded function declarations.
dcbf5805
MA
10077 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
10078 (dbus-message-type-method-return, dbus-message-type-error)
10079 (dbus-message-type-signal): Declare variables. Remove local
10080 definitions.
10081 (dbus-interface-dbus, dbus-interface-peer)
10082 (dbus-interface-introspectable, dbus-interface-properties)
10083 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
10084 Adapt docstring.
10085 (dbus-interface-objectmanager): New defconst.
10086 (dbus-call-method, dbus-call-method-asynchronously)
10087 (dbus-send-signal, dbus-method-return-internal)
10088 (dbus-method-error-internal, dbus-register-service)
10089 (dbus-register-signal, dbus-register-method): New defuns, moved
10090 from dbusbind.c
10091 (dbus-call-method-handler, dbus-setenv)
ef24141c
SM
10092 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
10093 New defuns.
dcbf5805
MA
10094 (dbus-call-method-non-blocking): Make it an obsolete function.
10095 (dbus-unregister-object, dbus-unregister-service)
10096 (dbus-handle-event, dbus-register-property)
10097 (dbus-property-handler): Obey the new structure of
10098 `bus-registered-objects'.
10099 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
10100 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
10101 Use `dbus-call-method'.
10102
cf20dee0
CY
101032012-04-22 Chong Yidong <cyd@gnu.org>
10104
10105 * cus-edit.el (custom-commands, custom-reset-menu)
10106 (Custom-reset-standard): Tweak labels.
10107 (custom-reset-button-menu): Change default to t.
10108 (custom-buffer-create-internal): For the custom-reset-button-menu
10109 case, put the revert button first.
10110 (custom-group-subtitle): New face.
10111 (custom-group-value-create): Align docstring to a specific column.
10112
10113 * wid-edit.el (widget-documentation-link-add): Don't handle
10114 indentation in this function.
10115 (widget-documentation-string-indent-to): New function.
10116 (widget-documentation-string-value-create): Use it.
10117
10118 * autorevert.el (auto-revert):
10119 * epg-config.el (epg):
10120 * ibuffer.el (ibuffer):
10121 * mpc.el (mpc):
10122 * ses.el (ses):
10123 * eshell/eshell.el (eshell):
10124 * net/ange-ftp.el (ange-ftp):
10125 * progmodes/ebnf2ps.el (postscript):
10126 * progmodes/flymake.el (flymake):
10127 * progmodes/prolog.el (prolog):
10128 * progmodes/verilog-mode.el (verilog-mode):
10129 * progmodes/which-func.el (which-func):
10130 * term/xterm.el (xterm):
10131 * textmodes/picture.el (picture):
10132 * textmodes/tildify.el (tildify):
10133 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
10134 customization buffers.
10135
583e23bd
AM
101362012-04-22 Alan Mackenzie <acm@muc.de>
10137
10138 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
10139 Adding a ) can hide the resulting (..) from searches. Fix it.
10140 Bound the backward search to the position of the existing (.
10141
7dd51bf1
JB
101422012-04-21 Juanma Barranquero <lekktu@gmail.com>
10143
10144 * progmodes/verilog-mode.el (verilog-mode): Check whether
10145 which-func-modes is t before adding verilog-mode.
10146 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
10147
d64a438f
LL
101482012-04-21 Leo Liu <sdl.web@gmail.com>
10149
7dd51bf1 10150 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 10151
081e8d65
MV
101522012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
10153
10154 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
10155 filling of the last column of a table (Bug#5635).
10156 (woman-find-next-control-line): New arg, specifying an additional
10157 regexp component for the control line.
10158 (woman2-roff-buffer): Use it.
10159 (woman-break-table): New function.
10160 (woman2-TS): Use it.
10161
101622012-04-21 Chong Yidong <cyd@gnu.org>
10163
10164 * woman.el (woman-set-buffer-display-table, woman-decode-region)
10165 (woman-horizontal-escapes, woman-negative-vertical-space)
10166 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
10167 (WoMan-warn-ignored): Use ?\s instead of ?\ .
10168
ed571ccb
SM
101692012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
10170
10171 * minibuffer.el (completion-file-name-table): Complete user names.
10172
39773899
LL
101732012-04-20 Leo Liu <sdl.web@gmail.com>
10174
10175 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
10176 and pcase-let*.
10177
de6ff46d
CY
101782012-04-20 Chong Yidong <cyd@gnu.org>
10179
10180 * server.el (server-execute): Respect initial-buffer-choice if it
10181 is a string and there are no files to open (Bug#2825).
10182 (server-create-window-system-frame, server-create-tty-frame):
10183 Don't switch buffers here.
2d0e8e61
CY
10184 (server-process-filter): Only try to open a window system frame if
10185 compiled with graphical support (Bug#8314).
de6ff46d 10186
54071013
DN
101872012-04-20 Dan Nicolaescu <dann@gnu.org>
10188
10189 * battery.el (battery-echo-area-format): Display remaining time
10190 for sysfs backend too (Bug#11269).
10191 (battery-linux-sysfs): Fix conditional for the charge.
10192
f30d612a
CY
101932012-04-20 Chong Yidong <cyd@gnu.org>
10194
c07a4c0b 10195 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
10196 (gdb-inferior-io--init-proc): New function.
10197 (gdb-init-1): Use it.
10198 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
10199 responsible for allocating a new pty and hooking it to gdb when
10200 the old pty gets an EIO due to process exit.
10201 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
10202 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
10203 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
10204
2116e93c
EZ
102052012-04-20 Eli Zaretskii <eliz@gnu.org>
10206
10207 * window.el (window-min-size, window-sizable, window-min-delta)
10208 (window-max-delta, window--resizable, window-resizable)
10209 (window-total-size, window-full-height-p, window-full-width-p)
10210 (window-in-direction, window--resize-mini-window, window-resize)
10211 (window--resize-child-windows-normal)
10212 (window--resize-child-windows, window--resize-siblings)
10213 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 10214 (enlarge-window, shrink-window): Doc fixes.
2116e93c 10215
c07a4c0b 102162012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 10217
ef24141c
SM
10218 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
10219 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
10220 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
10221 pty process (Bug#11273).
10222 (gdb-update): New arg to suppress talking to the gdb process.
10223 (gdb-done-or-error): Use it.
10224 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
10225 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
10226 sentinel not being called.
10227
10228 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
10229
d02766ab
CY
10230 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
10231
c07a4c0b 102322012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
10233
10234 * net/network-stream.el (open-network-stream): Doc fix.
10235
c07a4c0b 102362012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
10237
10238 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
10239
c07a4c0b 102402012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
10241
10242 Ensure searching for keywords is case sensitive.
10243
10244 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
10245 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
10246 (c-defun-name, c-mark-function, c-cpp-define-name)
10247 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 10248 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 10249
ef24141c
SM
10250 * progmodes/cc-mode.el (c-font-lock-fontify-region):
10251 Bind case-fold-search to nil.
f0f6bc35 10252
c07a4c0b 102532012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
10254
10255 * mail/sendmail.el (mail-bury): Call return action with the right
10256 Rmail buffer (Bug#11242).
10257
9a864fa2
CY
10258 * server.el (server-process-filter): Handle corner case where both
10259 tty and nowait options are present (Bug#11102).
10260
539aa513
EZ
102612012-04-20 Eli Zaretskii <eliz@gnu.org>
10262
10263 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
10264 (top level): Put into the executable the ident-style '$Id:' tag on
10265 windows-nt as well.
539aa513 10266
cfc7d5da
SM
102672012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
10268
10269 * electric.el (electric-indent-post-self-insert-function): Check that
10270 electric-indent-mode is enabled in current buffer.
10271
5b01685c
JB
102722012-04-19 Juanma Barranquero <lekktu@gmail.com>
10273
10274 * imenu.el (imenu-progress-message): Restore; it is "used" in
10275 erc/erc-imenu.el and net/snmp-mode.el.
10276
4d6769e1
JB
102772012-04-19 Juanma Barranquero <lekktu@gmail.com>
10278
10279 * avoid.el (mouse-avoidance-mode): Mark unused arg.
10280 (mouse-avoidance-nudge-mouse): Remove unused binding.
10281
10282 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
10283
10284 * descr-text.el (describe-char):
10285 * progmodes/python.el (python-describe-symbol):
10286 Don't call `toggle-read-only', set `buffer-read-only'.
10287
10288 * imenu.el (imenu-default-goto-function): Mark unused args.
10289 (imenu-progress-message): Remove obsolete macro; all callers changed.
10290
10291 * subr.el (keymap-canonicalize): Remove unused binding.
10292 (read-passwd): Mark unused arg.
10293
10294 * tutorial.el (tutorial--display-changes): Remove unused binding.
10295 (tutorial--save-tutorial-to): Remove unused variable.
10296
10297 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
10298 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
10299 (package-generate-autoloads, package-menu--generate)
10300 (package-menu--find-upgrades): Remove unused bindings.
10301
10302 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
10303 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
10304 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
10305 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
10306 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
10307 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
10308 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
10309 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
10310 (cua-delete-char-rectangle): Mark unused args.
10311 (cua-align-rectangle): Remove unused binding.
10312
10313 * mail/rmail.el (compilation--message->loc)
10314 (epa--find-coding-system-for-mime-charset): Declare.
10315
10316 * net/dbus.el (dbus-register-service): Declare.
10317 (dbus-name-owner-changed-handler): Remove unused binding.
10318
10319 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
10320 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
10321 (nxml-scan-backward-within): Mark unused arg.
10322 (nxml-dynamic-markup-word): Remove unused binding.
10323
10324 * mouse.el (mouse-menu-major-mode-map):
10325 * emacs-lisp/authors.el (authors-scan-change-log)
10326 (authors-add-to-author-list):
10327 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
10328 * emacs-lisp/smie.el (smie-auto-fill):
10329 * mail/sendmail.el (mail-bury):
10330 * mail/unrmail.el (unrmail):
10331 * net/tls.el (open-tls-stream):
10332 * textmodes/picture.el (picture-mouse-set-point):
10333 Remove unused bindings.
10334
8c8fc5df
MA
103352012-04-19 Michael Albinus <michael.albinus@gmx.de>
10336
10337 * net/tramp.el (tramp-action-password): Let-bind
10338 `enable-recursive-minibuffers' to t.
10339
a77b0ac9
SS
103402012-04-18 Sam Steingold <sds@gnu.org>
10341
10342 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
10343 instead of 'string to accommodate values like [f11].
10344 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
10345 * progmodes/gdb-mi.el: Likewise.
10346
12a106a9
LL
103472012-04-18 Leo Liu <sdl.web@gmail.com>
10348
10349 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
10350 current buffer.
10351 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
10352 LOCAL is nil.
10353
bc6494ef
CY
103542012-04-18 Chong Yidong <cyd@gnu.org>
10355
10356 * simple.el (line-move): Use forward-line if in batch mode
10357 (Bug#11053).
10358
c09c46b2
CS
103592012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
10360
10361 * files.el (after-find-file): Do not try to add a final newline if
10362 the buffer is read-only (Bug#11156).
10363
5f6530ea
RS
103642012-04-17 Richard Stallman <rms@gnu.org>
10365
10366 * mail/rmail.el (rmail-start-mail):
10367 Pass (rmail-mail-return...) for the return-action.
10368 Pass (rmail-yank-current-message...) for the yank-action.
10369 (rmail-yank-current-message): New function.
10370 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
10371 (rmail-reply): Likewise.
10372 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
10373
10374 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 10375 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
10376 buffer, not newbuf.
10377
197b6f3c
JB
103782012-04-17 Juanma Barranquero <lekktu@gmail.com>
10379
10380 * server.el (server-ensure-safe-dir): Simplify.
10381
2311d8e5 103822012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 10383
2311d8e5
GM
10384 * emacs-lisp/smie.el: Provide smarter auto-filling.
10385 (smie-auto-fill): New function.
10386 (smie-setup): Use it.
98fb480e 10387
2311d8e5
GM
10388 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
10389
103902012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
10391
10392 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
10393 (comment-indent): Use it.
10394
2311d8e5 103952012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
10396
10397 * ses.el: The overall change is to add cell renaming, that is
10398 setting fancy names for cell symbols other than name matching
10399 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 10400 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 10401 (ses-create-cell-variable): New defun.
2311d8e5 10402 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
10403 (ses-relocate-formula): Relocate formulas only for cells the
10404 symbols of which are not renamed, i.e. symbols whose names do not
10405 match regexp "\\`[A-Z]+[0-9]+\\'".
10406 (ses-relocate-all): Relocate values only for cells the symbols of
10407 which are not renamed.
10408 (ses-load): Create cells variables as the (ses-cell ...) are read,
10409 in order to check row col consistency with cell symbol name only
10410 for cells that are not renamed.
10411 (ses-replace-name-in-formula): New defun.
10412 (ses-rename-cell): New defun.
4bdf2ad2 10413
fc72b15c
PO
104142012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
10415
10416 * progmodes/perl-mode.el (perl-indent-parens-as-block):
10417 New option (bug#11118).
10418 (perl-calculate-indent): Respect it.
10419
12e10e61
GM
104202012-04-17 Glenn Morris <rgm@gnu.org>
10421
10422 * dired-aux.el (dired-mark-read-string): Doc fix.
10423
30009afd
DA
104242012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
10425
10426 * dired-aux.el (dired-mark-read-string): Offer optional completion.
10427 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
10428
41f03f4d
GM
104292012-04-17 Glenn Morris <rgm@gnu.org>
10430
10431 * mouse.el (mouse-drag-track):
10432 * speedbar.el (speedbar-frame-mode):
10433 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
10434
f45f90f3
LL
104352012-04-16 Leo Liu <sdl.web@gmail.com>
10436
10437 * progmodes/python.el: Trivial cleanup.
10438
94ee8db5
GM
104392012-04-16 Glenn Morris <rgm@gnu.org>
10440
121b8917
GM
10441 * vc/vc.el (vc-string-prefix-p):
10442 * vc/pcvs-util.el (cvs-string-prefix-p):
10443 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
10444 * mpc.el (mpc-string-prefix-p):
10445 Make all of these into obsolete aliases for string-prefix-p.
10446 Update callers.
10447 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
10448
1197ecfa
GM
10449 * textmodes/two-column.el: Move custom options to the start.
10450 (frame-width): Remove compat definition.
10451 (2C-associate-buffer, 2C-dissociate):
10452 Use with-current-buffer rather than save-excursion.
10453 (2C-dissociate): Force a mode-line update.
10454 (2C-autoscroll): Use ignore-errors.
10455
099e7202
GM
10456 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
10457 Autoload trivia.
10458
bf350d6a
GM
10459 * emacs-lisp/cl-extra.el (*random-state*):
10460 Remove unnecessary declaration.
10461
0e829eab
GM
10462 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
10463
e3ad7552
GM
10464 * play/cookie1.el (cookie-snarf):
10465 Give an explicit error if input file cannot be read.
10466
68892d27
GM
10467 * play/yow.el (yow-file): Use expand-file-name rather than concat.
10468
20f0c46d
GM
10469 * progmodes/perl-mode.el (c-macro-expand):
10470 Remove unnecessary autoload (it is in loaddefs.el).
10471
5a0978ce
GM
10472 * textmodes/picture.el (picture-desired-column)
10473 (picture-update-desired-column): Convert comments to doc-strings.
10474 (picture-substitute): Remove function.
10475 (picture-mode-map): Initialize in the defvar.
10476
6b955486
GM
10477 * woman.el: Remove eval-after-load for tar-mode.
10478 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
10479 (woman-tar-extract-file): Autoload it.
10480
94ee8db5
GM
10481 * frame.el (automatic-hscrolling): Make this alias obsolete.
10482
177eca34
AM
104832012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10484
090bd7cb 10485 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 10486 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
10487 (ispell-dictionary-base-alist): Revert to original XEmacs
10488 friendly version for default. [:alpha:] will be added in
090bd7cb 10489 `ispell-set-spellchecker-params' if needed.
177eca34 10490
c505aaeb
CY
104912012-04-16 Chong Yidong <cyd@gnu.org>
10492
b19dd9d1 10493 * image.el (imagemagick--file-regexp): New variable.
c505aaeb
CY
10494 (imagemagick-register-types): Use it.
10495 (imagemagick-types-inhibit): Add :set function. Allow new value
10496 of t to inhibit all types.
10497
10498 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
10499 so we can preload it.
10500
10501 * loadup.el (fboundp): Preload regexp-opt, needed by
10502 imagemagick-register-types.
10503
60efac0f
CY
105042012-04-15 Chong Yidong <cyd@gnu.org>
10505
10506 * frame.el (scrolling): Remove nearly unused customization group.
10507
10508 * scroll-all.el (scroll-all-mode): Move to windows group.
10509
5dd1713e
CY
105102012-04-15 Chong Yidong <cyd@gnu.org>
10511
10512 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
10513
e6fd457e
CY
105142012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
10515
10516 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 10517 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 10518
e153c136
GM
105192012-04-15 Glenn Morris <rgm@gnu.org>
10520
10521 * simple.el (process-file-side-effects): Doc fix.
10522
e6fd457e 105232012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
10524
10525 * international/mule-cmds.el (set-language-environment): Doc fix.
10526
3603c3b1
JB
105272012-04-14 Juanma Barranquero <lekktu@gmail.com>
10528
10529 * server.el (server-auth-key, server-generate-key): Doc fixes.
10530 (server-get-auth-key): Doc fix. Use `string-match-p'.
10531 (server-start): Reflow docstring.
10532
e6de100c
LI
105332012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
10534
10535 * server.el (server-generate-key): `called-interactively-p'
10536 requires a parameter.
10537
29734c21
MN
105382012-04-14 Michal Nazarewicz <mina86@mina86.com>
10539
10540 * server.el (server-auth-key): New variable.
75f1671a 10541 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
10542 (server-start): Use the new variable and functions to allow
10543 setting a permanent server key (bug#9423).
10544
d65c9521
LL
105452012-04-14 Leo Liu <sdl.web@gmail.com>
10546
10547 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
10548
5ae255c7
PE
105492012-04-14 Paul Eggert <eggert@cs.ucla.edu>
10550
10551 Spelling fixes.
10552 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
10553 Emacs uses American spelling.
10554
d5e6342e
JB
105552012-04-14 Juanma Barranquero <lekktu@gmail.com>
10556
10557 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
10558 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
10559 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
10560 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
10561
ab036cd7
SM
105622012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
10563
10564 * progmodes/which-func.el (which-func-modes): Change default.
10565
35dc09a1 105662012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
10567
10568 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
10569 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
10570
35dc09a1 105712012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
10572
10573 * custom.el (custom-theme-set-variables): Doc fix.
10574
35dc09a1 105752012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
10576
10577 * international/mule.el (set-auto-coding-for-load): Doc fix.
10578
35dc09a1 105792012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 10580
35dc09a1
GM
10581 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
10582 imenu work again for Objective C Mode. Correct the *-index values,
10583 these having been disturbed by a previous change in 2011-08.
57f845ee 10584
0de3da9f
AM
10585 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
10586 Correct two search limits.
10587
35dc09a1 105882012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
10589
10590 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
10591
35dc09a1 105922012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
10593
10594 * international/characters.el: Fix sorting.
10595
35dc09a1 105962012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
10597
10598 * international/characters.el: Add more missing Latin case pairs.
10599
35dc09a1 106002012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
10601
10602 * files.el (dir-locals-set-class-variables): Doc fix.
10603
35dc09a1 106042012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 10605
3f1b5bf8
EZ
10606 * international/characters.el: Add set-case-syntax-pair call for
10607 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
10608 counterpart. (Bug#11209)
10609
9f847f41
EZ
10610 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
10611
35dc09a1 106122012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
10613
10614 * calendar/holidays.el (calendar-check-holidays): Doc fix.
10615
35dc09a1 106162012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 10617
35dc09a1
GM
10618 * textmodes/ispell.el (ispell-dictionary-base-alist):
10619 Add data for Hebrew.
e2627d21 10620
35dc09a1 106212012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 10622
35dc09a1
GM
10623 * net/rcirc.el (rcirc-cmd-quit):
10624 Revert 2012-03-18 change (Bug#11192).
5c14e333 10625
35dc09a1 106262012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
10627
10628 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
10629
35dc09a1 106302012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 10631
4517fe3a
SM
10632 * minibuffer.el (completion-in-region-mode-map):
10633 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 10634
b472a594
VD
106352012-04-13 Vivek Dasmohapatra <vivek@etla.org>
10636
10637 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
10638
09b95ce3
MY
106392012-04-13 Masatake YAMATO <yamato@redhat.com>
10640
10641 * minibuffer.el (minibuffer-local-filename-syntax): New variable
10642 to allow `C-M-f' and `C-M-b' to move to the nearest path
10643 separator (bug#9511).
10644
4b63a9ca
LI
106452012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
10646
10647 * avoid.el: Require cl when compiling. And also move the
10648 `provide' to the end.
10649
7b55b8bf
TV
106502012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10651
10652 * avoid.el (mouse-avoidance-banish-position): New variable.
10653 (mouse-avoidance-banish-destination): Use it (bug#10165).
10654
adedaa1f
LL
106552012-04-13 Leo Liu <sdl.web@gmail.com>
10656
10657 * progmodes/which-func.el (which-func-modes): Add objc-mode.
10658
70e74021
KB
106592012-04-13 Ken Brown <kbrown@cornell.edu>
10660
10661 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 10662 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
10663 (browse-url-filename-alist): For the same reason, don't modify
10664 file:// URLs on Cygwin.
10665
e75e89ba
SM
106662012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
10667
10668 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
10669 the region on shift if the binding is already shifted (bug#11221).
10670
82f289a4
GM
106712012-04-12 Glenn Morris <rgm@gnu.org>
10672
10673 * mail/mailpost.el: Move to obsolete/.
10674
d333dc4c
DA
106752012-04-12 Drew Adams <drew.adams@oracle.com>
10676
10677 * imenu.el (imenu--generic-function): Ignore invisible definitions
10678 (bug#10123).
10679
0d15b5ba
VD
106802012-04-12 Vivek Dasmohapatra <vivek@etla.org>
10681
10682 * hexl.el (hexl-bits): New variable.
10683 (hexl-options): Mention the variable in the doc string.
75f1671a 10684 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 10685 (hexl-mode): Mention the new variable.
75f1671a
JB
10686 (hexl-mode, hexl-current-address, hexl-current-address):
10687 Use the displen.
0d15b5ba
VD
10688 (hexl-ascii-start-column): New function.
10689 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
10690 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
10691
64a440db
AM
106922012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10693
10694 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
10695 '("-i" ENCODING), in 2 separate command-line arguments, to specify
10696 the encoding, as expected by hunspell.
10697
6decb6c2
SM
106982012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
10699
10700 * battery.el (battery--linux-sysfs-regexp): New const.
10701 (battery-status-function): Use it. Remove yeeloong special case.
10702 (battery-yeeloong-sysfs): Remove.
10703 (battery-echo-area-format): Remove yeeloong special case.
10704
088be6fb
SM
107052012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
10706
6622e416
SM
10707 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
10708 Reported by Noah Friedman.
10709
088be6fb
SM
10710 * subr.el (read-passwd): Use read-string.
10711
b49f886e
LMI
107122012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
10713
10714 * vcursor.el (vcursor-move): Increase the priority of the overlay
10715 (bug#9663).
10716
a63067fc
DD
107172012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
10718
10719 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
10720 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
10721
ac3cf14a
WS
107222012-04-11 William Stevenson <yhvh2000@gmail.com>
10723
10724 * textmodes/artist.el (artist-mode): Convert artist-mode to use
10725 define-minor-mode (bug#10760).
10726
c4fc691b 107272012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 10728
4d6769e1 10729 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
10730 that directories matching `grep-find-ignored-files' won't be
10731 pruned (bug#10351).
10732
af23e2e5
CY
107332012-04-11 Chong Yidong <cyd@gnu.org>
10734
10735 * startup.el (command-line): Remove support for long-obsolete
10736 variable font-lock-face-attributes.
10737
ab7ce8c1
GM
107382012-04-11 Glenn Morris <rgm@gnu.org>
10739
10740 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
10741
de8c03dc
SM
107422012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
10743
10744 * window.el (window--state-get-1): Obey window-point-insertion-type.
10745
050cc68b
LB
107462012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
10747
10748 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
10749 to previous function when point is on the first character of a
75f1671a 10750 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 10751
a38c310c
GM
107522012-04-11 Glenn Morris <rgm@gnu.org>
10753
effed0c2
GM
10754 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
10755 not just file-errors.
10756
a38c310c
GM
10757 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
10758 (vc-bzr-sha1): Use internal sha1.
10759
0221e323
SM
107602012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
10761
10762 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
10763
43956923
SG
107642012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
10765
10766 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
10767 that start in the middle of the line (bug#10496).
10768
6a8c9eaf
DN
107692012-04-10 Dan Nicolaescu <dann@gnu.org>
10770
10771 * battery.el (battery-linux-proc-acpi): Only one battery is
10772 discharged at a time, but that seems to confuse battery.el when
10773 computing `rate-type' for the battery not being discharged
10774 (bug#10332).
10775
1930bf5d
SM
107762012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
10777
2a718f6f
SM
10778 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
10779
599430d0
SM
10780 * international/quail.el: Use dolist and simplify.
10781 (quail-define-package, quail-update-keyboard-layout)
10782 (quail-define-rules): Use dolist.
10783 (quail-insert-kbd-layout, quail-get-translation): CSE.
10784
a2754b6c
SM
10785 * tmm.el: Use dolist, remove left over hook.
10786 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
10787 Use dolist.
10788 (calendar-load-hook): Don't mess with it.
10789
1930bf5d
SM
10790 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
10791 Use derived-mode-p. Run the diff asynchronously.
10792
9f67961c
LMI
107932012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
10794
10795 * obsolete/mouse-sel.el: Add an Obsolete-since header.
10796
2a8ce227
JB
107972012-04-10 Juanma Barranquero <lekktu@gmail.com>
10798
10799 * misc.el: Display absolute path of loaded DLLs (bug#10424).
10800 (list-dynamic-libraries--loaded): New function.
10801 (list-dynamic-libraries--refresh): Use it.
10802
8f33b5f8
NW
108032012-04-10 Nathan Weizenbaum <nweiz@google.com>
10804
1930bf5d
SM
10805 * progmodes/python.el (python-fill-paragraph):
10806 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
10807 disabled (bug#7018).
10808
b12f0439
L
108092012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
10810
1930bf5d 10811 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
10812 DOS/MS Windows for the Baltic languages. There are still plenty
10813 of texts written in this encoding/codepage (bug#6519).
b12f0439 10814
57c3bd01
GM
108152012-04-10 Glenn Morris <rgm@gnu.org>
10816
10817 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
10818 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
10819
6c3eab30
FA
108202012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
10821
1930bf5d 10822 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
10823 next-line "n" and previous-line "p" in order to make recentf more
10824 consistent with ibuffer, dired or org-mode (bug#9387).
10825
24d78a88
LMI
108262012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
10827
bc72b5d9
LMI
10828 * image.el (put-image): Return the overlay created instead of the
10829 optional input string (bug#7834). Note that this may break code
10830 that is (for some reason or other) depending on `put-image'
10831 returning the string.
10832
bd2dba5a
LMI
10833 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
10834
74beb59f
LMI
10835 * simple.el (zap-to-char): Allow zapping using input methods
10836 (bug#1580).
10837
24d78a88
LMI
10838 * textmodes/fill.el (fill-region): Leave point and mark where they
10839 were before filling (bug#5399).
10840
263f20cd
GM
108412012-04-09 Glenn Morris <rgm@gnu.org>
10842
10843 * version.el (emacs-bzr-get-version):
10844 Handle lightweight checkouts of local branches.
10845
58d1f797
AS
108462012-04-09 Andreas Schwab <schwab@linux-m68k.org>
10847
263f20cd 10848 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 10849
b4d3bc10
CY
108502012-04-09 Chong Yidong <cyd@gnu.org>
10851
10852 * custom.el (custom-variable-p): Return nil for non-symbol
10853 arguments instead of signaling an error.
10854 (user-variable-p): Obsolete alias for custom-variable-p.
10855
10856 * apropos.el (apropos-variable):
10857 * files-x.el (read-file-local-variable):
10858 * simple.el (set-variable):
10859 * woman.el (woman-mini-help):
10860 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
10861
fd06db5d
GM
108622012-04-09 Glenn Morris <rgm@gnu.org>
10863
e5fcdb5e
GM
10864 * startup.el (normal-top-level): Don't look for leim-list.el
10865 in places where it will not be found. (Bug#910)
10866
fd06db5d
GM
10867 * international/mule-cmds.el (set-default-coding-systems):
10868 * files.el (normal-mode):
10869 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
10870 This function was removed with ucs-tables.el in 2008.
10871
b39bb7e1
EZ
108722012-04-08 Eli Zaretskii <eliz@gnu.org>
10873
10874 * textmodes/ispell.el (ispell-check-version): For hunspell, set
10875 ispell-encoding8-command to "-i", without a trailing space.
10876 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
10877 separate command-line arguments, to specify the encoding, since
10878 that's how hunspell expects it.
10879
5c5b8e23
GM
108802012-04-08 Glenn Morris <rgm@gnu.org>
10881
10882 * loadup.el: Load bindings before cus-start.
10883 This reduces somewhat the number of "rogue" settings in emacs -Q.
10884
a1ed8b05
GM
108852012-04-07 Glenn Morris <rgm@gnu.org>
10886
10887 * version.el (emacs-bzr-get-version): New function.
dfae128a 10888 (emacs-bzr-version): New variable.
a1ed8b05
GM
10889 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
10890 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
10891
b142f158
EZ
108922012-04-07 Eli Zaretskii <eliz@gnu.org>
10893
dfae128a
GM
10894 * international/uni-bidi.el, international/uni-category.el:
10895 * international/uni-combining.el, international/uni-decimal.el:
10896 * international/uni-decomposition.el, international/uni-digit.el:
10897 * international/uni-lowercase.el, international/uni-mirrored.el:
10898 * international/uni-name.el, international/uni-numeric.el:
10899 * international/uni-titlecase.el, international/uni-uppercase.el:
10900 Update for Unicode 6.1.
b142f158 10901
9078ead6
EZ
109022012-04-07 Eli Zaretskii <eliz@gnu.org>
10903
10904 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
10905
f23d2c7d
LMI
109062012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
10907
10908 * window.el (shrink-window): Mention the `window-min-height'
10909 variable in the doc string.
10910
0a0a3573
BG
109112012-04-05 Bastien Guerry <bzg@altern.org>
10912
10913 * color.el (color-lighten-name): Fix typo.
10914
e5248ac9
SM
109152012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
10916
10917 * server.el (server--on-display-p): New function.
10918 (server--on-display-p): Use it.
10919
b4243e22
GV
109202012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
10921
10922 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
10923 (bug#11145).
10924
305d9f44
SM
109252012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
10926
10927 * comint.el (comint--common-quoted-suffix): Check string boundary
10928 before comparing (bug#11158).
10929 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
10930
3d439cd1
CY
109312012-04-04 Chong Yidong <cyd@gnu.org>
10932
321cc491
CY
10933 * minibuffer.el (completion-extra-properties): Doc fix.
10934
3d439cd1
CY
10935 * subr.el (delayed-warnings-hook): Doc fix.
10936
2d562c0f
DU
109372012-04-04 Daiki Ueno <ueno@unixuser.org>
10938
10939 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
10940 selection (Bug#11159).
10941 (epa-insert-keys): Inform that the default public key will be
10942 exported if no key is selected.
10943
4443f204
RS
109442012-04-04 Richard Stallman <rms@gnu.org>
10945
10946 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
10947
529c06b6
CY
109482012-04-03 Chong Yidong <cyd@gnu.org>
10949
10950 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
10951 mail-insert-file, not its obsolete alias mail-attach-file.
10952
66b907dc
MA
109532012-04-03 Michael Albinus <michael.albinus@gmx.de>
10954
10955 * notifications.el (notifications-notify): Fix docstring.
10956
c0ea195d
GM
109572012-04-02 Glenn Morris <rgm@gnu.org>
10958
10959 * emacs-lisp/authors.el (authors-aliases): Another addition.
10960
5ca64e00
MA
109612012-04-02 Michael Albinus <michael.albinus@gmx.de>
10962
10963 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
10964 `tramp-compat-call-process' instead of `tramp-local-call-process'.
10965 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
10966
42ee526b
CY
109672012-04-01 Chong Yidong <cyd@gnu.org>
10968
10969 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
10970 Handle root directory properly.
10971 (copy-directory): Caller changed.
10972
10973 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
10974 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
10975
0b021094
GM
109762012-03-31 Glenn Morris <rgm@gnu.org>
10977
40f86458
GM
10978 * term/xterm.el (xterm-extra-capabilities): Doc fix.
10979
7019c177
GM
10980 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
10981
a1daddd6
GM
10982 * calendar/calendar.el (calendar-window-list)
10983 (calendar-hide-window): Restore. (Bug#11140)
10984 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
10985
0b021094
GM
10986 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
10987
40311efc
TV
109882012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10989
10990 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
10991 Check if file is a symlink (Bug#10489).
10992
10993 * files.el (copy-directory): Likewise.
10994
5319014e
CY
109952012-03-30 Chong Yidong <cyd@gnu.org>
10996
10997 * image.el (imagemagick-types-inhibit)
10998 (imagemagick-register-types): Doc fix.
10999
935d1290
AM
110002012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11001
090bd7cb 11002 * textmodes/ispell.el (ispell-get-extended-character-mode):
ef24141c 11003 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 11004 and treats ~word as ordinary words in pipe mode.
935d1290 11005
61c6e8fd
GM
110062012-03-30 Glenn Morris <rgm@gnu.org>
11007
11008 * tutorial.el (help-with-tutorial): Ensure local variables don't
11009 happen to make the buffer read-only. (Bug#11127)
11010
81fdff00
SM
110112012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
11012
11013 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
11014 (perl-calculate-indent): Return `noindent' in strings.
11015
6e7a6ec0
SS
110162012-03-28 Sam Steingold <sds@gnu.org>
11017
11018 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
11019 instead of the broken adhockery which does not prevent calendar
11020 buffers from being displayed at random after exit.
11021 (calendar-window-list, calendar-hide-window): Remove the broken
11022 adhockery.
11023
fee88ca0
GM
110242012-03-28 Glenn Morris <rgm@gnu.org>
11025
11026 * replace.el (query-replace-map): Doc fix.
11027
38de3354
AS
110282012-03-28 Andreas Schwab <schwab@linux-m68k.org>
11029
11030 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
11031 contents. (Bug#11109)
11032
b973155e
SM
110332012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
11034
11035 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
11036 (bug#11077).
11037 (avl-tree--check, avl-tree--check-node): New funs.
11038
dcb6e7b3
MR
110392012-03-27 Martin Rudalics <rudalics@gmx.at>
11040
11041 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
11042 (switch-to-prev-buffer, switch-to-next-buffer):
11043 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
11044 showing a buffer already is done on the same frame.
11045
b4fa35fa
GM
110462012-03-27 Glenn Morris <rgm@gnu.org>
11047
11048 * startup.el (mail-host-address): Doc fix.
11049
f9210e18
SM
110502012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
11051
11052 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
11053 than 197 variables.
11054
c0bf7753
AF
110552012-03-26 Ami Fischman <ami@fischman.org>
11056
11057 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
11058
33da7b16
GM
110592012-03-26 Glenn Morris <rgm@gnu.org>
11060
02243d9d
GM
11061 * files.el (save-buffers-kill-emacs): Doc fix.
11062
33da7b16
GM
11063 * startup.el (normal-top-level, command-line, command-line-1):
11064 Give them doc strings.
11065
e5a69fd0
EZ
110662012-03-25 Eli Zaretskii <eliz@gnu.org>
11067
11068 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 11069 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 11070
9a69676a
CY
110712012-03-25 Chong Yidong <cyd@gnu.org>
11072
4125cb8b
CY
11073 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
11074 theme if it was previously enabled before (Bug#11031).
11075
dd470960
CY
11076 * cus-theme.el (custom-theme-write-faces): Retrieve current face
11077 spec with custom-face-get-current-spec if its :shown-value is not
11078 determined yet (Bug#9337).
4125cb8b 11079 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 11080
9a69676a
CY
11081 * button.el (button-at): Minor addition to docstring.
11082
6e7e90fa
SL
110832012-03-24 Simon Leinen <simon.leinen@gmail.com>
11084
11085 * vc/vc.el (vc-merge): Fix a prompt.
11086
f06e2758
CY
110872012-03-24 Chong Yidong <cyd@gnu.org>
11088
11089 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
11090 point (Bug#9623).
11091
6e7e90fa
SL
11092 * button.el (button-at): Minor addition to docstring.
11093
b9d0879b
SM
110942012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
11095
11096 * newcomment.el (comment-choose-indent): No space after BOL.
11097
e71cebb3
SS
110982012-03-22 Sam Steingold <sds@gnu.org>
11099
11100 * window.el (switch-to-prev-buffer): Revert last patch because the
11101 bug turned out to be an advertised feature (Elisp manual 28.14).
11102
335aff35
GM
111032012-03-22 Glenn Morris <rgm@gnu.org>
11104
11105 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
11106 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
11107
c676576a
LMI
111082012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
11109
11110 * net/network-stream.el (network-stream-open-starttls): Make error
11111 message under Windows be less misleading.
11112
126f3d39
LW
111132012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
11114
11115 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
11116 understands (bug#9942).
11117
64fee311
CY
111182012-03-22 Chong Yidong <cyd@gnu.org>
11119
11120 * simple.el (end-of-visible-line): Handle return value of
11121 next-single-property-change properly (Bug#9371).
11122
a640d29a
KH
111232012-03-22 Kenichi Handa <handa@m17n.org>
11124
11125 * international/quail.el (quail-insert-kbd-layout): Fix previous
11126 change. To avoid unwanted bidi reordering, use
11127 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
11128
39675016
DG
111292012-03-21 Dmitry Gutov <dgutov@yandex.ru>
11130
11131 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
11132 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
11133 (ruby-beginning-of-indent): Be more careful with the difference
11134 between word-boundary and symbol boundary.
11135 (ruby-mode-syntax-table): Make : a symbol constituent.
11136
0a6934fc 111372012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 11138
3d008e4f
SM
11139 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
11140
0a6934fc
SM
111412012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
11142
af67c9d7
SM
11143 * progmodes/etags.el (tags-completion-at-point-function):
11144 Improve last fix.
11145
1acad97c
SM
11146 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
11147
e298b5da
SS
111482012-03-21 Sam Steingold <sds@gnu.org>
11149
11150 * progmodes/etags.el (tags-completion-at-point-function):
11151 Avoid the error when point is inside the pattern.
11152
91d82a70
JY
111532012-03-21 John Yates <john@yates-sheets.org> (tiny change)
11154
11155 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
11156 line (Bug#10855).
11157
69188b79
CY
111582012-03-21 Drew Adams <drew.adams@oracle.com>
11159
11160 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
11161
99fc91fe
AK
111622012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
11163
11164 * ido.el (ido-set-current-directory, ido-read-internal)
11165 (ido-choose-completion-string, ido-completion-help): Handle nil
11166 value of ido-completion-buffer (Bug#11008).
11167
087bbb4c
SS
111682012-03-21 Sam Steingold <sds@gnu.org>
11169
11170 * window.el (switch-to-prev-buffer): Do not switch to a visible
11171 window previous buffer, just like with the frame previous buffers.
11172
fb5b8aca
CY
111732012-03-21 Chong Yidong <cyd@gnu.org>
11174
11175 * faces.el (make-face, make-empty-face, copy-face):
11176 * face-remap.el (face-remap-add-relative, face-remap-set-base):
11177 Doc fixes.
11178
dc9924b8
SM
111792012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
11180
11181 * wid-edit.el (widget-complete-field): Remove (bug#11051).
11182 (widget-complete): Remove broken use of it.
11183
f0bcceb9
CY
111842012-03-20 Chong Yidong <cyd@gnu.org>
11185
dc9924b8
SM
11186 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
11187 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
11188 characters.
11189
ee52ebf3
TH
111902012-03-20 Tassilo Horn <tassilo@member.fsf.org>
11191
11192 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
11193 to draw rectangles, not squares. (Regression introduced by revno
11194 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
11195
4c5779ab
CY
111962012-03-18 Chong Yidong <cyd@gnu.org>
11197
11198 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
11199 it is not yet defined (for temacs).
11200
15360934
LL
112012012-03-18 Leo Liu <sdl.web@gmail.com>
11202
735135f9
PE
11203 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
11204 prefix.
15360934 11205
d9a8eb66
EZ
112062012-03-17 Eli Zaretskii <eliz@gnu.org>
11207
11208 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
11209 (ispell-choices-win-default-height, ispell-silently-savep)
11210 (ispell-dictionary-alist, ispell-encoding8-command)
11211 (ispell-check-version, ispell-aspell-find-dictionary)
11212 (ispell-valid-dictionary-list, ispell-words-keyword)
11213 (ispell-get-word, ispell-internal-change-dictionary)
11214 (ispell-region, ispell-skip-region-list)
11215 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
11216 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
11217 (ispell-message-text-end, ispell-message)
11218 (ispell-buffer-local-parsing): Doc fix.
11219
f02ff80d
J
112202012-03-13 Jambunathan K <kjambunathan@gmail.com>
11221
11222 * htmlfontify.el: Add support for code block fontification for ODT
11223 export (Bug #9914).
11224 (hfy-optimisations): Define new option
11225 `body-text-only'
11226 (hfy-fontify-buffer): Honor above setting.
11227 (hfy-begin-span, hfy-end-span): New routines factored out form
11228 `hfy-fontify-buffer'.
11229 (hfy-begin-span-handler, hfy-end-span-handler): New variables
11230 that permit insertion of custom tags.
11231 (hfy-fontify-buffer): Use above handlers.
11232 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
11233 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 11234 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 11235 over multiple runs. This is made possible by having the caller let
f02ff80d
J
11236 bind a special variable `hfy-user-sheet-assoc'.
11237 (htmlfontify-string): New defun.
11238 (hfy-compile-face-map): Make sure that the last char in the
11239 buffer is correctly fontified.
11240 (hfy-face-resolve-face): Whitespace only change.
11241
9ac7a13f
EZ
112422012-03-17 Eli Zaretskii <eliz@gnu.org>
11243
11244 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
11245 message more clear.
11246
e2b5bdd7
LL
112472012-03-16 Leo Liu <sdl.web@gmail.com>
11248
11249 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
11250
2e492df3
AM
112512012-03-16 Alan Mackenzie <acm@muc.de>
11252
11253 Further optimise the handling of large macros.
11254
11255 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
11256 limit to a call of `c-literal-limits'.
11257 (c-determine-+ve-limit): New function.
dc9924b8
SM
11258 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
11259 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
11260 In CASE 5B, restrict a search limit to 500.
11261 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
11262
11263 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
11264 Restrict macro bounds to +-500 from after-change's BEG END.
11265
50e94f0c
LL
112662012-03-16 Leo Liu <sdl.web@gmail.com>
11267
11268 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
11269
6f09f6ed
AH
112702012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
11271
11272 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 11273 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 11274
c7e73d51
GM
112752012-03-16 Glenn Morris <rgm@gnu.org>
11276
da986230
GM
11277 * view.el (view-buffer, view-buffer-other-window)
11278 (view-buffer-other-frame): Doc fixes re special mode-class.
11279
0835f01e
GM
11280 * subr.el (eval-after-load): If named feature is provided not from
11281 a file, run after-load forms. (Bug#10946)
11282
c7e73d51
GM
11283 * calendar/calendar.el (calendar-insert-at-column):
11284 Handle non-unit-width characters a bit better. (Bug#10978)
11285
3f2eafd1
CY
112862012-03-15 Chong Yidong <cyd@gnu.org>
11287
11288 * emacs-lisp/ring.el (ring-extend): New function.
11289 (ring-insert+extend): Extend the ring correctly (Bug#11019).
11290
11291 * comint.el (comint-read-input-ring)
11292 (comint-add-to-input-history): Grow comint-input-ring lazily.
11293
103af3fe
SM
112942012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
11295
663b1677
SM
11296 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
11297 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
11298
103af3fe
SM
11299 * imenu.el: Fix multiple inheritance breakage (bug#9199).
11300 (imenu-add-to-menubar): Don't add a redundant index.
11301 (imenu-update-menubar): Handle a dynamically composed keymap.
11302
899cb7cb
KY
113032012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
11304
11305 * mail/sendmail.el (mail-encode-header):
11306 Bind rfc2047-encode-encoded-words to nil.
11307
3809f91d
GM
113082012-03-13 Glenn Morris <rgm@gnu.org>
11309
11310 * calendar/calendar.el (calendar-string-spread):
11311 Handle non-unit-width characters a bit better. (Bug#10978)
11312
9e345a01
LL
113132012-03-13 Leo Liu <sdl.web@gmail.com>
11314
11315 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
11316 directory and file as argument (Bug#10822).
11317
4a07df36
KS
113182012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
11319
11320 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
11321 For dynamically generated code, follow $PC.
11322 (gdb-disassembly-handler-custom): Handle no function name case.
11323
4aaa9356
TL
113242012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
11325
11326 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
11327 * emulation/ws-mode.el (ws-query-replace):
11328 * sort.el (sort-regexp-fields):
11329 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
11330
225979da
SM
113312012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
11332
11333 * dabbrev.el: Fix cycle completion order (bug#10963).
11334 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
11335 (dabbrev-completion): Don't use an obarray; provide
11336 a cycle-sort-function.
11337
e2f1fdab
LL
113382012-03-12 Leo Liu <sdl.web@gmail.com>
11339
dc9924b8 11340 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
11341 (kill-do-not-save-duplicates): Doc fix.
11342
b19490ed
SM
113432012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
11344
11345 * dabbrev.el: Fix cycle completion (bug#10963).
11346 Use lexical binding and wrap to 80 columns.
11347 (dabbrev-completion): Delay computing the list of completions.
11348
4b05d722
KH
113492012-03-12 Kenichi Handa <handa@m17n.org>
11350
11351 * international/quail.el (quail-insert-kbd-layout): Surround each
11352 row by LRO and PDF instead of inserting many LRMs. Pad the left
11353 and right of each non-spacing marks. Insert invisible space
11354 between lower and upper characters to prevent composition.
11355
dbbc2e69
SM
113562012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
11357
11358 * minibuffer.el (minibuffer-complete): Don't get confused when the
11359 function is run twice via different commands (bug#10958).
11360 (complete-with-action): Fix docstring.
11361
292112ed
CY
113622012-03-12 Chong Yidong <cyd@gnu.org>
11363
5d1ac394
CY
11364 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
11365 (nxml-completion-at-point-function): New function.
11366 (nxml-mode): Use it.
11367 (nxml-bind-meta-tab-to-complete-flag): Default to t.
11368
292112ed
CY
11369 * emacs-lisp/package.el (package-unpack, package-unpack-single):
11370 Load generated autoloads file before byte compiling (Bug#10970).
11371 (package--make-autoloads-and-compile): New helper fun.
11372
4098f8f7
CS
113732012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
11374
11375 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
11376
8f754691
MA
113772012-03-11 Michael Albinus <michael.albinus@gmx.de>
11378
11379 * autorevert.el (auto-revert-handler): Ensure, that
11380 file-readable-p is applied only for local files or in
11381 auto-revert-tail-mode.
11382
e29ab36b
AS
113832012-03-11 Andreas Schwab <schwab@linux-m68k.org>
11384
dbbc2e69
SM
11385 * server.el (server-eval-at): Handle non-tcp connections.
11386 Decode result string.
ad0bf5b6 11387
e29ab36b
AS
11388 * server.el (server-msg-size): New constant.
11389 (server-reply-print): New function.
11390 (server-eval-and-print): Use it.
11391 (server-eval-at): Use server-quote-arg and server-unquote-arg.
11392 Handle -print-nonl.
11393
de5939ba
CS
113942012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
11395
11396 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
11397 (Bug#10987).
11398
0c93eabf
CY
113992012-03-11 Chong Yidong <cyd@gnu.org>
11400
397a688f
CY
11401 * simple.el (goto-line): Doc fix (Bug#9938).
11402
2cc775f9
CY
11403 * subr.el (save-window-excursion): Doc fix (Bug#9979).
11404
0c93eabf
CY
11405 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
11406 when finished (Bug#10963).
11407
c491fa41
MR
114082012-03-11 Martin Rudalics <rudalics@gmx.at>
11409
11410 * window.el (split-window-below): Fix bug in case where
11411 split-window-keep-point is nil (Bug#10971).
11412
300e8fa5
JL
114132012-03-11 Juri Linkov <juri@jurta.org>
11414
11415 * replace.el (replace-highlight): Set isearch-word to nil
11416 unconditionally. (Bug#10887)
11417
dbf6c5a1
EZ
114182012-03-10 Eli Zaretskii <eliz@gnu.org>
11419
11420 * net/mairix.el (mairix-replace-invalid-chars): Rename from
11421 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 11422 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
11423 (mairix-widget-create-query): Add usage information about mairix
11424 search forms: negating words, searching for substrings, etc.
11425
b9e501de
JP
114262012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
11427
11428 * international/fontset.el (font-encoding-alist): Add an entry for
11429 ksx1001 (Bug#5667).
11430
92795c91
RS
114312012-03-10 Richard Stallman <rms@gnu.org>
11432
1694e6c1
RS
11433 * mail/sendmail.el (mail-encode-header):
11434 Set rfc2047-encode-encoded-words.
11435
607e8555
RS
11436 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
11437
de3bc99a
RS
11438 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
11439 view buffer means not swapped.
11440 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
11441 (rmail-write-region-annotate): Error if real text has disappeared.
11442
92795c91
RS
11443 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
11444
699bd04e
CY
114452012-03-10 Chong Yidong <cyd@gnu.org>
11446
11447 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
11448 * emulation/cua-base.el (cua--init-keymaps):
11449 Add delete-forward-char to remappings (Bug#9666).
699bd04e 11450
570a1714
MR
114512012-03-10 Martin Rudalics <rudalics@gmx.at>
11452
dbbc2e69
SM
11453 * speedbar.el (speedbar-unhighlight-one-tag-line):
11454 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 11455
82dcf4e4
CY
114562012-03-10 Chong Yidong <cyd@gnu.org>
11457
7a2c7ca7
CY
11458 * minibuffer.el (completion-in-region, completion-help-at-point):
11459 Give the completion field overlay a high priority (Bug#6830).
11460
82dcf4e4
CY
11461 * dired.el (dired-goto-file): Recognize absolute file name
11462 listings (Bug#7126).
11463 (dired-goto-file-1): New helper function.
11464 (dired-toggle-read-only): Inhibit warnings.
11465
052e28ac
MA
114662012-03-09 Michael Albinus <michael.albinus@gmx.de>
11467
75f1671a 11468 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
11469 there are no properties.
11470
95d5e396
LL
114712012-03-09 Leo Liu <sdl.web@gmail.com>
11472
11473 * savehist.el (savehist-printable): Stricter check for string
11474 value (Bug#10937).
11475
3f018d6d
EZ
114762012-03-09 Eli Zaretskii <eliz@gnu.org>
11477
dbbc2e69
SM
11478 * mail/smtpmail.el (smtpmail-send-it):
11479 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
11480 valid mbox format.
11481
f7fd3d79
GM
114822012-03-09 Glenn Morris <rgm@gnu.org>
11483
11484 * files.el (dir-locals-find-file):
11485 Don't check result is regular, readable.
11486 (dir-locals-read-from-file): Demote errors.
11487
6ff6e72f
EZ
114882012-03-08 Eli Zaretskii <eliz@gnu.org>
11489
dbbc2e69
SM
11490 * international/quail.el (quail-insert-kbd-layout):
11491 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
11492 layout cell, to prevent their reordering by bidi display engine.
11493 For details, see the discussion in
11494 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
11495
9cec7834
AM
114962012-03-08 Alan Mackenzie <acm@muc.de>
11497
11498 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
11499 the starting position; make it extend the marked region when
11500 invoked repeatedly - all under appropriate circumstances.
11501 Fixes bugs #5525, #10906.
11502
9a40b8d4
GM
115032012-03-08 Glenn Morris <rgm@gnu.org>
11504
11505 * files.el (locate-dominating-file, dir-locals-find-file):
11506 Undo 2012-03-06 change.
11507
7a08ed35
EZ
115082012-03-07 Eli Zaretskii <eliz@gnu.org>
11509
dbbc2e69
SM
11510 * international/quail.el (quail-help):
11511 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
11512 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
11513 for the reason.
11514
5aca4f71 115152012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
11516
11517 Avoid superfluous registering of signals. (Bug#10807)
11518
11519 * notifications.el (notifications-on-action-object)
11520 (notifications-on-close-object): New defvars.
11521 (notifications-on-action-signal, notifications-on-closed-signal):
11522 Unregister the signal if not needed any longer.
11523 (notifications-notify): Register `notifications-action-signal' or
11524 `notifications-closed-signal', if :on-action or :on-close has been
11525 passed as argument.
11526
78e8b10a
CY
115272012-03-07 Chong Yidong <cyd@gnu.org>
11528
11529 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
11530 non-X platforms.
11531
69481eb8
GM
115322012-03-06 Glenn Morris <rgm@gnu.org>
11533
11534 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
11535 (x-disown-selection-internal, x-get-selection-internal):
11536 Doc fix (add arglist signatures). (Bug#10783)
11537
133b8e11
KS
115382012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
11539
11540 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
11541 Handle breakpoints with no "type".
11542
99a83064
GM
115432012-03-06 Glenn Morris <rgm@gnu.org>
11544
11545 * files.el (locate-dominating-file): Add optional predicate argument.
11546 (dir-locals-find-file): Make use of above change.
11547
17798e78
TTN
115482012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
11549
11550 * info.el (Info-insert-dir): Also try "dir.gz".
11551
eb182446
GM
115522012-03-06 Glenn Morris <rgm@gnu.org>
11553
8f2114ee
GM
11554 * files.el (dir-locals-find-file):
11555 Ignore non-readable or non-regular files. (Bug#10928)
11556
eb182446
GM
11557 * files.el (locate-dominating-file): Doc fix.
11558
24679323
AS
115592012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
11560
11561 * calendar/calendar.el (calendar-set-mode-line):
11562 `getenv' returns a string. (Bug#10951)
11563
01d972a9
LL
115642012-03-05 Leo Liu <sdl.web@gmail.com>
11565
109aa8a9
LL
11566 * simple.el (backward-delete-char-untabify): Constrain point to
11567 field (Bug#10939).
11568
01d972a9
LL
11569 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
11570
10607bea
CY
115712012-03-05 Chong Yidong <cyd@gnu.org>
11572
11573 * simple.el (count-words): If called from Lisp, return the word
11574 count, for symmetry with `count-lines'. Arglist changed.
11575 (count-words--message): Args changed. Consolidate counting code
11576 from count-words and count-words-region.
11577 (count-words-region): Caller changed.
11578 (count-lines-region): Make it an obsolete alias.
11579
5dd11cfe
TH
115802012-03-04 Tassilo Horn <tassilo@member.fsf.org>
11581
11582 * saveplace.el (save-place-to-alist)
11583 (save-place-ignore-files-regexp): Allow value nil to disable this
11584 feature.
11585
c349f4e6
CY
115862012-03-04 Chong Yidong <cyd@gnu.org>
11587
11588 * faces.el (face-spec-reset-face): For the default face, reset the
11589 attributes to default values (Bug#10748).
11590
e627be4c
LMI
115912012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
11592
11593 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
11594 previous patch: Check `message-send-mail-function', and not the
11595 default function (bug#10897).
11596
ebeabff4
MA
115972012-03-04 Michael Albinus <michael.albinus@gmx.de>
11598
a41a6cf4
MA
11599 * notifications.el (notifications-on-action-signal)
11600 (notifications-on-closed-signal): Check for unique service name of
11601 incoming event. Fix error in removing entry.
ebeabff4 11602 (top): Register for signals with wildcard service name.
a41a6cf4 11603 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 11604
c1ca42b4
CY
116052012-03-04 Chong Yidong <cyd@gnu.org>
11606
dc9924b8 11607 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 11608
ea16568d
GM
116092012-03-04 Glenn Morris <rgm@gnu.org>
11610
11611 * abbrev.el (copy-abbrev-table, abbrev-table-p)
11612 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
11613 (expand-abbrev, define-abbrev-table): Doc fixes.
11614
fbae4637
LMI
116152012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
11616
11617 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
11618 `message-default-send-mail-function' and not `send-mail-function'
11619 when doing the prompting for `sendmail-query-once' before sending
11620 in Message buffers (bug#10897).
11621
a1e7225c
LMI
11622 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
11623 This is inconsistent with all the other stream functions, which leave
11624 the setting up to the higher levels (if so wanted) (bug#10931).
11625
56d093a9
AM
116262012-03-02 Alan Mackenzie <acm@muc.de>
11627
11628 Depessimize the handling of very large macros.
11629
11630 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
11631 (c-macro-cache-syntactic): New variables to implement a one
11632 element macro cache.
11633 (c-invalidate-macro-cache): New function.
11634 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
11635 Adapt to use the new cache.
11636 (c-state-safe-place): Use better the cache of safe positions.
11637 (c-state-semi-nonlit-pos-cache)
11638 (c-state-semi-nonlit-pos-cache-limit):
11639 New variables for...
11640 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
11641 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
11642 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
11643 Use c-state-semi-safe-place.
56d093a9 11644
dbbc2e69
SM
11645 * progmodes/cc-langs.el (c-get-state-before-change-functions):
11646 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 11647
817e5c3d
MA
116482012-03-02 Michael Albinus <michael.albinus@gmx.de>
11649
dbbc2e69
SM
11650 * jka-compr.el (jka-compr-call-process):
11651 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
11652 not remote.
11653
a032a702
MA
116542012-03-01 Michael Albinus <michael.albinus@gmx.de>
11655
11656 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
11657 access of FILE2, if FILE1 does not exist.
11658
99a54f21
MA
11659 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
11660 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
11661
11662 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
11663 Add "PAGER=" to `process-environment'.
11664
f6561e1f
MM
116652012-03-01 Michael R. Mauger <mmaug@yahoo.com>
11666
11667 * progmodes/sql.el: Bug fix
11668 (sql-get-login-ext): Save login values in globals.
11669 (sql-get-login): Use new version of `sql-get-login-ext'.
11670 (sql-interactive-mode): Set global `sql-connection' to nil.
11671 (sql-connect): Set global values for connection.
11672 (sql-product-interactive): Save global values as buffer local.
11673
2d44d9cc
LL
116742012-02-29 Leo Liu <sdl.web@gmail.com>
11675
11676 * abbrev.el (define-abbrevs): Reset sys to nil.
11677
96b49301 116782012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11679
bf7f9bc5
JB
11680 * files.el (file-equal-p): Rename from `files-equal-p'.
11681 Return nil when one or both files don't exist.
96b49301 11682 (file-subdir-of-p): Now only top directory must exists,
11683 return nil if it doesn't.
bf7f9bc5
JB
11684 (copy-directory): No need to test with `file-subdir-of-p' after
11685 creating dir.
11686 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
11687 to `file-equal-p'.
96b49301 11688
44e97401
GM
116892012-02-28 Glenn Morris <rgm@gnu.org>
11690
11691 * shell.el (shell-mode):
11692 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
11693 * play/landmark.el (landmark-font-lock-face-O):
11694 * play/handwrite.el (handwrite):
11695 * play/gomoku.el (gomoku-O):
11696 * net/browse-url.el (browse-url-browser-display):
11697 * international/mule.el (define-charset):
11698 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
11699 * filesets.el (filesets-find-file-delay):
11700 * eshell/em-xtra.el (eshell-xtra):
11701 * eshell/em-unix.el (eshell-grep):
11702 * emulation/viper.el (viper-mode):
11703 * emacs-lisp/regexp-opt.el (regexp-opt-group):
11704 * emacs-lisp/easymenu.el (easy-menu-define):
11705 * calendar/timeclock.el (timeclock-use-display-time):
11706 * bs.el (bs-mode):
11707 * bookmark.el (bookmark-save-flag):
11708 Doc fix (standardize possessive apostrophe usage).
11709
c98c6276
CY
117102012-02-27 Chong Yidong <cyd@gnu.org>
11711
bf7f9bc5
JB
11712 * emulation/viper-cmd.el (viper-intercept-ESC-key):
11713 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 11714
c98c6276
CY
11715 * font-lock.el (font-lock-specified-p): Rename from
11716 font-lock-spec-present. Callers changed.
11717
9c62cd04 117182012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 11719
bf7f9bc5
JB
11720 * emacs-lisp/package.el (package-compute-transaction):
11721 Handle holding a package version to t in package-load-list.
8ac9e529 11722
530739c9
MA
117232012-02-26 Michael Albinus <michael.albinus@gmx.de>
11724
11725 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
11726 (tramp-get-inode, tramp-get-device): Use cached values.
11727
487915d7
AM
117282012-02-26 Alan Mackenzie <acm@muc.de>
11729
11730 Check there is a font-lock specification before doing initial
11731 fontification.
11732
11733 * font-core.el (font-lock-mode): Move the conditional from
11734 :after-hook to font-lock-initial-fontify.
11735 (font-lock-default-function): Move the check for a specification
11736 to font-lock-spec-present.
11737
dc9924b8 11738 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
11739 (font-lock-spec-present): New function.
11740
4fd96557
JB
117412012-02-26 Jim Blandy <jimb@red-bean.com>
11742
11743 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
11744 (gdb-send): Apply it to the operand of the '-interpreter-exec
11745 console' command, so that we can pass arguments with (say) quotes
11746 in them. Store exact string sent in gdb-debug-log (Bug#10765).
11747
9a4888c0
CY
117482012-02-26 Chong Yidong <cyd@gnu.org>
11749
07498861
CY
11750 * help-fns.el (describe-function-1): Clarify description of
11751 remapping (Bug#10844).
11752
9a4888c0
CY
11753 * files.el (files-equal-p): Doc fix.
11754 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
11755 and quit the loop once a mismatch is found.
11756
ea8fb88d
JB
117572012-02-25 Juanma Barranquero <lekktu@gmail.com>
11758
11759 * bs.el (bs--show-with-configuration): Don't throw an error
11760 if the window cannot be split; otherwise, subsequent calls to
11761 bs-show fail, restoring a stale window config. (Bug#10882)
11762
525795c1
JD
117632012-02-25 Jan Djärv <jan.h.d@swipnet.se>
11764
11765 * term/ns-win.el (global-map): Bind ns-drag-file to
11766 ns-find-file (Bug#5855, Bug#10050).
11767
f008086f
AS
117682012-02-25 Andreas Schwab <schwab@linux-m68k.org>
11769
11770 * calendar/parse-time.el (parse-time-string): Allow extractor to
11771 return nil.
11772
a3fcfa99
MA
117732012-02-25 Michael Albinus <michael.albinus@gmx.de>
11774
91027d08
JB
11775 * net/tramp.el (tramp-file-name-for-operation):
11776 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
11777
11778 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
11779 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
11780 Add COPY-CONTENTS argument.
a3fcfa99 11781
67b0de11
CY
117822012-02-25 Chong Yidong <cyd@gnu.org>
11783
11784 Add custom groups for VC backends, for consistency with vc-bzr.
11785
11786 * vc/vc-arch.el (vc-arch):
11787 * vc/vc-cvs.el (vc-cvs):
11788 * vc/vc-git.el (vc-git):
11789 * vc/vc-hg.el (vc-hg):
11790 * vc/vc-mtn.el (vc-mtn):
11791 * vc/vc-rcs.el (vc-rcs):
11792 * vc/vc-sccs.el (vc-sccs):
11793 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
11794 All relevant defcustoms reassigned.
11795
3c9dfce6
CY
117962012-02-25 Chong Yidong <cyd@gnu.org>
11797
1339bf43
CY
11798 * newcomment.el (comment-styles): Add autoload (Bug#10868).
11799
3c9dfce6
CY
11800 * term/x-win.el (x-initialize-window-system): Reduce default for
11801 x-selection-timeout to 5 seconds (Bug#8869).
11802
25b2e303 118032012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11804
ec70a47d
GM
11805 * files.el (files-equal-p, file-subdir-of-p): New functions.
11806 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 11807 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
11808 * dired-aux.el (dired-copy-file-recursive): Same.
11809 (dired-create-files): Modify destination when source is equal to
11810 dest when copying files.
53a46cd0 11811 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 11812
914260cd
MA
118132012-02-24 Michael Albinus <michael.albinus@gmx.de>
11814
11815 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
11816 (Bug#10874)
11817
2cb228f7
AM
118182012-02-23 Alan Mackenzie <acm@muc.de>
11819
11820 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
11821 parameter "after-hook:" to allow the expansion to run code after
11822 the execution of the mode hooks.
11823
11824 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 11825 from font-lock-mode-internal.
2cb228f7 11826
91027d08 11827 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
11828 :after-hook.
11829
8f0fde21
SM
118302012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
11831
3e88618b
SM
11832 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
11833 (completion--cache-all-sorted-completions): New function.
11834 (completion-all-sorted-completions): Use it.
11835 (completion--do-completion, minibuffer-force-complete):
11836 Use it to re-instate the flush hook.
11837
8f0fde21
SM
11838 * icomplete.el (icomplete-completions): Replace last fix with a better
11839 one (bug#10850).
11840
8e911f6f
DG
118412012-02-23 Dmitry Gutov <dgutov@yandex.ru>
11842
11843 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
11844 when it might call us back infinitely (bug#10797).
11845
49fe4321
GM
118462012-02-23 Glenn Morris <rgm@gnu.org>
11847
11848 * minibuffer.el (completion-category-overrides): Doc fix.
11849
b291b572
SM
118502012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
11851
11852 * minibuffer.el (completion-table-with-context): Fix inf-loop.
11853 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
11854
31a9ef2e
GM
118552012-02-23 Glenn Morris <rgm@gnu.org>
11856
5e6e6794 11857 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
11858 (authors-obsolete-files-regexps, authors-ignored-files)
11859 (authors-ambiguous-files, authors-renamed-files-alist):
11860 Add more entries.
11861
0bd1e074
JL
118622012-02-23 Juri Linkov <juri@jurta.org>
11863
11864 * isearch.el (isearch-occur): Sync interactive spec with occur's
11865 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
11866
b617673c
JL
11867 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
11868
19e9789e
JL
118692012-02-22 Juri Linkov <juri@jurta.org>
11870
11871 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
11872 (ucs-insert): Doc fix. Check for hex digits in the string.
11873 Don't display `nil' in the error message. (Bug#10857)
11874
f41ce09d
AM
118752012-02-22 Alan Mackenzie <acm@muc.de>
11876
7a71b18d 11877 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 11878
ac2eceee
GM
118792012-02-22 Glenn Morris <rgm@gnu.org>
11880
11881 * ffap.el (ffap-c-path):
11882 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
11883
abd1f678
CY
118842012-02-22 Chong Yidong <cyd@gnu.org>
11885
11886 * custom.el (load-theme): Doc fix.
11887
f25aef2e
GM
118882012-02-22 Glenn Morris <rgm@gnu.org>
11889
11890 * dired-x.el (dired-guess-shell-alist-default):
11891 Remove escape sequences from nroff output. (Bug#172)
11892
5f8dc2ca
GM
118932012-02-21 Glenn Morris <rgm@gnu.org>
11894
6ff86ec4
GM
11895 * vc/emerge.el (emerge-defvar-local):
11896 Set `permanent-local' property rather than unused `preserved'.
11897
be3223a3 11898 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
11899 (picture-mode-map): Use it. (Bug#10860)
11900 (picture-mode): Doc fix.
11901
3fe58f4f
JB
119022012-02-21 Juanma Barranquero <lekktu@gmail.com>
11903
11904 * newcomment.el (uncomment-region-default): Remove unused binding.
11905
f9a998c3
GM
119062012-02-21 Glenn Morris <rgm@gnu.org>
11907
11908 * textmodes/picture.el (picture-motion, picture-motion-reverse)
11909 (picture-self-insert, picture-tab-chars): Doc fix.
11910 (picture-mode-map): Fix C-a, C-e.
11911
c6029348
GM
119122012-02-20 Glenn Morris <rgm@gnu.org>
11913
11914 * emacs-lisp/authors.el (authors-aliases): Add another entry.
11915
ab1ce9d7
LL
119162012-02-20 Leo Liu <sdl.web@gmail.com>
11917
11918 * icomplete.el (icomplete-completions): Check FROM arg before
11919 passing to substring (Bug#10850).
11920
0fd40f89
CY
119212012-02-19 Chong Yidong <cyd@gnu.org>
11922
11923 * comint.el: Require ansi-color.
11924 (comint-output-filter-functions): Add ansi-color-process-output.
11925
11926 * ansi-color.el: Don't set comint-output-filter-functions; it is
11927 now in the initial value defined in comint.el.
11928 (ansi-color-apply-face-function): New variable.
11929 (ansi-color-apply-on-region): Use it.
11930 (ansi-color-apply-overlay-face): New function.
11931
11932 * shell.el (shell): No need to require ansi-color.
11933 (shell-mode): Use ansi-color-apply-face-function to highlight
11934 color escapes using font-lock-face property (Bug#10835).
11935
20af2394
CY
119362012-02-19 Chong Yidong <cyd@gnu.org>
11937
11938 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
11939 mode-line formats (Bug#10839).
11940
e23a3fbe
GM
119412012-02-18 Glenn Morris <rgm@gnu.org>
11942
b474519e
GM
11943 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
11944
11945 * mail/undigest.el (unforward-rmail-message): Doc fix.
11946
e23a3fbe
GM
11947 * saveplace.el (save-place-ignore-files-regexp): Add :version.
11948
57939ff4
EZ
119492012-02-18 Eli Zaretskii <eliz@gnu.org>
11950
11951 * international/characters.el (script-list): Sync with the latest
11952 Unicode Character Database.
11953
0c23686e
AS
119542012-02-18 Andreas Schwab <schwab@linux-m68k.org>
11955
11956 * international/titdic-cnv.el: Remove duplicate coding tag.
11957 * language/cham.el: Likewise.
11958 * language/tai-viet.el: Likewise.
11959
6818b449
GM
119602012-02-18 Glenn Morris <rgm@gnu.org>
11961
11962 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
11963 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
11964 (calendar-bahai-all-holidays-flag, calendar-other-dates):
11965 * calendar/diary-lib.el (diary-abbreviated-year-flag):
11966 * calendar/holidays.el (holiday-bahai-holidays)
11967 (calendar-holidays, list-holidays):
11968 Use utf-8 Bahá'í in doc-strings, menus, etc.
11969
0311a3fc
TH
119702012-02-17 Tassilo Horn <tassilo@member.fsf.org>
11971
11972 * saveplace.el (save-place-ignore-files-regexp): New variable
11973 allowing for excluding files from saving their location of point.
11974 The default value matches the temporary commit message editing
11975 files from Git, SVN, Bazaar, and Mercurial.
11976 (save-place-to-alist): Use it.
11977
d209e2fb 119782012-02-17 Lawrence Mitchell <wence@gmx.li>
f1a71c6e 11979 Stefan Monnier <monnier@iro.umontreal.ca>
eb864a71
LM
11980
11981 * newcomment.el (uncomment-region-default): Don't leave extra space
11982 when an arg is provided (bug#8150).
11983
ee0ce425
TZ
119842012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
11985
eb864a71 11986 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 11987
95ddf442
GM
119882012-02-17 Glenn Morris <rgm@gnu.org>
11989
11990 * net/socks.el: Require network-stream. (Bug#10599)
11991
48dd1e39 119922012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
11993
11994 * international/charprop.el:
11995 * international/uni-name.el:
11996 * international/uni-old-name.el:
11997 * international/uni-comment.el: Regenerate.
11998
d68cd087
GM
119992012-02-16 Glenn Morris <rgm@gnu.org>
12000
12001 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
12002 Interactively in calendar buffer, give an error if not on a date.
12003
13932042
GM
120042012-02-15 Glenn Morris <rgm@gnu.org>
12005
12006 * shell.el (shell-delimiter-argument-list):
12007 Revert 2011-02-17 change. (Bug#8027)
12008
c3a70e2b
CY
120092012-02-15 Chong Yidong <cyd@gnu.org>
12010
60236b0d
CY
12011 * minibuffer.el (completion-at-point-functions): Doc fix.
12012
c3a70e2b
CY
12013 * custom.el (defcustom): Doc fix; note use of defvar.
12014
9f26dc24
GM
120152012-02-15 Glenn Morris <rgm@gnu.org>
12016
12017 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
12018 Doc fixes.
12019
6546b134
GM
120202012-02-14 Glenn Morris <rgm@gnu.org>
12021
12022 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
12023
d29b2b4c
LI
120242012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
12025
12026 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
12027 way the ports list is computed.
835bdcba
LI
12028 (smtpmail-query-smtp-server): Prompt the user for a port number if
12029 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 12030
08dcdbc9
TZ
120312012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
12032
12033 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
12034
2605051a
GM
120352012-02-13 Glenn Morris <rgm@gnu.org>
12036
12037 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
12038
7ee99f32
TZ
120392012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
12040
12041 * net/gnutls.el (gnutls-trustfiles): New variable.
12042 (gnutls-negotiate): Use it.
12043
5f0af64f
LI
120442012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
12045
12046 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
12047 does its stuff if Gnus is running.
12048
c14fcc95
AM
120492012-02-13 Alan Mackenzie <acm@muc.de>
12050
12051 Fix a loop in c-set-fl-decl-start.
12052
7a71b18d 12053 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
12054 c-backward-syntactic-ws actually moves backwards.
12055
142b4d90
LL
120562012-02-13 Leo Liu <sdl.web@gmail.com>
12057
12058 * net/rcirc.el (rcirc-markup-attributes): Move point to the
12059 beginning so that all \C-o chars are removed.
12060
fa9958a6
TZ
120612012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
12062
dc9924b8 12063 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 12064
0bc5886a
AM
120652012-02-12 Alan Mackenzie <acm@muc.de>
12066
12067 Fix infinite loop with long macros.
4d6769e1 12068 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 12069
d4bd55e7
CY
120702012-02-12 Chong Yidong <cyd@gnu.org>
12071
12072 * window.el (display-buffer): Doc fix (Bug#10785).
12073
66f3fe22
GM
120742012-02-12 Glenn Morris <rgm@gnu.org>
12075
bd7da63e
GM
12076 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
12077 (x-disown-selection-internal, x-get-selection-internal):
12078 Sync docs with the xselect.c versions.
12079
66f3fe22
GM
12080 * allout-widgets.el: Add missing license notice.
12081
3e0d2fa7
GM
120822012-02-11 Glenn Morris <rgm@gnu.org>
12083
cfecdf09
GM
12084 * select.el (x-get-selection-internal, x-own-selection-internal)
12085 (x-disown-selection-internal):
12086 * x-dnd.el (x-get-selection-internal): Update declarations.
12087
6d216d7f
GM
12088 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
12089
2bed3f04
GM
12090 * window.el (window-sides-slots):
12091 * tool-bar.el (tool-bar-position):
12092 * term/xterm.el (xterm-extra-capabilities):
12093 * ses.el (ses-self-reference-early-detection):
12094 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
12095 (verilog-auto-wire-type)
12096 (verilog-auto-delete-trailing-whitespace)
12097 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
12098 (verilog-auto-tieoff-declaration):
12099 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
12100 (sql-oracle-statement-starters, sql-oracle-scan-on):
12101 * progmodes/prolog.el (prolog-align-comments-flag)
12102 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
12103 (prolog-left-indent-regexp, prolog-paren-indent-p)
12104 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
12105 (prolog-types, prolog-mode-specificators)
12106 (prolog-determinism-specificators, prolog-directives)
12107 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
12108 (prolog-electric-dot-flag)
12109 (prolog-electric-dot-full-predicate-template)
12110 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
12111 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
12112 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
12113 (prolog-program-switches, prolog-prompt-regexp)
12114 (prolog-debug-on-string, prolog-debug-off-string)
12115 (prolog-trace-on-string, prolog-trace-off-string)
12116 (prolog-zip-on-string, prolog-zip-off-string)
12117 (prolog-use-standard-consult-compile-method-flag)
12118 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
12119 (prolog-imenu-max-lines, prolog-info-predicate-index)
12120 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
12121 (prolog-char-quote-workaround):
12122 * progmodes/cc-vars.el (c-defun-tactic):
12123 * net/tramp.el (tramp-encoding-command-interactive)
12124 (tramp-local-end-of-line):
12125 * net/soap-client.el (soap-client):
12126 * net/netrc.el (netrc-file):
12127 * net/gnutls.el (gnutls):
12128 * minibuffer.el (completion-category-overrides)
12129 (completion-cycle-threshold)
12130 (completion-pcm-complete-word-inserts-delimiters):
12131 * man.el (Man-name-local-regexp):
12132 * mail/feedmail.el (feedmail-display-full-frame):
12133 * international/characters.el (glyphless-char-display-control):
12134 * eshell/em-ls.el (eshell-ls-date-format):
12135 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
12136 (lisp-lambda-list-keyword-parameter-indentation)
12137 (lisp-lambda-list-keyword-parameter-alignment):
12138 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
12139 * dired-x.el (dired-omit-verbose):
12140 * cus-theme.el (custom-theme-allow-multiple-selections):
12141 * calc/calc.el (calc-highlight-selections-with-faces)
12142 (calc-lu-field-reference, calc-lu-power-reference)
12143 (calc-note-threshold):
12144 * battery.el (battery-mode-line-limit):
12145 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
12146 (archive-7z-update):
12147 * allout.el (allout-prefixed-keybindings)
12148 (allout-unprefixed-keybindings)
12149 (allout-inhibit-auto-fill-on-headline)
12150 (allout-flattened-numbering-abbreviation):
12151 * allout-widgets.el (allout-widgets-auto-activation)
12152 (allout-widgets-icons-dark-subdir)
12153 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
12154 (allout-widgets-theme-dark-background)
12155 (allout-widgets-theme-light-background)
12156 (allout-widgets-item-image-properties-emacs)
12157 (allout-widgets-item-image-properties-xemacs)
12158 (allout-widgets-run-unit-tests-on-load)
12159 (allout-widgets-time-decoration-activity)
12160 (allout-widgets-hook-error-post-time)
12161 (allout-widgets-track-decoration):
12162 Add missing :version tags to new defcustoms and defgroups.
12163
5fec1b8e
GM
12164 * progmodes/sql.el (sql-ansi-statement-starters)
12165 (sql-oracle-statement-starters): Add custom type.
12166
3e0d2fa7
GM
12167 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
12168 (prolog-system-version): Give it a type.
12169
90b671e2
EZ
121702012-02-11 Eli Zaretskii <eliz@gnu.org>
12171
12172 * term/pc-win.el (x-select-text, x-selection-owner-p)
12173 (x-own-selection-internal, x-disown-selection-internal)
12174 (x-get-selection-internal): Sync doc strings and argument lists
12175 with xselect.c, common-win.el and x-win.el. (Bug#10783)
12176
5eac0c02
LL
121772012-02-11 Leo Liu <sdl.web@gmail.com>
12178
12179 * progmodes/python.el (python-end-of-statement): Fix infinite
12180 loop. (Bug#10788)
12181
f82cb659
GM
121822012-02-10 Glenn Morris <rgm@gnu.org>
12183
12184 * international/mule-cmds.el (unify-8859-on-encoding-mode)
12185 (unify-8859-on-decoding-mode): Properly mark as obsolete.
12186
cc26d239
LI
121872012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
12188
12189 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
12190 about SMTP before checking the From header.
12191
91027d08 12192 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
12193 into own function for reuse by emacsbug.el.
12194
1be3ca5a
LL
121952012-02-10 Leo Liu <sdl.web@gmail.com>
12196
12197 * subr.el (condition-case-unless-debug): Rename from
12198 condition-case-no-debug. All callers changed.
12199 (with-demoted-errors): Fix caller.
12200
12201 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
12202 * nxml/rng-valid.el (rng-do-some-validation):
12203 * emacs-lisp/package.el (package-refresh-contents)
12204 (package-menu-execute):
12205 * desktop.el (desktop-create-buffer):
91027d08 12206 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 12207
b011fbfe
GM
122082012-02-10 Glenn Morris <rgm@gnu.org>
12209
b2096d72
GM
12210 * textmodes/bibtex.el:
12211 Add missing :version tags for new/changed defcustoms.
12212
b011fbfe
GM
12213 * files.el (remote-file-name-inhibit-cache): Doc fixes.
12214
4c7e65bf
LI
122152012-02-09 Lars Ingebrigtsen <larsi@rusty>
12216
12217 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
12218 (smtpmail-via-smtp): Use it, or fall back on the From address.
12219 (smtpmail-send-it): Ditto.
12220
f3934f6f
SM
122212012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
12222
12223 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
12224 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
12225 (byte-compile-tmp-var): New const.
12226 (byte-compile-defvar): Use it to minimize .elc size.
12227 Just use `defvar' rather than simulate it (bug#10761).
12228
a075a2c5
GM
122292012-02-09 Glenn Morris <rgm@gnu.org>
12230
cf3aa21b
GM
12231 * files.el (rename-uniquely): Doc fix. (Bug#3806)
12232
354998cd
GM
12233 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
12234 Add :version tags.
12235
dc9924b8
SM
12236 * progmodes/compile.el (compilation-error-screen-columns)
12237 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 12238
dab3703d
GM
12239 * vc/log-view.el (log-view-toggle-entry-display):
12240 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
12241
3f88cd72
GM
12242 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
12243 (report-emacs-bug-can-use-xdg-email):
12244 (report-emacs-bug-insert-to-mailer): Doc fixes.
12245 (report-emacs-bug): Message fix.
12246
d95b247d
GM
12247 * net/browse-url.el (browse-url-can-use-xdg-open)
12248 (browse-url-xdg-open): Doc fixes.
12249
a075a2c5
GM
12250 * electric.el (electric-indent-mode, electric-pair-mode)
12251 (electric-layout-rules, electric-layout-mode): Doc fixes.
12252 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
12253
ffb6157e
MR
122542012-02-08 Martin Rudalics <rudalics@gmx.at>
12255
12256 * server.el (server-unselect-display): Don't inadvertently kill
12257 the current buffer. (Bug#10729)
12258
e1ac4066
GM
122592012-02-08 Glenn Morris <rgm@gnu.org>
12260
34e8a2da
GM
12261 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
12262 (sql-list-table): Doc fixes.
12263
b4ac6e8c
GM
12264 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
12265 Comment out (does nothing).
12266
e1ac4066
GM
12267 * completion.el (dynamic-completion-mode):
12268 * dirtrack.el (dirtrack-debug-mode):
12269 * electric.el (electric-layout-mode):
12270 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
12271 * face-remap.el (text-scale-mode, buffer-face-mode):
12272 * iimage.el (iimage-mode):
12273 * image-mode.el (image-transform-mode):
12274 * minibuffer.el (completion-in-region-mode):
12275 * scroll-lock.el (scroll-lock-mode):
12276 * simple.el (next-error-follow-minor-mode):
12277 * tar-mode.el (tar-subfile-mode):
12278 * tooltip.el (tooltip-mode):
12279 * vcursor.el (vcursor-use-vcursor-map):
12280 * wid-browse.el (widget-minor-mode):
12281 * emulation/tpu-edt.el (tpu-edt-mode):
12282 * emulation/tpu-extras.el (tpu-cursor-free-mode):
12283 * international/iso-ascii.el (iso-ascii-mode):
12284 * language/thai-util.el (thai-word-mode):
12285 * mail/supercite.el (sc-minor-mode):
12286 * net/goto-addr.el (goto-address-mode):
12287 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
12288 * progmodes/cwarn.el (cwarn-mode):
12289 * progmodes/flymake.el (flymake-mode):
12290 * progmodes/glasses.el (glasses-mode):
12291 * progmodes/hideshow.el (hs-minor-mode):
12292 * progmodes/pascal.el (pascal-outline-mode):
12293 * textmodes/enriched.el (enriched-mode):
12294 * vc/smerge-mode.el (smerge-mode):
12295 Doc fixes (minor mode argument).
12296
5e0d957f
EZ
122972012-02-07 Eli Zaretskii <eliz@gnu.org>
12298
12299 * ls-lisp.el (ls-lisp-sanitize): New function.
12300 (ls-lisp-insert-directory): Use it to fix or remove any elements
12301 in file-alist with missing attributes. (Bug#4673)
12302
98d7371e
AM
123032012-02-07 Alan Mackenzie <acm@muc.de>
12304
12305 Fix spurious recognition of c-in-knr-argdecl.
12306
12307 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
12308 putative K&R region.
12309
667ced3a
AM
123102012-02-07 Alan Mackenzie <acm@muc.de>
12311
eb864a71
LM
12312 * progmodes/cc-engine.el (c-forward-objc-directive):
12313 Prevent looping in "#pragma mark @implementation".
667ced3a 12314
5b77774d
MA
123152012-02-07 Michael Albinus <michael.albinus@gmx.de>
12316
12317 * notifications.el (notifications-on-closed-signal): Make `reason'
12318 optional. (Bug#10744)
12319
af008560
GM
123202012-02-07 Glenn Morris <rgm@gnu.org>
12321
60d47423
GM
12322 * emacs-lisp/easy-mmode.el (define-minor-mode):
12323 Doc fixes for the macro and the mode it defines.
12324
dd605cc4
GM
12325 * image.el (imagemagick-types-inhibit): Doc fix.
12326
af008560
GM
12327 * cus-start.el (imagemagick-render-type): Add it.
12328
5cc59a37
LI
123292012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
12330
4d6769e1
JB
12331 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
12332 Set the default at load time, too, so that `font-lock-fontify-buffer'
12333 can be called without setting up the entire mode first. This fixes
12334 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 12335
9a6dd747
CY
123362012-02-06 Chong Yidong <cyd@gnu.org>
12337
2d16b285
CY
12338 * simple.el (list-processes--refresh): Delete exited processes
12339 (Bug#8094).
12340
171e9b6e
CY
12341 * comint.el (comint-next-prompt): next-single-char-property-change
12342 and prev-single-char-property-change never return nil (Bug#8657).
12343
9a6dd747
CY
12344 * custom.el (defcustom): Doc fix (Bug#9711).
12345
aa4589a7
CY
123462012-02-05 Chong Yidong <cyd@gnu.org>
12347
5c2a252f
CY
12348 * cus-edit.el (custom-variable-reset-backup): Quote the value
12349 before storing it in the customized-value property (Bug#6712).
4aab9006 12350 (custom-display): Add a customization type tag.
983b9602 12351 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 12352
aa4589a7
CY
12353 * wid-edit.el (widget-field-value-get): New optional arg to
12354 suppress trailing whitespace truncation.
12355 (character): Use it (Bug#2689).
12356
1ff980ae
AS
123572012-02-05 Andreas Schwab <schwab@linux-m68k.org>
12358
12359 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
12360 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
12361
03988c98
CY
123622012-02-05 Chong Yidong <cyd@gnu.org>
12363
eeb6cc88
CY
12364 * cus-edit.el (custom-variable-value-create): For mismatched
12365 types, show the current value (Bug#7600).
12366
03988c98
CY
12367 * custom.el (defcustom): Doc fix.
12368
f8cdeef0
GM
123692012-02-05 Glenn Morris <rgm@gnu.org>
12370
12371 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
12372
0696d255
JB
123732012-02-05 Juanma Barranquero <lekktu@gmail.com>
12374
12375 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
12376 (pp-buffer): Use `ignore-errors', `looking-at-p'.
12377 (pp-last-sexp): Use `looking-at-p'.
12378
34c99998
GM
123792012-02-04 Glenn Morris <rgm@gnu.org>
12380
8f05da42
GM
12381 * files.el (revert-buffer):
12382 Doc fix (mention revert-buffer-in-progress-p).
12383
f160676e
GM
12384 * emacs-lisp/ert-x.el (ert-simulate-command):
12385 Check deferred-action-list (which is obsolete) is bound.
12386
c7291ad9
GM
12387 * subr.el (with-wrapper-hook): Doc fixes.
12388
34c99998
GM
12389 * simple.el (filter-buffer-substring-functions)
12390 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
12391
6283a7d3
LL
123922012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
12393
12394 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
12395 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
12396
e96e3013
LL
123972012-02-04 Leo Liu <sdl.web@gmail.com>
12398
12399 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
12400
8ded50f2
GM
124012012-02-04 Glenn Morris <rgm@gnu.org>
12402
82ff1d13
GM
12403 * image.el (image-extension-data): Add obsolete alias.
12404
987a0a16
GM
12405 * isearch.el (isearch-update): Doc fix.
12406
ea32ef46
GM
12407 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
12408
8ded50f2
GM
12409 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
12410
eea14f31
GM
124112012-02-03 Glenn Morris <rgm@gnu.org>
12412
12413 * image.el (image-animated-p): Doc fix. Use image-animated-types.
12414 (image-animate-timeout): Doc fix.
12415
12416 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
12417
12f381b7
GM
124182012-02-02 Glenn Morris <rgm@gnu.org>
12419
953cebf5
GM
12420 * server.el (server-auth-dir): Doc fix.
12421 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
12422
12f381b7
GM
12423 * subr.el (run-mode-hooks): Doc fix.
12424
953a8c3b
JL
124252012-02-02 Juri Linkov <juri@jurta.org>
12426
12427 * image-mode.el (image-toggle-display-image): Remove tautological
12428 `major-mode' from the `derived-mode-p' test.
12429
c5d3843c
KH
124302012-02-02 Kenichi Handa <handa@m17n.org>
12431
9f6e692e 12432 * composite.el (compose-region): Cancel previous change.
c5d3843c 12433
159462d4 124342012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
12435
12436 * composite.el (compose-region, compose-string): Signal error for
12437 a null string component (Bug#6988).
12438
9f562668
CY
124392012-02-01 Chong Yidong <cyd@gnu.org>
12440
e2cef717
CY
12441 * view.el (view-buffer-other-window, view-buffer-other-frame):
12442 Handle special modes like view-buffer (Bug#10650).
12443 (view-buffer): Simplify.
12444
9f562668
CY
12445 * frame.el (set-frame-font): Tweak meaning of third argument.
12446
9f6e692e
JB
12447 * dynamic-setting.el (font-setting-change-default-font):
12448 Use set-frame-font (Bug#9982).
9f562668 12449
781acb9f
GM
124502012-02-01 Glenn Morris <rgm@gnu.org>
12451
6035be52
GM
12452 * progmodes/compile.el (compilation-internal-error-properties):
12453 Respect compilation-first-column in the "*compilation*" buffer.
12454
781acb9f
GM
12455 * emacs-lisp/easy-mmode.el (define-minor-mode):
12456 Relax :variable's test for a named function.
12457
abbceb00
AM
124582012-01-31 Alan Mackenzie <acm@muc.de>
12459
12460 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
12461 off by one error.
12462
fce3fdeb
CY
124632012-01-31 Chong Yidong <cyd@gnu.org>
12464
12465 * frame.el (set-frame-font): New arg ALL-FRAMES.
12466
12467 * menu-bar.el (menu-set-font): Use set-frame-font.
12468
12469 * faces.el (face-spec-reset-face): Don't apply unspecified
12470 attribute values to the default face.
12471
47893581
JB
124722012-01-31 Juanma Barranquero <lekktu@gmail.com>
12473
12474 * progmodes/cwarn.el (cwarn): Remove dead link.
12475 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
12476 Remove * from defcustom docstrings.
12477 (turn-on-cwarn-mode): Make obsolete.
12478 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
12479 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
12480
e58e988a
GM
124812012-01-31 Glenn Morris <rgm@gnu.org>
12482
60dc2671 12483 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 12484 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 12485 Allow named functions to be used as the cdr of :variable.
e58e988a 12486
7a3f511d
GM
124872012-01-30 Glenn Morris <rgm@gnu.org>
12488
12489 * emacs-lisp/authors.el (authors-fixed-entries):
12490 Remove reference to deleted file rnewspost.el.
12491
cb882333
JB
124922012-01-29 Juanma Barranquero <lekktu@gmail.com>
12493
12494 * window.el (window-with-parameter): Remove unused variable `windows'.
12495 (window--side-check): Remove unused variable `code'.
12496 (window--resize-siblings): Remove unused variable `first'.
12497 (adjust-window-trailing-edge): Remove unused variable `failed'.
12498 (window-deletable-p, window--delete): Remove unused variable `buffer'.
12499 Use `let', not `let*'.
12500 (balance-windows-2): Remove unused variable `found'.
12501 (window--state-put-2): Remove unused variable `splits'.
12502 (window-state-put): Remove unused variable `selected'.
12503 (same-window-p): Use `string-match-p'.
12504 (display-buffer-assq-regexp): Remove unused variable `value'.
12505 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
12506 Mark argument ALIST as ignored.
12507 (pop-to-buffer): Remove unused variable `old-window'.
12508
907201af
EZ
125092012-01-29 Eli Zaretskii <eliz@gnu.org>
12510
12511 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
12512 and .lzma compressed files.
12513
ea162670
CY
125142012-01-29 Chong Yidong <cyd@gnu.org>
12515
5b95ee8a
CY
12516 * frame.el (window-system-default-frame-alist): Doc fix.
12517
ea162670
CY
12518 * dynamic-setting.el (font-setting-change-default-font): Don't
12519 change the default face if SET-FONT argument is non-nil (Bug#9982).
12520
6fccd6e8 125212012-01-29 Samuel Bronson <naesten@gmail.com>
d6e6f4b1
SB
12522
12523 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
12524
0f29fa41 125252012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
12526
12527 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
12528 breakpoints in files outside current directory (Bug#6098).
12529
db174434
CY
125302012-01-29 Chong Yidong <cyd@gnu.org>
12531
6b25e4e2
SE
12532 * progmodes/python.el: Require ansi-color at top-level.
12533
6df6ae42
JB
12534 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
12535 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
12536 (lisp-mode-abbrev-table): Add doc.
12537 (lisp-mode-variables): Don't set local-abbrev-table.
12538 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
12539
e70ee681
RW
125402012-01-28 Roland Winkler <winkler@gnu.org>
12541
12542 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
12543
ace88aa2
RW
125442012-01-28 Roland Winkler <winkler@gnu.org>
12545
12546 * textmodes/bibtex.el (bibtex-entry-alist): New function.
12547 (bibtex-set-dialect): Use it. Either set global values of
12548 dialect-dependent variables or bind these variables buffer-locally
12549 (Bug#10254).
12550 (bibtex-mode): Call bibtex-set-dialect via
12551 hack-local-variables-hook.
eb864a71
LM
12552 (bibtex-dialect): Update docstring.
12553 Add safe-local-variable predicate.
ace88aa2
RW
12554 (bibtex-entry-alist, bibtex-field-alist): Initialize via
12555 bibtex-set-dialect.
12556 (bibtex-mode-map): Define menu for each dialect.
12557 (bibtex-entry): Fix docstring.
12558
93376c5b
CY
125592012-01-28 Chong Yidong <cyd@gnu.org>
12560
12561 * eshell/esh-arg.el (eshell-quote-argument): New function.
12562
12563 * eshell/esh-ext.el (eshell-invoke-batch-file):
12564 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
12565 first arg to eshell-parse-command (Bug#10523).
12566
4372494f
DA
125672012-01-28 Drew Adams <drew.adams@oracle.com>
12568
12569 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
12570 `default-directory' is non-nil.
12571
4d4ec1f8
EZ
125722012-01-28 Eli Zaretskii <eliz@gnu.org>
12573
12574 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
12575 line that displays system-configuration-options. (Bug#9924)
12576
7c188927
DA
125772012-01-28 Drew Adams <drew.adams@oracle.com>
12578
12579 * descr-text.el (describe-char): Show information about POS, in
12580 addition to information about the character at POS. Improve and
12581 update the doc string. Change "code point" to "code point in
12582 charset", to avoid confusion with the character's Unicode code
12583 point shown above that. (Bug#10129)
12584
e0da685a
EZ
125852012-01-28 Eli Zaretskii <eliz@gnu.org>
12586
12587 * descr-text.el (describe-char): Show the raw character, not only
12588 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
12589 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
12590 for the reasons.
12591
70550acf
PH
125922012-01-28 Phil Hagelberg <phil@hagelb.org>
12593
eb864a71
LM
12594 * emacs-lisp/package.el (package-install):
12595 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 12596
0ce8e868
CY
125972012-01-28 Chong Yidong <cyd@gnu.org>
12598
cb882333
JB
12599 * emacs-lisp/package.el (package-maybe-load-descriptor):
12600 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
12601 (package-maybe-load-descriptor): Use it.
12602 (package-download-transaction): Fully load required packages
12603 inside the loop, so that `require' calls work (Bug#10593).
12604 (package-install): No need to call package-initialize now.
12605
2e7f3bea
CY
126062012-01-28 Chong Yidong <cyd@gnu.org>
12607
6e9bad14
CY
12608 * simple.el (deactivate-mark): Doc fix (Bug#8614).
12609
f823b8ca
CY
12610 * tooltip.el (tooltip-mode): Doc fix.
12611 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
12612
2680c309
CY
12613 * frame.el (set-cursor-color): Doc fix (Bug#352).
12614
d7a9e63b
CY
12615 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
12616 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
12617
2e7f3bea
CY
12618 * cus-edit.el (custom-buffer-create-internal): Fix search button
12619 action (Bug#10542).
2ae01800 12620 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 12621
fc4f7a23
EW
126222012-01-27 Eduard Wiebe <usenet@pusto.de>
12623
12624 * dired.el (dired-mark-files-regexp):
12625 Include any subdirectory components. (Bug#10445)
12626
7dd37071
ML
126272012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
12628
12629 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
12630 Handle [host]:port syntax. (Bug#10533)
12631
a268160b
AH
126322012-01-27 Alex Harsanyi <harsanyi@mac.com>
12633
12634 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
12635
e43273ef
GM
126362012-01-26 Glenn Morris <rgm@gnu.org>
12637
12638 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
12639 * term.el (term-raw-escape-map): Use Control-X-prefix.
12640 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
12641
1edf595d
MR
126422012-01-25 Martin Rudalics <rudalics@gmx.at>
12643
12644 * window.el (window-state-get, window--state-get-1): Don't deal
12645 with fixed-sizeness of windows. Simplify code.
12646
fa8eafef
JC
126472012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
12648
6df6ae42
JB
12649 * window.el (window--state-get-1, window--state-put-2):
12650 Don't save and restore the mark.
fa8eafef 12651
0b21c100
CY
126522012-01-25 Chong Yidong <cyd@gnu.org>
12653
12654 * custom.el (custom-variable-p): Doc fix.
12655
5ae1a6c8
GM
126562012-01-25 Glenn Morris <rgm@gnu.org>
12657
40047858
GM
12658 * dired.el (dired-goto-file): Handle some of the more common
12659 characters that `ls -b' escapes. (Bug#10596)
12660
5ddce96c
GM
12661 * progmodes/compile.el (compilation-next-error-function):
12662 Respect compilation-first-column in the "*compilation*" buffer.
12663 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
12664
5ae1a6c8
GM
12665 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
12666
b559f1a9
GM
126672012-01-24 Glenn Morris <rgm@gnu.org>
12668
12669 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
12670
6725d21a
JD
126712012-01-24 Julien Danjou <julien@danjou.info>
12672
12673 * color.el (color-rgb-to-hsl): Fix value computing.
12674 (color-hue-to-rgb): New function.
12675 (color-hsl-to-rgb): New function.
12676 (color-clamp, color-saturate-hsl, color-saturate-name)
12677 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
12678 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
12679
70df4bbe
GM
126802012-01-24 Glenn Morris <rgm@gnu.org>
12681
12682 * vc/vc-rcs.el (vc-rcs-create-tag):
12683 * vc/vc-sccs.el (vc-sccs-create-tag):
12684 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
12685
802a2ae2
ML
126862012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
12687
12688 * eshell/esh-util.el (eshell-read-hosts-file):
12689 Skip comment lines. (Bug#10549)
12690
d7128bb1
ML
12691 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
12692
d1a5c3b4
JB
126932012-01-23 Juanma Barranquero <lekktu@gmail.com>
12694
2724d9c7
JB
12695 * subr.el (display-delayed-warnings): Doc fix.
12696 (collapse-delayed-warnings): New function to collapse identical
12697 adjacent warnings.
12698 (delayed-warnings-hook): Add it.
d1a5c3b4 12699
a5509865
MA
127002012-01-22 Michael Albinus <michael.albinus@gmx.de>
12701
12702 * net/tramp.el (tramp-action-login): Set connection property "login-as".
12703
a5509865
MA
12704 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
12705 (tramp-default-user-alist): Don't add "pscp".
12706 (tramp-do-copy-or-rename-file-out-of-band): Use connection
12707 property "login-as", if set. (Bug#10530)
12708
cc6d5805
MA
127092012-01-21 Michael Albinus <michael.albinus@gmx.de>
12710
12711 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
12712 "plink1" and "psftp". (Bug#10530)
12713
127142012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
12715
12716 * international/mule-cmds.el (prefer-coding-system): Show a
12717 warning message if the default value of file-name-coding-system
12718 was not changed.
12719
f0960428
JC
127202012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
12721
cb882333
JB
12722 * windmove.el (windmove-reference-loc):
12723 Fix windmove-reference-loc miscalculation.
f0960428 12724
dd6f2a63
JB
127252012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
12726
12727 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
12728 default unit.
12729
7b447e9b
GM
127302012-01-21 Glenn Morris <rgm@gnu.org>
12731
117a9ea1
GM
12732 * international/mule.el (auto-coding-alist): Add .tbz.
12733
7b447e9b
GM
12734 * files.el (local-enable-local-variables): Doc fix.
12735 (inhibit-local-variables-regexps): Rename from
12736 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
12737 Doc fix. Add some extensions from auto-coding-alist.
12738 (inhibit-local-variables-suffixes):
12739 Rename from inhibit-first-line-modes-suffixes. Doc fix.
12740 (inhibit-local-variables-p):
12741 New function, extracted from set-auto-mode-1.
12742 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
12743 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
12744 (hack-local-variables): Doc fix. Make the mode-only case
12745 respect enable-local-variables and friends.
12746 Respect inhibit-local-variables-regexps for file-locals, but
12747 not for directory-locals.
12748 (set-visited-file-name):
12749 Take account of inhibit-local-variables-regexps.
12750 Whether it applies may change as the file name is changed.
12751 * jka-cmpr-hook.el (jka-compr-install):
12752 * jka-compr.el (jka-compr-uninstall):
12753 Update for inhibit-first-line-modes-suffixes name change.
12754
dd6e3cdd
MR
127552012-01-20 Martin Rudalics <rudalics@gmx.at>
12756
12757 * help-macro.el (make-help-screen): Temporarily restore original
12758 binding for minor-mode-map-alist (Bug#10454).
12759
0d0deb38
JD
127602012-01-19 Julien Danjou <julien@danjou.info>
12761
12762 * color.el (color-name-to-rgb): Use the white color to find the max
12763 color component value and return correctly computed values.
12764 (color-name-to-rgb): Add missing float conversion for max value.
12765
34a02f46
MR
127662012-01-19 Martin Rudalics <rudalics@gmx.at>
12767
12768 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
12769 special state value for window-persistent-parameters.
12770 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
12771 (window--state-put-2): Reset all window parameters to nil before
12772 assigning values of persistent parameters.
12773
606c44c4
AM
127742012-01-18 Alan Mackenzie <acm@muc.de>
12775
12776 Eliminate sluggishness and hangs in fontification of "semicolon
12777 deserts".
12778
cb882333
JB
12779 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
12780 Change value 10000 -> 3000.
606c44c4
AM
12781 (c-state-safe-place): Reformulate so it doesn't stack up an
12782 infinite number of wrong entries in c-state-nonlit-pos-cache.
12783 (c-determine-limit-get-base, c-determine-limit): New functions to
12784 determine backward search limits disregarding literals.
12785 (c-find-decl-spots): Amend commenting.
12786 (c-cheap-inside-bracelist-p): New function which detects "={".
12787
12788 * progmodes/cc-fonts.el
12789 (c-make-font-lock-BO-decl-search-function): Give a limit to a
12790 backward search.
12791 (c-font-lock-declarations): Fix an occurrence of point being
12792 undefined. Check additionally for point being in a bracelist or
12793 near a macro invocation without a semicolon so as to avoid a
12794 fruitless time consuming search for a declarator. Give a more
12795 precise search limit for declarators using the new
12796 c-determine-limit.
12797
f3860cea
GM
127982012-01-18 Glenn Morris <rgm@gnu.org>
12799
12800 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
12801 (set-auto-mode): Doc fixes.
12802
1db03b16
GM
128032012-01-17 Glenn Morris <rgm@gnu.org>
12804
0e6038be
GM
12805 * isearch.el (search-nonincremental-instead): Fix doc typo.
12806
1db03b16
GM
12807 * dired.el (dired-insert-directory): Handle newlines in directory name.
12808 (dired-build-subdir-alist): Unescape newlines in directory name.
12809
4cb0aa75
MA
128102012-01-17 Michael Albinus <michael.albinus@gmx.de>
12811
12812 * net/tramp.el (tramp-local-end-of-line): New defcustom.
12813 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
12814 (tramp-action-terminal): Use it. (Bug#10530)
12815
1d00653d
SM
128162012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
12817
12818 * minibuffer.el (completion--replace): Strip properties (bug#10062).
12819
6a6ee00d
MR
128202012-01-16 Martin Rudalics <rudalics@gmx.at>
12821
12822 * window.el (window-state-ignored-parameters): Remove variable.
12823 (window--state-get-1): Rename argument MARKERS to IGNORE.
12824 Handle persistent window parameters. Make copy of clone-of
12825 parameter only if requested. (Bug#10348)
12826 (window--state-put-2): Install a window parameter only if it has
12827 a non-nil value or an existing parameter shall be overwritten.
12828
97912def
MA
128292012-01-15 Michael Albinus <michael.albinus@gmx.de>
12830
12831 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
12832
688070a5
EZ
128332012-01-14 Eli Zaretskii <eliz@gnu.org>
12834
12835 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
12836 don't pass the (nil) value of `upnode' to string-match.
12837
301afadc
CY
128382012-01-14 Chong Yidong <cyd@gnu.org>
12839
12840 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 12841 Fix values recognized by the cursorBlink resource.
301afadc 12842
9e5788aa
PE
128432012-01-14 Paul Eggert <eggert@cs.ucla.edu>
12844
12845 * epg.el (epg--make-temp-file): Avoid permission race condition
12846 when running on old Emacs versions (bug#10403).
12847
3cdb7f5a
GM
128482012-01-14 Glenn Morris <rgm@gnu.org>
12849
12850 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
12851
8c82b1b4
AM
128522012-01-13 Alan Mackenzie <acm@muc.de>
12853
12854 Fix filling for when filladapt mode is enabled.
12855
12856 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
12857 c-mask-paragraph, pass in `fill-paragraph' rather than
12858 `fill-region-as-paragraph'. (This is a reversion of a previous
12859 change.)
eb864a71
LM
12860 * progmodes/cc-mode.el (c-basic-common-init):
12861 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 12862
e517eda4
GM
128632012-01-13 Glenn Morris <rgm@gnu.org>
12864
1498536e
GM
12865 * dired.el (dired-switches-escape-p): New function.
12866 (dired-insert-directory): Use dired-switches-escape-p.
12867 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
12868
e517eda4
GM
12869 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
12870
328f984d
GM
128712012-01-12 Glenn Morris <rgm@gnu.org>
12872
12873 * mail/sendmail.el (mail-mode): Update paragraph-separate for
12874 changes in adaptive-fill-regexp. (Bug#10276)
12875
2cc769a8
AM
128762012-01-11 Alan Mackenzie <acm@muc.de>
12877
12878 Fix Emacs bug #10463 - put `widen's around the critical spots.
12879
1d00653d 12880 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
12881 widen around each invocation of c-state-pp-to-literal. Remove an
12882 unused let variable.
12883
e52c37fa
GM
128842012-01-11 Glenn Morris <rgm@gnu.org>
12885
12886 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 12887 Doc fix.
e52c37fa 12888
96f8741e
CY
128892012-01-10 Chong Yidong <cyd@gnu.org>
12890
1d00653d
SM
12891 * net/network-stream.el (network-stream-open-starttls):
12892 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
12893 response to the capability command.
12894
b09a806e
GM
128952012-01-10 Glenn Morris <rgm@gnu.org>
12896
12897 * mail/unrmail.el (unrmail): Tweak previous change.
12898
7655cb66
CY
128992012-01-09 Chong Yidong <cyd@gnu.org>
12900
12901 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
12902
9d5a8f0b
AM
129032012-01-08 Alan Mackenzie <acm@muc.de>
12904
12905 Optimise font locking in long enum definitions.
12906
12907 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
12908 arm to a cond form to handle enums.
12909 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
12910 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
12911
9a0115ab 129122012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
12913
12914 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 12915 (Bug#10401)
6bb72cbd 12916
f186bb95
LMI
129172012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
12918
29232a68
LMI
12919 * faces.el (set-face-attribute): Clarify the meaning of the nil
12920 frame (bug#10294).
12921
4e5d086d
LMI
12922 * subr.el (with-selected-frame): Mention that the selected frame
12923 is restored (bug#9980).
12924
8e66aebe
LMI
12925 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
12926 (bug#9759).
12927
cd394be1 12928 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
12929 (password-read): Don't autoload unused function.
12930
adf4e762
JB
129312012-01-07 Juanma Barranquero <lekktu@gmail.com>
12932
12933 * progmodes/which-func.el (which-func-mode): Turn into a
12934 non-interactive function and mark as obsolete (bug#10428).
12935
89bd9ccd
CY
129362012-01-06 Chong Yidong <cyd@gnu.org>
12937
12938 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
12939 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
12940 functions, along with 1 and -1.
12941
4afee9d5
EZ
129422012-01-06 Eli Zaretskii <eliz@gnu.org>
12943
12944 * time.el (display-time-load-average)
12945 (display-time-default-load-average): Doc fixes. See the thread
12946 starting at
12947 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
12948 for the details.
12949
536aea70
GM
129502012-01-06 Glenn Morris <rgm@gnu.org>
12951
665ae865
GM
12952 * mail/unrmail.el (unrmail): Give an explicit error if the input file
12953 has no messages. (Bug#10377)
12954
c869783d
GM
12955 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
12956 than Info-edit. (Bug#10385)
12957
2bb4227e
GM
12958 * time.el (display-time-load-average, display-time-next-load-average):
12959 Doc fixes.
12960
7d5944b9
GM
12961 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
12962 local setting of buffer-read-only to the input buffer. (Bug#10419)
12963
536aea70
GM
12964 * calendar/calendar.el (calendar-mode):
12965 Locally set scroll-margin to 0. (Bug#10379)
12966
7dccca16
UM
129672012-01-06 Ulrich Mueller <ulm@gentoo.org>
12968
12969 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
12970
afbb7930
GM
129712012-01-05 Glenn Morris <rgm@gnu.org>
12972
12973 * eshell/em-unix.el (diff-no-select): Autoload it.
12974 (eshell/diff): Use diff-no-select. (Bug#10420)
12975
04482335
CY
129762012-01-05 Chong Yidong <cyd@gnu.org>
12977
7baca3bc
CY
12978 * shell.el (shell-dynamic-complete-functions): Revert last change.
12979 (shell-command-completion-function): New function.
12980 (shell-completion-vars): Use it to implement
12981 shell-completion-execonly (Bug#10417).
12982
04482335
CY
12983 * custom.el (enable-theme): Don't set custom-safe-themes.
12984
1d00653d
SM
12985 * cus-theme.el (custom-theme-merge-theme):
12986 Ignore custom-enabled-themes and custom-safe-themes.
04482335 12987
bb5aa5d6
MM
129882012-01-05 Michael R. Mauger <mmaug@yahoo.com>
12989
12990 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
12991 first prompt in `sql-interacive-mode'.
12992 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 12993 keywords.
6df6ae42 12994 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
12995 (sql-product-interactive): Bug fix: Set `sql-buffer' in
12996 context of original buffer. Invoke `sql-login-hook'.
12997
a7183d7c
EZ
129982012-01-04 Eli Zaretskii <eliz@gnu.org>
12999
13000 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
13001 letters in cite-prefix.
13002
a1eacd1e
LMI
130032012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
13004
13005 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
13006
787cdb34
CY
130072012-01-03 Chong Yidong <cyd@gnu.org>
13008
1d00653d
SM
13009 * shell.el (shell-dynamic-complete-functions):
13010 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
13011 comint-filename-completion first (Bug#10417).
13012
30710442
RS
130132012-01-02 Richard Stallman <rms@gnu.org>
13014
13015 * battery.el (battery-status-function):
13016 Detect when to use battery-yeeloong-sysfs.
13017 (battery-echo-area-format): Add string for Yeeloong.
13018 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
13019 (battery-yeeloong-sysfs): New function.
13020
f75bfc33
CY
130212012-01-02 Chong Yidong <cyd@gnu.org>
13022
13023 * dirtrack.el (dirtrack-list): Eliminate unused third element.
13024 (dirtrack): Merge code for handling relative filenames in prompt
13025 from shell-dir-cookie-watcher.
13026 (dirtrack-debug-message): New arg to avoid excess format calls.
13027
13028 * shell.el (shell-dir-cookie-re): Variable deleted.
13029 (shell-dir-cookie-watcher): Function deleted.
13030 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
13031 with dirtrack-mode.
13032
651e947e
EZ
130332012-01-01 Eli Zaretskii <eliz@gnu.org>
13034
1d00653d
SM
13035 * term/w32-win.el (dynamic-library-alist) <gnutls>:
13036 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
13037 libgnutls-26.dll.
13038
94d4c7dc
AS
130392011-12-31 Andreas Schwab <schwab@linux-m68k.org>
13040
13041 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
13042
8d43f3cd
EZ
130432011-12-31 Eli Zaretskii <eliz@gnu.org>
13044
13045 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
13046 headers of non-MIME messages, when rmail-enable-mime is non-nil.
13047
98c8795a
MA
130482011-12-29 Michael Albinus <michael.albinus@gmx.de>
13049
13050 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
13051 also for alternative shells.
13052 (tramp-open-connection-setup-interactive-shell): Check, whether
13053 the shell is a busybox.
13054 (tramp-send-command): Don't suppress multiple prompts for
13055 busyboxes, it hurts.
13056
51281b32
CY
130572011-12-28 Chong Yidong <cyd@gnu.org>
13058
13059 * progmodes/gdb-mi.el (gdb-get-source-file-list)
13060 (gdb-get-source-file): Move mode line update to
13061 gdb-get-source-file (Bug#10087).
13062
2170cb53
CY
130632011-12-25 Chong Yidong <cyd@gnu.org>
13064
13065 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
13066 gud-gdb-marker-filter without taking it as an argument.
13067 (gud-gdb-run-command-fetch-lines): Caller changed.
13068 (gud-gdb-completion-function): New variable.
13069 (gud-gdb-completion-at-point): Use it.
13070 (gud-gdb-completions-1): Split from gud-gdb-completions.
13071
13072 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
13073 function as separate arguments.
13074 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
13075 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
13076 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
13077 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
13078 (gdb-stopped, def-gdb-auto-update-trigger)
13079 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
13080 (gdb-get-changed-registers, gdb-get-main-selected-frame):
13081 Callers changed.
2170cb53
CY
13082 (gud-gdbmi-completions): New function.
13083 (gdb): Use it for generating the completion table.
13084
be8b11bb
AM
130852011-12-24 Alan Mackenzie <acm@muc.de>
13086
13087 Introduce a mechanism to widen the region used in context font
1d00653d 13088 locking. Use this to protect declarations from losing their contexts.
be8b11bb 13089
1d00653d
SM
13090 * progmodes/cc-langs.el (c-before-font-lock-functions):
13091 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 13092 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
13093 functions to be run just before context (etc.) font locking.
13094
13095 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 13096 New, functionality extracted from
be8b11bb 13097 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 13098 (c-in-after-change-fontification): New variable.
be8b11bb
AM
13099 (c-after-change): Set c-in-after-change-fontification.
13100 (c-set-fl-decl-start): Rejig its interface, so it can be called
13101 from both after-change and context fontifying.
b81d40f0
JB
13102 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
13103 New functions.
13104 (c-standard-font-lock-fontify-region-function): New variable.
13105 (c-font-lock-fontify-region): New function.
be8b11bb 13106
341cf6ac
JL
131072011-12-24 Juri Linkov <juri@jurta.org>
13108
13109 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
13110 (Bug#10348)
13111
bffcee0a
MA
131122011-12-23 Michael Albinus <michael.albinus@gmx.de>
13113
13114 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
13115 existence of source file. (Bug#10325)
13116
cb5e207c
AM
131172011-12-23 Alan Mackenzie <acm@muc.de>
13118
13119 Fix unstable fontification inside templates.
13120
b81d40f0
JB
13121 * progmodes/cc-langs.el (c-before-font-lock-functions):
13122 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
13123 additionally has c-set-fl-decl-start. The other languages (apart
13124 from AWK) have that as a single entry.
13125
b81d40f0
JB
13126 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
13127 The functionality for "local" declarations has been extracted to
cb5e207c
AM
13128 c-set-fl-decl-start.
13129
b81d40f0
JB
13130 * progmodes/cc-mode.el (c-common-init, c-after-change):
13131 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
13132 (c-set-fl-decl-start): New function, extracted from
13133 c-font-lock-enclosing-decls and enhanced.
13134
60ff536c
JB
131352011-12-23 Juanma Barranquero <lekktu@gmail.com>
13136
13137 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
13138
1c4757d6
JL
131392011-12-22 Juri Linkov <juri@jurta.org>
13140
13141 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
13142
d031f2c7
CY
131432011-12-22 Chong Yidong <cyd@gnu.org>
13144
13145 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
13146
bace743a
DA
131472011-12-21 Drew Adams <drew.adams@oracle.com>
13148
13149 * files.el (file-remote-p): Fix docstring. (Bug#10319)
13150
728a1f2b
JC
131512011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
13152
13153 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
13154
0d373f73
TZ
131552011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
13156
fec0aaa4
TZ
13157 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
13158 highlighting and support. Fix up comments for capitalization.
13159 (cfengine-mode-debug): New var.
13160 (cfengine3-mode): Change the modeline indicator to "CFE3".
13161 (cfengine3-font-lock-keywords): Improve defun highlighting.
13162 (cfengine2-actions): Rename from `cfengine-actions'.
13163 (cfengine2-font-lock-keywords): Rename from
13164 `cfengine-font-lock-keywords'.
13165 (cfengine2-imenu-expression): Rename from
13166 `cfengine-imenu-expression'.
13167 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
13168 (cfengine2-beginning-of-defun): Rename from
13169 `cfengine-beginning-of-defun'.
13170 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
13171 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
13172 (cfengine2-mode): Rename from `cfengine-mode'. Change the
13173 modeline indicator to "CFE2".
13174 (cfengine-mode): Defalias to `cfengine-auto-mode'.
13175 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 13176
bc86f573
CY
131772011-12-21 Chong Yidong <cyd@gnu.org>
13178
13179 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
13180 filename argument.
13181
d45ba96b
MR
131822011-12-20 Martin Rudalics <rudalics@gmx.at>
13183
13184 * window.el (window-normalize-buffer-to-display): Remove.
13185 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
13186
a6198c90
CY
131872011-12-19 Chong Yidong <cyd@gnu.org>
13188
13189 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
13190 Don't signal an error in a predicate function; return non-nil.
13191 (vc-dir-mark-file): Move the error here.
13192 (vc-dir-mark-unmark): If acting on the region, keep going if one
13193 of the entries cannot be marked/unmarked.
13194 (vc-dir-mark-all-files): If current entry is a directory, mark
13195 only child files, as documented.
13196
34c5fb55
VB
131972011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
13198
13199 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
13200 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
13201 addition.
13202
c803b2b7
JD
132032011-12-18 Jan Djärv <jan.h.d@swipnet.se>
13204
13205 * term/ns-win.el (ns-get-selection-internal)
13206 (ns-store-selection-internal): Declare.
1154d12e
JB
13207 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
13208 Declare as obsolete.
13209 (ns-get-pasteboard, ns-paste-secondary):
13210 Use ns-get-selection-internal.
41e9b956 13211 (ns-set-pasteboard, ns-copy-including-secondary):
1154d12e 13212 Use ns-store-selection-internal.
c803b2b7 13213
9cff91f8 132142011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
13215
13216 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 13217 (vc-deduce-fileset): Doc fix.
99a289d9 13218
f16c898a
AS
132192011-12-16 Andreas Schwab <schwab@linux-m68k.org>
13220
13221 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
13222
763237c4
SS
132232011-12-13 Sam Steingold <sds@gnu.org>
13224
13225 * man.el (Man-getpage-in-background): When running under a
13226 window-system, ignore $MANWIDTH and $COLUMNS.
13227
5fc1c122
KH
132282011-12-15 Kenichi Handa <handa@m17n.org>
13229
13230 * language/ethio-util.el: Change coding tag to utf-8-emacs.
13231 (setup-ethiopic-environment-internal): Comment out key-binding for
13232 ethio-toggle-punctuation.
13233
13d49cbb
AM
132342011-12-13 Alan Mackenzie <acm@muc.de>
13235
898169a2
AM
13236 Add the switch statement to AWK Mode.
13237
7a71b18d 13238 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
13239 "default" to the keywords regexp.
13240
7a71b18d 13241 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 13242 expression as the rest.
1d00653d
SM
13243 (c-nonlabel-token-key): Allow string literals for AWK.
13244 Refactor for the other modes.
898169a2 13245
13d49cbb 13246 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 13247 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
13248 routines. Limit backward searching in c-font-lock-enclosing.decl.
13249
13250 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
13251 pp-state and literal type in addition to the limits.
1d00653d 13252 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 13253 (c-state-literal-at): Use the above new defun.
1d00653d
SM
13254 (c-slow-in-literal, c-fast-in-literal): Remove.
13255 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
13256
13257 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
13258 being in a literal. Add a limit for backward searching.
13259
13260 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
13261 c-slow-in-literal.
13262
15e0efc7
SM
132632011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
13264
13265 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
13266
454592a6
MR
132672011-12-13 Martin Rudalics <rudalics@gmx.at>
13268
13269 * window.el (delete-other-windows): Use correct frame in call to
13270 window-with-parameter.
13271
87393f26
DP
132722011-12-12 Daniel Pfeiffer <occitan@t-online.de>
13273
13274 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
13275 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
13276 (makefile-gmake-statements, makefile-makepp-statements):
13277 Use it and add new makepp keywords.
13278 (makefile-makepp-font-lock-keywords): Add new patterns.
13279 (makefile-match-function-end): Match new [...] and [[...]].
13280
11636b22
JB
132812011-12-11 Juanma Barranquero <lekktu@gmail.com>
13282
13283 * ses.el (ses-call-printer-return, ses-cell-property-get)
13284 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
13285 (ses-create-cell-variable, ses-reset-header-string)
13286 (ses-cell-set-formula, ses-repair-cell-reference-all)
13287 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
13288 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
13289 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
13290 (ses-aset-with-undo, ses-load, ses-truncate-cell)
13291 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
13292 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
13293 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
13294 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
13295 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
13296 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
13297 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
13298 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
13299
cf018193
VB
133002011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
13301
13302 * ses.el: The overall change is to add cell renaming, that is
13303 setting fancy names for cell symbols other than name matching
13304 "\\`[A-Z]+[0-9]+\\'" regexp .
13305 (ses-create-cell-variable): New defun.
13306 (ses-relocate-formula): Relocate formulas only for cells the
13307 symbols of which are not renamed, i.e. symbols whose names do not
13308 match regexp "\\`[A-Z]+[0-9]+\\'".
13309 (ses-relocate-all): Relocate values only for cells the symbols of
13310 which are not renamed.
13311 (ses-load): Create cells variables as the (ses-cell ...) are read,
13312 in order to check row col consistency with cell symbol name only
13313 for cells that are not renamed.
13314 (ses-replace-name-in-formula): New defun.
13315 (ses-rename-cell): New defun.
13316
ee957461
CY
133172011-12-11 Chong Yidong <cyd@gnu.org>
13318
13319 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
13320 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
13321
9a9e9ef0
MR
133222011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
13323
13324 * window.el (other-window): Fix docstring.
13325
92a8eba5
EZ
133262011-12-10 Eli Zaretskii <eliz@gnu.org>
13327
13328 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
13329 `from' or `to' address before taking its substring.
13330 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
13331 encoded name is chopped in the middle of the encoded string, and
13332 thus displayed encoded.
13333
e152e577
JB
133342011-12-10 Juanma Barranquero <lekktu@gmail.com>
13335
13336 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
13337
e5d84bfe
EZ
133382011-12-10 Eli Zaretskii <eliz@gnu.org>
13339
13340 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
13341 to use texinfo-update-node and commands that call it if the
13342 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 13343 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
13344 (texinfo-all-menus-update, texinfo-master-menu)
13345 (texinfo-update-node, texinfo-every-node-update)
13346 (texinfo-multiple-files-update): Doc fix. Warn against updating
13347 all the @node lines.
13348 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
13349 argument is numeric. Explain better in the doc string what the
13350 function really does.
13351 (texinfo-insert-master-menu-list): Improve the error message
13352 displayed if there's no menu in the Top node.
13353 (Bug#2975) See also this thread:
e5d84bfe
EZ
13354 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
13355
1d84e9bb
MG
133562011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
13357
13358 * speedbar.el (speedbar-supported-extension-expressions):
13359 Add .adb and .ads, commonly used for Ada source code (bug#10256).
13360
382c953b
JB
133612011-12-09 Juanma Barranquero <lekktu@gmail.com>
13362
13363 * printing.el (pr-mode-alist):
13364 * simple.el (filter-buffer-substring-functions)
13365 (completion-list-insert-choice-function):
13366 * window.el (window-with-parameter, window-atom-root)
13367 (window-sides-slots, window-size-fixed, window-min-delta)
13368 (window-max-delta, window--resize-mini-window)
13369 (window--resize-child-windows-normal, window-tree)
13370 (delete-other-windows, quit-window, split-window)
13371 (display-buffer-record-window, special-display-buffer-names)
13372 (special-display-regexps, special-display-popup-frame)
13373 (same-window-p, split-window-sensibly)
13374 (display-buffer-overriding-action, display-buffer-alist)
13375 (display-buffer-base-action, display-buffer, switch-to-buffer)
13376 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
13377 (fit-window-to-buffer, recenter-positions)
13378 (mouse-autoselect-window-state, mouse-autoselect-window-select):
13379 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
13380 and remove unneeded backslashes in docstrings.
13381
39c9faef
SM
133822011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
13383
98449af8
SM
13384 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
13385
39c9faef
SM
13386 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
13387 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
13388 end in ".mk".
13389 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
13390 when reading the makefile (bug#10116).
13391
86ed9fdc
SM
133922011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
13393
13394 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
13395 (bug#10116).
13396
5580f89d
GM
133972011-12-06 Glenn Morris <rgm@gnu.org>
13398
13399 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
13400
28d3917c
CY
134012011-12-06 Chong Yidong <cyd@gnu.org>
13402
13403 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
13404
a98edce9
JB
134052011-12-06 Juanma Barranquero <lekktu@gmail.com>
13406
13407 * textmodes/table.el (table-shorten-cell): Fix typo.
13408
e65adfac
CG
134092011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
13410
13411 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
13412
71cc0b74
EZ
134132011-12-05 Eli Zaretskii <eliz@gnu.org>
13414
13415 * descr-text.el (describe-char): Fix display of strong
13416 right-to-left characters and directional embeddings and overrides.
13417
13418 * simple.el (what-cursor-position): Fix display of codepoints of
13419 strong right-to-left characters.
13420
315bc30d
CY
134212011-12-05 Chong Yidong <cyd@gnu.org>
13422
13423 * faces.el (read-color): Doc fix.
13424
58a70b94
GM
134252011-12-05 Glenn Morris <rgm@gnu.org>
13426
13427 * align.el (align--set-marker): Add doc-string.
13428 Don't try to move something that is not a marker. (Bug#10216)
13429
5158face
GM
134302011-12-04 Glenn Morris <rgm@gnu.org>
13431
13432 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
13433 overly zealous deletion of trailing whitespace.
13434
520fca41
JB
134352011-12-04 Juanma Barranquero <lekktu@gmail.com>
13436
13437 * server.el (server-delete-client): On Windows, do not try to delete
13438 the only terminal.
13439 (server-process-filter): On Windows, treat requests for a tty frame as
13440 if they were for a GUI frame if the running server is in GUI mode.
13441
5e605a2e
GM
134422011-12-03 Glenn Morris <rgm@gnu.org>
13443
13444 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
13445
5c3fe83f
SM
134462011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
13447
6f5e57e7
SM
13448 * electric.el: Streamline electric-indent's hook.
13449 (electric-indent-chars): Revert to simple list.
13450 (electric-indent-functions): New var.
13451 (electric-indent-post-self-insert-function): Use it.
13452
5c3fe83f
SM
13453 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
13454 there's no inferior buffer (bug#10196).
13455 (prolog-consult-compile): Don't use toggle-read-only.
13456
6bdac736
MA
134572011-12-02 Michael Albinus <michael.albinus@gmx.de>
13458
13459 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
13460 interrupt. (Bug#10187)
13461
6131ba7f
SM
134622011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
13463
99c79fee
SM
13464 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
13465 (bug#9160).
13466
6131ba7f
SM
13467 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
13468 (bug#10191).
13469
cb0a02ea
JL
134702011-12-02 Juri Linkov <juri@jurta.org>
13471
13472 * info.el (Info-search): Display "end of manual" when Isearch
13473 reaches the end of single-file Info manual. (Bug#9918)
13474
66e0570c
EZ
134752011-12-02 Eli Zaretskii <eliz@gnu.org>
13476
13477 * isearch.el (isearch-message-prefix): Run the input method part
13478 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
13479
02b16839
JL
134802011-12-02 Juri Linkov <juri@jurta.org>
13481
13482 * isearch.el (isearch-occur): Use `word-search-regexp' for
13483 `isearch-word'.
13484 (isearch-search-and-update): Add condition for `isearch-word' and
13485 call `word-search-regexp'. (Bug#10145)
13486
0b950688
GM
134872011-12-01 Glenn Morris <rgm@gnu.org>
13488
13489 * eshell/em-hist.el (eshell-hist-initialize):
13490 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 13491 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 13492
9505c3c7
SM
134932011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
13494
13495 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
13496
1bbe96b2 134972011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 13498
a1beca85
SM
13499 * progmodes/verilog-mode.el (verilog-pretty-expr):
13500 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
13501 verilog, such as += *= and the like.
13502 (verilog-assignment-operator-re): Regular expression to find the
13503 assigment operator in a verilog assignment.
13504 (verilog-assignment-operation-re): Regular expression to find an
13505 assignment statement for pretty-expr.
13506 (verilog-in-attribute-p): Query returns true if point is in an
13507 attribute context; used to skip these for expression line up from
13508 pretty-expr.
13509 (verilog-in-parameter-p): Query returns true if point is in an
13510 parameter definition context; used to skip these for expression
13511 line up from pretty-expr.
13512 (verilog-in-parenthesis-p): Query returns true if point is in a
13513 parenthetical expression, specifically ( ) but not [ ] or { };
13514 used by pretty-expr.
13515 (verilog-just-one-space): If there is no space, don't add one.
13516 (verilog-get-lineup-indent-2): Specifically skip just attribute
13517 contexts for expression lineup, rather than skipping all
13518 parenthetical expressions.
13519 (verilog-calculate-indent): Fix comment, and fix indent.
13520 (verilog-do-indent): Indent declarations in lists (suggested by
13521 Joachim Lechner).
13522 (verilog-mode-abbrev-table): Populate abbrev mode with the various
13523 skeleton items.
13524 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
13525 by Alain Mellan).
13526
1bbe96b2 135272011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
13528
13529 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
13530 parameters with embedded comments. Reported by Ray Stevens.
13531 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
13532 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
13533 Reported by Tim Holt.
13534 (verilog-auto): Fix AUTOing a upper module then AUTOing module
13535 instantiated by upper module causing wrong expansion until AUTOed a
13536 second time. Reported by K C Buckenmaier.
13537 (verilog-diff-auto): Fix showing .* as a difference when
13538 `verilog-auto-star-save' off. Reported by Dan Dever.
13539 (verilog-auto-reset, verilog-read-always-signals)
13540 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
13541 temporary signals in reset list if
13542 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
13543 style to each signal's assignment type, bug381.
13544 Reported by Thomas Esposito.
6288f0ca
WS
13545 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
13546 (verilog-uvm-statement-re): Support UVM indentation and
13547 highlighting, with old OVM keywords only.
a1beca85 13548 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
13549 Support AUTOTIEOFF creating non-wire data types.
13550 Suggested by Jonathan Greenlaw.
6288f0ca
WS
13551 (verilog-auto-insert-lisp, verilog-delete-to-paren)
13552 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
13553 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
13554 (verilog-read-sub-decls, verilog-read-sub-decls-line):
13555 Fix mismatching parenthesis inside commented out code when deleting
382c953b 13556 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
13557 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
13558 non-numeric vector width. Reported by Alex Reed.
13559 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 13560 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
13561 (verilog-auto-delete-trailing-whitespace):
13562 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
13563 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
13564 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
13565 Fix verilog-scan-cache corruption when running user AUTO expansion
13566 hooks that call indentation routines.
13567 (verilog-simplify-range-expression): Fix typo ignoring lower case
13568 identifiers.
13569 (verilog-delete-auto): Fix delete-autos to also remove user created
13570 automatics, as long as they start with AUTO.
13571 (verilog-batch-diff-auto, verilog-diff-auto)
13572 (verilog-diff-function): Add `verilog-diff-auto' and bind to
13573 "C-c?" to report differences in AUTO expansion, ignoring spaces.
13574 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
13575 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
13576 (verilog-re-search-forward-quick, verilog-syntax-ppss):
13577 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
13578 is disabled and its cache will get corrupt, causing AUTOS not to
13579 expand. Instead use only -quick functions.
13580 (verilog-scan-region): Fix scanning over escaped quotes.
13581 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
13582 (verilog-re-search-backward-quick)
13583 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
13584 related functions now ignore strings, to fix misparsing of strings
13585 with magic comments embedded in them.
a1beca85
SM
13586 (verilog-read-auto-template):
13587 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
13588 Reported by Brad Dobbie.
13589 (verilog-read-auto-template):
13590 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 13591 Reported by Brad Dobbie.
6288f0ca
WS
13592 (verilog-auto-inst, verilog-auto-inst-param)
13593 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
13594 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
13595 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
13596 debugging templates without merge conflicts, bug357.
13597 Reported by Brad Dobbie.
13598 (verilog-read-auto-template):
13599 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
13600 Reported by Brad Dobbie.
13601 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
13602 abbrevs so user won't be asked to save.
13603 (verilog-read-auto-lisp-present): Fix to start at beginning of
13604 buffer in case called outside of verilog-auto.
13605 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
13606 to "X-2". Reported by Matthew Myers.
13607 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
13608 all inputs from module templates. Reported by Leith Johnson.
13609 (verilog-module-inside-filename-p): Fix locating programs as with
13610 modules.
13611 (verilog-auto-inst-port): Fix vl-width expressions when using
13612 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
13613 (verilog-decls-get-regs, verilog-decls-get-signals,
13614 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
13615 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
13616 verilog-read-decls): Combine reg and wire structures into one var
13617 structure to represent SystemVerilog concepts.
13618 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
13619 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
13620 (verilog-auto-wire-type, verilog-insert-definition):
13621 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
13622 SystemVerilog "logic" keyword instead of "wire"/"reg".
13623 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
13624 to declares outputs that also have assignments (presumably in an
a1beca85
SM
13625 ifdef or generate if so there's not a driver conflict).
13626 Reported by Matthew Myers.
13627 (verilog-auto-declare-nettype, verilog-insert-definition):
13628 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
13629 `default_nettype none. Reported by Julian Gorfajn.
13630 (verilog-read-always-signals-recurse, verilog-read-decls)
13631 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
13632 malformed end statement, bug325. Reported by Joshua Wise and
13633 Andrew Drake.
13634 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
13635 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
13636 when expanding .* in interfaces, bug320.
13637 Reported by Pierre-David Pfister.
6288f0ca 13638 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
13639 name and open parenthesis, bug317.
13640 Reported by Pierre-David Pfister.
6288f0ca
WS
13641 (verilog-simplify-range-expression): Fix simplification of
13642 multiplications inside AUTOWIRE connections, bug303.
13643 (verilog-auto-inst-port): Support parameter expansion in
13644 multidimensional arrays.
13645 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
13646 after "assert property". Reported by Julian Gorfajn.
13647 (verilog-simplify-range-expression): Fix "couldn't merge" errors
13648 with multiplication, bug303.
13649 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
13650 Reported by Jan Frode Lonnum.
13651
1bbe96b2
GM
136522011-11-30 Juanma Barranquero <lekktu@gmail.com>
13653
13654 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
13655 (hfy-shell-file-name, hfy-shell):
13656 * international/fontset.el (x-decompose-font-name): Fix typos.
13657
136582011-11-29 Ken Brown <kbrown@cornell.edu>
13659
13660 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
13661 (gdb-version): Remove defvar.
13662 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
13663 (gdb-gud-context-command, gdb-non-stop-handler)
13664 (gdb-current-context-command, gdb-stopped): Use it.
13665 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
13666 (gdb-non-stop-handler): Don't enable pretty-printing here.
13667 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
13668 non-stop mode. Use the following.
13669 (gdb-check-target-async): New defun.
13670 (gud-watch, gdb-stopped): Fix whitespace.
13671 (gdb-get-source-file): Don't try to display the source file if
13672 `gdb-main-file' is nil.
13673
136742011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
13675
13676 * align.el: Try to generate fewer markers (bug#10047).
13677 (align--set-marker): New macro.
13678 (align-region): Use it.
13679
c935221f
SM
136802011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
13681
13682 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
13683
e70b5064
CY
136842011-11-29 Chong Yidong <cyd@gnu.org>
13685
13686 * indent.el (indent-for-tab-command, indent-according-to-mode):
13687 Doc fix.
13688 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
13689
f3af92b7
MA
136902011-11-29 Michael Albinus <michael.albinus@gmx.de>
13691
13692 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
13693 aware of remote file names. (Bug#10124)
13694
ed472be9
CY
136952011-11-29 Chong Yidong <cyd@gnu.org>
13696
13697 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
13698
24510c22
SM
136992011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
13700
13701 * files.el (find-file): Don't use force-same-window (bug#10144).
13702 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
13703 use pop-to-buffer if the selected window can't be used.
13704 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
13705
c60c3703
EZ
137062011-11-28 Eli Zaretskii <eliz@gnu.org>
13707
13708 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
13709 special-mode-map.
13710
e95def75
CY
137112011-11-28 Chong Yidong <cyd@gnu.org>
13712
13713 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
13714
c3f1c606
NR
137152011-11-27 Nick Roberts <nickrob@snap.net.nz>
13716
13717 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
13718 gdb-get-source-file-list on gdb-create-source-file-list.
13719
00db469c
EZ
137202011-11-26 Eli Zaretskii <eliz@gnu.org>
13721
13722 * whitespace.el (whitespace-newline): Use a different foreground
13723 color for 16-color light-background displays.
13724
4ad3bc2a
CY
137252011-11-24 Chong Yidong <cyd@gnu.org>
13726
13727 * window.el (display-buffer--special-action): Doc fix.
13728
e9fce1ac
JB
137292011-11-25 Juanma Barranquero <lekktu@gmail.com>
13730
13731 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
13732 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
13733 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
13734 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
13735 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
13736 (avl-tree-stack-first):
13737 * emacs-lisp/cconv.el (cconv--analyse-use):
13738 * net/gnutls.el (gnutls-negotiate): Fix typos.
13739
cb825e5d
GM
137402011-11-24 Glenn Morris <rgm@gnu.org>
13741
3adbe224
GM
13742 * lpr.el (lpr-windows-system, lpr-lp-system):
13743 * mail/binhex.el (binhex-begin-line):
13744 * progmodes/grep.el (grep-history, grep-find-history):
13745 * textmodes/flyspell.el:
13746 * vc/pcvs-defs.el (cvs-global-menu):
13747 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
13748 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
13749 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
13750
321decc8
GM
13751 * net/tls.el: Fix case of "GnuTLS".
13752
420b63ad
GM
13753 * paths.el (rmail-file-name): Format doc-string for make-docfile.
13754
cb825e5d
GM
13755 * version.el (emacs-build-system): Give it a doc-string.
13756
a0649f08
JL
137572011-11-24 Juri Linkov <juri@jurta.org>
13758
13759 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
13760
c0bc0fd4
GM
137612011-11-24 Glenn Morris <rgm@gnu.org>
13762
13763 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
13764 if called on a non-mime message just toggle the headers. (Bug#8006)
13765
20db1522
JB
137662011-11-24 Juanma Barranquero <lekktu@gmail.com>
13767
13768 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
13769 (allout-lead-with-comment-string, allout-structure-deleted-hook)
13770 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
13771 (allout-rebullet-heading, allout-open-sibtopic)
13772 (allout-toggle-current-subtree-encryption)
13773 (allout-toggle-subtree-encryption, allout-encrypt-string)
13774 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
13775 (allout-distinctive-bullets-string, allout-auto-activation):
13776 * window.el (window-normalize-buffer-to-display):
13777 * progmodes/verilog-mode.el (verilog-batch-indent):
13778 * textmodes/bibtex.el (bibtex-field-braces-opt)
13779 (bibtex-field-strings-opt):
13780 * vc/cvs-status.el (cvs-tree-merge):
13781 Fix typos.
13782
7262a87c
MA
137832011-11-23 Michael Albinus <michael.albinus@gmx.de>
13784
13785 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
13786 `non-essential' to t, in order to avoid remote connections.
13787
283430a1
EZ
137882011-11-23 Eli Zaretskii <eliz@gnu.org>
13789
a1beca85
SM
13790 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
13791 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
13792 case-insensitively.
13793
d2992a38
ML
137942011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
13795
13796 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
13797
50419064
GM
137982011-11-23 Glenn Morris <rgm@gnu.org>
13799
da94eca1
GM
13800 * paths.el (rmail-file-name): Reformat the doc-string so that it
13801 is picked up.
13802
9aac4de2
GM
13803 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
13804 (rmail-auto-file): Ignore case in the "special" field names,
13805 as mail-fetch-field does for all others.
13806
8038d2d2
GM
13807 * mail/rmail.el (rmail-forward):
13808 * mail/rmailkwd.el (rmail-set-label):
13809 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
13810 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
13811
f3fe222a
GM
13812 * mail/rmail.el (rmail-current-message): Doc fix.
13813
50419064
GM
13814 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
13815
28109f49
SM
138162011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
13817
13818 * server.el (server-eval-and-print): Allow C-g (bug#6585).
13819
394c65f1
GM
138202011-11-22 Glenn Morris <rgm@gnu.org>
13821
13822 * mail/rmailmm.el (test-rmail-mime-handler)
13823 (test-rmail-mime-bulk-handler)
13824 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
13825
f2a0aa3a
JL
138262011-11-21 Juri Linkov <juri@jurta.org>
13827
1154d12e
JB
13828 * calc/calc.el (calc-read-key-sequence):
13829 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 13830
9c34a344
LMI
138312011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
13832
13833 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
13834 Tell the caller that the next line needs recomputation, even
13835 though it doesn't start a sexp (bug#10094).
13836
f04a3be9
SM
138372011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
13838
13839 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
13840
7978747f
SM
138412011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
13842
f04a3be9
SM
13843 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
13844 Use force-same-window.
7978747f 13845
fe7a3057
JB
138462011-11-20 Juanma Barranquero <lekktu@gmail.com>
13847
13848 * descr-text.el (describe-char-unicode-data):
13849 * json.el (json-string-escape):
13850 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
13851 (Footnote-unicode, Footnote-style-p):
13852 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
13853
24901d61
CY
138542011-11-20 Chong Yidong <cyd@gnu.org>
13855
13856 * window.el (replace-buffer-in-windows): Restore interactive spec.
13857
bac7ff22
SM
138582011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
13859
24f3d7b9
SM
13860 * electric.el (electric-indent-mode): Fix last change (too optimistic).
13861
bac7ff22
SM
13862 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
13863 (byte-compile-global-not-obsolete-vars): New var.
13864 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
13865 Use it.
13866 (byte-compile-warn-obsolete): Align text with the one in *Help*.
13867
cd1181db
JB
138682011-11-20 Juanma Barranquero <lekktu@gmail.com>
13869
13870 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
13871 * progmodes/pascal.el (electric-pascal-equal):
13872 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
13873 * xml.el (xml-substitute-special): Fix typos.
13874
7fb18e9e
GM
138752011-11-20 Glenn Morris <rgm@gnu.org>
13876
13877 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
13878 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
13879 Doc fixes.
13880 (rmail-decode-mime-charset): Mark as obsolete.
13881
13882 * mail/rmailsum.el (rmail-message-regexp-p-1):
13883 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
13884 Before using mime functions, check they are set. (Bug#10077)
13885
d5a6b3ba
JL
138862011-11-19 Juri Linkov <juri@jurta.org>
13887
13888 * info.el (Info-finder-find-node): Use `package--builtins' instead
13889 of `package-alist'. Use node names formed by the pattern "Keyword "
13890 and the keyword name.
13891
e981b61f
AS
138922011-11-19 Andreas Schwab <schwab@linux-m68k.org>
13893
1d00653d 13894 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 13895
3ffbc301
JL
138962011-11-19 Juri Linkov <juri@jurta.org>
13897
13898 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
13899 that calls `revert-buffer' on all Info buffers. (Bug#9915)
13900 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
13901 `old-history', `old-history-forward'. Add let-binding
13902 `window-selected'. Remove calls to `kill-buffer',
13903 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
13904 before calling `Info-find-node', so `Info-find-node-2' will reread
13905 the Info file. Restore window positions only when `window-selected'
13906 is non-nil.
13907
30c62133
JL
139082011-11-19 Juri Linkov <juri@jurta.org>
13909
13910 * isearch.el (isearch-lazy-highlight-new-loop):
13911 Remove condition `(not isearch-error)'. (Bug#9918)
13912
13913 * misearch.el (multi-isearch-search-fun): Add condition
13914 `(not bound)' to ignore lazy-highlighting search.
13915 Add the search-failed message "end of multi" when the end of
13916 multi-sequence is reached. Uncapitalize the search-failed
13917 message "Repeat for next buffer".
13918
13919 * info.el (Info-search): Add the search-failed message
13920 "end of the manual" when the end of the manual is reached
13921 in Isearch mode.
13922
645ca9cf
JL
139232011-11-19 Juri Linkov <juri@jurta.org>
13924
13925 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
13926 Use non-destructive `remove' instead of `delete' because
13927 `Info-history-list' stored to `Info-isearch-initial-history-list' in
13928 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
13929
df754f66
JL
139302011-11-19 Juri Linkov <juri@jurta.org>
13931
13932 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
13933 to nil instead of binding `search-ring' and `regexp-search-ring'.
13934 (Bug#9185)
13935
0e23d96a
EZ
139362011-11-19 Eli Zaretskii <eliz@gnu.org>
13937
13938 * simple.el (line-move): Force movement by logical lines for any
13939 hscrolled window, not only when auto-hscroll-mode is on.
13940 (line-move-visual): Update doc string to that effect. (Bug#10076)
13941
8a6ccb66
AS
139422011-11-19 Andreas Schwab <schwab@linux-m68k.org>
13943
13944 * language/european.el (macintosh): Define as alias for mac-roman.
13945
49ae5b39
EZ
139462011-11-19 Eli Zaretskii <eliz@gnu.org>
13947
13948 * mail/rmailmm.el (rmail-mime-display-header)
13949 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
13950 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
13951 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
13952 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
13953 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
13954 of a raw aref.
13955 (rmail-mime-entity-segment): To get past the tagline, move forward
13956 2 more lines, to account for the 2 empty lines that precede and
13957 follow the line with the buttons.
13958 (rmail-mime-update-tagline): Move one more line, to get past the
13959 empty line that follows the buttons in the tagline. (Bug#9520)
13960
c56cad4a
MR
139612011-11-19 Martin Rudalics <rudalics@gmx.at>
13962
13963 * window.el (window-max-delta-1, window-min-delta-1)
13964 (window-min-size-1, window-state-get-1, window-state-put-1)
13965 (window-state-put-2): Use "window--" prefix.
13966
cbe71af3
SM
139672011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
13968
2ad52c60
SM
13969 * emacs-lisp/smie.el: Improve warnings and conflict detection.
13970 (smie-warning-count): New var.
13971 (smie-set-prec2tab): Use it.
13972 (smie-bnf->prec2): Improve warnings. Add docstring.
13973 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
13974 (smie-bnf--set-class): New function.
13975 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
13976 corner case.
13977
6944dbc1
SM
13978 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
13979 (compilation-error-properties, compilation-move-to-column):
13980 Handle compilation-first-column while in the target buffer.
13981
c400c4d7
SM
13982 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
13983 Don't hardcode point-min==1.
13984
6dbe3e96
SM
13985 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
13986 (eshell-rewrite-for-command): Remove workaround.
13987 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
13988 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
13989 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
13990
cbe71af3
SM
13991 * files-x.el (modify-file-local-variable): Obey commenting conventions.
13992
a8e1496d
GM
139932011-11-17 Glenn Morris <rgm@gnu.org>
13994
13995 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
13996 Ignore buffer-local generated-autoload-file if it is the same
13997 as the global value. (Bug#10049)
13998
df85d315
JB
139992011-11-17 Juanma Barranquero <lekktu@gmail.com>
14000
14001 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
14002 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
14003 (reftex-toc-previous-heading, reftex-toc-max-level)
14004 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
14005 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
14006 (reftex-toc-do-promote, reftex-toc-promote-prepare)
14007 (reftex-toc-promote-action, reftex-toc-extract-section-number)
14008 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
14009 (reftex-toc-rename-label, reftex-toc-visit-location)
14010 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
14011 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
14012 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
14013 leaving "*toc*" only for references to the buffer.
14014
a0c2d0ae
MR
140152011-11-17 Martin Rudalics <rudalics@gmx.at>
14016
14017 * window.el (window-resize, delete-window, split-window):
14018 Replace window-splits by window-combination-resize.
1d00653d 14019 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 14020
35c0bac8
GM
140212011-11-17 Glenn Morris <rgm@gnu.org>
14022
14023 * progmodes/sh-script.el (sh-font-lock-keywords-var):
14024 Make bash entry derive from sh entry, not shell entry.
14025
d0c8fc8a
MA
140262011-11-16 Michael Albinus <michael.albinus@gmx.de>
14027
7262a87c
MA
14028 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
14029 local file name.
14030
7877f373
JB
140312011-11-16 Juanma Barranquero <lekktu@gmail.com>
14032
14033 * menu-bar.el (menu-bar-file-menu):
14034 * printing.el (pr-ps-utility):
14035 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
14036 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
14037 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
14038 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
14039 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
14040 (icalendar--convert-cyclic-to-ical)
14041 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
14042 (icalendar--convert-ical-to-diary)
14043 (icalendar--convert-recurring-to-diary)
14044 (icalendar--convert-non-recurring-all-day-to-diary)
14045 (icalendar-import-format-sample):
14046 * progmodes/idlw-shell.el (idlwave-shell-mode):
14047 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
14048 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
14049 (vhdl-ps-print-init): Fix typos.
14050
10649b82
KM
140512011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
14052
9d0cfcd6
GM
14053 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
14054 FSF and collapse date sequence, obscure author/maintainer email address
14055 better, remove extra version line, track relocation of author's webpage.
10649b82 14056
9d0cfcd6
GM
14057 * progmodes/python.el (python-pdbtrack-input-prompt)
14058 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
14059 regular python pdb prompts. Adjustments shamelessly taken exactly as
14060 suggested in EmacsWiki page (tiny change):
14061 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 14062
58179cce
JB
140632011-11-16 Juanma Barranquero <lekktu@gmail.com>
14064
14065 * expand.el (expand-pos, expand-index, expand-point):
14066 Remove redundant info from docstring.
14067 (expand-add-abbrevs): Doc fix.
14068 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
14069 (expand-sample-perl-mode-expand-list): Fix typos.
14070
14071 * net/dbus.el (dbus-event-member-name):
14072 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
14073 * term/pc-win.el (msdos-create-frame-with-faces):
14074 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
14075
b6f67890
MR
140762011-11-16 Martin Rudalics <rudalics@gmx.at>
14077
14078 * window.el (split-window, window-state-get-1)
14079 (window-state-put-1, window-state-put-2): Rename occurrences of
14080 window-nest to window-combination-limit.
1d00653d 14081 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 14082
ce7ddba0
CY
140832011-11-16 Chong Yidong <cyd@gnu.org>
14084
14085 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
14086 regexp (Bug#10033).
14087
3ae704f4
SM
140882011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
14089
14090 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
14091 `completing-read' will remove *Completions* and will preserve
14092 current-buffer for us.
14093 (tmm-add-prompt): Users of *Completions* will always (re)set its
14094 major mode.
14095 (tmm-old-comp-map): Remove.
14096
6ad1cdde
GM
140972011-11-16 Glenn Morris <rgm@gnu.org>
14098
14099 * mail/rmailedit.el: Require rmailmm when compiling.
14100 (rmail-old-mime-state): New declaration.
14101 (rmail-edit-current-message): If editing a mime message,
14102 edit the "raw" message from the mbox buffer.
14103 (rmail-cease-edit): Handle mime messages. (Bug#9840)
14104
d20faa20
GM
141052011-11-15 Glenn Morris <rgm@gnu.org>
14106
14107 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
14108 which wasn't being used. Add optional arg to force given state.
14109 (rmail-mime): Add optional arg to force given state.
14110
c7015153
JB
141112011-11-15 Juanma Barranquero <lekktu@gmail.com>
14112
14113 * allout.el (allout-encryption-plaintext-sanitization-regexps):
14114 * frame.el (display-mm-dimensions-alist):
14115 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
14116 (outline-move-subtree-down):
14117 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
14118 (newsticker--treeview-do-get-node):
14119 * net/quickurl.el (quickurl-list-buffer-name):
14120 * progmodes/dcl-mode.el (dcl-mode):
14121 * progmodes/gdb-mi.el (gdb-mapcar*):
14122 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
14123
45261b50
GM
141242011-11-15 Glenn Morris <rgm@gnu.org>
14125
14126 * mail/rmail.el (rmail-file-coding-system): It's only ever used
14127 in a boolean sense, so just make it a boolean, and fix the doc.
14128 (rmail-show-mime-function, rmail-mime-feature)
14129 (rmail-require-mime-maybe): Doc fixes.
14130 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
14131
14132 * mail/rmailmm.el (rmail-show-mime): Doc fix.
14133
0d26e0b6
JB
141342011-11-15 Juanma Barranquero <lekktu@gmail.com>
14135
14136 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
14137 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
14138 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
14139 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
14140
447f30f6
GM
141412011-11-15 Glenn Morris <rgm@gnu.org>
14142
672b871d
GM
14143 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
14144 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
14145 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
14146 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
14147 (rmail-mime, rmail-show-mime): Doc fixes.
14148
f6aa5bb1
GM
14149 * term/ns-win.el (mode-line-frame-identification):
14150 Leave it alone. (Bug#10051)
14151
947cd66b
GM
14152 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
14153
447f30f6
GM
14154 * mail/rmailout.el (rmail-output-to-rmail-buffer):
14155 Handle empty buffers. (Bug#9978)
14156
0b381c7e
JB
141572011-11-14 Juanma Barranquero <lekktu@gmail.com>
14158
14159 * international/mule.el (define-charset):
14160 * mail/rmailmm.el (rmail-mime-find-header-encoding):
14161 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
14162 * progmodes/verilog-mode.el (verilog-backward-token):
14163 * textmodes/ispell.el (lookup-words):
14164 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
14165
71e027ac
GM
141662011-11-14 Glenn Morris <rgm@gnu.org>
14167
56632ce4
GM
14168 * progmodes/executable.el
14169 (executable-make-buffer-file-executable-if-script-p):
14170 Handle file-modes returning nil.
14171
40500957
GM
14172 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
14173 message - not necessary, and causes problems. (Bug#9831)
14174
071c2340
GM
14175 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
14176
d3cfca60
GM
14177 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
14178
71e027ac
GM
14179 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
14180 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
14181 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
14182
89d61221
MR
141832011-11-12 Martin Rudalics <rudalics@gmx.at>
14184
14185 * window.el (window-resize, delete-window): Use window-splits
14186 variable instead of function.
14187 (window-state-get-1, window-state-put-2, window-state-put):
14188 Don't deal with windows' splits status.
14189
98282f6f
GM
141902011-11-12 Glenn Morris <rgm@gnu.org>
14191
14192 * apropos.el (apropos-do-all, apropos-library, apropos-value)
14193 (apropos-documentation): Doc fixes.
14194
40a8bdf6
JB
141952011-11-11 Juanma Barranquero <lekktu@gmail.com>
14196
14197 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
14198 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
14199
65bd19ff
SM
142002011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
14201
14202 * electric.el (electric-indent-post-self-insert-function): Make it
14203 possible for a char to only indent in some circumstances.
14204 (electric-indent-mode): Simplify.
14205
54f9154c
MR
142062011-11-11 Martin Rudalics <rudalics@gmx.at>
14207
14208 * window.el (windows-with-parameter): Remove unused function.
14209 (windows-at-side): Rename to window-at-side-list.
14210 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
14211 (window-side-check, window-size-ignore, window-size-fixed-1)
14212 (window-in-direction-2): Prefix with "window--".
14213 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 14214
68cbc58b
GM
142152011-11-11 Glenn Morris <rgm@gnu.org>
14216
14217 * subr.el (eval-after-load): If FILE is already loaded,
14218 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
14219
b2621720
GM
142202011-11-10 Glenn Morris <rgm@gnu.org>
14221
9a4de110
GM
14222 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
14223 Call svn via vc-svn-command rather than vc-do-command.
14224 (vc-svn-command): Add --non-interactive. (Bug#9993)
14225 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
14226
b2621720
GM
14227 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
14228 Add toggle-read-only. (Bug#7292)
14229 * files.el (toggle-read-only): Mention that it should only
14230 be used interactively. (Bug#10006)
14231
1dce7193
SM
142322011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
14233
d9ac1a1e
SM
14234 * progmodes/compile.el (compilation-error-regexp-alist-alist):
14235 Adjust regexp for OCaml warnings.
14236
0c325082
SM
14237 * electric.el (electric-pair-post-self-insert-function): Let user
14238 turn it off buffer-locally (bug#9932).
14239
90132c14
SM
14240 * progmodes/python.el (python-beginning-of-statement):
14241 Rewrite (bug#2703).
14242
1dce7193
SM
14243 * progmodes/compile.el: Better handle TABs (bug#9749).
14244 (compilation-internal-error-properties)
14245 (compilation-next-error-function): Obey the target buffer's
14246 compilation-error-screen-columns.
14247
c4e7c63a
JB
142482011-11-09 Juanma Barranquero <lekktu@gmail.com>
14249
14250 * progmodes/meta-mode.el: Remove obsolete comments.
14251 (meta-right-comment-regexp, meta-ignore-comment-regexp):
14252 Fix typos in docstrings.
14253
2cffd681
MR
142542011-11-09 Martin Rudalics <rudalics@gmx.at>
14255
14256 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 14257 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
14258 (window--resizable): New function. Make all callers of
14259 window-resizable call window--resizable instead.
14260 (window-resizable): Rewrite in terms of window--resizable.
14261
0edcba87
GM
142622011-11-08 Glenn Morris <rgm@gnu.org>
14263
14264 * progmodes/delphi.el (delphi-mode-syntax-table):
14265 Let define-derived-mode define a proper syntax table. (Bug#9994)
14266
4b0d61e3
SM
142672011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
14268
14269 * window.el: Stay away from defsubst.
14270 (window-list-no-nils): Remove.
14271 (window-state-get-1, window-state-get): Use backquote instead.
14272
cd394be1 142732011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 14274
4b0d61e3 14275 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 14276 Fix incorrect use of default argument in `completing-read'.
14277
e1c2c6f2
MR
142782011-11-08 Martin Rudalics <rudalics@gmx.at>
14279
14280 * window.el (display-buffer-function, special-display-function):
14281 Mention display-buffer-record-window but do not mention
14282 help-setup parameter in doc-strings.
b3f4a882 14283 (window-min-delta): Fix doc-string typo.
e1c2c6f2 14284
105216ed
CY
142852011-11-08 Chong Yidong <cyd@gnu.org>
14286
14287 * window.el (window-total-height, window-total-width): Doc fix.
14288 (window-body-size): Move from C.
14289 (window-body-height, window-body-width): Move to C.
14290
0a9f9ab5
SM
142912011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
14292
14293 * window.el: Make special-display like display-buffer-alist (bug#9532).
14294 (display-buffer--special-action): New function, morphed
14295 from display-buffer--special.
14296 (display-buffer): Use it to handle special-display-buffers at higher
14297 priority (just after display-buffer-alist).
14298 (display-buffer-fallback-action, display-buffer--other-frame-action)
14299 (pop-to-buffer-same-window): Remove display-buffer--special.
14300
a769dd15
GM
143012011-11-07 Glenn Morris <rgm@gnu.org>
14302
14303 * calendar/cal-menu.el (cal-menu-set-date-title):
14304 Do nothing if not in a calendar. (Bug#9976)
14305
05a61ee3
SM
143062011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
14307
14308 * files.el (find-file): Always use selected-window.
14309
be7f5545
MR
143102011-11-07 Martin Rudalics <rudalics@gmx.at>
14311
14312 * window.el (window-combinations): Make WINDOW argument
14313 mandatory. Rewrite doc-string.
14314 (walk-window-subtree, window-atom-check, window-min-delta)
14315 (window-max-delta, window--resize-this-window)
14316 (window--resize-root-window-vertically, window-tree)
14317 (balance-windows, window-state-put): Rewrite doc-strings as to
14318 not mention the term "subwindow".
14319 (window--resize-subwindows-skip-p): Rename to
14320 window--resize-child-windows-skip-p.
14321 (window--resize-subwindows-normal): Rename to
14322 window--resize-child-windows-normal.
14323 (window--resize-subwindows): Rename to
14324 window--resize-child-windows.
14325 (window-or-subwindow-p): Rename to window--in-subtree-p.
14326
3c6702ef
ML
143272011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
14328
14329 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
14330 Ensure that mbox format messages end in two newlines (Bug#9974).
14331
49745b39
CY
143322011-11-06 Chong Yidong <cyd@gnu.org>
14333
14334 * window.el (window-combination-p): Function deleted; its
14335 side-effect is not used in any existing code.
14336 (window-combinations, window-combined-p): Call window-*-child
14337 directly.
14338
24300f5f
CY
143392011-11-05 Chong Yidong <cyd@gnu.org>
14340
14341 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
14342 (window-size-ignore, window-state-get): Callers changed.
14343 (window-normalize-window): Rename from window-normalize-any-window.
14344 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 14345 (window-normalize-live-window): Delete.
447f16b8
CY
14346 (window-combination-p, window-combined-p, window-combinations)
14347 (walk-window-subtree, window-atom-root, window-min-size)
14348 (window-sizable, window-sizable-p, window-size-fixed-p)
14349 (window-min-delta, window-max-delta, window-resizable)
14350 (window-resizable-p, window-full-height-p, window-full-width-p)
14351 (window-current-scroll-bars, window-point-1, set-window-point-1)
14352 (window-at-side-p, window-in-direction, window-resize)
14353 (adjust-window-trailing-edge, maximize-window, minimize-window)
14354 (window-deletable-p, delete-window, delete-other-windows)
14355 (record-window-buffer, unrecord-window-buffer)
14356 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
14357 (quit-window, split-window, window-state-put)
14358 (set-window-text-height, fit-window-to-buffer)
14359 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 14360
89bd5ee1
EZ
143612011-11-04 Eli Zaretskii <eliz@gnu.org>
14362
53479029
EZ
14363 * mail/rmail.el (rmail-simplified-subject): Decode subject with
14364 rfc2047-decode-string.
14365 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
14366 warnings.
14367
89bd5ee1
EZ
14368 * window.el (window-body-height, window-body-width): Mention in
14369 the doc string that the return values are in frame's canonical
14370 units. (Bug#9949)
14371
bd17fdee
AM
143722011-11-03 Alan Mackenzie <acm@muc.de>
14373
14374 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
14375 change in cc-engine.el.
14376
acc825c5
SM
143772011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
14378
14379 * window.el (switch-to-buffer): Use `force-same-window' interactively.
14380
1885e5b8
MR
143812011-11-02 Martin Rudalics <rudalics@gmx.at>
14382
14383 * window.el (quit-window): Call unrecord-window-buffer after
14384 showing another buffer in the window. (Bug#9937)
acc825c5 14385 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 14386
ebe06da9
JB
143872011-11-02 Juanma Barranquero <lekktu@gmail.com>
14388
14389 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
14390 Accept status with more than 9 shelves. (Bug#9935)
14391 Reported by Colin D Bennett <colin@gibibit.com>.
14392
4ee88440
MR
143932011-11-01 Martin Rudalics <rudalics@gmx.at>
14394
14395 * help.el (with-help-window): Don't reference
14396 temp-buffer-show-specifiers in doc-string.
14397
08e1d82c
AS
143982011-10-31 Andreas Schwab <schwab@linux-m68k.org>
14399
14400 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
14401 menu-item.
14402
84bd6e9e
VJL
144032011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
14404
14405 * whitespace.el: New version 13.2.2.
14406 (whitespace-newline-mode): Disable properly. Reported by Sarah
14407 <EmacsWiki>.
14408
dba0634a
UJ
144092011-10-30 Ulf Jasper <ulf.jasper@web.de>
14410
14411 * net/newst-treeview.el: Remove "Time-stamp".
14412 (newsticker--group-manage-orphan-feeds): Do not call
14413 newsticker--treeview-tree-update.
db22a3c2
JB
14414 (newsticker-treeview-update, newsticker-treeview):
14415 Call newsticker--treeview-tree-update if necessary.
dba0634a 14416
3d8daefe
MR
144172011-10-30 Martin Rudalics <rudalics@gmx.at>
14418
14419 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
14420 (window-iso-combinations): Remove "iso-" infix.
14421 Suggested by Chong Yidong.
3d8daefe
MR
14422 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
14423 (window-max-delta-1, window-resize, window--resize-siblings)
14424 (window--resize-this-window, adjust-window-trailing-edge)
14425 (split-window, balance-windows-1)
14426 (shrink-window-if-larger-than-buffer):
14427 * calendar/calendar.el (calendar-generate-window):
db22a3c2 14428 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 14429
1bc4c3ae
SM
144302011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
14431
14432 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
14433 in place (bug#9907).
14434 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
14435 (eshell-rewrite-if-command, eshell-rewrite-for-command)
14436 (eshell-structure-basic-command, eshell-rewrite-while-command)
14437 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
14438 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
14439 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
14440 (eshell-do-pipelines-synchronously, eshell-eval-command):
14441 Use backquotes and prefer setq to set.
14442 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
14443 (eshell-macrop): Use functionp.
c1e2f5fa 14444 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 14445
30b65d9c
CY
144462011-10-30 Chong Yidong <cyd@gnu.org>
14447
14448 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
14449 instead of set-mark (Bug#9810).
14450
2d197ffb
CY
144512011-10-30 Chong Yidong <cyd@gnu.org>
14452
14453 * window.el (split-window-below, split-window-right): Rename from
14454 split-window-above-each-other and split-window-side-by-side
14455 respectively. All callers changed.
14456 (split-window-sensibly, split-window-sensibly): Use them.
14457 (split-window-keep-point): Doc fix.
14458
14459 * isearch.el: Add isearch-scroll property to split-window-below
14460 and split-window-right.
14461
14462 * follow.el (follow-mode):
14463 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
14464 * progmodes/ada-xref.el (ada-gdb-application):
14465 * emulation/vip.el (vip-buffer-in-two-windows):
14466 * image-dired.el (image-dired-dired-with-window-configuration):
14467 * dired-x.el (dired-do-find-marked-files):
14468 * dired.el (dired-pop-to-buffer):
14469 * bs.el (bs--show-with-configuration):
14470 * vc/emerge.el (emerge-setup-windows):
14471 * textmodes/two-column.el (2C-two-columns):
14472 * textmodes/reftex-toc.el (reftex-toc):
14473 * progmodes/gdb-mi.el (gdb-setup-windows):
14474 * progmodes/fortran.el (fortran-window-create):
14475 * net/newst-treeview.el (newsticker--treeview-window-init):
14476 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
14477 * emulation/tpu-edt.el (tpu-gold-map):
14478 * emulation/crisp.el (crisp-mode-map):
14479 * calendar/calendar.el (calendar-basic-setup): Callers changed.
14480
38bb2ca8
CY
144812011-10-29 Chong Yidong <cyd@gnu.org>
14482
aa4de341
CY
14483 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
14484
e1eb5385
CY
14485 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
14486
5d2ece3c
CY
14487 * textmodes/flyspell.el (flyspell-word): Fix char offset for
14488 forged Ispell output (Bug#7904).
14489
38bb2ca8
CY
14490 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
14491
d0af9f77
SM
144922011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
14493
14494 * doc-view.el: Avoid ugly errors about not finding nil.
14495 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
14496 (doc-view-dvipdf-program, doc-view-unoconv-program)
14497 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
14498 Avoid nil or absolute file name as default value.
14499 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
14500
52bedd34
AM
145012011-10-28 Alan Mackenzie <acm@muc.de>
14502
db22a3c2 14503 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 14504
7e43cfa5
AM
145052011-10-28 Alan Mackenzie <acm@muc.de>
14506
14507 Amend the handling of c-beginning/end-of-defun in nested declaration
14508 scopes.
14509
52bedd34
AM
14510 * progmodes/cc-vars.el (c-defun-tactic): Move here from
14511 cc-langs.el. Change it to a defcustom.
7e43cfa5 14512
52bedd34
AM
14513 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
14514 cc-vars.el.
7e43cfa5 14515
d0af9f77
SM
14516 * progmodes/cc-engine.el (c-beginning-of-statement-1):
14517 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 14518
52bedd34 14519 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 14520 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
14521 (c-widen-to-enclosing-decl-scope): New function.
14522 (c-while-widening-to-decl-block): New macro.
14523 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
14524 outward for defun boundaries, and correspondingly change symbol
14525 `respect-enclosure' to `go-outward'.
14526 (c-declaration-limits): Change algorithm to report only the "innermost"
14527 defun's boundaries.
14528
1a2ce9ee
DD
145292011-10-28 Deniz Dogan <deniz@dogan.se>
14530
14531 * net/rcirc.el (rcirc-mode): Use hard newlines.
14532
bc97a826
AM
145332011-10-28 Alan Mackenzie <acm@muc.de>
14534
14535 Amend to indent and fontify macros "which include their own semicolon"
14536 correctly, using the "virtual semicolon" mechanism.
14537
52bedd34 14538 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 14539
d0af9f77 14540 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 14541 Recode to scan one line at a time rather than having \n and \r
58179cce 14542 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 14543 (c-forward-label): Amend for virtual semicolons.
58179cce 14544 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 14545
52bedd34
AM
14546 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
14547 of the new C macros.
bc97a826 14548
52bedd34 14549 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
14550 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
14551 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
14552 (c-opt-cpp-macro-define): Make into a full language variable.
14553 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
14554 AWK Mode (including \n, \r) removed, no longer needed.
14555
d0af9f77
SM
14556 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
14557 Invoke c-make-macro-with-semi-re.
bc97a826 14558
52bedd34
AM
14559 * progmodes/cc-vars.el (c-macro-with-semi-re):
14560 (c-macro-names-with-semicolon): New variables.
58179cce 14561 (c-make-macro-with-semi-re): New function.
bc97a826 14562
7a6c0941
SM
145632011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
14564
14565 * vc/log-edit.el: Fill empty field rather than adding new one.
14566 (log-edit-add-field): New function.
14567 (log-edit-insert-changelog): Use it.
14568
b0c4cdcf
ML
145692011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
14570
14571 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
14572
ee1f1da9
SM
145732011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
14574
14575 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
14576 (gdb--check-interpreter): New function.
14577 (gdb): Use it.
14578
51bc5f8b
GM
145792011-10-27 Glenn Morris <rgm@gnu.org>
14580
416a2c45
GM
14581 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
14582 (least-positive-float, least-negative-float)
14583 (least-positive-normalized-float, least-negative-normalized-float)
14584 (float-epsilon, float-negative-epsilon):
14585 Remove unnecessary declarations.
14586
14587 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
14588 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
14589 (least-positive-float, least-negative-float)
14590 (least-positive-normalized-float, least-negative-normalized-float)
14591 (float-epsilon, float-negative-epsilon): Add doc-strings,
14592 based on those in cl.texi.
14593
51bc5f8b
GM
14594 * files.el (set-visited-file-name): If the major-mode changed,
14595 reload the local variables. (Bug#9796)
14596
15de15c6
CY
145972011-10-27 Chong Yidong <cyd@gnu.org>
14598
14599 * subr.el (change-major-mode-after-body-hook): New hook.
14600 (run-mode-hooks): Run it.
14601
ee1f1da9
SM
14602 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
14603 Use change-major-mode-before-body-hook.
15de15c6
CY
14604
14605 * simple.el (fundamental-mode):
14606 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
14607 change introducing fundamental-mode-hook.
14608
5430d399
JB
146092011-10-26 Juanma Barranquero <lekktu@gmail.com>
14610
acc825c5 14611 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 14612
ad74a69e
MA
146132011-10-26 Michael Albinus <michael.albinus@gmx.de>
14614
14615 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 14616 tramp.el explicitly. (Bug#7583)
ad74a69e 14617
71d4c2a5
SM
146182011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
14619
14620 * progmodes/octave-mod.el:
14621 * progmodes/octave-inf.el: Update maintainer.
14622
b1f6fa26
CY
146232011-10-26 Chong Yidong <cyd@gnu.org>
14624
14625 * subr.el (with-wrapper-hook): Rewrite doc.
14626
3f04efd6
MA
146272011-10-25 Michael Albinus <michael.albinus@gmx.de>
14628
14629 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 14630 filenames "/method:foo:". (Bug#9793)
3f04efd6 14631
410488d3
SM
146322011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
14633
14634 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
14635 (bug#9865).
14636
c1ebb47e
GM
146372011-10-24 Glenn Morris <rgm@gnu.org>
14638
14639 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
14640
7f5c46c7
MA
146412011-10-24 Michael Albinus <michael.albinus@gmx.de>
14642
14643 * notifications.el: Add the requirement of a running D-Bus session
14644 bus to the Commentary.
14645
db2440b6
JL
146462011-10-24 Juri Linkov <juri@jurta.org>
14647
14648 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
14649 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
14650 (Bug#9364)
14651
feecf435
JL
146522011-10-24 Juri Linkov <juri@jurta.org>
14653
14654 * info.el (Info-following-node-name-re): Add newline to the list
14655 of allowed characters for leading space. (Bug#9824)
14656
a3839de2
SM
146572011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
14658
acc825c5
SM
14659 * progmodes/octave-inf.el (inferior-octave-mode-map):
14660 Fix C-c C-h binding.
a3839de2
SM
14661 * progmodes/octave-mod.el (octave-help): Remove.
14662
09388e76
MA
146632011-10-23 Michael Albinus <michael.albinus@gmx.de>
14664
14665 Sync with Tramp 2.2.3.
14666
14667 * net/tramp-cache.el (top): Pacify byte-compiler using
14668 `init-file-user' and `site-run-file'.
14669
14670 * net/trampver.el: Update release number.
14671
86c60681
CY
146722011-10-23 Chong Yidong <cyd@gnu.org>
14673
14674 * files.el (toggle-read-only): Remove obsolete comment about
14675 version control.
14676
14677 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
14678 for toggle-read-only. Note that this hasn't called vc-next-action
14679 since 2008-05-02, though it wasn't documented at the time.
14680
a3839de2
SM
14681 * vc/ediff-init.el (ediff-toggle-read-only-function):
14682 Use toggle-read-only.
86c60681 14683
cd5495ff
AM
146842011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
14685
14686 Fix bug #9560, sporadic wrong indentation; improve instrumentation
14687 of c-parse-state.
14688
00b77525 14689 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 14690 correct faulty logical expression.
cd5495ff
AM
14691 (c-parse-state-state, c-record-parse-state-state):
14692 (c-replay-parse-state-state): New defvar/defuns.
14693 (c-debug-parse-state): Use new functions.
14694
42ee24ed
MR
146952011-10-22 Martin Rudalics <rudalics@gmx.at>
14696
14697 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 14698 last fix. Use window-in-direction correctly.
42ee24ed 14699
a7dee7e7
CY
147002011-10-21 Chong Yidong <cyd@gnu.org>
14701
14702 * progmodes/idlwave.el (idlwave-mode):
14703 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
14704 require-final-newline; that's done in prog-mode.
14705 Suggested by Stefan Monnier.
a7dee7e7 14706
e07b9a6d
MR
147072011-10-21 Martin Rudalics <rudalics@gmx.at>
14708
14709 * mouse.el (mouse-drag-window-above)
14710 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
14711 (mouse-drag-mode-line-1, mouse-drag-header-line)
14712 (mouse-drag-vertical-line-rightward-window): Remove.
14713 (mouse-drag-line): New function.
14714 (mouse-drag-mode-line, mouse-drag-header-line)
14715 (mouse-drag-vertical-line): Call mouse-drag-line.
14716 * window.el (window-at-side-p, windows-at-side): New functions.
14717
7e1361d9
UM
147182011-10-21 Ulrich Mueller <ulm@gentoo.org>
14719
14720 * tar-mode.el (tar-grind-file-mode):
14721 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
14722
30fcaf3a
CY
147232011-10-21 Chong Yidong <cyd@gnu.org>
14724
14725 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
14726 * progmodes/vera-mode.el (vera-mode):
14727 Use mode-require-final-newline.
30fcaf3a 14728
516eddb0
GM
147292011-10-20 Glenn Morris <rgm@gnu.org>
14730
db22a3c2 14731 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 14732
10d5f513
CS
147332011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
14734
14735 * emulation/cua-base.el (cua-set-mark): Fix case of string.
14736
ac6c8639
CY
147372011-10-20 Chong Yidong <cyd@gnu.org>
14738
14739 * emulation/cua-base.el (cua-mode):
14740 * mail/footnote.el (footnote-mode):
14741 * mail/mailabbrev.el (mail-abbrevs-mode):
14742 * net/xesam.el (xesam-minor-mode):
14743 * progmodes/bug-reference.el (bug-reference-mode):
14744 * progmodes/cap-words.el (capitalized-words-mode):
14745 * progmodes/compile.el (compilation-minor-mode)
14746 (compilation-shell-minor-mode):
14747 * progmodes/gud.el (gud-tooltip-mode):
14748 * progmodes/hideif.el (hide-ifdef-mode):
14749 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
14750 * progmodes/subword.el (subword-mode):
14751 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
14752 * progmodes/which-func.el (which-function-mode):
14753 * term/tvi970.el (tvi970-set-keypad-mode):
14754 * term/vt100.el (vt100-wide-mode):
14755 * textmodes/flyspell.el (flyspell-mode):
14756 * textmodes/ispell.el (ispell-minor-mode):
14757 * textmodes/nroff-mode.el (nroff-electric-mode):
14758 * textmodes/paragraphs.el (use-hard-newlines):
14759 * textmodes/refill.el (refill-mode):
14760 * textmodes/reftex.el (reftex-mode):
14761 * textmodes/rst.el (rst-minor-mode):
14762 * textmodes/sgml-mode.el (html-autoview-mode)
14763 (sgml-electric-tag-pair-mode):
14764 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
14765 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
14766 * emulation/crisp.el (crisp-mode):
14767 * emacs-lisp/eldoc.el (eldoc-mode):
14768 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
14769 minor mode behavior.
14770
aa42ab43
JL
147712011-10-19 Juri Linkov <juri@jurta.org>
14772
14773 * descr-text.el (describe-char): Add #x2010 and #x2011 to
14774 the list of hard-coded chars with escape-glyph face.
14775
89400f1d
SM
147762011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
14777
14778 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
14779
305c07f6
MA
147802011-10-19 Michael Albinus <michael.albinus@gmx.de>
14781
14782 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
14783 running process.
14784
13754b54
GM
147852011-10-19 Glenn Morris <rgm@gnu.org>
14786
14787 * vc/vc-bzr.el (vc-bzr-after-dir-status):
14788 Ignore ignored files. (Bug#9726)
14789
06e21633
CY
147902011-10-19 Chong Yidong <cyd@gnu.org>
14791
14792 Doc fix for minor modes, stating that an omitted argument enables
14793 the mode unconditionally when called from Lisp.
14794
14795 * abbrev.el (abbrev-mode):
14796 * allout.el (allout-mode):
14797 * autoinsert.el (auto-insert-mode):
14798 * autoarg.el (autoarg-mode, autoarg-kp-mode):
14799 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
14800 (global-auto-revert-mode):
14801 * battery.el (display-battery-mode):
14802 * composite.el (global-auto-composition-mode)
14803 (auto-composition-mode):
14804 * delsel.el (delete-selection-mode):
14805 * desktop.el (desktop-save-mode):
14806 * dired-x.el (dired-omit-mode):
14807 * dirtrack.el (dirtrack-mode):
14808 * doc-view.el (doc-view-minor-mode):
14809 * double.el (double-mode):
14810 * electric.el (electric-indent-mode, electric-pair-mode):
14811 * emacs-lock.el (emacs-lock-mode):
14812 * epa-hook.el (auto-encryption-mode):
14813 * follow.el (follow-mode):
14814 * font-core.el (font-lock-mode):
14815 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
14816 * help.el (temp-buffer-resize-mode):
14817 * hilit-chg.el (highlight-changes-mode)
14818 (highlight-changes-visible-mode):
14819 * hi-lock.el (hi-lock-mode):
14820 * hl-line.el (hl-line-mode, global-hl-line-mode):
14821 * icomplete.el (icomplete-mode):
14822 * ido.el (ido-everywhere):
14823 * image-file.el (auto-image-file-mode):
14824 * image-mode.el (image-minor-mode):
14825 * iswitchb.el (iswitchb-mode):
14826 * jka-cmpr-hook.el (auto-compression-mode):
14827 * linum.el (linum-mode):
14828 * longlines.el (longlines-mode):
14829 * master.el (master-mode):
14830 * mb-depth.el (minibuffer-depth-indicate-mode):
14831 * menu-bar.el (menu-bar-mode):
14832 * minibuf-eldef.el (minibuffer-electric-default-mode):
14833 * mouse-sel.el (mouse-sel-mode):
14834 * msb.el (msb-mode):
14835 * mwheel.el (mouse-wheel-mode):
14836 * outline.el (outline-minor-mode):
14837 * paren.el (show-paren-mode):
14838 * recentf.el (recentf-mode):
14839 * reveal.el (reveal-mode, global-reveal-mode):
14840 * rfn-eshadow.el (file-name-shadow-mode):
14841 * ruler-mode.el (ruler-mode):
14842 * savehist.el (savehist-mode):
14843 * scroll-all.el (scroll-all-mode):
14844 * scroll-bar.el (scroll-bar-mode):
14845 * server.el (server-mode):
14846 * shell.el (shell-dirtrack-mode):
14847 * simple.el (auto-fill-mode, transient-mark-mode)
14848 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
14849 (line-number-mode, column-number-mode, size-indication-mode)
14850 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
14851 * strokes.el (strokes-mode):
14852 * time.el (display-time-mode):
14853 * t-mouse.el (gpm-mouse-mode):
14854 * tool-bar.el (tool-bar-mode):
14855 * tooltip.el (tooltip-mode):
14856 * type-break.el (type-break-mode-line-message-mode)
14857 (type-break-query-mode):
14858 * view.el (view-mode):
14859 * whitespace.el (whitespace-mode, whitespace-newline-mode)
14860 (global-whitespace-mode, global-whitespace-newline-mode):
14861 * xt-mouse.el (xterm-mouse-mode): Doc fix.
14862
a3839de2
SM
14863 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
14864 Fix autogenerated docstring.
06e21633 14865
5214e501
JL
148662011-10-19 Juri Linkov <juri@jurta.org>
14867
14868 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
14869 by checking environment variables "DESKTOP_SESSION" and
14870 "XDG_CURRENT_DESKTOP". (Bug#9779)
14871
195f8db9
JL
148722011-10-19 Juri Linkov <juri@jurta.org>
14873
14874 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
14875 (browse-url-chromium-program, browse-url-chromium-arguments):
14876 New defcustoms.
14877 (browse-url-default-browser): Check for `browse-url-chromium' and
14878 call `browse-url-chromium-program'.
14879 (browse-url-chromium): New command. (Bug#9779)
14880
343a34ff
JB
148812011-10-18 Juanma Barranquero <lekktu@gmail.com>
14882
14883 * facemenu.el (list-colors-duplicates): On Windows, detect more
14884 duplicates by assuming that only colors matching "^System" are
14885 special "system colors". (Bug#9722)
14886
6978a151
SM
148872011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
14888
14889 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
14890 to distinguish the author from the committer.
14891
6a80b297
MA
148922011-10-18 Michael Albinus <michael.albinus@gmx.de>
14893
14894 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
14895
b31a5677
JK
148962011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
14897
14898 * international/mule.el (sgml-html-meta-auto-coding-function):
14899 Add support for detecting encoding in HTML5 specified only as
14900 <meta charset="UTF-8">. Implementation just makes http-equiv and
14901 content-type parts from HTML4 encoding string optional. (Bug#9716)
14902
80c6d77f
GM
149032011-10-18 Glenn Morris <rgm@gnu.org>
14904
14905 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
14906
08b0fee8
CY
149072011-10-18 Chong Yidong <cyd@gnu.org>
14908
14909 * faces.el (cursor): Doc fix.
14910
67e729a5
CY
149112011-10-17 Chong Yidong <cyd@gnu.org>
14912
14913 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
14914
343a34ff 149152011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
14916
14917 * dirtrack.el (dirtrack): Support shell buffers with path
14918 prefixes, e.g. tramp-based remote shells. (Bug#9647)
14919
0bc06380
TZ
149202011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
14921
14922 * json.el: Bump version to 1.3 and note change in History.
14923 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
14924
8b79f3e0
SM
149252011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
14926
5a7c536b
SM
14927 * comint.el (comint-insert-input, comint-send-input)
14928 (comint-get-old-input-default, comint-backward-matching-input)
14929 (comint-next-prompt): Use nil instead of `input' for field property of
14930 past user input (bug#114).
14931
96a8a0df
SM
14932 * minibuffer.el (completion--replace): Inherit surrounding properties
14933 (bug#114).
14934 (minibuffer-complete-and-exit): Use it.
14935
8b79f3e0
SM
14936 * comint.el (comint--table-subvert): Quote the all-completions output
14937 (bug#9160).
14938
b8f7ff0d
MR
149392011-10-17 Martin Rudalics <rudalics@gmx.at>
14940
8b79f3e0 14941 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 14942
b8f7ff0d 14943 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 14944 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
14945 entries and separate them from frame entries.
14946
c235b555
GM
149472011-10-15 Glenn Morris <rgm@gnu.org>
14948
14949 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
14950 Doc fixes.
14951
6bbfa6e1
CY
149522011-10-15 Chong Yidong <cyd@stupidchicken.com>
14953
8b79f3e0
SM
14954 * net/network-stream.el (network-stream-open-starttls):
14955 Improve detection of failure due to lack of TLS support.
ec5c990d 14956
6bbfa6e1
CY
14957 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
14958 putting the input text in front and in bold.
14959
98488977
SM
149602011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
14961
3d1337be
SM
14962 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
14963
ee0b45e4
SM
14964 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
14965 empty buffer.
14966
98488977
SM
14967 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
14968 unread-command-events rather than pushing yet-another event.
14969
186f4720
EZ
149702011-10-14 Eli Zaretskii <eliz@gnu.org>
14971
14972 * mail/sendmail.el (sendmail-query-once): Improve the wording of
14973 the explanation of the possible choices. Make the options passed
14974 to completing-read shorter.
14975
8b7a997c
AM
149762011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
14977
14978 * textmodes/flyspell.el (flyspell-large-region): Make sure
14979 extended character mode is used if defined (Bug#1339).
14980
12587bbb
EZ
149812011-10-13 Eli Zaretskii <eliz@gnu.org>
14982
14983 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
14984 character info for LRE, LRO, RLE, and RLO characters by appending
14985 an invisible PDF.
12587bbb 14986
bad41229
SM
149872011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
14988
14989 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
14990 even in case of error; add debug spec; simplify data flow.
14991 (with-timeout-handler): Remove.
14992
28dbc92f
MA
149932011-10-12 Michael Albinus <michael.albinus@gmx.de>
14994
14995 Fix Bug#6019, Bug#9315.
14996
14997 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
14998 complete `buffer-file-name', the local file name part could look
14999 remotely (for example on VMS).
15000
15001 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
15002 `tramp-run-real-handler'.
15003 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
15004 already quoted by '"'.
15005
15006 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
15007 Let `file-name-handler-alist' be nil, the local file name part
15008 could look remotely (for example on VMS).
15009
e1b0b23a
SM
150102011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
15011
15012 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
15013 from here...
15014 (flyspell-post-command-hook): ...to here.
15015
a120bde9
SM
150162011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
15017
15018 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
15019 if not needed.
15020 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
15021 using completion. Protect against "slow" callers.
15022 Remove the "message hack".
15023
7ce7717b
JL
150242011-10-11 Juri Linkov <juri@jurta.org>
15025
15026 * isearch.el (isearch-lazy-highlight-word): New variable.
15027 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
15028 Use it. (Bug#9727)
15029
c02ee9d6
GM
150302011-10-11 Glenn Morris <rgm@gnu.org>
15031
15032 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
15033 like f90-previous-statement does.
15034
93e616fd 150352011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15036
1f190e73 15037 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
15038 only in interactive use, to avoid error.
15039
af7b6078
SM
150402011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
15041
15042 * minibuffer.el (completion-file-name-table): Fix last change,
15043 i.e. ignore normal errors but not the other ones.
15044
0563dae9
MR
150452011-10-10 Martin Rudalics <rudalics@gmx.at>
15046
15047 * window.el (special-display-buffer-names)
15048 (special-display-regexps): Remove some remnants of earlier
15049 changes from doc-strings.
366ca7f3
MR
15050 (quit-windows-on): New function.
15051
15052 * vc/vc.el (vc-revert, vc-rollback):
15053 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
15054 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 15055 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 15056
49677495
MR
150572011-10-09 Martin Rudalics <rudalics@gmx.at>
15058
15059 * window.el (frame-auto-hide-function): Add version tag.
15060 (Bug#9699)
15061
56f2d1e1
MA
150622011-10-09 Michael Albinus <michael.albinus@gmx.de>
15063
15064 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
15065 condition.
15066
112a6592
LL
150672011-10-09 Leo Liu <sdl.web@gmail.com>
15068
15069 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
15070 (Bug#9701)
15071
0812589b
GM
150722011-10-08 Glenn Morris <rgm@gnu.org>
15073
15074 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
15075 before the first code statement zero indent. (Bug#9690)
15076
b2b0776e
CY
150772011-10-08 Chong Yidong <cyd@stupidchicken.com>
15078
15079 * simple.el (count-words-region): Always count in the region.
15080 Report the number of lines and characters too.
15081 (count-words): New command, which counts in the buffer if the
15082 region is inactive, as count-words-region used to.
15083 (count-words--message): New function. Handle plurals.
15084 (count-lines-region): Make it an alias for count-words-region.
15085
15086 * bindings.el (esc-map): Replace count-lines-region with
15087 count-words-region.
15088
c557cd6b
MR
150892011-10-08 Martin Rudalics <rudalics@gmx.at>
15090
15091 * window.el (window--delete): Delete dedicated frame
15092 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 15093 (switch-to-buffer): Fix doc-string typo.
c557cd6b 15094
61a57ef4 150952011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15096
3a7d293b 15097 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 15098
c3833279
CY
150992011-10-07 Chong Yidong <cyd@stupidchicken.com>
15100
15101 * bindings.el ([M-left],[M-right]): Bind to left-word and
15102 right-word respectively.
15103
21ce8245
GM
151042011-10-07 Glenn Morris <rgm@gnu.org>
15105
15106 * cus-start.el (debug-on-quit): Fix custom type.
15107
6d823bb2
LMI
151082011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
15109
0181e193
LMI
15110 * subr.el (define-key-after): Clarify that the function is not
15111 useful for non-menu keymaps.
15112
6d823bb2
LMI
15113 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
15114
8e3459ce 151152011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15116
21ce8245 15117 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 15118 in current minibuffer (Fix bug with recursive minibuffers).
15119
a1c2d21e
CY
151202011-10-06 Chong Yidong <cyd@stupidchicken.com>
15121
15122 * progmodes/gdb-mi.el (gdb): Doc fix.
15123
5a4cf282
MR
151242011-10-05 Martin Rudalics <rudalics@gmx.at>
15125
15126 * window.el (frame-auto-hide-function): New option replacing
15127 frame-auto-delete. Suggested by Stefan Monnier.
15128 (window--delete): Call frame-auto-hide-function instead of
15129 investigating frame-auto-delete.
c96111ea
MR
15130 (window-point-1, set-window-point-1): New functions.
15131 (window-in-direction, record-window-buffer, window-state-get-1)
15132 (display-buffer-record-window): Use window-point-1 instead of
15133 window-point.
15134 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 15135
9854542e
SM
151362011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
15137
15138 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
15139
8943cfb0
GM
151402011-10-05 Glenn Morris <rgm@gnu.org>
15141
15142 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
15143 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
15144
647ab967
LL
151452011-10-05 Leo Liu <sdl.web@gmail.com>
15146
15147 * subr.el (read-char-choice): Fix argument to buffer-live-p which
15148 works with buffer object.
15149
3ddfbced
SM
151502011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
15151
15152 * mpc.el (mpc-tool-bar-map): Add labels.
15153
bdfa5dd2
GM
151542011-10-04 Glenn Morris <rgm@gnu.org>
15155
15156 * calendar/holidays.el (calendar-check-holidays): Doc fix.
15157
0e2070b5
MR
151582011-10-04 Martin Rudalics <rudalics@gmx.at>
15159
15160 * window.el (window--delete): New function.
15161 (frame-auto-delete): Resuscitate option.
15162 (bury-buffer, replace-buffer-in-windows)
15163 (quit-window): Rewrite using window--delete.
15164 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
15165 Pass display-buffer-mark-dedicated to window--display-buffer-2
15166 (Bug#9639).
15167
3dc61a09
SM
151682011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
15169
915a9b64
SM
15170 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
15171 returns a list (bug#9554). Add remote file name completion.
15172 * comint.el (comint--table-subvert): Curry and get quote&unquote
15173 functions as arguments.
15174 (comint--complete-file-name-data): Adjust call accordingly.
15175 * pcomplete.el (pcomplete--table-subvert): Remove.
15176 (pcomplete-completions-at-point): Use comint--table-subvert instead.
15177
3dc61a09
SM
15178 * minibuffer.el (completion-table-case-fold): Use currying.
15179 (completion--styles-type, completion--cycling-threshold-type):
15180 New constants.
15181 (completion-styles, completion-category-overrides)
15182 (completion-cycle-threshold): Use them.
15183 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
15184 completion-table-case-fold.
15185
8ea0a993
SB
151862011-10-03 Stephen Berman <stephen.berman@gmx.net>
15187
15188 * minibuffer.el (completion-category-overrides): Fix type of styles
15189 and add more user friendly tags (bug#9660).
15190
8c24b7f6
SM
151912011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
15192
15193 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
15194 (mule-input-method-string): New widget.
15195 (default-input-method, language-info-custom-alist): Use it.
15196
428fe61a
SM
151972011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
15198
32c1fffd
SM
15199 * pcomplete.el: Require comint.
15200 (pcomplete--common-suffix): Remove.
15201 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
15202 (pcomplete--table-subvert): Sync with comint--table-subvert.
15203 (pcomplete--entries): Use comint-completion-file-name-table.
15204 * comint.el (comint-unquote-filename): Simplify.
15205 (comint-completion-file-name-table): New function (bug#9616).
15206 (comint--complete-file-name-data): Use it.
15207
428fe61a
SM
15208 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
15209 (pcmpl-gnu-tar-buffer): Remove.
15210 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
15211 around. Make sure pcomplete-suffix-list is only changed temporarily.
15212 Don't look inside the tar's file if it's too large.
428fe61a 15213
04c52e2f
CY
152142011-10-01 Chong Yidong <cyd@stupidchicken.com>
15215
ce3cefcc
CY
15216 * cus-edit.el (custom-mode-map):
15217 * epa.el (epa-key-list-mode-map):
15218 * man.el (Man-mode-map):
15219 * startup.el (splash-screen-keymap):
15220 * simple.el (special-mode-map): Use scroll-up-command and
15221 scroll-down-command.
15222
15223 * progmodes/idlw-help.el (idlwave-help-mode-map):
15224 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
15225 * net/newst-plainview.el (newsticker-mode-map):
15226 * emulation/ws-mode.el (wordstar-mode-map):
15227 * emulation/vi.el (vi-com-map):
15228 * calc/calc-graph.el (calc-graph-show-dumb):
15229 * term/sun.el (terminal-init-sun):
15230 * term/ns-win.el (global-map):
15231 * progmodes/grep.el (grep-mode-map):
15232 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
15233 * mail/rmail.el (rmail-mode-map):
15234 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
15235
04c52e2f
CY
15236 * custom.el (custom-safe-themes, load-theme): Treat value of t for
15237 custom-safe-themes as special.
15238
79adf8c8
JD
152392011-10-01 Julien Danjou <julien@danjou.info>
15240
15241 * notifications.el (notifications-notify): Fix docstring.
15242
63bd50d3
PS
152432011-10-01 Per Starbäck <per@starback.se>
15244
15245 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
15246
199e4c7e
MR
152472011-09-30 Martin Rudalics <rudalics@gmx.at>
15248
15249 * startup.el (command-line-1): Fix last fix by inserting
15250 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 15251 (Bug#9605) and (Bug#9636)
199e4c7e 15252
fe5f08dd
EZ
152532011-09-29 Eli Zaretskii <eliz@gnu.org>
15254
15255 * simple.el (line-move): If auto-hscroll-mode is disabled and the
15256 window is hscrolled, move by logical lines. (Bug#9607)
15257 (line-move-visual): Update the doc string to the above effect.
15258
b5516bbd
MR
152592011-09-29 Martin Rudalics <rudalics@gmx.at>
15260
ccee00c0
MR
15261 * window.el (display-buffer-record-window): When WINDOW is the
15262 selected window use `point' instead of `window-point'. (Bug#9626)
15263
b5516bbd
MR
15264 * startup.el (command-line-1): Use insert-before-markers when
15265 inserting initial-scratch-message. (Bug#9605)
ccee00c0 15266
b5516bbd
MR
15267 * help.el (help-window): Remove variable.
15268
52aa0014
GM
152692011-09-29 Glenn Morris <rgm@gnu.org>
15270
15271 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
15272
df9a7357
JB
152732011-09-29 Juanma Barranquero <lekktu@gmail.com>
15274
15275 * descr-text.el (describe-char-categories): Accept category
15276 descriptions more than one line long.
15277
a8406c20
SM
152782011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
15279
88d9610c
SM
15280 * simple.el (delete-trailing-whitespace): Fix last change.
15281
a5daf810
SM
15282 * progmodes/perl-mode.el (perl-syntax-propertize-function):
15283 Don't confuse "y => 3" as the beginning of a `y' operation.
15284
a8406c20
SM
15285 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
15286 object has more than 4 slots (bug#9613).
15287
a239d4e9
JB
152882011-09-28 Juanma Barranquero <lekktu@gmail.com>
15289
15290 * subr.el (with-output-to-temp-buffer):
15291 * net/quickurl.el (quickurl, quickurl-browse-url):
15292 Fix typos in docstrings.
15293
693fbdb6
EZ
152942011-09-27 Eli Zaretskii <eliz@gnu.org>
15295
15296 * minibuffer.el (completion-styles)
15297 (completion-category-overrides): Cross reference each other in doc
15298 strings.
15299
8b457e28
GM
153002011-09-27 Glenn Morris <rgm@gnu.org>
15301
15302 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
15303 to split-string. (Bug#9606)
15304
85a16208
LMI
153052011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
15306
15307 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
15308 (bug#9615).
15309
502f9ebd
CY
153102011-09-27 Chong Yidong <cyd@stupidchicken.com>
15311
15312 * emacs-lisp/package.el (list-packages): Fix echo area message.
15313
7690bdea
LL
153142011-09-27 Leo Liu <sdl.web@gmail.com>
15315
15316 * ido.el (ido-read-internal): Accept cons cell HIST arg.
15317
e2ee6f30
MA
153182011-09-25 Michael Albinus <michael.albinus@gmx.de>
15319
15320 * net/dbus.el (dbus-unregister-object): Don't release services for
15321 registered signals. (Bug#9581)
15322
f3f98342
TZ
153232011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
15324
15325 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
15326 function that picks between cfengine 2 and 3 support
15327 automatically. Update docs accordingly.
15328
dd7aa8dd
KH
153292011-09-22 Kenichi Handa <handa@m17n.org>
15330
15331 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
15332 ZERO.
15333 (indian-itrans-v5-table-for-tamil): New variable.
15334 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
15335
3f2b07f8
KM
153362011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
15337
15338 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
15339 that's true if the current command involved collapsing of text.
15340 It's reset to false at the beginning of the next command.
15341 (allout-post-command-business): Move the cursor to the beginning
15342 of entry if the cursor is hidden and collapsing activity just
15343 happened.
15344
371d6a61
CY
153452011-09-24 Chong Yidong <cyd@stupidchicken.com>
15346
15347 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
15348 tracking (Bug#9541).
15349
2ac2721a
UJ
153502011-09-24 Ulf Jasper <ulf.jasper@web.de>
15351
15352 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
15353 (newsticker-show-news): Automatically load html rendering package
15354 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
15355 because w3m-fill-column is let-bound" and the error "Symbol's value
15356 as variable is void: w3m-fill-column".
2ac2721a 15357
fac7ae53
MA
153582011-09-24 Michael Albinus <michael.albinus@gmx.de>
15359
15360 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
15361 Release services only if they are defined. (Bug#9581)
15362
e08b633b
RS
153632011-09-23 Richard Stallman <rms@gnu.org>
15364
e488d29c
RS
15365 * textmodes/paragraphs.el (forward-sentence): For backwards case,
15366 distinguish start of paragraph from start of its text.
15367
19c38752
RS
15368 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
15369
e08b633b
RS
15370 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
15371 (rmail-generate-viewer-buffer): Put that hook on view buffer.
15372 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
15373
0a39f27e
AS
153742011-09-23 Andreas Schwab <schwab@linux-m68k.org>
15375
15376 * international/mule-diag.el (mule-diag): Insert a newline after
15377 each fontset description.
15378
db4e950d
SM
153792011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
15380
15381 * simple.el (delete-trailing-whitespace):
15382 Document last change; simplify.
15383
eca3f3ea
PW
153842011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
15385
d68e189a
PW
15386 * simple.el (delete-trailing-whitespace): Also delete
15387 extra newlines at the end of the buffer.
15388
eca3f3ea
PW
15389 * textmodes/picture.el: Make motion commands obey shift-select-mode.
15390 (picture-newline): Use forward-line so as to ignore fields.
15391
01c157cc
SM
153922011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
15393
15394 * subr.el (with-wrapper-hook): Fix edebug spec.
15395
022de23e
LMI
153962011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
15397
15398 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
15399 (bug#4538).
15400
91683089
MA
154012011-09-23 Michael Albinus <michael.albinus@gmx.de>
15402
eca3f3ea
PW
15403 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
15404 Fix nasty bug using wrong cached values.
91683089 15405
5bdd6fa4
AM
154062011-09-23 Alan Mackenzie <acm@muc.de>
15407
15408 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
15409
97adfb97
CY
154102011-09-23 Chong Yidong <cyd@stupidchicken.com>
15411
15412 * window.el (pop-to-buffer): Ensure right window is selected if we
15413 chose another frame.
15414
d4ef2b50
EZ
154152011-09-22 Eli Zaretskii <eliz@gnu.org>
15416
15417 * simple.el (what-cursor-position): Use get-char-property-change
15418 and next-single-char-property-change, to be able to show display
15419 properties that come from overlays as well as text properties.
15420
72258fe5
CY
154212011-09-22 Chong Yidong <cyd@stupidchicken.com>
15422
15423 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
15424
15425 * cmuscheme.el (run-scheme, switch-to-scheme):
15426 * cus-edit.el (customize-group, custom-buffer-create)
15427 (customize-browse):
15428 * info.el (info):
15429 * shell.el (shell):
15430 * mail/sendmail.el (mail):
15431 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
15432
8f098516
RS
154332011-09-22 Richard Stallman <rms@gnu.org>
15434
15435 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
15436 move back only to line beg, don't move back over blank lines.
15437
e74f1bb6
MA
154382011-09-22 Michael Albinus <michael.albinus@gmx.de>
15439
15440 * files.el (copy-directory): Set directory attributes only in case
15441 they could be retrieved from the source directory. (Bug#9565)
15442
bfeef8b6
DK
154432011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
15444
15445 * progmodes/hideshow.el (hs-looking-at-block-start-p)
15446 (hs-find-block-beginning, hs-hide-level-recursive):
15447 Ignore strings as well as comments. (Bug#9502)
15448
7e423bb8
AS
154492011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
15450
15451 * progmodes/sql.el (sql-comint-postgres):
15452 Convert port number to a string. (Bug#9566)
15453
b4d72fcf
MR
154542011-09-22 Martin Rudalics <rudalics@gmx.at>
15455
15456 * window.el (quit-window): Undedicate window when switching to
15457 previous buffer. Reported by Thierry Volpiatto
15458 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
15459 (special-display-popup-frame): When popping up a new frame reset
15460 its previous buffers to nil. Simplify code.
b4d72fcf 15461
a7b88dc6
MA
154622011-09-21 Michael Albinus <michael.albinus@gmx.de>
15463
15464 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
15465 and process filter, as done also in `shell-command'.
15466
cf4eacfd
MR
154672011-09-21 Martin Rudalics <rudalics@gmx.at>
15468
eca3f3ea 15469 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
15470 Call set-window-start with NOFORCE argument t.
15471 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
15472 (quit-window): Reword doc-string. Handle new format of
15473 quit-restore parameter. Don't delete window if it has a
15474 previous buffer we can show instead of the present one.
15475 (display-buffer-record-window): Rewrite using a new format for
15476 the quit-restore window parameter
15477 (special-display-popup-frame, display-buffer-same-window)
15478 (display-buffer-reuse-window, display-buffer-pop-up-frame)
15479 (display-buffer-pop-up-window, display-buffer-use-some-window):
15480 Adapt symbol passed to display-buffer-record-window.
15481 * help.el (help-window-setup): Handle new format of quit-restore
15482 parameter.
15483
8d28cb95
SM
154842011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
15485
94ab793f
SM
15486 * faces.el (face-list): Fix docstring (bug#9564).
15487
8d28cb95
SM
15488 * window.el (display-buffer--action-function-custom-type):
15489 Don't include internal functions in the Custom interface.
15490
3820edeb
JL
154912011-09-20 Juri Linkov <juri@jurta.org>
15492
15493 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
15494 (Info-forward-node, Info-backward-node, Info-next-preorder)
15495 (Info-last-preorder): Use it. (Bug#9528)
15496
5147931d
JL
154972011-09-20 Juri Linkov <juri@jurta.org>
15498
15499 * info.el (Info-last-preorder): Visit last menu item only when
15500 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
15501
cf499a1a
JD
155022011-09-20 Julien Danjou <julien@danjou.info>
15503
15504 * password-cache.el (password-cache-remove): Remove entries even if the
15505 value is nil, so that password with a nil value (negative caching) is
15506 possible to invalidate.
15507
f84e2fe2
LM
155082011-09-20 Lawrence Mitchell <wence@gmx.li>
15509
15510 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
15511 all whitespace around breakpoint. (Bug#9553)
15512 (f90-find-breakpoint): Only break at whitespace inside a comment.
15513
78054a46
SM
155142011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
15515
15516 * minibuffer.el (completion-file-name-table): Keep track of errors.
15517 (completion-table-with-predicate): Handle the case where pred1 is nil.
15518 * pcomplete.el (pcomplete-completions-at-point): Simplify.
15519
345083b2
SM
155202011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
15521
e24e27be
SM
15522 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
15523 (debugger-return-value): Signal an error if the debugging context does
15524 not await any return value.
15525
345083b2
SM
15526 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
15527 * image-mode.el (image-toggle-display-text)
15528 (image-toggle-display-image): Stay away from evil `intangible'.
15529
08d355e3
LL
155302011-09-19 Leo Liu <sdl.web@gmail.com>
15531
15532 * replace.el (occur-revert-arguments): Make it permanent-local.
15533 (occur-mode): Don't call font-lock-defontify.
15534
f01da43f
CY
155352011-09-19 Chong Yidong <cyd@stupidchicken.com>
15536
15537 * net/ldap.el (ldap-search-internal): Don't push empty search
15538 result (Bug#9508).
15539
b6072fa6
SM
155402011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
15541
15542 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
15543
443d6696
MA
155442011-09-19 Michael Albinus <michael.albinus@gmx.de>
15545
15546 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
15547 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
15548
7cc6e154
JL
155492011-09-18 Juri Linkov <juri@jurta.org>
15550
15551 * buff-menu.el (Buffer-menu-mode-map):
15552 * dired.el (dired-mode-map):
15553 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
15554 (lisp-interaction-mode-map):
15555 * emacs-lisp/package.el (package-menu-mode-map):
15556 * epa.el (epa-key-list-mode-map):
15557 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
15558 (menu-bar-options-menu):
15559 * outline.el (outline-mode-menu-bar-map):
15560 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
15561 * vc/vc-dir.el (vc-dir-menu-map):
15562 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
15563 Capitalize non-function content words in menu item strings.
15564
15565 * dired.el (dired-mode-map): Add menu item for
15566 `image-dired-dired-toggle-marked-thumbs'.
15567
80302a81
JL
155682011-09-18 Juri Linkov <juri@jurta.org>
15569
15570 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
15571 to `isearch-case-fold-search' and restore its original value
15572 after the `isearch-mode' call.
15573
46c5cf66
JL
155742011-09-18 Juri Linkov <juri@jurta.org>
15575
15576 * progmodes/grep.el (grep-process-setup): Don't check code for 1
15577 because `zgrep' returns 1 for successful matches (bug#9226).
15578
d18b513b
JL
155792011-09-18 Juri Linkov <juri@jurta.org>
15580
15581 * info.el (Info-extract-menu-node-name): Check the second match
15582 for empty string (second test-case of bug#9528).
15583 (Info-last-preorder): Let-bind `Info-history' to nil to not add
15584 intermediate nodes to the history (first test-case of bug#9528).
15585
72753f87
JL
155862011-09-18 Juri Linkov <juri@jurta.org>
15587
15588 * info.el (Info-mode-syntax-table): New variable.
1154d12e 15589 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 15590
c9384295
JL
155912011-09-18 Juri Linkov <juri@jurta.org>
15592
1154d12e
JB
15593 * info.el (Info-file-supports-index-cookies):
15594 Increment line-beginning-position's arg from 3 to 4 because makeinfo
15595 outputs one more line for long file names (bug#4142).
c9384295 15596
d473dce8
CY
155972011-09-18 Chong Yidong <cyd@stupidchicken.com>
15598
15599 * newcomment.el (comment-normalize-vars): If prompting for
15600 comment-start, set comment-start-skip too (Bug#8424).
15601
2176854d
JB
156022011-09-18 Johan Bockgård <bojohan@gnu.org>
15603
15604 * icomplete.el: Fix previous fix of Bug#5849.
15605 (icomplete-mode): Don't set completion-show-inline-help.
15606 (icomplete-minibuffer-setup): Set completion-show-inline-help
15607 locally during icompletion.
15608
3aace4e4
CY
156092011-09-18 Chong Yidong <cyd@stupidchicken.com>
15610
c940224f
CY
15611 * woman.el (woman2-process-escapes): Don't delete unrecognized
15612 escapes (Bug#7843).
15613
3aace4e4
CY
15614 * files.el (inhibit-first-line-modes-regexps): Add image files.
15615 (hack-local-variables-prop-line): Return nil for malformed
15616 prop-lines (Bug#9044).
15617
710dec63
MA
156182011-09-18 Michael Albinus <michael.albinus@gmx.de>
15619
15620 * net/tramp.el (top): Don't require 'shell.
15621 (tramp-methods): Fix docstring.
15622 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
15623 Return complete remote file name. Handle "smb" case.
15624 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
15625 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
15626
15627 * net/tramp-compat.el (top): Require 'shell.
15628
15629 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
15630 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
15631 `tramp-current-host'.
15632 (tramp-get-remote-tmpdir): Remove.
15633
15634 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
15635 `tramp-tmpdir' entries.
15636 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
15637 (tramp-smb-handle-file-attributes): Ignore errors.
15638 (tramp-smb-wait-for-output): Check also for process end.
15639
5d5ac8ec
LMI
156402011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
15641
15642 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
15643 when sending QUIT (bug#9312).
15644
8c0f49f0
CY
156452011-09-17 Chong Yidong <cyd@stupidchicken.com>
15646
15647 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
15648 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
15649 occur-mode-display-occurrence.
15650 (occur-edit-mode): Add usage message.
15651 (occur-cease-edit): New command.
15652 (occur-after-change-function): Use text properties to find the
15653 position of the prefix text.
15654 (occur-engine): Set stickiness of prefix text properties.
15655
8f1383f7
GM
156562011-09-17 Glenn Morris <rgm@gnu.org>
15657
15658 * progmodes/etags.el (complete-tag):
15659 Fix call to completion-in-region. (Bug#9526)
15660
744ba0e3
JL
156612011-09-17 Juri Linkov <juri@jurta.org>
15662
15663 * textmodes/ispell.el (ispell-word): Add to the error message
15664 the word, ispell program name and current dictionary (bug#9121).
15665 (ispell-tex-arg-end): Capitalize "error" in the error message.
15666
d9bbf400
AS
156672011-09-17 Andreas Schwab <schwab@linux-m68k.org>
15668
15669 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
15670 check. (Bug#4251)
15671
8da11505
JL
156722011-09-17 Juri Linkov <juri@jurta.org>
15673
15674 * window.el (window-safe-min-height, window-safe-min-width):
15675 Fix typos (followup to bug#9522).
15676
a91adc7e
SJ
156772011-09-17 Sven Joachim <svenjoac@gmx.de>
15678
15679 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
15680
064f328a
EZ
156812011-09-16 Eli Zaretskii <eliz@gnu.org>
15682
15683 * simple.el (line-move): If goal-column is set, move by logical
15684 lines, not by display lines. (Bug#971)
15685 (next-line, previous-line, goal-column, line-move-visual): Doc fix
15686 to reflect the above change.
15687
e69df516
SM
156882011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
15689
15690 * image.el (imagemagick-register-types): Use regexp-opt.
15691
cbb0f9ab
CY
156922011-09-15 Chong Yidong <cyd@stupidchicken.com>
15693
15694 * window.el (display-buffer-base-action): Rename from
15695 display-buffer-default-action. Make default value empty.
15696 (display-buffer-overriding-action): Convert to defvar.
15697 (display-buffer-fallback-action): New var.
15698
25322144
CY
156992011-09-15 Chong Yidong <cyd@stupidchicken.com>
15700
15701 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
15702 declaration.
15703 (package--add-to-archive-contents): If there is a duplicate entry
15704 with an older version, remove it.
15705 (package-menu-mark-delete, package-menu-mark-install)
15706 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
15707 (package-menu-mark-obsolete-for-deletion):
15708 Use package-menu-get-status instead of a regexp search.
25322144
CY
15709 (package-menu-get-status): Use tabulated-list-entry.
15710 (package-menu-mark-upgrades): New command.
d770725a 15711 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
15712 (package-menu-execute): Do installation before deletion.
15713 (package-menu-refresh, package-menu-execute): Use derived-mode-p
15714 instead of checking major-mode.
15715 (package-menu--find-upgrades): New function.
15716
7520339c
LMI
157172011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
15718
15719 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
15720 passwords in the log buffer.
65a046c4
LMI
15721 (smtpmail-process-filter): Update the process marker so that the
15722 "broken by peer" status message is inserted in the right place.
7520339c 15723
d3c30954
SM
157242011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
15725
3fe48822
SM
15726 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
15727 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
15728 bibtex-completion-at-point-function.
15729 (bibtex-completion-at-point-function): Use them.
15730
1b8b3954
SM
15731 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
15732
d3c30954
SM
15733 * mpc.el (mpc-constraints-tag-lookup): New function.
15734 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
15735 also to browser "album|playlist".
15736
72779976
JL
157372011-09-14 Juri Linkov <juri@jurta.org>
15738
15739 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
15740 (isearch-edit-string): Use length of `isearch-string' when
15741 `isearch-fail-pos' returns nil.
15742 (isearch-message): Remove duplicate code and call
15743 `isearch-fail-pos' with arg `t'.
15744
a0bf2bcd
CY
157452011-09-14 Chong Yidong <cyd@stupidchicken.com>
15746
17bb0a2d
CY
15747 * replace.el (occur-mode-goto-occurrence): Don't force using other
15748 window (Bug#9499).
15749
a0bf2bcd
CY
15750 * dired-aux.el (dired-do-chmod): Don't provide initial input.
15751
f678e0b6
MR
157522011-09-14 Martin Rudalics <rudalics@gmx.at>
15753
15754 * window.el (display-buffer-window): Remove.
15755 (display-buffer-record-window): Use help-setup window parameter
15756 instead of variable display-buffer-window.
15757 (display-buffer-function, special-display-buffer-names)
15758 (special-display-function): Mention help-setup parameter instead
15759 of display-buffer-window in doc-string.
d3c30954
SM
15760 * help.el (help-window-setup): New argument help-window.
15761 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
15762 Reword some messages.
15763 (with-help-window): Pass window used for displaying the buffer
15764 to help-window-setup. Don't set display-buffer-window.
15765
8e39b2e8
GM
157662011-09-13 Glenn Morris <rgm@gnu.org>
15767
15768 * emacs-lisp/debug.el (debugger-make-xrefs):
15769 Preserve point. (Bug#9462)
15770
85e9c04b
CY
157712011-09-13 Chong Yidong <cyd@stupidchicken.com>
15772
15773 * window.el (window-deletable-p): Use next-frame.
15774
1b36ed6a
MR
157752011-09-13 Martin Rudalics <rudalics@gmx.at>
15776
15777 * window.el (window-auto-delete): Remove.
15778 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 15779 dedication and previous buffers.
1b36ed6a
MR
15780 (switch-to-prev-buffer): Don't delete window.
15781 (delete-windows-on): Delete a window's frame if and only if the
15782 window is dedicated.
15783 (replace-buffer-in-windows): Delete buffer's window or frame if
15784 and only if window is dedicated.
15785 (quit-window): Handle quit-restore as before last change.
4d61f28d 15786 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 15787
ef8ef9fb
CY
157882011-09-13 Chong Yidong <cyd@stupidchicken.com>
15789
15790 * window.el (window-deletable-p): Never delete the last frame on a
15791 given terminal.
15792
b2cba41e
GM
157932011-09-13 Glenn Morris <rgm@gnu.org>
15794
15795 * help.el (describe-key-briefly): Copy previous standard-output change.
15796
51553db6 157972011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
15798
15799 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
15800
b7556719
GM
158012011-09-13 Glenn Morris <rgm@gnu.org>
15802
15803 * emacs-lisp/lisp-mode.el (lisp-indent-function):
15804 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
15805
64b51947
CY
158062011-09-12 Chong Yidong <cyd@stupidchicken.com>
15807
15808 * dired-aux.el (dired-mark-read-string): Don't return default
15809 value on empty input (Bug#9361).
15810 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
15811 Omit initial minibuffer contents.
15812 (dired-do-chmod): Signal an error on empty input.
15813 (dired-mark-read-string): Don't return default on empty input.
15814
15815 * files.el (file-modes-symbolic-to-number): Doc fix.
15816
393a301e
SM
158172011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
15818
15819 * international/mule-cmds.el (ucs-completions): Remove.
15820 (read-char-by-name): Use complete-with-action instead; add metadata.
15821
fa5660f9
CY
158222011-09-11 Chong Yidong <cyd@stupidchicken.com>
15823
15824 * window.el (display-buffer--action-function-custom-type)
15825 (display-buffer--action-custom-type): New vars.
15826 (display-buffer-alist, display-buffer-default-action)
15827 (display-buffer-overriding-action): Add defcustom types.
15828
4a592f66
CY
15829 * frame.el (delete-other-frames): Doc fix (Bug#276).
15830
73d56dbd
LMI
158312011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
15832
15833 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
15834
37ac18a3
CY
158352011-09-11 Chong Yidong <cyd@stupidchicken.com>
15836
15837 Change modes that used same-window-* vars to use switch-to-buffer.
15838
15839 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
15840 Use switch-to-buffer.
15841
15842 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
15843 (customize-browse, custom-buffer-create-other-window):
15844 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
15845
15846 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
15847 (Info-prev, Info-up, Info-speedbar-goto-node)
15848 (info-display-manual): Use switch-to-buffer.
15849 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
15850
15851 * mail/sendmail.el (mail): Use switch-to-buffer.
15852 (mail-recover): Use switch-to-buffer-other-window.
15853
15854 * cmuscheme.el (run-scheme, switch-to-scheme):
15855 * ielm.el (ielm):
15856 * shell.el (shell):
15857 * net/rlogin.el (rlogin):
15858 * net/telnet.el (telnet, rsh):
15859 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
15860
10195bd6
AS
158612011-09-11 Andreas Schwab <schwab@linux-m68k.org>
15862
15863 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
15864
b322f63a
LMI
158652011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
15866
39d7fed6
LMI
15867 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
15868 so don't mention it (bug#9301).
ba5a81f1 15869 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 15870
ee0e9f11
LMI
15871 * faces.el (face-spec-set-match-display): Make `(type graphic)'
15872 match `x', `w32' and `ns', like the manual says (bug#9029).
15873
0b1c89c1 15874 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
15875 (process-kill-buffer-query-function): Mention the buffer name in
15876 the query.
0b1c89c1 15877
77549ea8
LMI
15878 * image-mode.el (image-next-line): The line parameter is mandatory
15879 (bug#9258).
15880
803ef892
LMI
15881 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
15882 which can be useful (bug#9301).
15883
12980837
LMI
15884 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
15885
91054f8f
LMI
15886 * subr.el (match-string): Mention that the current buffer should
15887 be the same as the search was done in (bug#9282).
15888
b322f63a
LMI
15889 * facemenu.el: Disable the remove-* commands if the mark isn't
15890 active (bug#9162).
15891
3199b96f
CY
158922011-09-10 Chong Yidong <cyd@stupidchicken.com>
15893
15894 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
15895 of display-buffer.
15896 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
15897
15898 * replace.el (occur-mode-goto-occurrence)
15899 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
15900 and display-buffer.
15901
15902 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
15903 display-buffer.
15904
15905 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
15906 special-display and same-window variables.
15907 (mail-other-window): Use switch-to-buffer-other-window.
15908 (mail-other-frame): USe switch-to-buffer-other-frame.
15909
393a301e
SM
15910 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
15911 Use display-buffer-other-frame.
3199b96f
CY
15912 (gdb-display-gdb-buffer): Use pop-to-buffer.
15913
15914 * progmodes/gud.el (gud-goto-info): Use info-other-window.
15915
15916 * progmodes/python.el: Don't set same-window-buffer-names.
15917
15918 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
15919
15920 * window.el (display-buffer-alist): Add *Python*.
15921
8319e0bf
CY
159222011-09-10 Chong Yidong <cyd@stupidchicken.com>
15923
15924 * window.el (display-buffer-alist): Add entry for buffers
15925 previously handled same-window-*.
15926 (display-buffer-alist, display-buffer-default-action)
15927 (display-buffer-overriding-action): Mark as risky.
15928 (display-buffer-alist): Document action function changes.
15929 (display-buffer--same-window-action)
15930 (display-buffer--other-frame-action): New variables.
15931 (switch-to-buffer, display-buffer-other-frame): Use them.
15932 (display-buffer): Rename reuse-frame entry to reusable-frames.
15933 (display-buffer-reuse-selected-window): Function deleted.
15934 (display-buffer-reuse-window): Handle reusable-frames alist entry.
15935 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
15936 (display-buffer-special): New function.
15937 (display-buffer--maybe-pop-up-frame-or-window): Rename from
15938 display-buffer-reuse-or-pop-window. Split off special-display
15939 part into display-buffer-special.
15940 (display-buffer-use-some-window): Don't perform any special
15941 pop-up-frames handling.
15942 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 15943 (display-buffer--maybe-same-window): Rename from
0d3ff375 15944 display-buffer-maybe-same-window.
8319e0bf 15945
919a69aa
CY
15946 * info.el: Don't set same-window-regexps.
15947 (info-setup): New function.
15948 (info-other-window, info): Call it.
15949
15950 * cus-edit.el: Don't set same-window-regexps.
15951 (customize-group): New argument.
15952 (customize-group-other-window): Use it.
15953 (customize-face, customize-face-other-window): Likewise.
15954 (custom-buffer-create-other-window): Use pop-to-buffer directly.
15955
8319e0bf
CY
15956 * net/rlogin.el:
15957 * net/telnet.el:
15958 * progmodes/gud.el: Don't set same-window-regexps.
15959
15960 * cmuscheme.el:
15961 * ielm.el:
15962 * shell.el:
15963 * mail/sendmail.el:
15964 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
15965
25173000
JL
159662011-09-10 Juri Linkov <juri@jurta.org>
15967
15968 * isearch.el (isearch-edit-string): Remove obsolete mention of
15969 `C-w' (`isearch-yank-word-or-char') from docstring.
15970 (isearch-query-replace): Fix typo in docstring (bug#9466).
15971
056e44ef
JL
159722011-09-10 Juri Linkov <juri@jurta.org>
15973
15974 * paren.el (show-paren-function): Don't show escaped parens.
15975 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
15976
c3760c17
EZ
159772011-09-10 Eli Zaretskii <eliz@gnu.org>
15978
15979 * mail/sendmail.el (mml-to-mime, mml-attach-file)
15980 (mm-default-file-encoding): Remove autoload forms, they are
15981 replaced with autoload cookies in mml.el and mm-encode.el.
15982 (mail-add-attachment): New command.
15983 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
15984 (mail-mode): Mention mail-insert-file and mail-add-attachment in
15985 the doc string.
15986 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
15987
fece895e
RT
159882011-09-10 Reuben Thomas <rrt@sc3d.org>
15989
e69df516
SM
15990 * simple.el (count-words-region): Use buffer if there's no region
15991 (bug#9429).
fece895e 15992
5e68ce4a
JL
159932011-09-09 Juri Linkov <juri@jurta.org>
15994
15995 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
15996 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
15997 (wdired-isearch-filter-read-only): New function. (Bug#6362)
15998
0a6b9622
AM
159992011-09-09 Alan Mackenzie <acm@muc.de>
16000
16001 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
16002 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
16003
14a29deb
EZ
160042011-09-09 Eli Zaretskii <eliz@gnu.org>
16005
16006 Fix for Savannah bug#9392.
16007 * simple.el (mail-encode-mml): New defvar.
16008
16009 * mail/rmail.el (mail-encode-mml): Add a defvar.
16010 (rmail-enable-mime-composing): Default to t.
16011 (rmail-forward): Use MIME method of forwarding only if both
16012 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
16013 Set mail-encode-mml non-nil if the MIME method was used.
16014
16015 * mail/sendmail.el (mml-to-mime): Add autoload form.
16016 (mail-encode-mml): Add a defvar.
16017 (mail-mode): Make mail-encode-mml buffer-local and initialize it
16018 to nil.
16019 (mail-send): If mail-encode-mml is non-nil, run the outgoing
16020 message through mml-to-mime, and reset mail-encode-mml to nil.
16021
28c45130
GM
160222011-09-09 Glenn Morris <rgm@gnu.org>
16023
16024 * woman.el (woman-if-body): When processing an .el block,
16025 do not delete the next .el block as well. (Bug#9447)
69f4b618 16026 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 16027
9b1c252e
MR
160282011-09-08 Martin Rudalics <rudalics@gmx.at>
16029
16030 * window.el (window-deletable-p): Make sure window is live before
16031 invoking window-prev-buffers.
16032
567457e3
LL
160332011-09-08 Leo Liu <sdl.web@gmail.com>
16034
16035 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
16036
97f05794
JL
160372011-09-08 Juri Linkov <juri@jurta.org>
16038
16039 * progmodes/compile.el (compilation-environment): Make it
16040 a defcustom (bug#8340).
16041
8b0874b5
MR
160422011-09-08 Martin Rudalics <rudalics@gmx.at>
16043
16044 * window.el (frame-auto-delete): Rename to window-auto-delete.
16045 Make it control auto-deletion of windows and/or frames.
16046 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 16047 for deleting window/frame. (Bug#9419)
8b0874b5
MR
16048 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
16049 Rewrite handling of case when window/frame can be deleted.
16050 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 16051 argument t. (Bug#9456)
8b0874b5 16052
4feb6e73
CY
160532011-09-07 Chong Yidong <cyd@stupidchicken.com>
16054
16055 * help-mode.el (help-mode): Restore autoload.
16056
91ab9c13
JL
160572011-09-07 Juri Linkov <juri@jurta.org>
16058
16059 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
16060 `compilation-environment'. Set buffer-local
16061 `compilation-environment' to `thisenv' later after (funcall mode).
16062 (Bug#8340)
16063
16064 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
16065 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
16066 instead of replacing its value. (Bug#8340)
16067
0527e251
JL
160682011-09-07 Juri Linkov <juri@jurta.org>
16069
16070 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
16071 based on text properties put by `grep-filter' instead of matching
16072 escape sequences.
16073 (grep-mode): Set buffer-local `compilation-error-screen-columns'
16074 to the value of `grep-error-screen-columns' (bug#9438).
16075
249f792c
JL
160762011-09-07 Juri Linkov <juri@jurta.org>
16077
16078 * simple.el (next-error-highlight, next-error-highlight-no-select):
16079 Doc fix (bug#9432).
16080
ff7271b9
OT
160812011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
16082
16083 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
16084 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
16085
183fc730
LL
160862011-09-07 Leo Liu <sdl.web@gmail.com>
16087
16088 * net/rcirc.el (rcirc-mode): Conditionally initialize
16089 rcirc-input-ring.
16090
77694924
SM
160912011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
16092
16093 * emacs-lisp/find-func.el (find-function-C-source): Only set
16094 find-function-C-source-directory after checking that we found a source
16095 file there (bug#9440).
16096
d809b8eb
AM
160972011-09-06 Alan Mackenzie <acm@muc.de>
16098
16099 * isearch.el (isearch-other-meta-char): Wherever a key list is
16100 unread, "unread" the prefix arg, too. This fixes bug #8901.
16101
453de99f
OG
161022011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
16103
16104 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
16105
90439906
JL
161062011-09-05 Juri Linkov <juri@jurta.org>
16107
16108 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
16109
f62bd846
JL
161102011-09-05 Juri Linkov <juri@jurta.org>
16111
16112 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
16113 keeping point where processing of grep matches begins, and
16114 continue to delete remaining escape sequences from the same point.
16115 (grep-filter): Make leading zero optional in "0?1;31m" because
16116 git-grep emits "\033[1;31m" escape sequences unlike expected
16117 "\033[01;31m" as GNU Grep does (bug#9408).
16118 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
16119
045820ec
JL
161202011-09-05 Juri Linkov <juri@jurta.org>
16121
16122 * subr.el (y-or-n-p): Capitalize "yes".
16123
f5e29b9b
MA
161242011-09-04 Michael Albinus <michael.albinus@gmx.de>
16125
16126 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
16127 `tramp-cache-unload-hook' where appropriate.
16128 (tramp-methods): Rename `tramp-remote-sh' to
16129 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
16130 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
16131
16132 * net/tramp-sh.el (top): Don't require 'shell.
16133 (tramp-methods): Add `tramp-remote-shell' and
16134 `tramp-remote-shell-args' entries.
16135 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
16136 (tramp-sh-handle-shell-command): Remove.
16137 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
16138 Use `tramp-remote-shell'.
16139
2784c434
CY
161402011-09-03 Chong Yidong <cyd@stupidchicken.com>
16141
393a301e 16142 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
16143 (sendmail-query-once): Save directly to send-mail-function.
16144 Update message-send-mail-function too.
16145
16146 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
16147
464cdf56
CS
161482011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
16149
16150 * progmodes/python.el (python-mode-map): Use correct function to
16151 start python interpreter from menu-bar (as reported by Geert
16152 Kloosterman).
16153 (inferior-python-mode-map): Fix typo.
393a301e 16154 (python-shell-map): Remove.
464cdf56 16155
d37e5c87
DD
161562011-09-03 Deniz Dogan <deniz@dogan.se>
16157
16158 * net/rcirc.el (rcirc-print): Simplify code for
16159 rcirc-scroll-show-maximum-output. There is no need to walk
16160 through all windows to find the right one.
16161
f3ada0ee
CS
161622011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
16163
16164 * help.el (help-return-method): Doc fix.
16165
1f3c99ca
MR
161662011-09-03 Martin Rudalics <rudalics@gmx.at>
16167
16168 * window.el (window-deletable-p): Don't return a non-nil value
16169 when there's a buffer that was shown in the window before.
16170 (Bug#9419)
393a301e
SM
16171 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
16172 Set window's previous buffers to nil.
1f3c99ca 16173
a3cf097f
EZ
161742011-09-03 Eli Zaretskii <eliz@gnu.org>
16175
16176 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
16177 newline before and after the tag line, so it doesn't interfere
16178 with determining the paragraph direction of bidirectional text.
16179
3d03de90
LL
161802011-09-03 Leo Liu <sdl.web@gmail.com>
16181
16182 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
16183
c3313451
CY
161842011-09-02 Chong Yidong <cyd@stupidchicken.com>
16185
393a301e 16186 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
16187 (pop-to-buffer): Change interactive spec. Pass second argument
16188 directly to display-buffer.
16189 (display-buffer): Fix interactive spec. Use functionp to
16190 distinguish between a function and a list of functions.
16191
16192 * abbrev.el (edit-abbrevs):
16193 * arc-mode.el (archive-extract):
16194 * autoinsert.el (auto-insert):
16195 * bookmark.el (bookmark-bmenu-list):
16196 * files.el (find-file):
16197 * view.el (view-buffer):
16198 * progmodes/compile.el (compilation-goto-locus):
16199 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
16200
89894cd8
CY
162012011-09-02 Chong Yidong <cyd@stupidchicken.com>
16202
16203 * window.el (display-buffer-alist): Doc fix.
16204 (display-buffer): Add docstring. Don't treat
16205 display-buffer-default specially.
16206 (display-buffer-reuse-selected-window)
16207 (display-buffer-same-window, display-buffer-maybe-same-window)
16208 (display-buffer-reuse-window, display-buffer-pop-up-frame)
16209 (display-buffer-pop-up-window)
16210 (display-buffer-reuse-or-pop-window)
16211 (display-buffer-use-some-window): New functions.
16212 (display-buffer-default-action): Use them.
393a301e 16213 (display-buffer-default): Delete.
89894cd8
CY
16214 (pop-to-buffer-1): Fix choice of actions.
16215
ae0bc9fb
SM
162162011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
16217
16218 * minibuffer.el (completion--insert-strings): Don't get confused by
16219 completion entries that end with an LF char.
16220
e9d90883
EZ
162212011-09-01 Eli Zaretskii <eliz@gnu.org>
16222
16223 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
16224
437014c8
CY
162252011-09-01 Chong Yidong <cyd@stupidchicken.com>
16226
16227 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
16228 (display-buffer-same-window, display-buffer-other-window):
16229 New functions.
437014c8
CY
16230 (pop-to-buffer-1): New function. Use the above.
16231 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 16232 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
16233
16234 * view.el (view-buffer-other-window, view-buffer-other-frame):
16235 Just use pop-to-buffer.
16236
a5e063d5
TV
162372011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16238
16239 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
16240
793d32bb
WH
162412011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
16242
16243 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
16244
d65e4c15
RS
162452011-08-31 Richard Stallman <rms@gnu.org>
16246
16247 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
16248 of the separation of rmail-view-buffer from rmail-buffer.
16249 If you say no to "replace original", the decrypt is in the
16250 view buffer. If you say yes, the decrypt goes into the
16251 rmail buffer also.
16252
f818cd2a
MR
162532011-08-31 Martin Rudalics <rudalics@gmx.at>
16254
16255 * window.el (display-buffer-window): Rewrite doc-string.
16256 (display-buffer-record-window): New function.
16257 (display-buffer-macro-specifiers)
16258 (display-buffer-even-window-sizes, display-buffer-set-height)
16259 (display-buffer-set-width, display-buffer-in-window)
16260 (display-buffer-reuse-window, display-buffer-split-specifiers)
16261 (display-buffer-side-specifiers, display-buffer-split-window-1)
16262 (display-buffer-split-window, display-buffer-split-atom-window)
16263 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
16264 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
16265 (display-buffer-other-window-means-other-frame)
16266 (display-buffer-normalize-special)
16267 (display-buffer-normalize-default)
16268 (display-buffer-normalize-argument)
16269 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
16270 (display-buffer-normalize-specifiers, display-buffer-frame)
16271 (display-buffer-same-window, display-buffer-same-frame)
16272 (display-buffer-other-window)
16273 (display-buffer-same-frame-other-window)
16274 (display-buffer-other-frame, pop-to-buffer-same-window)
16275 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
16276 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
16277 (switch-to-buffer-same-frame)
16278 (switch-to-buffer-other-window-same-frame)
16279 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
16280 (display-buffer-alist-set-1, display-buffer-alist-set-2)
16281 (display-buffer-alist-set): Remove.
16282 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
16283 (special-display-regexps, special-display-function):
16284 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
16285 parameter.
16286 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
16287 (special-display-frame-alist, special-display-popup-frame)
16288 (same-window-buffer-names, same-window-regexps, same-window-p)
16289 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
16290 (split-window-preferred-function, split-height-threshold)
16291 (split-width-threshold, window-splittable-p)
16292 (split-window-sensibly, window--try-to-split-window)
16293 (window--frame-usable-p, even-window-heights)
16294 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
16295 (window--display-buffer-2, display-buffer-other-frame):
16296 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
16297 (display-buffer-default, display-buffer-assq-regexp): New functions.
16298 (display-buffer-alist): Rewrite doc-string.
16299 (display-buffer-default-action)
16300 (display-buffer-overriding-action): New variables.
16301 (display-buffer, switch-to-buffer): Rewrite.
16302 (pop-to-buffer): Restore Emacs 23 behavior but use
16303 window-normalize-buffer-to-display.
16304 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
16305 Restore Emacs 23 behavior but use
16306 window-normalize-buffer-to-switch-to.
16307 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
16308 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
16309 Rewrite using Emacs 23 options.
f818cd2a 16310
5bc3b51d
MA
163112011-08-31 Michael Albinus <michael.albinus@gmx.de>
16312
16313 * net/tramp.el (tramp-root-regexp): Remove.
16314 (tramp-completion-file-name-regexp-unified)
16315 (tramp-completion-file-name-regexp-separate)
16316 (tramp-completion-file-name-regexp-url): Don't use leading volume
b46a6a83 16317 letter on w32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
16318 (tramp-drop-volume-letter): Simplify definition.
16319 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 16320
b1a4f8e1
SM
163212011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
16322
16323 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
16324 (bug#9356).
16325
5664fa7b
RT
163262011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
16327
b1a4f8e1 16328 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 16329
9a45d6c3
JL
163302011-08-29 Juri Linkov <juri@jurta.org>
16331
16332 * isearch.el (isearch-done): Don't display message "Mark saved"
16333 when arg `edit' is non-nil to prevent its flicker in the echo area.
16334
fb87e0fb
CY
163352011-08-28 Chong Yidong <cyd@stupidchicken.com>
16336
16337 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
16338 obsolete packages for deletion.
16339
09ac1c2a
CS
163402011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
16341
16342 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 16343 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
16344 view-mode from help-mode.
16345 (help-xref-override-view-map): Remove.
16346 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
16347 view-mode is not used anymore.
16348
7a1ff57f
CY
163492011-08-28 Chong Yidong <cyd@stupidchicken.com>
16350
16351 * server.el (server-port): Doc fix.
16352
b9696605
CY
16353 * cus-theme.el (custom-theme-choose-mode): Inherit from
16354 special-mode (Bug#9124).
16355 (custom-theme-choose-mode-map): Add special-mode to parent.
16356
ef8cdf8c
AM
163572011-08-28 Alan Mackenzie <acm@muc.de>
16358
16359 * progmodes/cc-fonts.el
16360 (c-make-font-lock-BO-decl-search-function): New function.
16361 (c-basic-matchers-after - "Fontify the clauses after various
16362 keywords"): Extract the three keyword lists for the 3 erroneous
16363 constructs from the list of four, and use the new function above
16364 in place of an old one.
16365
27de4e20
DD
163662011-08-28 Deniz Dogan <deniz@dogan.se>
16367
16368 * net/rcirc.el (rcirc-insert-prev-input)
16369 (rcirc-insert-next-input): Remove unused argument.
16370
356a3681
SM
163712011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
16372
16373 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
16374
3fc9b218
AM
163752011-08-27 Alan Mackenzie <acm@muc.de>
16376
16377 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
16378 handle function pointer parameters properly.
16379
538a061c
MR
163802011-08-27 Martin Rudalics <rudalics@gmx.at>
16381
16382 * window.el (display-buffer-reuse-window): Fix case where
16383 selected window was reused with non-nil OTHER-WINDOW argument.
16384 (Bug#9381)
16385
35b1c40c
DD
163862011-08-27 Deniz Dogan <deniz@dogan.se>
16387
16388 * net/rcirc.el (rcirc-check-auth-status): Adding support for
16389 oftc's NickServ messages.
16390
2f6a3e79
GM
163912011-08-27 Glenn Morris <rgm@gnu.org>
16392
16393 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
16394
7254299e
CY
163952011-08-26 Chong Yidong <cyd@stupidchicken.com>
16396
16397 * emacs-lisp/package.el (package-install): Call package-initialize
16398 if called interactively.
16399
f8ccf167
LL
164002011-08-26 Leo Liu <sdl.web@gmail.com>
16401
16402 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
16403
3e8cd5ce
JL
164042011-08-25 Juri Linkov <juri@jurta.org>
16405
16406 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
16407 `search-whitespace-regexp' (bug#9364).
16408
93eb7113
JL
164092011-08-25 Juri Linkov <juri@jurta.org>
16410
16411 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
16412 `regexp-search-ring' to their global values to protect from
16413 updating by `read-from-minibuffer' (bug#9185).
16414
f65d1611
JL
164152011-08-25 Juri Linkov <juri@jurta.org>
16416
16417 * textmodes/ispell.el (ispell-command-loop): Add newline
16418 at the end of the "Use option `i'..." line.
16419
f1cf7a31
JL
164202011-08-25 Juri Linkov <juri@jurta.org>
16421
16422 * battery.el (display-battery-mode): If `battery-status-function'
16423 or `battery-mode-line-format' is nil, display the message and set
16424 `display-battery-mode' to nil (bug#9363).
16425
0c95fcf7
EZ
164262011-08-25 Eli Zaretskii <eliz@gnu.org>
16427
16428 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
16429 bidi-string-mark-left-to-right; they are unnecessary now.
16430
a2ebe600
DD
164312011-08-25 Deniz Dogan <deniz@dogan.se>
16432
16433 * net/quickurl.el: Documentation typo fixes.
16434
e4ed06f1
CY
164352011-08-25 Chong Yidong <cyd@stupidchicken.com>
16436
16437 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
16438
e5f1c99e
GM
164392011-08-25 Glenn Morris <rgm@gnu.org>
16440
b2948976
GM
16441 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
16442
e5f1c99e
GM
16443 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
16444 (smtpmail-via-smtp): Handle nil response from smtp.
16445
f22f4808
JL
164462011-08-24 Juri Linkov <juri@jurta.org>
16447
16448 * proced.el (proced-marked): Inherit from `error' instead of
16449 `font-lock-warning-face'.
16450
16451 * ibuffer.el (ibuffer-marked-face): Change default face from
16452 `font-lock-warning-face' to `warning'.
16453 (ibuffer-deletion-face): Change default face from
16454 `font-lock-type-face' to `error'.
16455
16456 * battery.el (battery-update): Use the face `error' instead of
16457 `font-lock-warning-face' (bug#6117).
16458
6a93965e
JL
164592011-08-24 Juri Linkov <juri@jurta.org>
16460
16461 * faces.el (success): Change face color from "Green3" to
16462 "ForestGreen" on light background (bug#9353).
16463
1ed43b09
CY
164642011-08-24 Chong Yidong <cyd@stupidchicken.com>
16465
5664fa7b
RT
16466 * window.el (quit-window): Rename from quit-restore-window.
16467 Use same arglist as old quit-window.
1ed43b09
CY
16468 (frame-auto-delete): Doc fix.
16469
16470 * view.el (view-mode-exit): Use quit-window.
16471
11dcdbb2
JL
164722011-08-24 Juri Linkov <juri@jurta.org>
16473
16474 * isearch.el (isearch-ring-adjust1): Start visiting previous
16475 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
16476 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
16477 for empty search string (when the last search string is reused
16478 automatically) to adjust the isearch ring to the last element and
16479 prepare the correct index for further M-p commands (bug#9185).
16480
de62b4df
KH
164812011-08-24 Kenichi Handa <handa@m17n.org>
16482
16483 * international/ucs-normalize.el: If decomposition property of
16484 CHAR is the default one (i.e. a list of CHAR itself), treat it as
16485 nil.
16486 (nfd, nfkd): Likewise.
16487
963b492b
SM
164882011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
16489
16490 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
16491 from process filters aren't reliably transmitted to the surrounding
16492 accept-process-output.
16493 (mpc-proc-check): New function.
16494 (mpc-proc-sync): Use it (bug#8293)
16495
93b6b5e1
SM
164962011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
16497
16498 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
16499 Add compatibility functions (bug#9313).
16500
bca633fb
EZ
165012011-08-23 Eli Zaretskii <eliz@gnu.org>
16502
b177498a
EZ
16503 * cus-start.el (all): Add entry for bidi-paragraph-direction.
16504
6df6ae42 16505 * international/uni-bidi.el: Regenerate.
bca633fb 16506
0902a04e
KH
165072011-08-23 Kenichi Handa <handa@m17n.org>
16508
16509 * international/charprop.el:
16510 * international/uni-bidi.el:
16511 * international/uni-category.el:
16512 * international/uni-combining.el:
16513 * international/uni-comment.el:
16514 * international/uni-decimal.el:
16515 * international/uni-decomposition.el:
16516 * international/uni-digit.el:
16517 * international/uni-lowercase.el:
16518 * international/uni-mirrored.el:
16519 * international/uni-name.el:
16520 * international/uni-numeric.el:
16521 * international/uni-old-name.el:
16522 * international/uni-titlecase.el:
16523 * international/uni-uppercase.el: Regenerate.
16524
3bbf23bc
MR
165252011-08-23 Martin Rudalics <rudalics@gmx.at>
16526
16527 * help.el (help-window-setup): Fix message displayed when other
16528 window is reused. (Bug#9341)
16529
b3fd59bd
SM
165302011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
16531
1802e444
SM
16532 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
16533 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
16534
b3fd59bd
SM
16535 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
16536 Mark obsolete.
16537 * shell.el (shell-parse-pcomplete-arguments): New function.
16538 (shell-completion-vars): Use it instead (bug#9160).
16539
4eb61348
SM
165402011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
16541
867cab74
SM
16542 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
16543 strings and comments (bug#9333).
16544
4eb61348
SM
16545 * emacs-lisp/debug.el (debug-arglist): New function.
16546 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
16547 (debug-on-entry-1): Handle interpreted closures (bug#9120).
16548
262a1439
JL
165492011-08-22 Juri Linkov <juri@jurta.org>
16550
56ee679c
JL
16551 * progmodes/compile.el (compilation-mode-font-lock-keywords):
16552 Revert regexp that highlights output switches to its old
16553 pre-2010-10-28 value and remove one `?' from it (bug#9319).
16554
262a1439
JL
16555 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
16556 to check for empty output (bug#9226).
16557
f13f86fb
CY
165582011-08-22 Chong Yidong <cyd@stupidchicken.com>
16559
16560 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
16561 symbol-constituent as the default, as that stops font-lock from
16562 working properly (Bug#8843).
16563
c65c9622
LMI
165642011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
16565
16566 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
16567 `coding-system-for-*' around the process open call to avoid
16568 auth-source side effects.
e7f2c178 16569 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
16570 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
16571 probe hangs.
c65c9622 16572
23a8a5ab
CY
165732011-08-21 Chong Yidong <cyd@stupidchicken.com>
16574
ff98b2dd
CY
16575 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
16576
23a8a5ab
CY
16577 * emacs-lisp/find-func.el (find-function-noselect): New arg
16578 lisp-only.
16579
16580 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
16581 signal an error for built-in functions (Bug#6664).
16582
f5e3c598
LMI
165832011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
16584
16585 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
16586 (smtpmail-try-auth-methods): Use it.
16587
a3f2468a
CY
165882011-08-21 Chong Yidong <cyd@stupidchicken.com>
16589
2c34e8da
CY
16590 * font-lock.el (font-lock-fontify-region)
16591 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
16592 (font-lock-default-unfontify-buffer)
16593 (font-lock-default-fontify-region)
16594 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
16595
b3fd59bd
SM
16596 * progmodes/compile.el (compilation-error-properties):
16597 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
16598 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
16599 `ant' regexp.
ee31aabc 16600
a3f2468a
CY
16601 * net/browse-url.el (browse-url-firefox): Don't call
16602 browse-url-firefox-sentinel unless using -remote (Bug#9328).
16603
8e999f70
GM
166042011-08-20 Glenn Morris <rgm@gnu.org>
16605
c21a496a
GM
16606 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
16607
59ee0542
GM
16608 * tutorial.el (tutorial--default-keys): Update some default bindings.
16609
8e999f70
GM
16610 * files.el (hack-local-variables): Fully ignore case for "mode:".
16611
e3715033
AM
166122011-08-20 Alan Mackenzie <acm@muc.de>
16613
16614 Resolve invalid use of a regexp in regexp-opt.
16615
4d61f28d
JB
16616 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
16617 detection for a java annotation.
e3715033 16618
4d61f28d 16619 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
16620 detection for a java annotation.
16621
4d61f28d
JB
16622 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
16623 handling for java.
e3715033
AM
16624 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
16625
04ed2e9c
CY
166262011-08-20 Chong Yidong <cyd@stupidchicken.com>
16627
16628 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
16629 (Bug#9274).
16630
826cee64
AM
166312011-08-20 Alan Mackenzie <acm@muc.de>
16632
58179cce 16633 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
16634 such a construct. Mainly for when jit-lock etc. starts a chunk
16635 here.
16636
58179cce 16637 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 16638 variable.
58179cce 16639 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
16640 c-make-font-lock-search-function.
16641 (c-make-font-lock-search-function): Use the above function.
16642 (c-make-font-lock-context-search-function): New function.
16643 (c-cpp-matchers): Enhance the preprocessor expression case with
16644 the above function
16645 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
16646 which takes an expression.
16647
16648 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
16649
13009bd8
MR
166502011-08-20 Martin Rudalics <rudalics@gmx.at>
16651
16652 * window.el (display-buffer-reuse-window)
16653 (display-buffer-pop-up-window): Don't reuse or split a side
16654 window.
16655
9234ff7f
GM
166562011-08-19 Glenn Morris <rgm@gnu.org>
16657
16658 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 16659 Downcase "Mode:". (Bug#9331)
9234ff7f 16660
f635daa1
CY
166612011-08-18 Chong Yidong <cyd@stupidchicken.com>
16662
16663 * international/characters.el: Add L and R categories.
16664
16665 * subr.el (bidi-string-mark-left-to-right): Rename from
16666 string-mark-left-to-right. Use category search.
16667
16668 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
16669
bc987f8b
JL
166702011-08-18 Juri Linkov <juri@jurta.org>
16671
16672 * faces.el (error, warning, success): New faces with definitions
16673 copied from old default values of `font-lock-warning-face',
16674 `compilation-warning', `compilation-info' (bug#6117).
16675
16676 * font-lock.el (font-lock-warning-face): Inherit from `error'.
16677
16678 * progmodes/compile.el (compilation-error): Inherit from `error'.
16679 (compilation-warning): Inherit from `warning'.
16680 (compilation-info): Inherit from `success'.
16681
16682 * dired.el (dired-marked): Inherit from `warning'.
16683 (dired-flagged): Inherit from `error'.
16684
57173b96
LMI
166852011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
16686
3e79eb87
LMI
16687 * mail/smtpmail.el (auth-source): Require to avoid problems with
16688 binding variables (bug#9298). Also clean up some unused
16689 autoloads.
16690
b3fd59bd
SM
16691 * net/network-stream.el (network-stream-open-starttls):
16692 Support using starttls.el without using gnutls-cli.
57173b96 16693
02b404de
JL
166942011-08-17 Juri Linkov <juri@jurta.org>
16695
16696 * progmodes/grep.el (rgrep): Handle the case when
16697 `grep-find-command' is a cons cell (bug#9278).
16698
8c9177f2
MR
166992011-08-17 Martin Rudalics <rudalics@gmx.at>
16700
16701 * window.el (display-buffer-pop-up-frame): Run frame creation
16702 function with BUFFER current (as special-display-popup-frame
16703 does). Reported by Drew Adams.
16704
3644a0ab
DU
167052011-08-17 Daiki Ueno <ueno@unixuser.org>
16706
16707 * epa-mail.el: Simplify GnuPG group expansion using
16708 epg-expand-group.
16709 (epa-mail-group-alist, epa-mail-group-modtime)
16710 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
16711 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
16712 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
16713 Remove.
16714
5e617bc2 167152011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
16716
16717 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
16718
9c4aeabf
AM
167192011-08-16 Alan Mackenzie <acm@muc.de>
16720
16721 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
16722 Correct, to avoid the inside of macros.
16723
3a99bf64
RS
167242011-08-16 Richard Stallman <rms@gnu.org>
16725
04963aa8
RS
16726 * epa-mail.el: Handle GnuPG group definitions.
16727 (epa-mail-group-alist, epa-mail-group-modtime)
16728 (epa-mail-gnupg-conf-file): New variables.
16729 (epa-mail-parse-groups, epa-mail-sync-groups)
16730 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
16731 (epa-mail-expand-recipients): New functions.
16732 (epa-mail-encrypt): Call epa-mail-expand-recipients.
16733
177549d0
RS
16734 * mail/rmail.el (rmail-epa-decrypt): New command.
16735
fe38beef
RS
16736 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
16737 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
16738 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
16739 (epa-decrypt-armor-in-region): Make error message clearer.
16740
934eacb9
SM
167412011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
16742
16743 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
16744 and "a2b" to "ab" for `prefix'.
16745
d024fb4e
CY
167462011-08-14 Chong Yidong <cyd@stupidchicken.com>
16747
16748 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
16749 filter groups.
de148fee
CY
16750 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
16751 Fourquet (Bug#8804).
d024fb4e 16752
62f1ca49
JB
167532011-08-12 Juanma Barranquero <lekktu@gmail.com>
16754
16755 * startup.el (argi): Declare as global variable (bug#9275).
16756
9ccaaa4b
CY
167572011-08-12 Chong Yidong <cyd@stupidchicken.com>
16758
16759 * subr.el (string-mark-left-to-right): Search the entire string
16760 for RTL script, not just the terminating character. Doc fix.
16761
a3dae87a
SM
167622011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
16763
6cd18349
SM
16764 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
16765 New function.
16766 (js--regexp-literal, js-syntax-propertize-function): Remove.
16767 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
16768 (js-mode-map): Don't rebind electric keys.
16769 (js-insert-and-indent): Remove.
16770 (js-mode): Setup electric-layout and electric-indent instead.
16771
a3dae87a
SM
16772 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
16773
9d5cb631
DU
167742011-08-12 Daiki Ueno <ueno@unixuser.org>
16775
16776 * epa.el (epa-progress-callback-function): Fix the logic of
16777 displaying progress.
16778 * epa-file.el (epa-file-insert-file-contents): Make progress
16779 display more user-friendly.
16780 (epa-file-write-region): Ditto.
16781
3e26a4a2
CY
167822011-08-10 Chong Yidong <cyd@stupidchicken.com>
16783
16784 * subr.el (string-mark-left-to-right): New function.
16785
16786 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
16787 Use string-mark-left-to-right.
16788 (list-buffers-noselect): Caller changed.
16789
a3dae87a
SM
16790 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
16791 Use string-mark-left-to-right.
3e26a4a2
CY
16792 (tabulated-list-print): Recenter after moving point.
16793
ac8cf6e6
JL
167942011-08-10 Juri Linkov <juri@jurta.org>
16795
16796 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
16797 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
16798 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
16799
8d96c9a4
CY
168002011-08-09 Chong Yidong <cyd@stupidchicken.com>
16801
16802 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
16803 (Bug#7554).
16804
7be1c708 168052011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
16806
16807 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
16808 character. (Bug#6594)
16809
37e11a63
CY
168102011-08-08 Chong Yidong <cyd@stupidchicken.com>
16811
839dde57
CY
16812 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
16813 (image-dired--with-db-file): New macro.
16814 (image-dired-write-tags, image-dired-remove-tag)
16815 (image-dired-create-gallery-lists, image-dired-write-comments)
16816 (image-dired-get-comment, image-dired-mark-tagged-files)
16817 (image-dired-list-tags, image-dired-gallery-generate): Use it.
16818 (image-dired-gallery-generate): Use insert-file-contents.
16819
37e11a63
CY
16820 * time.el (display-time-world-list, display-time-world-display):
16821 * time-stamp.el (time-stamp-string):
16822 * vc/add-log.el (add-change-log-entry): Use setenv instead of
16823 set-time-zone-rule (Bug#7337).
16824
0b4946c4
DU
168252011-08-08 Daiki Ueno <ueno@unixuser.org>
16826
16827 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
16828 (epg-error-to-string, epg-errors-to-string): New function.
16829 (epg-wait-for-completion): Reverse errors list.
16830 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
16831 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
16832 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
16833 (epg-sign-keys, epg-generate-key-from-file)
16834 (epg-generate-key-from-string): Format errors by using
16835 epg-errors-to-string (bug#9255).
16836 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
16837
75bfc667
JL
168382011-08-07 Juri Linkov <juri@jurta.org>
16839
16840 * faces.el (list-faces-display): Remove extra angle bracket
16841 from `help-mode-map'.
16842
16843 * info.el (Info-history-toc-nodes): Doc fix.
16844
16845 * longlines.el (longlines-mode): Doc fix.
16846
673e08bb
SM
168472011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
16848
4640dd88
SM
16849 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
16850 of statements and in a few more cases (bug#9183).
16851
673e08bb
SM
16852 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
16853 New functions.
16854 (cl-transform-lambda): Use them (bug#9239).
16855
89b3f019
MR
168562011-08-05 Martin Rudalics <rudalics@gmx.at>
16857
16858 * window.el (display-buffer-same-window)
16859 (display-buffer-same-frame, display-buffer-other-window)
16860 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
16861 (pop-to-buffer-other-window)
16862 (pop-to-buffer-same-frame-other-window)
16863 (pop-to-buffer-other-frame): Make them defuns.
16864 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
16865
640c8776
SM
168662011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
16867
16868 * subr.el (make-composed-keymap): Move from C. Change calling
16869 convention, and improve docstring to bring attention to a subtle point.
16870 * minibuffer.el (completing-read-default): Adjust accordingly.
16871
63648a95
MA
168722011-08-03 Michael Albinus <michael.albinus@gmx.de>
16873
16874 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
16875 (tramp-open-shell): Use `tramp-shell-quote-argument'.
16876
16877 * net/trampver.el: Update release number.
16878
b796c9b7
SM
168792011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
16880
16881 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
16882 "in" (bug#9190).
16883
2239d7d5
LMI
168842011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
16885
e07dd7c3
LMI
16886 * mail/sendmail.el (sendmail-query-once): Restore the current
16887 buffer after querying (bug#9074).
16888
0e6a2bd7
LMI
16889 * dired.el (dired-flagged): Use different faces for marked and
16890 flagged files (bug#6117).
16891
ce887515
LMI
16892 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
16893 (bug#4433).
16894
92f2affc
LMI
16895 * ido.el (ido-mode): Switch off the message if called
16896 non-interactively.
16897
57d5aff0
LMI
16898 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
16899 before 587, since it appears that that's more likely to work for
16900 more people.
16901
98cd6c18 16902 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 16903 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
16904 exist.
16905
b96dec83
LMI
16906 * info.el: Remove the `Info-beginning-of-buffer' function
16907 (bug#8325).
16908
b796c9b7
SM
16909 * net/network-stream.el (network-stream-open-starttls):
16910 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 16911
d90e2ea0
MR
169122011-08-01 Martin Rudalics <rudalics@gmx.at>
16913
16914 * window.el (display-buffer-in-window): Don't set dedicated status
16915 of window here (Bug#9215).
16916 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
16917 (display-buffer-pop-up-side-window)
b796c9b7 16918 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 16919
cca09170
SM
169202011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
16921
16922 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
16923 before binding generated-autoload-file.
16924
027b979c
DD
169252011-08-01 Deniz Dogan <deniz@dogan.se>
16926
16927 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
16928
3c7ee4f3
MA
169292011-07-30 Michael Albinus <michael.albinus@gmx.de>
16930
16931 Sync with Tramp 2.2.2.
16932
16933 * net/trampver.el: Update release number.
16934
2cc8e51a
JL
169352011-07-30 Juri Linkov <juri@jurta.org>
16936
16937 * dired-aux.el (dired-touch-initial): Remove function.
16938 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
16939 current time, and `default' to the last modification time of the
16940 current marked file (bug#6887).
16941
a514d856
JM
169422011-07-28 Jose E. Marchesi <jemarch@gnu.org>
16943
16944 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 16945 numeric argument to read-number (bug#9163).
a514d856 16946
8a7eddd7
MA
169472011-07-27 Michael Albinus <michael.albinus@gmx.de>
16948
16949 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
16950 connection process, it could be nil.
16951
1ddd96f5
LL
169522011-07-27 Leo Liu <sdl.web@gmail.com>
16953
16954 Simplify url handling in rcirc-mode.
16955
16956 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
16957 (rcirc-browse-url-at-mouse): Remove.
16958 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
16959
b248a85d
AM
169602011-07-26 Alan Mackenzie <acm@muc.de>
16961
16962 Fontify bitfield declarations properly.
16963
16964 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
16965 (c-symbol-chars): Now exported as a lang variable.
16966 (c-not-primitive-type-keywords): New lang variable.
16967
16968 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
16969 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 16970 parsed as a bitfield declaration.
b248a85d 16971
b796c9b7
SM
16972 * progmodes/cc-engine.el (c-beginning-of-statement-1):
16973 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
16974 (c-punctuation-in): New function.
16975 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
16976 declarations properly.
16977
68575ab0
UJ
169782011-07-26 Ulf Jasper <ulf.jasper@web.de>
16979
16980 * calendar/icalendar.el (icalendar--all-events): Take care of
16981 multiple vcalendars in a single file.
b796c9b7 16982 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 16983
0f0a88b9
DD
169842011-07-25 Deniz Dogan <deniz@dogan.se>
16985
16986 * image.el (insert-image): Clarifying docstring.
16987
0b3f36df
MA
169882011-07-24 Michael Albinus <michael.albinus@gmx.de>
16989
16990 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
16991 `tramp-send-command-and-check' if there is no error.
16992 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
16993
a9901f61
AM
169942011-07-22 Alan Mackenzie <acm@muc.de>
16995
16996 Prevent cc-langs.elc being loaded at run time.
16997
16998 * progmodes/cc-mode.el: Remove two autoload forms which loaded
16999 cc-langs.
17000
4d61f28d 17001 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
17002 "(require 'cc-langs)". Quote a form so it will evaluate at
17003 (cc-mode's) compilation time.
17004
11d074b2
MA
170052011-07-22 Michael Albinus <michael.albinus@gmx.de>
17006
17007 * net/tramp.el (tramp-file-name-handler): Avoid recursive
17008 loading. (Bug#9114)
17009
938b94c8
MR
170102011-07-21 Martin Rudalics <rudalics@gmx.at>
17011
17012 * window.el (display-buffer-pop-up-window)
17013 (display-buffer-pop-up-side-window)
17014 (display-buffer-in-side-window): Call display-buffer-set-height
17015 and display-buffer-set-width after setting the new window's
b796c9b7 17016 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 17017
bfa4f190
SS
170182011-07-20 Sam Steingold <sds@gnu.org>
17019
17020 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
17021 (etags-tags-included-tables): Call `convert-standard-filename' on
17022 the file names contained in TAGS so that windows Emacs can handle
17023 TAGS files created by cygwin ctags.
17024
8ca42262
LMI
170252011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
17026
17027 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
17028 which apparently didn't work.
17029
5db2afd2 170302011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 17031
5db2afd2
RW
17032 * proced.el (proced-send-signal): For *Marked Processes* buffer
17033 put point at beginning of buffer.
17034
92e15d10
SB
170352011-07-19 Stephen Berman <stephen.berman@gmx.net>
17036
17037 * proced.el (proced-format): Make header lines align with the text
17038 (bug#1779).
17039
1bfd59e5
LMI
170402011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
17041
17042 * view.el (view-buffer): Allow running in `special' modes if we're
17043 visiting a file (bug#8615).
17044
f5aae37c
MR
170452011-07-19 Martin Rudalics <rudalics@gmx.at>
17046
17047 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
17048 (display-buffer-alist-set-1, display-buffer-alist-set-2):
17049 New functions.
f5aae37c
MR
17050 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
17051 more accurately.
17052
bf2c1571
AM
170532011-07-18 Alan Mackenzie <acm@muc.de>
17054
17055 Fontify declarators properly when, e.g., a jit-lock chunk begins
17056 inside a declaration.
17057
17058 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
17059
b796c9b7
SM
17060 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
17061 New function.
bf2c1571
AM
17062 (c-complex-decl-matchers): Insert reference to
17063 c-font-lock-enclosing-decls.
17064
17065 * progmodes/cc-engine.el (c-backward-single-comment):
17066 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
17067 to nil around calls to (forward-comment -1).
17068
4e190b80
LMI
170692011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
17070
12dc863d
LMI
17071 * image.el (put-image): Doc typo fix.
17072
a762e966
LMI
17073 * progmodes/etags.el (tags-search): Doc typo fix.
17074
4e190b80
LMI
17075 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
17076 password if we get errors 550 to 554.
17077
f019fb21
LMI
170782011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
17079
b796c9b7 17080 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 17081
81746738
LMI
17082 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
17083 indentation character (bug#6380).
17084
3ee3a1b5
LMI
17085 * files.el (buffer-offer-save): Made permanently local (bug#6241).
17086
c82f64de
LMI
17087 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
17088 to clarify what the problem is (bug#4291).
17089
f019fb21
LMI
17090 * simple.el (current-kill): Clarify what
17091 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
17092 (auto-fill-mode): Document `auto-fill-function' in relation to
17093 `auto-fill-mode' (bug#2470).
f019fb21 17094
0794775d
LM
170952011-07-16 Lawrence Mitchell <wence@gmx.li>
17096
17097 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
17098 method if slot is read-only (bug#9035).
17099
be39b8cc
MR
171002011-07-16 Martin Rudalics <rudalics@gmx.at>
17101
b796c9b7 17102 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 17103 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
17104 selected before, see discussion of (Bug#8615), (Bug#6954).
17105 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 17106
6ccf7859
GM
171072011-07-15 Glenn Morris <rgm@gnu.org>
17108
17109 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 17110 Respect help-form.
6ccf7859 17111
87e86684
LM
171122011-07-09 Lawrence Mitchell <wence@gmx.li>
17113
17114 * net/gnutls.el (gnutls-min-prime-bits): New variable.
17115 (gnutls-negotiate): Use it.
17116
d6066239
LMI
171172011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
17118
b796c9b7
SM
17119 * net/gnutls.el (gnutls-negotiate):
17120 Upcase `gnutls-algorithm-priority'.
d6066239 17121
bd23ebc0
GM
171222011-07-15 Glenn Morris <rgm@gnu.org>
17123
c65bca65
GM
17124 * jka-compr.el (jka-compr-verbose): Move from here...
17125 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
17126 Add missing :version tag.
17127 * info.el: No need to require jka-compr when compiling.
bd23ebc0 17128
478615cc
LMI
171292011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
17130
7b41decb
LMI
17131 * net/gnutls.el (gnutls-algorithm-priority): New variable.
17132 (gnutls-negotiate): Use it.
17133
dbc44fcd
LMI
17134 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
17135
06789f97
LMI
17136 * info.el (Info-beginning-of-buffer): New command.
17137 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
17138 announcing `b' as the key (bug#8325).
ab896c37 17139 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 17140
c39da690
LMI
17141 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
17142
3aa5f34b
LMI
17143 * international/mule-cmds.el
17144 (describe-specified-language-support): Make the error message
17145 clearer (bug#8905).
17146
4bf0979f
LMI
17147 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
17148
478615cc
LMI
17149 * isearch.el (isearch-barrier): Add a doc string, since it's
17150 mentioned in a function doc string (bug#8678).
17151
75c68aa1
MR
171522011-07-15 Martin Rudalics <rudalics@gmx.at>
17153
17154 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
17155 buffer argument (Bug#9083) and self-identifying label argument.
17156
a7c33da2
GM
171572011-07-15 Glenn Morris <rgm@gnu.org>
17158
17159 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
17160
2f5c6024
LMI
171612011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
17162
17163 * man.el (Man-fontify-manpage): Fix message when formatting the
17164 man page (bug#7929).
17165
0bb23927 171662011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
17167
17168 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
17169 argument LRM; if non-nil, append an invisible LRM character to the
17170 buffer name.
17171 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
17172 last argument non-nil, when formatting buffer names.
0bb23927
EZ
17173 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
17174 paragraph direction.
cce4b0a7 17175
621ef9ab
LMI
171762011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
17177
d1583c48
LMI
17178 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
17179 the man page name (bug#7929).
17180
6a57fb5f
LMI
17181 * image.el (put-image): Mention the `put-image' overlay property
17182 (bug#7834).
17183
d7956b14
LMI
17184 * scroll-bar.el (set-scroll-bar-mode): Mention that
17185 `scroll-bar-mode' lists the values (bug#7772).
17186
5b2d4a66
LMI
17187 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
17188 command (bug#7729).
17189
7509a874
LMI
17190 * rect.el (apply-on-rectangle): Return the point after the last
17191 operation.
17192 (string-rectangle): Go to the point after the last operation
17193 (bug#7522).
17194
4fe74b19
LMI
17195 * printing.el (pr-toggle-region): Clarify the documentation
17196 slightly (bug#7493).
17197
b796c9b7
SM
17198 * time.el (display-time-update):
17199 Allow `display-time-mail-function' to return nil (bug#7158).
17200 Fix suggested by Detlev Zundel.
ab283561 17201
fc233c9d
LMI
17202 * vc/diff.el (diff): Clarify the order the file names are read
17203 (bug#7111).
17204
43f5740b
LMI
17205 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
17206 the doc string (bug#7015).
17207
f2182a76
LMI
17208 * font-lock.el (font-lock-maximum-decoration): Mention what
17209 numeric levels mean (bug#6935).
17210
621ef9ab
LMI
17211 * startup.el (initial-buffer-choice): Don't mention the `none'
17212 selection, which is against policy.
17213
adc47434
MR
172142011-07-14 Martin Rudalics <rudalics@gmx.at>
17215
b796c9b7
SM
17216 * window.el (display-buffer-normalize-special):
17217 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 17218
7e5bfb8f
EZ
172192011-07-14 Eli Zaretskii <eliz@gnu.org>
17220
17221 * subr.el (version<, version<=, version=): Mention "-CVS" and
17222 "-12345" alpha version numbers.
17223
27fa387a
CY
172242011-07-14 Chong Yidong <cyd@stupidchicken.com>
17225
17226 * bindings.el: Add advertised binding for set-mark-command
17227 (Bug#5772).
17228
8bdfa064
CY
172292011-07-14 Chong Yidong <cyd@stupidchicken.com>
17230
17231 * bindings.el (mode-line-other-buffer):
17232 * bookmark.el (bookmark-bmenu-2-window):
17233 * bs.el (bs-cycle-next, bs-cycle-previous):
17234 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
17235 switch-to-buffer.
17236
17237 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 17238 Delete.
8bdfa064 17239
5eba16a3
JB
172402011-07-14 Juanma Barranquero <lekktu@gmail.com>
17241
17242 * follow.el (follow-debug-message, follow-redisplay):
17243 * jka-cmpr-hook.el (with-auto-compression-mode):
17244 Fix typos in docstrings.
17245
15853710
LMI
172462011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
17247
a28e4607
LMI
17248 * subr.el (with-silent-modifications): Clarify somewhat what the
17249 macro inhibits (bug#6525).
17250
15853710
LMI
17251 * simple.el (eval-expression): Note what it does if called
17252 interactively (bug#6495).
17253
bee0fcef
CY
172542011-07-13 Chong Yidong <cyd@stupidchicken.com>
17255
b796c9b7
SM
17256 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
17257 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
17258
17259 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
17260 Remove switch-to-buffer.
17261
58274504
LMI
172622011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
17263
bd2fcc8d
LMI
17264 * files.el (make-directory): Clarify that an error will be raised
17265 if there's an error (bug#6397).
17266
0f04b32c
LMI
17267 * startup.el (initial-buffer-choice): Add `none' as a choice
17268 (bug#6234).
17269
465c5fc8
LMI
17270 * subr.el (add-hook): Clarify section about buffer-local hooks
17271 (bug#6218).
17272
58274504
LMI
17273 * dired.el (dired-flagged): Clarify doc string (bug#6117).
17274
bead9a43
JB
172752011-07-13 Juanma Barranquero <lekktu@gmail.com>
17276
17277 * tabify.el (untabify): Preserve the current column so that point
17278 doesn't move (bug#6032).
17279
3af98a7b
LMI
172802011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
17281
b796c9b7
SM
17282 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
17283 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 17284
6240145a
GM
172852011-07-13 Glenn Morris <rgm@gnu.org>
17286
17287 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
17288 (dired-insert-directory): Give a message the first time
17289 if ls is found not to support --dired.
17290
1d8c2ccc
LMI
172912011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
17292
17293 * simple.el (toggle-truncate-lines): Clarify what is toggled
17294 (bug#5580). Text by Drew Adams.
17295
5fc4038e
CY
172962011-07-13 Chong Yidong <cyd@stupidchicken.com>
17297
17298 * simple.el (blink-matching-open): Make the error message from the
17299 last change less verbose.
17300
bf6012e5
DN
173012011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
17302
17303 * font-lock.el (font-lock-comment-face): Use the high contrast
17304 "yellow" color for font-lock-comment-face on low color terminals
17305 using a dark background color (bug#4221).
17306
343c3b5a
LMI
173072011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
17308
7e9505c5
LMI
17309 * dired.el (dired-insert-set-properties): Make the doc string
17310 reflect what it does now (bug#5325).
17311
c26fdcf5
LMI
17312 * simple.el (blink-matching-open): Say that we were unable to find
17313 the match within the limit, if we're limited (bug#5122).
17314
bb388cc5
LMI
17315 * international/mule-cmds.el (prefer-coding-system): Add an
17316 example (bug#4869).
17317
343c3b5a
LMI
17318 * progmodes/etags.el (tags-search): Document `file-list-form'
17319 (bug#4731).
17320
2a517d45
LM
173212011-07-13 Lawrence Mitchell <wence@gmx.li>
17322
17323 * net/browse-url.el (browse-url-default-browser)
17324 (browse-url-browser-function): Make the default browser choice a
17325 bit more logical (bug#4300). Also clean up the doc string.
17326
b6c78ef2
JB
173272011-07-13 Juanma Barranquero <lekktu@gmail.com>
17328
17329 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
17330 binary endings (bug#4440).
17331
1c4dd947
LMI
173322011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
17333
a2014063
LMI
17334 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
17335 which can be pretty annoying (bug#8971).
17336
9c9c2d88
LMI
17337 * jka-compr.el (jka-compr-verbose): New variable, and use
17338 throughout (bug#8971).
17339
1c4dd947
LMI
17340 * info.el (Info-find-file): Fall back on the installation
17341 directory if we can't find the info node anywhere else.
17342
a1c9f41b
SO
173432011-07-13 Sergei Organov <osv@javad.com> (tiny change)
17344
17345 * vc/vc.el (vc-revert-file):
17346 Don't set file time-stamp in the past. (Bug#5181)
17347
536f3d36
LMI
173482011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
17349
7152b011
LMI
17350 * files.el (after-find-file): Give a better error message when
17351 trying to find a symlink that points to a file that doesn't exist
17352 (bug#4398).
17353
536f3d36
LMI
17354 * progmodes/cc-vars.el: Remove (probably) misleading comment
17355 (bug#4396).
17356
460c0fba
JB
173572011-07-12 Johan Bockgård <bojohan@gnu.org>
17358
17359 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
17360
7a6bda45
CY
173612011-07-12 Chong Yidong <cyd@stupidchicken.com>
17362
17363 * mouse-sel.el: Hack restoring functionality, while keeping
17364 compatibility with 2010-07-03 changes to mouse selection.
17365 (mouse-sel-primary-overlay): New var.
17366 (mouse-sel-selection-alist): Use it.
17367 (mouse-sel-mode): Doc fix; remove points that are default features
17368 of mouse.el.
17369
c79598ef
JB
173702011-07-12 Johan Bockgård <bojohan@gnu.org>
17371
17372 * progmodes/compile.el (compilation-error-regexp-alist-alist):
17373 Fix previous fix (bug#2490).
17374
ff8be6ef
RW
173752011-07-12 Roland Winkler <winkler@gnu.org>
17376
b796c9b7
SM
17377 * textmodes/bibtex.el (bibtex-initialize):
17378 Use pop-to-buffer-same-window.
ff8be6ef
RW
17379 (bibtex-search-entries): Fix interactive call.
17380
296ba3ee
LMI
173812011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
17382
f5242a02 17383 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
17384 Fontise bytecomp Error lines more correctly (bug#2490).
17385 Fix suggested by Johan Bockgård.
f5242a02 17386
296ba3ee
LMI
17387 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
17388
17389 * dired-x.el (dired-guess-default): Use `delete-dups'.
17390
f69fd0d2
CY
173912011-07-12 Chong Yidong <cyd@stupidchicken.com>
17392
17393 * dired.el (dired-mark-prompt):
17394 * dired-aux.el (dired-read-shell-command): Doc fix.
17395
eab5dc07
LMI
173962011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
17397
b796c9b7
SM
17398 * mail/sendmail.el (sendmail-query-once):
17399 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
17400 emacs -Q.
17401
17402 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
17403
eab5dc07
LMI
17404 * cus-edit.el (custom-file): Take an optional no-error variable.
17405 (customize-save-variable): Set the variable, and give a warning if
17406 running under "emacs -q".
17407
a1e65d42
JB
174082011-07-11 Juanma Barranquero <lekktu@gmail.com>
17409
17410 * loadhist.el (unload-feature-special-hooks):
17411 Add `auto-coding-functions', `fill-nobreak-predicate' and
17412 `find-directory-functions' (bug#5327).
17413
1d52da10
LMI
174142011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
17415
be958f1d
LMI
17416 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
17417
5bedb26c
LMI
17418 * cus-edit.el (custom-guess-name-alist): -alist variables should
17419 use the `alist' type (bug#3120). Suggested by Drew Adams.
17420
1d52da10
LMI
17421 * printing.el: Add documentation to all the `pr-toggle-' commands.
17422
cd394be1 174232011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
17424
17425 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
17426 backends where it makes sense (bug#2623).
17427
dcc88d8a
LMI
174282011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
17429
c3de9feb
LMI
17430 * dired-x.el (dired-guess-default): Remove duplicate shell command
17431 entries (bug#2028).
8a93078b 17432 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 17433 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 17434
dcc88d8a
LMI
17435 * subr.el (remove-duplicates): New conveniency function.
17436
505e3645
LMI
174372011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
17438
17439 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
17440 (bug#1526).
17441
174422011-07-10 Martin Rudalics <rudalics@gmx.at>
17443
17444 * window.el (display-buffer-normalize-default): Don't invert
17445 meaning of even-window-heights. Reported by Eli Zaretskii
17446 <eliz@gnu.org>.
17447
455e4fa1
BR
174482011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
17449
17450 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
17451
8e0bc3e9
CY
174522011-07-10 Chong Yidong <cyd@stupidchicken.com>
17453
17454 * window.el (display-buffer): Fix arguments to
17455 display-buffer-reuse-window in last change.
17456
fa7c3228
CY
17457 * faces.el (link): Use a less saturated blue on light backgrounds.
17458
17459 * startup.el (fancy-startup-text, fancy-about-text)
17460 (fancy-startup-tail): Use font-lock faces, for background safety.
17461
c0a7f300
BN
174622011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
17463
b796c9b7
SM
17464 * emulation/viper-cmd.el (viper-change-state-to-vi):
17465 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 17466
4dc2a129
MR
174672011-07-09 Martin Rudalics <rudalics@gmx.at>
17468
17469 * window.el (display-buffer-default-specifiers): Remove.
17470 (display-buffer-macro-specifiers): Remove default specifiers.
17471 (display-buffer-alist): Default to nil.
b796c9b7 17472 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
17473 (display-buffer-pop-up-window): Allow splitting internal
17474 windows. Check whether a live window was created.
17475 (display-buffer-other-window-means-other-frame)
17476 (display-buffer-normalize-arguments): Rename to
17477 display-buffer-normalize-argument and rewrite. Set the
17478 other-window specifier.
17479 (display-buffer-normalize-special): New function.
17480 (display-buffer-normalize-options): Rename to
17481 display-buffer-normalize-default and rewrite.
17482 (display-buffer-normalize-options-inhibit): Remove.
17483 (display-buffer-normalize-specifiers): Rewrite.
17484 (display-buffer): Process other-window specifier and call
17485 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
17486 more faithfully.
b796c9b7 17487 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 17488 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
17489 (display-buffer-in-window, display-buffer-alist-set):
17490 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
17491 <tassilo@member.fsf.org>.
17492
2d43b8c9
LL
174932011-07-09 Leo Liu <sdl.web@gmail.com>
17494
17495 * register.el (insert-register): Restore accidental change on
17496 2011-06-26. (Bug#9028)
17497
7f9b7c53
GM
174982011-07-09 Glenn Morris <rgm@gnu.org>
17499
17500 * subr.el (remq): Handle the empty list. (Bug#9024)
17501
f042cfd8
AS
175022011-07-08 Andreas Schwab <schwab@linux-m68k.org>
17503
17504 * mail/sendmail.el (send-mail-function): No longer delay custom
17505 initialization.
17506 * custom.el (custom-initialize-delay): Doc fix.
17507
856b2f11
SM
175082011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
17509
17510 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
17511
afae1d68
MA
175122011-07-08 Michael Albinus <michael.albinus@gmx.de>
17513
17514 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
17515 human-friendly prompt.
17516
0757af94
SM
175172011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
17518
17519 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
17520 provided by a particular plugin.
17521
d760b731
LMI
175222011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
17523
17524 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
17525 save customizations (with "emacs -Q"), just set the variable
17526 instead of erroring out.
17527
17528 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
17529
cd79ce90
JL
175302011-07-08 Juri Linkov <juri@jurta.org>
17531
17532 * arc-mode.el (archive-zip-expunge, archive-zip-update)
17533 (archive-zip-update-case): Use 7z if found by `executable-find'.
17534 The order of searching the available programs is the same as in
17535 `archive-zip-extract' (bug#8968).
17536
14cc04aa
CY
175372011-07-07 Chong Yidong <cyd@stupidchicken.com>
17538
17539 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
17540 (menu-bar-options-menu): Tweak descriptions.
17541
0a1848ec
LMI
175422011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
17543
17544 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
17545 menu items into verb phrases (bug#1421). Also refill to fit under
17546 80 columns.
17547
f5bd0689
CY
175482011-07-07 Chong Yidong <cyd@stupidchicken.com>
17549
538e85c6
CY
17550 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
17551 (Info-read-node-name): Doc fix (Bug#1084).
17552
f5bd0689
CY
17553 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
17554 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
17555 (end-of-sexp, beginning-of-sexp)
17556 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
17557 (forward-symbol, forward-same-syntax, word-at-point)
17558 (sentence-at-point): Doc fix (Bug#1144).
17559
56ec5115
LMI
175602011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
17561
f3f8e37f
LMI
17562 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
17563 should cover it (bug#1281).
17564
0757af94 17565 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 17566
e9fce1ac 17567 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
17568 negotiation fails, then possibly try again with a non-encrypted
17569 connection (bug#9017).
17570
56ec5115
LMI
17571 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
17572 be used.
17573
c2f9aec8
RS
175742011-07-07 Richard Stallman <rms@gnu.org>
17575
17576 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
17577 property, and handle its changed format.
17578 Look for the correct line number.
17579 Use file's line contents (but not past first =) to find
17580 correct line in message.
17581
ef7b981d 175822011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
17583
17584 * international/characters.el (build-unicode-category-table):
17585 Delete it.
0757af94 17586 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 17587
0757af94 17588 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
17589 to src/chartab.c.
17590 (get-char-code-property): Call unicode-property-table-internal to
17591 load a file. Call get-unicode-property-internal where necessary.
17592 (put-char-code-property): Call unicode-property-table-internal to
17593 load a file. Call put-unicode-property-internal where necessary.
17594 put-unicode-property-internal where necessary.
0757af94
SM
17595 (char-code-property-description):
17596 Call unicode-property-table-internal to load a file.
c805dec0
KH
17597
17598 * international/charprop.el:
17599 * international/uni-bidi.el:
17600 * international/uni-category.el:
17601 * international/uni-combining.el:
17602 * international/uni-comment.el:
17603 * international/uni-decimal.el:
17604 * international/uni-decomposition.el:
17605 * international/uni-digit.el:
17606 * international/uni-lowercase.el:
17607 * international/uni-mirrored.el:
17608 * international/uni-name.el:
17609 * international/uni-numeric.el:
17610 * international/uni-old-name.el:
17611 * international/uni-titlecase.el:
17612 * international/uni-uppercase.el: Regenerate.
17613
17614 * loadup.el: Load international/charprop.el before
17615 international/characters.
17616
e14b388a
CY
176172011-07-07 Chong Yidong <cyd@stupidchicken.com>
17618
17619 * window.el (next-buffer, previous-buffer): Signal an error if
17620 called from a minibuffer window.
17621
17622 * bindings.el: Revert 2011-07-04 change.
17623
354cf0ba
RS
176242011-07-06 Richard Stallman <rms@gnu.org>
17625
17626 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
17627 (rmail-mime-insert-bulk, rmail-mime-insert-text):
17628 Treat markers like ints.
17629 (rmail-mime-entity): Doc fix.
17630
a48868a7
LMI
176312011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
17632
4906cd3d
LMI
17633 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
17634 defcustom again for backwards compatibility.
17635
e0457abe
LMI
17636 * simple.el (shell-command-on-region): Fill.
17637
d67f7e1f
LMI
17638 * dired-aux.el (dired-kill-line): Add a doc string.
17639
fe204702
LMI
17640 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
17641 to "\\sw\\|\\s_" (bug#358).
17642
a48868a7
LMI
17643 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
17644 (dired-unmark-backward): Ditto.
17645 (dired-flag-backup-files): Ditto.
17646
17647 * dired-x.el (dired-mark-sexp): Ditto.
17648
aa8a705c
RS
176492011-07-06 Richard Stallman <rms@gnu.org>
17650
17651 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
17652 (rmail-mime-entity): New arg TRUNCATED.
17653 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
17654 New functions.
17655 (rmail-mime-save): Warn if entity is truncated.
17656 (rmail-mime-toggle-hidden): Likewise, for showing.
17657 (rmail-mime-process-multipart): Record when an entity is truncated.
17658
a9a936b9
RS
17659 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
17660 if ENTITY is a string.
17661
1f2b92cb
LMI
176622011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
17663
f4f73198 17664 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
17665 of faces when `M-C-x'-ing their definitions (bug#8378).
17666 Also clean up the code slightly.
f4f73198 17667
12b16734 17668 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 17669 because that makes the colors go away.
12b16734 17670
f0691d22
LMI
17671 * mail/sendmail.el (send-mail-function): Change the default to
17672 `sendmail-query-once'.
9e87df06 17673 (sendmail-query-once): Add an autoload cookie.
f0691d22 17674
1f2b92cb
LMI
17675 * net/network-stream.el (network-stream-open-starttls): Try using
17676 a plain connection even if the server offered STARTTLS, and we
17677 kinda wanted to use it, if Emacs doesn't have any STARTTLS
17678 capability. This should make smtpmail.el work in slightly more
17679 configurations.
17680
1cdd2a1b
MA
176812011-07-06 Michael Albinus <michael.albinus@gmx.de>
17682
17683 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
17684 New defun.
17685 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
17686
fbcc67e2
MM
176872011-07-06 Michael R. Mauger <mmaug@yahoo.com>
17688
17689 * progmodes/sql.el: Version 3.0
0757af94 17690 (sql-product-alist): Add product :completion-object,
fbcc67e2 17691 :completion-column, and :statement attributes.
0757af94 17692 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 17693 (sql-mode-syntax-table): Mark all punctuation.
0757af94 17694 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
17695 ansi keywords.
17696 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 17697 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
17698 (sql-oracle-show-reserved-words): New function for development.
17699 (sql-product-font-lock): Simplify for source code buffers.
17700 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
17701 New functions.
17702 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
17703 (sql-mode-map): Add statement movement functions.
17704 (sql-ansi-statement-starters, sql-oracle-statement-starters):
17705 New variable.
fbcc67e2
MM
17706 (sql-statement-regexp, sql-beginning-of-statement)
17707 (sql-end-of-statement, sql-signum): New functions.
0757af94 17708 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
17709 (sql-show-sqli-buffer): Bug fix.
17710 (sql-interactive-mode): Store connection data as buffer local.
0757af94 17711 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
17712 with sql-interactive-mode.
17713 (sql-save-connection): Save buffer local settings.
0757af94 17714 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
17715 (sql-product-interactive): Bug fix.
17716 (sql-preoutput-hold): New variable.
17717 (sql-interactive-remove-continuation-prompt): Bug fixes.
17718 (sql-debug-redirect): New variable.
17719 (sql-str-literal): New function.
17720 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 17721 Redesign.
fbcc67e2
MM
17722 (sql-oracle-save-settings, sql-oracle-restore-settings)
17723 (sql-oracle-list-all, sql-oracle-list-table): New functions.
17724 (sql-completion-object, sql-completion-column)
17725 (sql-completion-sqlbuf): New variables.
17726 (sql-build-completions-1, sql-build-completions)
17727 (sql-try-completion): New functions.
17728 (sql-read-table-name): Use them.
17729 (sql-contains-names): New buffer local variable.
17730 (sql-list-all, sql-list-table): Use it.
17731 (sql-oracle-completion-types): New variable.
17732 (sql-oracle-completion-object, sql-sqlite-completion-object)
17733 (sql-postgres-completion-object): New functions.
17734
d4eaeab1
GM
177352011-07-06 Glenn Morris <rgm@gnu.org>
17736
17737 * window.el (pop-to-buffer): Doc fix.
17738
322b7dab 177392011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
17740
17741 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
17742
322b7dab 177432011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 17744
322b7dab 17745 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 17746
322b7dab 17747 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 17748
605dd5bf
CY
177492011-07-05 Chong Yidong <cyd@stupidchicken.com>
17750
17751 * button.el (button): Inherit from link face. Suggested by Dan
17752 Nicolaescu.
17753
7dbfa719
SM
177542011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
17755
3db614b0
SM
17756 * progmodes/gdb-mi.el: Fit in 80 columns.
17757 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
17758 switch-to-buffer.
17759
7dbfa719
SM
17760 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
17761 if imenu is simply not configured (bug#8941).
17762
919d884a
KM
177632011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
17764
17765 * allout.el (allout-post-undo-hook): New allout outline-change
17766 event hook to signal undo activity.
17767 (allout-post-command-business): Run allout-post-undo-hook if an
17768 undo just occurred.
7dbfa719
SM
17769 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
17770 * allout-widgets.el (allout-widgets-after-undo-function):
17771 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
17772 in the vicinity of an undo.
17773 (allout-widgets-mode): Include allout-widgets-after-undo-function
17774 on the new allout-post-undo-hook.
17775
450a0f09
SM
177762011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
17777
17778 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
17779 Let define-derived-mode define it.
17780 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
17781 cycles of abbrev-table inheritance (bug#8998).
17782
2de69e00
RW
177832011-07-05 Roland Winkler <winkler@gnu.org>
17784
17785 * textmodes/bibtex.el: Add support for biblatex.
17786 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
17787 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
17788 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
17789 (bibtex-entry-alist, bibtex-field-alist): New variables.
17790 (bibtex-entry-field-alist): Obsolete alias for
17791 bibtex-BibTeX-entry-alist.
17792 (bibtex-entry-alist, bibtex-field-alist): New widgets.
17793 (bibtex-set-dialect): New command.
17794 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
17795 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
17796 Bind via bibtex-set-dialect.
2de69e00
RW
17797 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
17798 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
17799 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
17800 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
17801 Define via bibtex-set-dialect.
450a0f09
SM
17802 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
17803 Obey bibtex-no-opt-remove-re.
2de69e00
RW
17804 (bibtex-vec-push, bibtex-vec-incr): New functions.
17805 (bibtex-format-entry, bibtex-field-list)
17806 (bibtex-print-help-message, bibtex-validate)
17807 (bibtex-search-entries): Use new format of bibtex-entry-alist.
17808
2dcdbdd9
SM
178092011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
17810
17811 * progmodes/compile.el (compilation-goto-locus):
17812 * net/tramp-cmds.el (tramp-append-tramp-buffers):
17813 * bs.el (bs-cycle-next, bs-cycle-previous):
17814 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
17815 * bindings.el (mode-line-other-buffer):
17816 * autoinsert.el (auto-insert):
17817 * arc-mode.el (archive-extract):
17818 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
17819
b27640fe
JB
178202011-07-05 Juanma Barranquero <lekktu@gmail.com>
17821
17822 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
17823 Fix check of `emacs-lock-unlockable-modes'.
17824 Coerce true values of `emacs-lock--try-unlocking' to t.
17825
53bbe3ad
JB
178262011-07-05 Juanma Barranquero <lekktu@gmail.com>
17827
17828 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
17829 * emacs-lock.el: New file.
17830
1d3cdbc7
JD
178312011-07-05 Julien Danjou <julien@danjou.info>
17832
17833 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
17834 than `boundp' to check if face is set.
17835
9173deec
JB
178362011-07-05 Juanma Barranquero <lekktu@gmail.com>
17837
17838 * register.el (registerv-make):
17839 * window.el (window-min-height): Fix typos in docstrings.
17840
869795d6
JD
178412011-07-05 Jan Djärv <jan.h.d@swipnet.se>
17842
9173deec 17843 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
17844 Update doc string.
17845
b768cdcd
JB
178462011-07-04 Juanma Barranquero <lekktu@gmail.com>
17847
17848 * server.el (server-execute): Catch quit and call
17849 `server-return-error' to pass the error back to emacsclient and
17850 close the connection (bug#8942).
17851
13aa217b
KM
178522011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
17853
17854 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
17855 insecure exception for current topic. Also note that auto-saves
17856 are handled differently.
17857
5d3385a0 17858 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
13aa217b
KM
17859 State variables for tracking auto-save inhibition situation.
17860
17861 (allout-write-contents-hook-handler): Rename from
17862 'allout-write-file-hook-handler', and describe how it depends on
17863 write-contents-functions sensitivity to non-nil value to prevent
17864 file write.
17865
17866 (allout-auto-save-hook-handler): Remove. auto-save does not check
17867 this in individual buffers, only in the starting buffer, so this
17868 is not the right way for us to inhibit auto-save in a buffer
17869 according to its condition.
17870
17871 (allout-mode): Use new allout-write-contents-hook-handler, and
17872 only with write-contents-functions. Remove auto-save provisions -
17873 they're implemented elsewhere.
17874
17875 (allout-before-change-handler): If undo is in progress, note that
17876 for attention of allout-post-command-business.
17877
17878 (allout-post-command-business): If the command we're following was
17879 an undo, check for change in the status of encrypted items and
17880 adjust auto-save inhibitions accordingly.
17881
17882 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
17883 according to whether there are or aren't any plain-text topics
17884 pending encryption.
17885
2dcdbdd9 17886 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
17887 Adjust buffer-saved-size and some allout state to inhibit auto-saves
17888 if there are plain-text topics pending encryption.
13aa217b
KM
17889
17890 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
17891 buffer-saved-size and some allout state to not inhibit auto-saves
17892 if there are no longer any plain-text topics pending encryption.
17893
0757af94
SM
17894 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
17895 No longer provide for exemption of the current topic.
13aa217b 17896
ac89b32c
JL
178972011-07-04 Juri Linkov <juri@jurta.org>
17898
17899 Add 7z operations to delete and save changed members (bug#8968).
17900 * arc-mode.el (archive-7z-expunge, archive-7z-update):
17901 New defcustoms.
17902 (archive-7z-write-file-member): New function.
17903 (archive-7z-summarize): Fix the number of dashes in the
17904 listing output.
17905
8fa39615
SM
179062011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
17907
17908 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
17909 (bug#8958).
17910
2f11b3f1
CY
179112011-07-04 Chong Yidong <cyd@stupidchicken.com>
17912
d66fef2b
CY
17913 * bindings.el: Ignore next-buffer and previous-buffer in
17914 minibuffer-local-map.
17915
2f11b3f1
CY
17916 * font-lock.el (font-lock-builtin-face): Change light background
17917 color to dark slate blue (Bug#6693).
17918
f932a347
WD
179192011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
17920
17921 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
17922
c8af70e1
SM
179232011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
17924
17925 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
17926 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
17927 Add switch-to-buffer.
17928
f158badc
LMI
179292011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
17930
17931 * isearch.el (isearch-search-fun-function): Clarify further the
17932 meaning of the function returned.
17933
6d95bd46
MA
179342011-07-04 Michael Albinus <michael.albinus@gmx.de>
17935
17936 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
17937
17938 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
17939 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
17940 Use it.
17941 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
17942 `tramp-default-remote-path' does not exist.
17943 (tramp-send-command-and-read): New optional argument NOERROR.
17944 (tramp-open-connection-setup-interactive-shell)
17945 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
17946 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
17947 (tramp-process-sentinel): Flush also process' connection property.
17948 (tramp-sh-handle-start-file-process): Do not set process
17949 sentinel. It is done now ...
17950 (tramp-maybe-open-connection): ... here. (Bug#8929)
17951
909e6b67
MK
179522011-07-04 MON KEY <monkey@sandpframing.com>
17953
17954 * play/animate.el (animate-string): Doc fixes and allow changing
17955 the buffer name (bug#5417).
17956
179572011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
17958
c8af70e1 17959 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 17960
f34755dc
PE
179612011-07-04 Paul Eggert <eggert@cs.ucla.edu>
17962
396cec72
PE
17963 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
17964 This is simpler and helps future-proof the code.
17965 (timer-until): Use time-subtract and float-time.
08235028 17966 (timer--time-less-p): Use time-less-p.
f34755dc 17967
56e6cc31
JB
179682011-07-04 Juanma Barranquero <lekktu@gmail.com>
17969
3abb79e5
JB
17970 * type-break.el (timep): Use the value of `float-time' to avoid a
17971 byte-compiler warning.
17972
56e6cc31
JB
17973 * server.el (server-eval-and-print): Return any result, even nil.
17974
7b9430b4
PE
179752011-07-03 Paul Eggert <eggert@cs.ucla.edu>
17976
17977 * type-break.el: Accept time formats that the builtins accept.
17978 (timep, type-break-time-difference): Accept any format that
17979 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
17980 This is simpler and helps future-proof the code.
17981 (type-break-time-difference): Round rather than ignoring
17982 subseconds components.
17983
3034e9e7
LMI
179842011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
17985
17986 * info.el (Info-apropos-matches): Make non-interactive, since it
17987 doesn't seem to do anything useful as a command (bug#8829).
17988
1485f4c0
CY
179892011-07-03 Chong Yidong <cyd@stupidchicken.com>
17990
17991 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 17992 Move from faces.el.
1485f4c0
CY
17993 (frame-default-terminal-background): New function.
17994
17995 * custom.el (custom-push-theme): Don't record faces in `changed'
17996 theme; this doesn't work correctly for per-frame face settings.
17997 (disable-theme): Use face-set-after-frame-default to reset faces.
17998 (custom--frame-color-default): New function.
17999
9fa3dd45
LMI
180002011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
18001
c8af70e1 18002 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
18003 (bug#8769).
18004
6cbbc20c
KR
180052011-03-29 Kevin Ryde <user42@zip.com.au>
18006
18007 * progmodes/compile.el (compilation-error-regexp-alist-alist):
18008 `perl-Test2' extend to match possible "fail #N" rep count
18009 (bug#8377).
18010
c7f98048
LMI
180112011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
18012
65676592
LMI
18013 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
18014 `smtpmail-via-smtp' now returns the error instead of nil.
18015
c7f98048
LMI
18016 * isearch.el (isearch-search-fun-function): Clarify the doc string
18017 (bug#8101).
18018
56e6cc31 180192011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
18020
18021 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
18022 unnecessary spaces (bug#8987).
18023
2b216704
LMI
180242011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
18025
18026 * net/network-stream.el (open-network-stream): Use the
18027 :end-of-capability command thoughout.
18028
180292011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
18030
18031 * net/network-stream.el (open-network-stream): Add the
18032 :end-of-capability command parameter, used by pop3.el.
18033
36adf6ce
LMI
180342011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
18035
1ca0da0e
LMI
18036 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
18037
fc00f69c
LMI
18038 * fringe.el (fringe-query-style): Remove redundant text " (type ?
18039 for list)" (bug#6475).
18040
28fd8759 18041 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 18042 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
18043 an error (bug#6297).
18044
0dd8b6da
LMI
18045 * man.el (Man-reference-regexp): Allow matching possible
18046 word-wrapped references (bug#6289).
18047
ce1438d6
LMI
18048 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
18049 for consistency with the other vc buffers (bug#6197).
18050 (vc-checkin): Ditto.
18051
18052 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
18053
36adf6ce
LMI
18054 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
18055
e83cc1f7
LMI
180562011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
18057
8a20ca4c
LMI
18058 * custom.el (defcustom): Clarify that :set is only used in the
18059 Customize user interface (bug#6089).
18060
83319045
LMI
18061 * progmodes/flymake.el (flymake-mode): If the buffer isn't
18062 associated with a file, refuse to run instead of erroring out
18063 (bug#6084).
18064
a8392169
LMI
18065 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
18066 the doc string, since it appears that using `fill-column' always
18067 controls the width (bug#7845).
18068
e83cc1f7
LMI
18069 * simple.el (shell-command-on-region): Say where the error output
18070 went if `shell-command-default-error-buffer' is set (bug#6857).
18071
e47ca23b
KM
180722011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
18073
18074 * allout.el (allout-yank-processing): Adjust cursor position for
18075 backwards-deleted space.
18076
18077 (allout-rebullet-heading): Register changes with
18078 allout-exposure-changed-hook, so the modified topic is properly
18079 decorated.
18080
5cf56143
LMI
180812011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
18082
08549772
LMI
18083 * minibuffer.el (completion-in-region): Document PREDICATE
18084 (bug#7136).
18085
48e96771
LMI
18086 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
18087 of keyword/argument pairs (bug#6904).
18088
c8af70e1
SM
18089 * replace.el (multi-occur):
18090 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 18091
e17d05e2
LMI
180922011-07-02 Drew Adams <drew.adams@oracle.com>
18093
18094 * dired.el (dired-mark-if): Make the message about whether it's
18095 marking or unmarking clearer (bug#8523).
18096
063b0e45
LMI
180972011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
18098
18099 * disp-table.el (display-table-print-array): New function.
18100 (describe-display-table): Use it to print the vectors more pretty
18101 (Bug#8859).
18102
28545e04
MR
181032011-07-02 Martin Rudalics <rudalics@gmx.at>
18104
18105 * window.el (window-state-get-1): Don't assign clone numbers.
18106 Add clone-of item to list of window parameters.
18107 (window-state-put-2): Don't process clone numbers.
18108 (display-buffer-alist): Fix doc-string.
18109
3349e122
SM
181102011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
18111
18112 * subr.el (remq): Don't allocate if it's not needed.
18113 (keymap--menu-item-binding, keymap--menu-item-with-binding)
18114 (keymap--merge-bindings): New functions.
18115 (keymap-canonicalize): Use them to refine the canonicalization.
18116 * minibuffer.el (minibuffer-local-completion-map)
18117 (minibuffer-local-must-match-map): Move initialization from C.
18118 (minibuffer-local-filename-completion-map): Move initialization from C;
18119 don't inherit from anything here.
18120 (minibuffer-local-filename-must-match-map): Make obsolete.
18121 (completing-read-default): Use make-composed-keymap to combine
18122 minibuffer-local-filename-completion-map with either
18123 minibuffer-local-must-match-map or
18124 minibuffer-local-filename-completion-map.
18125
d224ac83
GM
181262011-07-01 Glenn Morris <rgm@gnu.org>
18127
3de63bf8
GM
18128 * type-break.el (type-break-time-sum): Use dolist.
18129
d224ac83
GM
18130 * textmodes/flyspell.el (flyspell-word-search-backward):
18131 Replace CL function.
18132
1a1e3f32
SM
181332011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
18134
fe3f64d5
SM
18135 * mouse.el (mouse--strip-first-event): New function.
18136 (function-key-map): Use it to map fringe clicks to normal clicks
18137 by default.
18138
eb604e34
SM
18139 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
18140 (vc-bzr-revision-completion-table): Add support for annotate and date.
18141
1a1e3f32
SM
18142 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
18143 inherit from parent.
18144
5bd35902
LMI
181452011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
18146
ace6c69c 18147 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 18148 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 18149
191e2bed
LMI
18150 * dired.el (dired-mode): Fix up the doc string as suggested by
18151 Drew Adams (bug#8817).
18152
5bd35902
LMI
18153 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
18154 cookie, since the manual says that it should be possible to add
18155 this function to `find-file-hook' (bug#8709).
18156
eee8207a
TZ
181572011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
18158
18159 * progmodes/cfengine.el: Moved all cfengine3.el functionality
18160 here. Noted Ted Zlatanov as the maintainer.
18161 (cfengine-common-settings, cfengine-common-syntax): New functions
18162 to set up common things between `cfengine-mode' and
18163 `cfengine3-mode'.
18164 (cfengine3-mode): New mode.
18165 (cfengine3-defuns cfengine3-defuns-regex
18166 (cfengine3-class-selector-regex cfengine3-category-regex)
18167 (cfengine3-vartypes cfengine3-font-lock-keywords)
18168 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 18169 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 18170
36b148cf
MA
181712011-07-01 Michael Albinus <michael.albinus@gmx.de>
18172
18173 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
18174
18175 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
18176
0bf4ba9a
MR
181772011-07-01 Martin Rudalics <rudalics@gmx.at>
18178
18179 * window.el (same-window-buffer-names, same-window-regexps)
18180 (same-window-p, special-display-frame-alist)
18181 (special-display-popup-frame, special-display-function)
18182 (special-display-buffer-names, special-display-regexps)
18183 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
18184 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
18185 (split-window-preferred-function, split-height-threshold)
18186 (split-width-threshold, even-window-heights)
18187 (display-buffer-mark-dedicated, window-splittable-p)
18188 (split-window-sensibly, window-safely-shrinkable-p):
18189 Un-obsolete.
18190 (display-buffer): Don't spread args with function specifier
18191 because special-display-popup-frame won't like it.
18192
35837f51
PE
181932011-07-01 Paul Eggert <eggert@cs.ucla.edu>
18194
d0672f86
PE
18195 Time-stamp simplifications and fixes.
18196 These improve accuracy slightly, and future-proof the code
18197 against some potential changes to current-time format.
18198
b9444d97
PE
18199 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
18200 by using time-since and float-time.
18201
0ef923dc
PE
18202 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
18203 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
18204 + NNN microseconds".
18205
2f81380d
PE
18206 * type-break.el (type-break-time-sum): Rewrite using time-add.
18207
845b5c3e
PE
18208 * play/hanoi.el (hanoi-current-time-float): Remove.
18209 All uses replaced by float-time.
18210
ee6f1be0
PE
18211 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
18212 This yields a more-accurate answer.
18213 (rng-time-to-float): Remove; no longer needed.
18214
fe955043
PE
18215 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
18216
5777162a
PE
18217 * calendar/timeclock.el (timeclock-seconds-to-time):
18218 Defalias to seconds-to-time, since they're the same thing.
18219
3103f8b6 18220 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 18221 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
18222 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
18223
0e61a35f
SM
182242011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
18225
18226 * window.el (bury-buffer): Don't iconify the only frame.
18227 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
18228 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
18229
ddd63a1e
CY
182302011-07-01 Chong Yidong <cyd@stupidchicken.com>
18231
0e61a35f
SM
18232 * eshell/em-smart.el (eshell-smart-display-navigate-list):
18233 Add mouse-yank-primary.
ddd63a1e 18234
055f4923
TZ
182352011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
18236
18237 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
18238
6a2fb145
SM
182392011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
18240
18241 * emacs-lisp/find-func.el (find-library--load-name): New fun.
18242 (find-library-name): Use it to find relative load names when provided
18243 absolute file name (bug#8803).
18244
fd4983f2
LMI
182452011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
18246
887d14ad
LMI
18247 * textmodes/flyspell.el (flyspell-word): Consider words that
18248 differ only in case as potential doublons (bug#5687).
18249
c53dc7fc
LMI
18250 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
18251 Remove two rather uninteresting debugging-like messages to make
18252 debbugs.el more silent.
18253
fd4983f2
LMI
18254 * comint.el (comint-password-prompt-regexp): Accept "Response" as
18255 a password-like phrase.
18256
7a71b18d 182572011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
18258
18259 * progmodes/cc-guess.el: New file.
18260
6a2fb145 18261 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
18262
18263 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
18264 derived from `c-basic-common-init'.
18265
18266 * progmodes/cc-mode.el (top-level): Require cc-guess.
18267 (c-basic-common-init): Use `cc-choose-style-for-mode'.
18268
1fa280a3
LM
182692011-06-30 Lawrence Mitchell <wence@gmx.li>
18270
18271 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
18272
e6597158
AM
182732011-06-30 Alan Mackenzie <acm@muc.de>
18274
1fa280a3
LM
18275 * progmodes/cc-engine.el (c-guess-continued-construct):
18276 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
18277 lock is disabled. Name this case as "CASE G".
18278
68ba37fb
KM
182792011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
18280
18281 * allout.el (allout-yank-processing): Fix injection of extra space
18282 between bullet and non-whitespace character in first topic when
18283 pasting, ensuring that the actual spacing in the pasted topic
18284 following the bullet char is preserved. This extra space was
18285 causing pasted encrypted topics to get a decrypted status even
18286 when the content was actually still encrypted. Now the decryption
18287 status from before the paste is preserved.
18288
18289 (allout-flag-region): Set all allout overlays so they evaporate
18290 when reduced to zero length (evanescent), to prevent overlay
18291 leakage.
18292
887a0b34
GM
182932011-06-30 Glenn Morris <rgm@gnu.org>
18294
94b9acce
GM
18295 * w32-fns.el (w32-charset-info-alist): Declare.
18296
1d9b46d4
GM
18297 * find-dired.el (find-grep-options): Simplify.
18298
cc232200
GM
18299 * term/ns-win.el (ns-set-resource): Declare.
18300
28e77c46
GM
18301 * ses.el (row, col): Declare dynamic variables honestly.
18302
887a0b34
GM
18303 * textmodes/reftex-parse.el (index-tags): Declare.
18304
658d8eb8
CY
183052011-06-30 Chong Yidong <cyd@stupidchicken.com>
18306
18307 * cus-edit.el (customize-push-and-save): New function.
18308
18309 * files.el (hack-local-variables-confirm): Use it.
18310
1fa280a3
LM
18311 * custom.el (load-theme): New arg NO-CONFIRM.
18312 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
18313 (custom-enabled-themes): Doc fix.
18314
18315 * cus-theme.el (customize-create-theme)
18316 (custom-theme-merge-theme): Callers to load-theme changed.
18317
bb617717
LMI
183182011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
18319
d61bdd5d
LMI
18320 * thingatpt.el (thing-at-point-short-url-regexp): Require that
18321 short URLs have at least one dot in them (bug #7614).
18322
bb617717
LMI
18323 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
18324 nil, because using a pty is apparently too slow (bug #895).
18325
2f31f37a
LMI
183262011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
18327
18328 * mail/sendmail.el (sendmail-query-once): New function.
18329 (sendmail-query-once-function): New variable.
18330
3076b24e
GM
183312011-06-29 Glenn Morris <rgm@gnu.org>
18332
faf2a174
GM
18333 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
18334
3076b24e
GM
18335 * ses.el (top-level): Require cl when compiling.
18336 (ses-set-localvars): Fix error statement.
18337 Call it at compile time to silence a storm of warnings.
18338
5386012d
MR
183392011-06-29 Martin Rudalics <rudalics@gmx.at>
18340
18341 * window.el (normalize-live-buffer): Rename to
18342 window-normalize-buffer.
18343 (normalize-live-frame): Rename to window-normalize-frame.
18344 (normalize-any-window): Rename to window-normalize-any-window.
18345 (normalize-live-window): Rename to window-normalize-live-window.
18346 (make-window-atom): Rename to window-make-atom.
18347 (window-resize-reset): Rename to window--resize-reset.
18348 (window-resize-reset-1): Rename to window--resize-reset-1.
18349 (resize-mini-window): Rename to window--resize-mini-window.
18350 (resize-subwindows-skip-p): Rename to
18351 window--resize-subwindows-skip-p.
18352 (resize-subwindows-normal): Rename to
18353 window--resize-subwindows-normal.
18354 (resize-subwindows): Rename to window--resize-subwindows.
18355 (resize-other-windows): Rename to window--resize-siblings.
18356 (resize-this-window): Rename to window--resize-this-window.
18357 (resize-root-window): Rename to window--resize-root-window.
18358 (resize-root-window-vertically): Rename to
18359 window--resize-root-window-vertically.
18360 (normalize-buffer-to-display): Rename to
18361 window-normalize-buffer-to-display.
18362 (normalize-buffer-to-switch-to): Rename to
18363 window-normalize-buffer-to-switch-to.
18364 Correspondingly update all callers of the functions listed
18365 above.
18366 (display-buffer-alist, display-buffer-normalize-arguments)
18367 (display-buffer-normalize-options, display-buffer)
18368 (display-buffer-alist-set): Use "function" instead of
18369 "fun-with-args".
18370
1176868d
CY
183712011-06-28 Chong Yidong <cyd@stupidchicken.com>
18372
18373 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
18374 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
18375 debbugs.gnu.org. Mention acknowledgment email.
18376
20a7a65f
LMI
183772011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
18378
18379 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
18380 buffer multibyteness, since it shouldn't matter.
18381
5f45cca5
MR
183822011-06-28 Martin Rudalics <rudalics@gmx.at>
18383
18384 * window.el (display-buffer-in-side-window): Handle dedicated
18385 windows as in display-buffer-reuse-window.
18386 (display-buffer-normalize-alist): Use value of override
18387 specifier.
18388 (display-buffer-normalize-specifiers): Use value of
18389 other-window-means-other-frame specifier.
18390 (display-buffer-alist): Rewrite some texts in widgets.
18391 (display-buffer): Spread arguments when calling function
18392 specified by fun-with-args.
18393
ad85fe1f
DD
183942011-06-28 Deniz Dogan <deniz@dogan.se>
18395
1fa280a3
LM
18396 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
18397 Unnest `let'.
da68c4c8 18398
ad85fe1f
DD
18399 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
18400 selectors (Bug#5732).
ec49bd31 18401 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 18402
a08cc025
JA
184032011-06-27 Jari Aalto <jari.aalto@cante.net>
18404
18405 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
18406 (eshell-ls-date-format): New defcustom.
18407 (eshell-ls-file): Use it.
18408
e2b551c5
SM
184092011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
18410
18411 * help-fns.el (describe-variable): Fix message for terminal-local vars.
18412
8982b231
KY
184132011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
18414
18415 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
18416 (ange-ftp-make-tmp-name): New arg.
18417 (ange-ftp-file-local-copy): Use it.
18418
36c9fa27
J
184192011-06-27 Jambunathan K <kjambunathan@gmail.com>
18420
18421 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
18422 no-conversion (Bug#8870).
18423
d68443dc
MR
184242011-06-27 Martin Rudalics <rudalics@gmx.at>
18425
18426 * window.el (window-right, window-left, window-child)
18427 (window-child-count, window-last-child)
18428 (window-iso-combination-p, walk-window-tree-1)
18429 (window-atom-check-1, window-tree-1, delete-window)
18430 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
18431 new naming conventions - window-vchild, window-hchild,
18432 window-next and window-prev are now called window-top-child,
18433 window-left-child, window-next-sibling and window-prev-sibling
18434 respectively.
d615d6d2
MR
18435 (resize-window-reset): Rename to window-resize-reset.
18436 (resize-window-reset-1): Rename to window-resize-reset-1.
18437 (resize-window): Rename to window-resize.
18438 (window-min-height, window-min-width)
18439 (resize-mini-window, resize-this-window, resize-root-window)
18440 (resize-root-window-vertically, adjust-window-trailing-edge)
18441 (enlarge-window, shrink-window, maximize-window)
18442 (minimize-window, delete-window, quit-restore-window)
18443 (split-window, balance-windows, balance-windows-area-adjust)
18444 (balance-windows-area, window-state-put-2)
18445 (display-buffer-even-window-sizes, display-buffer-set-height)
18446 (display-buffer-set-width, set-window-text-height)
18447 (fit-window-to-buffer): Rename all "resize-window" prefixed
18448 calls to use the "window-resize" prefix convention.
18449 (display-buffer-alist): Fix symbol for label specifier.
18450 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
18451 corresponding specifier.
18452 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 18453
b6458526
VB
184542011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
18455
18456 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
18457 convention.
18458 (ses-call-printer): Does not pass an empty string to formatter when the
18459 cell is empty to keep from barking printer Calc math-format-value.
18460
d31fd9ac
RS
184612011-06-27 Richard Stallman <rms@gnu.org>
18462
43d5bf84
RS
18463 * battery.el (battery-mode-line-limit): New variable.
18464 (battery-update): Handle it.
18465
d31fd9ac
RS
18466 * mail/rmailmm.el (rmail-mime-process-multipart):
18467 Handle truncated messages.
18468
819a6054
GM
184692011-06-27 Glenn Morris <rgm@gnu.org>
18470
18471 * progmodes/flymake.el (flymake-err-line-patterns):
18472 Allow for column numbers in the ant/javac pattern. (Bug#8866)
18473
cedc73f2
VB
184742011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
18475
819a6054 18476 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
18477 (ses--clean-!, ses--clean-_): New functions.
18478 (ses-range): Add configurability of readout order, and conversion
18479 to Calc vector.
18480
5e5d49b6
VB
18481 * ses.el (ses-repair-cell-reference-all): New function.
18482 (ses-cell-symbol): Set macro as safe, so that it can be used in
18483 formulas.
18484
56e6cc31 18485 * ses.el: Update cycle detection algorithm.
90ca8b49 18486 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 18487 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
18488 (ses-set-localvars): New function.
18489 (ses-make-cell): Add property-list as a cell element.
18490 (ses-cell-property-get-fun, ses-cell-property-get)
18491 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
18492 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
18493 New functions.
90ca8b49
VB
18494 (ses-cell-property-set, ses-cell-property-pop)
18495 (ses-cell-property-get-handle): New macro.
18496 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
18497 New aliases, used for code readability.
18498 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
18499 cycle detection.
18500 (ses-self-reference-early-detection): New defcustom.
fac916bf 18501 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
18502 (ses-mode): Use ses-set-localvars.
18503 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
18504 before lauching the update processing.
18505 (ses-initialize-Dijkstra-attempt): New function.
18506 (ses-recalculate-cell): Update for cycle detection based on
18507 Dijkstra algorithm.
18508
2bb63e81
VB
18509 * ses.el: Fix commenting and indenting convention.
18510
c9d29fb8
SM
185112011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
18512
18513 * bs.el (bs-cycle-next): Complete last change.
18514
d8e4b68b
JB
185152011-06-27 Drew Adams <drew.adams@oracle.com>
18516
18517 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
18518
40098786
LMI
185192011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
18520
c9d29fb8
SM
18521 * net/network-stream.el (network-stream-open-starttls):
18522 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
18523 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
18524
40098786
LMI
18525 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
18526 to binary to possibly avoid line encoding issues on Windows (among
18527 other things).
18528
468d09d4
LMI
185292011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
18530
18531 * net/network-stream.el (open-network-stream): Return an :error
18532 saying what the problem was, if possible.
18533
18534 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
18535 server.
18536
18537 * net/network-stream.el (network-stream-open-starttls): If we
18538 wanted to use STARTTLS, and the server offered it, but we weren't
18539 able to because we had no STARTTLS support, then close the connection.
18540 (open-network-stream): Return an :error element, if present.
18541
16f07dd7
CY
185422011-06-26 Chong Yidong <cyd@stupidchicken.com>
18543
88821ca0
CY
18544 * hl-line.el (hl-line-sticky-flag): Doc fix.
18545 (global-hl-line-sticky-flag): New option (Bug#8323).
18546 (global-hl-line-highlight): Obey it.
18547
16f07dd7
CY
18548 * vc/vc.el (vc-revert-show-diff): Default to t.
18549
6b5ccddf
KM
185502011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
18551
c9d29fb8
SM
18552 * allout-widgets.el (allout-widgets-post-command-business):
18553 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
18554 undecorated when an isearch is continued past, and isearch
18555 automatically collapses them. This leads to "widget leaks", where
18556 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
18557 hidden widgets can slow down cursor travel, substantially.
18558 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
18559 so we're doing without this nicety.
18560
18561 (allout-widgets-tally-string): Don't try to do a hash-table-count
18562 of allout-widgets-tally when it's nil. This eliminates spurious "Error
18563 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
18564 *Messages* when allout-widgets-maintain-tally is t.
18565
355f2e07
MR
185662011-06-26 Martin Rudalics <rudalics@gmx.at>
18567
18568 * window.el (display-buffer-normalize-argument): Rename to
18569 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
18570 LABEL argument. Respect special-display-function when popping up
18571 a new frame. Fix code searching for a window showing the buffer
18572 on another frame.
c9d29fb8
SM
18573 (display-buffer-normalize-specifiers):
18574 Call display-buffer-normalize-arguments.
355f2e07
MR
18575 (display-buffer-in-window): Don't undedicate the window if its
18576 buffer remains the same.
18577 Reported by Drew Adams <drew.adams@oracle.com>.
18578 (display-buffer-alist): Add choice for same-window macro
18579 specfier.
18580 (display-buffer): Mention special meaning of LABEL argument in
18581 doc-string. Fix quoting. Don't pop up a new frame even as
18582 fallback.
18583
7ca8fc42
JB
185842011-06-26 Juanma Barranquero <lekktu@gmail.com>
18585
18586 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
18587 avoid deleting the current window in some cases (bug#8911).
18588
bc312254
AS
185892011-06-26 Andreas Schwab <schwab@linux-m68k.org>
18590
18591 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
18592 (Bug#8934)
18593
2db18f3f
LMI
185942011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
18595
c9d29fb8
SM
18596 * net/network-stream.el (network-stream-open-starttls):
18597 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
18598 (network-stream-open-tls): Ditto.
18599
6302e0d3
LL
186002011-06-26 Leo Liu <sdl.web@gmail.com>
18601
18602 * register.el (registerv): New struct.
18603 (registerv-make): New function.
c9d29fb8
SM
18604 (jump-to-register, describe-register-1, insert-register):
18605 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
18606 struct. (Bug#8415)
18607
5fdd4046
CY
186082011-06-26 Chong Yidong <cyd@stupidchicken.com>
18609
2afef60a
CY
18610 * vc/vc.el (vc-revert-show-diff): New defcustom.
18611 (vc-diff-internal): New arg specifying diff buffer.
18612 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
18613 reuse an existing *vc-diff* buffer (Bug#8927).
18614
5fdd4046
CY
18615 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
18616
e93db24a
GM
186172011-06-26 Glenn Morris <rgm@gnu.org>
18618
18619 * progmodes/f90.el (f90-critical-indent): New option.
18620 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
18621 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
18622 (f90-mode): Doc fix.
18623 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
18624 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
18625 (f90-beginning-of-block, f90-next-block, f90-indent-region)
18626 (f90-match-end): Handle block, critical.
18627
eefff499
GM
186282011-06-25 Glenn Morris <rgm@gnu.org>
18629
f6ba4cc9
GM
18630 * calendar/diary-lib.el (diary-included-files): Doc fix.
18631 (diary-include-files): New function, extracted from
18632 diary-include-other-diary-files and diary-mark-included-diary-files.
18633 (diary-include-other-diary-files, diary-mark-included-diary-files):
18634 Just call diary-include-files.
18635 (diary-mark-entries): Reset diary-included-files on first call.
18636
16712304
GM
18637 * calendar/diary-lib.el (diary-mark-entries)
18638 (diary-mark-included-diary-files):
18639 Visit included diary-files in temp buffers.
18640
5d8e0d43
GM
18641 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
18642 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
18643 (f90-start-block-re, f90-imenu-generic-expression)
18644 (f90-looking-at-program-block-start, f90-no-block-limit):
18645 Add support for submodules.
18646
ccf7a5d5
GM
18647 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
18648 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 18649
11fdef7d 186502011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
18651
18652 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
18653 buffer-file-type before setting its value, to avoid disastrous
eefff499 18654 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 18655
74f53697
JB
186562011-06-25 Juanma Barranquero <lekktu@gmail.com>
18657
18658 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
18659
18660 * ses.el (ses-unload-function):
18661 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
18662
18663 * proced.el (proced-unload-function):
18664 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
18665
18a4ce5e
AR
186662011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
18667
18668 * server.el (server-create-window-system-frame): Add parameters arg.
18669 (server-process-filter): Doc fix. Handle frame-parameters.
18670
519d22cc
JB
186712011-06-25 Juanma Barranquero <lekktu@gmail.com>
18672
18673 Fix bug#8730, bug#8781.
18674
18675 * loadhist.el (unload--set-major-mode): New function.
18676 (unload-feature): Use it.
18677
18678 * progmodes/python.el (python-after-info-look): Add autoload cookie.
18679 (python-unload-function): New function.
18680
c206f5b0
SM
186812011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
18682
18683 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
18684
f9ad64f3
GS
186852011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
18686
18687 * net/browse-url.el (browse-url-firefox-program): Add icecat to
18688 the candidates list.
18689
7d0da90e
JB
186902011-06-24 Juanma Barranquero <lekktu@gmail.com>
18691
18692 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
18693
14b4e83d
RS
186942011-06-23 Richard Stallman <rms@gnu.org>
18695
18696 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
18697 (rmail-variables): Set next-error-move-function.
18698 (rmail-what-message): Take argument POS.
18699 (rmail-next-error-move): New function.
18700
273d2baf
SM
187012011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
18702
18703 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
18704 messages for adjacent non-terminals.
18705
56c2cc9a
RS
187062011-06-23 Richard Stallman <rms@gnu.org>
18707
18708 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 18709 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
18710 (rmail-start-mail): Don't specify use of rmail-mail-return;
18711 that's done by mail-bury now.
18712 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 18713
d59eb518
MA
187142011-06-23 Michael Albinus <michael.albinus@gmx.de>
18715
18716 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
18717 SIZE is a number.
18718
02cfc6d6
MR
187192011-06-23 Martin Rudalics <rudalics@gmx.at>
18720
18721 * window.el (get-lru-window, get-mru-window)
18722 (get-largest-window): Never return a minibuffer window.
18723 (display-buffer-pop-up-window): Fix a bug that could lead to
18724 reusing the minibuffer window.
18725 (display-buffer): Pass original specifier argument to
18726 display-buffer-function instead of the normalized one.
18727 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
18728
4e323265
LL
187292011-06-22 Leo Liu <sdl.web@gmail.com>
18730
18731 * minibuffer.el (completing-read-function)
1f9f395d 18732 (completing-read-default): Move from minibuf.c.
4e323265 18733
7a70468f
RS
187342011-06-22 Richard Stallman <rms@gnu.org>
18735
50718fc2
RS
18736 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
18737 to Rmail even if not started by a special Rmail command.
18738
7a70468f
RS
18739 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
18740 Copy the buffer currently showing just one message.
18741
297dde5a
RW
187422011-06-22 Roland Winkler <winkler@gnu.org>
18743
18744 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
18745 (bibtex-clean-entry): First delete the old key so that a
18746 customized algorithm for generating the new key does not get
18747 confused by the old key.
18748 (bibtex-url): Obey regexp of first step.
18749 (bibtex-search-entries): Do not use add-to-list with local
18750 list-var.
18751
97bb1093
LMI
187522011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
18753
18754 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
18755 stored a user name, then query for the password first, instead of
18756 waiting for SMTP to give an error message and the trying again.
18757
1c0f1a19
JD
187582011-06-22 Lawrence Mitchell <wence@gmx.li>
18759
18760 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
18761 BUFFER in call-process.
18762
396f7c9d
LMI
187632011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
18764
18765 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
18766 QUIT twice.
ddb7ffee
LMI
18767 (smtpmail-try-auth-methods): Require user name and password from
18768 auth-source.
396f7c9d 18769
8998d1b3
MR
187702011-06-22 Martin Rudalics <rudalics@gmx.at>
18771
18772 * window.el (display-buffer-default-specifiers)
18773 (display-buffer-alist): Remove entries for pop-up-frame-alist.
18774 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 18775 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
18776
18777 * frame.el (pop-up-frame-alist, pop-up-frame-function)
18778 (special-display-frame-alist, special-display-popup-frame):
18779 Remove duplicate declarations. These are now in window.el.
18780
4ea31e07
LMI
187812011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
18782
c9d29fb8
SM
18783 * mail/smtpmail.el (smtpmail-via-smtp):
18784 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
18785 server supports it. SMTP servers that support STARTTLS commonly
18786 require it.
18787
18788 * net/network-stream.el (network-stream-open-starttls): Support
18789 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 18790 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 18791
95f41d9a
LMI
18792 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
18793 upgrades with `open-network-stream', and rely solely on
18794 auth-source for all credentials. Big changes throughout the file,
18795 but in particular:
c9d29fb8
SM
18796 (smtpmail-auth-credentials): Remove.
18797 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
18798 (smtpmail-via-smtp): Check for servers saying they want AUTH after
18799 MAIL FROM, too.
95f41d9a 18800
c9d29fb8
SM
18801 * net/network-stream.el (network-stream-open-starttls):
18802 Provide support for client certificates both for external and built-in
4ea31e07
LMI
18803 STARTTLS.
18804 (auth-source): Require.
18805 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
18806 (network-stream-certificate): Change cert-cert to cert and
18807 cert-key to key.
4ea31e07 18808
065ec2c7
MA
188092011-06-21 Michael Albinus <michael.albinus@gmx.de>
18810
18811 * net/tramp-cache.el (top): Don't load the persistency file when
18812 "emacs -Q" has been called.
18813
cd93b359
DR
188142011-06-21 Tim Harper <timcharper@gmail.com>
18815
d8e4b68b
JB
18816 * term/ns-win.el (ns-initialize-window-system):
18817 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
18818 resource to NO as it is not yet supported by the NS port.
18819
ae9c0411
JB
188202011-06-21 Juanma Barranquero <lekktu@gmail.com>
18821
18822 * misc.el (list-dynamic-libraries--refresh): Compute header here...
18823 (list-dynamic-libraries): ...not here.
18824
7f3f739f
LL
188252011-06-21 Leo Liu <sdl.web@gmail.com>
18826
18827 * subr.el (sha1): Implement sha1 using secure-hash.
18828
327c8fb1
MR
188292011-06-21 Martin Rudalics <rudalics@gmx.at>
18830
18831 * window.el (display-buffer-alist): In default value do not
18832 enforce searching a window on any but the selected frame.
18833 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
18834 (display-buffer-select-window): Remove function.
18835 (display-buffer-in-window): When a window on another frame gets
18836 reused, do not select it any more but just raise its frame if
18837 necessary (Bug#8851) and (Bug#8856).
18838 (display-buffer-normalize-options): Handle pop-up-frames related
18839 options more faithfully.
18840 (pop-to-buffer): Don't rely on `display-buffer' selecting the
18841 window if it is on another frame.
c9d29fb8
SM
18842 (display-buffer-alist, display-buffer-default-specifiers):
18843 Don't make new frame unsplittable by default.
9e9de014
MR
18844 (display-buffer-normalize-argument): Fix doc-string typo and use
18845 'same-frame-other-window instead of 'other-window when associating
18846 with display-buffer-macro-specifiers.
327c8fb1 18847
7cf3f556
VB
188482011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
18849
18850 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
18851 New functions.
18852 (5x5-mode-map, 5x5-mode-menu): Bind them.
18853 (5x5-draw-grid): Tweak the solver's rendering.
18854
60a406cf
SM
188552011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
18856
18857 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
18858 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
18859
d8e4b68b 188602011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
18861
18862 * menu-bar.el: Use function variable instead of switch-to-buffer.
18863 (menu-bar-select-buffer-function): New variable.
60a406cf 18864 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 18865
478d6f95
SM
188662011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
18867
18868 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
18869 variable's status.
18870
ca530739
JD
188712011-06-20 Jan Djärv <jan.h.d@swipnet.se>
18872
18873 * x-dnd.el (x-dnd-version-from-flags)
18874 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
18875 and long as number (Bug#8899).
18876 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
18877
bcd70d97
SM
188782011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
18879
60a406cf 18880 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
18881 (completion-try-completion, completion-all-completions): Compute the
18882 metadata argument if it's missing; make it optional (bug#8795).
18883
60a406cf 18884 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
18885 (widget-complete): Use new :completion-function property.
18886 (widget-completions-at-point): New function.
18887 (default): Use :completion-function instead of :complete.
60a406cf
SM
18888 (widget-default-completions): Rename from widget-default-complete;
18889 Rewrite.
bcd70d97
SM
18890 (widget-string-complete, widget-file-complete, widget-color-complete):
18891 Remove functions.
18892 (file, symbol, function, variable, coding-system, color):
18893 * international/mule-cmds.el (default-input-method, charset)
18894 (language-info-custom-alist):
18895 * cus-edit.el (face): Use new property :completions.
18896
18897 * progmodes/pascal.el (pascal-completions-at-point): New function.
18898 (pascal-mode): Use it.
18899 (pascal-mode-map): Use completion-at-point.
18900 (pascal-toggle-completions): Make obsolete.
18901 (pascal-complete-word, pascal-show-completions):
18902 * progmodes/octave-mod.el (octave-complete-symbol):
18903 Redefine as obsolete alias.
18904 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
18905 Signal absence of completion info for old Octave,
18906 (inferior-octave-complete): Redefine as obsolete alias.
18907 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
18908 (meta-completions-at-point): Rename from meta-complete-symbol and
18909 adapt it for use on completion-at-point-functions.
18910 (meta-common-mode): Use it.
18911 (meta-looking-at-backward, meta-match-buffer): Remove.
18912 (meta-complete-symbol): Redefine as obsolete alias.
18913 (meta-common-mode-map): Use completion-at-point.
18914 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
18915 (makefile-mode-map): Use completion-at-point.
18916 (makefile-completions-at-point): Rename from makefile-complete and
18917 adapt it for use on completion-at-point-functions.
18918 (makefile-mode): Use it.
18919 (makefile-complete): Redefine as obsolete alias.
18920
aebf69c8
DD
189212011-06-20 Deniz Dogan <deniz@dogan.se>
18922
18923 * net/rcirc.el: Delete trailing whitespaces once and for all.
18924
bfbbb27d
DC
189252011-06-20 Daniel Colascione <dan.colascione@gmail.com>
18926
18927 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
18928
d264a46b
CY
189292011-06-19 Chong Yidong <cyd@stupidchicken.com>
18930
4ca009e5
CY
18931 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
18932
d264a46b
CY
18933 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
18934
fbf5b3ce
MR
189352011-06-19 Martin Rudalics <rudalics@gmx.at>
18936
18937 * window.el (display-buffer-other-window-means-other-frame):
18938 Call display-buffer-normalize-alist.
18939 (display-buffer-normalize-specifiers-1): Rename to
18940 display-buffer-normalize-argument. New argument other-frame.
18941 Rewrite.
18942 (display-buffer-normalize-specifiers-2): Rename to
18943 display-buffer-normalize-options.
18944 (display-buffer-normalize-alist-1): New function.
18945 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
18946 display-buffer-normalize-alist.
18947 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
18948 (display-buffer-normalize-options-inhibit): New variable.
18949 (display-buffer-normalize-specifiers): Rewrite calling
18950 display-buffer-normalize-alist,
18951 display-buffer-normalize-argument, and
18952 display-buffer-normalize-options. Don't call the latter if
18953 display-buffer-normalize-options-inhibit is non-nil.
18954 (frame-auto-delete): New option.
18955 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
18956 (window-list-no-nils, window-state-ignored-parameters)
18957 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
18958 (window-state-put-1, window-state-put-2, window-state-put):
18959 New functions.
9a028c23
MR
18960 (display-buffer-normalize-options): Move special-display-p group
18961 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 18962
6d10d800
CY
189632011-06-18 Chong Yidong <cyd@stupidchicken.com>
18964
6420d28b
CY
18965 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
18966 groups (Bug#8776).
18967 (rx-submatch-n): New function.
18968 (rx): Document it.
18969
ddb8b596
CY
18970 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
18971 (Bug#8768).
18972
18973 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
18974
77080289
CY
18975 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
18976
61dfb316
CY
18977 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
18978 anytime existing face settings are present (Bug#8889).
18979
6d10d800
CY
18980 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
18981 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
18982 Remove unused argument.
18983
be3fb2b8
MR
189842011-06-18 Martin Rudalics <rudalics@gmx.at>
18985
bcd70d97
SM
18986 * window.el (display-buffer-default-specifiers):
18987 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
18988 pop-up-window-min-width, and another reuse-window specifier
18989 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
18990 (display-buffer-normalize-specifiers-2):
18991 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
18992 pop-up-windows is unset. Add a reuse-window specifier for the
18993 case popping up a new window fails.
18994 (special-display-popup-frame): Remove double quoting.
28dec25a 18995 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 18996
1c6d8c76
SM
189972011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
18998
18999 * shell.el (shell-completion-vars): Set pcomplete-termination-string
19000 according to comint-completion-addsuffix.
19001
19002 * pcomplete.el: Convert to lexical binding and fix bug#8819.
19003 (pcomplete-suffix-list): Mark as obsolete.
19004 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
19005 pcomplete-seen in the closure.
19006 (pcomplete-comint-setup): Setup completion-at-point as well.
19007 (pcomplete--entries): New function.
19008 (pcomplete--env-regexp): New var.
19009 (pcomplete-entries): Rewrite to work with partial-completion and
19010 without relying on pcomplete-suffix-list.
19011 (pcomplete-pare-list): Remove, unused.
19012
25aef8b8
MR
190132011-06-17 Martin Rudalics <rudalics@gmx.at>
19014
19015 * window.el (display-buffer-alist): Set pop-up-window-min-height
19016 and pop-up-window-min-width in default value. Reported by
19017 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
19018 other-window-means-other-frame.
19019 (display-buffer-macro-specifiers): Comment out entry for
19020 other-window specifier.
19021 (display-buffer-other-window-means-other-frame): New function.
19022 (display-buffer-normalize-specifiers-1): New arguments
19023 buffer-name and label. Treat other-window case specially.
19024 (display-buffer-normalize-specifiers-2): Treat other-window case
19025 specially.
19026 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
19027 (display-buffer-normalize-specifiers):
19028 Call display-buffer-normalize-specifiers-3.
25aef8b8 19029
dbad4f69
MR
190302011-06-17 Martin Rudalics <rudalics@gmx.at>
19031
19032 * window.el (same-window-p): Fix two typos introduced when
19033 adding with-no-warnings.
d1067961
MR
19034 (display-buffer-normalize-specifiers-1): Don't check
19035 pop-up-frames for 'unset initialization.
19036 (display-buffer-normalize-specifiers-2): Major rewrite using
19037 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
19038 (pop-up-frames, display-buffer-reuse-frames)
19039 (display-buffer-mark-dedicated): Don't initialize to 'unset.
19040 Suggested by David Engster <deng@randomsample.de>.
19041 (even-window-heights): Initialize to 'unset.
19042 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
19043 (display-buffer-macro-specifiers): Don't pop up a new frame in the
19044 other window case.
dbad4f69 19045
9b9c9e3a
MR
190462011-06-16 Martin Rudalics <rudalics@gmx.at>
19047
bcd70d97
SM
19048 * window.el (display-buffer-normalize-specifiers-1):
19049 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 19050 second argument of display-buffer (Bug#8865).
981d5c09
MR
19051 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
19052 (switch-to-buffer-other-window-same-frame)
19053 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
19054 Adams (Bug#8875).
9c2755e9
MR
19055 (display-buffer): Don't check noninteractive when calling
19056 display-buffer-pop-up-frame.
19057 (display-buffer-pop-up-frame): Never pop up a frame in
19058 noninteractive mode (Bug#8857).
67222e1d
MR
19059 (enlarge-window, shrink-window): Don't report an error when the
19060 window can't be resized as requested (Bug#8862).
9b9c9e3a 19061
2b75be67
SM
190622011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
19063
9ffdd3ba
SM
19064 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
19065
cb581a67
SM
19066 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
19067
2b75be67
SM
19068 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
19069
8c0e3589
AM
190702011-06-15 Alan Mackenzie <acm@muc.de>
19071
cb581a67
SM
19072 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
19073 for declarators, disable knr checking to speed up for normal files.
19074 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 19075
b96e6cde
LMI
190762011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
19077
4bba86e6
LMI
19078 * net/network-stream.el (open-network-stream): Add the keyword
19079 :always-query-capabilities for the case where you want to force a
19080 `plain' network connection, but the protocol still requires the
19081 capabilitiy command (i.e., SMTP and EHLO).
19082
2b75be67 19083 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
19084 consistency with other `-live-p' functions.
19085
efdcdbf8
SM
190862011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
19087
19088 * window.el (same-window-buffer-names, same-window-regexps)
19089 (special-display-frame-alist, special-display-popup-frame)
19090 (special-display-function, special-display-buffer-names)
19091 (special-display-regexps, pop-up-frame-alist)
19092 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
19093 (pop-up-windows, split-window-preferred-function)
19094 (split-height-threshold, split-width-threshold, even-window-heights)
19095 (display-buffer-mark-dedicated): Don't encourage the use of
19096 display-buffer-alist from Elisp code.
19097
c5cde042
DN
190982011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
19099
19100 * progmodes/python.el (python-mode): Derive from prog-mode.
19101 * progmodes/ps-mode.el (ps-mode):
19102 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 19103 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
19104 * progmodes/ld-script.el (ld-script-mode): Likewise.
19105
baa1c9ab
MR
191062011-06-15 Martin Rudalics <rudalics@gmx.at>
19107
19108 * window.el (display-buffer-alist): Trim default value to avoid
19109 popping up a new frame (Bug#8857) or reusing an arbitrary window
19110 on another frame.
19111 (display-buffer): Do not fall back on popping up a new frame in
19112 batch mode (Bug#8857).
19113
c5dd5a51
CY
191142011-06-14 Chong Yidong <cyd@stupidchicken.com>
19115
19116 * cus-theme.el (describe-theme-1): Use custom-theme-p.
19117 (custom-theme-summary): New function.
19118 (customize-themes): Use it.
19119
d647b7c4
GM
191202011-06-13 Glenn Morris <rgm@gnu.org>
19121
19122 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
19123
9481c002
MR
191242011-06-13 Martin Rudalics <rudalics@gmx.at>
19125
357f93d2
MR
19126 * help.el (help-window): Remove variable.
19127 (help-window-point-marker, temp-buffer-max-height)
19128 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
19129 (help-print-return-message): Don't set help-window.
19130 (resize-temp-buffer-window): Rewrite cod eand doc-string.
19131 (help-window-setup-finish): Remove.
19132 (help-window-display-message, help-window-setup)
19133 (with-help-window): Major rewrite based on new
19134 display-buffer-window variable.
19135
19136 * help-mode.el (help-mode-finish): Remove help-window related
19137 code.
19138
19139 * view.el (view-exits-all-viewing-windows): Remove reference to
19140 view-return-to-alist in doc-string.
19141 (view-return-to-alist): Make obsolete.
19142 (view-buffer): Call pop-to-buffer-same-window and remove
19143 undo-window code.
19144 (view-buffer-other-window): Call pop-to-buffer-other-window and
19145 simplify code. Ignore second argument.
19146 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
19147 simplify code. Ignore second argument.
19148 (view-return-to-alist-update): Make obsolete.
19149 (view-mode-enter): Rename second argument to QUIT-RESTORE.
19150 Rewrite using quit-restore window parameters.
2b75be67
SM
19151 (view-mode-exit): Rename second argument to EXIT-ONLY.
19152 Rewrite using quit-restore-window.
357f93d2
MR
19153 (View-exit, View-exit-and-edit, View-leave, View-quit)
19154 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
19155 appropriate arguments.
19156 (view-end-message): Use quit-restore window parameter.
19157
9481c002
MR
19158 * window.el (display-buffer-function): Rewrite doc-string.
19159 (display-buffer-window, display-buffer-alist): New variables.
19160 (display-buffer-split-specifiers)
19161 (display-buffer-side-specifiers)
19162 (display-buffer-macro-specifiers): New constants.
19163 (display-buffer-even-window-sizes, display-buffer-set-height)
19164 (display-buffer-set-width, display-buffer-select-window)
19165 (display-buffer-in-window, display-buffer-reuse-window)
19166 (display-buffer-split-window-1, display-buffer-split-window)
19167 (display-buffer-split-atom-window, display-buffer-pop-up-window)
19168 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
19169 (display-buffer-in-side-window, normalize-buffer-to-display)
19170 (display-buffer-normalize-specifiers-1)
19171 (display-buffer-normalize-specifiers-2)
2b75be67
SM
19172 (display-buffer-normalize-specifiers, display-buffer-frame):
19173 New functions.
9481c002
MR
19174 (display-buffer): Major rewrite.
19175 (display-buffer-other-window, display-buffer-other-frame)
19176 (pop-to-buffer, switch-to-buffer-other-window)
19177 (switch-to-buffer-other-frame): Rewrite.
19178 (display-buffer-same-window, display-buffer-same-frame)
19179 (display-buffer-same-frame-other-window)
19180 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
19181 (pop-to-buffer-other-window)
19182 (pop-to-buffer-same-frame-other-window)
19183 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
19184 (switch-to-buffer-other-window-same-frame): New functions.
19185 (same-window-p, special-display-p): Rewrite disabling warnings.
19186 Make obsolete.
19187 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
19188 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
19189 Make obsolete
19190 (same-window-buffer-names, same-window-regexps)
19191 (special-display-frame-alist, special-display-popup-frame)
19192 (special-display-function, special-display-buffer-names)
19193 (special-display-regexps, pop-up-frame-alist)
19194 (pop-up-frame-function, split-window-preferred-function)
19195 (split-height-threshold, split-width-threshold)
19196 (even-window-heights): Make obsolete.
19197
9db51aca
GM
191982011-06-12 Glenn Morris <rgm@gnu.org>
19199
19200 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 19201 Misc simplifications.
9db51aca 19202
39cffb44
MR
192032011-06-12 Martin Rudalics <rudalics@gmx.at>
19204
19205 * window.el (window-safely-shrinkable-p): Restore function which
19206 was inadvertently removed in change from 2011-06-11. Declare as
19207 obsolete.
19208
2b75be67
SM
19209 * calendar/calendar.el (calendar-generate-window):
19210 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
19211 window-safely-shrinkable-p.
19212
a8955be7
GM
192132011-06-12 Glenn Morris <rgm@gnu.org>
19214
19215 * progmodes/fortran.el (fortran-mode-syntax-table):
19216 * progmodes/f90.el (f90-mode-syntax-table):
19217 Set % to punctuation. (Bug#8820)
19218 (f90-find-tag-default): Remove, no longer needed.
19219
f0d4059d
DC
192202011-06-12 Daniel Colascione <dan.colascione@gmail.com>
19221
19222 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
19223
1100a63c
CY
192242011-06-11 Chong Yidong <cyd@stupidchicken.com>
19225
19226 * image.el (image-animated-p): Return animation delay in seconds.
19227 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
19228 (image-animate-timeout): Remove DELAY argument. Don't assume
19229 every subimage has the same delay; get it from image-animated-p.
19230 (image-animate): Caller changed.
19231
def722bf
MA
192322011-06-11 Michael Albinus <michael.albinus@gmx.de>
19233
19234 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
19235 to ignored backtrace functions.
19236
0a2bb1a9
GM
192372011-06-11 Glenn Morris <rgm@gnu.org>
19238
19239 * calendar/appt.el (appt-disp-window-function): Doc fix.
19240 (appt-check): Handle overlapping appointments. (Bug#8337)
19241
6198ccd0
MR
192422011-06-11 Martin Rudalics <rudalics@gmx.at>
19243
19244 * window.el (window-tree-1, window-tree): New functions, moving
19245 the latter to window.el.
19246 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
19247 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
19248 (bw-refresh-edges): Remove.
19249 (balance-windows-1, balance-windows-2): New functions.
19250 (balance-windows): Rewrite in terms of window tree functions,
19251 balance-windows-1 and balance-windows-2.
19252 (bw-adjust-window): Remove.
19253 (balance-windows-area-adjust): New function with functionality of
19254 bw-adjust-window but using resize-window.
2b75be67
SM
19255 (set-window-text-height): Rewrite doc-string.
19256 Use normalize-live-window and resize-window.
19257 (enlarge-window-horizontally, shrink-window-horizontally):
19258 Rename argument to DELTA.
6198ccd0
MR
19259 (window-buffer-height): New function.
19260 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
19261 Rewrite using new window resize routines.
2b75be67
SM
19262 (kill-buffer-and-window, mouse-autoselect-window-select):
19263 Use ignore-errors instead of condition-case.
6198ccd0
MR
19264 (quit-window): Call delete-frame instead of delete-windows-on
19265 for the only buffer on frame.
19266
9397e56f
MR
192672011-06-10 Martin Rudalics <rudalics@gmx.at>
19268
19269 * loadup.el (top-level): Load window before files for the sake
19270 of replace-buffer-in-windows.
19271
19272 * files.el (read-buffer-to-switch)
19273 (switch-to-buffer-other-window)
2b75be67
SM
19274 (switch-to-buffer-other-frame, display-buffer-other-frame):
19275 Move to window.el.
9397e56f
MR
19276
19277 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
19278 (previous-buffer): Move to window.el.
19279
19280 * bindings.el (unbury-buffer): Move to window.el.
19281
19282 * window.el (delete-other-windows-vertically): Move after
19283 definition of delete-other-windows.
19284 (other-window, delete-windows-on, replace-buffer-in-windows):
19285 Move here from window.c.
19286 (record-window-buffer, unrecord-window-buffer)
19287 (set-window-buffer-start-and-point, switch-to-prev-buffer)
19288 (switch-to-next-buffer): New functions.
19289 (get-next-valid-buffer, last-buffer, next-buffer): Move here
19290 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
19291 (previous-buffer): Move here from simple.el.
19292 Call switch-to-prev-buffer.
9397e56f
MR
19293 (bury-buffer): Move here from buffer.c. Switch to previous
19294 buffer when window cannot be deleted.
19295 (unbury-buffer): Move here from bindings.el.
19296 (ctl-x-map): Move binding for other-window from window.c to
19297 here.
19298 (read-buffer-to-switch, switch-to-buffer-other-window)
19299 (switch-to-buffer-other-frame): Move here from files.el.
19300 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
19301 (switch-to-buffer): Move here from buffer.c.
19302 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 19303
562dd5e9
MR
193042011-06-10 Martin Rudalics <rudalics@gmx.at>
19305
19306 * window.el (window-min-height, window-min-width): Move here
19307 from window.c. Add defcustoms and rewrite doc-strings.
19308 (resize-mini-window, resize-window): New functions.
19309 (adjust-window-trailing-edge, enlarge-window, shrink-window):
19310 Move here from window.c.
19311 (maximize-window, minimize-window): New functions.
19312 (delete-window, delete-other-windows, split-window): Move here
19313 from window.c.
19314 (window-split-min-size): New function.
19315 (split-window-keep-point): Mention split-window-above-each-other
19316 instead of split-window-vertically.
2b75be67 19317 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
19318 Rename split-window-vertically to split-window-above-each-other
19319 and provide defalias for old definition.
19320 (split-window-side-by-side, split-window-horizontally):
19321 Rename split-window-horizontally to split-window-side-by-side
19322 and provide defalias for the old definition.
562dd5e9
MR
19323 (ctl-x-map): Move bindings for delete-window,
19324 delete-other-windows and enlarge-window here from window.c.
19325 Replace bindings for split-window-vertically and
19326 split-window-horizontally by bindings for
19327 split-window-above-each-other and split-window-side-by-side.
19328
19329 * cus-start.el (all): Remove entries for window-min-height and
19330 window-min-width. Add entries for window-splits and
19331 window-nest.
19332
f0da764a
GM
193332011-06-09 Glenn Morris <rgm@gnu.org>
19334
80675c21
GM
19335 * calendar/appt.el (appt-mode-line): New function.
19336 (appt-check, appt-disp-window): Use it.
19337
f0da764a
GM
19338 * files.el (hack-one-local-variable-eval-safep):
19339 Allow minor-modes with explicit +/-1 arguments.
19340
59f623b7
TZ
193412011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
19342
19343 * term/xterm.el (xterm): Add defgroup.
19344 (xterm-extra-capabilities): Add defcustom to supply known xterm
19345 capabilities, skip querying them, or query them (default).
19346 (terminal-init-xterm): Use it.
19347 (terminal-init-xterm-modify-other-keys): New function to set up
19348 modifyOtherKeys support to simplify `terminal-init-xterm'.
19349
9aab8e0d
MR
193502011-06-09 Martin Rudalics <rudalics@gmx.at>
19351
19352 * window.el (resize-window-reset, resize-window-reset-1)
19353 (resize-subwindows-skip-p, resize-subwindows-normal)
19354 (resize-subwindows, resize-other-windows, resize-this-window)
19355 (resize-root-window, resize-root-window-vertically)
19356 (window-deletable-p, window-or-subwindow-p)
19357 (frame-root-window-p): New functions.
19358
e8b08aee
GM
193592011-06-09 Glenn Morris <rgm@gnu.org>
19360
19361 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
19362 (ange-ftp-get-files): Use it.
19363
254c37a5
AK
193642011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
19365
19366 * mail/sendmail.el (mail-recover-1, mail-recover):
19367 * files.el (recover-file, recover-session):
19368 Handle dired-listing-switches not being just a single short option.
19369
35d7dbd3
GM
193702011-06-09 Glenn Morris <rgm@gnu.org>
19371
19372 * calendar/appt.el (appt-display-message, appt-disp-window):
19373 Handle lists of appointments.
19374
387522b2
MR
193752011-06-08 Martin Rudalics <rudalics@gmx.at>
19376
2b75be67
SM
19377 * window.el (one-window-p): Move down in code.
19378 Rewrite doc-string.
19379 (window-current-scroll-bars): Rewrite doc-string.
19380 Normalize live window argument.
387522b2
MR
19381 (walk-windows, get-window-with-predicate, count-windows):
19382 Rewrite doc-string. Use window-list-1.
19383 (window-in-direction-2, window-in-direction, get-mru-window):
19384 New functions.
19385
d8e4b68b 193862011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
19387
19388 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
19389 Doc fix (Bug#8713).
19390
193912011-06-08 Chong Yidong <cyd@stupidchicken.com>
19392
19393 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
19394
193952011-06-08 Juanma Barranquero <lekktu@gmail.com>
19396
19397 * loadhist.el (unload-feature-special-hooks):
19398 Add `comint-output-filter-functions'.
19399
0de12c52
IK
194002011-06-08 Ivan Kanis <gnu@kanis.fr>
19401
19402 * calendar/appt.el (appt-check): Move some initializations into the let.
19403
f3d1777e
MR
194042011-06-08 Martin Rudalics <rudalics@gmx.at>
19405
19406 * window.el (window-height): Defalias to window-total-height.
19407 (window-width): Defalias to window-body-width.
19408
18af70d0
CY
194092011-06-07 Chong Yidong <cyd@stupidchicken.com>
19410
19411 * image-mode.el (image-toggle-animation): New command.
19412 (image-mode-map): Bind it to RET.
19413 (image-mode): Update message.
19414 (image-toggle-display-image): Avoid a spurious cache flush.
19415 (image-transform-rotation): Doc fix.
19416 (image-transform-properties): Return quickly in the normal case.
19417 (image-animate-loop): Rename from image-animate-max-time.
19418
2b75be67 19419 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
19420 (create-animated-image): Remove unnecessary function.
19421 (image-animate): Rename from image-animate-start. New arg.
2b75be67 19422 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
19423 (image-animate-timer): Use car-safe.
19424 (image-animate-timeout): Rename argument.
19425
190b47e6
MR
194262011-06-07 Martin Rudalics <rudalics@gmx.at>
19427
19428 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
19429 window.c. Rename first argument to ALL-FRAMES.
19430 Rephrase doc-strings.
19431 (get-buffer-window-list): Rewrite using window-list-1.
19432 Rephrase doc-string.
a1511caf
MR
19433 (window-safe-min-height, window-safe-min-width): New constants.
19434 (window-size-ignore, window-min-size, window-min-size-1)
19435 (window-sizable, window-sizable-p, window-size-fixed-1)
19436 (window-size-fixed-p, window-min-delta-1, window-min-delta)
19437 (window-max-delta-1, window-max-delta, window-resizable)
19438 (window-resizable-p, window-total-height, window-total-width)
19439 (window-body-width): New functions.
19440 (window-full-height-p, window-full-width-p): Rewrite using
19441 window-total-size.
19442 (window-body-height): Rewrite using window-body-size.
190b47e6 19443
85cc1f11
MR
194442011-06-06 Martin Rudalics <rudalics@gmx.at>
19445
19446 * window.el (window-right, window-left, window-child)
19447 (window-child-count, window-last-child, window-any-p)
19448 (normalize-live-buffer, normalize-live-frame)
19449 (normalize-any-window, normalize-live-window)
19450 (window-iso-combination-p, window-iso-combined-p)
19451 (window-iso-combinations)
19452 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
19453 (windows-with-parameter, window-with-parameter)
19454 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
19455 (window-atom-check, window-side-check, window-check):
19456 New functions.
85cc1f11
MR
19457 (ignore-window-parameters, window-sides, window-sides-vertical)
19458 (window-sides-slots): New variables.
19459 (window-size-fixed): Move down in code. Minor doc-string fix.
19460
e7156492
AS
194612011-06-05 Andreas Schwab <schwab@linux-m68k.org>
19462
19463 * comint.el (comint-dynamic-complete-as-filename)
19464 (comint-dynamic-complete-filename): Correctly call
19465 completion-in-region.
19466
7e821d0d
DD
194672011-06-05 Deniz Dogan <deniz@dogan.se>
19468
19469 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
19470 in last change.
19471
ac09b8a1
DD
194722011-06-05 Deniz Dogan <deniz@dogan.se>
19473
19474 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
19475 (rcirc): Use it to prompt for encryption.
19476
34699b85
RW
194772011-06-05 Roland Winkler <winkler@gnu.org>
19478
19479 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
19480 (bibtex-search-entries): New command bound to C-c C-a.
19481 (bibtex-display-entries): New function.
19482
004dedd3
RW
194832011-06-05 Roland Winkler <winkler@gnu.org>
19484
19485 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
19486 (bibtex-insert-kill): After yanking insert newline if necessary.
19487 (bibtex-initialize): Call bibtex-string-files-init only once.
19488 (bibtex-mode): Do not call easy-menu-add.
19489 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
19490 (bibtex-yank): Set arg properly if nil.
19491
022fe7ce
RW
194922011-06-05 Roland Winkler <winkler@gnu.org>
19493
2b75be67
SM
19494 * textmodes/bibtex.el (bibtex-search-entry-globally):
19495 New variable.
022fe7ce
RW
19496 (bibtex-search-entry): Use it.
19497
b7c3692a
RW
194982011-06-05 Roland Winkler <winkler@gnu.org>
19499
19500 * textmodes/bibtex.el (bibtex-entry-format): New option
19501 sort-fields.
19502 (bibtex-format-entry, bibtex-reformat): Honor this option.
19503 (bibtex-parse-entry): Return fields in proper order.
19504
8eda563d
JB
195052011-06-05 Juanma Barranquero <lekktu@gmail.com>
19506
19507 * doc-view.el (doc-view-remove-if): Move computation of result out
19508 of `dolist' to silence misleading lexical-binding warning.
19509
7dbe3dbc
CY
195102011-06-04 Chong Yidong <cyd@stupidchicken.com>
19511
19512 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
19513 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
19514
0c33dd17
MA
195152011-06-04 Michael Albinus <michael.albinus@gmx.de>
19516
19517 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
19518 "SunOS 5.10".
19519
f8f91c2b
MA
195202011-06-04 Michael Albinus <michael.albinus@gmx.de>
19521
19522 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
19523 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
19524 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
19525 (tramp-parse-putty):
19526 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
19527 (tramp-completion-function-alist-ssh)
19528 (tramp-completion-function-alist-telnet)
19529 (tramp-completion-function-alist-su)
19530 (tramp-completion-function-alist-putty): Set `tramp-autoload'
19531 cookie.
19532
19533 * net/tramp-ftp.el:
19534 * net/tramp-sh.el:
19535 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
19536 load "tramp.el" `tramp-set-completion-function'.
19537
e17d9003
SM
195382011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
19539
19540 * shell.el: Require and use pcomplete.
19541 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
19542 (shell-completion-vars): Set pcomplete-default-completion-function.
19543
6c4cab03
DD
195442011-06-04 Deniz Dogan <deniz@dogan.se>
19545
19546 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
19547 `memq' (Bug#8799).
19548
ea9fafe0
SM
195492011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
19550
19551 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
19552
b3e945d3
JB
195532011-06-02 Juanma Barranquero <lekktu@gmail.com>
19554
19555 * bs.el (bs--mark-unmark, bs--nth-wrapper):
19556 * mpc.el (mpc-select-extend, mpc-songpointer-context):
19557 * vc/log-view.el (log-view-beginning-of-defun):
19558 * vc/smerge-mode.el (smerge-apply-resolution-patch)
19559 (smerge-refine-forward, smerge-refine-chopup-region):
19560 Silence warning for unused `dotimes' counter variables.
19561
7d520089
SM
195622011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
19563
19564 * net/tramp.el (tramp-with-progress-reporter): Rename from
19565 with-progress-reporter. Use `declare'.
19566 * net/tramp-smb.el:
19567 * net/tramp-sh.el:
19568 * net/tramp-gvfs.el: Update all uses.
19569
a1c2400f
JB
195702011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
19571
19572 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
19573 buffer isn't killed before making it current.
19574
2403c841
SM
195752011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
19576
19577 Silence various byte-compiler warnings.
19578 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
19579 `access-type' and new obsolescence format.
19580 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
19581 new format.
19582 (byte-compile-check-variable): New `access-type' argument.
19583 Only warn if the access-type is obsolete.
19584 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
19585 (byte-compile-variable-set): Adjust callers.
19586 * help-fns.el (describe-variable): Adjust to new obsolescence format.
19587 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
19588 setting it as obsolete.
19589 * simple.el (minibuffer-completing-symbol):
19590 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
19591 access as obsolete.
19592 * minibuffer.el (minibuffer-completing-file-name): Don't make it
19593 obsolete yet.
19594 * international/quail.el (quail-mouse-choose-completion): Remove unused
19595 code referring to obsolete var.
19596 (quail-choose-completion-string): Remove.
19597 * server.el (server-clients-with, server-kill-buffer-query-function)
19598 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
19599 * proced.el (proced-send-signal):
19600 * emacs-lisp/lisp.el (lisp-complete-symbol):
19601 Replace completion-annotate-function with completion-extra-properties.
19602
2462470b
SM
196032011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
19604
fb5b2591
SM
19605 * simple.el (goto-line): Use read-number.
19606 (overriding-map-is-bound): Remove.
19607 (saved-overriding-map): Change default.
19608 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
19609 Take the map as argument.
19610 (universal-argument, negative-argument, digit-argument): Use it.
19611 (restore-overriding-map): Adjust.
19612 (do-auto-fill): Use fill-forward-paragraph.
19613 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
19614
fd6fa53f
SM
19615 * minibuffer.el (minibuffer-inactive-mode-map): New var.
19616 (minibuffer-inactive-mode): New major mode.
19617 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
19618 the *Messages* buffer" hack.
19619 (mouse-popup-menubar): Don't burp if the event is a normal key.
19620
2462470b
SM
19621 Miscellaneous tweaks.
19622 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
19623 lexical scoping as in subr.el's dolist and dotimes.
19624 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
19625 Silence compiler warning.
19626 * thingatpt.el (forward-whitespace): Trivial coding style fix.
19627 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
19628 * international/ccl.el (ccl-compile): Trivial simplification.
19629 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
19630 * emacs-lisp/testcover.el (testcover-end): Remove spurious
19631 `printflag' argument.
19632 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
19633 Purecopy the whole obsolescence data.
19634
108bf785
LL
196352011-06-01 Leo Liu <sdl.web@gmail.com>
19636
19637 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
19638 improve doc-string as suggested by Marco Pessotto
19639 <melmothx@gmail.com>.
19640 (rcirc-print): Fix last change.
19641
30a23501
SM
196422011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
19643
19644 * minibuffer.el (complete-with-action): Return nil for the metadata and
19645 boundaries of non-functional tables.
19646 (completion-table-dynamic): Return nil for the metadata.
19647 (completion-table-with-terminator): Add default case, using
19648 complete-with-action.
19649 (completion--metadata): New function.
19650 (completion-all-sorted-completions, minibuffer-completion-help): Use it
19651 to try and avoid pathological performance problems.
19652 (completion--embedded-envvar-table): Return `category' metadata.
19653
bcd54f83
LMI
196542011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
19655
19656 * subr.el (process-alive-p): New tiny convenience function.
19657
e227544d
SM
196582011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
19659
19660 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
19661 content but also its previous major mode.
19662
e8296fdc
HE
196632011-05-31 Helmut Eller <eller.helmut@gmail.com>
19664
4d61f28d 19665 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
19666 *Backtrace* buffer when we exit with C-M-c.
19667
620c53a6
SM
196682011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
19669
19670 * minibuffer.el: Add metadata method to completion tables.
19671 (completion-category-overrides): New defcustom.
19672 (completion-metadata, completion--field-metadata)
19673 (completion-metadata-get, completion--styles)
19674 (completion--cycle-threshold): New functions.
19675 (completion-try-completion, completion-all-completions):
19676 Add `metadata' argument to choose completion-styles.
19677 (completion--do-completion): Use metadata to choose cycling.
19678 (completion-all-sorted-completions): Use metadata for sorting.
19679 Remove :completion-cycle-penalty which is not needed any more.
19680 (completion--try-word-completion): Add `metadata' argument.
19681 (minibuffer-completion-help): Check metadata for annotation function
19682 and sorting.
19683 (completion-file-name-table): Return `category' metadata.
19684 (minibuffer-completing-file-name): Make obsolete.
19685 * simple.el (minibuffer-completing-symbol): Make obsolete.
19686 * icomplete.el (icomplete-completions): Pass new `metadata' param to
19687 completion-try-completion.
19688
1257e755
SM
196892011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
19690
19691 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
19692
3767e706
LL
196932011-05-30 Leo Liu <sdl.web@gmail.com>
19694
19695 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
19696 (rcirc-print): Decode all incoming messages (bug#8744).
19697 (rcirc-decode-coding-system): Allow value nil for automatic coding
19698 system detection.
3767e706 19699
d1a5d56a
GM
197002011-06-01 Glenn Morris <rgm@gnu.org>
19701
19702 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
19703
e8cbec34
CY
197042011-05-29 Chong Yidong <cyd@stupidchicken.com>
19705
19706 * image.el (image-animate-max-time): Allow nil and t values.
19707 Default to nil.
19708 (create-animated-image): Doc fix.
19709 (image-animate-start): Remove second arg; just use
19710 image-animate-max-time.
19711 (image-animate-timeout): Doc fix. Args changed.
19712
19713 * image-mode.el (image-toggle-display-image): Ensure that the
19714 image spec passed to the animate timer is the same object as in
58179cce 19715 the buffer's display property (Bug#6981).
e8cbec34
CY
19716 (image-transform-properties): Doc fix.
19717
19718 * image.el (image-animate-max-time): Default to nil.
19719
159daf87
MR
197202011-05-29 Martin Rudalics <rudalics@gmx.at>
19721
19722 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
19723 entire buffer list (Bug#8184).
19724
d66c4c7c
CY
197252011-05-29 Chong Yidong <cyd@stupidchicken.com>
19726
19727 * image.el (imagemagick-types-inhibit)
19728 (imagemagick-register-types): Doc fix.
19729
80aec780
DD
197302011-05-29 Deniz Dogan <deniz@dogan.se>
19731
19732 * net/rcirc.el (rcirc): Use the user's stored encryption method by
19733 default.
19734
1dd3c2d9
CY
197352011-05-29 Chong Yidong <cyd@stupidchicken.com>
19736
19737 * select.el: Don't perform clipboard-manager saving in hooks;
19738 leave the hooks empty.
19739
60e56523
LL
197402011-05-28 Leo Liu <sdl.web@gmail.com>
19741
19742 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
19743 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
19744 (occur-edit-mode): New major mode (Bug#8463).
19745 (occur-after-change-function): New function.
19746 (occur-engine): Give Occur tags a read-only property.
19747
2b1e1a22
KR
197482011-05-28 Kevin Ryde <user42@zip.com.au>
19749
19750 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
19751
5d344e88
CY
197522011-05-28 Chong Yidong <cyd@stupidchicken.com>
19753
8e6ca83d
CY
19754 * bindings.el (help-echo): Make the initial non-indicator dash
19755 empty on graphical terminals (Bug#7295).
19756
5d344e88
CY
19757 * files.el (auto-mode-alist): Move config rule after the
19758 in-stripping one (Bug#8547).
19759
bfbbace7
CY
19760 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
19761
fbeba6e2
CY
19762 * startup.el (normal-splash-screen): Remove gratuitous mode-line
19763 setting (Bug#8740).
19764
60ed8c72
AA
197652011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
19766
4ac619f0
AA
19767 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
19768 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
19769 (Bug#8539).
60ed8c72 19770
23db196e
CY
197712011-05-28 Chong Yidong <cyd@stupidchicken.com>
19772
19773 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
19774
5012f24c
DK
197752011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
19776
19777 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
19778 (hs-hide-block-at-point, hs-find-block-beginning)
19779 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
19780 (Bug#8279).
19781
6a639b16
GM
197822011-05-28 Glenn Morris <rgm@gnu.org>
19783
19784 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
19785
d43eaf2c
CY
197862011-05-28 Chong Yidong <cyd@stupidchicken.com>
19787
5199bde1
CY
19788 * help-fns.el (describe-function-1): If the function is a derived
19789 major mode, print the parent mode.
19790
d43eaf2c
CY
19791 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
19792 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
19793
423428a8
SM
197942011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
19795
0ff8e1ba 19796 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 19797 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
19798 * progmodes/etags.el (tags-completion-at-point-function):
19799 * info-look.el (info-lookup-completions-at-point): Mark as
19800 non-exclusive.
19801 (info-complete): Adjust accordingly.
19802
423428a8
SM
19803 * info-look.el: Convert to lexical-binding and completion-at-point.
19804 (info-lookup-completions-at-point): New function.
19805 (info-complete): Use it and completion-in-region.
19806
b74aa22b
DA
198072011-05-28 Drew Adams <drew.adams@oracle.com>
19808
19809 * isearch.el: Let M-e start with point at the first mismatched char.
19810 (isearch-fail-pos): New function.
19811 (isearch-edit-string): Use it.
19812
66e2e71d
DK
198132011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
19814
19815 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
19816
b1890b0f 198172011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
19818
19819 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
19820 traversal functions for avl-trees.
19821 (avl-tree--stack): New struct.
19822 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
19823 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
19824 (avl-tree--do-enter): Add optional `updatefun' arg.
19825 Change return value.
eb95d01d 19826 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
19827 (avl-tree--do-delete): Add `test' and `nilflag' args.
19828 Change return value.
eb95d01d
TC
19829 (avl-tree-member): Add optional `nilflag'
19830 (avl-tree-member-p): New function.
19831 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
19832 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
19833 (avl-tree-stack-empty-p): New functions.
19834
3769ddcf
TC
19835 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
19836 avl-tree--del-balance1 and make it work both ways.
19837 (avl-tree--del-balance2): Remove.
19838 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
19839 make it work both ways.
19840 (avl-tree--enter-balance2): Remove.
19841 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
19842 New macros.
19843 (avl-tree--mapc, avl-tree-map): Add direction argument.
19844
eb95d01d 198452011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
19846
19847 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
19848
a9f737ee
CY
198492011-05-27 Chong Yidong <cyd@stupidchicken.com>
19850
19851 * select.el: Support clipboard managers with built-in function
19852 x-clipboard-manager-save, via delete-frame-functions and
19853 kill-emacs-hook.
19854 (xselect-convert-to-targets): Add MULTIPLE target to list.
19855 (xselect-convert-to-save-targets): New function.
19856
c92a1e54
KH
198572011-05-27 Kenichi Handa <handa@m17n.org>
19858
19859 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
19860 let-binding rfc2047-encode-encoded-words to nil.
19861
e145f188
GM
198622011-05-27 Glenn Morris <rgm@gnu.org>
19863
5ec8a862
GM
19864 * mail/emacsbug.el: Don't require url-util.
19865
4b29d9fb
GM
19866 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
19867
e145f188
GM
19868 * files.el (set-auto-mode):
19869 Also respect mode: entries at the end of the file. (Bug#8586)
19870
7d15102b
GM
198712011-05-26 Glenn Morris <rgm@gnu.org>
19872
98f593b8
GM
19873 * files.el (hack-local-variables-prop-line, hack-local-variables):
19874 Downcase mode names, as seems to be traditional.
27b48e63 19875 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 19876
7d15102b
GM
19877 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
19878 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
19879
51d5b4ec
JD
198802011-05-25 Julien Danjou <julien@danjou.info>
19881
19882 * textmodes/rst.el (rst-define-level-faces): Do not define face
19883 symbol if it is already defined.
19884
91513f63
VB
198852011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
19886
19887 * play/5x5.el (5x5-new-game, 5x5-randomize):
19888 Reset 5x5-solver-output to nil when a new grid is cast.
19889 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
19890 these debugging traces, as defmacro breaks the compiled code.
19891
4d90d6d0
DK
198922011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
19893
19894 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
19895
e1b90ef6
LL
198962011-05-24 Leo Liu <sdl.web@gmail.com>
19897
19898 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
19899 (vc-bzr-sha1): Adapt.
19900
d8e4b68b 19901 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
19902
19903 * bindings.el: Provide sha1 feature.
19904
db0406bb 199052011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
19906
19907 * mail/sendmail.el: Require `rfc2047'.
19908 (mail-insert-from-field): Do not perform RFC2047 encoding.
19909 (mail-encode-header): New function.
19910 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
19911 buffer to the return value of select-message-coding-system.
19912 Call mail-encode-header.
b8d747b9
KH
19913
19914 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
19915
db0406bb 199162011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 19917
4d90d6d0
DK
19918 * mail/supercite.el (sc-default-cite-frame):
19919 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 19920
eb8a5e9b
GM
199212011-05-24 Glenn Morris <rgm@gnu.org>
19922
f8630703
GM
19923 * progmodes/python.el (brm-menu): Declare.
19924
8831bbed
GM
19925 * emulation/viper.el (viper-set-hooks): Declare.
19926
eb8a5e9b
GM
19927 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
19928 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
19929 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
19930 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
19931 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
19932 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
19933
a2a25d24
SM
199342011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
19935
19936 Add an :exit-function for completion-at-point.
19937
19938 * minibuffer.el (completion--done): New fun.
19939 (completion--do-completion): Use it. New arg `expect-exact'.
19940 (minibuffer-complete, minibuffer-complete-word): Don't output message,
19941 since completion--do-completion does it for us now.
19942 (minibuffer-force-complete): Use completion--done and
19943 completion--replace. Handle sole-completion case with more care.
19944 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
19945 (completion-extra-properties): New var.
19946 (completion-annotate-function): Make obsolete.
19947 (minibuffer-completion-help): Adjust accordingly.
19948 Use completion-list-insert-choice-function.
19949 (completion-at-point, completion-help-at-point):
19950 Bind completion-extra-properties.
19951 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
19952 * simple.el (completion-list-insert-choice-function): New var.
19953 (completion-setup-function): Preserve it.
19954 (choose-completion): Pay attention to it, shuffle the code a bit.
19955 (choose-completion-string): New arg `insert-function'.
19956
19957 * textmodes/bibtex.el: Convert to lexical binding.
19958 (bibtex-mode-map): Use completion-at-point.
19959 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
19960 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
19961 (bibtex-complete): Define as obsolete alias.
19962 (bibtex-complete-internal): Remove.
19963 (bibtex-format-entry): Remove unused sub-group in regexp.
19964 * shell.el (shell--command-completion-data)
19965 (shell-environment-variable-completion):
19966 * pcomplete.el (pcomplete-completions-at-point):
19967 * comint.el (comint--complete-file-name-data): Use :exit-function
19968 instead of completion-table-with-terminator so it also works for
19969 choose-completion.
19970
e44e373d
SM
199712011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
19972
4f91a816
SM
19973 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
19974
782fc819
SM
19975 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
19976 (bug#8710).
19977
e44e373d
SM
19978 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
19979
381987c3
KM
199802011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
19981
19982 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
19983 customization variable and implement: If non-nil, auto-fill will
19984 be inhibited while on topic's header line.
19985
b776bc70
VB
199862011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
19987
19988 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 19989 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
19990 always have a solution in grid size = 5 cases.
19991 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
19992 (5x5-solver-output, 5x5-log-buffer): New vars.
19993 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
19994 Make these variables buffer local to achieve 5x5 multi-session-ness.
19995 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
19996 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
19997 (5x5-solve-suggest): New funs.
19998 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
19999 randomize a grid so that we ensure that there is always a solution.
20000 (5x5-make-random-grid): Allow other movement than flipping.
20001
7de88b6e
KR
200022011-05-23 Kevin Ryde <user42@zip.com.au>
20003
20004 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 20005 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
20006 advice and passes PREDICATE.
20007
b1ef1257
SM
200082011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
20009
bbca48fe
SM
20010 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
20011 byte-compile-lambda if it's actually a lambda.
20012
b1ef1257
SM
20013 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
20014 Fix function quoting. Use backquote better.
20015
92a9cc65
YS
200162011-05-22 Yuanle Song <sylecn@gmail.com>
20017
20018 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
20019 matching (Bug#8516).
20020
f0fb8059
JA
200212011-01-22 Jari Aalto <jari.aalto@cante.net>
20022
20023 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
20024 different face (Bug#8178).
20025
d5b44c93
CY
200262011-05-22 Chong Yidong <cyd@stupidchicken.com>
20027
20028 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
20029 defface (Bug#8144).
20030
79106a44
SM
200312011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
20032
9c848d8a
SM
20033 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
20034 funcall as well (bug#8712). Warn when performing those conversions.
20035 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
20036
79106a44
SM
20037 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
20038
88dfa756
GM
200392011-05-22 Glenn Morris <rgm@gnu.org>
20040
20041 * files.el (hack-local-variables-prop-line): Small simplifications.
20042 (hack-local-variables, hack-local-variables-prop-line):
20043 If MODE-ONLY, return the mode, rather than just `t'.
20044
b7cf2c79
SM
200452011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
20046
20047 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
20048
3f1a8558
GM
200492011-05-21 Glenn Morris <rgm@gnu.org>
20050
7e4ccca3
GM
20051 * files.el (hack-local-variables-prop-line, hack-local-variables):
20052 If only interested in the mode, don't bother doing the other stuff.
20053
637d46ca
GM
20054 * image-mode.el (image-after-revert-hook):
20055 Redraw all frames on which the image is visible. (Bug#8567)
20056
973d955b
GM
20057 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
20058
3f1a8558
GM
20059 * wid-edit.el (widget-checklist-match-inline):
20060 Fix 2011-04-19 change. (Bug#8649)
20061
96479927
SM
200622011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
20063
1dcf791f
SM
20064 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
20065 Also allow singlespace after single-letter capitals followed by a dot.
20066
96479927
SM
20067 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
20068 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
20069
35fd0881
N
200702011-05-20 Nix <nix@esperi.org.uk>
20071
20072 * files.el (basic-save-buffer-2):
20073 Fix handling of break-hardlink-on-save with non-existent files.
20074
82745640
DD
200752011-05-19 Deniz Dogan <deniz@dogan.se>
20076
20077 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 20078 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 20079
4a720484
GM
200802011-05-19 Glenn Morris <rgm@gnu.org>
20081
d1f21341
GM
20082 * progmodes/f90.el (f90-type-def-re):
20083 Handle "type, bind(c)". (Bug#8691)
20084
4a720484
GM
20085 * emacs-lisp/autoload.el (batch-update-autoloads):
20086 Set autoload-excludes by parsing loadup.el rather than Makefiles.
20087
2fb0a219
MA
200882011-05-18 Michael Albinus <michael.albinus@gmx.de>
20089
20090 * net/tramp.el (tramp-process-actions): Set "first-password-request"
20091 property for the correct connection in case of multihops.
20092
e565dd37
GM
200932011-05-18 Glenn Morris <rgm@gnu.org>
20094
c2571358 20095 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
20096 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
20097
e565dd37
GM
20098 Rationalize calendar handling of day and month abbrev-arrays.
20099 * calendar/calendar.el (calendar-customized-p): New function.
20100 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
20101 (calendar-day-name-array, calendar-month-name-array): Doc fix.
20102 Add :set function.
20103 (calendar-abbrev-length, calendar-day-abbrev-array)
20104 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
20105 (calendar-day-abbrev-array, calendar-month-abbrev-array):
20106 Elements may no longer be nil.
20107 (calendar-day-name, calendar-month-name):
20108 Update for changed nature of abbrev arrays.
20109 * calendar/diary-lib.el (diary-name-pattern):
20110 Update for changed nature of abbrev arrays.
20111 (diary-mark-entries-1): Update calendar-make-alist calls.
20112 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
20113 * calendar/cal-html.el (cal-html-day-abbrev-array):
20114 Simply inherit from calendar-day-abbrev-array.
20115
1d99a745
SM
201162011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
20117
20118 * progmodes/grep.el (grep-mode): Disable default
20119 compilation-directory-matcher setting (bug#8684).
20120
7c1d9aa0
MA
201212011-05-17 Michael Albinus <michael.albinus@gmx.de>
20122
20123 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
20124 instead of "head" and "tail". There were problems with SunOS 5.9,
20125 and it performs better.
20126
3952e9d8
GM
201272011-05-17 Glenn Morris <rgm@gnu.org>
20128
2dd12e7f
GM
20129 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
20130
e4157b9c
GM
20131 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
20132 Replace obsolete function.
20133
8e249bbd
GM
20134 * shell.el (pcomplete-parse-arguments-function): Declare.
20135
3952e9d8
GM
20136 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
20137 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
20138 (appt-check): Doc fixes.
20139 (appt-disp-window-function, appt-delete-window-function):
20140 Remove needless special case in custom :type.
20141 (appt-display-count): Default to 0, not nil.
20142 (appt-check): Reset appt-display-count to 0, not nil.
20143
c71a0d48 201442011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 20145
c71a0d48
GM
20146 * progmodes/python.el (python-font-lock-keywords):
20147 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 20148
31d55be9
SM
201492011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
20150
20151 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
20152
3bfacb2f
KR
201532011-05-16 Kevin Ryde <user42@zip.com.au>
20154
20155 * info-look.el (makefile-automake-mode): New setups, looking in
20156 automake manual, then makefile-mode.
20157 (makefile-mode): Remove automake manual, have it just in
20158 makefile-automake-mode since there's various things different or
20159 not relevant to plain make.
20160 (makefile-mode): Remove "other-modes" non-existent automake-mode,
20161 believe a hypothetical automake-mode would go to makefile-mode,
20162 not the other way around.
20163
c8e83751
CY
201642011-05-15 Chong Yidong <cyd@stupidchicken.com>
20165
5e9e35cd
CY
20166 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
20167 hunk-end tags (Bug#8672).
20168
c8e83751
CY
20169 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
20170 vc-annotate-show-diff-revision-at-line (Bug#8671).
20171
50b23e5a
GM
201722011-05-14 Glenn Morris <rgm@gnu.org>
20173
7210a739
GM
20174 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
20175 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
20176 (change-log-font-lock-keywords): Also handle multiple author lines
20177 with leading tabs. (Bug#8644)
7210a739 20178
4691905a
GM
20179 * calendar/appt.el (appt-check): Rename some local variables.
20180 Some simplification/reordering.
20181
50b23e5a
GM
20182 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
20183 (feedmail-sendmail-f-doesnt-sell-me-out)
20184 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
20185 (feedmail-debug-sit-for, feedmail-queue-express-hook)
20186 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
20187 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
20188 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
20189 (feedmail-binmail-gnulinuxish-template):
20190 Rename from feedmail-binmail-linuxish-template.
20191 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
20192 Use insert-buffer-substring.
20193
215cda7c
BC
201942011-05-14 Bill Carpenter <bill@carpenter.org>
20195
20196 * mail/feedmail.el (feedmail-patch-level): Increase.
20197 (feedmail-debug): New custom group.
20198 (feedmail-confirm-outgoing-timeout)
20199 (feedmail-sendmail-f-doesnt-sell-me-out)
20200 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
20201 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
20202 (feedmail-sender-line, feedmail-from-line)
20203 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 20204 (feedmail-spray-this-address)
215cda7c
BC
20205 (feedmail-spray-address-fiddle-plex-list)
20206 (feedmail-queue-use-send-time-for-date)
20207 (feedmail-queue-use-send-time-for-message-id)
20208 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
20209 (feedmail-buffer-eating-function):
20210 Doc fixes.
20211 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
20212 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
20213 (feedmail-message-action-scroll-down): New functions.
20214 (feedmail-queue-directory, feedmail-queue-draft-directory):
20215 Use expand-file-name.
20216 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
20217 Remove C-v help entry.
20218 (feedmail-queue-buffer-file-name): New variable.
20219 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
20220 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
20221 (feedmail-message-action-send-strong, feedmail-message-action-edit)
20222 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
20223 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
20224 (feedmail-message-action-toggle-spray)
20225 (feedmail-run-the-queue-no-prompts)
20226 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
20227 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
20228 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
20229 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
20230 (feedmail-envelope-deducer, feedmail-fiddle-from)
20231 (feedmail-fiddle-sender, feedmail-default-date-generator)
20232 (feedmail-fiddle-date, feedmail-fiddle-message-id)
20233 (feedmail-fiddle-spray-address)
20234 (feedmail-fiddle-list-of-spray-fiddle-plexes)
20235 (feedmail-fiddle-list-of-fiddle-plexes)
20236 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
20237 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
20238 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
20239 Change default. Doc fix.
20240 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
20241 (feedmail-binmail-linuxish-template): New constant.
20242 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
20243 Respect feedmail-sendmail-f-doesnt-sell-me-out.
20244 (feedmail-send-it): Add debug call.
20245 Use feedmail-queue-buffer-file-name, and
20246 feedmail-send-it-immediately-wrapper.
20247 (feedmail-message-action-send): Add debug call.
20248 Use feedmail-send-it-immediately-wrapper.
20249 (feedmail-queue-express-to-queue): Add debug call.
20250 Run feedmail-queue-express-hook.
20251 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
20252 (feedmail-message-action-help-blat):
20253 Rename from feedmail-queue-send-edit-prompt-help-first.
20254 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
20255 Check line-endings. Handle errors better.
20256 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
20257 Doc fix. Add debug call.
20258 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
20259 Use feedmail-queue-send-edit-prompt-inner.
20260 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
20261 (feedmail-queue-send-edit-prompt-inner): New function, extracted
20262 from feedmail-queue-send-edit-prompt.
20263 (feedmail-queue-send-edit-prompt-help)
20264 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
20265 (feedmail-tidy-up-slug): Add debug call.
20266 Respect feedmail-queue-slug-suspect-regexp.
20267 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
20268 (feedmail-dump-message-to-queue): Add debug call.
20269 Expand queue-directory.
20270 (feedmail-dump-message-to-queue): Change message slightly.
20271 Use feedmail-say-chatter.
20272 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
20273 (feedmail-send-it-immediately-wrapper): New function.
20274 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
20275 Insert empty string rather than newline. Handle full-frame case.
20276 Use catch/throw. Use feedmail-say-chatter.
20277 (feedmail-fiddle-from): Try mail-host-address.
20278 (feedmail-default-message-id-generator): Doc fix.
20279 Bind system-time-locale. Handle missing end.
20280 (feedmail-fiddle-x-mailer): Add debug call.
20281 Handle feedmail-x-mailer-line being nil.
20282 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
20283 Add debug call. Use buffer-substring-no-properties.
20284 (feedmail-say-debug, feedmail-say-chatter): New functions.
20285 (feedmail-find-eoh): Give an explicit error.
20286
42c7e61e
UJ
202872011-05-13 Ulf Jasper <ulf.jasper@web.de>
20288
c2571358 20289 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 20290 family from helvetica to sans.
c2571358 20291 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
20292 etc/images/newsticker.
20293
c2571358 20294 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
20295 family from helvetica to sans.
20296
20297 * net/newst-plainview.el (newsticker-new-item-face)
20298 (newsticker-old-item-face, newsticker-immortal-item-face)
20299 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 20300 (newsticker-statistics-face): Change default family from
42c7e61e 20301 helvetica to sans.
c2571358 20302 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
20303 etc/images/newsticker.
20304
5d3385a0
JB
20305 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
20306 (newsticker--process-auto-mark-filter-match): Tell user about
42c7e61e
UJ
20307 auto-marking.
20308
8497a297
DV
203092011-05-13 Didier Verna <didier@xemacs.org>
20310
20311 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
20312 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
20313 TODO entries.
8497a297
DV
20314 (lisp-lambda-list-keyword-parameter-indentation)
20315 (lisp-lambda-list-keyword-parameter-alignment)
20316 (lisp-lambda-list-keyword-alignment): New customizable user options.
20317 (lisp-indent-defun-method): Improve docstring.
20318 (extended-loop-p): Fix comment.
20319 (lisp-indent-lambda-list-keywords-regexp): New variable.
20320 (lisp-indent-lambda-list): New function.
20321 (lisp-indent-259): Use it.
20322 (lisp-indent-defmethod): Support for more than one
20323 method qualifier and properly indent methods lambda-lists.
20324 (defgeneric): Provide a missing common-lisp-indent-function property.
20325
f278f87f
SM
203262011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
20327
20328 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
20329 bounds for the empty string (bug#8667).
20330
5233edd7
GM
203312011-05-13 Glenn Morris <rgm@gnu.org>
20332
5237a44f
GM
20333 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
20334
8340026c 20335 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 20336 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 20337
5233edd7 20338 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 20339 (appt-time-msg-list): Doc fix.
a5464014 20340 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 20341
92d10796
AS
203422011-05-12 Andreas Schwab <schwab@linux-m68k.org>
20343
20344 * progmodes/ld-script.el (ld-script-keywords)
20345 (ld-script-builtins): Update keywords list.
20346
914a0ae1
SM
203472011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
20348
c89be45f
SM
20349 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
20350
914a0ae1
SM
20351 * shell.el (shell-completion-vars): New function.
20352 (shell-mode):
20353 * simple.el (read-shell-command): Use it.
20354 (blink-matching-open): No need for " [...]" in minibuffer-message.
20355
98dc3df3
GM
203562011-05-12 Glenn Morris <rgm@gnu.org>
20357
20358 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
20359 (appt-check): Simplify.
20360
d2fc7e3d 203612011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 20362
4d61f28d 20363 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
20364 literal "/dev/null".
20365
d2fc7e3d 203662011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
20367
20368 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
20369 Fix typo.
20370
d2fc7e3d 203712011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 20372
3f254caa
SM
20373 * progmodes/which-func.el (which-function):
20374 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
20375 which might not be defined (Bug#8260).
20376
d45885f7
GM
203772011-05-12 Glenn Morris <rgm@gnu.org>
20378
20379 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
20380 Let byte-compile-initial-macro-environment always take precedence.
20381
488086f4
SM
203822011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
20383
20384 * net/rcirc.el: Add support for SSL/TLS connections.
20385 (rcirc-server-alist): New field `encryption'.
20386 (rcirc): Check `encryption' settings.
20387 (rcirc-connect): New arg `encryption'. Use open-network-stream.
20388 Merge make-local-variable into `set'.
20389 (rcirc--connection-open-p): New function.
20390 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
20391 the process is not a network process (e.g. running gnutls-cli).
20392 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
20393 Make rcirc-(en|de)code-coding-system local here.
20394 (rcirc-mode): Merge make-local-variable into `set'.
20395 (rcirc-parent-buffer): Make permanent buffer-local.
20396 (rcirc-multiline-minor-mode): Don't do it here.
20397 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
20398 there's no server buffer.
20399
7d3b9d44
GM
204002011-05-11 Glenn Morris <rgm@gnu.org>
20401
f64049c6
GM
20402 * newcomment.el (comment-kill): Prefix "unused" local.
20403
93c9df73
GM
20404 * term/w32console.el (get-screen-color): Declare.
20405
7d3b9d44
GM
20406 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
20407 Handle symbol elements of byte-compile-initial-macro-environment.
20408
9e2dd53f
LL
204092011-05-10 Leo Liu <sdl.web@gmail.com>
20410
488086f4
SM
20411 * bookmark.el (bookmark-bmenu-mode-map):
20412 Bind bookmark-bmenu-search to `/'.
8b340240 20413
9e2dd53f 20414 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
20415 (footnote-unicode-string, footnote-unicode-regexp): New variable.
20416 (Footnote-unicode): New function.
20417 (footnote-style-alist): Add unicode style to the list.
20418 (footnote-style): Doc fix.
9e2dd53f 20419
79b70037
GM
204202011-05-10 Jim Meyering <meyering@redhat.com>
20421
20422 Fix doubled-word typos.
20423 * international/quail.el (quail-insert-kbd-layout): and and -> and
20424 * kermit.el: and and -> and
20425 * net/ldap.el (ldap-search-internal): to to -> to
20426 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
20427 * progmodes/js.el (js-mode): and and -> and
20428 * textmodes/artist.el (artist-move-to-xy): at at -> at
20429 (artist-draw-region-trim-line-endings): if if -> if
20430 And Safetyc -> Safety.
20431 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
20432
b8f82dc1 204332011-05-10 Glenn Morris <rgm@gnu.org>
f1a71c6e 20434 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
20435
20436 * files.el (hack-one-local-variable-eval-safep):
20437 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
20438
4f99f44b
GM
204392011-05-10 Glenn Morris <rgm@gnu.org>
20440
20441 * calendar/diary-lib.el (diary-list-entries-hook)
20442 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
20443 (diary-nongregorian-marking-hook, diary-list-entries)
20444 (diary-include-other-diary-files, diary-mark-entries)
20445 (diary-mark-included-diary-files): Doc fixes.
20446
84f29e6b
JB
204472011-05-09 Juanma Barranquero <lekktu@gmail.com>
20448
20449 * misc.el: Require tabulated-list.el during compilation.
20450
9bedd73a
CY
204512011-05-09 Chong Yidong <cyd@stupidchicken.com>
20452
488086f4
SM
20453 * progmodes/compile.el (compilation-start):
20454 Run compilation-filter-hook for the async case too.
9bedd73a
CY
20455 (compilation-filter-hook): Doc fix.
20456
797c735c
DD
204572011-05-09 Deniz Dogan <deniz@dogan.se>
20458
20459 * wdired.el: Remove outdated installation comment. Fix usage
20460 comment.
20461
5f4b1dfe
JB
204622011-05-09 Juanma Barranquero <lekktu@gmail.com>
20463
20464 * misc.el: Implement new command `list-dynamic-libraries'.
20465 (list-dynamic-libraries--loaded-only-p): New variable.
20466 (list-dynamic-libraries--refresh): New function.
20467 (list-dynamic-libraries): New command.
20468
4c44026c
CY
204692011-05-09 Chong Yidong <cyd@stupidchicken.com>
20470
488086f4
SM
20471 * progmodes/compile.el (compilation-error-regexp-alist-alist):
20472 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
20473 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
20474 higher priority to avoid clobbering by gnu.
20475
027f966d
CY
204762011-05-08 Chong Yidong <cyd@stupidchicken.com>
20477
20478 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
20479 if the face has existing theme settings (Bug#8454).
20480
085f5d7d
CY
204812011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
20482
488086f4
SM
20483 * progmodes/perl-mode.el (perl-imenu-generic-expression):
20484 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 20485
2a86a00c
RS
20486 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
20487 special file names `.' and `..' (Bug#8259).
20488
d9c54a06
CY
204892011-05-08 Chong Yidong <cyd@stupidchicken.com>
20490
488086f4
SM
20491 * progmodes/grep.el (grep-mode-font-lock-keywords):
20492 Remove buffer-changing entries.
d9c54a06
CY
20493 (grep-filter): New function.
20494 (grep-mode): Add it to compilation-filter-hook.
20495
20496 * progmodes/compile.el (compilation-filter-hook)
20497 (compilation-filter-start): New defvars.
20498 (compilation-filter): Call compilation-filter-hook prior to
20499 updating the process mark.
20500
c4662635
SM
205012011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
20502
20503 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
20504
b0512a1d
EZ
205052011-05-07 Eli Zaretskii <eliz@gnu.org>
20506
605c9376
EZ
20507 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
20508 mailclient-send-it even if window-system is nil. (Bug#8595)
20509
c4662635
SM
20510 * term/w32console.el (terminal-init-w32console):
20511 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
20512 background-mode. (Bug#8597)
20513
d1dc2cc2
SM
205142011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
20515
20516 Make bytecomp.el understand that defmethod defines funs (bug#8631).
20517 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
20518 New functions.
20519 (defgeneric, eieio--defmethod): Use them.
20520 (eieio-defgeneric): Remove.
20521 (defmethod): Call defgeneric in a way visible to the byte-compiler.
20522
915d1300
GM
205232011-05-07 Glenn Morris <rgm@gnu.org>
20524
a3961c3e
GM
20525 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
20526 Use let rather than let*.
20527 (timeclock-find-discrep): Remove unused local.
20528
314347b9
GM
20529 * calendar/diary-lib.el (diary-comment-start): Doc fix.
20530
915d1300
GM
20531 * calendar/appt.el (appt-time-msg-list): Doc fix.
20532
275b59b0
NF
205332011-05-06 Noah Friedman <friedman@splode.com>
20534
20535 * apropos.el (apropos-print-doc): Only use
20536 emacs-lisp-docstring-fill-column when it is bound to an integer,
20537 per that variable's documentation.
20538
6c19f744
SM
205392011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
20540
20541 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 20542 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 20543
60f884b2
GM
205442011-05-06 Glenn Morris <rgm@gnu.org>
20545
5006e634
GM
20546 * calendar/appt.el (appt-message-warning-time): Doc fix.
20547 (appt-warning-time-regexp): New option.
20548 (appt-make-list): Respect appt-message-warning-time.
20549
548d0a63
GM
20550 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
20551 New options.
20552 (diary-add-to-list): Strip comments from the displayed string.
20553 (diary-mode): Set comment-start and comment-end.
20554
60f884b2
GM
20555 * vc/diff-mode.el (smerge-refine-subst): Declare.
20556 (diff-refine-hunk): Don't require smerge-mode when compiling.
20557
989681bb
JB
205582011-05-06 Juanma Barranquero <lekktu@gmail.com>
20559
20560 * simple.el (list-processes): Return nil as the docstring says.
20561
a6bc05e1
MA
205622011-05-05 Michael Albinus <michael.albinus@gmx.de>
20563
20564 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
20565 to "".
20566 (ange-ftp-write-region, ange-ftp-insert-file-contents)
20567 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
20568 determining of binary transfer. (Bug#7383)
20569
23c22e9a
MA
205702011-05-05 Michael Albinus <michael.albinus@gmx.de>
20571
c4662635
SM
20572 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
20573 Fix port computation bug. (Bug#8618)
23c22e9a 20574
0bff894f
GM
205752011-05-05 Glenn Morris <rgm@gnu.org>
20576
b8296902
GM
20577 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
20578
1f522ce8
GM
20579 * simple.el (shell-dynamic-complete-functions)
20580 (comint-dynamic-complete-functions): Declare.
20581
cf5bee67
GM
20582 * net/network-stream.el (gnutls-negotiate):
20583 * simple.el (tabulated-list-print): Fix declarations.
20584
20585 * progmodes/gud.el (syntax-symbol, syntax-point):
20586 Remove unnecessary and incorrect declarations.
20587
0bff894f 20588 * emacs-lisp/check-declare.el (check-declare-scan):
1f9f395d 20589 Handle byte-compile-initial-macro-environment in bytecomp.el.
0bff894f 20590
9869b3ae
SM
205912011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
20592
20593 Fix earlier half-done eieio-defmethod change (bug#8338).
20594 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
20595 Streamline and change calling convention.
20596 (defmethod): Adjust accordingly and simplify.
20597 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
20598 new eieio--defmethod.
20599 (slot-boundp): Minor CSE simplification.
20600
9c1d5ac5
MZ
206012011-05-05 Milan Zamazal <pdm@zamazal.org>
20602
20603 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
20604 (glasses-make-readable): Use glasses-separate-capital-groups.
20605
455c834e
JB
206062011-05-05 Juanma Barranquero <lekktu@gmail.com>
20607
20608 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
20609 (warning-series): Doc fix.
20610 (display-warning): Don't try to create the buffer if we just found it.
20611
9ed7c8cb
CY
206122011-05-04 Chong Yidong <cyd@stupidchicken.com>
20613
20614 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
20615 (autoload-find-generated-file): New function.
20616 (generate-file-autoloads): Bind generated-autoload-file to
20617 buffer-file-name.
9869b3ae
SM
20618 (update-file-autoloads, update-directory-autoloads):
20619 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
20620 output file (Bug#7989).
20621 (batch-update-autoloads): Doc fix.
20622
0898ca10
JB
206232011-05-04 Juanma Barranquero <lekktu@gmail.com>
20624
20625 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
20626
31dfb76c
GM
206272011-05-04 Glenn Morris <rgm@gnu.org>
20628
f330b642
GM
20629 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
20630 function, so it follows changes in calendar-date-style.
20631 (diary-fancy-date-matcher): New function.
20632 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
20633 (diary-fancy-font-lock-fontify-region-function):
20634 Use diary-fancy-date-pattern as a function.
20635
31dfb76c
GM
20636 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
20637 non-numbers for `year' etc pseudo-variables. (Bug#8583)
20638
48e79d6a
TZ
206392011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
20640
20641 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
20642 instead of positional arguments. Allow :keylist and :crlfiles
20643 arguments.
20644 (open-gnutls-stream): Call it.
20645
20646 * net/network-stream.el (network-stream-open-starttls): Adjust to
20647 call `gnutls-negotiate' with :process and :hostname arguments.
20648
dd5a5ee0
SM
206492011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
20650
ef80fc09
SM
20651 * minibuffer.el (completion--message): New function.
20652 (completion--do-completion, minibuffer-complete)
20653 (minibuffer-force-complete, minibuffer-complete-word): Use it.
20654 (completion--do-completion): Don't ignore completion-auto-help when in
20655 icomplete-mode.
20656
dd5a5ee0
SM
20657 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
20658 internal encoding (e.g. tibetan zero is not whitespace).
20659 (global-whitespace-mode): Prefer save-current-buffer.
20660 (whitespace-trailing-regexp): Remove useless save-match-data.
20661 (whitespace-empty-at-bob-regexp): Minor simplification.
20662
b7d22a83
CY
206632011-05-03 Chong Yidong <cyd@stupidchicken.com>
20664
20665 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
20666
5192af46
AM
206672011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
20668
20669 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 20670 Use `concat' to create string for insertion.
5192af46 20671
5767d190
SM
206722011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
20673
20674 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
20675 Avoid open-line which runs post-self-insert-hook.
20676 (bibtex-fill-entry): Remove unused `end' var.
20677
bf242939
AM
206782011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
20679
5767d190
SM
20680 * textmodes/ispell.el (ispell-add-per-file-word-list):
20681 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 20682
25666126
LL
206832011-05-03 Leo Liu <sdl.web@gmail.com>
20684
20685 * isearch.el (isearch-yank-pop): New command.
5767d190 20686 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
20687 (isearch-forward): Mention it.
20688
52d3c2d0
SM
206892011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
20690
1bcace58
SM
20691 * simple.el (minibuffer-complete-shell-command): Remove.
20692 (minibuffer-local-shell-command-map): Use completion-at-point.
20693 (read-shell-command): Setup completion vars here instead.
20694 (read-expression-map): Bind TAB to symbol completion.
20695
52d3c2d0
SM
20696 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
20697 error directly rather via storing it into `results'.
20698
35813471
LL
206992011-05-02 Leo Liu <sdl.web@gmail.com>
20700
20701 * vc/diff.el: Fix description.
20702
e793a940
LMI
207032011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
20704
20705 * server.el (server-eval-at): New function.
20706
8de66e05
LMI
207072011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
20708
20709 * net/network-stream.el (open-network-stream): Take a :nowait
20710 parameter and pass it on to `make-network-process'.
20711 (network-stream-open-plain): Ditto.
20712
dcb79f20
AS
207132011-04-30 Andreas Schwab <schwab@linux-m68k.org>
20714
20715 * faces.el (face-spec-set-match-display): Don't match toolkit
20716 options on terminal frames.
20717
14a7fbd8
SM
207182011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
20719
7eabc1be
SM
20720 * progmodes/pascal.el: Use lexical binding.
20721 (pascal-mode-map): Remove author preferences.
20722
14a7fbd8
SM
20723 * pcomplete.el (pcomplete-std-complete): Don't abuse
20724 completion-at-point.
20725
50f84510
JB
207262011-04-28 Juanma Barranquero <lekktu@gmail.com>
20727
6e087a44
JB
20728 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
20729 removing code that has been dead since 1991 or so.
20730
50f84510
JB
20731 * startup.el (command-line): When warning about "_emacs", use a
20732 delayed warning to allow the user to filter it out.
20733
0ba690bd
DD
207342011-04-28 Deniz Dogan <deniz@dogan.se>
20735
20736 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
20737 user has not joined.
20738
08abfaad
SM
207392011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
20740
20741 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
20742 aren't any completions at point.
20743
638f053a
JB
207442011-04-28 Juanma Barranquero <lekktu@gmail.com>
20745
20746 * subr.el (display-delayed-warnings): New function.
20747 (delayed-warnings-hook): New variable.
20748
8fff8daa
SM
207492011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
20750
08abfaad
SM
20751 * minibuffer.el (completion-at-point, completion-help-at-point):
20752 Don't presume that a given completion-at-point-function will always
20753 use the same calling convention.
20754
8fff8daa
SM
20755 * pcomplete.el (pcomplete-completions-at-point):
20756 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
20757 pcomplete-seen is non-nil.
20758 (pcomplete-comint-setup): Also recognize the new comint/shell
20759 completion functions.
20760 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
20761 pcomplete-seen is non-nil.
20762
841a1577 207632011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 20764
841a1577 20765 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 20766 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 20767 the first character in the entry. This allows for code to add its
211ec907
UJ
20768 own uid to the entry.
20769 (icalendar--convert-float-to-ical): Add export of
20770 `diary-float'-entries save for those with the optional DAY
20771 argument.
20772
2a782793
DC
207732011-04-27 Daniel Colascione <dan.colascione@gmail.com>
20774
20775 * subr.el (shell-quote-argument): Use alternate escaping strategy
20776 when we spot a variable reference in a string.
20777
0438ce91
DC
207782011-04-26 Daniel Colascione <dan.colascione@gmail.com>
20779
20780 * cus-start.el (all): Define customization for debug-on-event.
20781
841a1577 207822011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
20783
20784 * subr.el (shell-quote-argument): Escape correctly under Windows.
20785
d090ed6c
SM
207862011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
20787
20788 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
20789
bfd31217
MA
207902011-04-25 Michael Albinus <michael.albinus@gmx.de>
20791
d090ed6c
SM
20792 * net/tramp.el (tramp-process-actions): Add POS argument.
20793 Delete region between POS and (pos).
bfd31217 20794
d090ed6c
SM
20795 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
20796 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
20797 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
20798
20799 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
20800 position in `tramp-process-actions' call.
20801
20802 * net/trampver.el: Update release number.
20803
e92f3bd3
SM
208042011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
20805
850256b5
SM
20806 * custom.el (defcustom): Obey lexical-binding.
20807
e92f3bd3
SM
20808 Fix octave-inf completion problems reported by Alexander Klimov.
20809 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
20810 Inherit from octave-mode-syntax-table.
20811 (inferior-octave-mode): Set info-lookup-mode.
20812 (inferior-octave-completion-at-point): New function.
20813 (inferior-octave-complete): Use it and completion-in-region.
20814 (inferior-octave-dynamic-complete-functions): Use it as well, and use
20815 comint-filename-completion.
20816 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
20817 symbol elements which shouldn't be word elements.
20818 (octave-font-lock-keywords, octave-beginning-of-defun)
20819 (octave-function-header-regexp): Adjust regexps accordingly.
20820 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
20821
cd22b309
JB
208222011-04-25 Juanma Barranquero <lekktu@gmail.com>
20823
20824 * net/gnutls.el (gnutls-errorp): Declare before first use.
20825
8b492194
TZ
208262011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
20827
20828 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
20829 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 20830 default trustfile exists before going to use it. Add missing
5a5fa834 20831 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
20832 Reported by Claudio Bley <claudio.bley@gmail.com>.
20833 (open-gnutls-stream): Add usage example.
20834
20835 * net/network-stream.el (network-stream-open-starttls): Give host
20836 parameter to `gnutls-negotiate'.
20837 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 20838 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 20839
841a1577 208402011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 20841
cd22b309
JB
20842 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
20843 Use correct match group (bug#8438).
05842630 20844
3ba7869c
CY
208452011-04-24 Chong Yidong <cyd@stupidchicken.com>
20846
512e3ae1
CY
20847 * emacs-lisp/package.el (package-built-in-p): Fix typo.
20848 (package-menu--generate): New arg specifying packages to show.
20849 (package-menu-refresh, package-menu-execute, list-packages):
20850 Callers changed.
20851 (package-show-package-list): New function, replacing deleted
20852 package--list-packages (renamed because it is non-internal).
20853
20854 * finder.el (finder-list-matches): Use package-show-package-list
20855 instead of deleted package--list-packages.
20856
e92f3bd3
SM
20857 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
20858 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
20859 (vc-annotate-mode-map): Bind it to RET.
20860
7031be6d
UR
208612011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
20862
20863 * progmodes/etags.el (next-file): Don't use set-buffer to change
20864 buffers (Bug#8478).
20865
4ef177aa
CY
208662011-04-24 Chong Yidong <cyd@stupidchicken.com>
20867
c8d173eb
CY
20868 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
20869
4ef177aa
CY
20870 * apropos.el (apropos-label-face): Avoid variable-pitch face.
20871 (apropos-accumulator): Doc fix.
20872 (apropos-function, apropos-macro, apropos-command)
20873 (apropos-variable, apropos-face, apropos-group, apropos-widget)
20874 (apropos-plist): Add face property.
20875 (apropos-symbols-internal): Fix indentation.
20876 (apropos-print): Simplify help, and recognize apropos-multi-type.
20877 (apropos-print-doc): Use button-type-get to extract the button's
20878 face property. Fill docstring (Bug#8352).
20879
4ffd0d6b 208802011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
20881
20882 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
20883
c6c32125 20884 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 20885 (mpuz-mode-map): Use mapc.
c6c32125
JB
20886 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
20887 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
20888 Fix typos in docstrings.
20889
58d468b4
JB
20890 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
20891 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
20892
6470c3c6
JB
20893 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
20894
4ffd0d6b 208952011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
20896
20897 * minibuffer.el (completion--do-completion): Avoid the "Next char
20898 not unique" prompt if icomplete-mode is enabled (Bug#5849).
20899
3ad8bad0
CY
20900 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
20901 mouse-2 into unread-command-events, it is interpreted correctly.
20902
71d73c9c 20903 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 20904 (image-toggle-display): Doc fix.
71d73c9c 20905
841a1577 209062011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 20907
4ffd0d6b
GM
20908 * textmodes/page.el (what-page): Use line-number-at-pos to
20909 calculate line number (Bug#6825).
6e1dbaa9 20910
c2fb1b60
JB
209112011-04-22 Juanma Barranquero <lekktu@gmail.com>
20912
20913 * eshell/esh-mode.el (find-tag-interactive): Declare function.
20914 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
20915 Pass argument NO-DEFAULT to `find-tag-interactive'.
20916
e02f48d7
JB
209172011-04-22 Juanma Barranquero <lekktu@gmail.com>
20918
20919 Lexical-binding cleanup.
20920
20921 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
20922 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
20923 * progmodes/ada-prj.el (ada-prj-initialize-values)
20924 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
20925 (ada-prj-show-value):
20926 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
20927 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
20928 (antlr-invalidate-context-cache, antlr-options-menu-filter)
20929 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
20930 * progmodes/bug-reference.el (bug-reference-push-button):
20931 * progmodes/fortran.el (fortran-line-length):
20932 * progmodes/glasses.el (glasses-change):
20933 * progmodes/octave-mod.el (octave-fill-paragraph):
20934 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
20935 (python-pdbtrack-grub-for-buffer, python-sentinel):
20936 * progmodes/sql.el (sql-save-connection):
20937 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
20938 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
20939 Mark unused parameters.
20940
20941 * progmodes/compile.el (compilation--flush-directory-cache)
20942 (compilation--flush-parse, compile-internal): Mark unused parameters.
20943 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
20944 (compilation-next-error-function): Remove unused variable `timestamp'.
20945
20946 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
20947 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
20948
20949 * progmodes/dcl-mode.el (dcl-end-of-command):
20950 Remove unused variable `start'.
20951 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
20952 (dcl-option-value-basic, dcl-option-value-offset)
20953 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
20954 Mark unused parameters.
20955 (dcl-save-local-variable): Remove unused variable `val'.
20956 (mode): Declare.
20957
20958 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
20959 Mark unused parameters.
20960 (delphi-ignore-changes): Move before first use.
20961 (delphi-charset-token-at): Remove unused variable `start'.
20962 (delphi-else-start): Remove unused variable `if-count'.
20963 (delphi-comment-block-start, delphi-comment-block-end):
20964 Remove unused variable `kind'.
20965 (delphi-indent-line): Remove unused variable `new-point'.
20966
20967 * progmodes/ebrowse.el (ebrowse-files-list)
20968 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
20969 Mark unused parameters. Don't quote `lambda'.
20970 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
20971 Don't quote `lambda'.
20972 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
20973 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
20974 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
20975 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
20976 Use `ignore-errors'.
20977 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
20978 (ebrowse-view/find-file-and-search-pattern)
20979 (ebrowse-view/find-member-declaration/definition):
20980 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
20981 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
20982 Rename parameter PREFIX-ARG to PREFIX.
20983 (ebrowse-tags-read-name): Remove unused variables `start' and
20984 `member-info'.
20985 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
20986 to `tags-file'.
20987
20988 * progmodes/etags.el (local-find-tag-hook): Declare.
20989 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
20990 Mark unused parameters.
20991
20992 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
20993 (executable-interpret): Mark unused parameter.
20994
20995 * progmodes/flymake.el (flymake-process-sentinel)
20996 (flymake-after-change-function)
20997 (flymake-create-temp-with-folder-structure)
20998 (flymake-get-include-dirs-dot): Mark unused parameters.
20999 (flymake-safe-delete-directory): Remove unused variable `err'.
21000
21001 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
21002 (speedbar-timer-fn, speedbar-line-text)
21003 (speedbar-change-expand-button-char, speedbar-delete-subblock)
21004 (speedbar-center-buffer-smartly): Declare functions.
21005 (gdb-find-watch-expression): Remove unused variable `array'.
21006 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
21007 (gdb-starting): Mark unused parameters.
21008 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
21009 (gdb-table-string): Remove unused variable `res'.
21010 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
21011 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
21012 (gdb-display-buffer): Remove unused variable `cur-size'.
21013
21014 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
21015 allow lexical-binding compilation.
21016 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
21017 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
21018 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
21019 Mark unused parameters.
21020 (gud-gdb-marker-filter): Remove unused variable `match'.
21021 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
21022 lambda expressions and funcall them, instead of using `fset'.
21023
21024 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
21025 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
21026
21027 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
21028 variable `header-beg'; use `let'.
21029
21030 * progmodes/icon.el (indent-icon-exp): Remove unused variables
21031 `restart', `last-sexp' and `at-do'.
21032
21033 * progmodes/js.el (js--debug): Mark unused parameter.
21034 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
21035 (js--splice-into-items): Remove unused variable `item'.
21036 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
21037
21038 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
21039 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
21040 (makefile-complete): Remove unused variable `try'.
21041 (makefile-fill-paragraph, makefile-match-function-end):
21042 Mark unused parameters.
21043
21044 * progmodes/octave-inf.el (inferior-octave-complete):
21045 Remove unused variable `proc'.
21046 (inferior-octave-output-digest): Mark unused parameter.
21047
21048 * progmodes/perl-mode.el (perl-calculate-indent):
21049 Remove unused variable `err'.
21050
21051 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
21052 (prolog-indent-line): Mark unused parameters.
21053 (prolog-indent-line): Remove unused variable `beg'.
21054
21055 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
21056 (reporter-dont-compact-list): Declare.
21057
21058 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
21059 Remove unused variable `char'.
21060 (sh-debug): Mark unused parameter.
21061 (sh-get-indent-info): Remove unused variable `start'.
21062 (sh-calculate-indent): Remove unused variable `var'.
21063
21064 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
21065 (simula-electric-keyword): Remove unused variable `null'.
21066 (simula-search-backward, simula-search-forward): Remove unused
21067 variables `begin' and `end'.
21068
21069 * progmodes/vera-mode.el (vera-guess-basic-syntax):
21070 Remove unused variable `pos'.
21071 (vera-electric-tab, vera-comment-uncomment-region):
21072 Mark unused parameters.
21073 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
21074
7ede3b65
CY
210752011-04-22 Chong Yidong <cyd@stupidchicken.com>
21076
21077 * emacs-lisp/package.el (package--builtins, package-alist)
21078 (package-load-descriptor, package-built-in-p, package-activate)
21079 (define-package, package-installed-p)
21080 (package-compute-transaction, package-buffer-info)
21081 (package--push): Doc fix. Distinguish more clearly between
21082 version strings and version lists.
21083
121656e9
JB
210842011-04-21 Juanma Barranquero <lekktu@gmail.com>
21085
21086 Lexical-binding cleanup.
21087
21088 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
21089 (5x5-make-mutate-best):
21090 * play/fortune.el (fortune-in-buffer):
21091 * play/gomoku.el (gomoku-init-display):
21092 * play/solitaire.el (solitaire, solitaire-do-check):
21093 * play/tetris.el (tetris-default-update-speed-function):
21094 Mark unused parameters.
21095
21096 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
21097 (bubbles--shift): Remove unused variable `char-org'.
21098 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
21099 (bubbles--show-images): Remove unused variable `char'.
21100
21101 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
21102 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
21103 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
21104 (decipher-analyze-buffer): Use ?\s.
21105 (decipher-make-checkpoint): Remove unused variable `mapping'.
21106
21107 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
21108
21109 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
21110 Remove unused variable `result'; use `let'.
21111
21112 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
21113 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
21114 (gametree-children-shown-p, gametree-compute-reduced-score):
21115 Use `ignore-errors'.
21116
21117 * play/handwrite.el (ps-lpr-switches): Declare.
21118 (handwrite): Remove unused variables `pmin' and `lastp'.
21119
21120 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
21121
21122 * play/landmark.el (landmark-init-display)
21123 (landmark-update-naught-weights): Mark unused parameters.
21124 (landmark-y): Remove unused variable `noise'. Simplify.
21125 (landmark-human-plays): Remove unused variable `score'.
21126
21127 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
21128 (mpuz-try-proposal): Remove unused variable `game'.
21129
21130 * play/zone.el (life-patterns): Declare.
21131
80f499c7
JB
211322011-04-20 Juanma Barranquero <lekktu@gmail.com>
21133
21134 * vc/vc.el (ediff-vc-internal): Declare function.
21135
024ff170
SM
211362011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
21137
c0a193ea
SM
21138 * shell.el: Use lexical-binding and std completion UI.
21139 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
21140 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
21141 comint-preoutput-filter-functions rather than on
21142 comint-output-filter-functions.
21143 (shell-command-completion, shell--command-completion-data)
21144 (shell-filename-completion, shell-environment-variable-completion)
21145 (shell-c-a-p-replace-by-expanded-directory): New functions.
21146 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
21147 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
21148 (shell-dynamic-complete-environment-variable): Use them.
21149 (shell-dynamic-complete-as-environment-variable)
21150 (shell-dynamic-complete-as-command): Remove.
21151 (shell-match-partial-variable): Match past point.
21152 * comint.el: Clean up use of completion-at-point-functions.
21153 (comint-completion-at-point): New function.
21154 (comint-mode): Use it completion-at-point-functions.
21155 (comint-dynamic-complete): Make it obsolete.
21156 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
21157 (comint-c-a-p-replace-by-expanded-history): New function.
21158 (comint-dynamic-complete-functions)
21159 (comint-replace-by-expanded-history): Use it.
21160 * minibuffer.el (completion-table-with-terminator): Allow dynamic
21161 termination strings. Try harder to avoid second try-completion.
21162 (completion-in-region-mode-map): Disable bindings that don't work yet.
21163
2dbaa080
SM
21164 * comint.el: Use lexical-binding. Require CL.
21165 (comint-dynamic-complete-functions): Use comint-filename-completion.
21166 (comint-completion-addsuffix): Tweak custom type.
21167 (comint-filename-completion, comint--common-suffix)
21168 (comint--common-quoted-suffix, comint--table-subvert)
21169 (comint--complete-file-name-data): New functions.
21170 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
21171 (comint-dynamic-list-filename-completions): Use them.
21172 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 21173
2dbaa080
SM
21174 * minibuffer.el (completion-in-region-mode):
21175 Keep completion-in-region-mode--predicate global.
21176 (completion-in-region--postch):
21177 Assume completion-in-region-mode--predicate is not null.
21178
c79a6f38
SM
21179 * progmodes/flymake.el (flymake-start-syntax-check-process):
21180 Obey `dir'. Simplify.
21181
024ff170
SM
21182 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
21183 we're in VC after all.
21184
1c6c854e
CS
211852011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
21186
21187 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 21188 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
21189 (vc-version-diff): Use vc-diff-build-argument-list-internal.
21190
bed7f140
SM
211912011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
21192
332e62ab
SM
21193 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
21194 add sanity check.
21195
bed7f140
SM
21196 * obsolete/erc-hecomplete.el: Make obsolete.
21197 * obsolete/: Standardize obsolescence info in the header.
21198
f195c582
GM
211992011-04-20 Glenn Morris <rgm@gnu.org>
21200
21201 * calendar/solar.el (solar-horizontal-coordinates):
21202 Use the longitude argument rather than `calendar-longitude'.
21203 (solar-date-next-longitude): Remove unused locals.
21204
cb79b8c0
VJL
212052011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
21206
21207 * whitespace.el: New version 13.2.1.
21208
212092011-04-20 felix <EmacsWiki> (tiny change)
21210
d8e4b68b 21211 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
21212 switching between major modes on a file.
21213
602ea69d
SM
212142011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
21215
21216 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
21217 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
21218 multi-line comments as well.
21219
06b60517
JB
212202011-04-19 Juanma Barranquero <lekktu@gmail.com>
21221
21222 Lexical-binding cleanup.
21223
21224 * arc-mode.el (archive-mode-revert):
21225 * cmuscheme.el (scheme-interactively-start-process):
21226 * custom.el (custom-initialize-delay):
21227 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
21228 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
21229 * emacs-lock.el (emacs-lock-clear-sentinel):
21230 * ezimage.el (defezimage):
21231 * follow.el (follow-avoid-tail-recenter):
21232 * fringe.el (set-fringe-mode-1):
21233 * generic-x.el (bat-generic-mode-compile):
21234 * help-mode.el (help-info-variable, help-do-xref)
21235 (help-mode-revert-buffer):
21236 * help.el (view-emacs-todo):
21237 * iswitchb.el (iswitchb-completion-help):
21238 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
21239 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
21240 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
21241 * locate.el (locate-update):
21242 * longlines.el (longlines-encode-region)
21243 (longlines-after-change-function):
21244 * outline.el (outline-isearch-open-invisible):
21245 * ps-def.el (declare-function, charset-dimension, char-width)
21246 (encode-char):
21247 * ps-mule.el (ps-mule-plot-string):
21248 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
21249 (recentf-edit-list-select, recentf-edit-list-validate)
21250 (recentf-open-files-action):
21251 * rect.el (delete-whitespace-rectangle-line)
21252 (rectangle-number-line-callback):
21253 * register.el (window-configuration-to-register)
21254 (frame-configuration-to-register):
21255 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
21256 * select.el (xselect-convert-to-string, xselect-convert-to-length)
21257 (xselect-convert-to-targets, xselect-convert-to-delete)
21258 (xselect-convert-to-filename, xselect-convert-to-charpos)
21259 (xselect-convert-to-lineno, xselect-convert-to-colno)
21260 (xselect-convert-to-os, xselect-convert-to-host)
21261 (xselect-convert-to-user, xselect-convert-to-class)
21262 (xselect-convert-to-name, xselect-convert-to-integer)
21263 (xselect-convert-to-atom, xselect-convert-to-identity):
21264 * subr.el (declare, ignore, process-kill-without-query)
21265 (text-clone-maintain):
21266 * terminal.el (te-get-char, te-tic-sentinel):
21267 * tool-bar.el (tool-bar-make-keymap):
21268 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
21269 * type-break.el (type-break-mode, type-break-noninteractive-query):
21270 * view.el (View-back-to-mark):
21271 * wid-browse.el (widget-browse-action, widget-browse-widget)
21272 (widget-browse-widgets, widget-browse-sexp):
21273 * widget.el (define-widget-keywords):
21274 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
21275 Mark unused parameters.
21276
21277 * align.el (align-adjust-col-for-rule): Mark unused parameter.
21278 (align-areas): Remove unused variable `look'.
21279 (align-region): Remove unused variables `real-end' and `pos-list'.
21280
21281 * apropos.el (apropos-score-doc): Remove unused variable `i'.
21282
21283 * bindings.el (mode-line-modified, mode-line-remote):
21284 Mark unused parameters.
21285 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
21286
21287 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
21288 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
21289
21290 * comint.el (comint-history-isearch-pop-state)
21291 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
21292 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
21293 (comint-substitute-in-file-name): Doc fix.
21294
21295 * completion.el (cmpl-statistics-block): Mark unused parameter.
21296 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
21297 (save-completions-to-file, load-completions-from-file):
21298 Remove unused local variable `e'.
21299
21300 * composite.el (compose-chars): Remove unused variable `len'.
21301 (lgstring-insert-glyph): Remove unused variable `g'.
21302 (compose-glyph-string): Remove unused variables `ascent',
21303 `descent', `lbearing' and `rbearing'.
21304 (compose-glyph-string-relative): Remove unused variables
21305 `lbearing', `rbearing' and `wadjust'.
21306 (compose-gstring-for-graphic): Remove unused variables `header',
21307 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
21308 (compose-gstring-for-terminal): Remove unused variables `header'
21309 and `nchars'. Use `let', not `let*'.
21310
21311 * cus-edit.el (Custom-set, Custom-save, custom-reset)
21312 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
21313 (Custom-buffer-done, custom-buffer-create-internal)
21314 (custom-browse-visibility-action, custom-browse-group-tag-action)
21315 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
21316 (widget-magic-mouse-down-action, custom-toggle-parent)
21317 (custom-add-parent-links, custom-toggle-hide-variable)
21318 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
21319 (custom-toggle-hide-face, face, hook, custom-group-link-action)
21320 (custom-face-menu-create, custom-variable-menu-create, get)
21321 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
21322 (custom-reset-standard-save-and-update): Remove unused variable `value'.
21323 (customize-apropos): Remove unused variable `tests'.
21324 (custom-group-value-create): Remove unused variable `hidden-p'.
21325 (sort-fold-case): Declare.
21326
21327 * cus-theme.el (custom-reset-standard-faces-list)
21328 (custom-reset-standard-variables-list): Declare.
21329 (customize-create-theme, custom-theme-revert, custom-theme-write)
21330 (custom-theme-choose-mode, customize-themes, custom-theme-save):
21331 Mark unused parameters.
21332
21333 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
21334
21335 * delim-col.el (delimit-columns-max): Move defvar before first use.
21336
21337 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 21338 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
21339
21340 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
21341 (auto-insert): Declare.
21342 (desktop-restore-file-buffer): Rename desktop-* parameters;
21343 mark unused ones.
21344 (desktop-create-buffer): Rename desktop-* parameters and bind them.
21345 (desktop-buffer): Rename desktop-* parameters.
21346
21347 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
21348 (dframe-reposition-frame-xemacs, dframe-help-echo)
21349 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
21350 Mark unused parameters.
21351
21352 * dired-aux.el (backup-extract-version-start, overwrite-query)
21353 (overwrite-backup-query, rename-regexp-query)
21354 (rename-non-directory-query): Declare.
21355 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
21356 (dired-add-entry): Remove unused variable `orig-file-name'.
21357 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
21358 Use parameter PRESERVE-TIME instead of accessing dynamic variable
21359 `dired-copy-preserve-time' directly.
21360 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
21361 (dired-insert-subdir-newpos): Rename unused variable `pos'.
21362
21363 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
21364 (dired-virtual-revert, dired-make-relative-symlink):
21365 Mark unused parameters.
21366 (manual-program): Declare.
21367 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
21368 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
21369 wrapped in `with-no-warnings' to avoid replacing one warning by another.
21370
21371 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
21372
21373 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
21374
21375 * echistory.el (electric-history-in-progress, Helper-return-blurb):
21376 Declare.
21377
21378 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
21379
21380 * electric.el (Electric-command-loop): Rename parameter
21381 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
21382
21383 * expand.el (expand-in-literal): Remove unused variable `here'.
21384
21385 * facemenu.el (facemenu-add-new-color):
21386 Remove unused variable `docstring'.
21387
21388 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
21389 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
21390 (face-attr-construct): Mark unused parameter. Doc fix.
21391 (read-color): Remove unused variable `hex-string'.
21392
21393 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
21394 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
21395 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
21396 (display-buffer-other-frame): Remove unused variable `old-window'.
21397 (kill-buffer-hook): Declare.
21398 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
21399 Mark unused parameters.
21400 (after-find-file): Pass 1 to `auto-save-mode', not t.
21401
21402 * files-x.el (auto-insert): Declare.
21403 (modify-file-local-variable-prop-line): Remove unused variable `val'.
21404
21405 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 21406 variable `buf'. Mark unused parameter.
06b60517
JB
21407 (find-lisp-insert-directory): Mark unused parameter.
21408
21409 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
21410 (format-encode-region): Remove unused variables `cur-buf' and `result'.
21411 (format-common-tail): Remove, unused.
21412 (format-deannotate-region): Remove unused variable `loc'.
21413 (format-annotate-region): Remove unused variable `p'.
21414 (format-annotate-single-property-change): Remove unused variables
21415 `default' and `tail'.
21416
21417 * forms.el (read-file-filter): Declare.
21418 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
21419
21420 * frame.el (frame-creation-function-alist): Mark unused parameter.
21421 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
21422
21423 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
21424 Remove unused parameters.
21425 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
21426 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
21427
21428 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
21429 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
21430 (hfy-prepare-tag-map): Mark unused parameters.
21431 (htmlfontify-buffer): Use `called-interactively-p'.
21432
21433 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
21434 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
21435 (ibuffer-do-occur): Mark unused parameters.
21436 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
21437 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
21438
21439 * ibuffer.el: Don't quote `lambda'.
21440 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
21441 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
21442 Mark unused parameters.
21443
21444 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
21445 (ido-completing-read): Mark unused parameters.
21446 (ido-copy-current-word): Mark unused parameters;
21447 remove unused variable `name'.
21448 (ido-sort-merged-list): Remove unused parameter `dirs'.
21449
21450 * ielm.el (ielm-input-sender): Mark unused parameter.
21451 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
21452 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
21453 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
21454 `ielm-string' as a dynamic variable accessible from the IELM prompt.
21455 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
21456
21457 * image-dired.el (image-dired-display-thumbs): Remove unused
21458 variables `curr-file' and `count'.
21459 (image-dired-remove-tag): Remove unused variable `start'.
21460 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
21461 variable `curr-file'
21462 (image-dired-rotate-original): Remove unused variable `temp-file'.
21463 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
21464 Remove unused variable `file'.
21465 (image-dired-gallery-generate): Remove unused variable `curr'.
21466 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
21467
21468 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
21469
21470 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
21471
21472 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
21473
21474 * isearch.el (minibuffer-history-symbol): Declare.
21475 (isearch-edit-string): Remove unused variable `err'.
21476 (isearch-message-prefix, isearch-message-suffix):
21477 Mark unused parameters.
21478
21479 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
21480
21481 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
21482
21483 * makesum.el (double-column): Remove unused variable `cnt'.
21484
21485 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
21486 (ido-ignore-item-temp-list): Declare.
21487
21488 * mouse-drag.el (mouse-drag-throw): Remove unused variables
21489 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
21490 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
21491 (mouse-drag-drag): Remove unused variables `mouse-delta' and
21492 `mouse-col-delta'.
21493
21494 * mouse-sel.el (mouse-extend-internal):
21495 Remove unused variable `orig-window-frame'.
21496
21497 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
21498 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
21499 Move declarations before first use.
21500 (pcomplete-opt): Mark unused parameters; doc fix.
21501
21502 * proced.el (proced-revert): Mark unused parameter.
21503 (proced-send-signal): Remove unused variable `err'.
21504
21505 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
21506 Rename parameter PREFIX-ARG to ARG.
21507 (ps-basic-plot-string, ps-basic-plot-whitespace):
21508 Mark unused parameters.
21509
21510 * replace.el (replace-count): Define.
21511 (occur-revert-function): Mark unused parameters.
21512 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
21513 (isearch-case-fold-search, isearch-string): Declare.
21514 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
21515 bind `case-fold-search'. Remove unused variables `beg' and `end',
21516 and simplify.
21517 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
21518 COUNT and bind `replace-count'.
21519 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
21520 to COUNT.
21521
21522 * savehist.el (print-readably, print-string-length): Declare.
21523
21524 * shadowfile.el (shadow-expand-cluster-in-file-name):
21525 Remove unused variable `cluster'.
21526 (shadow-copy-file): Remove unused variable `i'.
21527 (shadow-noquery, shadow-clusters, shadow-site-cluster)
21528 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
21529 (shadow-define-literal-group, shadow-define-regexp-group)
21530 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
21531
21532 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
21533 (shell): Use `called-interactively-p'.
21534 (shell-directory-tracker): Remove unused variable `chdir-failure'.
21535
21536 * simple.el (compilation-context-lines, comint-file-name-quote-list)
21537 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
21538 (delete-backward-char): Remove unused variable `ocol'.
21539 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
21540 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
21541 (event-apply-hyper-modifier, event-apply-shift-modifier)
21542 (event-apply-control-modifier, event-apply-meta-modifier):
21543 Mark unused parameters.
21544 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
21545 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
21546
21547 * speedbar.el (speedbar-ignored-directory-expressions)
21548 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
21549 (speedbar-find-file, speedbar-dir-follow)
21550 (speedbar-directory-buttons-follow, speedbar-tag-find)
21551 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
21552 (speedbar-buffers-line-directory, speedbar-buffer-click):
21553 Mark unused parameters.
21554 (speedbar-tag-file): Remove unused variable `mode'.
21555 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
21556
21557 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
21558
21559 * talk.el (talk): Remove unused variable `display'.
21560
21561 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
21562 (tar-write-region-annotate): Mark unused parameter.
21563
21564 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
21565 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
21566 Declare them, wrapped in `with-no-warnings' to avoid replacing one
21567 warning by another.
21568
21569 * time-stamp.el (time-stamp-string-preprocess):
21570 Remove unused variable `require-padding'.
21571
21572 * tree-widget.el (widget-glyph-enable): Declare.
21573 (tree-widget-action): Mark unused parameter.
21574
21575 * w32-fns.el (x-get-selection): Mark unused parameter.
21576 (autoload-make-program, generated-autoload-file): Declare.
21577
21578 * wdired.el (wdired-revert): Mark unused parameters.
21579 (wdired-xcase-word): Remove unused variable `err'.
21580
21581 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
21582 (whitespace-help-scroll): Remove unused variable `data-help'.
21583
21584 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
21585 (widget-image-insert, widget-after-change, default)
21586 (widget-default-format-handler, widget-default-notify)
21587 (widget-default-prompt-value, widget-info-link-action)
21588 (widget-url-link-action, widget-function-link-action)
21589 (widget-variable-link-action, widget-file-link-action)
21590 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
21591 (widget-field-prompt-internal, widget-field-action, widget-field-match)
21592 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
21593 (widget-insert-button-action, widget-delete-button-action, visibility)
21594 (widget-documentation-link-action, widget-documentation-string-action)
21595 (widget-const-prompt-value, widget-regexp-match, symbol)
21596 (widget-coding-system-prompt-value)
21597 (widget-key-sequence-value-to-external, sexp)
21598 (widget-sexp-value-to-internal, character, vector, cons)
21599 (widget-choice-prompt-value, widget-boolean-prompt-value)
21600 (widget-color--choose-action): Mark unused parameters.
21601 (widget-item-match-inline, widget-choice-match-inline)
21602 (widget-checklist-match, widget-checklist-match-inline)
21603 (widget-group-match): Rename parameter VALUES to VALS.
21604 (widget-field-value-set): Remove unused variable `size'.
21605 (widget-color-action): Remove unused variables `value' and `start'.
21606
21607 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 21608 variable `dir'. Doc fix.
06b60517
JB
21609 (windmove-find-other-window): Don't pass it.
21610
21611 * window.el (count-windows): Mark unused parameter.
21612 (bw-adjust-window): Remove unused variable `err'.
21613
21614 * woman.el (woman-file-name): Remove unused variable `default'.
21615 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
21616 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
21617 (global-font-lock-mode): Declare.
21618 (woman-decode-region): Mark unused parameter.
21619 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
21620
21621 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
21622 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
21623 (x-dnd-handle-moz-url): Remove unused variable `title'.
21624 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
21625
21626 * xml.el (xml-parse-tag, xml-parse-attlist):
21627 Remove unused variable `pos'.
21628
bc4f7f3d
GM
216292011-04-19 Glenn Morris <rgm@gnu.org>
21630
21631 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
21632 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
21633 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
21634 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
21635 * calendar/cal-html.el (cal-html-insert-minical):
21636 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
21637 (calendar-mark-date-pattern):
21638 Prefix "unused" locals.
21639
21640 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
21641 optional argument `style'.
21642
21643 * calendar/appt.el (appt-make-list):
21644 * calendar/cal-china.el (calendar-chinese-date-string):
21645 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
21646 (diary-hebrew-yahrzeit):
21647 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
21648 * calendar/calendar.el (calendar-generate-window):
21649 * calendar/time-date.el (time-to-days):
21650 Remove unused local variables.
21651
16a43933
CY
216522011-04-18 Chong Yidong <cyd@stupidchicken.com>
21653
21654 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
21655 glyphless-char-display table.
21656 (tabulated-list-glyphless-char-display): New var.
21657
7eed1860
SS
216582011-04-18 Sam Steingold <sds@gnu.org>
21659
21660 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
21661 to acknowledgments.
21662
4d2d1ccd
GM
216632011-04-17 Glenn Morris <rgm@gnu.org>
21664
21665 * calendar/diary-lib.el (diary-sexp-entry):
21666 * calendar/holidays.el (holiday-sexp):
21667 Set debug-on-error rather than the removed stack-trace-on-error.
21668
239da61d
GM
216692011-04-16 Glenn Morris <rgm@gnu.org>
21670
21671 * progmodes/f90.el: Use lexical-binding.
21672 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
21673
8b05752a
SM
216742011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
21675
daca8ba5
SM
21676 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
21677 (mail-mode): Setup mailalias completion here instead.
21678 * mail/mailalias.el: Use lexical-binding.
21679 (pattern, mailalias-done): Declare dynamic.
21680 (mail-completion-at-point-function): New function, from mail-complete.
21681 (mail-complete): Use it.
21682 (mail-completion-expand): New function.
21683 (mail-get-names): Use it.
21684 (mail-directory, mail-directory-process, mail-directory-stream):
21685 Don't use `pattern' for lexically bound arg.
21686
6f542485
SM
21687 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
21688
037e7c3f
SM
21689 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
21690 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
21691 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
21692
8b05752a
SM
21693 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
21694 (byte-save-window-excursion, byte-temp-output-buffer-setup)
21695 (byte-interactive-p): Define them again, for use when inlining
21696 old code.
21697
49093f60
JB
216982011-04-15 Juanma Barranquero <lekktu@gmail.com>
21699
21700 * loadup.el: Use `string-to-number', not `string-to-int'.
21701
b5b8e7de
SM
217022011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
21703
21704 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
21705 gud-gdb-complete-command.
21706 (gud-gdb-completions): New function, from gud-gdb-complete-command.
21707 (gud-gdb-completion-at-point): New function.
21708 (gud-gdb-completions): Remove.
21709
f42efeb5
MA
217102011-04-14 Michael Albinus <michael.albinus@gmx.de>
21711
49093f60
JB
21712 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
21713 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
21714 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
21715 whether `executable-find' is bound.
f42efeb5
MA
21716
21717 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
21718
e240cc21
SM
217192011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
21720
21721 * minibuffer.el (completion-in-region-mode-predicate)
21722 (completion-in-region-mode--predicate): New vars.
21723 (completion-in-region, completion-in-region--postch)
21724 (completion-in-region-mode): Use them.
21725 (completion--capf-wrapper): Also return the hook function.
21726 (completion-at-point, completion-help-at-point):
21727 Adjust and provide a predicate.
c2bd2ab0
SM
21728
21729 Preserve arg names for advice of subr and lexical functions (bug#8457).
21730 * help-fns.el (help-function-arglist): Consolidate the subr and
21731 new-byte-code cases. Add argument `preserve-names' to extract names
21732 from the docstring when needed.
21733 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
21734 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
21735 (ad-arglist): Use help-function-arglist's new arg.
21736 (ad-definition-type): Use cond.
21737
c183f693
JB
217382011-04-13 Juanma Barranquero <lekktu@gmail.com>
21739
06641a47
JB
21740 * autorevert.el (auto-revert-handler):
21741 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
21742 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
21743 Don't quote lambda.
21744
c183f693
JB
21745 * image-mode.el (image-transform-set-scale):
21746 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
21747
1e3b6001
G
217482011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
21749
21750 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 21751 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
21752 Upgrades via gnutls-cli are too slow to be done opportunistically.
21753
2d6af8dd
JB
217542011-04-12 Juanma Barranquero <lekktu@gmail.com>
21755
21756 * dframe.el (dframe-current-frame): Remove spurious quote.
21757
c0749a51
GM
217582011-04-12 Glenn Morris <rgm@gnu.org>
21759
088d0d61
GM
21760 * calendar/cal-tex.el (cal-tex-end-document):
21761 Try to automatically use latin1 input if needed.
21762
c0749a51
GM
21763 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
21764 Don't try to cons a mark onto an empty element.
21765
5c90fde0
LL
217662011-04-11 Leo Liu <sdl.web@gmail.com>
21767
21768 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
21769 buffers.
21770 (ido-kill-buffer-at-head): Support killing virtual buffers.
21771
369e974d
CY
217722011-04-10 Chong Yidong <cyd@stupidchicken.com>
21773
21774 * minibuffer.el (completion-show-inline-help): New var.
21775 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
21776 (minibuffer-force-complete, minibuffer-complete-word):
21777 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
21778
21779 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
21780 to avoid interference from inline help (Bug#5849).
21781
37f1c930
LL
217822011-04-10 Leo Liu <sdl.web@gmail.com>
21783
099c39a4
JB
21784 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
21785 Fix typo.
37f1c930 21786
a32d4040
CY
217872011-04-09 Chong Yidong <cyd@stupidchicken.com>
21788
21789 * image-mode.el (image-toggle-display-image): Signal an error if
21790 not in Image mode.
21791 (image-transform-mode, image-transform-resize)
21792 (image-transform-set-rotation): Doc fix.
daca8ba5 21793 (image-transform-set-resize): Delete.
a32d4040
CY
21794 (image-transform-set-scale, image-transform-fit-to-height)
21795 (image-transform-fit-to-width): Handle image-toggle-display-image
21796 and image-transform-resize directly.
21797
099c39a4 217982011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
21799
21800 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
21801 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
21802 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
21803 (doc-view-mode-map): Add bindings for the new functions.
21804
099c39a4 218052011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 21806
4d61f28d 21807 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
21808 Fix typo in docstring.
21809
3726838a
EZ
218102011-04-08 Eli Zaretskii <eliz@gnu.org>
21811
04f33f1e
EZ
21812 * files.el (file-size-human-readable): Produce one digit after
21813 decimal, like "ls -lh" does.
21814
21815 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
21816 the file size representation.
21817
3726838a
EZ
21818 * simple.el (list-processes): If async subprocesses are not
21819 available, error out with a clear error message.
21820
cbb59342
CY
218212011-04-08 Chong Yidong <cyd@stupidchicken.com>
21822
21823 * help.el (help-form-show): New function, to be called from C.
21824 Put help-form output in a buffer named differently than *Help*.
21825
e3971c44
EZ
218262011-04-08 Eli Zaretskii <eliz@gnu.org>
21827
21828 * files.el (file-size-human-readable): New function.
21829
21830 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
21831 computing the representation inline. Don't require `cl'.
21832
12544bbe
GM
218332011-04-08 Glenn Morris <rgm@gnu.org>
21834
a1de6c6a
GM
21835 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
21836
3c4671f4
GM
21837 * net/browse-url.el (browse-url-firefox):
21838 Test system-type, not system-configuration.
21839
b605679c
GM
21840 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
21841 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
21842 Use log-edit-empty-buffer-p. (Bug#7598)
21843
56442f0c
GM
21844 * net/rlogin.el (rlogin-process-connection-type): Simplify.
21845 (rlogin-mode-map): Initialize in the defvar.
21846 (rlogin): Use ignore-errors.
21847
12544bbe
GM
21848 * replace.el (occur-mode-map): Some fixes for menu items.
21849
eb237b0f
AH
218502011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
21851
21852 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
21853
7d668f2c
CY
218542011-04-06 Chong Yidong <cyd@stupidchicken.com>
21855
e67a13ab
CY
21856 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
21857 issuing unused warnings.
21858
21859 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
21860 macro directly.
21861
7d668f2c
CY
21862 * simple.el: Lisp reimplement of list-processes. Based on an
21863 earlier reimplementation by Leo Liu, but using tabulated-list.el.
21864 (process-menu-mode): New major mode.
21865 (list-processes--refresh, list-processes):
21866 (process-menu-visit-buffer): New functions.
21867
21868 * files.el (save-buffers-kill-emacs): Don't assume any return
21869 value of list-processes, which is undocumented anyway.
21870
a83ec3c9
CY
218712011-04-06 Chong Yidong <cyd@stupidchicken.com>
21872
21873 * emacs-lisp/tabulated-list.el: New file.
21874
e91a96fe
CY
21875 * emacs-lisp/package.el: Use Tabulated List mode.
21876 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
21877 (package-menu-mode): Derive from tabulated-list-mode. Set up the
21878 table format using Tabulated List mode variables.
21879 (package--push): New macro, replacing package-list-maybe-add.
21880 (package-menu--generate): Use package--push. Renamed from
21881 package--generate-package-list.
21882 (package-menu-refresh, list-packages): Use it.
daca8ba5 21883 (package-menu--print-info): Rename from package-print-package.
e91a96fe 21884 Return insertion data instead of inserting it directly.
099c39a4
JB
21885 (package-menu-describe-package, package-menu-execute):
21886 Use tabulated-list-get-id.
e91a96fe
CY
21887 (package-menu-mark-delete, package-menu-mark-install)
21888 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
21889 (package-menu-mark-obsolete-for-deletion):
21890 Use tabulated-list-put-tag.
e91a96fe
CY
21891 (package--list-packages, package-menu-revert)
21892 (package-menu-get-package, package-menu-get-version)
21893 (package-menu-sort-by-column): Functions deleted.
21894 (package-menu-package-list, package-menu-sort-key): Vars deleted.
21895 (package-menu--status-predicate, package-menu--version-predicate)
21896 (package-menu--name-predicate)
21897 (package-menu--description-predicate): Handle arguments in the
21898 Tabulated List format.
21899 (package-list-packages-no-fetch): Call list-packages.
21900
3e214b50
JB
219012011-04-06 Juanma Barranquero <lekktu@gmail.com>
21902
21903 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 21904 (after-find-file): Don't bind it.
3e214b50
JB
21905 (revert-buffer-in-progress-p): New variable.
21906 (revert-buffer): Bind it.
21907 Pass nil for `after-find-file-from-revert-buffer'.
21908
21909 * saveplace.el (save-place-find-file-hook): Use new variable
21910 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
21911
3f0f1700
GM
219122011-04-06 Glenn Morris <rgm@gnu.org>
21913
c0274801
GM
21914 * Makefile.in (AUTOGEN_VCS): New variable.
21915 (autoloads): Use $AUTOGEN_VCS.
21916
3f0f1700
GM
21917 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
21918 * calendar/calendar.el (calendar-mode-map):
21919 Check for toolkit scroll bars. (Bug#8305)
21920
41ea9e48
CY
219212011-04-05 Chong Yidong <cyd@stupidchicken.com>
21922
21923 * minibuffer.el (completion-in-region--postch)
21924 (completion-in-region-mode): Remove unnecessary messages.
21925
6194c800
JB
219262011-04-05 Juanma Barranquero <lekktu@gmail.com>
21927
33256f14
JB
21928 * font-lock.el (font-lock-refresh-defaults):
21929 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
21930 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
21931
6194c800
JB
21932 * info.el (Info-directory-list, Info-read-node-name-2)
21933 (Info-split-parameter-string): Doc fixes.
21934 (Info-virtual-nodes): Reflow docstring.
21935 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
21936 (Info-apropos-toc-nodes, info-finder, Info-get-token)
21937 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
21938 Fix typos in docstrings.
21939 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
21940 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
21941 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
21942 (Info-restore-desktop-buffer): Mark unused parameters.
21943 (Info-directory-find-file, Info-directory-find-node)
21944 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
21945 (Info-virtual-index-find-node, Info-apropos-find-file)
21946 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 21947 Mark unused parameters; fix typos in docstrings.
6194c800
JB
21948 (Info-virtual-index): Remove unused local variable `nodename'.
21949
b87a8200 219502011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 21951
b87a8200
DD
21952 * net/rcirc.el: Update my e-mail address.
21953 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 21954
3b2ff876
CY
219552011-04-05 Chong Yidong <cyd@stupidchicken.com>
21956
21957 * startup.el (command-line): Save the cursor's theme-face
21958 directly, instead of using face-override-spec.
21959
21960 * custom.el (load-theme): Minor optimization in assigning faces.
21961
8d17e7ca
JB
219622011-04-04 Juanma Barranquero <lekktu@gmail.com>
21963
21964 * help-fns.el (describe-variable): Complete all variables having
21965 documentation, including keywords.
21966 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
21967
2fbc1934
JB
219682011-04-04 Juanma Barranquero <lekktu@gmail.com>
21969
21970 Convert to lexical-binding.
21971
21972 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
21973 (bs--get-marked-string, bs--get-modified-string)
21974 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
21975 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
21976 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
21977
21978 * ehelp.el (electric-help-execute-extended)
21979 (electric-help-ctrl-x-prefix):
21980 * hexl.el (hexl-revert-buffer-function):
21981 * linum.el (linum-after-change, linum-after-scroll):
21982 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
21983
21984 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
21985
74f50695
DU
219862011-04-04 Daiki Ueno <ueno@unixuser.org>
21987
21988 * epa-dired.el:
21989 * epa-mail.el:
21990 * epa-hook.el:
21991 * epa-file.el:
21992 * epa.el:
21993 * epg.el: Use lexical binding.
21994
c11325f7
CY
219952011-04-03 Chong Yidong <cyd@stupidchicken.com>
21996
0d9e9a12
CY
21997 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
21998
c11325f7 21999 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
22000 dictionary case for flyspell-mark-duplications-exceptions.
22001 Use regexp matching for languages.
c11325f7
CY
22002 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
22003 default dictionary (Bug#7926).
22004
da91b5f2
CY
220052011-04-02 Chong Yidong <cyd@stupidchicken.com>
22006
099c39a4
JB
22007 * emacs-lisp/package.el (package--with-work-buffer):
22008 Recognize https URLs.
da91b5f2 22009
099c39a4
JB
22010 * net/network-stream.el: Move from gnus/proto-stream.el.
22011 Change prefix to network-stream throughout.
da91b5f2
CY
22012 (open-protocol-stream): Merge into open-network-stream, leaving
22013 open-protocol-stream as an alias. Handle nil BUFFER args.
22014
22015 * subr.el (open-network-stream): Move to net/network-stream.el.
22016
afa8e9f6
GM
220172011-04-02 Glenn Morris <rgm@gnu.org>
22018
1d2e369d
GM
22019 * find-dired.el (find-exec-terminator): New option.
22020 (find-ls-option): Test for -ls support.
22021 (find-ls-subdir-switches): Test for -b in find-ls-option.
22022 (find-dired, find-grep-dired): Doc fixes.
22023 (find-dired): Use find-exec-terminator.
22024
8abb7da8 22025 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
22026 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
22027 (find-name-arg): Remove purecopy.
8abb7da8 22028
f3ca7378
GM
22029 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
22030 (grep-compute-defaults): Check for `-exec COMMAND +' support.
22031 Set grep-find-use-xargs, grep-find-command, and grep-find-template
22032 accordingly. Don't add the null-device if not needed.
22033
afa8e9f6
GM
22034 * files.el (save-some-buffers): Doc fix.
22035
35eae264
EZ
220362011-04-02 Eli Zaretskii <eliz@gnu.org>
22037
22038 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
22039
26b51db5
JB
220402011-04-01 Juanma Barranquero <lekktu@gmail.com>
22041
22042 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
22043 Use `dolist' rather than `mapcar'.
22044
7200d79c
SM
220452011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
22046
03408648 22047 Add lexical binding.
7200d79c 22048
03408648
SM
22049 * subr.el (apply-partially): Use new closures rather than CL.
22050 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
22051 (dolist, dotimes): Use slightly different expansion for lexical code.
22052 (functionp): Move to C.
22053 (letrec): New macro.
22054 (with-wrapper-hook): Use it and apply-partially instead of CL.
22055 (eval-after-load): Preserve lexical-binding.
22056 (save-window-excursion, with-output-to-temp-buffer): Turn them
22057 into macros.
7200d79c 22058
03408648
SM
22059 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
22060
22061 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
22062 than the arglist.
22063 (help-add-fundoc-usage): Don't add `Not documented'.
22064 (help-function-arglist): Handle closures, subroutines, and new
22065 byte-code-functions.
22066 (help-make-usage): Remove leading underscores.
22067 (describe-function-1): Handle closures.
22068 (describe-variable): Use special-variable-p for completion.
22069
22070 * files.el (lexical-binding): Declare safe.
f488fb65 22071
03408648
SM
22072 * emacs-lisp/pcase.el: Don't use destructuring-bind.
22073 (pcase--memoize): Rename from pcase-memoize. Change weakness.
22074 (pcase): Add `let' pattern.
22075 Change memoization so it actually works.
22076 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
22077 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
22078 <let>: New case.
f488fb65 22079
03408648
SM
22080 * emacs-lisp/macroexp.el: Use lexical binding.
22081 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
22082 Don't convert ' to #' without checking that it's indeed quoting
22083 a lambda.
22084
22085 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 22086 Use eval-sexp-add-defvars.
03408648
SM
22087 (eval-sexp-add-defvars): New fun.
22088
22089 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
22090
22091 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
22092 Don't autoload.
22093 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
22094 than the internal `byte-compile-lambda'.
22095 (defmethod): Don't hide code under quotes.
22096 (eieio-defmethod): New `code' argument.
22097
22098 * emacs-lisp/eieio-comp.el: Remove.
22099
22100 * emacs-lisp/edebug.el (edebug-eval-defun)
22101 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
22102 (edebug-toggle): Avoid `eval'.
22103
22104 * emacs-lisp/disass.el (disassemble-internal): Handle new
22105 `closure' objects.
22106 (disassemble-1): Handle new byte codes.
22107
22108 * emacs-lisp/cl.el (pushnew): Silence warning.
22109
22110 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
22111 (cl-byte-compile-throw): Remove.
22112 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
22113
22114 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
22115 closures.
22116
22117 * emacs-lisp/cconv.el: New file.
22118
22119 * emacs-lisp/bytecomp.el: Use lexical binding instead of
22120 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
22121 (byte-compile-initial-macro-environment):
22122 Handle declare-function here.
22123 (byte-compile--lexical-environment): New var.
22124 (byte-stack-ref, byte-stack-set, byte-discardN)
22125 (byte-discardN-preserve-tos): New lap codes.
22126 (byte-interactive-p): Don't use any more.
22127 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
22128 New macros.
22129 (byte-compile-lapcode): Use them and handle new lap codes.
22130 (byte-compile-obsolete): Remove.
22131 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
22132 (byte-compile-arglist-warn): Check late def of inlinable funs.
22133 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
22134 since they should have been expanded by now.
22135 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
22136 (byte-compile-from-buffer): Remove unused second arg.
22137 (byte-compile-preprocess): New function.
22138 (byte-compile-toplevel-file-form): New function to distinguish
22139 file-form calls from outside from file-form calls from hunk-handlers.
22140 (byte-compile-file-form): Simplify.
22141 (byte-compile-file-form-defsubst): Remove.
22142 (byte-compile-file-form-defmumble): Simplify now that
22143 byte-compile-lambda always returns a byte-code-function.
22144 (byte-compile): Preprocess.
22145 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
22146 Remove, not used any more.
22147 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
22148 (byte-compile-make-args-desc): New funs.
22149 (byte-compile-lambda): Handle lexical functions. Always return
22150 a byte-code-function.
22151 (byte-compile-reserved-constants): New var, to make up room for
22152 closed-over variables.
22153 (byte-compile-constants-vector): Obey it.
22154 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
22155 (byte-compile-macroexpand-declare-function): New function.
22156 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
22157 byte-code-functions.
22158 (byte-compile-form): Check obsolescence here.
22159 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
22160 (byte-compile-variable-ref): Remove.
22161 (byte-compile-dynamic-variable-op): New fun.
22162 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
22163 (byte-compile-variable-set): New funs.
22164 (byte-compile-discard): Add 2 args.
22165 (byte-compile-stack-ref, byte-compile-stack-set)
22166 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
22167 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
22168 macroexpand-all instead.
22169 (byte-compile-quote-form): Remove.
22170 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
22171 (byte-compile-bind, byte-compile-unbind): New funs.
22172 (byte-compile-let): Handle let* and lexical binding.
22173 (byte-compile-let*): Remove.
22174 (byte-compile-catch, byte-compile-unwind-protect)
22175 (byte-compile-track-mouse, byte-compile-condition-case):
22176 Handle a new :fun-body form, used for lexical scoping.
22177 (byte-compile-save-window-excursion)
22178 (byte-compile-with-output-to-temp-buffer): Remove.
22179 (byte-compile-defun): Simplify.
22180 (byte-compile-stack-adjustment): New fun.
22181 (byte-compile-out): Use it.
22182 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
22183
22184 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
22185 handler any more.
22186
22187 * emacs-lisp/byte-opt.el: Use lexical binding.
22188 (byte-inline-lapcode): Remove (to bytecomp).
22189 (byte-compile-inline-expand): Pay attention to inlining to/from
22190 lexically bound code.
22191 (byte-compile-unfold-lambda): Don't handle byte-code-functions
22192 any more.
22193 (byte-optimize-form-code-walker): Don't handle save-window-excursion
22194 any more and don't call compiler-macros.
22195 (byte-compile-splice-in-already-compiled-code): Remove.
22196 (byte-code): Don't inline any more.
22197 (disassemble-offset): Receive `bytes' as argument rather than via
22198 dynamic scoping.
22199 (byte-compile-tag-number): Declare before first use.
22200 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
22201 `return' even if make-spliceable.
22202 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
22203 obsolete interactive-p.
22204 (byte-optimize-lapcode): Optimize new lap-codes.
22205 Don't trip up on new form of `byte-constant' lap code.
22206
22207 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
22208
22209 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
22210
22211 * custom.el (custom-initialize-default, custom-declare-variable):
22212 Use `defvar'.
22213
22214 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
22215 New variables.
22216 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
22217 (COMPILE_FIRST): Add macroexp and cconv.
22218 * makefile.w32-in: Mirror changes in Makefile.in.
22219
22220 * vc/cvs-status.el:
22221 * vc/diff-mode.el:
22222 * vc/log-edit.el:
22223 * vc/log-view.el:
22224 * vc/smerge-mode.el:
22225 * textmodes/bibtex-style.el:
090bd7cb 22226 * textmodes/css-mode.el:
03408648
SM
22227 * startup.el:
22228 * uniquify.el:
da91b5f2
CY
22229 * minibuffer.el:
22230 * newcomment.el:
22231 * reveal.el:
22232 * server.el:
22233 * mpc.el:
22234 * emacs-lisp/smie.el:
22235 * doc-view.el:
22236 * dired.el:
03408648
SM
22237 * abbrev.el: Use lexical binding.
22238
0f0c1f27
EZ
222392011-04-01 Eli Zaretskii <eliz@gnu.org>
22240
22241 * info.el (info-display-manual): New function.
22242
c82b2579
SM
222432011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
22244
22245 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
22246
221ddf68
TH
222472011-03-31 Tassilo Horn <tassilo@member.fsf.org>
22248
22249 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 22250 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 22251
cba6e77e
GM
222522011-03-31 Glenn Morris <rgm@gnu.org>
22253
e040639f
GM
22254 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
22255
cba6e77e
GM
22256 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
22257
6d0f1c9e
CS
222582011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
22259
22260 * progmodes/python.el (python-default-interpreter)
22261 (python-python-command-args, python-jython-command-args)
22262 (python-which-shell, python-which-args, python-which-bufname)
22263 (python-file-queue, python-comint-output-filter-function)
22264 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
22265 variables and functions.
22266
3e2d70fd
SM
222672011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
22268
22269 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
22270 (completion-in-region-mode): New minor mode.
22271 (completion-in-region): Use it.
22272 (completion-in-region--data, completion-in-region-mode-map): New vars.
22273 (completion-in-region--postch): New function.
22274 (completion--capf-misbehave-funs, completion--capf-safe-funs):
22275 New vars.
22276 (completion--capf-wrapper): New function.
22277 (completion-at-point): Use it to track well-behavedness of
22278 hook functions.
22279 (completion-help-at-point): New command.
22280
f3e4086c
JM
222812011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
22282
22283 * vc/add-log.el (add-change-log-entry): Don't use whitespace
22284 syntax class to search for whitespace on a single line
22285 (Message-ID: <4D938140.4030905@redhat.com>).
22286
eb7ffc14
LL
222872011-03-30 Leo Liu <sdl.web@gmail.com>
22288
22289 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
22290 New commands.
22291 (edit-abbrevs-map): Bind them here.
22292 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
22293
d806ab68
KM
222942011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
22295
22296 * allout.el (allout-hide-by-annotation, allout-flag-region):
22297 Reduce possibility of overlay leakage by making them volatile.
22298
22299 * allout-widgets.el (allout-widgets-tally): Define as nil so the
22300 hash is not shared between buffers. Mode initialization is
22301 responsible for giving it a useful starting value.
22302 (allout-item-span): Reduce possibility of overlay leakage by
22303 making them volatile.
22304 (allout-widgets-count-buttons-in-region): Add diagnostic function
22305 for tracking down button overlay leaks.
22306
ea622834
LL
223072011-03-29 Leo Liu <sdl.web@gmail.com>
22308
22309 * ido.el (ido-read-internal): Use the default history var
22310 minibuffer-history if no HISTORY is specified.
22311
b62f8267
G
223122011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
22313
03408648
SM
22314 * net/imap.el (imap-shell-open, imap-process-connection-type):
22315 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
22316 Kerberos, SSL, other subprocesses.
22317
947b6566
LL
223182011-03-28 Leo Liu <sdl.web@gmail.com>
22319
22320 * abbrev.el (abbrev-table-empty-p): New function.
22321 (prepare-abbrev-list-buffer): Place empty abbrev tables after
22322 nonempty ones. (Bug#5937)
22323
5ffb62aa
JD
223242011-03-27 Jan Djärv <jan.h.d@swipnet.se>
22325
22326 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
22327
7a097943
LL
223282011-03-27 Leo Liu <sdl.web@gmail.com>
22329
22330 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
22331 for foreground and background colors.
22332 (ansi-color-make-color-map): Adapt.
22333
c5b40130
LL
223342011-03-25 Leo Liu <sdl.web@gmail.com>
22335
1f48f7d2
LL
22336 * midnight.el (midnight-time-float): Remove. Note it calculates
22337 the microsecond component incorrectly and seconds-to-time does the
22338 same job.
625897ec 22339 Remove redundant (require 'timer).
1f48f7d2 22340
c5b40130
LL
22341 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
22342 (ido-completions): Remove unused arguments. (Bug#8329)
22343
d86d2721
SM
223442011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
22345
22346 * minibuffer.el (completion--flush-all-sorted-completions):
22347 Remove itself from hook.
22348 (completion-at-point): Let the functions perform the completion
22349 immediately and return nil or t.
22350 * comint.el (comint-dynamic-complete-functions): Now identical to
22351 completion-at-point-functions.
22352 (comint-dynamic-list-input-ring): Remove unused var `index'.
22353 (comint--match-partial-filename, comint--unquote&expand-filename):
22354 New funs, split from comint-match-partial-filename.
22355 (comint-dynamic-complete): Use completion-at-point.
22356 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
22357
e8974c48
DA
223582011-03-24 Drew Adams <drew.adams@oracle.com>
22359
22360 * thingatpt.el: Support `defun'.
22361
def71b5e
LL
223622011-03-23 Leo Liu <sdl.web@gmail.com>
22363
cb5af48e
LL
22364 * abbrevlist.el: Move to obsolete/abbrevlist.el.
22365
def71b5e
LL
22366 * help-mode.el (help-mode-finish): Tweak regexp.
22367
927c53e7
GM
223682011-03-23 Glenn Morris <rgm@gnu.org>
22369
18d05bed
GM
22370 * eshell/esh-opt.el (eshell-eval-using-options):
22371 Do not bind unused local variable `eshell-option-stub'.
22372
927c53e7
GM
22373 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
22374
9d0da923
JB
223752011-03-22 Juanma Barranquero <lekktu@gmail.com>
22376
22377 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
22378 keymap variable in `with-no-warnings' to avoid a warning when the
22379 keymap has been already `defconst'ed.
22380
4b978a67
LL
223812011-03-22 Leo Liu <sdl.web@gmail.com>
22382
22383 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
22384 encode all chars in abbrevs; otherwise use emacs-mule or
22385 utf-8-emacs. (Bug#8308)
22386
5fd62452
JB
223872011-03-22 Juanma Barranquero <lekktu@gmail.com>
22388
0b1596c6
JB
22389 * simple.el (backward-delete-char-untabify):
22390 Avoid warning about using `delete-backward-char'.
22391
5fd62452
JB
22392 * image.el (image-type-file-name-regexps): Make it variable.
22393 `imagemagick-register-types' modifies it, and the user may want
22394 to add new extensions for known image types.
22395 (imagemagick-register-types): Throw error if not using ImageMagick.
22396
0b4e93f1
LL
223972011-03-22 Leo Liu <sdl.web@gmail.com>
22398
22399 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
22400 located before rcirc-prompt-end-marker.
22401 (rcirc-complete): Error if point is not after rcirc prompt.
22402 Handle the case when table is nil.
9882e214 22403 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 22404
fccee4ab
CY
224052011-03-22 Chong Yidong <cyd@stupidchicken.com>
22406
22407 * custom.el (custom--inhibit-theme-enable): Make it affect only
22408 custom-theme-set-variables and custom-theme-set-faces.
22409 (provide-theme): Ignore custom--inhibit-theme-enable.
22410 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
22411 (custom-enabling-themes): Delete variable.
d86d2721
SM
22412 (enable-theme): Accept only loaded themes as arguments.
22413 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
22414 (custom-enabled-themes): Forbid themes from setting this.
22415 Eliminate use of custom-enabling-themes.
22416 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 22417
af896da6
LL
224182011-03-21 Leo Liu <sdl.web@gmail.com>
22419
22420 * ido.el (ido-read-internal): Add ido-selected to history instead
22421 of user input.
22422
78f64af0
SM
224232011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
22424
22425 * subr.el (deferred-action-list, deferred-action-function):
22426 Mark obsolete.
22427
b16ac1ec
LL
224282011-03-21 Leo Liu <sdl.web@gmail.com>
22429
810f7698
LL
22430 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
22431 change on 2011-02-13 (bug#8309).
22432
b16ac1ec
LL
22433 * minibuffer.el (read-file-name-function): Change default value.
22434 (read-file-name--defaults): Rename from read-file-name-defaults.
22435 (read-file-name-default): Rename from read-file-name.
22436 (read-file-name): Call read-file-name-function.
22437
4e05e67e
GM
224382011-03-21 Glenn Morris <rgm@gnu.org>
22439
22440 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
22441 Doc fixes.
22442
4359915b
CY
224432011-03-21 Chong Yidong <cyd@stupidchicken.com>
22444
22445 * cus-theme.el: Add missing provide statement.
22446 (customize-create-theme): Extract theme value correctly.
22447 (custom-theme-visit-theme): Autoload.
22448 (customize-create-theme): Prompt before inserting default faces.
22449
1fe275ee
JB
224502011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
22451
22452 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
22453 units and musical notes.
22454
cd394be1 224552011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
22456
22457 * ido.el (ido-read-internal): Use completing-read-default.
22458 (ido-completing-read): Fix compatibility with completing-read.
22459
7d476bde
CO
224602011-03-20 Christian Ohler <ohler@gnu.org>
22461
22462 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
22463 (ert-delete-all-tests): Use `called-interactively-p' rather than
22464 `interactive-p'.
22465 (ert--make-xrefs-region): Respect END.
22466
fe0fb33e
CY
224672011-03-19 Chong Yidong <cyd@stupidchicken.com>
22468
ff854b0b
CY
22469 * dired-aux.el (dired-create-directory): Signal an error if the
22470 directory already exists (Bug#8246).
22471
fe0fb33e
CY
22472 * facemenu.el (list-colors-display): Call list-faces-display
22473 inside with-help-window.
22474 (list-colors-print): Use display property to align the final
22475 column, instead of checking window-width.
22476
576bce32
EZ
224772011-03-19 Eli Zaretskii <eliz@gnu.org>
22478
4d61f28d 22479 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
22480 windows-nt systems.
22481 (emerge-protect-metachars): Quote correctly for ms-dos and
22482 windows-nt systems.
22483
89c41d68 224842011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
22485
22486 * info.el (info-initialize): Replace all uses of `:' with
22487 path-separator for compatibility with non-Unix systems.
22488 Cache quoting of path-separator. (Bug#8258)
22489
b14e3e21 224902011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
22491
22492 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
22493 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
22494 (mouse-avoidance-mode): Fix typos in docstrings.
22495
4525ce3e
CY
224962011-03-19 Chong Yidong <cyd@stupidchicken.com>
22497
22498 * startup.el (package-subdirectory-regexp): Move from package.el.
22499 Omit \\` and \\', and let callers add them.
22500
22501 * emacs-lisp/package.el (package-strip-version)
22502 (package-load-all-descriptors): Add \\` and \\' to
22503 package-subdirectory-regexp before using it.
22504 (package-untar-buffer): New arg DIR; ensure that file untars only
22505 into this expected directory. Remove superfluous delete-region.
22506 (package-unpack): Caller changed.
22507 (package-tar-file-info): Use package-subdirectory-regexp.
22508
a904a09a 225092011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 22510
a904a09a
SM
22511 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
22512 diff-mode-shared-map (bug#8284).
22513 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
22514
225152011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
22516
22517 * calendar/time-date.el (format-seconds): Use assoc instead of
22518 assoc-string, since assoc-string doesn't exist in XEmacs.
22519
171fc304
JB
225202011-03-17 Juanma Barranquero <lekktu@gmail.com>
22521
22522 * custom.el (custom-known-themes): Reflow docstring.
22523 (custom-theme-load-path): Fix typo in docstring.
22524 (load-theme): Fix typo in error message.
22525 (custom-available-themes, custom-variable-theme-value):
22526 Use `let', not `let*'.
22527
d71990a1
JB
225282011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
22529
22530 * calc/README: Mention inclusion of musical notes.
22531
22532 * calc/calc-units.el (calc-lu-quant): Rename from
22533 `calc-logunits-quantity'.
22534 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
22535 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
22536 (calc-db): Rename from `calc-dblevel'.
22537 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
22538 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
22539 (calc-np): Rename from `calc-nplevel'.
22540 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
22541 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
22542 (calc-lu-plus): Rename from `calc-logunits-add'.
22543 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
22544 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
22545 (calc-lu-minus): Rename from `calc-logunits-sub'.
22546 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
22547 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
22548 (calc-lu-times): Rename from `calc-logunits-mul'.
22549 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
22550 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
22551 (calc-lu-divide): Rename from `calc-logunits-div'.
22552 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
22553 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
22554
22555 * calc/calc-ext.el (calc-init-extensions): Update the names of the
22556 functions being autoloaded.
22557
22558 * calc/calc.el (calc-lu-power-reference): Rename from
22559 `calc-logunits-power-reference'.
22560 (calc-lu-field-reference): Rename from
22561 `calc-logunits-field-reference'.
22562
7a71b18d
GM
22563 * calc/calc-help.el (calc-l-prefix-help):
22564 Mention musical note functions.
d71990a1 22565
40c2934b
SM
225662011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
22567
22568 * minibuffer.el (completion-all-sorted-completions):
22569 Use :completion-cycle-penalty text property if present.
22570
b0911414
KM
225712011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
22572
22573 * allout.el (allout-yank-processing): Adjust for new rebulleting
22574 regime so bullet being yanked is used without prompting the user
22575 for a choice.
22576
8a05b668
JB
225772011-03-16 Juanma Barranquero <lekktu@gmail.com>
22578
22579 * startup.el (command-line): Warn the user that _emacs is deprecated.
22580
5ba5fb81
JB
225812011-03-16 Juanma Barranquero <lekktu@gmail.com>
22582
22583 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
22584 (delphi-verbose, delphi-comment-face, delphi-string-face)
22585 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
22586 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
22587 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
22588 (delphi-new-comment-line, delphi-font-lock-defaults)
22589 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
22590 Fix typos in docstrings.
22591
2dab465b
KM
225922011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
22593
5ba5fb81 22594 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
22595 Invert the roles of character and string values for INSTEAD, so a
22596 string is used for the more common case of a defaulting prompt.
22597
0adf5618
SM
225982011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
22599
22600 * progmodes/ruby-mode.el (ruby-backward-sexp):
22601 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
22602 * play/gamegrid.el (gamegrid-make-face):
22603 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
22604 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
22605 * notifications.el (notifications-notify):
22606 * net/xesam.el (xesam-search-engines):
22607 * net/quickurl.el (quickurl-list-insert):
22608 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
22609
d72700e5
CY
226102011-03-15 Chong Yidong <cyd@stupidchicken.com>
22611
22612 * startup.el (command-line): Update package subdirectory regexp.
22613
49c5410a
SM
226142011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
22615
c6eee9aa
SM
22616 * allout.el (allout-abbreviate-flattened-numbering)
22617 (allout-mode-deactivate-hook): Fix up obsolescence "date".
22618
49c5410a
SM
22619 * subr.el (read-char-choice): Only show the cursor after the prompt,
22620 not after the answer.
22621
047b2bb9
KR
226222011-03-15 Kevin Ryde <user42@zip.com.au>
22623
22624 * help-fns.el (variable-at-point): Skip leading quotes, if any
22625 (bug#8253).
22626
0a57d256
SM
226272011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
22628
22629 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
22630 warning message.
22631
77c992bc
MA
226322011-03-14 Michael Albinus <michael.albinus@gmx.de>
22633
22634 * shell.el (shell): When called interactively, offer to change the
22635 shell file name on remote hosts.
22636
eebc475d
TZ
226372011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
22638
22639 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
22640 integration for LDAP parameters. The host, base, user or binddn,
22641 and secret tokens can be specified in a netrc file, for instance.
22642 This is optional because an `auth-source' parameter must be
22643 specified in the search attributes.
22644
9d05d1ba
JB
226452011-03-13 Juanma Barranquero <lekktu@gmail.com>
22646
22647 * help.el (describe-mode): Link to the mode's definition (bug#8185).
22648
09d9db2c
GM
226492011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
22650
22651 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
22652 into declaration. Remove redundant and harmful binding.
22653
226542011-03-12 Eli Zaretskii <eliz@gnu.org>
22655
22656 * files.el (file-ownership-preserved-p): Pass `integer' as an
22657 explicit 2nd argument to `file-attributes'. If the file's owner
22658 is the Administrators group on Windows, and the current user is
22659 Administrator, consider that a match.
22660
22661 * server.el (server-ensure-safe-dir): Consider server directory
22662 safe on MS-Windows if its owner is the Administrators group while
22663 the current Emacs user is Administrator. Use `=' to compare
22664 numerical UIDs, since they could be integers or floats.
22665
219bd536
JB
226662011-03-12 Juanma Barranquero <lekktu@gmail.com>
22667
22668 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
22669
f3afd36b
MA
226702011-03-12 Michael Albinus <michael.albinus@gmx.de>
22671
22672 Sync with Tramp 2.2.1.
22673
22674 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
22675
22676 * net/trampver.el: Update release number.
22677
3aaaa6f1
SM
226782011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
22679
94642599
SM
22680 * progmodes/compile.el (compilation--previous-directory): Fix up
22681 various nil/dead-marker mismatches (bug#8014).
22682 (compilation-directory-properties, compilation-error-properties):
22683 Don't call it at a position past the one we're about to change.
22684
3aaaa6f1
SM
22685 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
22686 Disable obsolescence warnings in the file that declares it.
22687
14239447
KM
226882011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
22689
099c39a4
JB
22690 * allout-widgets.el (allout-widgets-tally):
22691 Initialize allout-widgets-tally as a hash table rather than nil to
22692 prevent mode-line redisplay warnings. Also, clarify the module
22693 description and fix a comment typo.
14239447 22694
135e287c
JB
226952011-03-11 Juanma Barranquero <lekktu@gmail.com>
22696
22697 * help-fns.el (describe-variable): Don't complete keywords.
22698 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
22699
ffbf300e
CY
227002011-03-10 Chong Yidong <cyd@stupidchicken.com>
22701
ba08b241
CY
22702 * emacs-lisp/package.el (package-version-join): Impose a standard
22703 string representation for pre/alpha/beta version lists.
22704 (package-unpack-single): Standardize the directory name by passing
22705 it through package-version-join.
22706 (package-strip-rcs-id): Accept any version string that does not
22707 signal an error in version-to-list.
ffbf300e 22708
f346fd6b
MA
227092011-03-10 Michael Albinus <michael.albinus@gmx.de>
22710
22711 * simple.el (delete-trailing-whitespace): Return nil for the
22712 benefit of `write-file-functions'.
22713
ccb55d27
GM
227142011-03-10 Glenn Morris <rgm@gnu.org>
22715
5ceaac0c
GM
22716 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
22717
02da65ff
GM
22718 * vc/vc-git.el (vc-git-program): New option.
22719 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
22720 (vc-git--call): Use it.
22721
b2f603cc
GM
22722 * eshell/esh-util.el (eshell-condition-case): Doc fix.
22723
5772caab
GM
22724 * cus-edit.el (Custom-newline): If no button at point, look
22725 for a subgroup button at start-of-line. (Bug#2298)
22726
ccb55d27
GM
22727 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
22728
ec6ecaed
JD
227292011-03-10 Julien Danjou <julien@danjou.info>
22730
22731 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
22732 `cursor-type' is nil.
22733
9d5aa01d
JB
227342011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
22735
22736 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
22737
b6a5875b
KM
227382011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
22739
7a71b18d 22740 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
22741 preserves the existing header prefix, rebulleting it if necessary,
22742 rather than replacing it. This is necessary for proper operation
22743 of cooperative addons like allout-widgets.
1154d12e
JB
22744 (allout-make-topic-prefix, allout-rebullet-heading):
22745 Change SOLICIT arg to INSTEAD, and interpret additionally a string
22746 value as alternate bullet to be used, instead of prompting the user
22747 for a bullet character.
b6a5875b 22748
ee545c35
MA
227492011-03-09 Michael Albinus <michael.albinus@gmx.de>
22750
d86d2721
SM
22751 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
22752 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
22753 `tramp-default-port'.
22754
c47971d7
DD
227552011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
22756
22757 * net/rcirc.el (rcirc-handler-001): Remove useless
22758 with-rcirc-process-buffer.
22759 (rcirc-check-auth-status): Swap arguments to string-match.
22760
13522cb4
GM
227612011-03-09 Glenn Morris <rgm@gnu.org>
22762
0be6f4f1
GM
22763 * shell.el (shell-mode):
22764 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
22765
13522cb4
GM
22766 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
22767 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
22768
515de2e3
CY
227692011-03-08 Chong Yidong <cyd@stupidchicken.com>
22770
22771 * emacs-lisp/package.el (package-refresh-contents)
22772 (package-menu-execute): Use condition-case-no-debug.
22773
b511b994
MA
227742011-03-08 Michael Albinus <michael.albinus@gmx.de>
22775
22776 * simple.el (shell-command-to-string): Use `process-file'.
22777
22778 * emacs-lisp/package.el (package-tar-file-info): Handle also
22779 remote files.
22780
d86d2721
SM
22781 * emacs-lisp/package-x.el (package-upload-buffer-internal):
22782 Use `equal' for upload base check.
b511b994 22783
25bbfb31
AM
227842011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
22785
22786 * textmodes/texinfo.el (texinfo-environments):
22787 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
22788
be996521
GM
227892011-03-08 Glenn Morris <rgm@gnu.org>
22790
e9c8529f
GM
22791 * cus-start.el (cursor-in-non-selected-windows):
22792 Fix :set quoting oddness. (Bug#8192)
22793
be996521
GM
22794 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
22795 in some setf expressions. (Bug#2159)
22796
2bb5649e
CY
227972011-03-08 Chong Yidong <cyd@stupidchicken.com>
22798
22799 * custom.el (custom-available-themes): Return themes in
22800 alphabetical order.
22801
33383987 22802See ChangeLog.15 for earlier changes.
e3d51b27
MR
22803
22804;; Local Variables:
22805;; coding: utf-8
e3d51b27
MR
22806;; End:
22807
acaf905b 22808 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
22809
22810 This file is part of GNU Emacs.
22811
22812 GNU Emacs is free software: you can redistribute it and/or modify
22813 it under the terms of the GNU General Public License as published by
22814 the Free Software Foundation, either version 3 of the License, or
22815 (at your option) any later version.
22816
22817 GNU Emacs is distributed in the hope that it will be useful,
22818 but WITHOUT ANY WARRANTY; without even the implied warranty of
22819 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22820 GNU General Public License for more details.
22821
22822 You should have received a copy of the GNU General Public License
22823 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.